Skip to content

Commit ab5effc

Browse files
chore(deps): upgrade some deps & shadcn components
1 parent ae650c0 commit ab5effc

24 files changed

+5851
-568
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"@octokit/graphql-schema": "^15.26.1",
2727
"@octokit/types": "^16.0.0",
2828
"@prgm/sveltekit-progress-bar": "^3.0.2",
29-
"@shikijs/langs": "^3.17.0",
30-
"@shikijs/rehype": "^3.17.0",
31-
"@shikijs/themes": "^3.17.0",
29+
"@shikijs/langs": "^3.17.1",
30+
"@shikijs/rehype": "^3.17.1",
31+
"@shikijs/themes": "^3.17.1",
3232
"@sveltejs/adapter-vercel": "^6.2.0",
3333
"@sveltejs/kit": "^2.49.0",
3434
"@sveltejs/vite-plugin-svelte": "^6.2.1",
@@ -40,7 +40,7 @@
4040
"@types/node": "^24.10.1",
4141
"@types/semver": "^7.7.1",
4242
"@upstash/redis": "^1.35.7",
43-
"@vercel/speed-insights": "^1.2.0",
43+
"@vercel/speed-insights": "^1.3.0",
4444
"bits-ui": "^2.14.4",
4545
"clsx": "^2.1.1",
4646
"eslint": "^9.39.1",
@@ -52,10 +52,10 @@
5252
"mode-watcher": "^1.1.0",
5353
"octokit": "^5.0.5",
5454
"posthog-js": "^1.298.1",
55-
"posthog-node": "^5.14.0",
55+
"posthog-node": "^5.14.1",
5656
"prettier": "^3.6.2",
5757
"prettier-plugin-svelte": "^3.4.0",
58-
"prettier-plugin-tailwindcss": "^0.7.1",
58+
"prettier-plugin-tailwindcss": "^0.7.2",
5959
"rehype-raw": "^7.0.0",
6060
"rehype-slug": "^6.0.0",
6161
"remark-gemoji": "^8.0.0",
@@ -64,27 +64,27 @@
6464
"satori": "^0.18.3",
6565
"satori-html": "^0.3.2",
6666
"semver": "^7.7.3",
67-
"shiki": "^3.17.0",
68-
"svelte": "^5.45.2",
67+
"shiki": "^3.17.1",
68+
"svelte": "^5.45.3",
6969
"svelte-check": "^4.3.4",
7070
"svelte-exmarkdown": "^5.0.2",
7171
"svelte-meta-tags": "^4.5.0",
72-
"svelte-sonner": "^1.0.6",
72+
"svelte-sonner": "^1.0.7",
7373
"tailwind-merge": "^3.4.0",
7474
"tailwind-variants": "^3.2.2",
7575
"tailwindcss": "^4.1.17",
7676
"tslib": "^2.8.1",
7777
"tw-animate-css": "^1.4.0",
7878
"typescript": "^5.9.3",
7979
"typescript-eslint": "^8.48.0",
80-
"vite": "^7.2.4",
80+
"vite": "^7.2.6",
8181
"vite-plugin-devtools-json": "^1.0.0",
8282
"vite-plugin-lucide-preprocess": "^1.4.6"
8383
},
8484
"pnpm": {
8585
"onlyBuiltDependencies": [
86+
"@parcel/watcher",
8687
"@tailwindcss/oxide",
87-
"@vercel/speed-insights",
8888
"core-js",
8989
"esbuild"
9090
]

pnpm-lock.yaml

Lines changed: 5709 additions & 519 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/components/ui/dialog/dialog-content.svelte

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<script lang="ts">
22
import { Dialog as DialogPrimitive } from "bits-ui";
3+
import DialogPortal from "./dialog-portal.svelte";
34
import XIcon from "@lucide/svelte/icons/x";
45
import type { Snippet } from "svelte";
56
import * as Dialog from "./index.js";
67
import { cn, type WithoutChildrenOrChild } from "$lib/utils.js";
8+
import type { ComponentProps } from "svelte";
79
810
let {
911
ref = $bindable(null),
@@ -13,13 +15,13 @@
1315
showCloseButton = true,
1416
...restProps
1517
}: WithoutChildrenOrChild<DialogPrimitive.ContentProps> & {
16-
portalProps?: DialogPrimitive.PortalProps;
18+
portalProps?: WithoutChildrenOrChild<ComponentProps<typeof DialogPortal>>;
1719
children: Snippet;
1820
showCloseButton?: boolean;
1921
} = $props();
2022
</script>
2123

22-
<Dialog.Portal {...portalProps}>
24+
<DialogPortal {...portalProps}>
2325
<Dialog.Overlay />
2426
<DialogPrimitive.Content
2527
bind:ref
@@ -40,4 +42,4 @@
4042
</DialogPrimitive.Close>
4143
{/if}
4244
</DialogPrimitive.Content>
43-
</Dialog.Portal>
45+
</DialogPortal>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script lang="ts">
2+
import { Dialog as DialogPrimitive } from "bits-ui";
3+
4+
let { ...restProps }: DialogPrimitive.PortalProps = $props();
5+
</script>
6+
7+
<DialogPrimitive.Portal {...restProps} />
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script lang="ts">
2+
import { Dialog as DialogPrimitive } from "bits-ui";
3+
4+
let { open = $bindable(false), ...restProps }: DialogPrimitive.RootProps = $props();
5+
</script>
6+
7+
<DialogPrimitive.Root bind:open {...restProps} />

src/lib/components/ui/dialog/index.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Dialog as DialogPrimitive } from "bits-ui";
2-
1+
import Root from "./dialog.svelte";
2+
import Portal from "./dialog-portal.svelte";
33
import Title from "./dialog-title.svelte";
44
import Footer from "./dialog-footer.svelte";
55
import Header from "./dialog-header.svelte";
@@ -9,9 +9,6 @@ import Description from "./dialog-description.svelte";
99
import Trigger from "./dialog-trigger.svelte";
1010
import Close from "./dialog-close.svelte";
1111

12-
const Root = DialogPrimitive.Root;
13-
const Portal = DialogPrimitive.Portal;
14-
1512
export {
1613
Root,
1714
Title,
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils.js";
2+
import { cn, type WithoutChildrenOrChild } from "$lib/utils.js";
3+
import DropdownMenuPortal from "./dropdown-menu-portal.svelte";
34
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
5+
import type { ComponentProps } from "svelte";
46
57
let {
68
ref = $bindable(null),
@@ -9,11 +11,11 @@
911
class: className,
1012
...restProps
1113
}: DropdownMenuPrimitive.ContentProps & {
12-
portalProps?: DropdownMenuPrimitive.PortalProps;
14+
portalProps?: WithoutChildrenOrChild<ComponentProps<typeof DropdownMenuPortal>>;
1315
} = $props();
1416
</script>
1517

16-
<DropdownMenuPrimitive.Portal {...portalProps}>
18+
<DropdownMenuPortal {...portalProps}>
1719
<DropdownMenuPrimitive.Content
1820
bind:ref
1921
data-slot="dropdown-menu-content"
@@ -24,4 +26,4 @@
2426
)}
2527
{...restProps}
2628
/>
27-
</DropdownMenuPrimitive.Portal>
29+
</DropdownMenuPortal>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script lang="ts">
2+
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
3+
4+
let { ...restProps }: DropdownMenuPrimitive.PortalProps = $props();
5+
</script>
6+
7+
<DropdownMenuPrimitive.Portal {...restProps} />
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script lang="ts">
2+
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
3+
4+
let { open = $bindable(false), ...restProps }: DropdownMenuPrimitive.SubProps = $props();
5+
</script>
6+
7+
<DropdownMenuPrimitive.Sub bind:open {...restProps} />
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script lang="ts">
2+
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
3+
4+
let { open = $bindable(false), ...restProps }: DropdownMenuPrimitive.RootProps = $props();
5+
</script>
6+
7+
<DropdownMenuPrimitive.Root bind:open {...restProps} />

0 commit comments

Comments
 (0)