@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,17 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { Command as CommandPrimitive } from "cmdk-sv";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export type CommandSeparatorProps = typeof __propDef.props;
|
|
13
|
-
export type CommandSeparatorEvents = typeof __propDef.events;
|
|
14
|
-
export type CommandSeparatorSlots = typeof __propDef.slots;
|
|
15
|
-
export default class CommandSeparator extends SvelteComponent<CommandSeparatorProps, CommandSeparatorEvents, CommandSeparatorSlots> {
|
|
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 CommandSeparator: $$__sveltets_2_IsomorphicComponent<CommandPrimitive.SeparatorProps, {
|
|
14
|
+
[evt: string]: CustomEvent<any>;
|
|
15
|
+
}, {}, Record<string, any>, string>;
|
|
16
|
+
type CommandSeparator = InstanceType<typeof CommandSeparator>;
|
|
17
|
+
export default CommandSeparator;
|
|
@@ -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<HTMLSpanElement>;
|
|
6
|
+
|
|
7
|
+
let className: string | undefined | null = undefined;
|
|
8
|
+
export { className as class };
|
|
4
9
|
</script>
|
|
5
10
|
|
|
6
11
|
<span class={cn("ml-auto text-xs tracking-widest text-muted-foreground", 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 CommandShortcutProps = typeof __propDef.props;
|
|
15
|
-
export type CommandShortcutEvents = typeof __propDef.events;
|
|
16
|
-
export type CommandShortcutSlots = typeof __propDef.slots;
|
|
17
|
-
export default class CommandShortcut extends SvelteComponent<CommandShortcutProps, CommandShortcutEvents, CommandShortcutSlots> {
|
|
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 CommandShortcut: $$__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 CommandShortcut = InstanceType<typeof CommandShortcut>;
|
|
26
|
+
export default CommandShortcut;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Command as CommandPrimitive } from "cmdk-sv";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = CommandPrimitive.CommandProps;
|
|
6
|
+
|
|
7
|
+
export let value: $$Props["value"] = undefined;
|
|
8
|
+
|
|
9
|
+
let className: string | undefined | null = undefined;
|
|
10
|
+
export { className as class };
|
|
6
11
|
</script>
|
|
7
12
|
|
|
8
13
|
<CommandPrimitive.Root
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { Command as CommandPrimitive } from "cmdk-sv";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
type CommandProps_ = typeof __propDef.props;
|
|
15
|
-
export { CommandProps_ as CommandProps };
|
|
16
|
-
export type CommandEvents = typeof __propDef.events;
|
|
17
|
-
export type CommandSlots = typeof __propDef.slots;
|
|
18
|
-
export default class Command extends SvelteComponent<CommandProps_, CommandEvents, CommandSlots> {
|
|
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;
|
|
19
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 Command: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<CommandPrimitive.CommandProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type Command = InstanceType<typeof Command>;
|
|
26
|
+
export default Command;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
+
import Check from "lucide-svelte/icons/check";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
|
|
6
|
+
type $$Props = ContextMenuPrimitive.CheckboxItemProps;
|
|
7
|
+
type $$Events = ContextMenuPrimitive.CheckboxItemEvents;
|
|
8
|
+
|
|
9
|
+
let className: $$Props["class"] = undefined;
|
|
10
|
+
export let checked: $$Props["checked"] = undefined;
|
|
11
|
+
export { className as class };
|
|
7
12
|
</script>
|
|
8
13
|
|
|
9
14
|
<ContextMenuPrimitive.CheckboxItem
|
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export type ContextMenuCheckboxItemSlots = typeof __propDef.slots;
|
|
13
|
-
export default class ContextMenuCheckboxItem extends SvelteComponent<ContextMenuCheckboxItemProps, ContextMenuCheckboxItemEvents, ContextMenuCheckboxItemSlots> {
|
|
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;
|
|
14
12
|
}
|
|
15
|
-
|
|
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 ContextMenuCheckboxItem: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<ContextMenuPrimitive.CheckboxItemProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, ContextMenuPrimitive.CheckboxItemEvents, {
|
|
21
|
+
default: {};
|
|
22
|
+
}, Record<string, any>, string>;
|
|
23
|
+
type ContextMenuCheckboxItem = InstanceType<typeof ContextMenuCheckboxItem>;
|
|
24
|
+
export default ContextMenuCheckboxItem;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
+
import { cn, flyAndScale } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = ContextMenuPrimitive.ContentProps;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export let transition: $$Props["transition"] = flyAndScale;
|
|
9
|
+
export let transitionConfig: $$Props["transitionConfig"] = undefined;
|
|
10
|
+
export { className as class };
|
|
7
11
|
</script>
|
|
8
12
|
|
|
9
13
|
<ContextMenuPrimitive.Content
|
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
exports?: {} | undefined;
|
|
14
|
-
bindings?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
export type ContextMenuContentProps = typeof __propDef.props;
|
|
17
|
-
export type ContextMenuContentEvents = typeof __propDef.events;
|
|
18
|
-
export type ContextMenuContentSlots = typeof __propDef.slots;
|
|
19
|
-
export default class ContextMenuContent extends SvelteComponent<ContextMenuContentProps, ContextMenuContentEvents, ContextMenuContentSlots> {
|
|
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 ContextMenuContent: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<ContextMenuPrimitive.ContentProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
keydown: import("bits-ui").CustomEventHandler<KeyboardEvent, HTMLDivElement>;
|
|
22
|
+
} & {
|
|
23
|
+
[evt: string]: CustomEvent<any>;
|
|
24
|
+
}, {
|
|
25
|
+
default: {};
|
|
26
|
+
}, Record<string, any>, string>;
|
|
27
|
+
type ContextMenuContent = InstanceType<typeof ContextMenuContent>;
|
|
28
|
+
export default ContextMenuContent;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = ContextMenuPrimitive.ItemProps & {
|
|
6
|
+
inset?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type $$Events = ContextMenuPrimitive.ItemEvents;
|
|
9
|
+
|
|
10
|
+
let className: $$Props["class"] = undefined;
|
|
11
|
+
export let inset: $$Props["inset"] = undefined;
|
|
12
|
+
export { className as class };
|
|
6
13
|
</script>
|
|
7
14
|
|
|
8
15
|
<ContextMenuPrimitive.Item
|
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export type ContextMenuItemProps = typeof __propDef.props;
|
|
13
|
-
export type ContextMenuItemEvents = typeof __propDef.events;
|
|
14
|
-
export type ContextMenuItemSlots = typeof __propDef.slots;
|
|
15
|
-
export default class ContextMenuItem extends SvelteComponent<ContextMenuItemProps, ContextMenuItemEvents, ContextMenuItemSlots> {
|
|
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
|
+
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 ContextMenuItem: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<ContextMenuPrimitive.ItemProps & {
|
|
19
|
+
inset?: boolean | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
default: {};
|
|
22
|
+
}>, ContextMenuPrimitive.ItemEvents, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type ContextMenuItem = InstanceType<typeof ContextMenuItem>;
|
|
26
|
+
export default ContextMenuItem;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = ContextMenuPrimitive.LabelProps & {
|
|
6
|
+
inset?: boolean;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
let className: $$Props["class"] = undefined;
|
|
10
|
+
export let inset: $$Props["inset"] = undefined;
|
|
11
|
+
export { className as class };
|
|
6
12
|
</script>
|
|
7
13
|
|
|
8
14
|
<ContextMenuPrimitive.Label
|
|
@@ -1,23 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 ContextMenuLabelProps = typeof __propDef.props;
|
|
19
|
-
export type ContextMenuLabelEvents = typeof __propDef.events;
|
|
20
|
-
export type ContextMenuLabelSlots = typeof __propDef.slots;
|
|
21
|
-
export default class ContextMenuLabel extends SvelteComponent<ContextMenuLabelProps, ContextMenuLabelEvents, ContextMenuLabelSlots> {
|
|
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
|
+
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 ContextMenuLabel: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
|
|
18
|
+
asChild?: boolean | undefined;
|
|
19
|
+
el?: HTMLDivElement | undefined;
|
|
20
|
+
} & import("bits-ui/dist/internal").HTMLDivAttributes & {
|
|
21
|
+
inset?: boolean | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}>, {
|
|
25
|
+
[evt: string]: CustomEvent<any>;
|
|
26
|
+
}, {
|
|
27
|
+
default: {};
|
|
28
|
+
}, Record<string, any>, string>;
|
|
29
|
+
type ContextMenuLabel = InstanceType<typeof ContextMenuLabel>;
|
|
30
|
+
export default ContextMenuLabel;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
+
|
|
4
|
+
type $$Props = ContextMenuPrimitive.RadioGroupProps;
|
|
5
|
+
|
|
6
|
+
export let value: $$Props["value"] = undefined;
|
|
3
7
|
</script>
|
|
4
8
|
|
|
5
9
|
<ContextMenuPrimitive.RadioGroup {...$$restProps} bind:value>
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
bindings?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type ContextMenuRadioGroupProps = typeof __propDef.props;
|
|
15
|
-
export type ContextMenuRadioGroupEvents = typeof __propDef.events;
|
|
16
|
-
export type ContextMenuRadioGroupSlots = typeof __propDef.slots;
|
|
17
|
-
export default class ContextMenuRadioGroup extends SvelteComponent<ContextMenuRadioGroupProps, ContextMenuRadioGroupEvents, ContextMenuRadioGroupSlots> {
|
|
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 ContextMenuRadioGroup: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<ContextMenuPrimitive.RadioGroupProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
}, {
|
|
23
|
+
default: {};
|
|
24
|
+
}, Record<string, any>, string>;
|
|
25
|
+
type ContextMenuRadioGroup = InstanceType<typeof ContextMenuRadioGroup>;
|
|
26
|
+
export default ContextMenuRadioGroup;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
+
import Circle from "lucide-svelte/icons/circle";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
|
|
6
|
+
type $$Props = ContextMenuPrimitive.RadioItemProps;
|
|
7
|
+
type $$Events = ContextMenuPrimitive.RadioItemEvents;
|
|
8
|
+
|
|
9
|
+
let className: $$Props["class"] = undefined;
|
|
10
|
+
export let value: ContextMenuPrimitive.RadioItemProps["value"];
|
|
11
|
+
export { className as class };
|
|
7
12
|
</script>
|
|
8
13
|
|
|
9
14
|
<ContextMenuPrimitive.RadioItem
|
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export type ContextMenuRadioItemSlots = typeof __propDef.slots;
|
|
13
|
-
export default class ContextMenuRadioItem extends SvelteComponent<ContextMenuRadioItemProps, ContextMenuRadioItemEvents, ContextMenuRadioItemSlots> {
|
|
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;
|
|
14
12
|
}
|
|
15
|
-
|
|
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 ContextMenuRadioItem: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<ContextMenuPrimitive.RadioItemProps, {
|
|
19
|
+
default: {};
|
|
20
|
+
}>, ContextMenuPrimitive.RadioItemEvents, {
|
|
21
|
+
default: {};
|
|
22
|
+
}, Record<string, any>, string>;
|
|
23
|
+
type ContextMenuRadioItem = InstanceType<typeof ContextMenuRadioItem>;
|
|
24
|
+
export default ContextMenuRadioItem;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
|
|
5
|
+
type $$Props = ContextMenuPrimitive.SeparatorProps;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export { className as class };
|
|
5
9
|
</script>
|
|
6
10
|
|
|
7
11
|
<ContextMenuPrimitive.Separator class={cn("-mx-1 my-1 h-px bg-border", className)} {...$$restProps} />
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="svelte" />
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export type ContextMenuSeparatorProps = typeof __propDef.props;
|
|
13
|
-
export type ContextMenuSeparatorEvents = typeof __propDef.events;
|
|
14
|
-
export type ContextMenuSeparatorSlots = typeof __propDef.slots;
|
|
15
|
-
export default class ContextMenuSeparator extends SvelteComponent<ContextMenuSeparatorProps, ContextMenuSeparatorEvents, ContextMenuSeparatorSlots> {
|
|
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 ContextMenuSeparator: $$__sveltets_2_IsomorphicComponent<ContextMenuPrimitive.SeparatorProps, {
|
|
14
|
+
[evt: string]: CustomEvent<any>;
|
|
15
|
+
}, {}, Record<string, any>, string>;
|
|
16
|
+
type ContextMenuSeparator = InstanceType<typeof ContextMenuSeparator>;
|
|
17
|
+
export default ContextMenuSeparator;
|
|
@@ -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<HTMLSpanElement>;
|
|
6
|
+
|
|
7
|
+
let className: $$Props["class"] = undefined;
|
|
8
|
+
export { className as class };
|
|
4
9
|
</script>
|
|
5
10
|
|
|
6
11
|
<span class={cn("ml-auto text-xs tracking-widest text-muted-foreground", className)} {...$$restProps}>
|