Skip to content

Commit 56c29f7

Browse files
committed
chore: update shadcn-svelte
1 parent b43a177 commit 56c29f7

File tree

66 files changed

+292
-95
lines changed

Some content is hidden

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

66 files changed

+292
-95
lines changed

frontend/package-lock.json

+24-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"devDependencies": {
1515
"@sveltejs/adapter-auto": "^3.1.1",
1616
"@sveltejs/adapter-static": "^3.0.1",
17-
"@sveltejs/kit": "^2.5.2",
17+
"@sveltejs/kit": "^2.5.3",
1818
"@sveltejs/vite-plugin-svelte": "^3.0.2",
1919
"@tailwindcss/typography": "^0.5.10",
2020
"@types/eslint": "^8.56.5",
@@ -32,17 +32,17 @@
3232
"tailwindcss": "^3.4.1",
3333
"tslib": "^2.6.2",
3434
"typescript": "^5.3.3",
35-
"vite": "^5.1.4"
35+
"vite": "^5.1.6"
3636
},
3737
"type": "module",
3838
"dependencies": {
3939
"@types/dompurify": "^3.0.5",
40-
"bits-ui": "^0.18.4",
40+
"bits-ui": "^0.19.6",
4141
"clsx": "^2.1.0",
4242
"dompurify": "^3.0.9",
4343
"ky": "^1.2.2",
44-
"lucide-svelte": "^0.344.0",
45-
"mode-watcher": "^0.2.1",
44+
"lucide-svelte": "^0.356.0",
45+
"mode-watcher": "^0.2.2",
4646
"moment": "^2.30.1",
4747
"svelte-sonner": "^0.3.19",
4848
"tailwind-merge": "^2.2.1",

frontend/src/lib/components/ui/alert-dialog/alert-dialog-action.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
3-
import { buttonVariants } from "$lib/components/ui/button";
4-
import { cn } from "$lib/utils";
3+
import { buttonVariants } from "$lib/components/ui/button/index.js";
4+
import { cn } from "$lib/utils.js";
55
66
type $$Props = AlertDialogPrimitive.ActionProps;
77
type $$Events = AlertDialogPrimitive.ActionEvents;

frontend/src/lib/components/ui/alert-dialog/alert-dialog-cancel.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
3-
import { buttonVariants } from "$lib/components/ui/button";
4-
import { cn } from "$lib/utils";
3+
import { buttonVariants } from "$lib/components/ui/button/index.js";
4+
import { cn } from "$lib/utils.js";
55
66
type $$Props = AlertDialogPrimitive.CancelProps;
77
type $$Events = AlertDialogPrimitive.CancelEvents;

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
3-
import * as AlertDialog from ".";
4-
import { cn, flyAndScale } from "$lib/utils";
3+
import * as AlertDialog from "./index.js";
4+
import { cn, flyAndScale } from "$lib/utils.js";
55
66
type $$Props = AlertDialogPrimitive.ContentProps;
77

frontend/src/lib/components/ui/alert-dialog/alert-dialog-description.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
55
type $$Props = AlertDialogPrimitive.DescriptionProps;
66

frontend/src/lib/components/ui/alert-dialog/alert-dialog-footer.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils";
2+
import { cn } from "$lib/utils.js";
33
import type { HTMLAttributes } from "svelte/elements";
44
55
type $$Props = HTMLAttributes<HTMLDivElement>;

frontend/src/lib/components/ui/alert-dialog/alert-dialog-header.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils";
2+
import { cn } from "$lib/utils.js";
33
import type { HTMLAttributes } from "svelte/elements";
44
55
type $$Props = HTMLAttributes<HTMLDivElement>;

frontend/src/lib/components/ui/alert-dialog/alert-dialog-overlay.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
import { fade } from "svelte/transition";
55
66
type $$Props = AlertDialogPrimitive.OverlayProps;

frontend/src/lib/components/ui/alert-dialog/alert-dialog-title.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { AlertDialog as AlertDialogPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
55
type $$Props = AlertDialogPrimitive.TitleProps;
66

frontend/src/lib/components/ui/alert/alert-description.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils";
2+
import { cn } from "$lib/utils.js";
33
import type { HTMLAttributes } from "svelte/elements";
44
55
type $$Props = HTMLAttributes<HTMLDivElement>;

frontend/src/lib/components/ui/alert/alert-title.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils";
2+
import { cn } from "$lib/utils.js";
33
import type { HTMLAttributes } from "svelte/elements";
4-
import type { HeadingLevel } from ".";
4+
import type { HeadingLevel } from "./index.js";
55
66
type $$Props = HTMLAttributes<HTMLHeadingElement> & {
77
level?: HeadingLevel;

frontend/src/lib/components/ui/alert/alert.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils";
2+
import { cn } from "$lib/utils.js";
33
import type { HTMLAttributes } from "svelte/elements";
4-
import { alertVariants, type Variant } from ".";
4+
import { alertVariants, type Variant } from "./index.js";
55
66
type $$Props = HTMLAttributes<HTMLDivElement> & {
77
variant?: Variant;

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils";
3-
import { badgeVariants, type Variant } from ".";
2+
import { cn } from "$lib/utils.js";
3+
import { badgeVariants, type Variant } from "./index.js";
44
55
let className: string | undefined | null = undefined;
66
export let href: string | undefined = undefined;

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { Button as ButtonPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
4-
import { buttonVariants, type Props, type Events } from ".";
3+
import { cn } from "$lib/utils.js";
4+
import { buttonVariants, type Props, type Events } from "./index.js";
55
66
type $$Props = Props;
77
type $$Events = Events;

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<script lang="ts">
22
import { Dialog as DialogPrimitive } from "bits-ui";
33
import X from "lucide-svelte/icons/x";
4-
import * as Dialog from ".";
5-
import { cn, flyAndScale } from "$lib/utils";
4+
import * as Dialog from "./index.js";
5+
import { cn, flyAndScale } from "$lib/utils.js";
66
77
type $$Props = DialogPrimitive.ContentProps;
88

frontend/src/lib/components/ui/dialog/dialog-description.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Dialog as DialogPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
55
type $$Props = DialogPrimitive.DescriptionProps;
66

frontend/src/lib/components/ui/dialog/dialog-footer.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils";
2+
import { cn } from "$lib/utils.js";
33
import type { HTMLAttributes } from "svelte/elements";
44
55
type $$Props = HTMLAttributes<HTMLDivElement>;

frontend/src/lib/components/ui/dialog/dialog-header.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils";
2+
import { cn } from "$lib/utils.js";
33
import type { HTMLAttributes } from "svelte/elements";
44
55
type $$Props = HTMLAttributes<HTMLDivElement>;

frontend/src/lib/components/ui/dialog/dialog-overlay.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Dialog as DialogPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
import { fade } from "svelte/transition";
55
66
type $$Props = DialogPrimitive.OverlayProps;

frontend/src/lib/components/ui/dialog/dialog-title.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Dialog as DialogPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
55
type $$Props = DialogPrimitive.TitleProps;
66

frontend/src/lib/components/ui/drawer/drawer-content.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { Drawer as DrawerPrimitive } from "vaul-svelte";
33
import DrawerOverlay from "./drawer-overlay.svelte";
4-
import { cn } from "$lib/utils";
4+
import { cn } from "$lib/utils.js";
55
66
type $$Props = DrawerPrimitive.ContentProps;
77

frontend/src/lib/components/ui/drawer/drawer-description.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Drawer as DrawerPrimitive } from "vaul-svelte";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
55
type $$Props = DrawerPrimitive.DescriptionProps;
66

frontend/src/lib/components/ui/drawer/drawer-footer.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils";
2+
import { cn } from "$lib/utils.js";
33
import type { HTMLAttributes } from "svelte/elements";
44
55
type $$Props = HTMLAttributes<HTMLDivElement> & {

frontend/src/lib/components/ui/drawer/drawer-header.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import { cn } from "$lib/utils";
2+
import { cn } from "$lib/utils.js";
33
import type { HTMLAttributes } from "svelte/elements";
44
55
type $$Props = HTMLAttributes<HTMLDivElement> & {

frontend/src/lib/components/ui/drawer/drawer-overlay.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Drawer as DrawerPrimitive } from "vaul-svelte";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
55
type $$Props = DrawerPrimitive.OverlayProps;
66

frontend/src/lib/components/ui/drawer/drawer-title.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Drawer as DrawerPrimitive } from "vaul-svelte";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
55
type $$Props = DrawerPrimitive.TitleProps;
66

frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
33
import Check from "lucide-svelte/icons/check";
4-
import { cn } from "$lib/utils";
4+
import { cn } from "$lib/utils.js";
55
66
type $$Props = DropdownMenuPrimitive.CheckboxItemProps;
77
type $$Events = DropdownMenuPrimitive.CheckboxItemEvents;

frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
3-
import { cn, flyAndScale } from "$lib/utils";
3+
import { cn, flyAndScale } from "$lib/utils.js";
44
55
type $$Props = DropdownMenuPrimitive.ContentProps;
66
type $$Events = DropdownMenuPrimitive.ContentEvents;

frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-item.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
55
type $$Props = DropdownMenuPrimitive.ItemProps & {
66
inset?: boolean;

frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-label.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
3-
import { cn } from "$lib/utils";
3+
import { cn } from "$lib/utils.js";
44
55
type $$Props = DropdownMenuPrimitive.LabelProps & {
66
inset?: boolean;

frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
33
import Circle from "lucide-svelte/icons/circle";
4-
import { cn } from "$lib/utils";
4+
import { cn } from "$lib/utils.js";
55
66
type $$Props = DropdownMenuPrimitive.RadioItemProps;
77
type $$Events = DropdownMenuPrimitive.RadioItemEvents;

0 commit comments

Comments
 (0)