@widgetic/design-system 0.3.79 → 0.3.81
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/README.md +828 -123
- package/dist/components/CopyableHeader.svelte +13 -11
- package/dist/components/CopyableHeader.svelte.d.ts +34 -38
- package/dist/components/EmptyState.svelte +2 -9
- package/dist/components/EmptyState.svelte.d.ts +30 -35
- package/dist/components/PasswordInput.svelte +1 -5
- package/dist/components/PasswordInput.svelte.d.ts +19 -23
- package/dist/components/ThumbHashImage.svelte.d.ts +20 -24
- package/dist/components/WScrollArea.svelte +3 -3
- package/dist/components/WScrollArea.svelte.d.ts +25 -36
- package/dist/components/debug-grid/DebugGrid.svelte +1 -1
- package/dist/components/debug-grid/DebugGrid.svelte.d.ts +26 -30
- package/dist/components/ic/browser/BrowserInputController.svelte +1 -1
- package/dist/components/ic/browser/BrowserInputController.svelte.d.ts +26 -31
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/modals/ActionModal.svelte.d.ts +36 -47
- package/dist/components/modals/BaseModal.svelte +1 -1
- package/dist/components/modals/BaseModal.svelte.d.ts +32 -36
- package/dist/components/modals/NewItemDialog.svelte +1 -1
- package/dist/components/modals/NewItemDialog.svelte.d.ts +33 -37
- package/dist/components/modals/Portal.svelte.d.ts +21 -32
- package/dist/components/modals/RenameDialog.svelte +6 -7
- package/dist/components/modals/RenameDialog.svelte.d.ts +33 -37
- package/dist/components/modals/modalStore.js +21 -26
- package/dist/components/navigation/Breadcrumbs.svelte +9 -9
- package/dist/components/navigation/Breadcrumbs.svelte.d.ts +28 -32
- package/dist/components/pdf/PDFViewer.svelte +19 -10
- package/dist/components/pdf/PDFViewer.svelte.d.ts +26 -30
- package/dist/components/search-input/SearchInput.svelte +8 -3
- package/dist/components/search-input/SearchInput.svelte.d.ts +40 -44
- package/dist/components/search-input/index.d.ts +14 -3
- package/dist/components/search-input/index.js +2 -1
- package/dist/components/shad-editor/colorpicker.svelte.d.ts +13 -5
- package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +14 -4
- package/dist/components/shad-editor/custom/image-extended-component.svelte +1 -1
- package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +14 -4
- package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +13 -7
- package/dist/components/shad-editor/editor.css +4 -8
- package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/bold.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/code.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +13 -8
- package/dist/components/shad-editor/icons/image.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/italic.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/link.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/redo.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/subscript.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/superscript.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/table.svelte +3 -3
- package/dist/components/shad-editor/icons/table.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/task-list.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/text.svelte +1 -1
- package/dist/components/shad-editor/icons/text.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/textalign.svelte.d.ts +13 -6
- package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/underline.svelte.d.ts +13 -7
- package/dist/components/shad-editor/icons/undo.svelte.d.ts +13 -7
- package/dist/components/shad-editor/onedark.css +0 -3
- package/dist/components/shad-editor/shad-editor.svelte +1 -1
- package/dist/components/shad-editor/shad-editor.svelte.d.ts +20 -30
- package/dist/components/toast/ToasterModal.svelte +11 -15
- package/dist/components/toast/ToasterModal.svelte.d.ts +11 -16
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +14 -4
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +14 -4
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +13 -6
- package/dist/components/ui/accordion/index.d.ts +1 -1
- package/dist/components/ui/alert/alert-description.svelte.d.ts +14 -25
- package/dist/components/ui/alert/alert-title.svelte.d.ts +16 -27
- package/dist/components/ui/alert/alert.svelte.d.ts +16 -27
- package/dist/components/ui/badge/badge.svelte +1 -1
- package/dist/components/ui/badge/badge.svelte.d.ts +15 -9
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +14 -5
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +14 -5
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +13 -10
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +14 -5
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +14 -5
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +14 -5
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +14 -5
- package/dist/components/ui/button/button.svelte +1 -1
- package/dist/components/ui/button/button.svelte.d.ts +16 -5
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-day.svelte +4 -4
- package/dist/components/ui/calendar/calendar-day.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +14 -5
- package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +14 -4
- package/dist/components/ui/calendar/calendar.svelte.d.ts +14 -5
- package/dist/components/ui/card/card-content.svelte.d.ts +14 -5
- package/dist/components/ui/card/card-description.svelte.d.ts +14 -5
- package/dist/components/ui/card/card-footer.svelte.d.ts +14 -5
- package/dist/components/ui/card/card-header.svelte.d.ts +14 -5
- package/dist/components/ui/card/card-title.svelte.d.ts +13 -7
- package/dist/components/ui/card/card.svelte +1 -1
- package/dist/components/ui/card/card.svelte.d.ts +14 -5
- package/dist/components/ui/checkbox/checkbox.svelte +1 -1
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +14 -4
- package/dist/components/ui/collapsible/index.d.ts +1 -1
- package/dist/components/ui/command/command-dialog.svelte +1 -1
- package/dist/components/ui/command/command-dialog.svelte.d.ts +13 -8
- package/dist/components/ui/command/command-empty.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-group.svelte.d.ts +13 -6
- package/dist/components/ui/command/command-input.svelte +1 -1
- package/dist/components/ui/command/command-input.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-item.svelte +1 -1
- package/dist/components/ui/command/command-item.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-link-item.svelte +1 -1
- package/dist/components/ui/command/command-link-item.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-list.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-separator.svelte.d.ts +14 -4
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +14 -5
- package/dist/components/ui/command/command.svelte.d.ts +14 -4
- package/dist/components/ui/dialog/dialog-content.svelte +1 -1
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +13 -8
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +14 -4
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +14 -5
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +14 -5
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +14 -4
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +14 -4
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +13 -6
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +14 -4
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +14 -5
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +14 -5
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +14 -3
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +14 -4
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +14 -4
- package/dist/components/ui/drawer/drawer.svelte.d.ts +14 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +13 -7
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +13 -6
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +13 -6
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +13 -6
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +13 -7
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +14 -4
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +14 -4
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +14 -5
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +14 -4
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +13 -6
- package/dist/components/ui/dropdown-menu/index.d.ts +1 -1
- package/dist/components/ui/hover-card/hover-card-content.svelte +1 -1
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +13 -6
- package/dist/components/ui/input/input.svelte +1 -1
- package/dist/components/ui/input/input.svelte.d.ts +14 -5
- package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +14 -5
- package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +14 -5
- package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +14 -12
- package/dist/components/ui/input-otp/input-otp.svelte +1 -1
- package/dist/components/ui/input-otp/input-otp.svelte.d.ts +14 -3
- package/dist/components/ui/label/label.svelte.d.ts +14 -4
- package/dist/components/ui/popover/popover-content.svelte +1 -1
- package/dist/components/ui/popover/popover-content.svelte.d.ts +13 -6
- package/dist/components/ui/progress/progress.svelte.d.ts +14 -4
- package/dist/components/ui/radio-group/radio-group-item.svelte +1 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +14 -4
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-day.svelte +6 -6
- package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +14 -5
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +14 -4
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +14 -5
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +14 -4
- package/dist/components/ui/scroll-area/scroll-area.svelte.d.ts +13 -8
- package/dist/components/ui/select/index.d.ts +1 -1
- package/dist/components/ui/select/select-content.svelte.d.ts +13 -6
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +14 -4
- package/dist/components/ui/select/select-item.svelte +1 -1
- package/dist/components/ui/select/select-item.svelte.d.ts +14 -4
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +14 -4
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +14 -4
- package/dist/components/ui/select/select-separator.svelte.d.ts +14 -4
- package/dist/components/ui/select/select-trigger.svelte +1 -1
- package/dist/components/ui/select/select-trigger.svelte.d.ts +14 -4
- package/dist/components/ui/separator/separator.svelte.d.ts +14 -4
- package/dist/components/ui/slider/slider.svelte +1 -1
- package/dist/components/ui/slider/slider.svelte.d.ts +14 -4
- package/dist/components/ui/sonner/sonner.svelte.d.ts +14 -4
- package/dist/components/ui/switch/switch.svelte +1 -1
- package/dist/components/ui/switch/switch.svelte.d.ts +14 -4
- package/dist/components/ui/table/table-body.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-caption.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-cell.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-footer.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-head.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-header.svelte.d.ts +14 -5
- package/dist/components/ui/table/table-row.svelte.d.ts +14 -5
- package/dist/components/ui/table/table.svelte.d.ts +14 -5
- package/dist/components/ui/tabs/index.d.ts +1 -1
- package/dist/components/ui/tabs/tabs-content.svelte +1 -1
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +14 -4
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +14 -4
- package/dist/components/ui/tabs/tabs-trigger.svelte +1 -1
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +14 -4
- package/dist/components/ui/textarea/textarea.svelte +1 -1
- package/dist/components/ui/textarea/textarea.svelte.d.ts +14 -5
- package/dist/components/ui/toggle/toggle.svelte +1 -1
- package/dist/components/ui/toggle/toggle.svelte.d.ts +15 -9
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +14 -6
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +14 -5
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +14 -4
- package/dist/components/widget-system/EditableWidget.svelte.d.ts +30 -42
- package/dist/components/widget-system/Moveable.svelte +62 -19
- package/dist/components/widget-system/Moveable.svelte.d.ts +37 -49
- package/dist/icons/Checked.svelte.d.ts +14 -18
- package/dist/icons/CheckerBoardBackground.svelte.d.ts +14 -3
- package/dist/icons/Close.svelte.d.ts +14 -18
- package/dist/icons/Exclamation.svelte.d.ts +19 -22
- package/dist/icons/FileBrowser.svelte.d.ts +14 -18
- package/dist/icons/LogoWidgetic.svelte +6 -17
- package/dist/icons/LogoWidgetic.svelte.d.ts +14 -18
- package/dist/icons/LogoWidgeticGreen.svelte +13 -0
- package/dist/icons/LogoWidgeticGreen.svelte.d.ts +16 -0
- package/dist/icons/LogoWidgeticType-old.svelte +13 -0
- package/dist/icons/LogoWidgeticType-old.svelte.d.ts +16 -0
- package/dist/icons/LogoWidgeticType-old.svg +4 -0
- package/dist/icons/LogoWidgeticType.svelte +18 -10
- package/dist/icons/LogoWidgeticType.svelte.d.ts +14 -18
- package/dist/icons/LogoWidgeticType.svg +10 -3
- package/dist/icons/OpacitySliderArrows.svelte.d.ts +14 -3
- package/dist/icons/TestIcon.svelte.d.ts +19 -22
- package/dist/icons/index.d.ts +3 -1
- package/dist/icons/index.js +3 -1
- package/dist/styles/fonts.css +39 -50
- package/dist/styles/global.css +45 -68
- package/package.json +36 -47
- package/tailwind.config.ts +6 -1
- package/dist/components/search-input/index2.d.ts +0 -14
- package/dist/components/shad-editor/README.md +0 -18
- package/dist/icons/eye-off.svg +0 -1
- package/dist/icons/eye.svg +0 -1
- /package/dist/icons/{checked.svg → Checked.svg} +0 -0
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type ProgressProps = typeof __propDef.props;
|
|
10
|
+
export type ProgressEvents = typeof __propDef.events;
|
|
11
|
+
export type ProgressSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Progress extends SvelteComponentTyped<ProgressProps, ProgressEvents, ProgressSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<RadioGroupPrimitive.Item
|
|
14
14
|
bind:ref
|
|
15
15
|
class={cn(
|
|
16
|
-
"border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square size-4 rounded-full border focus:outline-
|
|
16
|
+
"border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square size-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
17
17
|
className
|
|
18
18
|
)}
|
|
19
19
|
{...restProps}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RadioGroupItemProps = typeof __propDef.props;
|
|
10
|
+
export type RadioGroupItemEvents = typeof __propDef.events;
|
|
11
|
+
export type RadioGroupItemSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RadioGroupItem extends SvelteComponentTyped<RadioGroupItemProps, RadioGroupItemEvents, RadioGroupItemSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RadioGroupProps = typeof __propDef.props;
|
|
10
|
+
export type RadioGroupEvents = typeof __propDef.events;
|
|
11
|
+
export type RadioGroupSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RadioGroup extends SvelteComponentTyped<RadioGroupProps, RadioGroupEvents, RadioGroupSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarCellProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarCellEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarCellSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendarCell extends SvelteComponentTyped<RangeCalendarCellProps, RangeCalendarCellEvents, RangeCalendarCellSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
bind:ref
|
|
17
17
|
class={cn(
|
|
18
18
|
buttonVariants({ variant: "ghost" }),
|
|
19
|
-
"size-9 p-0 font-normal data-selected:opacity-100",
|
|
19
|
+
"size-9 p-0 font-normal data-[selected]:opacity-100",
|
|
20
20
|
"[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground",
|
|
21
21
|
// Selection Start
|
|
22
|
-
"data-selection-start:bg-primary data-selection-start:text-primary-foreground data-selection-start:hover:bg-primary data-selection-start:hover:text-primary-foreground data-selection-start:focus:bg-primary data-selection-start:focus:text-primary-foreground",
|
|
22
|
+
"data-[selection-start]:bg-primary data-[selection-start]:text-primary-foreground data-[selection-start]:hover:bg-primary data-[selection-start]:hover:text-primary-foreground data-[selection-start]:focus:bg-primary data-[selection-start]:focus:text-primary-foreground",
|
|
23
23
|
// Selection End
|
|
24
|
-
"data-selection-end:bg-primary data-selection-end:text-primary-foreground data-selection-end:hover:bg-primary data-selection-end:hover:text-primary-foreground data-selection-end:focus:bg-primary data-selection-end:focus:text-primary-foreground",
|
|
24
|
+
"data-[selection-end]:bg-primary data-[selection-end]:text-primary-foreground data-[selection-end]:hover:bg-primary data-[selection-end]:hover:text-primary-foreground data-[selection-end]:focus:bg-primary data-[selection-end]:focus:text-primary-foreground",
|
|
25
25
|
// Outside months
|
|
26
|
-
"data-outside-month:text-muted-foreground [&[data-outside-month][data-selected]]:bg-accent/50 [&[data-outside-month][data-selected]]:text-muted-foreground data-outside-month:pointer-events-none data-outside-month:opacity-50 [&[data-outside-month][data-selected]]:opacity-30",
|
|
26
|
+
"data-[outside-month]:text-muted-foreground [&[data-outside-month][data-selected]]:bg-accent/50 [&[data-outside-month][data-selected]]:text-muted-foreground data-[outside-month]:pointer-events-none data-[outside-month]:opacity-50 [&[data-outside-month][data-selected]]:opacity-30",
|
|
27
27
|
// Disabled
|
|
28
|
-
"data-disabled:text-muted-foreground data-disabled:opacity-50",
|
|
28
|
+
"data-[disabled]:text-muted-foreground data-[disabled]:opacity-50",
|
|
29
29
|
// Unavailable
|
|
30
|
-
"data-unavailable:text-destructive-foreground data-unavailable:line-through",
|
|
30
|
+
"data-[unavailable]:text-destructive-foreground data-[unavailable]:line-through",
|
|
31
31
|
className
|
|
32
32
|
)}
|
|
33
33
|
{...restProps}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarDayProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarDayEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarDaySlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendarDay extends SvelteComponentTyped<RangeCalendarDayProps, RangeCalendarDayEvents, RangeCalendarDaySlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarGridRowProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarGridRowEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarGridRowSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendarGridRow extends SvelteComponentTyped<RangeCalendarGridRowProps, RangeCalendarGridRowEvents, RangeCalendarGridRowSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarGridProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarGridEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarGridSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendarGrid extends SvelteComponentTyped<RangeCalendarGridProps, RangeCalendarGridEvents, RangeCalendarGridSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarHeadCellProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarHeadCellEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarHeadCellSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendarHeadCell extends SvelteComponentTyped<RangeCalendarHeadCellProps, RangeCalendarHeadCellEvents, RangeCalendarHeadCellSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarHeaderProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarHeaderEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarHeaderSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendarHeader extends SvelteComponentTyped<RangeCalendarHeaderProps, RangeCalendarHeaderEvents, RangeCalendarHeaderSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarHeadingProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarHeadingEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarHeadingSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendarHeading extends SvelteComponentTyped<RangeCalendarHeadingProps, RangeCalendarHeadingEvents, RangeCalendarHeadingSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarMonthsProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarMonthsEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarMonthsSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendarMonths extends SvelteComponentTyped<RangeCalendarMonthsProps, RangeCalendarMonthsEvents, RangeCalendarMonthsSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarNextButtonProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarNextButtonEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarNextButtonSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendarNextButton extends SvelteComponentTyped<RangeCalendarNextButtonProps, RangeCalendarNextButtonEvents, RangeCalendarNextButtonSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarPrevButtonProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarPrevButtonEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarPrevButtonSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendarPrevButton extends SvelteComponentTyped<RangeCalendarPrevButtonProps, RangeCalendarPrevButtonEvents, RangeCalendarPrevButtonSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type RangeCalendarProps = typeof __propDef.props;
|
|
10
|
+
export type RangeCalendarEvents = typeof __propDef.events;
|
|
11
|
+
export type RangeCalendarSlots = typeof __propDef.slots;
|
|
12
|
+
export default class RangeCalendar extends SvelteComponentTyped<RangeCalendarProps, RangeCalendarEvents, RangeCalendarSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type ScrollAreaScrollbarProps = typeof __propDef.props;
|
|
10
|
+
export type ScrollAreaScrollbarEvents = typeof __propDef.events;
|
|
11
|
+
export type ScrollAreaScrollbarSlots = typeof __propDef.slots;
|
|
12
|
+
export default class ScrollAreaScrollbar extends SvelteComponentTyped<ScrollAreaScrollbarProps, ScrollAreaScrollbarEvents, ScrollAreaScrollbarSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
6
8
|
};
|
|
7
|
-
|
|
8
|
-
type
|
|
9
|
-
export
|
|
9
|
+
export type ScrollAreaProps = typeof __propDef.props;
|
|
10
|
+
export type ScrollAreaEvents = typeof __propDef.events;
|
|
11
|
+
export type ScrollAreaSlots = typeof __propDef.slots;
|
|
12
|
+
export default class ScrollArea extends SvelteComponentTyped<ScrollAreaProps, ScrollAreaEvents, ScrollAreaSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -6,6 +6,6 @@ import Trigger from "./select-trigger.svelte";
|
|
|
6
6
|
import Separator from "./select-separator.svelte";
|
|
7
7
|
import ScrollDownButton from "./select-scroll-down-button.svelte";
|
|
8
8
|
import ScrollUpButton from "./select-scroll-up-button.svelte";
|
|
9
|
-
declare const Root: import("svelte").Component<import("bits-ui").ComboboxRootPropsWithoutHTML, {}, "
|
|
9
|
+
declare const Root: import("svelte").Component<import("bits-ui").ComboboxRootPropsWithoutHTML, {}, "value" | "open">;
|
|
10
10
|
declare const Group: import("svelte").Component<SelectPrimitive.GroupProps, {}, "ref">;
|
|
11
11
|
export { Root, Group, GroupHeading, Item, Content, Trigger, Separator, ScrollDownButton, ScrollUpButton, Root as Select, Group as SelectGroup, GroupHeading as SelectGroupHeading, Item as SelectItem, Content as SelectContent, Trigger as SelectTrigger, Separator as SelectSeparator, ScrollDownButton as SelectScrollDownButton, ScrollUpButton as SelectScrollUpButton };
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
4
8
|
};
|
|
5
|
-
|
|
6
|
-
type
|
|
7
|
-
export
|
|
9
|
+
export type SelectContentProps = typeof __propDef.props;
|
|
10
|
+
export type SelectContentEvents = typeof __propDef.events;
|
|
11
|
+
export type SelectContentSlots = typeof __propDef.slots;
|
|
12
|
+
export default class SelectContent extends SvelteComponentTyped<SelectContentProps, SelectContentEvents, SelectContentSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SelectGroupHeadingProps = typeof __propDef.props;
|
|
10
|
+
export type SelectGroupHeadingEvents = typeof __propDef.events;
|
|
11
|
+
export type SelectGroupHeadingSlots = typeof __propDef.slots;
|
|
12
|
+
export default class SelectGroupHeading extends SvelteComponentTyped<SelectGroupHeadingProps, SelectGroupHeadingEvents, SelectGroupHeadingSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
bind:ref
|
|
18
18
|
{value}
|
|
19
19
|
class={cn(
|
|
20
|
-
"data-highlighted:bg-accent data-highlighted:text-accent-foreground relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-
|
|
20
|
+
"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
21
21
|
className
|
|
22
22
|
)}
|
|
23
23
|
{...restProps}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SelectItemProps = typeof __propDef.props;
|
|
10
|
+
export type SelectItemEvents = typeof __propDef.events;
|
|
11
|
+
export type SelectItemSlots = typeof __propDef.slots;
|
|
12
|
+
export default class SelectItem extends SvelteComponentTyped<SelectItemProps, SelectItemEvents, SelectItemSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SelectScrollDownButtonProps = typeof __propDef.props;
|
|
10
|
+
export type SelectScrollDownButtonEvents = typeof __propDef.events;
|
|
11
|
+
export type SelectScrollDownButtonSlots = typeof __propDef.slots;
|
|
12
|
+
export default class SelectScrollDownButton extends SvelteComponentTyped<SelectScrollDownButtonProps, SelectScrollDownButtonEvents, SelectScrollDownButtonSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SelectScrollUpButtonProps = typeof __propDef.props;
|
|
10
|
+
export type SelectScrollUpButtonEvents = typeof __propDef.events;
|
|
11
|
+
export type SelectScrollUpButtonSlots = typeof __propDef.slots;
|
|
12
|
+
export default class SelectScrollUpButton extends SvelteComponentTyped<SelectScrollUpButtonProps, SelectScrollUpButtonEvents, SelectScrollUpButtonSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SelectSeparatorProps = typeof __propDef.props;
|
|
10
|
+
export type SelectSeparatorEvents = typeof __propDef.events;
|
|
11
|
+
export type SelectSeparatorSlots = typeof __propDef.slots;
|
|
12
|
+
export default class SelectSeparator extends SvelteComponentTyped<SelectSeparatorProps, SelectSeparatorEvents, SelectSeparatorSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<SelectPrimitive.Trigger
|
|
15
15
|
bind:ref
|
|
16
16
|
class={cn(
|
|
17
|
-
"border-input bg-background ring-offset-background data-placeholder:text-muted-foreground focus:ring-ring flex h-10 w-full items-center justify-between rounded-md border px-3 py-2 text-sm focus:outline-
|
|
17
|
+
"border-input bg-background ring-offset-background data-[placeholder]:text-muted-foreground focus:ring-ring flex h-10 w-full items-center justify-between rounded-md border px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
|
|
18
18
|
className
|
|
19
19
|
)}
|
|
20
20
|
{...restProps}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SelectTriggerProps = typeof __propDef.props;
|
|
10
|
+
export type SelectTriggerEvents = typeof __propDef.events;
|
|
11
|
+
export type SelectTriggerSlots = typeof __propDef.slots;
|
|
12
|
+
export default class SelectTrigger extends SvelteComponentTyped<SelectTriggerProps, SelectTriggerEvents, SelectTriggerSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SeparatorProps = typeof __propDef.props;
|
|
10
|
+
export type SeparatorEvents = typeof __propDef.events;
|
|
11
|
+
export type SeparatorSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Separator extends SvelteComponentTyped<SeparatorProps, SeparatorEvents, SeparatorSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -27,7 +27,7 @@ get along, so we shut typescript up by casting `value` to `never`.
|
|
|
27
27
|
{#each thumbs as thumb}
|
|
28
28
|
<SliderPrimitive.Thumb
|
|
29
29
|
index={thumb}
|
|
30
|
-
class="border-primary bg-background ring-offset-background focus-visible:ring-ring block size-5 rounded-full border-2 transition-colors focus-visible:outline-
|
|
30
|
+
class="border-primary bg-background ring-offset-background focus-visible:ring-ring block size-5 rounded-full border-2 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
|
|
31
31
|
/>
|
|
32
32
|
{/each}
|
|
33
33
|
{/snippet}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SliderProps = typeof __propDef.props;
|
|
10
|
+
export type SliderEvents = typeof __propDef.events;
|
|
11
|
+
export type SliderSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Slider extends SvelteComponentTyped<SliderProps, SliderEvents, SliderSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
type SonnerProps_ = typeof __propDef.props;
|
|
10
|
+
export { SonnerProps_ as SonnerProps };
|
|
11
|
+
export type SonnerEvents = typeof __propDef.events;
|
|
12
|
+
export type SonnerSlots = typeof __propDef.slots;
|
|
13
|
+
export default class Sonner extends SvelteComponentTyped<SonnerProps_, SonnerEvents, SonnerSlots> {
|
|
14
|
+
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
bind:ref
|
|
15
15
|
bind:checked
|
|
16
16
|
class={cn(
|
|
17
|
-
"focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-
|
|
17
|
+
"focus-visible:ring-ring focus-visible:ring-offset-background data-[state=checked]:bg-primary data-[state=unchecked]:bg-input peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
18
18
|
className
|
|
19
19
|
)}
|
|
20
20
|
{...restProps}
|