diff --git a/docs/package.json b/docs/package.json index 8b9f669d..20c4dbe1 100644 --- a/docs/package.json +++ b/docs/package.json @@ -14,12 +14,12 @@ "@fontsource-variable/eb-garamond": "^5.2.5", "@fontsource-variable/jetbrains-mono": "^5.2.5", "@fontsource/plus-jakarta-sans": "^5.0.18", - "@neodrag/core": "workspace:*", "@neodrag/svelte": "workspace:*", "astro-seo": "^0.8.4", "lightningcss": "^1.30.1", "melt": "^0.34.0", "popmotion": "^11.0.5", + "shiki": "^3.7.0", "svelte-inview": "^4.0.1", "zod": "^3.25.64" }, diff --git a/docs/src/components/nav/Dock.svelte b/docs/src/components/nav/Dock.svelte index 81681e33..e9d7bba0 100644 --- a/docs/src/components/nav/Dock.svelte +++ b/docs/src/components/nav/Dock.svelte @@ -67,13 +67,15 @@ vue: VueIcon, }; + const dockDrag = new Draggable({ + plugins: [controls({ allow: ControlFrom.selector('.handle') })], + }); + const is_tablet = new MediaQuery('(max-width: 967px)'); onMount(() => { return on(window, 'astro:after-swap', (e) => console.log(e)); }); - - const drag_0 = new Draggable({ plugins: [controls({ allow: ControlFrom.selector('.handle') })] });
@@ -81,7 +83,7 @@
menu_view.close())} >
diff --git a/docs/src/components/playground/LiveCodePanel.svelte b/docs/src/components/playground/LiveCodePanel.svelte index a5d0c3e0..10bafc5d 100644 --- a/docs/src/components/playground/LiveCodePanel.svelte +++ b/docs/src/components/playground/LiveCodePanel.svelte @@ -1,208 +1,212 @@ -