@kayord/ui 3.0.10 → 3.0.12
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/dist/components/custom/action/Actions.svelte +1 -1
- package/dist/components/custom/data-table/DataTable.svelte +1 -1
- package/dist/components/custom/data-table/DataTableFooter.svelte +3 -3
- package/dist/components/custom/data-table/Pagination.svelte +1 -1
- package/dist/components/custom/data-table/data-table-utils.d.ts +2 -2
- package/dist/components/custom/data-table/data-table-utils.js +3 -2
- package/dist/components/custom/data-table/shad-table-old.svelte.d.ts +1 -1
- package/dist/components/custom/data-table/shad-table-old.svelte.js +1 -1
- package/dist/components/custom/progress-loading/ProgressLoading.svelte +5 -2
- package/dist/components/custom/progress-loading/ProgressLoading.svelte.d.ts +2 -2
- package/dist/components/ui/accordion/accordion-trigger.svelte +2 -2
- package/dist/components/ui/accordion/index.d.ts +1 -1
- package/dist/components/ui/accordion/index.js +1 -1
- package/dist/components/ui/alert/alert-action.svelte +1 -1
- package/dist/components/ui/alert/alert-action.svelte.d.ts +1 -1
- package/dist/components/ui/alert/alert-description.svelte +1 -1
- package/dist/components/ui/alert/alert-description.svelte.d.ts +1 -1
- package/dist/components/ui/alert/alert-title.svelte +1 -1
- package/dist/components/ui/alert/alert-title.svelte.d.ts +1 -1
- package/dist/components/ui/alert/alert.svelte +2 -2
- package/dist/components/ui/alert/alert.svelte.d.ts +9 -9
- package/dist/components/ui/alert/index.d.ts +2 -2
- package/dist/components/ui/alert/index.js +2 -2
- package/dist/components/ui/alert-dialog/alert-dialog-content.svelte +3 -3
- package/dist/components/ui/alert-dialog/alert-dialog-content.svelte.d.ts +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog-header.svelte +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog-header.svelte.d.ts +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog-media.svelte +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog-media.svelte.d.ts +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog-overlay.svelte +1 -1
- package/dist/components/ui/alert-dialog/index.d.ts +7 -7
- package/dist/components/ui/alert-dialog/index.js +7 -7
- package/dist/components/ui/avatar/avatar-badge.svelte +1 -1
- package/dist/components/ui/avatar/avatar-badge.svelte.d.ts +1 -1
- package/dist/components/ui/avatar/avatar-group-count.svelte +1 -1
- package/dist/components/ui/avatar/avatar-group-count.svelte.d.ts +1 -1
- package/dist/components/ui/avatar/avatar-group.svelte +2 -2
- package/dist/components/ui/avatar/avatar-group.svelte.d.ts +1 -1
- package/dist/components/ui/avatar/avatar.svelte +1 -1
- package/dist/components/ui/avatar/index.d.ts +4 -4
- package/dist/components/ui/avatar/index.js +4 -4
- package/dist/components/ui/badge/badge.svelte +3 -3
- package/dist/components/ui/badge/badge.svelte.d.ts +22 -22
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-ellipsis.svelte.d.ts +1 -1
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte +1 -1
- package/dist/components/ui/breadcrumb/breadcrumb-item.svelte.d.ts +1 -1
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte +3 -3
- package/dist/components/ui/breadcrumb/breadcrumb-link.svelte.d.ts +2 -2
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte +1 -1
- package/dist/components/ui/breadcrumb/breadcrumb-list.svelte.d.ts +1 -1
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte +1 -1
- package/dist/components/ui/breadcrumb/breadcrumb-page.svelte.d.ts +1 -1
- package/dist/components/ui/breadcrumb/breadcrumb-separator.svelte +1 -1
- package/dist/components/ui/breadcrumb/breadcrumb.svelte +1 -1
- package/dist/components/ui/breadcrumb/index.d.ts +2 -2
- package/dist/components/ui/breadcrumb/index.js +2 -2
- package/dist/components/ui/button/button.svelte +5 -5
- package/dist/components/ui/button/button.svelte.d.ts +46 -46
- package/dist/components/ui/button-group/button-group-separator.svelte +1 -1
- package/dist/components/ui/button-group/button-group-text.svelte +2 -2
- package/dist/components/ui/button-group/button-group-text.svelte.d.ts +1 -1
- package/dist/components/ui/button-group/button-group.svelte.d.ts +8 -8
- package/dist/components/ui/button-group/index.d.ts +2 -2
- package/dist/components/ui/button-group/index.js +2 -2
- package/dist/components/ui/calendar/calendar-caption.svelte +3 -3
- package/dist/components/ui/calendar/calendar-caption.svelte.d.ts +3 -3
- package/dist/components/ui/calendar/calendar-day.svelte +1 -1
- package/dist/components/ui/calendar/calendar-month-select.svelte +2 -2
- package/dist/components/ui/calendar/calendar-months.svelte +1 -1
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +1 -1
- package/dist/components/ui/calendar/calendar-year-select.svelte +2 -2
- package/dist/components/ui/calendar/calendar.svelte +3 -3
- package/dist/components/ui/calendar/calendar.svelte.d.ts +3 -3
- package/dist/components/ui/calendar/index.d.ts +10 -10
- package/dist/components/ui/calendar/index.js +10 -10
- package/dist/components/ui/card/card-content.svelte +1 -1
- package/dist/components/ui/card/card-content.svelte.d.ts +1 -1
- package/dist/components/ui/card/card-description.svelte +1 -1
- package/dist/components/ui/card/card-description.svelte.d.ts +1 -1
- package/dist/components/ui/card/card-title.svelte +1 -1
- package/dist/components/ui/card/card-title.svelte.d.ts +1 -1
- package/dist/components/ui/card/card.svelte +2 -2
- package/dist/components/ui/card/card.svelte.d.ts +1 -1
- package/dist/components/ui/card/index.d.ts +2 -2
- package/dist/components/ui/card/index.js +2 -2
- package/dist/components/ui/carousel/carousel-content.svelte +2 -2
- package/dist/components/ui/carousel/carousel-content.svelte.d.ts +1 -1
- package/dist/components/ui/carousel/carousel-item.svelte +2 -2
- package/dist/components/ui/carousel/carousel-item.svelte.d.ts +1 -1
- package/dist/components/ui/carousel/carousel-next.svelte +4 -4
- package/dist/components/ui/carousel/carousel-previous.svelte +4 -4
- package/dist/components/ui/carousel/carousel.svelte +1 -1
- package/dist/components/ui/carousel/carousel.svelte.d.ts +1 -1
- package/dist/components/ui/carousel/index.d.ts +2 -2
- package/dist/components/ui/carousel/index.js +2 -2
- package/dist/components/ui/chart/chart-container.svelte +3 -3
- package/dist/components/ui/chart/chart-container.svelte.d.ts +1 -1
- package/dist/components/ui/chart/chart-tooltip.svelte +2 -2
- package/dist/components/ui/chart/chart-tooltip.svelte.d.ts +1 -1
- package/dist/components/ui/chart/chart-utils.d.ts +1 -1
- package/dist/components/ui/checkbox/checkbox.svelte +2 -2
- package/dist/components/ui/collapsible/index.d.ts +2 -2
- package/dist/components/ui/collapsible/index.js +2 -2
- package/dist/components/ui/command/command-dialog.svelte +3 -3
- package/dist/components/ui/command/command-dialog.svelte.d.ts +1 -1
- package/dist/components/ui/command/command-input.svelte +2 -2
- package/dist/components/ui/command/command-item.svelte +1 -1
- package/dist/components/ui/command/command.svelte +1 -1
- package/dist/components/ui/command/index.d.ts +4 -4
- package/dist/components/ui/command/index.js +4 -4
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte +1 -1
- package/dist/components/ui/context-menu/context-menu-content.svelte +2 -2
- package/dist/components/ui/context-menu/context-menu-content.svelte.d.ts +1 -1
- package/dist/components/ui/context-menu/context-menu-item.svelte +1 -1
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte +1 -1
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte +1 -1
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte +1 -1
- package/dist/components/ui/context-menu/index.d.ts +10 -10
- package/dist/components/ui/context-menu/index.js +10 -10
- package/dist/components/ui/data-table/flex-render.svelte +1 -1
- package/dist/components/ui/dialog/dialog-content.svelte +5 -5
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +1 -1
- package/dist/components/ui/dialog/dialog-footer.svelte +2 -2
- package/dist/components/ui/dialog/dialog-header.svelte +1 -1
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +1 -1
- package/dist/components/ui/dialog/dialog-overlay.svelte +1 -1
- package/dist/components/ui/dialog/index.d.ts +6 -6
- package/dist/components/ui/dialog/index.js +6 -6
- package/dist/components/ui/drawer/drawer-content.svelte +3 -3
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +1 -1
- package/dist/components/ui/drawer/drawer-header.svelte +1 -1
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +1 -1
- package/dist/components/ui/drawer/drawer-overlay.svelte +1 -1
- package/dist/components/ui/drawer/index.d.ts +5 -5
- package/dist/components/ui/drawer/index.js +5 -5
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +2 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte.d.ts +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
- package/dist/components/ui/dropdown-menu/index.d.ts +5 -5
- package/dist/components/ui/dropdown-menu/index.js +5 -5
- package/dist/components/ui/empty/empty-media.svelte +1 -1
- package/dist/components/ui/empty/empty-media.svelte.d.ts +8 -8
- package/dist/components/ui/empty/index.d.ts +3 -3
- package/dist/components/ui/empty/index.js +3 -3
- package/dist/components/ui/field/field-error.svelte +1 -1
- package/dist/components/ui/field/field-error.svelte.d.ts +1 -1
- package/dist/components/ui/field/field-label.svelte +1 -1
- package/dist/components/ui/field/field-separator.svelte +1 -1
- package/dist/components/ui/field/field-separator.svelte.d.ts +1 -1
- package/dist/components/ui/field/field.svelte +1 -1
- package/dist/components/ui/field/field.svelte.d.ts +12 -12
- package/dist/components/ui/field/index.d.ts +7 -7
- package/dist/components/ui/field/index.js +7 -7
- package/dist/components/ui/form/form-element-field.svelte +2 -2
- package/dist/components/ui/form/form-element-field.svelte.d.ts +2 -2
- package/dist/components/ui/form/form-field.svelte +1 -1
- package/dist/components/ui/form/form-field.svelte.d.ts +1 -1
- package/dist/components/ui/form/form-fieldset.svelte +1 -1
- package/dist/components/ui/form/form-fieldset.svelte.d.ts +1 -1
- package/dist/components/ui/form/index.d.ts +3 -3
- package/dist/components/ui/form/index.js +3 -3
- package/dist/components/ui/hover-card/hover-card-content.svelte +1 -1
- package/dist/components/ui/hover-card/index.d.ts +2 -2
- package/dist/components/ui/hover-card/index.js +2 -2
- package/dist/components/ui/input/input.svelte +3 -3
- package/dist/components/ui/input/input.svelte.d.ts +1 -1
- package/dist/components/ui/input-group/index.d.ts +1 -1
- package/dist/components/ui/input-group/index.js +1 -1
- package/dist/components/ui/input-group/input-group-addon.svelte +1 -1
- package/dist/components/ui/input-group/input-group-addon.svelte.d.ts +15 -15
- package/dist/components/ui/input-group/input-group-button.svelte +1 -1
- package/dist/components/ui/input-group/input-group-button.svelte.d.ts +15 -15
- package/dist/components/ui/input-group/input-group-input.svelte +1 -1
- package/dist/components/ui/input-group/input-group-input.svelte.d.ts +1 -1
- package/dist/components/ui/input-group/input-group-textarea.svelte +1 -1
- package/dist/components/ui/input-group/input-group.svelte +1 -1
- package/dist/components/ui/input-otp/index.d.ts +2 -2
- package/dist/components/ui/input-otp/index.js +2 -2
- package/dist/components/ui/input-otp/input-otp-group.svelte +2 -2
- package/dist/components/ui/input-otp/input-otp-group.svelte.d.ts +1 -1
- package/dist/components/ui/input-otp/input-otp-separator.svelte +2 -2
- package/dist/components/ui/input-otp/input-otp-separator.svelte.d.ts +1 -1
- package/dist/components/ui/input-otp/input-otp-slot.svelte +1 -1
- package/dist/components/ui/item/index.d.ts +7 -7
- package/dist/components/ui/item/index.js +7 -7
- package/dist/components/ui/item/item-media.svelte.d.ts +11 -11
- package/dist/components/ui/item/item.svelte +3 -3
- package/dist/components/ui/item/item.svelte.d.ts +22 -22
- package/dist/components/ui/kbd/index.d.ts +1 -1
- package/dist/components/ui/kbd/index.js +1 -1
- package/dist/components/ui/menubar/index.d.ts +8 -8
- package/dist/components/ui/menubar/index.js +8 -8
- package/dist/components/ui/menubar/menubar-checkbox-item.svelte +2 -2
- package/dist/components/ui/menubar/menubar-content.svelte +1 -1
- package/dist/components/ui/menubar/menubar-content.svelte.d.ts +1 -1
- package/dist/components/ui/menubar/menubar-group-heading.svelte +1 -1
- package/dist/components/ui/menubar/menubar-item.svelte +1 -1
- package/dist/components/ui/menubar/menubar-label.svelte +1 -1
- package/dist/components/ui/menubar/menubar-radio-item.svelte +1 -1
- package/dist/components/ui/menubar/menubar-shortcut.svelte +1 -1
- package/dist/components/ui/menubar/menubar-shortcut.svelte.d.ts +1 -1
- package/dist/components/ui/menubar/menubar-sub-content.svelte +1 -1
- package/dist/components/ui/menubar/menubar-sub-trigger.svelte +1 -1
- package/dist/components/ui/native-select/index.d.ts +2 -2
- package/dist/components/ui/native-select/index.js +2 -2
- package/dist/components/ui/native-select/native-select-opt-group.svelte +1 -1
- package/dist/components/ui/native-select/native-select-opt-group.svelte.d.ts +1 -1
- package/dist/components/ui/native-select/native-select-option.svelte +1 -1
- package/dist/components/ui/native-select/native-select-option.svelte.d.ts +1 -1
- package/dist/components/ui/native-select/native-select.svelte +2 -2
- package/dist/components/ui/navigation-menu/index.d.ts +1 -1
- package/dist/components/ui/navigation-menu/index.js +1 -1
- package/dist/components/ui/navigation-menu/navigation-menu-content.svelte +1 -1
- package/dist/components/ui/navigation-menu/navigation-menu-indicator.svelte +1 -1
- package/dist/components/ui/navigation-menu/navigation-menu-link.svelte +1 -1
- package/dist/components/ui/navigation-menu/navigation-menu-trigger.svelte +2 -2
- package/dist/components/ui/navigation-menu/navigation-menu-trigger.svelte.d.ts +1 -1
- package/dist/components/ui/navigation-menu/navigation-menu-viewport.svelte +1 -1
- package/dist/components/ui/pagination/index.d.ts +4 -4
- package/dist/components/ui/pagination/index.js +4 -4
- package/dist/components/ui/pagination/pagination-content.svelte +1 -1
- package/dist/components/ui/pagination/pagination-content.svelte.d.ts +1 -1
- package/dist/components/ui/pagination/pagination-ellipsis.svelte +2 -2
- package/dist/components/ui/pagination/pagination-ellipsis.svelte.d.ts +1 -1
- package/dist/components/ui/pagination/pagination-item.svelte +1 -1
- package/dist/components/ui/pagination/pagination-item.svelte.d.ts +1 -1
- package/dist/components/ui/pagination/pagination-link.svelte +1 -1
- package/dist/components/ui/pagination/pagination-next.svelte +2 -2
- package/dist/components/ui/pagination/pagination-previous.svelte +2 -2
- package/dist/components/ui/pagination/pagination.svelte +0 -1
- package/dist/components/ui/popover/index.d.ts +2 -2
- package/dist/components/ui/popover/index.js +2 -2
- package/dist/components/ui/popover/popover-content.svelte +2 -2
- package/dist/components/ui/popover/popover-content.svelte.d.ts +1 -1
- package/dist/components/ui/popover/popover-description.svelte +1 -1
- package/dist/components/ui/popover/popover-description.svelte.d.ts +1 -1
- package/dist/components/ui/popover/popover-header.svelte +1 -1
- package/dist/components/ui/popover/popover-header.svelte.d.ts +1 -1
- package/dist/components/ui/popover/popover-title.svelte +1 -1
- package/dist/components/ui/popover/popover-title.svelte.d.ts +1 -1
- package/dist/components/ui/popover/popover-trigger.svelte +1 -1
- package/dist/components/ui/radio-group/index.d.ts +1 -1
- package/dist/components/ui/radio-group/index.js +1 -1
- package/dist/components/ui/radio-group/radio-group-item.svelte +1 -1
- package/dist/components/ui/range-calendar/index.d.ts +10 -10
- package/dist/components/ui/range-calendar/index.js +10 -10
- package/dist/components/ui/range-calendar/range-calendar-caption.svelte +3 -3
- package/dist/components/ui/range-calendar/range-calendar-caption.svelte.d.ts +3 -3
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte +1 -1
- package/dist/components/ui/range-calendar/range-calendar-month-select.svelte +2 -2
- package/dist/components/ui/range-calendar/range-calendar-months.svelte +1 -1
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +1 -1
- package/dist/components/ui/range-calendar/range-calendar-year-select.svelte +2 -2
- package/dist/components/ui/range-calendar/range-calendar.svelte +4 -4
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +4 -4
- package/dist/components/ui/scroll-area/scroll-area.svelte +1 -1
- package/dist/components/ui/select/index.d.ts +7 -7
- package/dist/components/ui/select/index.js +7 -7
- package/dist/components/ui/select/select-content.svelte +4 -4
- package/dist/components/ui/select/select-content.svelte.d.ts +2 -2
- package/dist/components/ui/select/select-item.svelte +2 -2
- package/dist/components/ui/select/select-scroll-down-button.svelte +1 -1
- package/dist/components/ui/select/select-scroll-up-button.svelte +1 -1
- package/dist/components/ui/select/select-separator.svelte +1 -1
- package/dist/components/ui/select/select-trigger.svelte +2 -2
- package/dist/components/ui/sheet/index.d.ts +6 -6
- package/dist/components/ui/sheet/index.js +6 -6
- package/dist/components/ui/sheet/sheet-content.svelte +4 -4
- package/dist/components/ui/sheet/sheet-content.svelte.d.ts +2 -2
- package/dist/components/ui/sheet/sheet-header.svelte +1 -1
- package/dist/components/ui/sheet/sheet-header.svelte.d.ts +1 -1
- package/dist/components/ui/sidebar/context.svelte.js +1 -1
- package/dist/components/ui/sidebar/index.d.ts +1 -1
- package/dist/components/ui/sidebar/index.js +1 -1
- package/dist/components/ui/sidebar/sidebar-content.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-content.svelte.d.ts +1 -1
- package/dist/components/ui/sidebar/sidebar-footer.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-footer.svelte.d.ts +1 -1
- package/dist/components/ui/sidebar/sidebar-group-action.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-group-label.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-group.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-group.svelte.d.ts +1 -1
- package/dist/components/ui/sidebar/sidebar-header.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-header.svelte.d.ts +1 -1
- package/dist/components/ui/sidebar/sidebar-input.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-input.svelte.d.ts +1 -1
- package/dist/components/ui/sidebar/sidebar-menu-action.svelte +2 -2
- package/dist/components/ui/sidebar/sidebar-menu-button.svelte +4 -4
- package/dist/components/ui/sidebar/sidebar-menu-button.svelte.d.ts +18 -18
- package/dist/components/ui/sidebar/sidebar-menu-skeleton.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-menu-sub-button.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-provider.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-rail.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-trigger.svelte +2 -2
- package/dist/components/ui/sidebar/sidebar.svelte +2 -2
- package/dist/components/ui/sonner/sonner.svelte +1 -1
- package/dist/components/ui/spinner/spinner.svelte +1 -1
- package/dist/components/ui/switch/switch.svelte +2 -2
- package/dist/components/ui/table/index.d.ts +1 -1
- package/dist/components/ui/table/index.js +1 -1
- package/dist/components/ui/table/table.svelte +1 -1
- package/dist/components/ui/table/table.svelte.d.ts +1 -1
- package/dist/components/ui/tabs/index.d.ts +2 -2
- package/dist/components/ui/tabs/index.js +2 -2
- package/dist/components/ui/tabs/tabs-list.svelte +1 -1
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +9 -9
- package/dist/components/ui/tabs/tabs-trigger.svelte +2 -2
- package/dist/components/ui/textarea/textarea.svelte +1 -1
- package/dist/components/ui/toggle/toggle.svelte +2 -2
- package/dist/components/ui/toggle/toggle.svelte.d.ts +18 -18
- package/dist/components/ui/toggle-group/index.d.ts +1 -1
- package/dist/components/ui/toggle-group/index.js +1 -1
- package/dist/components/ui/toggle-group/toggle-group-item.svelte +2 -2
- package/dist/components/ui/toggle-group/toggle-group.svelte +1 -1
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +1 -1
- package/dist/components/ui/tooltip/index.d.ts +3 -3
- package/dist/components/ui/tooltip/index.js +3 -3
- package/dist/components/ui/tooltip/tooltip-content.svelte +2 -2
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +1 -1
- package/package.json +16 -16
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
2
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
3
|
declare const CardTitle: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type CardTitle = ReturnType<typeof CardTitle>;
|
|
5
5
|
export default CardTitle;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
4
|
|
|
5
5
|
let {
|
|
6
6
|
ref = $bindable(null),
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
data-slot="card"
|
|
17
17
|
data-size={size}
|
|
18
18
|
class={cn(
|
|
19
|
-
"
|
|
19
|
+
"bg-card text-card-foreground ring-foreground/10 group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl py-(--card-spacing) text-sm ring-1 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",
|
|
20
20
|
className
|
|
21
21
|
)}
|
|
22
22
|
{...restProps}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
2
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
3
|
type $$ComponentProps = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
|
|
4
4
|
size?: "default" | "sm";
|
|
5
5
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Action from "./card-action.svelte";
|
|
2
2
|
import Content from "./card-content.svelte";
|
|
3
3
|
import Description from "./card-description.svelte";
|
|
4
4
|
import Footer from "./card-footer.svelte";
|
|
5
5
|
import Header from "./card-header.svelte";
|
|
6
6
|
import Title from "./card-title.svelte";
|
|
7
|
-
import
|
|
7
|
+
import Root from "./card.svelte";
|
|
8
8
|
export { Root, Content, Description, Footer, Header, Title, Action, Root as Card, Content as CardContent, Description as CardDescription, Footer as CardFooter, Header as CardHeader, Title as CardTitle, Action as CardAction, };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Action from "./card-action.svelte";
|
|
2
2
|
import Content from "./card-content.svelte";
|
|
3
3
|
import Description from "./card-description.svelte";
|
|
4
4
|
import Footer from "./card-footer.svelte";
|
|
5
5
|
import Header from "./card-header.svelte";
|
|
6
6
|
import Title from "./card-title.svelte";
|
|
7
|
-
import
|
|
7
|
+
import Root from "./card.svelte";
|
|
8
8
|
export { Root, Content, Description, Footer, Header, Title, Action,
|
|
9
9
|
//
|
|
10
10
|
Root as Card, Content as CardContent, Description as CardDescription, Footer as CardFooter, Header as CardHeader, Title as CardTitle, Action as CardAction, };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import emblaCarouselSvelte from "embla-carousel-svelte";
|
|
3
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
4
|
-
import { getEmblaContext } from "./context.js";
|
|
5
3
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
4
|
+
import { getEmblaContext } from "./context.js";
|
|
5
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
ref = $bindable(null),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
2
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
3
|
declare const CarouselContent: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type CarouselContent = ReturnType<typeof CarouselContent>;
|
|
5
5
|
export default CarouselContent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
-
import { getEmblaContext } from "./context.js";
|
|
4
2
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
|
+
import { getEmblaContext } from "./context.js";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
ref = $bindable(null),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
2
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
3
|
declare const CarouselItem: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type CarouselItem = ReturnType<typeof CarouselItem>;
|
|
5
5
|
export default CarouselItem;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type { WithoutChildren } from "bits-ui";
|
|
3
|
-
import { getEmblaContext } from "./context.js";
|
|
4
|
-
import { cn } from "../../../utils.js";
|
|
5
|
-
import { Button, type Props } from "../button/index.js";
|
|
6
2
|
import ChevronRightIcon from "@lucide/svelte/icons/chevron-right";
|
|
3
|
+
import { Button, type Props } from "../button/index.js";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
import { getEmblaContext } from "./context.js";
|
|
6
|
+
import type { WithoutChildren } from "bits-ui";
|
|
7
7
|
|
|
8
8
|
let {
|
|
9
9
|
ref = $bindable(null),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type { WithoutChildren } from "bits-ui";
|
|
3
|
-
import { getEmblaContext } from "./context.js";
|
|
4
|
-
import { cn } from "../../../utils.js";
|
|
5
|
-
import { Button, type Props } from "../button/index.js";
|
|
6
2
|
import ChevronLeftIcon from "@lucide/svelte/icons/chevron-left";
|
|
3
|
+
import { Button, type Props } from "../button/index.js";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
import { getEmblaContext } from "./context.js";
|
|
6
|
+
import type { WithoutChildren } from "bits-ui";
|
|
7
7
|
|
|
8
8
|
let {
|
|
9
9
|
ref = $bindable(null),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { type CarouselAPI, type CarouselProps, type EmblaContext, setEmblaContext } from "./context.js";
|
|
3
2
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
|
+
import { type CarouselAPI, type CarouselProps, type EmblaContext, setEmblaContext } from "./context.js";
|
|
4
4
|
|
|
5
5
|
let {
|
|
6
6
|
ref = $bindable(null),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type CarouselProps } from "./context.js";
|
|
2
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
+
import { type CarouselProps } from "./context.js";
|
|
3
3
|
declare const Carousel: import("svelte").Component<WithElementRef<CarouselProps>, {}, "ref">;
|
|
4
4
|
type Carousel = ReturnType<typeof Carousel>;
|
|
5
5
|
export default Carousel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Root from "./carousel.svelte";
|
|
2
1
|
import Content from "./carousel-content.svelte";
|
|
3
2
|
import Item from "./carousel-item.svelte";
|
|
4
|
-
import Previous from "./carousel-previous.svelte";
|
|
5
3
|
import Next from "./carousel-next.svelte";
|
|
4
|
+
import Previous from "./carousel-previous.svelte";
|
|
5
|
+
import Root from "./carousel.svelte";
|
|
6
6
|
export { Root, Content, Item, Previous, Next, Root as Carousel, Content as CarouselContent, Item as CarouselItem, Previous as CarouselPrevious, Next as CarouselNext, };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Root from "./carousel.svelte";
|
|
2
1
|
import Content from "./carousel-content.svelte";
|
|
3
2
|
import Item from "./carousel-item.svelte";
|
|
4
|
-
import Previous from "./carousel-previous.svelte";
|
|
5
3
|
import Next from "./carousel-next.svelte";
|
|
4
|
+
import Previous from "./carousel-previous.svelte";
|
|
5
|
+
import Root from "./carousel.svelte";
|
|
6
6
|
export { Root, Content, Item, Previous, Next,
|
|
7
7
|
//
|
|
8
8
|
Root as Carousel, Content as CarouselContent, Item as CarouselItem, Previous as CarouselPrevious, Next as CarouselNext, };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
4
3
|
import ChartStyle from "./chart-style.svelte";
|
|
5
4
|
import { setChartContext, type ChartConfig } from "./chart-utils.js";
|
|
5
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
6
6
|
|
|
7
7
|
const uid = $props.id();
|
|
8
8
|
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
// a grid line there and rule ends up overlapping the marks because it is rendered after
|
|
56
56
|
// the marks
|
|
57
57
|
"[&_.lc-rule-x-line:not(.lc-grid-x-rule)]:stroke-0 [&_.lc-rule-y-line:not(.lc-grid-y-rule)]:stroke-0",
|
|
58
|
-
"[&_.lc-grid-x-radial-
|
|
59
|
-
"[&_.lc-grid-y-radial-
|
|
58
|
+
"[&_.lc-grid-x-radial-circle]:stroke-border [&_.lc-grid-x-radial-line]:stroke-border",
|
|
59
|
+
"[&_.lc-grid-y-radial-circle]:stroke-border [&_.lc-grid-y-radial-line]:stroke-border",
|
|
60
60
|
|
|
61
61
|
// Legend adjustments
|
|
62
62
|
"[&_.lc-legend-swatch-button]:items-center [&_.lc-legend-swatch-button]:gap-1.5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
import { type ChartConfig } from "./chart-utils.js";
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = WithElementRef<HTMLAttributes<HTMLElement>> & {
|
|
5
5
|
config: ChartConfig;
|
|
6
6
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import { getChartContext, Tooltip as TooltipPrimitive } from "layerchart";
|
|
2
3
|
import { cn, type WithElementRef, type WithoutChildren } from "../../../utils.js";
|
|
3
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
4
4
|
import { getPayloadConfigFromPayload, useChart, type TooltipPayload } from "./chart-utils.js";
|
|
5
|
-
import { getChartContext, Tooltip as TooltipPrimitive } from "layerchart";
|
|
6
5
|
import type { Snippet } from "svelte";
|
|
6
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9
9
|
function defaultFormatter(value: any, _payload: TooltipPayload[]) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type WithElementRef, type WithoutChildren } from "../../../utils.js";
|
|
2
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
import { type TooltipPayload } from "./chart-utils.js";
|
|
4
3
|
import type { Snippet } from "svelte";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
type $$ComponentProps = WithoutChildren<WithElementRef<HTMLAttributes<HTMLDivElement>>> & {
|
|
6
6
|
hideLabel?: boolean;
|
|
7
7
|
label?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { Checkbox as CheckboxPrimitive } from "bits-ui";
|
|
3
|
-
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
4
3
|
import CheckIcon from "@lucide/svelte/icons/check";
|
|
5
4
|
import MinusIcon from "@lucide/svelte/icons/minus";
|
|
5
|
+
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
ref = $bindable(null),
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
bind:ref
|
|
18
18
|
data-slot="checkbox"
|
|
19
19
|
class={cn(
|
|
20
|
-
"border-input
|
|
20
|
+
"border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:ring-3 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3",
|
|
21
21
|
className
|
|
22
22
|
)}
|
|
23
23
|
bind:checked
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Root from "./collapsible.svelte";
|
|
2
|
-
import Trigger from "./collapsible-trigger.svelte";
|
|
3
1
|
import Content from "./collapsible-content.svelte";
|
|
2
|
+
import Trigger from "./collapsible-trigger.svelte";
|
|
3
|
+
import Root from "./collapsible.svelte";
|
|
4
4
|
export { Root, Content, Trigger, Root as Collapsible, Content as CollapsibleContent, Trigger as CollapsibleTrigger, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Root from "./collapsible.svelte";
|
|
2
|
-
import Trigger from "./collapsible-trigger.svelte";
|
|
3
1
|
import Content from "./collapsible-content.svelte";
|
|
2
|
+
import Trigger from "./collapsible-trigger.svelte";
|
|
3
|
+
import Root from "./collapsible.svelte";
|
|
4
4
|
export { Root, Content, Trigger,
|
|
5
5
|
//
|
|
6
6
|
Root as Collapsible, Content as CollapsibleContent, Trigger as CollapsibleTrigger, };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type { Command as CommandPrimitive, Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
-
import type { Snippet } from "svelte";
|
|
4
|
-
import Command from "./command.svelte";
|
|
5
2
|
import * as Dialog from "../dialog/index.js";
|
|
6
3
|
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
4
|
+
import Command from "./command.svelte";
|
|
5
|
+
import type { Command as CommandPrimitive, Dialog as DialogPrimitive } from "bits-ui";
|
|
6
|
+
import type { Snippet } from "svelte";
|
|
7
7
|
|
|
8
8
|
let {
|
|
9
9
|
open = $bindable(false),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { type WithoutChildrenOrChild } from "../../../utils.js";
|
|
1
2
|
import type { Command as CommandPrimitive, Dialog as DialogPrimitive } from "bits-ui";
|
|
2
3
|
import type { Snippet } from "svelte";
|
|
3
|
-
import { type WithoutChildrenOrChild } from "../../../utils.js";
|
|
4
4
|
type $$ComponentProps = WithoutChildrenOrChild<DialogPrimitive.RootProps> & WithoutChildrenOrChild<CommandPrimitive.RootProps> & {
|
|
5
5
|
portalProps?: DialogPrimitive.PortalProps;
|
|
6
6
|
children: Snippet;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { Command as CommandPrimitive } from "bits-ui";
|
|
3
|
-
import { cn } from "../../../utils.js";
|
|
4
3
|
import * as InputGroup from "../input-group/index.js";
|
|
5
4
|
import SearchIcon from "@lucide/svelte/icons/search";
|
|
5
|
+
import { cn } from "../../../utils.js";
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
ref = $bindable(null),
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<div data-slot="command-input-wrapper" class="p-1 pb-0">
|
|
16
16
|
<InputGroup.Root
|
|
17
|
-
class="
|
|
17
|
+
class="border-input/30 bg-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:pl-2!"
|
|
18
18
|
>
|
|
19
19
|
<CommandPrimitive.Input
|
|
20
20
|
{value}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { Command as CommandPrimitive } from "bits-ui";
|
|
3
|
-
import { cn } from "../../../utils.js";
|
|
4
3
|
import CheckIcon from "@lucide/svelte/icons/check";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
5
|
|
|
6
6
|
let { ref = $bindable(null), class: className, children, ...restProps }: CommandPrimitive.ItemProps = $props();
|
|
7
7
|
</script>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import Root from "./command.svelte";
|
|
2
|
-
import Loading from "./command-loading.svelte";
|
|
3
1
|
import Dialog from "./command-dialog.svelte";
|
|
4
2
|
import Empty from "./command-empty.svelte";
|
|
5
3
|
import Group from "./command-group.svelte";
|
|
6
|
-
import Item from "./command-item.svelte";
|
|
7
4
|
import Input from "./command-input.svelte";
|
|
5
|
+
import Item from "./command-item.svelte";
|
|
6
|
+
import LinkItem from "./command-link-item.svelte";
|
|
8
7
|
import List from "./command-list.svelte";
|
|
8
|
+
import Loading from "./command-loading.svelte";
|
|
9
9
|
import Separator from "./command-separator.svelte";
|
|
10
10
|
import Shortcut from "./command-shortcut.svelte";
|
|
11
|
-
import
|
|
11
|
+
import Root from "./command.svelte";
|
|
12
12
|
export { Root, Dialog, Empty, Group, Item, LinkItem, Input, List, Separator, Shortcut, Loading, Root as Command, Dialog as CommandDialog, Empty as CommandEmpty, Group as CommandGroup, Item as CommandItem, LinkItem as CommandLinkItem, Input as CommandInput, List as CommandList, Separator as CommandSeparator, Shortcut as CommandShortcut, Loading as CommandLoading, };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import Root from "./command.svelte";
|
|
2
|
-
import Loading from "./command-loading.svelte";
|
|
3
1
|
import Dialog from "./command-dialog.svelte";
|
|
4
2
|
import Empty from "./command-empty.svelte";
|
|
5
3
|
import Group from "./command-group.svelte";
|
|
6
|
-
import Item from "./command-item.svelte";
|
|
7
4
|
import Input from "./command-input.svelte";
|
|
5
|
+
import Item from "./command-item.svelte";
|
|
6
|
+
import LinkItem from "./command-link-item.svelte";
|
|
8
7
|
import List from "./command-list.svelte";
|
|
8
|
+
import Loading from "./command-loading.svelte";
|
|
9
9
|
import Separator from "./command-separator.svelte";
|
|
10
10
|
import Shortcut from "./command-shortcut.svelte";
|
|
11
|
-
import
|
|
11
|
+
import Root from "./command.svelte";
|
|
12
12
|
export { Root, Dialog, Empty, Group, Item, LinkItem, Input, List, Separator, Shortcut, Loading,
|
|
13
13
|
//
|
|
14
14
|
Root as Command, Dialog as CommandDialog, Empty as CommandEmpty, Group as CommandGroup, Item as CommandItem, LinkItem as CommandLinkItem, Input as CommandInput, List as CommandList, Separator as CommandSeparator, Shortcut as CommandShortcut, Loading as CommandLoading, };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
+
import CheckIcon from "@lucide/svelte/icons/check";
|
|
3
4
|
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
4
5
|
import type { Snippet } from "svelte";
|
|
5
|
-
import CheckIcon from "@lucide/svelte/icons/check";
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
ref = $bindable(null),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
3
|
import { cn } from "../../../utils.js";
|
|
4
|
+
import type { WithoutChildrenOrChild } from "../../../utils.js";
|
|
4
5
|
import ContextMenuPortal from "./context-menu-portal.svelte";
|
|
5
6
|
import type { ComponentProps } from "svelte";
|
|
6
|
-
import type { WithoutChildrenOrChild } from "../../../utils.js";
|
|
7
7
|
|
|
8
8
|
let {
|
|
9
9
|
ref = $bindable(null),
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
bind:ref
|
|
21
21
|
data-slot="context-menu-content"
|
|
22
22
|
class={cn(
|
|
23
|
-
"
|
|
23
|
+
"bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 min-w-36 overflow-x-hidden overflow-y-auto rounded-lg p-1 shadow-md ring-1 duration-100 outline-none",
|
|
24
24
|
className
|
|
25
25
|
)}
|
|
26
26
|
{...restProps}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
2
|
+
import type { WithoutChildrenOrChild } from "../../../utils.js";
|
|
2
3
|
import ContextMenuPortal from "./context-menu-portal.svelte";
|
|
3
4
|
import type { ComponentProps } from "svelte";
|
|
4
|
-
import type { WithoutChildrenOrChild } from "../../../utils.js";
|
|
5
5
|
type $$ComponentProps = ContextMenuPrimitive.ContentProps & {
|
|
6
6
|
portalProps?: WithoutChildrenOrChild<ComponentProps<typeof ContextMenuPortal>>;
|
|
7
7
|
};
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
data-inset={inset}
|
|
21
21
|
data-variant={variant}
|
|
22
22
|
class={cn(
|
|
23
|
-
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10
|
|
23
|
+
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 focus:*:[svg]:text-accent-foreground data-[variant=destructive]:*:[svg]:text-destructive group/context-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
24
24
|
className
|
|
25
25
|
)}
|
|
26
26
|
{...restProps}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
-
import { cn, type WithoutChild } from "../../../utils.js";
|
|
4
3
|
import CheckIcon from "@lucide/svelte/icons/check";
|
|
4
|
+
import { cn, type WithoutChild } from "../../../utils.js";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
ref = $bindable(null),
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
bind:ref
|
|
10
10
|
data-slot="context-menu-sub-content"
|
|
11
11
|
class={cn(
|
|
12
|
-
"
|
|
12
|
+
"bg-popover text-popover-foreground data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 min-w-32 rounded-lg border p-1 shadow-lg duration-100",
|
|
13
13
|
className
|
|
14
14
|
)}
|
|
15
15
|
{...restProps}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { ContextMenu as ContextMenuPrimitive } from "bits-ui";
|
|
3
|
-
import { cn, type WithoutChild } from "../../../utils.js";
|
|
4
3
|
import ChevronRightIcon from "@lucide/svelte/icons/chevron-right";
|
|
4
|
+
import { cn, type WithoutChild } from "../../../utils.js";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
ref = $bindable(null),
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import Trigger from "./context-menu-trigger.svelte";
|
|
1
|
+
import CheckboxItem from "./context-menu-checkbox-item.svelte";
|
|
2
|
+
import Content from "./context-menu-content.svelte";
|
|
3
|
+
import GroupHeading from "./context-menu-group-heading.svelte";
|
|
5
4
|
import Group from "./context-menu-group.svelte";
|
|
6
|
-
import RadioGroup from "./context-menu-radio-group.svelte";
|
|
7
5
|
import Item from "./context-menu-item.svelte";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
6
|
+
import Label from "./context-menu-label.svelte";
|
|
7
|
+
import Portal from "./context-menu-portal.svelte";
|
|
8
|
+
import RadioGroup from "./context-menu-radio-group.svelte";
|
|
11
9
|
import RadioItem from "./context-menu-radio-item.svelte";
|
|
12
10
|
import Separator from "./context-menu-separator.svelte";
|
|
11
|
+
import Shortcut from "./context-menu-shortcut.svelte";
|
|
13
12
|
import SubContent from "./context-menu-sub-content.svelte";
|
|
14
13
|
import SubTrigger from "./context-menu-sub-trigger.svelte";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
14
|
+
import Sub from "./context-menu-sub.svelte";
|
|
15
|
+
import Trigger from "./context-menu-trigger.svelte";
|
|
16
|
+
import Root from "./context-menu.svelte";
|
|
17
17
|
export { Root, Sub, Portal, Item, GroupHeading, Label, Group, Trigger, Content, Shortcut, Separator, RadioItem, SubContent, SubTrigger, RadioGroup, CheckboxItem, Root as ContextMenu, Sub as ContextMenuSub, Portal as ContextMenuPortal, Item as ContextMenuItem, GroupHeading as ContextMenuGroupHeading, Group as ContextMenuGroup, Content as ContextMenuContent, Trigger as ContextMenuTrigger, Shortcut as ContextMenuShortcut, RadioItem as ContextMenuRadioItem, Separator as ContextMenuSeparator, RadioGroup as ContextMenuRadioGroup, SubContent as ContextMenuSubContent, SubTrigger as ContextMenuSubTrigger, CheckboxItem as ContextMenuCheckboxItem, Label as ContextMenuLabel, };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import Trigger from "./context-menu-trigger.svelte";
|
|
1
|
+
import CheckboxItem from "./context-menu-checkbox-item.svelte";
|
|
2
|
+
import Content from "./context-menu-content.svelte";
|
|
3
|
+
import GroupHeading from "./context-menu-group-heading.svelte";
|
|
5
4
|
import Group from "./context-menu-group.svelte";
|
|
6
|
-
import RadioGroup from "./context-menu-radio-group.svelte";
|
|
7
5
|
import Item from "./context-menu-item.svelte";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
6
|
+
import Label from "./context-menu-label.svelte";
|
|
7
|
+
import Portal from "./context-menu-portal.svelte";
|
|
8
|
+
import RadioGroup from "./context-menu-radio-group.svelte";
|
|
11
9
|
import RadioItem from "./context-menu-radio-item.svelte";
|
|
12
10
|
import Separator from "./context-menu-separator.svelte";
|
|
11
|
+
import Shortcut from "./context-menu-shortcut.svelte";
|
|
13
12
|
import SubContent from "./context-menu-sub-content.svelte";
|
|
14
13
|
import SubTrigger from "./context-menu-sub-trigger.svelte";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
14
|
+
import Sub from "./context-menu-sub.svelte";
|
|
15
|
+
import Trigger from "./context-menu-trigger.svelte";
|
|
16
|
+
import Root from "./context-menu.svelte";
|
|
17
17
|
export { Root, Sub, Portal, Item, GroupHeading, Label, Group, Trigger, Content, Shortcut, Separator, RadioItem, SubContent, SubTrigger, RadioGroup, CheckboxItem,
|
|
18
18
|
//
|
|
19
19
|
Root as ContextMenu, Sub as ContextMenuSub, Portal as ContextMenuPortal, Item as ContextMenuItem, GroupHeading as ContextMenuGroupHeading, Group as ContextMenuGroup, Content as ContextMenuContent, Trigger as ContextMenuTrigger, Shortcut as ContextMenuShortcut, RadioItem as ContextMenuRadioItem, Separator as ContextMenuSeparator, RadioGroup as ContextMenuRadioGroup, SubContent as ContextMenuSubContent, SubTrigger as ContextMenuSubTrigger, CheckboxItem as ContextMenuCheckboxItem, Label as ContextMenuLabel, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" generics="TData, TValue, TContext extends HeaderContext<TData, TValue> | CellContext<TData, TValue>">
|
|
2
|
-
import type { CellContext, ColumnDefTemplate, HeaderContext } from "@tanstack/table-core";
|
|
3
2
|
import { RenderComponentConfig, RenderSnippetConfig } from "./render-helpers.js";
|
|
3
|
+
import type { CellContext, ColumnDefTemplate, HeaderContext } from "@tanstack/table-core";
|
|
4
4
|
import type { Attachment } from "svelte/attachments";
|
|
5
5
|
type Props = {
|
|
6
6
|
/** The cell or header field of the current cell's column definition. */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
3
|
+
import XIcon from "@lucide/svelte/icons/x";
|
|
4
|
+
import { Button } from "../button/index.js";
|
|
5
|
+
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
6
|
+
import * as Dialog from "./index.js";
|
|
3
7
|
import DialogPortal from "./dialog-portal.svelte";
|
|
4
8
|
import type { Snippet } from "svelte";
|
|
5
|
-
import * as Dialog from "./index.js";
|
|
6
|
-
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
7
9
|
import type { ComponentProps } from "svelte";
|
|
8
|
-
import { Button } from "../button/index.js";
|
|
9
|
-
import XIcon from "@lucide/svelte/icons/x";
|
|
10
10
|
|
|
11
11
|
let {
|
|
12
12
|
ref = $bindable(null),
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
bind:ref
|
|
29
29
|
data-slot="dialog-content"
|
|
30
30
|
class={cn(
|
|
31
|
-
"bg-popover text-popover-foreground data-open:animate-in data-
|
|
31
|
+
"bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl p-4 text-sm ring-1 duration-100 outline-none sm:max-w-sm",
|
|
32
32
|
className
|
|
33
33
|
)}
|
|
34
34
|
{...restProps}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
2
|
+
import { type WithoutChildrenOrChild } from "../../../utils.js";
|
|
2
3
|
import DialogPortal from "./dialog-portal.svelte";
|
|
3
4
|
import type { Snippet } from "svelte";
|
|
4
|
-
import { type WithoutChildrenOrChild } from "../../../utils.js";
|
|
5
5
|
import type { ComponentProps } from "svelte";
|
|
6
6
|
type $$ComponentProps = WithoutChildrenOrChild<DialogPrimitive.ContentProps> & {
|
|
7
7
|
portalProps?: WithoutChildrenOrChild<ComponentProps<typeof DialogPortal>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
4
2
|
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
5
3
|
import { Button } from "../button/index.js";
|
|
4
|
+
import { cn, type WithElementRef } from "../../../utils.js";
|
|
5
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
ref = $bindable(null),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
2
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
3
|
declare const DialogHeader: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type DialogHeader = ReturnType<typeof DialogHeader>;
|
|
5
5
|
export default DialogHeader;
|