@widgetic/design-system 0.3.89 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +122 -690
- package/dist/components/CopyableHeader.svelte +11 -13
- package/dist/components/EmptyState.svelte +4 -2
- package/dist/components/EmptyState.svelte.d.ts +2 -1
- package/dist/components/GenerateLoader.svelte +50 -0
- package/dist/components/GenerateLoader.svelte.d.ts +21 -0
- package/dist/components/PasswordInput.svelte +5 -1
- package/dist/components/WScrollArea.svelte +3 -3
- package/dist/components/debug-grid/DebugGrid.svelte +1 -1
- package/dist/components/ic/browser/BrowserInputController.svelte +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/modals/BaseModal.svelte +1 -1
- package/dist/components/modals/BaseModal.svelte.d.ts +1 -1
- package/dist/components/modals/NewItemDialog.svelte +1 -1
- package/dist/components/modals/Portal.svelte +14 -15
- package/dist/components/modals/RenameDialog.svelte +7 -6
- package/dist/components/navigation/Breadcrumbs.svelte +65 -39
- package/dist/components/pdf/PDFViewer.svelte +10 -19
- package/dist/components/pdf/PDFViewer.svelte.d.ts +4 -4
- package/dist/components/search-input/SearchInput.svelte +3 -8
- package/dist/components/search-input/index.d.ts +3 -14
- package/dist/components/search-input/index.js +1 -2
- package/dist/components/search-input/index2.d.ts +14 -0
- package/dist/components/shad-editor/README.md +18 -0
- package/dist/components/shad-editor/colorpicker.svelte.d.ts +2 -2
- package/dist/components/shad-editor/custom/code-extended.svelte.d.ts +2 -2
- package/dist/components/shad-editor/custom/image-extended-component.svelte +1 -1
- package/dist/components/shad-editor/custom/image-extended-component.svelte.d.ts +2 -2
- package/dist/components/shad-editor/editor-toolbar.svelte.d.ts +2 -2
- package/dist/components/shad-editor/editor.css +8 -4
- package/dist/components/shad-editor/icons/block-quote.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/bold.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/buttle-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/code.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/highlighter.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/image.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/italic.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/link.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/ordered-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/quickcolor.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/redo.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/search-replace.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/strikethrough.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/subscript.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/superscript.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/table.svelte +3 -3
- package/dist/components/shad-editor/icons/table.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/task-list.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/text.svelte +1 -1
- package/dist/components/shad-editor/icons/text.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/textalign.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/textcolor.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/underline.svelte.d.ts +2 -2
- package/dist/components/shad-editor/icons/undo.svelte.d.ts +2 -2
- package/dist/components/shad-editor/onedark.css +3 -0
- package/dist/components/shad-editor/shad-editor.svelte +1 -1
- package/dist/components/shad-editor/shad-editor.svelte.d.ts +2 -2
- package/dist/components/toast/ToasterModal.svelte +15 -9
- package/dist/components/toast/ToasterModal.svelte.d.ts +2 -2
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +4 -3
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +4 -3
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +6 -3
- package/dist/components/ui/alert/index.d.ts +2 -2
- package/dist/components/ui/badge/badge.svelte +1 -1
- package/dist/components/ui/badge/badge.svelte.d.ts +8 -55
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +8 -3
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +2 -2
- package/dist/components/ui/button/button.svelte +1 -1
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-day.svelte +4 -4
- package/dist/components/ui/calendar/calendar-day.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +2 -2
- package/dist/components/ui/calendar/calendar.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-content.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-description.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-footer.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-header.svelte.d.ts +2 -2
- package/dist/components/ui/card/card-title.svelte.d.ts +7 -3
- package/dist/components/ui/card/card.svelte +1 -1
- package/dist/components/ui/card/card.svelte.d.ts +2 -2
- package/dist/components/ui/checkbox/checkbox.svelte +1 -1
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +2 -2
- package/dist/components/ui/collapsible/index.d.ts +1 -12
- package/dist/components/ui/command/command-dialog.svelte +1 -1
- package/dist/components/ui/command/command-dialog.svelte.d.ts +11 -3
- package/dist/components/ui/command/command-empty.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-group.svelte.d.ts +6 -3
- package/dist/components/ui/command/command-input.svelte +1 -1
- package/dist/components/ui/command/command-input.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-item.svelte +1 -1
- package/dist/components/ui/command/command-item.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-link-item.svelte +1 -1
- package/dist/components/ui/command/command-link-item.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-list.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-separator.svelte.d.ts +2 -2
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +2 -2
- package/dist/components/ui/command/command.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-content.svelte +1 -1
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +9 -3
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +2 -2
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +6 -3
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +2 -2
- package/dist/components/ui/drawer/drawer.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +8 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +7 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +6 -3
- package/dist/components/ui/dropdown-menu/index.d.ts +6 -14
- package/dist/components/ui/hover-card/hover-card-content.svelte +1 -1
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +6 -3
- package/dist/components/ui/input/input.svelte +1 -1
- package/dist/components/ui/input/input.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp-slot.svelte.d.ts +2 -2
- package/dist/components/ui/input-otp/input-otp.svelte +1 -1
- package/dist/components/ui/input-otp/input-otp.svelte.d.ts +2 -2
- package/dist/components/ui/label/label.svelte.d.ts +2 -2
- package/dist/components/ui/popover/popover-content.svelte +1 -1
- package/dist/components/ui/popover/popover-content.svelte.d.ts +6 -3
- package/dist/components/ui/progress/progress.svelte.d.ts +2 -2
- package/dist/components/ui/radio-group/radio-group-item.svelte +1 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +2 -2
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-day.svelte +6 -6
- package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +2 -2
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +2 -2
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +2 -2
- package/dist/components/ui/scroll-area/scroll-area.svelte.d.ts +8 -3
- package/dist/components/ui/select/index.d.ts +1 -1
- package/dist/components/ui/select/select-content.svelte.d.ts +6 -3
- package/dist/components/ui/select/select-group-heading.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-item.svelte +1 -1
- package/dist/components/ui/select/select-item.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-scroll-down-button.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-scroll-up-button.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-separator.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-trigger.svelte +1 -1
- package/dist/components/ui/select/select-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/separator/separator.svelte.d.ts +2 -2
- package/dist/components/ui/slider/slider.svelte +1 -1
- package/dist/components/ui/slider/slider.svelte.d.ts +2 -2
- package/dist/components/ui/sonner/sonner.svelte.d.ts +5 -4
- package/dist/components/ui/switch/switch.svelte +1 -1
- package/dist/components/ui/switch/switch.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-body.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-caption.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-cell.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-footer.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-head.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-header.svelte.d.ts +2 -2
- package/dist/components/ui/table/table-row.svelte.d.ts +2 -2
- package/dist/components/ui/table/table.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-content.svelte +1 -1
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +2 -2
- package/dist/components/ui/tabs/tabs-trigger.svelte +1 -1
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +2 -2
- package/dist/components/ui/textarea/textarea.svelte +1 -1
- package/dist/components/ui/textarea/textarea.svelte.d.ts +2 -2
- package/dist/components/ui/toggle/toggle.svelte +1 -1
- package/dist/components/ui/toggle/toggle.svelte.d.ts +8 -78
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +2 -2
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +5 -6
- package/dist/components/ui/tooltip/index.d.ts +4 -4
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +2 -2
- package/dist/components/widget-system/Moveable.svelte +100 -23
- package/dist/components/widget-system/Moveable.svelte.d.ts +3 -1
- package/dist/icons/CheckerBoardBackground.svelte.d.ts +3 -3
- package/dist/icons/OpacitySliderArrows.svelte.d.ts +3 -3
- package/dist/icons/eye-off.svg +1 -0
- package/dist/icons/eye.svg +1 -0
- package/dist/shad-editor/index.d.ts +1 -0
- package/dist/shad-editor/index.js +1 -0
- package/dist/styles/fonts.css +59 -47
- package/dist/styles/global.css +119 -52
- package/package.json +164 -36
- package/tailwind.config.ts +13 -6
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarPrevButtonProps = CalendarPrimitive.PrevButtonProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarPrevButtonProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarPrevButtonProps_ =
|
|
11
|
+
type CalendarPrevButtonProps_ = CalendarPrevButtonProps;
|
|
12
12
|
export type CalendarPrevButtonEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarPrevButtonSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarPrevButton extends SvelteComponentTyped<CalendarPrevButtonProps_, CalendarPrevButtonEvents, CalendarPrevButtonSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
3
|
export type CalendarProps = WithoutChildrenOrChild<CalendarPrimitive.RootProps>;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarProps_ =
|
|
11
|
+
type CalendarProps_ = CalendarProps;
|
|
12
12
|
export type CalendarEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarSlots = typeof __propDef.slots;
|
|
14
14
|
export default class Calendar extends SvelteComponentTyped<CalendarProps_, CalendarEvents, CalendarSlots> {
|
|
@@ -3,13 +3,13 @@ export type CardContentProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: CardContentProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type CardContentProps_ =
|
|
12
|
+
type CardContentProps_ = CardContentProps;
|
|
13
13
|
export type CardContentEvents = typeof __propDef.events;
|
|
14
14
|
export type CardContentSlots = typeof __propDef.slots;
|
|
15
15
|
export default class CardContent extends SvelteComponentTyped<CardContentProps_, CardContentEvents, CardContentSlots> {
|
|
@@ -3,13 +3,13 @@ export type CardDescriptionProps = WithElementRef<HTMLAttributes<HTMLParagraphEl
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: CardDescriptionProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type CardDescriptionProps_ =
|
|
12
|
+
type CardDescriptionProps_ = CardDescriptionProps;
|
|
13
13
|
export type CardDescriptionEvents = typeof __propDef.events;
|
|
14
14
|
export type CardDescriptionSlots = typeof __propDef.slots;
|
|
15
15
|
export default class CardDescription extends SvelteComponentTyped<CardDescriptionProps_, CardDescriptionEvents, CardDescriptionSlots> {
|
|
@@ -3,13 +3,13 @@ export type CardFooterProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: CardFooterProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type CardFooterProps_ =
|
|
12
|
+
type CardFooterProps_ = CardFooterProps;
|
|
13
13
|
export type CardFooterEvents = typeof __propDef.events;
|
|
14
14
|
export type CardFooterSlots = typeof __propDef.slots;
|
|
15
15
|
export default class CardFooter extends SvelteComponentTyped<CardFooterProps_, CardFooterEvents, CardFooterSlots> {
|
|
@@ -3,13 +3,13 @@ export type CardHeaderProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: CardHeaderProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type CardHeaderProps_ =
|
|
12
|
+
type CardHeaderProps_ = CardHeaderProps;
|
|
13
13
|
export type CardHeaderEvents = typeof __propDef.events;
|
|
14
14
|
export type CardHeaderSlots = typeof __propDef.slots;
|
|
15
15
|
export default class CardHeader extends SvelteComponentTyped<CardHeaderProps_, CardHeaderEvents, CardHeaderSlots> {
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
import type { WithElementRef } from "bits-ui";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
1
3
|
import { SvelteComponentTyped } from "svelte";
|
|
4
|
+
export type CardTitleProps = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
|
|
5
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
|
+
};
|
|
2
7
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
8
|
+
props: CardTitleProps;
|
|
4
9
|
events: {
|
|
5
10
|
[evt: string]: CustomEvent<any>;
|
|
6
11
|
};
|
|
7
12
|
slots: {};
|
|
8
13
|
};
|
|
9
|
-
export type CardTitleProps = typeof __propDef.props;
|
|
10
14
|
export type CardTitleEvents = typeof __propDef.events;
|
|
11
15
|
export type CardTitleSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
16
|
+
export default class extends SvelteComponentTyped<CardTitleProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
17
|
}
|
|
14
18
|
export {};
|
|
@@ -3,13 +3,13 @@ export type CardProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: CardProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type CardProps_ =
|
|
12
|
+
type CardProps_ = CardProps;
|
|
13
13
|
export type CardEvents = typeof __propDef.events;
|
|
14
14
|
export type CardSlots = typeof __propDef.slots;
|
|
15
15
|
export default class Card extends SvelteComponentTyped<CardProps_, CardEvents, CardSlots> {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<CheckboxPrimitive.Root
|
|
22
22
|
bind:ref
|
|
23
23
|
class={cn(
|
|
24
|
-
"border-primary ring-offset-background focus-visible:ring-ring data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground peer box-content size-4 shrink-0 rounded-sm border focus-visible:outline-
|
|
24
|
+
"border-primary ring-offset-background focus-visible:ring-ring data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground peer box-content size-4 shrink-0 rounded-sm border focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50",
|
|
25
25
|
className
|
|
26
26
|
)}
|
|
27
27
|
bind:checked
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Checkbox as CheckboxPrimitive, WithoutChildrenOrChild } from "bits-ui";
|
|
3
3
|
export type CheckboxProps = WithoutChildrenOrChild<CheckboxPrimitive.RootProps>;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CheckboxProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CheckboxProps_ =
|
|
11
|
+
type CheckboxProps_ = CheckboxProps;
|
|
12
12
|
export type CheckboxEvents = typeof __propDef.events;
|
|
13
13
|
export type CheckboxSlots = typeof __propDef.slots;
|
|
14
14
|
export default class Checkbox extends SvelteComponentTyped<CheckboxProps_, CheckboxEvents, CheckboxSlots> {
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import { Collapsible as CollapsiblePrimitive } from "bits-ui";
|
|
2
2
|
declare const Root: import("svelte").Component<CollapsiblePrimitive.RootProps, {}, "ref" | "open">;
|
|
3
3
|
declare const Trigger: import("svelte").Component<CollapsiblePrimitive.TriggerProps, {}, "ref">;
|
|
4
|
-
declare const Content: import("svelte").Component<
|
|
5
|
-
forceMount?: boolean;
|
|
6
|
-
}, "children" | "child"> & {
|
|
7
|
-
child?: import("svelte").Snippet<[import("bits-ui").CollapsibleContentSnippetProps & {
|
|
8
|
-
props: Record<string, unknown>;
|
|
9
|
-
}]> | undefined;
|
|
10
|
-
children?: import("svelte").Snippet;
|
|
11
|
-
style?: import("bits-ui").StyleProperties | string | null | undefined;
|
|
12
|
-
ref?: HTMLElement | null | undefined;
|
|
13
|
-
} & import("bits-ui").Without<import("bits-ui").BitsPrimitiveDivAttributes, import("bits-ui").CollapsibleContentPropsWithoutHTML> & {
|
|
14
|
-
forceMount?: boolean;
|
|
15
|
-
}, {}, "ref">;
|
|
4
|
+
declare const Content: import("svelte").Component<CollapsiblePrimitive.ContentProps, {}, "ref">;
|
|
16
5
|
export { Root, Content, Trigger, Root as Collapsible, Content as CollapsibleContent, Trigger as CollapsibleTrigger };
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<Dialog.Root bind:open {...restProps}>
|
|
26
26
|
<Dialog.Content class="overflow-hidden p-0 shadow-lg" {portalProps}>
|
|
27
27
|
<Command
|
|
28
|
-
class="[&_[data-command-group]:not([hidden])_~[data-command-group]]:pt-0
|
|
28
|
+
class="[&_[data-command-group]:not([hidden])_~[data-command-group]]:pt-0 **:data-command-group:px-2 [&_[data-command-input-wrapper]_svg]:h-5 [&_[data-command-input-wrapper]_svg]:w-5 **:data-command-input:h-12 **:data-command-item:px-2 **:data-command-item:py-3 [&_[data-command-item]_svg]:h-5 [&_[data-command-item]_svg]:w-5"
|
|
29
29
|
{...restProps}
|
|
30
30
|
bind:value
|
|
31
31
|
bind:ref
|
|
@@ -1,14 +1,22 @@
|
|
|
1
|
+
import type {;
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
3
|
+
import type Command from "./command.svelte";
|
|
4
|
+
import type * as Dialog from "$lib/components/ui/dialog/index.js";
|
|
1
5
|
import { SvelteComponentTyped } from "svelte";
|
|
6
|
+
export type CommandDialogProps = WithoutChildrenOrChild<DialogPrimitive.RootProps> &
|
|
7
|
+
WithoutChildrenOrChild<CommandPrimitive.RootProps> & {
|
|
8
|
+
portalProps?: DialogPrimitive.PortalProps;
|
|
9
|
+
children: Snippet;
|
|
10
|
+
};
|
|
2
11
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
12
|
+
props: CommandDialogProps;
|
|
4
13
|
events: {
|
|
5
14
|
[evt: string]: CustomEvent<any>;
|
|
6
15
|
};
|
|
7
16
|
slots: {};
|
|
8
17
|
};
|
|
9
|
-
export type CommandDialogProps = typeof __propDef.props;
|
|
10
18
|
export type CommandDialogEvents = typeof __propDef.events;
|
|
11
19
|
export type CommandDialogSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
20
|
+
export default class extends SvelteComponentTyped<CommandDialogProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
21
|
}
|
|
14
22
|
export {};
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Command as CommandPrimitive } from "bits-ui";
|
|
3
3
|
export type CommandEmptyProps = CommandPrimitive.EmptyProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CommandEmptyProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CommandEmptyProps_ =
|
|
11
|
+
type CommandEmptyProps_ = CommandEmptyProps;
|
|
12
12
|
export type CommandEmptyEvents = typeof __propDef.events;
|
|
13
13
|
export type CommandEmptySlots = typeof __propDef.slots;
|
|
14
14
|
export default class CommandEmpty extends SvelteComponentTyped<CommandEmptyProps_, CommandEmptyEvents, CommandEmptySlots> {
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import type { Command as CommandPrimitive } from "bits-ui";
|
|
1
2
|
import { SvelteComponentTyped } from "svelte";
|
|
3
|
+
export type CommandGroupProps = CommandPrimitive.GroupProps & {
|
|
4
|
+
heading?: string;
|
|
5
|
+
};
|
|
2
6
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
7
|
+
props: CommandGroupProps;
|
|
4
8
|
events: {
|
|
5
9
|
[evt: string]: CustomEvent<any>;
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
export type CommandGroupProps = typeof __propDef.props;
|
|
10
13
|
export type CommandGroupEvents = typeof __propDef.events;
|
|
11
14
|
export type CommandGroupSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
15
|
+
export default class extends SvelteComponentTyped<CommandGroupProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<Search class="mr-2 size-4 shrink-0 opacity-50" />
|
|
21
21
|
<CommandPrimitive.Input
|
|
22
22
|
class={cn(
|
|
23
|
-
"placeholder:text-muted-foreground flex h-11 w-full rounded-md bg-transparent py-3 text-base outline-
|
|
23
|
+
"placeholder:text-muted-foreground flex h-11 w-full rounded-md bg-transparent py-3 text-base outline-hidden disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
24
24
|
className
|
|
25
25
|
)}
|
|
26
26
|
bind:ref
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Command as CommandPrimitive } from "bits-ui";
|
|
3
3
|
export type CommandInputProps = CommandPrimitive.InputProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CommandInputProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CommandInputProps_ =
|
|
11
|
+
type CommandInputProps_ = CommandInputProps;
|
|
12
12
|
export type CommandInputEvents = typeof __propDef.events;
|
|
13
13
|
export type CommandInputSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CommandInput extends SvelteComponentTyped<CommandInputProps_, CommandInputEvents, CommandInputSlots> {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
<CommandPrimitive.Item
|
|
18
18
|
class={cn(
|
|
19
|
-
"aria-selected:bg-accent aria-selected:text-accent-foreground relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-
|
|
19
|
+
"aria-selected:bg-accent aria-selected:text-accent-foreground relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
20
20
|
className
|
|
21
21
|
)}
|
|
22
22
|
bind:ref
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Command as CommandPrimitive } from "bits-ui";
|
|
3
3
|
export type CommandItemProps = CommandPrimitive.ItemProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CommandItemProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CommandItemProps_ =
|
|
11
|
+
type CommandItemProps_ = CommandItemProps;
|
|
12
12
|
export type CommandItemEvents = typeof __propDef.events;
|
|
13
13
|
export type CommandItemSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CommandItem extends SvelteComponentTyped<CommandItemProps_, CommandItemEvents, CommandItemSlots> {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
<CommandPrimitive.LinkItem
|
|
18
18
|
class={cn(
|
|
19
|
-
"aria-selected:bg-accent aria-selected:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-
|
|
19
|
+
"aria-selected:bg-accent aria-selected:text-accent-foreground relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
20
20
|
className
|
|
21
21
|
)}
|
|
22
22
|
bind:ref
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Command as CommandPrimitive } from "bits-ui";
|
|
3
3
|
export type CommandLinkItemProps = CommandPrimitive.LinkItemProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CommandLinkItemProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CommandLinkItemProps_ =
|
|
11
|
+
type CommandLinkItemProps_ = CommandLinkItemProps;
|
|
12
12
|
export type CommandLinkItemEvents = typeof __propDef.events;
|
|
13
13
|
export type CommandLinkItemSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CommandLinkItem extends SvelteComponentTyped<CommandLinkItemProps_, CommandLinkItemEvents, CommandLinkItemSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Command as CommandPrimitive } from "bits-ui";
|
|
3
3
|
export type CommandListProps = CommandPrimitive.ListProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CommandListProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CommandListProps_ =
|
|
11
|
+
type CommandListProps_ = CommandListProps;
|
|
12
12
|
export type CommandListEvents = typeof __propDef.events;
|
|
13
13
|
export type CommandListSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CommandList extends SvelteComponentTyped<CommandListProps_, CommandListEvents, CommandListSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Command as CommandPrimitive } from "bits-ui";
|
|
3
3
|
export type CommandSeparatorProps = CommandPrimitive.SeparatorProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CommandSeparatorProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CommandSeparatorProps_ =
|
|
11
|
+
type CommandSeparatorProps_ = CommandSeparatorProps;
|
|
12
12
|
export type CommandSeparatorEvents = typeof __propDef.events;
|
|
13
13
|
export type CommandSeparatorSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CommandSeparator extends SvelteComponentTyped<CommandSeparatorProps_, CommandSeparatorEvents, CommandSeparatorSlots> {
|
|
@@ -3,13 +3,13 @@ export type CommandShortcutProps = WithElementRef<HTMLAttributes<HTMLSpanElement
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: CommandShortcutProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type CommandShortcutProps_ =
|
|
12
|
+
type CommandShortcutProps_ = CommandShortcutProps;
|
|
13
13
|
export type CommandShortcutEvents = typeof __propDef.events;
|
|
14
14
|
export type CommandShortcutSlots = typeof __propDef.slots;
|
|
15
15
|
export default class CommandShortcut extends SvelteComponentTyped<CommandShortcutProps_, CommandShortcutEvents, CommandShortcutSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Command as CommandPrimitive } from "bits-ui";
|
|
3
3
|
export type CommandProps = CommandPrimitive.RootProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CommandProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CommandProps_ =
|
|
11
|
+
type CommandProps_ = CommandProps;
|
|
12
12
|
export type CommandEvents = typeof __propDef.events;
|
|
13
13
|
export type CommandSlots = typeof __propDef.slots;
|
|
14
14
|
export default class Command extends SvelteComponentTyped<CommandProps_, CommandEvents, CommandSlots> {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
>
|
|
30
30
|
{@render children?.()}
|
|
31
31
|
<DialogPrimitive.Close
|
|
32
|
-
class="ring-offset-background focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-
|
|
32
|
+
class="ring-offset-background focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none"
|
|
33
33
|
>
|
|
34
34
|
<X class="size-4" />
|
|
35
35
|
<span class="sr-only">Close</span>
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
+
import { Dialog as DialogPrimitive, type WithoutChildrenOrChild } from "bits-ui";
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
3
|
+
import type * as Dialog from "./index.js";
|
|
1
4
|
import { SvelteComponentTyped } from "svelte";
|
|
5
|
+
export type DialogContentProps = WithoutChildrenOrChild<DialogPrimitive.ContentProps> & {
|
|
6
|
+
portalProps?: DialogPrimitive.PortalProps;
|
|
7
|
+
children: Snippet;
|
|
8
|
+
};
|
|
2
9
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
10
|
+
props: DialogContentProps;
|
|
4
11
|
events: {
|
|
5
12
|
[evt: string]: CustomEvent<any>;
|
|
6
13
|
};
|
|
7
14
|
slots: {};
|
|
8
15
|
};
|
|
9
|
-
export type DialogContentProps = typeof __propDef.props;
|
|
10
16
|
export type DialogContentEvents = typeof __propDef.events;
|
|
11
17
|
export type DialogContentSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
18
|
+
export default class extends SvelteComponentTyped<DialogContentProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
19
|
}
|
|
14
20
|
export {};
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
3
|
export type DialogDescriptionProps = DialogPrimitive.DescriptionProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: DialogDescriptionProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type DialogDescriptionProps_ =
|
|
11
|
+
type DialogDescriptionProps_ = DialogDescriptionProps;
|
|
12
12
|
export type DialogDescriptionEvents = typeof __propDef.events;
|
|
13
13
|
export type DialogDescriptionSlots = typeof __propDef.slots;
|
|
14
14
|
export default class DialogDescription extends SvelteComponentTyped<DialogDescriptionProps_, DialogDescriptionEvents, DialogDescriptionSlots> {
|
|
@@ -3,13 +3,13 @@ export type DialogFooterProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: DialogFooterProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type DialogFooterProps_ =
|
|
12
|
+
type DialogFooterProps_ = DialogFooterProps;
|
|
13
13
|
export type DialogFooterEvents = typeof __propDef.events;
|
|
14
14
|
export type DialogFooterSlots = typeof __propDef.slots;
|
|
15
15
|
export default class DialogFooter extends SvelteComponentTyped<DialogFooterProps_, DialogFooterEvents, DialogFooterSlots> {
|
|
@@ -3,13 +3,13 @@ export type DialogHeaderProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
|
3
3
|
import type { HTMLAttributes } from "svelte/elements";
|
|
4
4
|
import type { WithElementRef } from "bits-ui";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: DialogHeaderProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type DialogHeaderProps_ =
|
|
12
|
+
type DialogHeaderProps_ = DialogHeaderProps;
|
|
13
13
|
export type DialogHeaderEvents = typeof __propDef.events;
|
|
14
14
|
export type DialogHeaderSlots = typeof __propDef.slots;
|
|
15
15
|
export default class DialogHeader extends SvelteComponentTyped<DialogHeaderProps_, DialogHeaderEvents, DialogHeaderSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
3
|
export type DialogOverlayProps = DialogPrimitive.OverlayProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: DialogOverlayProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type DialogOverlayProps_ =
|
|
11
|
+
type DialogOverlayProps_ = DialogOverlayProps;
|
|
12
12
|
export type DialogOverlayEvents = typeof __propDef.events;
|
|
13
13
|
export type DialogOverlaySlots = typeof __propDef.slots;
|
|
14
14
|
export default class DialogOverlay extends SvelteComponentTyped<DialogOverlayProps_, DialogOverlayEvents, DialogOverlaySlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
3
|
export type DialogTitleProps = DialogPrimitive.TitleProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: DialogTitleProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type DialogTitleProps_ =
|
|
11
|
+
type DialogTitleProps_ = DialogTitleProps;
|
|
12
12
|
export type DialogTitleEvents = typeof __propDef.events;
|
|
13
13
|
export type DialogTitleSlots = typeof __propDef.slots;
|
|
14
14
|
export default class DialogTitle extends SvelteComponentTyped<DialogTitleProps_, DialogTitleEvents, DialogTitleSlots> {
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import type { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
1
2
|
import { SvelteComponentTyped } from "svelte";
|
|
3
|
+
export type DrawerContentProps = DrawerPrimitive.ContentProps & {
|
|
4
|
+
portalProps?: DrawerPrimitive.PortalProps;
|
|
5
|
+
};
|
|
2
6
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
7
|
+
props: DrawerContentProps;
|
|
4
8
|
events: {
|
|
5
9
|
[evt: string]: CustomEvent<any>;
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
export type DrawerContentProps = typeof __propDef.props;
|
|
10
13
|
export type DrawerContentEvents = typeof __propDef.events;
|
|
11
14
|
export type DrawerContentSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
15
|
+
export default class extends SvelteComponentTyped<DrawerContentProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
3
3
|
export type DrawerDescriptionProps = DrawerPrimitive.DescriptionProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: DrawerDescriptionProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type DrawerDescriptionProps_ =
|
|
11
|
+
type DrawerDescriptionProps_ = DrawerDescriptionProps;
|
|
12
12
|
export type DrawerDescriptionEvents = typeof __propDef.events;
|
|
13
13
|
export type DrawerDescriptionSlots = typeof __propDef.slots;
|
|
14
14
|
export default class DrawerDescription extends SvelteComponentTyped<DrawerDescriptionProps_, DrawerDescriptionEvents, DrawerDescriptionSlots> {
|
|
@@ -3,13 +3,13 @@ export type DrawerFooterProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: DrawerFooterProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type DrawerFooterProps_ =
|
|
12
|
+
type DrawerFooterProps_ = DrawerFooterProps;
|
|
13
13
|
export type DrawerFooterEvents = typeof __propDef.events;
|
|
14
14
|
export type DrawerFooterSlots = typeof __propDef.slots;
|
|
15
15
|
export default class DrawerFooter extends SvelteComponentTyped<DrawerFooterProps_, DrawerFooterEvents, DrawerFooterSlots> {
|
|
@@ -3,13 +3,13 @@ export type DrawerHeaderProps = WithElementRef<HTMLAttributes<HTMLDivElement>>;
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: DrawerHeaderProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type DrawerHeaderProps_ =
|
|
12
|
+
type DrawerHeaderProps_ = DrawerHeaderProps;
|
|
13
13
|
export type DrawerHeaderEvents = typeof __propDef.events;
|
|
14
14
|
export type DrawerHeaderSlots = typeof __propDef.slots;
|
|
15
15
|
export default class DrawerHeader extends SvelteComponentTyped<DrawerHeaderProps_, DrawerHeaderEvents, DrawerHeaderSlots> {
|