@kayord/ui 0.8.18 → 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 -13
- 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 -77
- 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 -10
- 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 +11 -6
- 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 +21 -21
- package/dist/components/ui/drawer/index.d.ts +0 -14
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = RangeCalendarPrimitive.HeadCellProps;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export { className as class };
|
|
5
9
|
</script>
|
|
6
10
|
|
|
7
11
|
<RangeCalendarPrimitive.HeadCell
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type RangeCalendarHeadCellProps = typeof __propDef.props;
|
|
15
|
-
export type RangeCalendarHeadCellEvents = typeof __propDef.events;
|
|
16
|
-
export type RangeCalendarHeadCellSlots = typeof __propDef.slots;
|
|
17
|
-
export default class RangeCalendarHeadCell extends SvelteComponent<RangeCalendarHeadCellProps, RangeCalendarHeadCellEvents, RangeCalendarHeadCellSlots> {
|
|
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 RangeCalendarHeadCell: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<RangeCalendarPrimitive.HeadCellProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type RangeCalendarHeadCell = InstanceType<typeof RangeCalendarHeadCell>;
|
|
26
|
+
export default RangeCalendarHeadCell;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = RangeCalendarPrimitive.HeaderProps;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export { className as class };
|
|
5
9
|
</script>
|
|
6
10
|
|
|
7
11
|
<RangeCalendarPrimitive.Header
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type RangeCalendarHeaderProps = typeof __propDef.props;
|
|
15
|
-
export type RangeCalendarHeaderEvents = typeof __propDef.events;
|
|
16
|
-
export type RangeCalendarHeaderSlots = typeof __propDef.slots;
|
|
17
|
-
export default class RangeCalendarHeader extends SvelteComponent<RangeCalendarHeaderProps, RangeCalendarHeaderEvents, RangeCalendarHeaderSlots> {
|
|
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 RangeCalendarHeader: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<RangeCalendarPrimitive.HeaderProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type RangeCalendarHeader = InstanceType<typeof RangeCalendarHeader>;
|
|
26
|
+
export default RangeCalendarHeader;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = RangeCalendarPrimitive.HeadingProps;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export { className as class };
|
|
5
9
|
</script>
|
|
6
10
|
|
|
7
11
|
<RangeCalendarPrimitive.Heading let:headingValue class={cn("text-sm font-medium", className)} {...$$restProps}>
|
|
@@ -1,21 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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;
|
|
12
|
+
}
|
|
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 RangeCalendarHeading: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<RangeCalendarPrimitive.HeadingProps, {
|
|
19
|
+
default: {
|
|
20
|
+
headingValue: string;
|
|
7
21
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
22
|
+
}>, {
|
|
23
|
+
[evt: string]: CustomEvent<any>;
|
|
24
|
+
}, {
|
|
25
|
+
default: {
|
|
26
|
+
headingValue: string;
|
|
12
27
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export type RangeCalendarHeadingProps = typeof __propDef.props;
|
|
17
|
-
export type RangeCalendarHeadingEvents = typeof __propDef.events;
|
|
18
|
-
export type RangeCalendarHeadingSlots = typeof __propDef.slots;
|
|
19
|
-
export default class RangeCalendarHeading extends SvelteComponent<RangeCalendarHeadingProps, RangeCalendarHeadingEvents, RangeCalendarHeadingSlots> {
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
28
|
+
}, Record<string, any>, string>;
|
|
29
|
+
type RangeCalendarHeading = InstanceType<typeof RangeCalendarHeading>;
|
|
30
|
+
export default RangeCalendarHeading;
|
|
@@ -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("mt-4 flex flex-col space-y-4 sm:flex-row sm:space-x-4 sm:space-y-0", 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 RangeCalendarMonthsProps = typeof __propDef.props;
|
|
15
|
-
export type RangeCalendarMonthsEvents = typeof __propDef.events;
|
|
16
|
-
export type RangeCalendarMonthsSlots = typeof __propDef.slots;
|
|
17
|
-
export default class RangeCalendarMonths extends SvelteComponent<RangeCalendarMonthsProps, RangeCalendarMonthsEvents, RangeCalendarMonthsSlots> {
|
|
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 RangeCalendarMonths: $$__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 RangeCalendarMonths = InstanceType<typeof RangeCalendarMonths>;
|
|
26
|
+
export default RangeCalendarMonths;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
4
|
+
import { buttonVariants } from "../button/index.js";
|
|
5
|
+
import { cn } from "../../../utils.js";
|
|
6
|
+
|
|
7
|
+
type $$Props = RangeCalendarPrimitive.NextButtonProps;
|
|
8
|
+
type $$Events = RangeCalendarPrimitive.NextButtonEvents;
|
|
9
|
+
|
|
10
|
+
let className: $$Props["class"] = undefined;
|
|
11
|
+
export { className as class };
|
|
7
12
|
</script>
|
|
8
13
|
|
|
9
14
|
<RangeCalendarPrimitive.NextButton
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
import ChevronLeft from "lucide-svelte/icons/chevron-left";
|
|
4
|
+
import { buttonVariants } from "../button/index.js";
|
|
5
|
+
import { cn } from "../../../utils.js";
|
|
6
|
+
|
|
7
|
+
type $$Props = RangeCalendarPrimitive.PrevButtonProps;
|
|
8
|
+
type $$Events = RangeCalendarPrimitive.PrevButtonEvents;
|
|
9
|
+
|
|
10
|
+
let className: $$Props["class"] = undefined;
|
|
11
|
+
export { className as class };
|
|
7
12
|
</script>
|
|
8
13
|
|
|
9
14
|
<RangeCalendarPrimitive.PrevButton
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
import * as RangeCalendar from "./index.js";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
|
|
6
|
+
type $$Props = RangeCalendarPrimitive.Props;
|
|
7
|
+
type $$Events = RangeCalendarPrimitive.Events;
|
|
8
|
+
|
|
9
|
+
export let value: $$Props["value"] = undefined;
|
|
10
|
+
export let placeholder: $$Props["placeholder"] = undefined;
|
|
11
|
+
export let weekdayFormat: $$Props["weekdayFormat"] = "short";
|
|
12
|
+
export let startValue: $$Props["startValue"] = undefined;
|
|
13
|
+
|
|
14
|
+
let className: $$Props["class"] = undefined;
|
|
15
|
+
export { className as class };
|
|
10
16
|
</script>
|
|
11
17
|
|
|
12
18
|
<RangeCalendarPrimitive.Root
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
import * as RangeCalendar from "./index.js";
|
|
4
|
+
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> {
|
|
5
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
6
|
+
$$bindings?: Bindings;
|
|
7
|
+
} & Exports;
|
|
8
|
+
(internal: unknown, props: Props & {
|
|
9
|
+
$$events?: Events;
|
|
10
|
+
$$slots?: Slots;
|
|
11
|
+
}): Exports;
|
|
12
|
+
z_$$bindings?: Bindings;
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
+
declare const RangeCalendar: $$__sveltets_2_IsomorphicComponent<RangeCalendarPrimitive.Props, RangeCalendarPrimitive.Events, {}, Record<string, any>, string>;
|
|
15
|
+
type RangeCalendar = InstanceType<typeof RangeCalendar>;
|
|
16
|
+
export default RangeCalendar;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import GripVertical from "lucide-svelte/icons/grip-vertical";
|
|
3
|
+
import * as ResizablePrimitive from "paneforge";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
|
|
6
|
+
type $$Props = ResizablePrimitive.PaneResizerProps & {
|
|
7
|
+
withHandle?: boolean;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export let withHandle: $$Props["withHandle"] = false;
|
|
11
|
+
export let el: $$Props["el"] = undefined;
|
|
12
|
+
let className: $$Props["class"] = undefined;
|
|
13
|
+
export { className as class };
|
|
8
14
|
</script>
|
|
9
15
|
|
|
10
16
|
<ResizablePrimitive.PaneResizer
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
events: {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
};
|
|
14
|
-
slots: {};
|
|
15
|
-
exports?: {} | undefined;
|
|
16
|
-
bindings?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
export type ResizableHandleProps = typeof __propDef.props;
|
|
19
|
-
export type ResizableHandleEvents = typeof __propDef.events;
|
|
20
|
-
export type ResizableHandleSlots = typeof __propDef.slots;
|
|
21
|
-
export default class ResizableHandle extends SvelteComponent<ResizableHandleProps, ResizableHandleEvents, ResizableHandleSlots> {
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
|
+
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> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: Props & {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports;
|
|
10
|
+
z_$$bindings?: Bindings;
|
|
22
11
|
}
|
|
23
|
-
|
|
12
|
+
declare const ResizableHandle: $$__sveltets_2_IsomorphicComponent<{
|
|
13
|
+
disabled?: boolean | undefined;
|
|
14
|
+
onDraggingChange?: import("paneforge/dist/internal/types").PaneResizeHandleOnDragging | undefined;
|
|
15
|
+
tabIndex?: number | undefined;
|
|
16
|
+
el?: HTMLElement | null | undefined;
|
|
17
|
+
} & import("svelte/elements").HTMLAttributes<HTMLDivElement> & {
|
|
18
|
+
withHandle?: boolean | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
[evt: string]: CustomEvent<any>;
|
|
21
|
+
}, {}, Record<string, any>, string>;
|
|
22
|
+
type ResizableHandle = InstanceType<typeof ResizableHandle>;
|
|
23
|
+
export default ResizableHandle;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import * as ResizablePrimitive from "paneforge";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = ResizablePrimitive.PaneGroupProps;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export let direction: $$Props["direction"];
|
|
9
|
+
export let paneGroup: $$Props["paneGroup"] = undefined;
|
|
10
|
+
export let el: $$Props["el"] = undefined;
|
|
11
|
+
export { className as class };
|
|
8
12
|
</script>
|
|
9
13
|
|
|
10
14
|
<ResizablePrimitive.PaneGroup
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import * as ResizablePrimitive from "paneforge";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type ResizablePaneGroupProps = typeof __propDef.props;
|
|
15
|
-
export type ResizablePaneGroupEvents = typeof __propDef.events;
|
|
16
|
-
export type ResizablePaneGroupSlots = typeof __propDef.slots;
|
|
17
|
-
export default class ResizablePaneGroup extends SvelteComponent<ResizablePaneGroupProps, ResizablePaneGroupEvents, ResizablePaneGroupSlots> {
|
|
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 ResizablePaneGroup: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<ResizablePrimitive.PaneGroupProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type ResizablePaneGroup = InstanceType<typeof ResizablePaneGroup>;
|
|
26
|
+
export default ResizablePaneGroup;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ScrollArea as ScrollAreaPrimitive } from "bits-ui";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = ScrollAreaPrimitive.ScrollbarProps & {
|
|
6
|
+
orientation?: "vertical" | "horizontal";
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
let className: $$Props["class"] = undefined;
|
|
10
|
+
export let orientation: $$Props["orientation"] = "vertical";
|
|
11
|
+
export { className as class };
|
|
6
12
|
</script>
|
|
7
13
|
|
|
8
14
|
<ScrollAreaPrimitive.Scrollbar
|
|
@@ -1,25 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
events: {
|
|
12
|
-
[evt: string]: CustomEvent<any>;
|
|
13
|
-
};
|
|
14
|
-
slots: {
|
|
15
|
-
default: {};
|
|
16
|
-
};
|
|
17
|
-
exports?: {} | undefined;
|
|
18
|
-
bindings?: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
export type ScrollAreaScrollbarProps = typeof __propDef.props;
|
|
21
|
-
export type ScrollAreaScrollbarEvents = typeof __propDef.events;
|
|
22
|
-
export type ScrollAreaScrollbarSlots = typeof __propDef.slots;
|
|
23
|
-
export default class ScrollAreaScrollbar extends SvelteComponent<ScrollAreaScrollbarProps, ScrollAreaScrollbarEvents, ScrollAreaScrollbarSlots> {
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
|
+
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> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: Props & {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports;
|
|
10
|
+
z_$$bindings?: Bindings;
|
|
24
11
|
}
|
|
25
|
-
|
|
12
|
+
type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
|
|
13
|
+
default: any;
|
|
14
|
+
} ? Props extends Record<string, never> ? any : {
|
|
15
|
+
children?: any;
|
|
16
|
+
} : {});
|
|
17
|
+
declare const ScrollAreaScrollbar: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
18
|
+
asChild?: boolean | undefined;
|
|
19
|
+
el?: HTMLDivElement | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
orientation: "horizontal" | "vertical";
|
|
22
|
+
} & import("bits-ui/dist/internal").HTMLDivAttributes & {
|
|
23
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
default: {};
|
|
26
|
+
}>, {
|
|
27
|
+
[evt: string]: CustomEvent<any>;
|
|
28
|
+
}, {
|
|
29
|
+
default: {};
|
|
30
|
+
}, Record<string, any>, string>;
|
|
31
|
+
type ScrollAreaScrollbar = InstanceType<typeof ScrollAreaScrollbar>;
|
|
32
|
+
export default ScrollAreaScrollbar;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ScrollArea as ScrollAreaPrimitive } from "bits-ui";
|
|
3
|
+
import { Scrollbar } from "./index.js";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
|
|
6
|
+
type $$Props = ScrollAreaPrimitive.Props & {
|
|
7
|
+
orientation?: "vertical" | "horizontal" | "both";
|
|
8
|
+
scrollbarXClasses?: string;
|
|
9
|
+
scrollbarYClasses?: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
let className: $$Props["class"] = undefined;
|
|
13
|
+
export { className as class };
|
|
14
|
+
export let orientation = "vertical";
|
|
15
|
+
export let scrollbarXClasses: string = "";
|
|
16
|
+
export let scrollbarYClasses: string = "";
|
|
9
17
|
</script>
|
|
10
18
|
|
|
11
19
|
<ScrollAreaPrimitive.Root {...$$restProps} class={cn("relative overflow-hidden", className)}>
|