Skip to content

Commit efe2698

Browse files
committed
Update shadcn components
1 parent 78a9841 commit efe2698

156 files changed

Lines changed: 192 additions & 183 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"aliases": {
88
"components": "$lib/components",
9-
"utils": "$lib/utils",
9+
"utils": "$lib/utils/shadcn",
1010
"ui": "$lib/components/ui",
1111
"hooks": "$lib/hooks",
1212
"lib": "$lib"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Accordion as AccordionPrimitive } from "bits-ui";
3-
import { cn, type WithoutChild } from "$lib/utils";
3+
import { cn, type WithoutChild } from "$lib/utils/shadcn";
44
55
let {
66
ref = $bindable(null),

src/lib/components/ui/accordion/accordion-item.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Accordion as AccordionPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils/shadcn";
44
55
let {
66
ref = $bindable(null),

src/lib/components/ui/accordion/accordion-trigger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { Accordion as AccordionPrimitive } from "bits-ui";
33
import ChevronDownIcon from "@lucide/svelte/icons/chevron-down";
4-
import { cn, type WithoutChild } from "$lib/utils";
4+
import { cn, type WithoutChild } from "$lib/utils/shadcn";
55
66
let {
77
ref = $bindable(null),

src/lib/components/ui/avatar/avatar-fallback.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Avatar as AvatarPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils/shadcn";
44
55
let {
66
ref = $bindable(null),

src/lib/components/ui/avatar/avatar-image.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Avatar as AvatarPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils/shadcn";
44
55
let {
66
ref = $bindable(null),

src/lib/components/ui/avatar/avatar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Avatar as AvatarPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils/shadcn";
44
55
let {
66
ref = $bindable(null),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
<script lang="ts">
2626
import type { HTMLAnchorAttributes } from "svelte/elements";
27-
import { cn, type WithElementRef } from "$lib/utils";
27+
import { cn, type WithElementRef } from "$lib/utils/shadcn";
2828
2929
let {
3030
ref = $bindable(null),

src/lib/components/ui/breadcrumb/breadcrumb-ellipsis.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import EllipsisIcon from "@lucide/svelte/icons/ellipsis";
33
import type { HTMLAttributes } from "svelte/elements";
4-
import { cn, type WithElementRef, type WithoutChildren } from "$lib/utils";
4+
import { cn, type WithElementRef, type WithoutChildren } from "$lib/utils/shadcn";
55
66
let {
77
ref = $bindable(null),

src/lib/components/ui/breadcrumb/breadcrumb-item.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import type { HTMLLiAttributes } from "svelte/elements";
3-
import { cn, type WithElementRef } from "$lib/utils";
3+
import { cn, type WithElementRef } from "$lib/utils/shadcn";
44
55
let {
66
ref = $bindable(null),

0 commit comments

Comments
 (0)