Skip to content

Commit 58674b7

Browse files
Update components and bits-ui
1 parent f73aeaa commit 58674b7

File tree

4 files changed

+12
-17
lines changed

4 files changed

+12
-17
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@vercel/speed-insights": "^1.1.0",
2929
"arctic": "^1.9.2",
3030
"autoprefixer": "^10.4.20",
31-
"bits-ui": "^1.0.0-next.64",
31+
"bits-ui": "1.0.0-next.74",
3232
"clsx": "^2.1.1",
3333
"eslint": "^9.17.0",
3434
"eslint-config-prettier": "^9.1.0",

pnpm-lock.yaml

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

src/lib/components/ui/badge/badge.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
this={href ? "a" : "span"}
4444
bind:this={ref}
4545
{href}
46-
class={cn(badgeVariants({ variant, className }))}
46+
class={cn(badgeVariants({ variant }), className)}
4747
{...restProps}
4848
>
4949
{@render children?.()}

src/lib/components/ui/button/button.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
{#if href}
5757
<a
5858
bind:this={ref}
59-
class={cn(buttonVariants({ variant, size, className }))}
59+
class={cn(buttonVariants({ variant, size }), className)}
6060
{href}
6161
{...restProps}
6262
>
@@ -65,7 +65,7 @@
6565
{:else}
6666
<button
6767
bind:this={ref}
68-
class={cn(buttonVariants({ variant, size, className }))}
68+
class={cn(buttonVariants({ variant, size }), className)}
6969
{type}
7070
{...restProps}
7171
>

0 commit comments

Comments
 (0)