Skip to content

Commit 541124d

Browse files
committed
Bump deps
1 parent 3b1c21e commit 541124d

File tree

11 files changed

+505
-663
lines changed

11 files changed

+505
-663
lines changed

apps/docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
},
2727
"devDependencies": {
2828
"@astrojs/check": "^0.9.4",
29-
"@astrojs/starlight": "^0.28.6",
30-
"@astrojs/svelte": "^5.7.3",
31-
"astro": "^4.16.10",
29+
"@astrojs/starlight": "^0.29.0",
30+
"@astrojs/svelte": "^6.0.1",
31+
"astro": "^4.16.13",
3232
"astro-vtbot": "^1.10.6",
3333
"sharp": "^0.33.5",
3434
"starlight-package-managers": "^0.8.0",

packages/form/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"check": "svelte-check --tsconfig ./tsconfig.json"
3232
},
3333
"dependencies": {
34-
"es-toolkit": "^1.26.1",
34+
"es-toolkit": "^1.27.0",
3535
"fast-equals": "^5.0.1",
3636
"json-schema-merge-allof": "^0.8.1",
3737
"jsonpointer": "^5.0.1"

packages/lucide-icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"postcss": "catalog:",
6363
"prettier": "catalog:",
6464
"prettier-plugin-svelte": "catalog:",
65-
"lucide-svelte": "^0.454.0",
65+
"lucide-svelte": "^0.457.0",
6666
"svelte": "catalog:",
6767
"svelte-check": "catalog:",
6868
"testing": "workspace:*",

packages/shadcn-theme/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,21 @@
7777
"@types/eslint": "catalog:",
7878
"ajv": "catalog:",
7979
"autoprefixer": "catalog:",
80-
"bits-ui": "^1.0.0-next.46",
80+
"bits-ui": "^1.0.0-next.57",
8181
"clsx": "^2.1.1",
8282
"eslint": "catalog:",
8383
"eslint-config-prettier": "catalog:",
8484
"eslint-plugin-svelte": "catalog:",
8585
"globals": "catalog:",
86-
"lucide-svelte": "^0.454.0",
86+
"lucide-svelte": "^0.457.0",
8787
"postcss": "catalog:",
8888
"prettier": "catalog:",
8989
"prettier-plugin-svelte": "catalog:",
9090
"svelte": "catalog:",
9191
"svelte-check": "catalog:",
9292
"svelte-radix": "^2.0.1",
9393
"tailwind-merge": "^2.5.4",
94-
"tailwind-variants": "^0.2.1",
94+
"tailwind-variants": "^0.3.0",
9595
"tailwindcss": "catalog:",
9696
"tailwindcss-animate": "^1.0.7",
9797
"typescript-eslint": "catalog:",

packages/shadcn-theme/src/lib/default-ui/checkbox/checkbox.svelte

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
let {
88
ref = $bindable(null),
99
checked = $bindable(false),
10+
indeterminate = $bindable(false),
1011
class: className,
1112
...restProps
1213
}: WithoutChildrenOrChild<CheckboxPrimitive.RootProps> = $props();
@@ -19,15 +20,16 @@
1920
className
2021
)}
2122
bind:checked
23+
bind:indeterminate
2224
{...restProps}
2325
>
24-
{#snippet children({ checked })}
26+
{#snippet children({ checked, indeterminate })}
2527
<div class="flex size-4 items-center justify-center text-current">
26-
{#if checked === "indeterminate"}
28+
{#if indeterminate}
2729
<Minus class="size-3.5" />
2830
{:else}
2931
<Check class={cn("size-3.5", !checked && "text-transparent")} />
3032
{/if}
3133
</div>
3234
{/snippet}
33-
</CheckboxPrimitive.Root>
35+
</CheckboxPrimitive.Root>

packages/shadcn-theme/src/lib/new-york-ui/checkbox/checkbox.svelte

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<script lang="ts">
22
import { Checkbox as CheckboxPrimitive, type WithoutChildrenOrChild } from "bits-ui";
3-
import Check from "svelte-radix/Check.svelte";
4-
import Minus from "svelte-radix/Minus.svelte";
3+
import Check from "lucide-svelte/icons/check";
4+
import Minus from "lucide-svelte/icons/minus";
55
import { cn } from "$lib/utils.js";
66
77
let {
88
ref = $bindable(null),
99
class: className,
1010
checked = $bindable(false),
11+
indeterminate = $bindable(false),
1112
...restProps
1213
}: WithoutChildrenOrChild<CheckboxPrimitive.RootProps> = $props();
1314
</script>
@@ -19,14 +20,15 @@
1920
)}
2021
bind:checked
2122
bind:ref
23+
bind:indeterminate
2224
{...restProps}
2325
>
24-
{#snippet children({ checked })}
25-
<span class="flex size-4 items-center justify-center text-current">
26-
{#if checked === "indeterminate"}
27-
<Minus class="size-3.5" />
26+
{#snippet children({ checked, indeterminate })}
27+
<span class="flex items-center justify-center text-current">
28+
{#if indeterminate}
29+
<Minus class="size-4" />
2830
{:else}
29-
<Check class={cn("size-3.5", !checked && "text-transparent")} />
31+
<Check class={cn("size-4", !checked && "text-transparent")} />
3032
{/if}
3133
</span>
3234
{/snippet}

packages/shadcn-theme/src/lib/theme/context.ts

Lines changed: 0 additions & 97 deletions
This file was deleted.

packages/shadcn-theme/src/lib/theme/widgets/checkboxes-widget.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
checked={indexes.has(indexStr)}
2727
value={indexStr}
2828
onCheckedChange={(v) => {
29-
if (v === 'indeterminate') {
30-
return;
31-
}
3229
mapped.value = v
3330
? mapped.value.concat(indexStr)
3431
: mapped.value.filter((index) => index !== indexStr);

packages/skeleton-theme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@playwright/test": "catalog:",
5858
"@sjsf/ajv8-validator": "workspace:*",
5959
"@sjsf/form": "workspace:*",
60-
"@skeletonlabs/skeleton": "3.0.0-next.5",
60+
"@skeletonlabs/skeleton": "3.0.0-next.9",
6161
"@sveltejs/adapter-static": "catalog:",
6262
"@sveltejs/kit": "catalog:",
6363
"@sveltejs/package": "catalog:",

0 commit comments

Comments
 (0)