@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
|
+
import type { Separator as SeparatorPrimitive } from "bits-ui";
|
|
3
|
+
export type SelectSeparatorProps = SeparatorPrimitive.RootProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { Separator as SeparatorPrimitive } from "bits-ui";
|
|
3
8
|
import { Separator } from "../separator/index.js";
|
|
@@ -7,7 +12,7 @@
|
|
|
7
12
|
ref = $bindable(null),
|
|
8
13
|
class: className,
|
|
9
14
|
...restProps
|
|
10
|
-
}:
|
|
15
|
+
}: SelectSeparatorProps = $props();
|
|
11
16
|
</script>
|
|
12
17
|
|
|
13
18
|
<Separator bind:ref class={cn("bg-muted -mx-1 my-1 h-px", className)} {...restProps} />
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Separator as SeparatorPrimitive } from "bits-ui";
|
|
3
|
+
export type SelectSeparatorProps = SeparatorPrimitive.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 SelectSeparatorProps_ = typeof __propDef.props;
|
|
10
12
|
export type SelectSeparatorEvents = typeof __propDef.events;
|
|
11
13
|
export type SelectSeparatorSlots = typeof __propDef.slots;
|
|
12
|
-
export default class SelectSeparator extends SvelteComponentTyped<
|
|
14
|
+
export default class SelectSeparator extends SvelteComponentTyped<SelectSeparatorProps_, SelectSeparatorEvents, SelectSeparatorSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Select as SelectPrimitive, WithoutChild } from "bits-ui";
|
|
3
|
+
export type SelectTriggerProps = WithoutChild<SelectPrimitive.TriggerProps>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Select as SelectPrimitive, type WithoutChild } from "bits-ui";
|
|
3
8
|
import ChevronDown from "lucide-svelte/icons/chevron-down";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
class: className,
|
|
9
14
|
children,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: SelectTriggerProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<SelectPrimitive.Trigger
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Select as SelectPrimitive, WithoutChild } from "bits-ui";
|
|
3
|
+
export type SelectTriggerProps = WithoutChild<SelectPrimitive.TriggerProps>;
|
|
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 SelectTriggerProps_ = typeof __propDef.props;
|
|
10
12
|
export type SelectTriggerEvents = typeof __propDef.events;
|
|
11
13
|
export type SelectTriggerSlots = typeof __propDef.slots;
|
|
12
|
-
export default class SelectTrigger extends SvelteComponentTyped<
|
|
14
|
+
export default class SelectTrigger extends SvelteComponentTyped<SelectTriggerProps_, SelectTriggerEvents, SelectTriggerSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Separator as SeparatorPrimitive } from "bits-ui";
|
|
3
|
+
export type SeparatorProps = SeparatorPrimitive.RootProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Separator as SeparatorPrimitive } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -7,7 +12,7 @@
|
|
|
7
12
|
class: className,
|
|
8
13
|
orientation = "horizontal",
|
|
9
14
|
...restProps
|
|
10
|
-
}:
|
|
15
|
+
}: SeparatorProps = $props();
|
|
11
16
|
</script>
|
|
12
17
|
|
|
13
18
|
<SeparatorPrimitive.Root
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Separator as SeparatorPrimitive } from "bits-ui";
|
|
3
|
+
export type SeparatorProps = SeparatorPrimitive.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 SeparatorProps_ = typeof __propDef.props;
|
|
10
12
|
export type SeparatorEvents = typeof __propDef.events;
|
|
11
13
|
export type SeparatorSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Separator extends SvelteComponentTyped<
|
|
14
|
+
export default class Separator extends SvelteComponentTyped<SeparatorProps_, SeparatorEvents, SeparatorSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Slider as SliderPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
|
+
export type SliderProps = WithoutChildrenOrChild<SliderPrimitive.RootProps>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Slider as SliderPrimitive, type WithoutChildrenOrChild } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -7,7 +12,7 @@
|
|
|
7
12
|
value = $bindable(),
|
|
8
13
|
class: className,
|
|
9
14
|
...restProps
|
|
10
|
-
}:
|
|
15
|
+
}: SliderProps = $props();
|
|
11
16
|
</script>
|
|
12
17
|
|
|
13
18
|
<!--
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Slider as SliderPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
|
+
export type SliderProps = WithoutChildrenOrChild<SliderPrimitive.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 SliderProps_ = typeof __propDef.props;
|
|
10
12
|
export type SliderEvents = typeof __propDef.events;
|
|
11
13
|
export type SliderSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Slider extends SvelteComponentTyped<
|
|
14
|
+
export default class Slider extends SvelteComponentTyped<SliderProps_, SliderEvents, SliderSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Switch as SwitchPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
|
+
export type SwitchProps = WithoutChildrenOrChild<SwitchPrimitive.RootProps>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Switch as SwitchPrimitive, type WithoutChildrenOrChild } from "bits-ui";
|
|
3
8
|
import { cn } from "../../../utils.js";
|
|
@@ -7,7 +12,7 @@
|
|
|
7
12
|
class: className,
|
|
8
13
|
checked = $bindable(false),
|
|
9
14
|
...restProps
|
|
10
|
-
}:
|
|
15
|
+
}: SwitchProps = $props();
|
|
11
16
|
</script>
|
|
12
17
|
|
|
13
18
|
<SwitchPrimitive.Root
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Switch as SwitchPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
|
+
export type SwitchProps = WithoutChildrenOrChild<SwitchPrimitive.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 SwitchProps_ = typeof __propDef.props;
|
|
10
12
|
export type SwitchEvents = typeof __propDef.events;
|
|
11
13
|
export type SwitchSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Switch extends SvelteComponentTyped<
|
|
14
|
+
export default class Switch extends SvelteComponentTyped<SwitchProps_, SwitchEvents, SwitchSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TableBodyProps = WithElementRef<HTMLAttributes<HTMLTableSectionElement>>;
|
|
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
|
+
}: TableBodyProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<tbody bind:this={ref} class={cn("[&_tr:last-child]:border-0", className)} {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TableBodyProps = WithElementRef<HTMLAttributes<HTMLTableSectionElement>>;
|
|
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 TableBodyProps_ = typeof __propDef.props;
|
|
10
13
|
export type TableBodyEvents = typeof __propDef.events;
|
|
11
14
|
export type TableBodySlots = typeof __propDef.slots;
|
|
12
|
-
export default class TableBody extends SvelteComponentTyped<
|
|
15
|
+
export default class TableBody extends SvelteComponentTyped<TableBodyProps_, TableBodyEvents, TableBodySlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TableCaptionProps = WithElementRef<HTMLAttributes<HTMLElement>>;
|
|
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
|
+
}: TableCaptionProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<caption bind:this={ref} class={cn("text-muted-foreground mt-4 text-sm", className)} {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TableCaptionProps = WithElementRef<HTMLAttributes<HTMLElement>>;
|
|
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 TableCaptionProps_ = typeof __propDef.props;
|
|
10
13
|
export type TableCaptionEvents = typeof __propDef.events;
|
|
11
14
|
export type TableCaptionSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TableCaption extends SvelteComponentTyped<
|
|
15
|
+
export default class TableCaption extends SvelteComponentTyped<TableCaptionProps_, TableCaptionEvents, TableCaptionSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TableCellProps = WithElementRef<HTMLTdAttributes>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { HTMLTdAttributes } 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
|
+
}: TableCellProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<td
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TableCellProps = WithElementRef<HTMLTdAttributes>;
|
|
3
|
+
import type { HTMLTdAttributes } 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 TableCellProps_ = typeof __propDef.props;
|
|
10
13
|
export type TableCellEvents = typeof __propDef.events;
|
|
11
14
|
export type TableCellSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TableCell extends SvelteComponentTyped<
|
|
15
|
+
export default class TableCell extends SvelteComponentTyped<TableCellProps_, TableCellEvents, TableCellSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TableFooterProps = WithElementRef<HTMLAttributes<HTMLTableSectionElement>>;
|
|
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
|
+
}: TableFooterProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<tfoot bind:this={ref} class={cn("bg-muted/50 font-medium", className)} {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TableFooterProps = WithElementRef<HTMLAttributes<HTMLTableSectionElement>>;
|
|
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 TableFooterProps_ = typeof __propDef.props;
|
|
10
13
|
export type TableFooterEvents = typeof __propDef.events;
|
|
11
14
|
export type TableFooterSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TableFooter extends SvelteComponentTyped<
|
|
15
|
+
export default class TableFooter extends SvelteComponentTyped<TableFooterProps_, TableFooterEvents, TableFooterSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TableHeadProps = WithElementRef<HTMLThAttributes>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { HTMLThAttributes } 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
|
+
}: TableHeadProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<th
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TableHeadProps = WithElementRef<HTMLThAttributes>;
|
|
3
|
+
import type { HTMLThAttributes } 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 TableHeadProps_ = typeof __propDef.props;
|
|
10
13
|
export type TableHeadEvents = typeof __propDef.events;
|
|
11
14
|
export type TableHeadSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TableHead extends SvelteComponentTyped<
|
|
15
|
+
export default class TableHead extends SvelteComponentTyped<TableHeadProps_, TableHeadEvents, TableHeadSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TableHeaderProps = WithElementRef<HTMLAttributes<HTMLTableSectionElement>>;
|
|
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
|
+
}: TableHeaderProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<thead bind:this={ref} class={cn("[&_tr]:border-b", className)} {...restProps}>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TableHeaderProps = WithElementRef<HTMLAttributes<HTMLTableSectionElement>>;
|
|
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 TableHeaderProps_ = typeof __propDef.props;
|
|
10
13
|
export type TableHeaderEvents = typeof __propDef.events;
|
|
11
14
|
export type TableHeaderSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TableHeader extends SvelteComponentTyped<
|
|
15
|
+
export default class TableHeader extends SvelteComponentTyped<TableHeaderProps_, TableHeaderEvents, TableHeaderSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TableRowProps = WithElementRef<HTMLAttributes<HTMLTableRowElement>>;
|
|
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
|
+
}: TableRowProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<tr
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TableRowProps = WithElementRef<HTMLAttributes<HTMLTableRowElement>>;
|
|
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 TableRowProps_ = typeof __propDef.props;
|
|
10
13
|
export type TableRowEvents = typeof __propDef.events;
|
|
11
14
|
export type TableRowSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TableRow extends SvelteComponentTyped<
|
|
15
|
+
export default class TableRow extends SvelteComponentTyped<TableRowProps_, TableRowEvents, TableRowSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TableProps = WithElementRef<HTMLTableAttributes>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { HTMLTableAttributes } 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
|
+
}: TableProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<div class="relative w-full overflow-auto">
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TableProps = WithElementRef<HTMLTableAttributes>;
|
|
3
|
+
import type { HTMLTableAttributes } 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 TableProps_ = typeof __propDef.props;
|
|
10
13
|
export type TableEvents = typeof __propDef.events;
|
|
11
14
|
export type TableSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Table extends SvelteComponentTyped<
|
|
15
|
+
export default class Table extends SvelteComponentTyped<TableProps_, TableEvents, TableSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Tabs as TabsPrimitive } from "bits-ui";
|
|
3
|
+
export type TabsContentProps = TabsPrimitive.ContentProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Tabs as TabsPrimitive } 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
|
+
}: TabsContentProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<TabsPrimitive.Content
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Tabs as TabsPrimitive } from "bits-ui";
|
|
3
|
+
export type TabsContentProps = TabsPrimitive.ContentProps;
|
|
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 TabsContentProps_ = typeof __propDef.props;
|
|
10
12
|
export type TabsContentEvents = typeof __propDef.events;
|
|
11
13
|
export type TabsContentSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TabsContent extends SvelteComponentTyped<
|
|
14
|
+
export default class TabsContent extends SvelteComponentTyped<TabsContentProps_, TabsContentEvents, TabsContentSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Tabs as TabsPrimitive } from "bits-ui";
|
|
3
|
+
export type TabsListProps = TabsPrimitive.ListProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Tabs as TabsPrimitive } 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
|
+
}: TabsListProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<TabsPrimitive.List
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Tabs as TabsPrimitive } from "bits-ui";
|
|
3
|
+
export type TabsListProps = TabsPrimitive.ListProps;
|
|
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 TabsListProps_ = typeof __propDef.props;
|
|
10
12
|
export type TabsListEvents = typeof __propDef.events;
|
|
11
13
|
export type TabsListSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TabsList extends SvelteComponentTyped<
|
|
14
|
+
export default class TabsList extends SvelteComponentTyped<TabsListProps_, TabsListEvents, TabsListSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Tabs as TabsPrimitive } from "bits-ui";
|
|
3
|
+
export type TabsTriggerProps = TabsPrimitive.TriggerProps;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import { Tabs as TabsPrimitive } 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
|
+
}: TabsTriggerProps = $props();
|
|
10
15
|
</script>
|
|
11
16
|
|
|
12
17
|
<TabsPrimitive.Trigger
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Tabs as TabsPrimitive } from "bits-ui";
|
|
3
|
+
export type TabsTriggerProps = TabsPrimitive.TriggerProps;
|
|
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 TabsTriggerProps_ = typeof __propDef.props;
|
|
10
12
|
export type TabsTriggerEvents = typeof __propDef.events;
|
|
11
13
|
export type TabsTriggerSlots = typeof __propDef.slots;
|
|
12
|
-
export default class TabsTrigger extends SvelteComponentTyped<
|
|
14
|
+
export default class TabsTrigger extends SvelteComponentTyped<TabsTriggerProps_, TabsTriggerEvents, TabsTriggerSlots> {
|
|
13
15
|
}
|
|
14
16
|
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
|
|
3
|
+
export type TextareaProps = WithoutChildren<WithElementRef<HTMLTextareaAttributes>>;
|
|
4
|
+
</script>
|
|
5
|
+
|
|
1
6
|
<script lang="ts">
|
|
2
7
|
import type { WithElementRef, WithoutChildren } from "bits-ui";
|
|
3
8
|
import type { HTMLTextareaAttributes } from "svelte/elements";
|
|
@@ -8,7 +13,7 @@
|
|
|
8
13
|
value = $bindable(),
|
|
9
14
|
class: className,
|
|
10
15
|
...restProps
|
|
11
|
-
}:
|
|
16
|
+
}: TextareaProps = $props();
|
|
12
17
|
</script>
|
|
13
18
|
|
|
14
19
|
<textarea
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
export type TextareaProps = WithoutChildren<WithElementRef<HTMLTextareaAttributes>>;
|
|
3
|
+
import type { WithElementRef, WithoutChildren } from "bits-ui";
|
|
4
|
+
import type { HTMLTextareaAttributes } 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 TextareaProps_ = typeof __propDef.props;
|
|
10
13
|
export type TextareaEvents = typeof __propDef.events;
|
|
11
14
|
export type TextareaSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Textarea extends SvelteComponentTyped<
|
|
15
|
+
export default class Textarea extends SvelteComponentTyped<TextareaProps_, TextareaEvents, TextareaSlots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|