@widgetic/design-system 0.3.85 → 0.3.86
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 +6 -1
- package/dist/components/shad-editor/colorpicker.svelte.d.ts +5 -2
- package/dist/components/shad-editor/custom/code-extended.svelte +6 -2
- package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +4 -2
- package/dist/components/shad-editor/custom/image-extended-component.svelte +6 -1
- package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +4 -2
- package/dist/components/shad-editor/editor-toolbar.svelte +6 -1
- package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +3 -2
- package/dist/components/shad-editor/icons/block-quote.svelte +6 -1
- package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/bold.svelte +6 -1
- package/dist/components/shad-editor/icons/bold.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/buttle-list.svelte +6 -1
- package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/code.svelte +6 -1
- package/dist/components/shad-editor/icons/code.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/highlighter.svelte +6 -1
- package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +3 -2
- package/dist/components/shad-editor/icons/image.svelte +6 -1
- package/dist/components/shad-editor/icons/image.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/italic.svelte +6 -1
- package/dist/components/shad-editor/icons/italic.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/link.svelte +6 -1
- package/dist/components/shad-editor/icons/link.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/ordered-list.svelte +6 -1
- package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/quickcolor.svelte +6 -1
- package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/redo.svelte +6 -1
- package/dist/components/shad-editor/icons/redo.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/search-replace.svelte +6 -1
- package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/strikethrough.svelte +6 -1
- package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/subscript.svelte +6 -1
- package/dist/components/shad-editor/icons/subscript.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/superscript.svelte +6 -1
- package/dist/components/shad-editor/icons/superscript.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/table.svelte +6 -1
- package/dist/components/shad-editor/icons/table.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/task-list.svelte +6 -1
- package/dist/components/shad-editor/icons/task-list.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/text.svelte +6 -1
- package/dist/components/shad-editor/icons/text.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/textalign.svelte +6 -1
- package/dist/components/shad-editor/icons/textalign.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/textcolor.svelte +6 -1
- package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +3 -2
- package/dist/components/shad-editor/icons/underline.svelte +6 -1
- package/dist/components/shad-editor/icons/underline.svelte.d.ts +6 -2
- package/dist/components/shad-editor/icons/undo.svelte +6 -1
- package/dist/components/shad-editor/icons/undo.svelte.d.ts +6 -2
- package/dist/components/shad-editor/shad-editor.svelte +6 -1
- package/dist/components/shad-editor/shad-editor.svelte.d.ts +3 -2
- package/dist/components/ui/accordion/index.d.ts +1 -0
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +5 -2
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +5 -2
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +5 -2
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +5 -2
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +5 -2
- package/dist/components/ui/breadcrumb/breadcrumb.svelte +6 -1
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +5 -2
- package/dist/components/ui/calendar/calendar-cell.svelte +6 -1
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-day.svelte +6 -1
- package/dist/components/ui/calendar/calendar-day.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-grid-body.svelte +6 -1
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-grid-head.svelte +6 -1
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-grid-row.svelte +6 -1
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-grid.svelte +6 -1
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-head-cell.svelte +6 -1
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-header.svelte +6 -1
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-heading.svelte +6 -1
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-months.svelte +6 -1
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +5 -2
- package/dist/components/ui/calendar/calendar-next-button.svelte +6 -1
- package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar-prev-button.svelte +6 -1
- package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +4 -2
- package/dist/components/ui/calendar/calendar.svelte +6 -1
- package/dist/components/ui/calendar/calendar.svelte.d.ts +4 -2
- package/dist/components/ui/card/card-content.svelte +6 -1
- package/dist/components/ui/card/card-content.svelte.d.ts +5 -2
- package/dist/components/ui/card/card-description.svelte +6 -1
- package/dist/components/ui/card/card-description.svelte.d.ts +5 -2
- package/dist/components/ui/card/card-footer.svelte +6 -1
- package/dist/components/ui/card/card-footer.svelte.d.ts +5 -2
- package/dist/components/ui/card/card-header.svelte +6 -1
- package/dist/components/ui/card/card-header.svelte.d.ts +5 -2
- package/dist/components/ui/card/card.svelte +6 -1
- package/dist/components/ui/card/card.svelte.d.ts +5 -2
- package/dist/components/ui/checkbox/checkbox.svelte +6 -1
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-empty.svelte +6 -1
- package/dist/components/ui/command/command-empty.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-input.svelte +6 -1
- package/dist/components/ui/command/command-input.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-item.svelte +6 -1
- package/dist/components/ui/command/command-item.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-link-item.svelte +6 -1
- package/dist/components/ui/command/command-link-item.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-list.svelte +6 -1
- package/dist/components/ui/command/command-list.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-separator.svelte +6 -1
- package/dist/components/ui/command/command-separator.svelte.d.ts +4 -2
- package/dist/components/ui/command/command-shortcut.svelte +6 -1
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +5 -2
- package/dist/components/ui/command/command.svelte +6 -1
- package/dist/components/ui/command/command.svelte.d.ts +4 -2
- package/dist/components/ui/dialog/dialog-description.svelte +6 -1
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +4 -2
- package/dist/components/ui/dialog/dialog-footer.svelte +6 -1
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +5 -2
- package/dist/components/ui/dialog/dialog-header.svelte +6 -1
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +5 -2
- package/dist/components/ui/dialog/dialog-overlay.svelte +6 -1
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +4 -2
- package/dist/components/ui/dialog/dialog-title.svelte +6 -1
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +4 -2
- package/dist/components/ui/drawer/drawer-description.svelte +6 -1
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +4 -2
- package/dist/components/ui/drawer/drawer-footer.svelte +6 -1
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +5 -2
- package/dist/components/ui/drawer/drawer-header.svelte +6 -1
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +5 -2
- package/dist/components/ui/drawer/drawer-nested.svelte +6 -1
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +4 -2
- package/dist/components/ui/drawer/drawer-overlay.svelte +6 -1
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +4 -2
- package/dist/components/ui/drawer/drawer-title.svelte +6 -1
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +4 -2
- package/dist/components/ui/drawer/drawer.svelte +6 -1
- package/dist/components/ui/drawer/drawer.svelte.d.ts +4 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +6 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +4 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte +6 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +4 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte +6 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +5 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +6 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +4 -2
- package/dist/components/ui/input/input.svelte +6 -1
- package/dist/components/ui/input/input.svelte.d.ts +5 -2
- package/dist/components/ui/input-otp/input-otp-group.svelte +6 -1
- package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +5 -2
- package/dist/components/ui/input-otp/input-otp-separator.svelte +6 -1
- package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +5 -2
- package/dist/components/ui/input-otp/input-otp-slot.svelte +6 -1
- package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +5 -2
- package/dist/components/ui/input-otp/input-otp.svelte +6 -1
- package/dist/components/ui/input-otp/input-otp.svelte.d.ts +5 -2
- package/dist/components/ui/label/label.svelte +6 -1
- package/dist/components/ui/label/label.svelte.d.ts +4 -2
- package/dist/components/ui/progress/progress.svelte +6 -1
- package/dist/components/ui/progress/progress.svelte.d.ts +4 -2
- package/dist/components/ui/radio-group/radio-group-item.svelte +6 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +4 -2
- package/dist/components/ui/radio-group/radio-group.svelte +6 -1
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-day.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-header.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-months.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +5 -2
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +4 -2
- package/dist/components/ui/range-calendar/range-calendar.svelte +6 -1
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +4 -2
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte +6 -1
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-group-heading.svelte +6 -1
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-item.svelte +6 -1
- package/dist/components/ui/select/select-item.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-scroll-down-button.svelte +6 -1
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-scroll-up-button.svelte +6 -1
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-separator.svelte +6 -1
- package/dist/components/ui/select/select-separator.svelte.d.ts +4 -2
- package/dist/components/ui/select/select-trigger.svelte +6 -1
- package/dist/components/ui/select/select-trigger.svelte.d.ts +4 -2
- package/dist/components/ui/separator/separator.svelte +6 -1
- package/dist/components/ui/separator/separator.svelte.d.ts +4 -2
- package/dist/components/ui/slider/slider.svelte +6 -1
- package/dist/components/ui/slider/slider.svelte.d.ts +4 -2
- package/dist/components/ui/switch/switch.svelte +6 -1
- package/dist/components/ui/switch/switch.svelte.d.ts +4 -2
- package/dist/components/ui/table/table-body.svelte +6 -1
- package/dist/components/ui/table/table-body.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-caption.svelte +6 -1
- package/dist/components/ui/table/table-caption.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-cell.svelte +6 -1
- package/dist/components/ui/table/table-cell.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-footer.svelte +6 -1
- package/dist/components/ui/table/table-footer.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-head.svelte +6 -1
- package/dist/components/ui/table/table-head.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-header.svelte +6 -1
- package/dist/components/ui/table/table-header.svelte.d.ts +5 -2
- package/dist/components/ui/table/table-row.svelte +6 -1
- package/dist/components/ui/table/table-row.svelte.d.ts +5 -2
- package/dist/components/ui/table/table.svelte +6 -1
- package/dist/components/ui/table/table.svelte.d.ts +5 -2
- package/dist/components/ui/tabs/tabs-content.svelte +6 -1
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +4 -2
- package/dist/components/ui/tabs/tabs-list.svelte +6 -1
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +4 -2
- package/dist/components/ui/tabs/tabs-trigger.svelte +6 -1
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +4 -2
- package/dist/components/ui/textarea/textarea.svelte +6 -1
- package/dist/components/ui/textarea/textarea.svelte.d.ts +5 -2
- package/dist/components/ui/toggle-group/toggle-group-item.svelte +6 -1
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +5 -2
- package/dist/components/ui/tooltip/tooltip-content.svelte +6 -1
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type DrawerHeaderProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { WithElementRef } from "bits-ui";
|
|
3
8
|
import type { HTMLAttributes } from "svelte/elements";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: DrawerHeaderProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<div
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type DrawerHeaderProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type DrawerHeaderProps_ = typeof __propDef.props;
|
|
10
13
|
export type DrawerHeaderEvents = typeof __propDef.events;
|
|
11
14
|
export type DrawerHeaderSlots = typeof __propDef.slots;
|
|
12
|
-
export default class DrawerHeader extends SvelteComponentTyped<
|
|
15
|
+
export default class DrawerHeader extends SvelteComponentTyped<DrawerHeaderProps_, DrawerHeaderEvents, DrawerHeaderSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
|
+
export type DrawerNestedProps = DrawerPrimitive.RootProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
8
|
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
open = $bindable(false),
|
|
7
12
|
activeSnapPoint = $bindable(null),
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: DrawerNestedProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<DrawerPrimitive.NestedRoot {shouldScaleBackground} bind:open bind:activeSnapPoint {...restProps} />
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
|
+
export type DrawerNestedProps = DrawerPrimitive.RootProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type DrawerNestedProps_ = typeof __propDef.props;
|
|
10
12
|
export type DrawerNestedEvents = typeof __propDef.events;
|
|
11
13
|
export type DrawerNestedSlots = typeof __propDef.slots;
|
|
12
|
-
export default class DrawerNested extends SvelteComponentTyped<
|
|
14
|
+
export default class DrawerNested extends SvelteComponentTyped<DrawerNestedProps_, DrawerNestedEvents, DrawerNestedSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
|
+
export type DrawerOverlayProps = DrawerPrimitive.OverlayProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: DrawerOverlayProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<DrawerPrimitive.Overlay
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
|
+
export type DrawerOverlayProps = DrawerPrimitive.OverlayProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type DrawerOverlayProps_ = typeof __propDef.props;
|
|
10
12
|
export type DrawerOverlayEvents = typeof __propDef.events;
|
|
11
13
|
export type DrawerOverlaySlots = typeof __propDef.slots;
|
|
12
|
-
export default class DrawerOverlay extends SvelteComponentTyped<
|
|
14
|
+
export default class DrawerOverlay extends SvelteComponentTyped<DrawerOverlayProps_, DrawerOverlayEvents, DrawerOverlaySlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
|
+
export type DrawerTitleProps = DrawerPrimitive.TitleProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: DrawerTitleProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<DrawerPrimitive.Title
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
|
+
export type DrawerTitleProps = DrawerPrimitive.TitleProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type DrawerTitleProps_ = typeof __propDef.props;
|
|
10
12
|
export type DrawerTitleEvents = typeof __propDef.events;
|
|
11
13
|
export type DrawerTitleSlots = typeof __propDef.slots;
|
|
12
|
-
export default class DrawerTitle extends SvelteComponentTyped<
|
|
14
|
+
export default class DrawerTitle extends SvelteComponentTyped<DrawerTitleProps_, DrawerTitleEvents, DrawerTitleSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
|
+
export type DrawerProps = DrawerPrimitive.RootProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
8
|
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
open = $bindable(false),
|
|
7
12
|
activeSnapPoint = $bindable(null),
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: DrawerProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<DrawerPrimitive.Root {shouldScaleBackground} bind:open bind:activeSnapPoint {...restProps} />
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
|
+
export type DrawerProps = DrawerPrimitive.RootProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type DrawerProps_ = typeof __propDef.props;
|
|
10
12
|
export type DrawerEvents = typeof __propDef.events;
|
|
11
13
|
export type DrawerSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Drawer extends SvelteComponentTyped<
|
|
14
|
+
export default class Drawer extends SvelteComponentTyped<DrawerProps_, DrawerEvents, DrawerSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { DropdownMenu as DropdownMenuPrimitive, WithoutChild } from "bits-ui";
|
|
3
|
+
export type DropdownMenuRadioItemProps = WithoutChild<DropdownMenuPrimitive.RadioItemProps>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { DropdownMenu as DropdownMenuPrimitive, type WithoutChild } from "bits-ui";
|
|
3
8
|
import Circle from "lucide-svelte/icons/circle";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children: childrenProp,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: DropdownMenuRadioItemProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<DropdownMenuPrimitive.RadioItem
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { DropdownMenu as DropdownMenuPrimitive, WithoutChild } from "bits-ui";
|
|
3
|
+
export type DropdownMenuRadioItemProps = WithoutChild<DropdownMenuPrimitive.RadioItemProps>;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type DropdownMenuRadioItemProps_ = typeof __propDef.props;
|
|
10
12
|
export type DropdownMenuRadioItemEvents = typeof __propDef.events;
|
|
11
13
|
export type DropdownMenuRadioItemSlots = typeof __propDef.slots;
|
|
12
|
-
export default class DropdownMenuRadioItem extends SvelteComponentTyped<
|
|
14
|
+
export default class DropdownMenuRadioItem extends SvelteComponentTyped<DropdownMenuRadioItemProps_, DropdownMenuRadioItemEvents, DropdownMenuRadioItemSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
3
|
+
export type DropdownMenuSeparatorProps = DropdownMenuPrimitive.SeparatorProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: DropdownMenuSeparatorProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<DropdownMenuPrimitive.Separator
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
3
|
+
export type DropdownMenuSeparatorProps = DropdownMenuPrimitive.SeparatorProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type DropdownMenuSeparatorProps_ = typeof __propDef.props;
|
|
10
12
|
export type DropdownMenuSeparatorEvents = typeof __propDef.events;
|
|
11
13
|
export type DropdownMenuSeparatorSlots = typeof __propDef.slots;
|
|
12
|
-
export default class DropdownMenuSeparator extends SvelteComponentTyped<
|
|
14
|
+
export default class DropdownMenuSeparator extends SvelteComponentTyped<DropdownMenuSeparatorProps_, DropdownMenuSeparatorEvents, DropdownMenuSeparatorSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type DropdownMenuShortcutProps = WithElementRef<HTMLAttributes<HTMLSpanElement>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
8
|
import { type WithElementRef } from "bits-ui";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: DropdownMenuShortcutProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<span
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type DropdownMenuShortcutProps = WithElementRef<HTMLAttributes<HTMLSpanElement>>;
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
|
+
import { type WithElementRef } from "bits-ui";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type DropdownMenuShortcutProps_ = typeof __propDef.props;
|
|
10
13
|
export type DropdownMenuShortcutEvents = typeof __propDef.events;
|
|
11
14
|
export type DropdownMenuShortcutSlots = typeof __propDef.slots;
|
|
12
|
-
export default class DropdownMenuShortcut extends SvelteComponentTyped<
|
|
15
|
+
export default class DropdownMenuShortcut extends SvelteComponentTyped<DropdownMenuShortcutProps_, DropdownMenuShortcutEvents, DropdownMenuShortcutSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
3
|
+
export type DropdownMenuSubContentProps = DropdownMenuPrimitive.SubContentProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: DropdownMenuSubContentProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<DropdownMenuPrimitive.SubContent
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
|
|
3
|
+
export type DropdownMenuSubContentProps = DropdownMenuPrimitive.SubContentProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type DropdownMenuSubContentProps_ = typeof __propDef.props;
|
|
10
12
|
export type DropdownMenuSubContentEvents = typeof __propDef.events;
|
|
11
13
|
export type DropdownMenuSubContentSlots = typeof __propDef.slots;
|
|
12
|
-
export default class DropdownMenuSubContent extends SvelteComponentTyped<
|
|
14
|
+
export default class DropdownMenuSubContent extends SvelteComponentTyped<DropdownMenuSubContentProps_, DropdownMenuSubContentEvents, DropdownMenuSubContentSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type InputProps = WithElementRef<HTMLInputAttributes>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { HTMLInputAttributes } from "svelte/elements";
|
|
3
8
|
import type { WithElementRef } from "bits-ui";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
value = $bindable(),
|
|
9
14
|
class: className,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: InputProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<input
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type InputProps = WithElementRef<HTMLInputAttributes>;
|
|
3
|
+
import type { HTMLInputAttributes } from "svelte/elements";
|
|
4
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type InputProps_ = typeof __propDef.props;
|
|
10
13
|
export type InputEvents = typeof __propDef.events;
|
|
11
14
|
export type InputSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Input extends SvelteComponentTyped<
|
|
15
|
+
export default class Input extends SvelteComponentTyped<InputProps_, InputEvents, InputSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type InputOtpGroupProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
8
|
import type { WithElementRef } from "bits-ui";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: InputOtpGroupProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<div bind:this={ref} class={cn("flex items-center", className)} {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type InputOtpGroupProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type InputOtpGroupProps_ = typeof __propDef.props;
|
|
10
13
|
export type InputOtpGroupEvents = typeof __propDef.events;
|
|
11
14
|
export type InputOtpGroupSlots = typeof __propDef.slots;
|
|
12
|
-
export default class InputOtpGroup extends SvelteComponentTyped<
|
|
15
|
+
export default class InputOtpGroup extends SvelteComponentTyped<InputOtpGroupProps_, InputOtpGroupEvents, InputOtpGroupSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type InputOtpSeparatorProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
8
|
import type { WithElementRef } from "bits-ui";
|
|
@@ -7,7 +12,7 @@
|
|
|
7
12
|
ref = $bindable(null),
|
|
8
13
|
children,
|
|
9
14
|
...restProps
|
|
10
|
-
}:
|
|
15
|
+
}: InputOtpSeparatorProps = $props();
|
|
11
16
|
</script>
|
|
12
17
|
|
|
13
18
|
<div bind:this={ref} role="separator" {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type InputOtpSeparatorProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type InputOtpSeparatorProps_ = typeof __propDef.props;
|
|
10
13
|
export type InputOtpSeparatorEvents = typeof __propDef.events;
|
|
11
14
|
export type InputOtpSeparatorSlots = typeof __propDef.slots;
|
|
12
|
-
export default class InputOtpSeparator extends SvelteComponentTyped<
|
|
15
|
+
export default class InputOtpSeparator extends SvelteComponentTyped<InputOtpSeparatorProps_, InputOtpSeparatorEvents, InputOtpSeparatorSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { PinInput as InputOTPPrimitive } from "bits-ui";
|
|
3
|
+
export type InputOtpSlotProps = ComponentProps<typeof InputOTPPrimitive.Cell>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { PinInput as InputOTPPrimitive } from "bits-ui";
|
|
3
8
|
import type { ComponentProps } from "svelte";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
cell,
|
|
9
14
|
class: className,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: InputOtpSlotProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<InputOTPPrimitive.Cell
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { PinInput as InputOTPPrimitive } from "bits-ui";
|
|
3
|
+
export type InputOtpSlotProps = ComponentProps<typeof InputOTPPrimitive.Cell>;
|
|
4
|
+
import type { ComponentProps } from "svelte";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type InputOtpSlotProps_ = typeof __propDef.props;
|
|
10
13
|
export type InputOtpSlotEvents = typeof __propDef.events;
|
|
11
14
|
export type InputOtpSlotSlots = typeof __propDef.slots;
|
|
12
|
-
export default class InputOtpSlot extends SvelteComponentTyped<
|
|
15
|
+
export default class InputOtpSlot extends SvelteComponentTyped<InputOtpSlotProps_, InputOtpSlotEvents, InputOtpSlotSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { PinInput as InputOTPPrimitive } from "bits-ui";
|
|
3
|
+
export type InputOtpProps = ComponentProps<typeof InputOTPPrimitive.Root>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { PinInput as InputOTPPrimitive } from "bits-ui";
|
|
3
8
|
import type { ComponentProps } from "svelte";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
value = $bindable(""),
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: InputOtpProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<InputOTPPrimitive.Root
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { PinInput as InputOTPPrimitive } from "bits-ui";
|
|
3
|
+
export type InputOtpProps = ComponentProps<typeof InputOTPPrimitive.Root>;
|
|
4
|
+
import type { ComponentProps } from "svelte";
|
|
2
5
|
declare const __propDef: {
|
|
3
6
|
props: Record<string, never>;
|
|
4
7
|
events: {
|
|
@@ -6,9 +9,9 @@ declare const __propDef: {
|
|
|
6
9
|
};
|
|
7
10
|
slots: {};
|
|
8
11
|
};
|
|
9
|
-
|
|
12
|
+
type InputOtpProps_ = typeof __propDef.props;
|
|
10
13
|
export type InputOtpEvents = typeof __propDef.events;
|
|
11
14
|
export type InputOtpSlots = typeof __propDef.slots;
|
|
12
|
-
export default class InputOtp extends SvelteComponentTyped<
|
|
15
|
+
export default class InputOtp extends SvelteComponentTyped<InputOtpProps_, InputOtpEvents, InputOtpSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Label as LabelPrimitive } from "bits-ui";
|
|
3
|
+
export type LabelProps = LabelPrimitive.RootProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Label as LabelPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -6,7 +11,7 @@
|
|
|
6
11
|
ref = $bindable(null),
|
|
7
12
|
class: className,
|
|
8
13
|
...restProps
|
|
9
|
-
}:
|
|
14
|
+
}: LabelProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<LabelPrimitive.Root
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Label as LabelPrimitive } from "bits-ui";
|
|
3
|
+
export type LabelProps = LabelPrimitive.RootProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type LabelProps_ = typeof __propDef.props;
|
|
10
12
|
export type LabelEvents = typeof __propDef.events;
|
|
11
13
|
export type LabelSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Label extends SvelteComponentTyped<
|
|
14
|
+
export default class Label extends SvelteComponentTyped<LabelProps_, LabelEvents, LabelSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Progress as ProgressPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
|
+
export type ProgressProps = WithoutChildrenOrChild<ProgressPrimitive.RootProps>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Progress as ProgressPrimitive, type WithoutChildrenOrChild } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
max = 100,
|
|
9
14
|
value,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: ProgressProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<ProgressPrimitive.Root
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Progress as ProgressPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
|
+
export type ProgressProps = WithoutChildrenOrChild<ProgressPrimitive.RootProps>;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type ProgressProps_ = typeof __propDef.props;
|
|
10
12
|
export type ProgressEvents = typeof __propDef.events;
|
|
11
13
|
export type ProgressSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Progress extends SvelteComponentTyped<
|
|
14
|
+
export default class Progress extends SvelteComponentTyped<ProgressProps_, ProgressEvents, ProgressSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { RadioGroup as RadioGroupPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
|
+
export type RadioGroupItemProps = WithoutChildrenOrChild<RadioGroupPrimitive.ItemProps>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { RadioGroup as RadioGroupPrimitive, type WithoutChildrenOrChild } from "bits-ui";
|
|
3
8
|
import Circle from "lucide-svelte/icons/circle";
|
|
@@ -7,7 +12,7 @@
|
|
|
7
12
|
ref = $bindable(null),
|
|
8
13
|
class: className,
|
|
9
14
|
...restProps
|
|
10
|
-
}:
|
|
15
|
+
}: RadioGroupItemProps = $props();
|
|
11
16
|
</script>
|
|
12
17
|
|
|
13
18
|
<RadioGroupPrimitive.Item
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { RadioGroup as RadioGroupPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
|
+
export type RadioGroupItemProps = WithoutChildrenOrChild<RadioGroupPrimitive.ItemProps>;
|
|
2
4
|
declare const __propDef: {
|
|
3
5
|
props: Record<string, never>;
|
|
4
6
|
events: {
|
|
@@ -6,9 +8,9 @@ declare const __propDef: {
|
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
type RadioGroupItemProps_ = typeof __propDef.props;
|
|
10
12
|
export type RadioGroupItemEvents = typeof __propDef.events;
|
|
11
13
|
export type RadioGroupItemSlots = typeof __propDef.slots;
|
|
12
|
-
export default class RadioGroupItem extends SvelteComponentTyped<
|
|
14
|
+
export default class RadioGroupItem extends SvelteComponentTyped<RadioGroupItemProps_, RadioGroupItemEvents, RadioGroupItemSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|