Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge 2.0.0 #48

Merged
merged 13 commits into from
May 24, 2024
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"flutterjs",
"lerp",
"linkedom",
"LTWH",
"meursyphus",
"popmotion",
"postbuild",
Expand Down
24 changes: 15 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"author": "meursyphus",
"license": "MIT",
"workspaces": [
"packages/*"
"packages/*",
"shared"
],
"devDependencies": {
"@types/node": "^20.11.30",
Expand All @@ -31,5 +32,8 @@
"packages/**/*.{astro,js,jsx,ts,tsx,svelte,mdx}": [
"prettier --write"
]
},
"dependencies": {
"@meursyphus/flitter-chart": "^0.0.7"
}
}
10 changes: 3 additions & 7 deletions packages/docs/src/components/diagram/Diagram.svelte
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
<script lang="ts">
import Widget from "@meursyphus/flitter-svelte";
import Diagram from "./widget/Diagram";
import { Diagram } from "shared";
import { onMount } from "svelte";
import { project } from "./fixture";
import project from "./fixture/project";
let container: HTMLElement;
</script>

<div
bind:this={container}
class="w-full h-full border-l border-black bg-gray-200"
>
<Widget
widget={Diagram({ project: project, subscribe: () => () => {} })}
width="100%"
height="100%"
/>
<Diagram {project} />
</div>

<style>
Expand Down
201 changes: 0 additions & 201 deletions packages/docs/src/components/diagram/controller/DiagramController.ts

This file was deleted.

Loading
Loading