@kayord/ui 0.8.19 → 0.9.0
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 +2 -0
- package/dist/components/custom/data-table/DataTable.svelte +44 -27
- package/dist/components/custom/data-table/DataTable.svelte.d.ts +18 -6
- package/dist/components/custom/data-table/DataTableActions.svelte +5 -4
- package/dist/components/custom/data-table/DataTableActions.svelte.d.ts +17 -17
- package/dist/components/custom/data-table/DataTableCheckbox.svelte +14 -5
- package/dist/components/custom/data-table/DataTableCheckbox.svelte.d.ts +17 -17
- package/dist/components/custom/loader/Loader.svelte +15 -7
- package/dist/components/custom/loader/Loader.svelte.d.ts +25 -25
- package/dist/components/custom/progress-loading/ProgressLoading.svelte +9 -5
- package/dist/components/custom/progress-loading/ProgressLoading.svelte.d.ts +15 -15
- package/dist/components/custom/theme-switch/ThemeSwitch.svelte +8 -6
- package/dist/components/custom/theme-switch/ThemeSwitch.svelte.d.ts +17 -17
- package/dist/components/ui/accordion/accordion-content.svelte +13 -9
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +24 -17
- package/dist/components/ui/accordion/accordion-item.svelte +9 -5
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +24 -17
- package/dist/components/ui/accordion/accordion-trigger.svelte +11 -6
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +22 -13
- package/dist/components/ui/alert/alert-description.svelte +8 -3
- package/dist/components/ui/alert/alert-description.svelte.d.ts +24 -17
- package/dist/components/ui/alert/alert-title.svelte +12 -4
- package/dist/components/ui/alert/alert-title.svelte.d.ts +26 -19
- package/dist/components/ui/alert/alert.svelte +12 -5
- package/dist/components/ui/alert/alert.svelte.d.ts +26 -19
- package/dist/components/ui/alert-dialog/alert-dialog-action.svelte +10 -5
- package/dist/components/ui/alert-dialog/alert-dialog-cancel.svelte +10 -5
- package/dist/components/ui/alert-dialog/alert-dialog-content.svelte +12 -7
- package/dist/components/ui/alert-dialog/alert-dialog-content.svelte.d.ts +24 -17
- package/dist/components/ui/alert-dialog/alert-dialog-description.svelte +8 -4
- package/dist/components/ui/alert-dialog/alert-dialog-description.svelte.d.ts +24 -17
- package/dist/components/ui/alert-dialog/alert-dialog-footer.svelte +8 -3
- package/dist/components/ui/alert-dialog/alert-dialog-footer.svelte.d.ts +24 -17
- package/dist/components/ui/alert-dialog/alert-dialog-header.svelte +8 -3
- package/dist/components/ui/alert-dialog/alert-dialog-header.svelte.d.ts +24 -17
- package/dist/components/ui/alert-dialog/alert-dialog-overlay.svelte +13 -9
- package/dist/components/ui/alert-dialog/alert-dialog-overlay.svelte.d.ts +15 -15
- package/dist/components/ui/alert-dialog/alert-dialog-portal.svelte +4 -1
- package/dist/components/ui/alert-dialog/alert-dialog-portal.svelte.d.ts +24 -17
- package/dist/components/ui/alert-dialog/alert-dialog-title.svelte +9 -5
- package/dist/components/ui/alert-dialog/alert-dialog-title.svelte.d.ts +24 -17
- package/dist/components/ui/aspect-ratio/aspect-ratio.svelte +6 -2
- package/dist/components/ui/aspect-ratio/aspect-ratio.svelte.d.ts +24 -17
- package/dist/components/ui/avatar/avatar-fallback.svelte +8 -4
- package/dist/components/ui/avatar/avatar-fallback.svelte.d.ts +24 -17
- package/dist/components/ui/avatar/avatar-image.svelte +10 -6
- package/dist/components/ui/avatar/avatar-image.svelte.d.ts +15 -15
- package/dist/components/ui/avatar/avatar.svelte +9 -5
- package/dist/components/ui/avatar/avatar.svelte.d.ts +24 -17
- package/dist/components/ui/badge/badge.svelte +8 -6
- package/dist/components/ui/badge/badge.svelte.d.ts +29 -22
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte +12 -5
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +17 -17
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte +11 -4
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +26 -19
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte +22 -12
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +30 -21
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte +11 -4
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +26 -19
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte +11 -4
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +30 -21
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte +12 -5
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte.d.ts +26 -19
- package/dist/components/ui/breadcrumb/breadcrumb.svelte +10 -3
- package/dist/components/ui/breadcrumb/breadcrumb.svelte.d.ts +26 -19
- package/dist/components/ui/button/button.svelte +13 -8
- package/dist/components/ui/button/button.svelte.d.ts +22 -13
- package/dist/components/ui/calendar/calendar-cell.svelte +9 -5
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +24 -17
- package/dist/components/ui/calendar/calendar-day.svelte +12 -7
- package/dist/components/ui/calendar/calendar-grid-body.svelte +8 -4
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +24 -17
- package/dist/components/ui/calendar/calendar-grid-head.svelte +8 -4
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +24 -17
- package/dist/components/ui/calendar/calendar-grid-row.svelte +8 -4
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +24 -17
- package/dist/components/ui/calendar/calendar-grid.svelte +8 -4
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +24 -17
- package/dist/components/ui/calendar/calendar-head-cell.svelte +8 -4
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +24 -17
- package/dist/components/ui/calendar/calendar-header.svelte +8 -4
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +24 -17
- package/dist/components/ui/calendar/calendar-heading.svelte +8 -4
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +27 -18
- package/dist/components/ui/calendar/calendar-months.svelte +8 -3
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +24 -17
- package/dist/components/ui/calendar/calendar-next-button.svelte +11 -6
- package/dist/components/ui/calendar/calendar-prev-button.svelte +11 -6
- package/dist/components/ui/calendar/calendar.svelte +15 -8
- package/dist/components/ui/calendar/calendar.svelte.d.ts +14 -11
- package/dist/components/ui/card/card-content.svelte +8 -3
- package/dist/components/ui/card/card-content.svelte.d.ts +24 -17
- package/dist/components/ui/card/card-description.svelte +8 -3
- package/dist/components/ui/card/card-description.svelte.d.ts +24 -17
- package/dist/components/ui/card/card-footer.svelte +8 -3
- package/dist/components/ui/card/card-footer.svelte.d.ts +24 -17
- package/dist/components/ui/card/card-header.svelte +8 -3
- package/dist/components/ui/card/card-header.svelte.d.ts +24 -17
- package/dist/components/ui/card/card-title.svelte +12 -4
- package/dist/components/ui/card/card-title.svelte.d.ts +26 -19
- package/dist/components/ui/card/card.svelte +8 -3
- package/dist/components/ui/card/card.svelte.d.ts +24 -17
- package/dist/components/ui/carousel/carousel-content.svelte +12 -6
- package/dist/components/ui/carousel/carousel-content.svelte.d.ts +24 -17
- package/dist/components/ui/carousel/carousel-item.svelte +10 -5
- package/dist/components/ui/carousel/carousel-item.svelte.d.ts +24 -17
- package/dist/components/ui/carousel/carousel-next.svelte +14 -9
- package/dist/components/ui/carousel/carousel-next.svelte.d.ts +15 -15
- package/dist/components/ui/carousel/carousel-previous.svelte +15 -9
- package/dist/components/ui/carousel/carousel-previous.svelte.d.ts +15 -15
- package/dist/components/ui/carousel/carousel.svelte +86 -72
- package/dist/components/ui/carousel/carousel.svelte.d.ts +27 -20
- package/dist/components/ui/checkbox/checkbox.svelte +12 -7
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +13 -11
- package/dist/components/ui/collapsible/collapsible-content.svelte +10 -6
- package/dist/components/ui/collapsible/collapsible-content.svelte.d.ts +24 -17
- package/dist/components/ui/command/command-dialog.svelte +10 -4
- package/dist/components/ui/command/command-dialog.svelte.d.ts +46 -39
- package/dist/components/ui/command/command-empty.svelte +7 -4
- package/dist/components/ui/command/command-empty.svelte.d.ts +24 -17
- package/dist/components/ui/command/command-group.svelte +7 -4
- package/dist/components/ui/command/command-group.svelte.d.ts +24 -17
- package/dist/components/ui/command/command-input.svelte +10 -6
- package/dist/components/ui/command/command-input.svelte.d.ts +15 -15
- package/dist/components/ui/command/command-item.svelte +10 -5
- package/dist/components/ui/command/command-item.svelte.d.ts +50 -29
- package/dist/components/ui/command/command-list.svelte +7 -4
- package/dist/components/ui/command/command-list.svelte.d.ts +24 -17
- package/dist/components/ui/command/command-separator.svelte +7 -4
- package/dist/components/ui/command/command-separator.svelte.d.ts +15 -15
- package/dist/components/ui/command/command-shortcut.svelte +8 -3
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +24 -17
- package/dist/components/ui/command/command.svelte +10 -5
- package/dist/components/ui/command/command.svelte.d.ts +24 -17
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte +11 -6
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte.d.ts +22 -13
- package/dist/components/ui/context-menu/context-menu-content.svelte +10 -6
- package/dist/components/ui/context-menu/context-menu-content.svelte.d.ts +26 -19
- package/dist/components/ui/context-menu/context-menu-item.svelte +12 -5
- package/dist/components/ui/context-menu/context-menu-item.svelte.d.ts +24 -15
- package/dist/components/ui/context-menu/context-menu-label.svelte +11 -5
- package/dist/components/ui/context-menu/context-menu-label.svelte.d.ts +29 -22
- package/dist/components/ui/context-menu/context-menu-radio-group.svelte +6 -2
- package/dist/components/ui/context-menu/context-menu-radio-group.svelte.d.ts +24 -17
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte +11 -6
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte.d.ts +22 -13
- package/dist/components/ui/context-menu/context-menu-separator.svelte +8 -4
- package/dist/components/ui/context-menu/context-menu-separator.svelte.d.ts +15 -15
- package/dist/components/ui/context-menu/context-menu-shortcut.svelte +8 -3
- package/dist/components/ui/context-menu/context-menu-shortcut.svelte.d.ts +24 -17
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte +13 -9
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte.d.ts +28 -21
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte +13 -6
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte.d.ts +28 -19
- package/dist/components/ui/dialog/dialog-content.svelte +14 -10
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +24 -17
- package/dist/components/ui/dialog/dialog-description.svelte +8 -4
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +24 -17
- package/dist/components/ui/dialog/dialog-footer.svelte +8 -3
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +24 -17
- package/dist/components/ui/dialog/dialog-header.svelte +8 -3
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +24 -17
- package/dist/components/ui/dialog/dialog-overlay.svelte +13 -9
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +15 -15
- package/dist/components/ui/dialog/dialog-portal.svelte +3 -1
- package/dist/components/ui/dialog/dialog-portal.svelte.d.ts +24 -17
- package/dist/components/ui/dialog/dialog-title.svelte +8 -4
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +24 -17
- package/dist/components/ui/drawer/drawer-content.svelte +9 -5
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +24 -17
- package/dist/components/ui/drawer/drawer-description.svelte +9 -5
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +24 -17
- package/dist/components/ui/drawer/drawer-footer.svelte +11 -4
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +26 -19
- package/dist/components/ui/drawer/drawer-header.svelte +10 -4
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +26 -19
- package/dist/components/ui/drawer/drawer-nested.svelte +7 -4
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +24 -17
- package/dist/components/ui/drawer/drawer-overlay.svelte +9 -5
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +24 -17
- package/dist/components/ui/drawer/drawer-title.svelte +9 -5
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +24 -17
- package/dist/components/ui/drawer/drawer.svelte +7 -4
- package/dist/components/ui/drawer/drawer.svelte.d.ts +24 -17
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +11 -6
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +22 -13
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +12 -7
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +22 -13
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +12 -5
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +24 -15
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte +11 -5
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte.d.ts +29 -22
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte +6 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte.d.ts +24 -17
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +11 -6
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +22 -13
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte +8 -4
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +15 -15
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte +8 -3
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +24 -17
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +14 -9
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +22 -13
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +13 -6
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +28 -19
- package/dist/components/ui/form/form-button.svelte +5 -1
- package/dist/components/ui/form/form-button.svelte.d.ts +22 -13
- package/dist/components/ui/form/form-description.svelte +8 -4
- package/dist/components/ui/form/form-description.svelte.d.ts +34 -21
- package/dist/components/ui/form/form-element-field.svelte +18 -8
- package/dist/components/ui/form/form-element-field.svelte.d.ts +18 -6
- package/dist/components/ui/form/form-field-errors.svelte +11 -5
- package/dist/components/ui/form/form-field-errors.svelte.d.ts +52 -33
- package/dist/components/ui/form/form-field.svelte +18 -8
- package/dist/components/ui/form/form-field.svelte.d.ts +18 -6
- package/dist/components/ui/form/form-fieldset.svelte +16 -7
- package/dist/components/ui/form/form-fieldset.svelte.d.ts +18 -6
- package/dist/components/ui/form/form-label.svelte +12 -6
- package/dist/components/ui/form/form-label.svelte.d.ts +27 -18
- package/dist/components/ui/form/form-legend.svelte +8 -4
- package/dist/components/ui/form/form-legend.svelte.d.ts +32 -20
- package/dist/components/ui/hover-card/hover-card-content.svelte +12 -8
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +24 -17
- package/dist/components/ui/input/input.svelte +15 -5
- package/dist/components/ui/input/input.svelte.d.ts +13 -11
- package/dist/components/ui/label/label.svelte +9 -4
- package/dist/components/ui/label/label.svelte.d.ts +22 -13
- package/dist/components/ui/menubar/menubar-checkbox-item.svelte +11 -6
- package/dist/components/ui/menubar/menubar-checkbox-item.svelte.d.ts +22 -13
- package/dist/components/ui/menubar/menubar-content.svelte +15 -10
- package/dist/components/ui/menubar/menubar-content.svelte.d.ts +22 -13
- package/dist/components/ui/menubar/menubar-item.svelte +12 -5
- package/dist/components/ui/menubar/menubar-item.svelte.d.ts +24 -15
- package/dist/components/ui/menubar/menubar-label.svelte +11 -5
- package/dist/components/ui/menubar/menubar-label.svelte.d.ts +29 -22
- package/dist/components/ui/menubar/menubar-radio-item.svelte +11 -6
- package/dist/components/ui/menubar/menubar-radio-item.svelte.d.ts +22 -13
- package/dist/components/ui/menubar/menubar-separator.svelte +8 -4
- package/dist/components/ui/menubar/menubar-separator.svelte.d.ts +15 -15
- package/dist/components/ui/menubar/menubar-shortcut.svelte +8 -3
- package/dist/components/ui/menubar/menubar-shortcut.svelte.d.ts +24 -17
- package/dist/components/ui/menubar/menubar-sub-content.svelte +11 -6
- package/dist/components/ui/menubar/menubar-sub-content.svelte.d.ts +22 -13
- package/dist/components/ui/menubar/menubar-sub-trigger.svelte +13 -6
- package/dist/components/ui/menubar/menubar-sub-trigger.svelte.d.ts +28 -19
- package/dist/components/ui/menubar/menubar-trigger.svelte +9 -4
- package/dist/components/ui/menubar/menubar-trigger.svelte.d.ts +22 -13
- package/dist/components/ui/menubar/menubar.svelte +8 -4
- package/dist/components/ui/menubar/menubar.svelte.d.ts +24 -17
- package/dist/components/ui/pagination/pagination-content.svelte +8 -3
- package/dist/components/ui/pagination/pagination-content.svelte.d.ts +24 -17
- package/dist/components/ui/pagination/pagination-ellipsis.svelte +10 -5
- package/dist/components/ui/pagination/pagination-ellipsis.svelte.d.ts +15 -15
- package/dist/components/ui/pagination/pagination-item.svelte +8 -3
- package/dist/components/ui/pagination/pagination-item.svelte.d.ts +24 -17
- package/dist/components/ui/pagination/pagination-link.svelte +18 -8
- package/dist/components/ui/pagination/pagination-link.svelte.d.ts +31 -22
- package/dist/components/ui/pagination/pagination-next-button.svelte +11 -6
- package/dist/components/ui/pagination/pagination-next-button.svelte.d.ts +24 -15
- package/dist/components/ui/pagination/pagination-prev-button.svelte +11 -6
- package/dist/components/ui/pagination/pagination-prev-button.svelte.d.ts +24 -15
- package/dist/components/ui/pagination/pagination.svelte +16 -9
- package/dist/components/ui/pagination/pagination.svelte.d.ts +35 -19
- package/dist/components/ui/popover/popover-content.svelte +9 -6
- package/dist/components/ui/popover/popover-content.svelte.d.ts +24 -17
- package/dist/components/ui/progress/progress.svelte +10 -6
- package/dist/components/ui/progress/progress.svelte.d.ts +15 -15
- package/dist/components/ui/radio-group/radio-group-item.svelte +11 -6
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +13 -11
- package/dist/components/ui/radio-group/radio-group.svelte +9 -5
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +24 -17
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte +9 -5
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +24 -17
- package/dist/components/ui/range-calendar/range-calendar-day.svelte +12 -7
- package/dist/components/ui/range-calendar/range-calendar-grid-body.svelte +8 -4
- package/dist/components/ui/range-calendar/range-calendar-grid-body.svelte.d.ts +24 -17
- package/dist/components/ui/range-calendar/range-calendar-grid-head.svelte +8 -4
- package/dist/components/ui/range-calendar/range-calendar-grid-head.svelte.d.ts +24 -17
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte +8 -4
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +24 -17
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte +8 -4
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +24 -17
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte +8 -4
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +24 -17
- package/dist/components/ui/range-calendar/range-calendar-header.svelte +8 -4
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +24 -17
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte +8 -4
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +27 -18
- package/dist/components/ui/range-calendar/range-calendar-months.svelte +8 -3
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +24 -17
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte +11 -6
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte +11 -6
- package/dist/components/ui/range-calendar/range-calendar.svelte +15 -9
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +14 -11
- package/dist/components/ui/resizable/resizable-handle.svelte +13 -7
- package/dist/components/ui/resizable/resizable-handle.svelte.d.ts +22 -22
- package/dist/components/ui/resizable/resizable-pane-group.svelte +11 -7
- package/dist/components/ui/resizable/resizable-pane-group.svelte.d.ts +24 -17
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte +11 -5
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +31 -24
- package/dist/components/ui/scroll-area/scroll-area.svelte +16 -8
- package/dist/components/ui/select/select-content.svelte +20 -14
- package/dist/components/ui/select/select-content.svelte.d.ts +22 -13
- package/dist/components/ui/select/select-item.svelte +13 -8
- package/dist/components/ui/select/select-item.svelte.d.ts +22 -13
- package/dist/components/ui/select/select-label.svelte +8 -4
- package/dist/components/ui/select/select-label.svelte.d.ts +24 -17
- package/dist/components/ui/select/select-separator.svelte +8 -4
- package/dist/components/ui/select/select-separator.svelte.d.ts +15 -15
- package/dist/components/ui/select/select-trigger.svelte +10 -5
- package/dist/components/ui/separator/separator.svelte +10 -6
- package/dist/components/ui/separator/separator.svelte.d.ts +15 -15
- package/dist/components/ui/sheet/sheet-content.svelte +18 -12
- package/dist/components/ui/sheet/sheet-content.svelte.d.ts +35 -28
- package/dist/components/ui/sheet/sheet-description.svelte +8 -4
- package/dist/components/ui/sheet/sheet-description.svelte.d.ts +24 -17
- package/dist/components/ui/sheet/sheet-footer.svelte +8 -3
- package/dist/components/ui/sheet/sheet-footer.svelte.d.ts +24 -17
- package/dist/components/ui/sheet/sheet-header.svelte +8 -3
- package/dist/components/ui/sheet/sheet-header.svelte.d.ts +24 -17
- package/dist/components/ui/sheet/sheet-overlay.svelte +13 -9
- package/dist/components/ui/sheet/sheet-overlay.svelte.d.ts +15 -15
- package/dist/components/ui/sheet/sheet-portal.svelte +8 -4
- package/dist/components/ui/sheet/sheet-portal.svelte.d.ts +24 -17
- package/dist/components/ui/sheet/sheet-title.svelte +8 -4
- package/dist/components/ui/sheet/sheet-title.svelte.d.ts +24 -17
- package/dist/components/ui/skeleton/skeleton.svelte +8 -3
- package/dist/components/ui/skeleton/skeleton.svelte.d.ts +15 -15
- package/dist/components/ui/slider/slider.svelte +9 -5
- package/dist/components/ui/slider/slider.svelte.d.ts +15 -15
- package/dist/components/ui/sonner/sonner.svelte +5 -2
- package/dist/components/ui/sonner/sonner.svelte.d.ts +16 -16
- package/dist/components/ui/switch/switch.svelte +10 -5
- package/dist/components/ui/switch/switch.svelte.d.ts +13 -11
- package/dist/components/ui/table/table-body.svelte +8 -3
- package/dist/components/ui/table/table-body.svelte.d.ts +24 -17
- package/dist/components/ui/table/table-caption.svelte +8 -3
- package/dist/components/ui/table/table-caption.svelte.d.ts +24 -17
- package/dist/components/ui/table/table-cell.svelte +8 -3
- package/dist/components/ui/table/table-cell.svelte.d.ts +27 -20
- package/dist/components/ui/table/table-footer.svelte +8 -3
- package/dist/components/ui/table/table-footer.svelte.d.ts +24 -17
- package/dist/components/ui/table/table-head.svelte +8 -3
- package/dist/components/ui/table/table-head.svelte.d.ts +24 -17
- package/dist/components/ui/table/table-header.svelte +8 -3
- package/dist/components/ui/table/table-header.svelte.d.ts +27 -20
- package/dist/components/ui/table/table-row.svelte +10 -3
- package/dist/components/ui/table/table-row.svelte.d.ts +29 -22
- package/dist/components/ui/table/table.svelte +8 -3
- package/dist/components/ui/table/table.svelte.d.ts +24 -17
- package/dist/components/ui/tabs/tabs-content.svelte +9 -5
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +24 -17
- package/dist/components/ui/tabs/tabs-list.svelte +8 -4
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +24 -17
- package/dist/components/ui/tabs/tabs-trigger.svelte +10 -5
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +22 -13
- package/dist/components/ui/textarea/textarea.svelte +15 -5
- package/dist/components/ui/textarea/textarea.svelte.d.ts +13 -11
- package/dist/components/ui/toggle/toggle.svelte +16 -8
- package/dist/components/ui/toggle/toggle.svelte.d.ts +31 -22
- package/dist/components/ui/toggle-group/toggle-group-item.svelte +16 -10
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +29 -22
- package/dist/components/ui/toggle-group/toggle-group.svelte +20 -12
- package/dist/components/ui/tooltip/tooltip-content.svelte +14 -10
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +24 -17
- package/package.json +8 -8
- package/dist/components/ui/drawer/index.d.ts +0 -14
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type ContextMenuShortcutProps = typeof __propDef.props;
|
|
15
|
-
export type ContextMenuShortcutEvents = typeof __propDef.events;
|
|
16
|
-
export type ContextMenuShortcutSlots = typeof __propDef.slots;
|
|
17
|
-
export default class ContextMenuShortcut extends SvelteComponent<ContextMenuShortcutProps, ContextMenuShortcutEvents, ContextMenuShortcutSlots> {
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports;
|
|
11
|
+
z_$$bindings?: Bindings;
|
|
18
12
|
}
|
|
19
|
-
|
|
13
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
14
|
+
default: any;
|
|
15
|
+
} ? Props extends Record<string, never> ? any : {
|
|
16
|
+
children?: any;
|
|
17
|
+
} : {});
|
|
18
|
+
declare const ContextMenuShortcut: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<HTMLAttributes<HTMLSpanElement>, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type ContextMenuShortcut = InstanceType<typeof ContextMenuShortcut>;
|
|
26
|
+
export default ContextMenuShortcut;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
+
import { cn, flyAndScale } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = ContextMenuPrimitive.SubContentProps;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export let transition: $$Props["transition"] = flyAndScale;
|
|
9
|
+
export let transitionConfig: $$Props["transitionConfig"] = {
|
|
10
|
+
x: -10,
|
|
11
|
+
y: 0,
|
|
12
|
+
};
|
|
13
|
+
export { className as class };
|
|
10
14
|
</script>
|
|
11
15
|
|
|
12
16
|
<ContextMenuPrimitive.SubContent
|
|
@@ -1,23 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
slots: {
|
|
13
|
-
default: {};
|
|
14
|
-
};
|
|
15
|
-
exports?: {} | undefined;
|
|
16
|
-
bindings?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
export type ContextMenuSubContentProps = typeof __propDef.props;
|
|
19
|
-
export type ContextMenuSubContentEvents = typeof __propDef.events;
|
|
20
|
-
export type ContextMenuSubContentSlots = typeof __propDef.slots;
|
|
21
|
-
export default class ContextMenuSubContent extends SvelteComponent<ContextMenuSubContentProps, ContextMenuSubContentEvents, ContextMenuSubContentSlots> {
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports;
|
|
11
|
+
z_$$bindings?: Bindings;
|
|
22
12
|
}
|
|
23
|
-
|
|
13
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
14
|
+
default: any;
|
|
15
|
+
} ? Props extends Record<string, never> ? any : {
|
|
16
|
+
children?: any;
|
|
17
|
+
} : {});
|
|
18
|
+
declare const ContextMenuSubContent: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<ContextMenuPrimitive.SubContentProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
keydown: import("bits-ui").CustomEventHandler<KeyboardEvent, HTMLDivElement>;
|
|
22
|
+
focusout: import("bits-ui").CustomEventHandler<FocusEvent, HTMLDivElement>;
|
|
23
|
+
pointermove: import("bits-ui").CustomEventHandler<PointerEvent, HTMLDivElement>;
|
|
24
|
+
} & {
|
|
25
|
+
[evt: string]: CustomEvent<any>;
|
|
26
|
+
}, {
|
|
27
|
+
default: {};
|
|
28
|
+
}, Record<string, any>, string>;
|
|
29
|
+
type ContextMenuSubContent = InstanceType<typeof ContextMenuSubContent>;
|
|
30
|
+
export default ContextMenuSubContent;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
+
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
|
|
6
|
+
type $$Props = ContextMenuPrimitive.SubTriggerProps & {
|
|
7
|
+
inset?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type $$Events = ContextMenuPrimitive.SubTriggerEvents;
|
|
10
|
+
|
|
11
|
+
let className: $$Props["class"] = undefined;
|
|
12
|
+
export let inset: $$Props["inset"] = undefined;
|
|
13
|
+
export { className as class };
|
|
7
14
|
</script>
|
|
8
15
|
|
|
9
16
|
<ContextMenuPrimitive.SubTrigger
|
|
@@ -1,21 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
default: {};
|
|
13
|
-
};
|
|
14
|
-
events: ContextMenuPrimitive.SubTriggerEvents;
|
|
15
|
-
};
|
|
16
|
-
export type ContextMenuSubTriggerProps = typeof __propDef.props;
|
|
17
|
-
export type ContextMenuSubTriggerEvents = typeof __propDef.events;
|
|
18
|
-
export type ContextMenuSubTriggerSlots = typeof __propDef.slots;
|
|
19
|
-
export default class ContextMenuSubTrigger extends SvelteComponent<ContextMenuSubTriggerProps, ContextMenuSubTriggerEvents, ContextMenuSubTriggerSlots> {
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports;
|
|
11
|
+
z_$$bindings?: Bindings;
|
|
20
12
|
}
|
|
21
|
-
|
|
13
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
14
|
+
default: any;
|
|
15
|
+
} ? Props extends Record<string, never> ? any : {
|
|
16
|
+
children?: any;
|
|
17
|
+
} : {});
|
|
18
|
+
declare const ContextMenuSubTrigger: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
19
|
+
disabled?: boolean | undefined;
|
|
20
|
+
asChild?: boolean | undefined;
|
|
21
|
+
el?: HTMLDivElement | undefined;
|
|
22
|
+
} & import("bits-ui/dist/internal").HTMLDivAttributes & {
|
|
23
|
+
inset?: boolean | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
default: {};
|
|
26
|
+
}>, ContextMenuPrimitive.SubTriggerEvents, {
|
|
27
|
+
default: {};
|
|
28
|
+
}, Record<string, any>, string>;
|
|
29
|
+
type ContextMenuSubTrigger = InstanceType<typeof ContextMenuSubTrigger>;
|
|
30
|
+
export default ContextMenuSubTrigger;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
+
import X from "lucide-svelte/icons/x";
|
|
4
|
+
import * as Dialog from "./index.js";
|
|
5
|
+
import { cn, flyAndScale } from "../../../utils.js";
|
|
6
|
+
|
|
7
|
+
type $$Props = DialogPrimitive.ContentProps;
|
|
8
|
+
|
|
9
|
+
let className: $$Props["class"] = undefined;
|
|
10
|
+
export let transition: $$Props["transition"] = flyAndScale;
|
|
11
|
+
export let transitionConfig: $$Props["transitionConfig"] = {
|
|
12
|
+
duration: 200,
|
|
13
|
+
};
|
|
14
|
+
export { className as class };
|
|
11
15
|
</script>
|
|
12
16
|
|
|
13
17
|
<Dialog.Portal>
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type DialogContentProps = typeof __propDef.props;
|
|
15
|
-
export type DialogContentEvents = typeof __propDef.events;
|
|
16
|
-
export type DialogContentSlots = typeof __propDef.slots;
|
|
17
|
-
export default class DialogContent extends SvelteComponent<DialogContentProps, DialogContentEvents, DialogContentSlots> {
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports;
|
|
11
|
+
z_$$bindings?: Bindings;
|
|
18
12
|
}
|
|
19
|
-
|
|
13
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
14
|
+
default: any;
|
|
15
|
+
} ? Props extends Record<string, never> ? any : {
|
|
16
|
+
children?: any;
|
|
17
|
+
} : {});
|
|
18
|
+
declare const DialogContent: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<DialogPrimitive.ContentProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type DialogContent = InstanceType<typeof DialogContent>;
|
|
26
|
+
export default DialogContent;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = DialogPrimitive.DescriptionProps;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export { className as class };
|
|
5
9
|
</script>
|
|
6
10
|
|
|
7
11
|
<DialogPrimitive.Description class={cn("text-sm text-muted-foreground", className)} {...$$restProps}>
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type DialogDescriptionProps = typeof __propDef.props;
|
|
15
|
-
export type DialogDescriptionEvents = typeof __propDef.events;
|
|
16
|
-
export type DialogDescriptionSlots = typeof __propDef.slots;
|
|
17
|
-
export default class DialogDescription extends SvelteComponent<DialogDescriptionProps, DialogDescriptionEvents, DialogDescriptionSlots> {
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports;
|
|
11
|
+
z_$$bindings?: Bindings;
|
|
18
12
|
}
|
|
19
|
-
|
|
13
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
14
|
+
default: any;
|
|
15
|
+
} ? Props extends Record<string, never> ? any : {
|
|
16
|
+
children?: any;
|
|
17
|
+
} : {});
|
|
18
|
+
declare const DialogDescription: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<DialogPrimitive.DescriptionProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type DialogDescription = InstanceType<typeof DialogDescription>;
|
|
26
|
+
export default DialogDescription;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = HTMLAttributes<HTMLDivElement>;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export { className as class };
|
|
4
9
|
</script>
|
|
5
10
|
|
|
6
11
|
<div class={cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)} {...$$restProps}>
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type DialogFooterProps = typeof __propDef.props;
|
|
15
|
-
export type DialogFooterEvents = typeof __propDef.events;
|
|
16
|
-
export type DialogFooterSlots = typeof __propDef.slots;
|
|
17
|
-
export default class DialogFooter extends SvelteComponent<DialogFooterProps, DialogFooterEvents, DialogFooterSlots> {
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports;
|
|
11
|
+
z_$$bindings?: Bindings;
|
|
18
12
|
}
|
|
19
|
-
|
|
13
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
14
|
+
default: any;
|
|
15
|
+
} ? Props extends Record<string, never> ? any : {
|
|
16
|
+
children?: any;
|
|
17
|
+
} : {});
|
|
18
|
+
declare const DialogFooter: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<HTMLAttributes<HTMLDivElement>, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type DialogFooter = InstanceType<typeof DialogFooter>;
|
|
26
|
+
export default DialogFooter;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = HTMLAttributes<HTMLDivElement>;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export { className as class };
|
|
4
9
|
</script>
|
|
5
10
|
|
|
6
11
|
<div class={cn("flex flex-col space-y-1.5 text-center sm:text-left", className)} {...$$restProps}>
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type DialogHeaderProps = typeof __propDef.props;
|
|
15
|
-
export type DialogHeaderEvents = typeof __propDef.events;
|
|
16
|
-
export type DialogHeaderSlots = typeof __propDef.slots;
|
|
17
|
-
export default class DialogHeader extends SvelteComponent<DialogHeaderProps, DialogHeaderEvents, DialogHeaderSlots> {
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports;
|
|
11
|
+
z_$$bindings?: Bindings;
|
|
18
12
|
}
|
|
19
|
-
|
|
13
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
14
|
+
default: any;
|
|
15
|
+
} ? Props extends Record<string, never> ? any : {
|
|
16
|
+
children?: any;
|
|
17
|
+
} : {});
|
|
18
|
+
declare const DialogHeader: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<HTMLAttributes<HTMLDivElement>, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type DialogHeader = InstanceType<typeof DialogHeader>;
|
|
26
|
+
export default DialogHeader;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
+
import { fade } from "svelte/transition";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
|
|
6
|
+
type $$Props = DialogPrimitive.OverlayProps;
|
|
7
|
+
|
|
8
|
+
let className: $$Props["class"] = undefined;
|
|
9
|
+
export let transition: $$Props["transition"] = fade;
|
|
10
|
+
export let transitionConfig: $$Props["transitionConfig"] = {
|
|
11
|
+
duration: 150,
|
|
12
|
+
};
|
|
13
|
+
export { className as class };
|
|
10
14
|
</script>
|
|
11
15
|
|
|
12
16
|
<DialogPrimitive.Overlay
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export type DialogOverlayProps = typeof __propDef.props;
|
|
13
|
-
export type DialogOverlayEvents = typeof __propDef.events;
|
|
14
|
-
export type DialogOverlaySlots = typeof __propDef.slots;
|
|
15
|
-
export default class DialogOverlay extends SvelteComponent<DialogOverlayProps, DialogOverlayEvents, DialogOverlaySlots> {
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports;
|
|
11
|
+
z_$$bindings?: Bindings;
|
|
16
12
|
}
|
|
17
|
-
|
|
13
|
+
declare const DialogOverlay: $$__sveltets_2_IsomorphicComponent<DialogPrimitive.OverlayProps, {
|
|
14
|
+
[evt: string]: CustomEvent<any>;
|
|
15
|
+
}, {}, Record<string, any>, string>;
|
|
16
|
+
type DialogOverlay = InstanceType<typeof DialogOverlay>;
|
|
17
|
+
export default DialogOverlay;
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type DialogPortalProps = typeof __propDef.props;
|
|
15
|
-
export type DialogPortalEvents = typeof __propDef.events;
|
|
16
|
-
export type DialogPortalSlots = typeof __propDef.slots;
|
|
17
|
-
export default class DialogPortal extends SvelteComponent<DialogPortalProps, DialogPortalEvents, DialogPortalSlots> {
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports;
|
|
11
|
+
z_$$bindings?: Bindings;
|
|
18
12
|
}
|
|
19
|
-
|
|
13
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
14
|
+
default: any;
|
|
15
|
+
} ? Props extends Record<string, never> ? any : {
|
|
16
|
+
children?: any;
|
|
17
|
+
} : {});
|
|
18
|
+
declare const DialogPortal: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<DialogPrimitive.PortalProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type DialogPortal = InstanceType<typeof DialogPortal>;
|
|
26
|
+
export default DialogPortal;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = DialogPrimitive.TitleProps;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export { className as class };
|
|
5
9
|
</script>
|
|
6
10
|
|
|
7
11
|
<DialogPrimitive.Title class={cn("text-lg font-semibold leading-none tracking-tight", className)} {...$$restProps}>
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type DialogTitleProps = typeof __propDef.props;
|
|
15
|
-
export type DialogTitleEvents = typeof __propDef.events;
|
|
16
|
-
export type DialogTitleSlots = typeof __propDef.slots;
|
|
17
|
-
export default class DialogTitle extends SvelteComponent<DialogTitleProps, DialogTitleEvents, DialogTitleSlots> {
|
|
3
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
4
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
5
|
+
$$bindings?: Bindings;
|
|
6
|
+
} & Exports;
|
|
7
|
+
(internal: unknown, props: Props & {
|
|
8
|
+
$$events?: Events;
|
|
9
|
+
$$slots?: Slots;
|
|
10
|
+
}): Exports;
|
|
11
|
+
z_$$bindings?: Bindings;
|
|
18
12
|
}
|
|
19
|
-
|
|
13
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
14
|
+
default: any;
|
|
15
|
+
} ? Props extends Record<string, never> ? any : {
|
|
16
|
+
children?: any;
|
|
17
|
+
} : {});
|
|
18
|
+
declare const DialogTitle: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<DialogPrimitive.TitleProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type DialogTitle = InstanceType<typeof DialogTitle>;
|
|
26
|
+
export default DialogTitle;
|