@widgetic/design-system 0.5.7 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/shad-editor/colorpicker.svelte.d.ts +2 -2
- package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +2 -2
- package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +2 -2
- package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/bold.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/code.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/image.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/italic.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/link.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/redo.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/subscript.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/superscript.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/table.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/task-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/text.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/textalign.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/underline.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/undo.svelte.d.ts +2 -2
- package/dist/components/shad-editor/shad-editor.svelte.d.ts +2 -2
- package/dist/components/toast/ToasterModal.svelte.d.ts +2 -2
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +4 -3
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +4 -3
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +6 -3
- package/dist/components/ui/badge/badge.svelte.d.ts +8 -55
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +8 -3
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-day.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-content.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-description.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-footer.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-header.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-title.svelte.d.ts +7 -3
- package/dist/components/ui/card/card.svelte.d.ts +2 -2
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-dialog.svelte.d.ts +11 -3
- package/dist/components/ui/command/command-empty.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-group.svelte.d.ts +6 -3
- package/dist/components/ui/command/command-input.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-item.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-link-item.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-list.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-separator.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +2 -2
- package/dist/components/ui/command/command.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +9 -3
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +6 -3
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +8 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +7 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +6 -3
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +6 -3
- package/dist/components/ui/input/input.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp.svelte.d.ts +2 -2
- package/dist/components/ui/label/label.svelte.d.ts +2 -2
- package/dist/components/ui/popover/popover-content.svelte.d.ts +6 -3
- package/dist/components/ui/progress/progress.svelte.d.ts +2 -2
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +2 -2
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +2 -2
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +2 -2
- package/dist/components/ui/scroll-area/scroll-area.svelte.d.ts +8 -3
- package/dist/components/ui/select/select-content.svelte.d.ts +6 -3
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-item.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-separator.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/separator/separator.svelte.d.ts +2 -2
- package/dist/components/ui/slider/slider.svelte.d.ts +2 -2
- package/dist/components/ui/sonner/sonner.svelte.d.ts +5 -4
- package/dist/components/ui/switch/switch.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-body.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-caption.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-cell.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-footer.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-head.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-header.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-row.svelte.d.ts +2 -2
- package/dist/components/ui/table/table.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/textarea/textarea.svelte.d.ts +2 -2
- package/dist/components/ui/toggle/toggle.svelte.d.ts +8 -78
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +2 -2
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +5 -6
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +2 -2
- package/dist/icons/CheckerBoardBackground.svelte.d.ts +3 -3
- package/dist/icons/OpacitySliderArrows.svelte.d.ts +3 -3
- package/package.json +8 -4
|
@@ -3,13 +3,13 @@ export type TextareaProps = WithoutChildren<WithElementRef<HTMLTextareaAttribute
|
|
|
3
3
|
import type { WithElementRef, WithoutChildren } from "bits-ui";
|
|
4
4
|
import type { HTMLTextareaAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: TextareaProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type TextareaProps_ =
|
|
12
|
+
type TextareaProps_ = TextareaProps;
|
|
13
13
|
export type TextareaEvents = typeof __propDef.events;
|
|
14
14
|
export type TextareaSlots = typeof __propDef.slots;
|
|
15
15
|
export default class Textarea extends SvelteComponentTyped<TextareaProps_, TextareaEvents, TextareaSlots> {
|
|
@@ -1,89 +1,19 @@
|
|
|
1
|
+
import { type VariantProps, tv } from "tailwind-variants";
|
|
2
|
+
import type { Toggle as TogglePrimitive } from "bits-ui";
|
|
1
3
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
outline: string;
|
|
7
|
-
};
|
|
8
|
-
size: {
|
|
9
|
-
default: string;
|
|
10
|
-
sm: string;
|
|
11
|
-
lg: string;
|
|
12
|
-
};
|
|
13
|
-
}, undefined, "ring-offset-background hover:bg-muted hover:text-muted-foreground focus-visible:ring-ring data-[state=on]:bg-accent data-[state=on]:text-accent-foreground inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
14
|
-
variant: {
|
|
15
|
-
default: string;
|
|
16
|
-
outline: string;
|
|
17
|
-
};
|
|
18
|
-
size: {
|
|
19
|
-
default: string;
|
|
20
|
-
sm: string;
|
|
21
|
-
lg: string;
|
|
22
|
-
};
|
|
23
|
-
}, {
|
|
24
|
-
variant: {
|
|
25
|
-
default: string;
|
|
26
|
-
outline: string;
|
|
27
|
-
};
|
|
28
|
-
size: {
|
|
29
|
-
default: string;
|
|
30
|
-
sm: string;
|
|
31
|
-
lg: string;
|
|
32
|
-
};
|
|
33
|
-
}>, {
|
|
34
|
-
variant: {
|
|
35
|
-
default: string;
|
|
36
|
-
outline: string;
|
|
37
|
-
};
|
|
38
|
-
size: {
|
|
39
|
-
default: string;
|
|
40
|
-
sm: string;
|
|
41
|
-
lg: string;
|
|
42
|
-
};
|
|
43
|
-
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
44
|
-
variant: {
|
|
45
|
-
default: string;
|
|
46
|
-
outline: string;
|
|
47
|
-
};
|
|
48
|
-
size: {
|
|
49
|
-
default: string;
|
|
50
|
-
sm: string;
|
|
51
|
-
lg: string;
|
|
52
|
-
};
|
|
53
|
-
}, undefined, "ring-offset-background hover:bg-muted hover:text-muted-foreground focus-visible:ring-ring data-[state=on]:bg-accent data-[state=on]:text-accent-foreground inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
54
|
-
variant: {
|
|
55
|
-
default: string;
|
|
56
|
-
outline: string;
|
|
57
|
-
};
|
|
58
|
-
size: {
|
|
59
|
-
default: string;
|
|
60
|
-
sm: string;
|
|
61
|
-
lg: string;
|
|
62
|
-
};
|
|
63
|
-
}, {
|
|
64
|
-
variant: {
|
|
65
|
-
default: string;
|
|
66
|
-
outline: string;
|
|
67
|
-
};
|
|
68
|
-
size: {
|
|
69
|
-
default: string;
|
|
70
|
-
sm: string;
|
|
71
|
-
lg: string;
|
|
72
|
-
};
|
|
73
|
-
}>, unknown, unknown, undefined>>;
|
|
74
|
-
export type ToggleVariant = VariantProps<typeof toggleVariants>["variant"];
|
|
75
|
-
export type ToggleSize = VariantProps<typeof toggleVariants>["size"];
|
|
76
|
-
export type ToggleVariants = VariantProps<typeof toggleVariants>;
|
|
4
|
+
export type ToggleProps = TogglePrimitive.RootProps & {
|
|
5
|
+
variant?: ToggleVariant;
|
|
6
|
+
size?: ToggleSize;
|
|
7
|
+
};
|
|
77
8
|
declare const __propDef: {
|
|
78
|
-
props:
|
|
9
|
+
props: ToggleProps;
|
|
79
10
|
events: {
|
|
80
11
|
[evt: string]: CustomEvent<any>;
|
|
81
12
|
};
|
|
82
13
|
slots: {};
|
|
83
14
|
};
|
|
84
|
-
export type ToggleProps = typeof __propDef.props;
|
|
85
15
|
export type ToggleEvents = typeof __propDef.events;
|
|
86
16
|
export type ToggleSlots = typeof __propDef.slots;
|
|
87
|
-
export default class
|
|
17
|
+
export default class extends SvelteComponentTyped<ToggleProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
88
18
|
}
|
|
89
19
|
export {};
|
|
@@ -3,13 +3,13 @@ import type { ToggleGroup as ToggleGroupPrimitive } from "bits-ui";
|
|
|
3
3
|
export type ToggleGroupItemProps = ToggleGroupPrimitive.ItemProps & ToggleVariants;
|
|
4
4
|
import { type ToggleVariants } from "../toggle/index.js";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: ToggleGroupItemProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type ToggleGroupItemProps_ =
|
|
12
|
+
type ToggleGroupItemProps_ = ToggleGroupItemProps;
|
|
13
13
|
export type ToggleGroupItemEvents = typeof __propDef.events;
|
|
14
14
|
export type ToggleGroupItemSlots = typeof __propDef.slots;
|
|
15
15
|
export default class ToggleGroupItem extends SvelteComponentTyped<ToggleGroupItemProps_, ToggleGroupItemEvents, ToggleGroupItemSlots> {
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
+
import type { ToggleVariants } from "$lib/components/ui/toggle/index.js";
|
|
2
|
+
import type { ToggleGroup as ToggleGroupPrimitive } from "bits-ui";
|
|
1
3
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
|
|
3
|
-
export declare function setToggleGroupCtx(props: ToggleVariants): void;
|
|
4
|
-
export declare function getToggleGroupCtx(): ToggleVariants;
|
|
4
|
+
export type ToggleGroupProps = ToggleGroupPrimitive.RootProps & ToggleVariants;
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: ToggleGroupProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
export type ToggleGroupProps = typeof __propDef.props;
|
|
13
12
|
export type ToggleGroupEvents = typeof __propDef.events;
|
|
14
13
|
export type ToggleGroupSlots = typeof __propDef.slots;
|
|
15
|
-
export default class
|
|
14
|
+
export default class extends SvelteComponentTyped<ToggleGroupProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
16
15
|
}
|
|
17
16
|
export {};
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Tooltip as TooltipPrimitive } from "bits-ui";
|
|
3
3
|
export type TooltipContentProps = TooltipPrimitive.ContentProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: TooltipContentProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type TooltipContentProps_ =
|
|
11
|
+
type TooltipContentProps_ = TooltipContentProps;
|
|
12
12
|
export type TooltipContentEvents = typeof __propDef.events;
|
|
13
13
|
export type TooltipContentSlots = typeof __propDef.slots;
|
|
14
14
|
export default class TooltipContent extends SvelteComponentTyped<TooltipContentProps_, TooltipContentEvents, TooltipContentSlots> {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type CheckerBoardBackgroundProps = any;
|
|
2
3
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
4
|
+
props: CheckerBoardBackgroundProps;
|
|
4
5
|
events: {
|
|
5
6
|
[evt: string]: CustomEvent<any>;
|
|
6
7
|
};
|
|
7
8
|
slots: {};
|
|
8
9
|
};
|
|
9
|
-
export type CheckerBoardBackgroundProps = typeof __propDef.props;
|
|
10
10
|
export type CheckerBoardBackgroundEvents = typeof __propDef.events;
|
|
11
11
|
export type CheckerBoardBackgroundSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
12
|
+
export default class extends SvelteComponentTyped<CheckerBoardBackgroundProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
13
|
}
|
|
14
14
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type OpacitySliderArrowsProps = any;
|
|
2
3
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
4
|
+
props: OpacitySliderArrowsProps;
|
|
4
5
|
events: {
|
|
5
6
|
[evt: string]: CustomEvent<any>;
|
|
6
7
|
};
|
|
7
8
|
slots: {};
|
|
8
9
|
};
|
|
9
|
-
export type OpacitySliderArrowsProps = typeof __propDef.props;
|
|
10
10
|
export type OpacitySliderArrowsEvents = typeof __propDef.events;
|
|
11
11
|
export type OpacitySliderArrowsSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
12
|
+
export default class extends SvelteComponentTyped<OpacitySliderArrowsProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
13
|
}
|
|
14
14
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@widgetic/design-system",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"svelte": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -22,7 +22,11 @@
|
|
|
22
22
|
"llinks": "ls -la node_modules/@widgetic",
|
|
23
23
|
"glinks": "npm ls --global | grep widgetic",
|
|
24
24
|
"set-git": "git config core.ignorecase false",
|
|
25
|
-
"
|
|
25
|
+
"ensure-fonts": "mkdir -p static/fonts && ln -sfn ../../src/lib/fonts/BLMelody static/fonts/BLMelody && ln -sfn ../../src/lib/fonts/Riegla static/fonts/Riegla",
|
|
26
|
+
"predev": "npm run ensure-fonts && npx svelte-kit sync",
|
|
27
|
+
"predev-sv": "npm run ensure-fonts && npx svelte-kit sync",
|
|
28
|
+
"dev": "npm run dev-sv",
|
|
29
|
+
"dev:lib": "concurrently -n app,pkg -c blue,green \"npm run dev-sv\" \"npm run package:watch\"",
|
|
26
30
|
"dev-with-check": "NODE_ENV=development concurrently \"npm run check:watch\" \"npm run dev-sv\" \"npm run package:watch\"",
|
|
27
31
|
"dev-open": "npm run dev-sv -- --open",
|
|
28
32
|
"dev-sv": "NODE_ENV=development vite dev",
|
|
@@ -32,7 +36,7 @@
|
|
|
32
36
|
"package:watch:svelte": "NODE_ENV=development svelte-package --watch | grep -v '$app/environment'",
|
|
33
37
|
"package:watch:css": "chokidar 'dist/styles/global.css' --debounce 500 -c \"npm run update-config-path\" --initial",
|
|
34
38
|
"package:watch": "concurrently \"npm run package:watch:svelte\" \"npm run package:watch:css\"",
|
|
35
|
-
"package": "NODE_ENV=production svelte-package | grep -v '$app/environment' && npm run update-config-path",
|
|
39
|
+
"package": "NODE_ENV=production svelte-package | grep -v '$app/environment' && npm run update-config-path && node scripts/fix-svelte-dts-props.mjs",
|
|
36
40
|
"update-config-path": "if [ -f dist/styles/global.css ] && grep -q '@config \"../../../tailwind.config.ts\";' dist/styles/global.css; then echo 'Updating @config path in dist/styles/global.css...'; sed -i.bak 's|@config \"../../../tailwind.config.ts\";|@config \"../../tailwind.config.ts\";|g' dist/styles/global.css && rm -f dist/styles/global.css.bak; else :; fi",
|
|
37
41
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
38
42
|
"check:watch": "NODE_OPTIONS='--max-old-space-size=8192' svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
@@ -120,7 +124,7 @@
|
|
|
120
124
|
"devDependencies": {
|
|
121
125
|
"@sveltejs/adapter-node": "^5.2.9",
|
|
122
126
|
"@sveltejs/kit": "^2.20.7",
|
|
123
|
-
"@sveltejs/package": "^2.
|
|
127
|
+
"@sveltejs/package": "^2.5.8",
|
|
124
128
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
125
129
|
"@tailwindcss/postcss": "^4.1.4",
|
|
126
130
|
"@tailwindcss/typography": "^0.5.15",
|