@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
|
@@ -4,7 +4,7 @@ import './editor.css';
|
|
|
4
4
|
import { Editor } from '@tiptap/core';
|
|
5
5
|
import './onedark.css';
|
|
6
6
|
declare const __propDef: {
|
|
7
|
-
props:
|
|
7
|
+
props: ShadEditorProps;
|
|
8
8
|
events: {
|
|
9
9
|
mount: CustomEvent<{
|
|
10
10
|
editor: Editor;
|
|
@@ -17,7 +17,7 @@ declare const __propDef: {
|
|
|
17
17
|
};
|
|
18
18
|
slots: {};
|
|
19
19
|
};
|
|
20
|
-
type ShadEditorProps_ =
|
|
20
|
+
type ShadEditorProps_ = ShadEditorProps;
|
|
21
21
|
export type ShadEditorEvents = typeof __propDef.events;
|
|
22
22
|
export type ShadEditorSlots = typeof __propDef.slots;
|
|
23
23
|
export default class ShadEditor extends SvelteComponentTyped<ShadEditorProps_, ShadEditorEvents, ShadEditorSlots> {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { toast, Toaster } from '../ui/sonner';
|
|
4
4
|
|
|
5
5
|
// Import Icons from Icons Folder
|
|
6
|
-
import
|
|
6
|
+
import Exclamation from '../../icons/Exclamation.svelte';
|
|
7
7
|
import Checked from '../../icons/Checked.svelte';
|
|
8
8
|
|
|
9
9
|
// Import Toast Types directly from the svelte-sonner module
|
|
@@ -50,27 +50,34 @@ export function showToast(type: string = 'success', title: string, options: any
|
|
|
50
50
|
const duration = options?.duration || defaultDuration;
|
|
51
51
|
|
|
52
52
|
// set close icon - not working !!!
|
|
53
|
-
options.closeIcon =
|
|
53
|
+
options.closeIcon = Exclamation;
|
|
54
54
|
|
|
55
55
|
// Get the title color from the options or use the default color
|
|
56
56
|
const titleColor = type === 'success' ? '--grey7' : type === 'error' ? '--error' : '--dark';
|
|
57
57
|
|
|
58
58
|
// set icon depending on the type of toast
|
|
59
|
-
if(type === 'error') options.icon =
|
|
59
|
+
if(type === 'error') options.icon = Exclamation;
|
|
60
60
|
if(type === 'success') options.icon = Checked;
|
|
61
61
|
|
|
62
62
|
// set icon background fill color
|
|
63
63
|
if(type === 'success') options.iconBgFillColor = '--icon-success';
|
|
64
|
-
if(type === 'error')
|
|
64
|
+
if(type === 'error') options.iconBgFillColor = '--icon-error';
|
|
65
65
|
if(type === 'warning') options.iconBgFillColor = '--sunny-yellow';
|
|
66
66
|
// console.log('showToast:', type, title, titleColor, duration);
|
|
67
67
|
|
|
68
68
|
// set style of the data-icon element
|
|
69
69
|
setTimeout(() => {
|
|
70
|
+
// set the close button color
|
|
70
71
|
let closeButtonElement = document.querySelector('.' + toastMainClass + '-close-button') as HTMLElement; //console.log('closeButtonElement:', closeButtonElement);
|
|
72
|
+
// if(closeButtonElement) closeButtonElement.style.backgroundColor = 'hsl(var(' + options.closeBgFillColor + '))';
|
|
71
73
|
|
|
74
|
+
// set icon background fill color
|
|
72
75
|
let iconElement = document.querySelector('.' + toastMainClass + '> [data-icon] > svg') as HTMLElement; //console.log('iconElement:', iconElement);
|
|
73
76
|
if(iconElement) iconElement.style.color = 'hsl(var(' + options.iconBgFillColor + '))';
|
|
77
|
+
|
|
78
|
+
// set the title color
|
|
79
|
+
let titleElement = document.querySelector('.' + toastMainClass + '-title') as HTMLElement; //console.log('titleElement:', titleElement);
|
|
80
|
+
if(titleElement) titleElement.style.color = 'hsl(var(' + titleColor + '))';
|
|
74
81
|
}, 20);
|
|
75
82
|
|
|
76
83
|
// Call toast with custom styling
|
|
@@ -78,9 +85,6 @@ export function showToast(type: string = 'success', title: string, options: any
|
|
|
78
85
|
...options,
|
|
79
86
|
duration,
|
|
80
87
|
unstyled: true,
|
|
81
|
-
classes: {
|
|
82
|
-
title: "text-[hsl(var(" + titleColor + "))]",
|
|
83
|
-
},
|
|
84
88
|
onAutoClose: () => {
|
|
85
89
|
isToastVisible = false;
|
|
86
90
|
},
|
|
@@ -106,7 +110,7 @@ export function showToast(type: string = 'success', title: string, options: any
|
|
|
106
110
|
"!fixed !top-auto !bottom-[20px] !right-[20px] " +
|
|
107
111
|
"!flex !items-center !gap-[24px] !p-[16px] !px-[24px] " +
|
|
108
112
|
// Icon Styling
|
|
109
|
-
"
|
|
113
|
+
"*:data-icon:!w-[24px] *:data-icon:!h-[24px] *:data-icon:!m-0 " +
|
|
110
114
|
"[&>[data-icon]>svg]:!w-full [&>[data-icon]>svg]:!h-full " +
|
|
111
115
|
// Content Styling
|
|
112
116
|
"[&>[data-content]>svg]:flex [&>[data-content]>svg]:flex-col [&>[data-content]>svg]:gap-[2px]",
|
|
@@ -119,7 +123,9 @@ export function showToast(type: string = 'success', title: string, options: any
|
|
|
119
123
|
// Cancel Button Styling
|
|
120
124
|
cancelButton: "",
|
|
121
125
|
// Close Button Styling
|
|
122
|
-
closeButton: toastMainClass + '-close-button w-[16px] h-[16px] absolute
|
|
126
|
+
closeButton: toastMainClass + '-close-button !w-[16px] !h-[16px] !absolute !top-[-4px] !left-[-4px] z-10 ' +
|
|
127
|
+
'!flex !items-center !justify-center ' +
|
|
128
|
+
'!bg-[hsl(var(--grey7))] !border !border-[hsl(var(--grey5))] !rounded-full !text-white'
|
|
123
129
|
}
|
|
124
130
|
}}
|
|
125
131
|
expand={false}
|
|
@@ -12,13 +12,13 @@ export declare let element: HTMLElement | null;
|
|
|
12
12
|
*/
|
|
13
13
|
export declare function showToast(type: string | undefined, title: string, options?: any): string | number;
|
|
14
14
|
declare const __propDef: {
|
|
15
|
-
props:
|
|
15
|
+
props: ToasterModalProps;
|
|
16
16
|
events: {
|
|
17
17
|
[evt: string]: CustomEvent<any>;
|
|
18
18
|
};
|
|
19
19
|
slots: {};
|
|
20
20
|
};
|
|
21
|
-
export type ToasterModalProps =
|
|
21
|
+
export type ToasterModalProps = { class?: string; style?: string; defaultDuration?: number; element?: HTMLElement | null };
|
|
22
22
|
export type ToasterModalEvents = typeof __propDef.events;
|
|
23
23
|
export type ToasterModalSlots = typeof __propDef.slots;
|
|
24
24
|
export default class ToasterModal extends SvelteComponentTyped<ToasterModalProps, ToasterModalEvents, ToasterModalSlots> {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { Accordion as AccordionPrimitive, type WithoutChild } from "bits-ui";
|
|
1
2
|
import { SvelteComponentTyped } from "svelte";
|
|
3
|
+
export type AccordionContentProps = WithoutChild<AccordionPrimitive.ContentProps>;
|
|
2
4
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
5
|
+
props: AccordionContentProps;
|
|
4
6
|
events: {
|
|
5
7
|
[evt: string]: CustomEvent<any>;
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
export type AccordionContentProps = typeof __propDef.props;
|
|
10
11
|
export type AccordionContentEvents = typeof __propDef.events;
|
|
11
12
|
export type AccordionContentSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
13
|
+
export default class extends SvelteComponentTyped<AccordionContentProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
14
|
}
|
|
14
15
|
export {};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import type { Accordion as AccordionPrimitive } from "bits-ui";
|
|
1
2
|
import { SvelteComponentTyped } from "svelte";
|
|
3
|
+
export type AccordionItemProps = AccordionPrimitive.ItemProps;
|
|
2
4
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
5
|
+
props: AccordionItemProps;
|
|
4
6
|
events: {
|
|
5
7
|
[evt: string]: CustomEvent<any>;
|
|
6
8
|
};
|
|
7
9
|
slots: {};
|
|
8
10
|
};
|
|
9
|
-
export type AccordionItemProps = typeof __propDef.props;
|
|
10
11
|
export type AccordionItemEvents = typeof __propDef.events;
|
|
11
12
|
export type AccordionItemSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
13
|
+
export default class extends SvelteComponentTyped<AccordionItemProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
14
|
}
|
|
14
15
|
export {};
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import { Accordion as AccordionPrimitive, type WithoutChild } from "bits-ui";
|
|
1
2
|
import { SvelteComponentTyped } from "svelte";
|
|
3
|
+
export type AccordionTriggerProps = WithoutChild<AccordionPrimitive.TriggerProps> & {
|
|
4
|
+
level?: AccordionPrimitive.HeaderProps["level"];
|
|
5
|
+
};
|
|
2
6
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
7
|
+
props: AccordionTriggerProps;
|
|
4
8
|
events: {
|
|
5
9
|
[evt: string]: CustomEvent<any>;
|
|
6
10
|
};
|
|
7
11
|
slots: {};
|
|
8
12
|
};
|
|
9
|
-
export type AccordionTriggerProps = typeof __propDef.props;
|
|
10
13
|
export type AccordionTriggerEvents = typeof __propDef.events;
|
|
11
14
|
export type AccordionTriggerSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
15
|
+
export default class extends SvelteComponentTyped<AccordionTriggerProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
16
|
}
|
|
14
17
|
export {};
|
|
@@ -7,7 +7,7 @@ export declare const alertVariants: import("tailwind-variants").TVReturnType<{
|
|
|
7
7
|
default: string;
|
|
8
8
|
destructive: string;
|
|
9
9
|
};
|
|
10
|
-
}, undefined, "[&>svg]:text-foreground relative w-full rounded-lg border p-4 [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4", import("tailwind-variants/dist/config").TVConfig<{
|
|
10
|
+
}, undefined, "[&>svg]:text-foreground relative w-full rounded-lg border p-4 [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
11
11
|
variant: {
|
|
12
12
|
default: string;
|
|
13
13
|
destructive: string;
|
|
@@ -27,7 +27,7 @@ export declare const alertVariants: import("tailwind-variants").TVReturnType<{
|
|
|
27
27
|
default: string;
|
|
28
28
|
destructive: string;
|
|
29
29
|
};
|
|
30
|
-
}, undefined, "[&>svg]:text-foreground relative w-full rounded-lg border p-4 [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4", import("tailwind-variants/dist/config").TVConfig<{
|
|
30
|
+
}, undefined, "[&>svg]:text-foreground relative w-full rounded-lg border p-4 [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
31
31
|
variant: {
|
|
32
32
|
default: string;
|
|
33
33
|
destructive: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { type VariantProps, tv } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
export const badgeVariants = tv({
|
|
5
|
-
base: "focus:ring-ring inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-
|
|
5
|
+
base: "focus:ring-ring inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-hidden focus:ring-2 focus:ring-offset-2",
|
|
6
6
|
variants: {
|
|
7
7
|
variant: {
|
|
8
8
|
default:
|
|
@@ -1,66 +1,19 @@
|
|
|
1
|
+
import { type VariantProps, tv } from "tailwind-variants";
|
|
2
|
+
import type { WithElementRef } from "bits-ui";
|
|
3
|
+
import type { HTMLAnchorAttributes } from "svelte/elements";
|
|
1
4
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default: string;
|
|
6
|
-
secondary: string;
|
|
7
|
-
destructive: string;
|
|
8
|
-
outline: string;
|
|
9
|
-
};
|
|
10
|
-
}, undefined, "focus:ring-ring inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2", import("tailwind-variants/dist/config").TVConfig<{
|
|
11
|
-
variant: {
|
|
12
|
-
default: string;
|
|
13
|
-
secondary: string;
|
|
14
|
-
destructive: string;
|
|
15
|
-
outline: string;
|
|
16
|
-
};
|
|
17
|
-
}, {
|
|
18
|
-
variant: {
|
|
19
|
-
default: string;
|
|
20
|
-
secondary: string;
|
|
21
|
-
destructive: string;
|
|
22
|
-
outline: string;
|
|
23
|
-
};
|
|
24
|
-
}>, {
|
|
25
|
-
variant: {
|
|
26
|
-
default: string;
|
|
27
|
-
secondary: string;
|
|
28
|
-
destructive: string;
|
|
29
|
-
outline: string;
|
|
30
|
-
};
|
|
31
|
-
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
32
|
-
variant: {
|
|
33
|
-
default: string;
|
|
34
|
-
secondary: string;
|
|
35
|
-
destructive: string;
|
|
36
|
-
outline: string;
|
|
37
|
-
};
|
|
38
|
-
}, undefined, "focus:ring-ring inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2", import("tailwind-variants/dist/config").TVConfig<{
|
|
39
|
-
variant: {
|
|
40
|
-
default: string;
|
|
41
|
-
secondary: string;
|
|
42
|
-
destructive: string;
|
|
43
|
-
outline: string;
|
|
44
|
-
};
|
|
45
|
-
}, {
|
|
46
|
-
variant: {
|
|
47
|
-
default: string;
|
|
48
|
-
secondary: string;
|
|
49
|
-
destructive: string;
|
|
50
|
-
outline: string;
|
|
51
|
-
};
|
|
52
|
-
}>, unknown, unknown, undefined>>;
|
|
53
|
-
export type BadgeVariant = VariantProps<typeof badgeVariants>["variant"];
|
|
5
|
+
export type BadgeProps = WithElementRef<HTMLAnchorAttributes> & {
|
|
6
|
+
variant?: BadgeVariant;
|
|
7
|
+
};
|
|
54
8
|
declare const __propDef: {
|
|
55
|
-
props:
|
|
9
|
+
props: BadgeProps;
|
|
56
10
|
events: {
|
|
57
11
|
[evt: string]: CustomEvent<any>;
|
|
58
12
|
};
|
|
59
13
|
slots: {};
|
|
60
14
|
};
|
|
61
|
-
export type BadgeProps = typeof __propDef.props;
|
|
62
15
|
export type BadgeEvents = typeof __propDef.events;
|
|
63
16
|
export type BadgeSlots = typeof __propDef.slots;
|
|
64
|
-
export default class
|
|
17
|
+
export default class extends SvelteComponentTyped<BadgeProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
65
18
|
}
|
|
66
19
|
export {};
|
|
@@ -3,13 +3,13 @@ export type BreadcrumbEllipsisProps = WithoutChildren<WithElementRef<HTMLAttribu
|
|
|
3
3
|
import type { WithElementRef, WithoutChildren } from "bits-ui";
|
|
4
4
|
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: BreadcrumbEllipsisProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type BreadcrumbEllipsisProps_ =
|
|
12
|
+
type BreadcrumbEllipsisProps_ = BreadcrumbEllipsisProps;
|
|
13
13
|
export type BreadcrumbEllipsisEvents = typeof __propDef.events;
|
|
14
14
|
export type BreadcrumbEllipsisSlots = typeof __propDef.slots;
|
|
15
15
|
export default class BreadcrumbEllipsis extends SvelteComponentTyped<BreadcrumbEllipsisProps_, BreadcrumbEllipsisEvents, BreadcrumbEllipsisSlots> {
|
|
@@ -3,13 +3,13 @@ export type BreadcrumbItemProps = WithElementRef<HTMLLiAttributes>;
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLLiAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: BreadcrumbItemProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type BreadcrumbItemProps_ =
|
|
12
|
+
type BreadcrumbItemProps_ = BreadcrumbItemProps;
|
|
13
13
|
export type BreadcrumbItemEvents = typeof __propDef.events;
|
|
14
14
|
export type BreadcrumbItemSlots = typeof __propDef.slots;
|
|
15
15
|
export default class BreadcrumbItem extends SvelteComponentTyped<BreadcrumbItemProps_, BreadcrumbItemEvents, BreadcrumbItemSlots> {
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
+
import type { HTMLAnchorAttributes } from "svelte/elements";
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
3
|
+
import type { WithElementRef } from "bits-ui";
|
|
1
4
|
import { SvelteComponentTyped } from "svelte";
|
|
5
|
+
export type BreadcrumbLinkProps = WithElementRef<HTMLAnchorAttributes> & {
|
|
6
|
+
child?: Snippet<[{ props: HTMLAnchorAttributes }]>;
|
|
7
|
+
};
|
|
2
8
|
declare const __propDef: {
|
|
3
|
-
props:
|
|
9
|
+
props: BreadcrumbLinkProps;
|
|
4
10
|
events: {
|
|
5
11
|
[evt: string]: CustomEvent<any>;
|
|
6
12
|
};
|
|
7
13
|
slots: {};
|
|
8
14
|
};
|
|
9
|
-
export type BreadcrumbLinkProps = typeof __propDef.props;
|
|
10
15
|
export type BreadcrumbLinkEvents = typeof __propDef.events;
|
|
11
16
|
export type BreadcrumbLinkSlots = typeof __propDef.slots;
|
|
12
|
-
export default class
|
|
17
|
+
export default class extends SvelteComponentTyped<BreadcrumbLinkProps, typeof __propDef.events, typeof __propDef.slots> {
|
|
13
18
|
}
|
|
14
19
|
export {};
|
|
@@ -3,13 +3,13 @@ export type BreadcrumbListProps = WithElementRef<HTMLOlAttributes>;
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLOlAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: BreadcrumbListProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type BreadcrumbListProps_ =
|
|
12
|
+
type BreadcrumbListProps_ = BreadcrumbListProps;
|
|
13
13
|
export type BreadcrumbListEvents = typeof __propDef.events;
|
|
14
14
|
export type BreadcrumbListSlots = typeof __propDef.slots;
|
|
15
15
|
export default class BreadcrumbList extends SvelteComponentTyped<BreadcrumbListProps_, BreadcrumbListEvents, BreadcrumbListSlots> {
|
|
@@ -3,13 +3,13 @@ export type BreadcrumbPageProps = 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: BreadcrumbPageProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type BreadcrumbPageProps_ =
|
|
12
|
+
type BreadcrumbPageProps_ = BreadcrumbPageProps;
|
|
13
13
|
export type BreadcrumbPageEvents = typeof __propDef.events;
|
|
14
14
|
export type BreadcrumbPageSlots = typeof __propDef.slots;
|
|
15
15
|
export default class BreadcrumbPage extends SvelteComponentTyped<BreadcrumbPageProps_, BreadcrumbPageEvents, BreadcrumbPageSlots> {
|
|
@@ -3,13 +3,13 @@ export type BreadcrumbSeparatorProps = WithElementRef<HTMLLiAttributes>;
|
|
|
3
3
|
import type { WithElementRef } from "bits-ui";
|
|
4
4
|
import type { HTMLLiAttributes } from "svelte/elements";
|
|
5
5
|
declare const __propDef: {
|
|
6
|
-
props:
|
|
6
|
+
props: BreadcrumbSeparatorProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type BreadcrumbSeparatorProps_ =
|
|
12
|
+
type BreadcrumbSeparatorProps_ = BreadcrumbSeparatorProps;
|
|
13
13
|
export type BreadcrumbSeparatorEvents = typeof __propDef.events;
|
|
14
14
|
export type BreadcrumbSeparatorSlots = typeof __propDef.slots;
|
|
15
15
|
export default class BreadcrumbSeparator extends SvelteComponentTyped<BreadcrumbSeparatorProps_, BreadcrumbSeparatorEvents, BreadcrumbSeparatorSlots> {
|
|
@@ -3,13 +3,13 @@ export type BreadcrumbProps = WithElementRef<HTMLAttributes<HTMLElement>>;
|
|
|
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: BreadcrumbProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type BreadcrumbProps_ =
|
|
12
|
+
type BreadcrumbProps_ = BreadcrumbProps;
|
|
13
13
|
export type BreadcrumbEvents = typeof __propDef.events;
|
|
14
14
|
export type BreadcrumbSlots = typeof __propDef.slots;
|
|
15
15
|
export default class Breadcrumb extends SvelteComponentTyped<BreadcrumbProps_, BreadcrumbEvents, BreadcrumbSlots> {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { type VariantProps, tv } from "tailwind-variants";
|
|
5
5
|
|
|
6
6
|
export const buttonVariants = tv({
|
|
7
|
-
base: "ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-
|
|
7
|
+
base: "ring-offset-background focus-visible:ring-ring inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
8
8
|
variants: {
|
|
9
9
|
variant: {
|
|
10
10
|
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarCellProps = CalendarPrimitive.CellProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarCellProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarCellProps_ =
|
|
11
|
+
type CalendarCellProps_ = CalendarCellProps;
|
|
12
12
|
export type CalendarCellEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarCellSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarCell extends SvelteComponentTyped<CalendarCellProps_, CalendarCellEvents, CalendarCellSlots> {
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"size-9 p-0 font-normal",
|
|
23
23
|
"[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground",
|
|
24
24
|
// Selected
|
|
25
|
-
"data-
|
|
25
|
+
"data-selected:bg-primary data-selected:text-primary-foreground data-selected:hover:bg-primary data-selected:hover:text-primary-foreground data-selected:focus:bg-primary data-selected:focus:text-primary-foreground data-selected:opacity-100",
|
|
26
26
|
// Disabled
|
|
27
|
-
"data-
|
|
27
|
+
"data-disabled:text-muted-foreground data-disabled:opacity-50",
|
|
28
28
|
// Unavailable
|
|
29
|
-
"data-
|
|
29
|
+
"data-unavailable:text-destructive-foreground data-unavailable:line-through",
|
|
30
30
|
// Outside months
|
|
31
|
-
"data-
|
|
31
|
+
"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",
|
|
32
32
|
className
|
|
33
33
|
)}
|
|
34
34
|
{...restProps}
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarDayProps = CalendarPrimitive.DayProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarDayProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarDayProps_ =
|
|
11
|
+
type CalendarDayProps_ = CalendarDayProps;
|
|
12
12
|
export type CalendarDayEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarDaySlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarDay extends SvelteComponentTyped<CalendarDayProps_, CalendarDayEvents, CalendarDaySlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarGridBodyProps = CalendarPrimitive.GridBodyProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarGridBodyProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarGridBodyProps_ =
|
|
11
|
+
type CalendarGridBodyProps_ = CalendarGridBodyProps;
|
|
12
12
|
export type CalendarGridBodyEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarGridBodySlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarGridBody extends SvelteComponentTyped<CalendarGridBodyProps_, CalendarGridBodyEvents, CalendarGridBodySlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarGridHeadProps = CalendarPrimitive.GridHeadProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarGridHeadProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarGridHeadProps_ =
|
|
11
|
+
type CalendarGridHeadProps_ = CalendarGridHeadProps;
|
|
12
12
|
export type CalendarGridHeadEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarGridHeadSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarGridHead extends SvelteComponentTyped<CalendarGridHeadProps_, CalendarGridHeadEvents, CalendarGridHeadSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarGridRowProps = CalendarPrimitive.GridRowProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarGridRowProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarGridRowProps_ =
|
|
11
|
+
type CalendarGridRowProps_ = CalendarGridRowProps;
|
|
12
12
|
export type CalendarGridRowEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarGridRowSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarGridRow extends SvelteComponentTyped<CalendarGridRowProps_, CalendarGridRowEvents, CalendarGridRowSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarGridProps = CalendarPrimitive.GridProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarGridProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarGridProps_ =
|
|
11
|
+
type CalendarGridProps_ = CalendarGridProps;
|
|
12
12
|
export type CalendarGridEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarGridSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarGrid extends SvelteComponentTyped<CalendarGridProps_, CalendarGridEvents, CalendarGridSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarHeadCellProps = CalendarPrimitive.HeadCellProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarHeadCellProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarHeadCellProps_ =
|
|
11
|
+
type CalendarHeadCellProps_ = CalendarHeadCellProps;
|
|
12
12
|
export type CalendarHeadCellEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarHeadCellSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarHeadCell extends SvelteComponentTyped<CalendarHeadCellProps_, CalendarHeadCellEvents, CalendarHeadCellSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarHeaderProps = CalendarPrimitive.HeaderProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarHeaderProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarHeaderProps_ =
|
|
11
|
+
type CalendarHeaderProps_ = CalendarHeaderProps;
|
|
12
12
|
export type CalendarHeaderEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarHeaderSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarHeader extends SvelteComponentTyped<CalendarHeaderProps_, CalendarHeaderEvents, CalendarHeaderSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarHeadingProps = CalendarPrimitive.HeadingProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarHeadingProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarHeadingProps_ =
|
|
11
|
+
type CalendarHeadingProps_ = CalendarHeadingProps;
|
|
12
12
|
export type CalendarHeadingEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarHeadingSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarHeading extends SvelteComponentTyped<CalendarHeadingProps_, CalendarHeadingEvents, CalendarHeadingSlots> {
|
|
@@ -3,13 +3,13 @@ export type CalendarMonthsProps = 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: CalendarMonthsProps;
|
|
7
7
|
events: {
|
|
8
8
|
[evt: string]: CustomEvent<any>;
|
|
9
9
|
};
|
|
10
10
|
slots: {};
|
|
11
11
|
};
|
|
12
|
-
type CalendarMonthsProps_ =
|
|
12
|
+
type CalendarMonthsProps_ = CalendarMonthsProps;
|
|
13
13
|
export type CalendarMonthsEvents = typeof __propDef.events;
|
|
14
14
|
export type CalendarMonthsSlots = typeof __propDef.slots;
|
|
15
15
|
export default class CalendarMonths extends SvelteComponentTyped<CalendarMonthsProps_, CalendarMonthsEvents, CalendarMonthsSlots> {
|
|
@@ -2,13 +2,13 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
import type { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
3
|
export type CalendarNextButtonProps = CalendarPrimitive.PrevButtonProps;
|
|
4
4
|
declare const __propDef: {
|
|
5
|
-
props:
|
|
5
|
+
props: CalendarNextButtonProps;
|
|
6
6
|
events: {
|
|
7
7
|
[evt: string]: CustomEvent<any>;
|
|
8
8
|
};
|
|
9
9
|
slots: {};
|
|
10
10
|
};
|
|
11
|
-
type CalendarNextButtonProps_ =
|
|
11
|
+
type CalendarNextButtonProps_ = CalendarNextButtonProps;
|
|
12
12
|
export type CalendarNextButtonEvents = typeof __propDef.events;
|
|
13
13
|
export type CalendarNextButtonSlots = typeof __propDef.slots;
|
|
14
14
|
export default class CalendarNextButton extends SvelteComponentTyped<CalendarNextButtonProps_, CalendarNextButtonEvents, CalendarNextButtonSlots> {
|