@kayord/ui 3.0.11 → 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/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 BreadcrumbEllipsis: import("svelte").Component<Omit<WithElementRef<HTMLAttributes<HTMLSpanElement>>, "children">, {}, "ref">;
|
|
4
4
|
type BreadcrumbEllipsis = ReturnType<typeof BreadcrumbEllipsis>;
|
|
5
5
|
export default BreadcrumbEllipsis;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type { HTMLLiAttributes } from "svelte/elements";
|
|
3
2
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
|
+
import type { HTMLLiAttributes } from "svelte/elements";
|
|
4
4
|
|
|
5
5
|
let { ref = $bindable(null), class: className, children, ...restProps }: WithElementRef<HTMLLiAttributes> = $props();
|
|
6
6
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLLiAttributes } from "svelte/elements";
|
|
2
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
+
import type { HTMLLiAttributes } from "svelte/elements";
|
|
3
3
|
declare const BreadcrumbItem: import("svelte").Component<WithElementRef<HTMLLiAttributes>, {}, "ref">;
|
|
4
4
|
type BreadcrumbItem = ReturnType<typeof BreadcrumbItem>;
|
|
5
5
|
export default BreadcrumbItem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type { HTMLAnchorAttributes } from "svelte/elements";
|
|
3
|
-
import type { Snippet } from "svelte";
|
|
4
2
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
|
+
import type { Snippet } from "svelte";
|
|
4
|
+
import type { HTMLAnchorAttributes } from "svelte/elements";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
ref = $bindable(null),
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
const attrs = $derived({
|
|
18
18
|
"data-slot": "breadcrumb-link",
|
|
19
|
-
class: cn("hover:text-foreground
|
|
19
|
+
class: cn("transition-colors hover:text-foreground", className),
|
|
20
20
|
href,
|
|
21
21
|
...restProps,
|
|
22
22
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HTMLAnchorAttributes } from "svelte/elements";
|
|
2
|
-
import type { Snippet } from "svelte";
|
|
3
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
3
|
+
import type { HTMLAnchorAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = WithElementRef<HTMLAnchorAttributes> & {
|
|
5
5
|
child?: Snippet<[{
|
|
6
6
|
props: HTMLAnchorAttributes;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type { HTMLOlAttributes } from "svelte/elements";
|
|
3
2
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
|
+
import type { HTMLOlAttributes } from "svelte/elements";
|
|
4
4
|
|
|
5
5
|
let { ref = $bindable(null), class: className, children, ...restProps }: WithElementRef<HTMLOlAttributes> = $props();
|
|
6
6
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLOlAttributes } from "svelte/elements";
|
|
2
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
+
import type { HTMLOlAttributes } from "svelte/elements";
|
|
3
3
|
declare const BreadcrumbList: import("svelte").Component<WithElementRef<HTMLOlAttributes>, {}, "ref">;
|
|
4
4
|
type BreadcrumbList = ReturnType<typeof BreadcrumbList>;
|
|
5
5
|
export default BreadcrumbList;
|
|
@@ -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 BreadcrumbPage: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLSpanElement>>, {}, "ref">;
|
|
4
4
|
type BreadcrumbPage = ReturnType<typeof BreadcrumbPage>;
|
|
5
5
|
export default BreadcrumbPage;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import ChevronRightIcon from "@lucide/svelte/icons/chevron-right";
|
|
2
3
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
4
|
import type { HTMLLiAttributes } from "svelte/elements";
|
|
4
|
-
import ChevronRightIcon from "@lucide/svelte/icons/chevron-right";
|
|
5
5
|
|
|
6
6
|
let { ref = $bindable(null), class: className, children, ...restProps }: WithElementRef<HTMLLiAttributes> = $props();
|
|
7
7
|
</script>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { WithElementRef } from "../../../utils.js";
|
|
3
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
4
3
|
import { cn } from "../../../utils.js";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
ref = $bindable(null),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Root from "./breadcrumb.svelte";
|
|
2
1
|
import Ellipsis from "./breadcrumb-ellipsis.svelte";
|
|
3
2
|
import Item from "./breadcrumb-item.svelte";
|
|
4
|
-
import Separator from "./breadcrumb-separator.svelte";
|
|
5
3
|
import Link from "./breadcrumb-link.svelte";
|
|
6
4
|
import List from "./breadcrumb-list.svelte";
|
|
7
5
|
import Page from "./breadcrumb-page.svelte";
|
|
6
|
+
import Separator from "./breadcrumb-separator.svelte";
|
|
7
|
+
import Root from "./breadcrumb.svelte";
|
|
8
8
|
export { Root, Ellipsis, Item, Separator, Link, List, Page, Root as Breadcrumb, Ellipsis as BreadcrumbEllipsis, Item as BreadcrumbItem, Separator as BreadcrumbSeparator, Link as BreadcrumbLink, List as BreadcrumbList, Page as BreadcrumbPage, };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import Root from "./breadcrumb.svelte";
|
|
2
1
|
import Ellipsis from "./breadcrumb-ellipsis.svelte";
|
|
3
2
|
import Item from "./breadcrumb-item.svelte";
|
|
4
|
-
import Separator from "./breadcrumb-separator.svelte";
|
|
5
3
|
import Link from "./breadcrumb-link.svelte";
|
|
6
4
|
import List from "./breadcrumb-list.svelte";
|
|
7
5
|
import Page from "./breadcrumb-page.svelte";
|
|
6
|
+
import Separator from "./breadcrumb-separator.svelte";
|
|
7
|
+
import Root from "./breadcrumb.svelte";
|
|
8
8
|
export { Root, Ellipsis, Item, Separator, Link, List, Page,
|
|
9
9
|
//
|
|
10
10
|
Root as Breadcrumb, Ellipsis as BreadcrumbEllipsis, Item as BreadcrumbItem, Separator as BreadcrumbSeparator, Link as BreadcrumbLink, List as BreadcrumbList, Page as BreadcrumbPage, };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
+
import { type VariantProps, tv } from "tailwind-variants";
|
|
2
3
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
4
|
import type { HTMLAnchorAttributes, HTMLButtonAttributes } from "svelte/elements";
|
|
4
|
-
import { type VariantProps, tv } from "tailwind-variants";
|
|
5
5
|
|
|
6
6
|
export const buttonVariants = tv({
|
|
7
|
-
base: "focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:
|
|
7
|
+
base: "rounded-lg border border-transparent bg-clip-padding text-sm font-medium focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 group/button inline-flex shrink-0 items-center justify-center whitespace-nowrap transition-all outline-none select-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
8
8
|
variants: {
|
|
9
9
|
variant: {
|
|
10
10
|
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
11
11
|
outline:
|
|
12
|
-
"border-border bg-background hover:bg-muted hover:text-foreground
|
|
12
|
+
"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",
|
|
13
13
|
secondary:
|
|
14
14
|
"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
15
15
|
ghost:
|
|
16
|
-
"hover:bg-muted hover:text-foreground
|
|
16
|
+
"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
17
17
|
destructive:
|
|
18
|
-
"bg-destructive/10 hover:bg-destructive/20 focus-visible:
|
|
18
|
+
"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",
|
|
19
19
|
link: "text-primary underline-offset-4 hover:underline",
|
|
20
20
|
},
|
|
21
21
|
size: {
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
+
import { type VariantProps } from "tailwind-variants";
|
|
1
2
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
3
|
import type { HTMLAnchorAttributes, HTMLButtonAttributes } from "svelte/elements";
|
|
3
|
-
import { type VariantProps } from "tailwind-variants";
|
|
4
4
|
export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
|
|
5
5
|
variant: {
|
|
6
|
-
default:
|
|
7
|
-
outline:
|
|
8
|
-
secondary:
|
|
9
|
-
ghost:
|
|
10
|
-
destructive:
|
|
11
|
-
link:
|
|
6
|
+
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80";
|
|
7
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50";
|
|
8
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground";
|
|
9
|
+
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50";
|
|
10
|
+
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40";
|
|
11
|
+
link: "text-primary underline-offset-4 hover:underline";
|
|
12
12
|
};
|
|
13
13
|
size: {
|
|
14
|
-
default:
|
|
15
|
-
xs:
|
|
16
|
-
sm:
|
|
17
|
-
lg:
|
|
18
|
-
icon:
|
|
19
|
-
"icon-xs":
|
|
20
|
-
"icon-sm":
|
|
21
|
-
"icon-lg":
|
|
14
|
+
default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2";
|
|
15
|
+
xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3";
|
|
16
|
+
sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5";
|
|
17
|
+
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2";
|
|
18
|
+
icon: "size-8";
|
|
19
|
+
"icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3";
|
|
20
|
+
"icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg";
|
|
21
|
+
"icon-lg": "size-9";
|
|
22
22
|
};
|
|
23
|
-
}, undefined, "focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:
|
|
23
|
+
}, undefined, "rounded-lg border border-transparent bg-clip-padding text-sm font-medium focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 group/button inline-flex shrink-0 items-center justify-center whitespace-nowrap transition-all outline-none select-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
|
|
24
24
|
variant: {
|
|
25
|
-
default:
|
|
26
|
-
outline:
|
|
27
|
-
secondary:
|
|
28
|
-
ghost:
|
|
29
|
-
destructive:
|
|
30
|
-
link:
|
|
25
|
+
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80";
|
|
26
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50";
|
|
27
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground";
|
|
28
|
+
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50";
|
|
29
|
+
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40";
|
|
30
|
+
link: "text-primary underline-offset-4 hover:underline";
|
|
31
31
|
};
|
|
32
32
|
size: {
|
|
33
|
-
default:
|
|
34
|
-
xs:
|
|
35
|
-
sm:
|
|
36
|
-
lg:
|
|
37
|
-
icon:
|
|
38
|
-
"icon-xs":
|
|
39
|
-
"icon-sm":
|
|
40
|
-
"icon-lg":
|
|
33
|
+
default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2";
|
|
34
|
+
xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3";
|
|
35
|
+
sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5";
|
|
36
|
+
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2";
|
|
37
|
+
icon: "size-8";
|
|
38
|
+
"icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3";
|
|
39
|
+
"icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg";
|
|
40
|
+
"icon-lg": "size-9";
|
|
41
41
|
};
|
|
42
|
-
}, undefined, import("tailwind-variants").
|
|
42
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
43
43
|
variant: {
|
|
44
|
-
default:
|
|
45
|
-
outline:
|
|
46
|
-
secondary:
|
|
47
|
-
ghost:
|
|
48
|
-
destructive:
|
|
49
|
-
link:
|
|
44
|
+
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80";
|
|
45
|
+
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50";
|
|
46
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground";
|
|
47
|
+
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50";
|
|
48
|
+
destructive: "bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40";
|
|
49
|
+
link: "text-primary underline-offset-4 hover:underline";
|
|
50
50
|
};
|
|
51
51
|
size: {
|
|
52
|
-
default:
|
|
53
|
-
xs:
|
|
54
|
-
sm:
|
|
55
|
-
lg:
|
|
56
|
-
icon:
|
|
57
|
-
"icon-xs":
|
|
58
|
-
"icon-sm":
|
|
59
|
-
"icon-lg":
|
|
52
|
+
default: "h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2";
|
|
53
|
+
xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3";
|
|
54
|
+
sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5";
|
|
55
|
+
lg: "h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2";
|
|
56
|
+
icon: "size-8";
|
|
57
|
+
"icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3";
|
|
58
|
+
"icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg";
|
|
59
|
+
"icon-lg": "size-9";
|
|
60
60
|
};
|
|
61
|
-
}, undefined
|
|
61
|
+
}, undefined>>;
|
|
62
62
|
export type ButtonVariant = VariantProps<typeof buttonVariants>["variant"];
|
|
63
63
|
export type ButtonSize = VariantProps<typeof buttonVariants>["size"];
|
|
64
64
|
export type ButtonProps = WithElementRef<HTMLButtonAttributes> & WithElementRef<HTMLAnchorAttributes> & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
4
3
|
import type { Snippet } from "svelte";
|
|
4
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
ref = $bindable(null),
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
const mergedProps = $derived({
|
|
16
16
|
...restProps,
|
|
17
17
|
class: cn(
|
|
18
|
-
"
|
|
18
|
+
"gap-2 rounded-lg border bg-muted px-2.5 text-sm font-medium [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",
|
|
19
19
|
className
|
|
20
20
|
),
|
|
21
21
|
"data-slot": "button-group-text",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type WithElementRef } from "../../../utils.js";
|
|
2
|
-
import type { HTMLAttributes } from "svelte/elements";
|
|
3
2
|
import type { Snippet } from "svelte";
|
|
3
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
4
4
|
type $$ComponentProps = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
|
|
5
5
|
child?: Snippet<[{
|
|
6
6
|
props: Record<string, unknown>;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
2
|
export declare const buttonGroupVariants: import("tailwind-variants").TVReturnType<{
|
|
3
3
|
orientation: {
|
|
4
|
-
horizontal:
|
|
5
|
-
vertical:
|
|
4
|
+
horizontal: "[&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg! [&>[data-slot]]:rounded-r-none [&>[data-slot]~[data-slot]]:rounded-l-none [&>[data-slot]~[data-slot]]:border-l-0";
|
|
5
|
+
vertical: "[&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg! flex-col [&>[data-slot]]:rounded-b-none [&>[data-slot]~[data-slot]]:rounded-t-none [&>[data-slot]~[data-slot]]:border-t-0";
|
|
6
6
|
};
|
|
7
7
|
}, undefined, "has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg flex w-fit items-stretch [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1", {
|
|
8
8
|
orientation: {
|
|
9
|
-
horizontal:
|
|
10
|
-
vertical:
|
|
9
|
+
horizontal: "[&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg! [&>[data-slot]]:rounded-r-none [&>[data-slot]~[data-slot]]:rounded-l-none [&>[data-slot]~[data-slot]]:border-l-0";
|
|
10
|
+
vertical: "[&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg! flex-col [&>[data-slot]]:rounded-b-none [&>[data-slot]~[data-slot]]:rounded-t-none [&>[data-slot]~[data-slot]]:border-t-0";
|
|
11
11
|
};
|
|
12
|
-
}, undefined, import("tailwind-variants").
|
|
12
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
13
13
|
orientation: {
|
|
14
|
-
horizontal:
|
|
15
|
-
vertical:
|
|
14
|
+
horizontal: "[&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg! [&>[data-slot]]:rounded-r-none [&>[data-slot]~[data-slot]]:rounded-l-none [&>[data-slot]~[data-slot]]:border-l-0";
|
|
15
|
+
vertical: "[&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg! flex-col [&>[data-slot]]:rounded-b-none [&>[data-slot]~[data-slot]]:rounded-t-none [&>[data-slot]~[data-slot]]:border-t-0";
|
|
16
16
|
};
|
|
17
|
-
}, undefined
|
|
17
|
+
}, undefined>>;
|
|
18
18
|
export type ButtonGroupOrientation = VariantProps<typeof buttonGroupVariants>["orientation"];
|
|
19
19
|
import { type WithElementRef } from "../../../utils.js";
|
|
20
20
|
import type { HTMLAttributes } from "svelte/elements";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Root, { buttonGroupVariants, type ButtonGroupOrientation } from "./button-group.svelte";
|
|
2
|
-
import Text from "./button-group-text.svelte";
|
|
3
1
|
import Separator from "./button-group-separator.svelte";
|
|
2
|
+
import Text from "./button-group-text.svelte";
|
|
3
|
+
import Root, { buttonGroupVariants, type ButtonGroupOrientation } from "./button-group.svelte";
|
|
4
4
|
export { Root, Text, Separator, buttonGroupVariants, type ButtonGroupOrientation, Root as ButtonGroup, Text as ButtonGroupText, Separator as ButtonGroupSeparator, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Root, { buttonGroupVariants } from "./button-group.svelte";
|
|
2
|
-
import Text from "./button-group-text.svelte";
|
|
3
1
|
import Separator from "./button-group-separator.svelte";
|
|
2
|
+
import Text from "./button-group-text.svelte";
|
|
3
|
+
import Root, { buttonGroupVariants } from "./button-group.svelte";
|
|
4
4
|
export { Root, Text, Separator, buttonGroupVariants,
|
|
5
5
|
//
|
|
6
6
|
Root as ButtonGroup, Text as ButtonGroupText, Separator as ButtonGroupSeparator, };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type
|
|
3
|
-
import type Calendar from "./calendar.svelte";
|
|
2
|
+
import { DateFormatter, getLocalTimeZone, type DateValue } from "@internationalized/date";
|
|
4
3
|
import CalendarMonthSelect from "./calendar-month-select.svelte";
|
|
5
4
|
import CalendarYearSelect from "./calendar-year-select.svelte";
|
|
6
|
-
import
|
|
5
|
+
import type Calendar from "./calendar.svelte";
|
|
6
|
+
import type { ComponentProps } from "svelte";
|
|
7
7
|
|
|
8
8
|
let {
|
|
9
9
|
captionLayout,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type Calendar from "./calendar.svelte";
|
|
1
|
+
import { type DateValue } from "@internationalized/date";
|
|
3
2
|
import CalendarMonthSelect from "./calendar-month-select.svelte";
|
|
4
3
|
import CalendarYearSelect from "./calendar-year-select.svelte";
|
|
5
|
-
import
|
|
4
|
+
import type Calendar from "./calendar.svelte";
|
|
5
|
+
import type { ComponentProps } from "svelte";
|
|
6
6
|
type $$ComponentProps = {
|
|
7
7
|
captionLayout: ComponentProps<typeof Calendar>["captionLayout"];
|
|
8
8
|
months: ComponentProps<typeof CalendarMonthSelect>["months"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { cn } from "../../../utils.js";
|
|
3
2
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
4
|
|
|
5
5
|
let { ref = $bindable(null), class: className, ...restProps }: CalendarPrimitive.DayProps = $props();
|
|
6
6
|
</script>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
-
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
4
3
|
import ChevronDownIcon from "@lucide/svelte/icons/chevron-down";
|
|
4
|
+
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
ref = $bindable(null),
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<span
|
|
16
16
|
class={cn(
|
|
17
|
-
"has-focus:border-ring
|
|
17
|
+
"border-input has-focus:border-ring has-focus:ring-ring/50 relative flex rounded-md border shadow-xs has-focus:ring-[3px]",
|
|
18
18
|
className
|
|
19
19
|
)}
|
|
20
20
|
>
|
|
@@ -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 CalendarMonths: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type CalendarMonths = ReturnType<typeof CalendarMonths>;
|
|
5
5
|
export default CalendarMonths;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
-
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
4
3
|
import ChevronDownIcon from "@lucide/svelte/icons/chevron-down";
|
|
4
|
+
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
5
5
|
|
|
6
6
|
let {
|
|
7
7
|
ref = $bindable(null),
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
<span
|
|
15
15
|
class={cn(
|
|
16
|
-
"has-focus:border-ring
|
|
16
|
+
"border-input has-focus:border-ring has-focus:ring-ring/50 relative flex rounded-md border shadow-xs has-focus:ring-[3px]",
|
|
17
17
|
className
|
|
18
18
|
)}
|
|
19
19
|
>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import { isEqualMonth, type DateValue } from "@internationalized/date";
|
|
2
3
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
3
|
-
import * as Calendar from "./index.js";
|
|
4
4
|
import { cn, type WithoutChildrenOrChild } from "../../../utils.js";
|
|
5
|
+
import * as Calendar from "./index.js";
|
|
5
6
|
import type { ButtonVariant } from "../button/button.svelte";
|
|
6
|
-
import { isEqualMonth, type DateValue } from "@internationalized/date";
|
|
7
7
|
import type { Snippet } from "svelte";
|
|
8
8
|
|
|
9
9
|
let {
|
|
@@ -50,7 +50,7 @@ get along, so we shut typescript up by casting `value` to `never`.
|
|
|
50
50
|
{weekdayFormat}
|
|
51
51
|
{disableDaysOutsideMonth}
|
|
52
52
|
class={cn(
|
|
53
|
-
"bg-background
|
|
53
|
+
"group/calendar bg-background p-2 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(7)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent",
|
|
54
54
|
className
|
|
55
55
|
)}
|
|
56
56
|
{locale}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { type DateValue } from "@internationalized/date";
|
|
1
2
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
2
|
-
import * as Calendar from "./index.js";
|
|
3
3
|
import { type WithoutChildrenOrChild } from "../../../utils.js";
|
|
4
|
+
import * as Calendar from "./index.js";
|
|
4
5
|
import type { ButtonVariant } from "../button/button.svelte";
|
|
5
|
-
import { type DateValue } from "@internationalized/date";
|
|
6
6
|
import type { Snippet } from "svelte";
|
|
7
7
|
type $$ComponentProps = WithoutChildrenOrChild<CalendarPrimitive.RootProps> & {
|
|
8
8
|
buttonVariant?: ButtonVariant;
|
|
@@ -16,6 +16,6 @@ type $$ComponentProps = WithoutChildrenOrChild<CalendarPrimitive.RootProps> & {
|
|
|
16
16
|
outsideMonth: boolean;
|
|
17
17
|
}]>;
|
|
18
18
|
};
|
|
19
|
-
declare const Calendar: import("svelte").Component<$$ComponentProps, {}, "
|
|
19
|
+
declare const Calendar: import("svelte").Component<$$ComponentProps, {}, "placeholder" | "ref" | "value">;
|
|
20
20
|
type Calendar = ReturnType<typeof Calendar>;
|
|
21
21
|
export default Calendar;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Caption from "./calendar-caption.svelte";
|
|
2
2
|
import Cell from "./calendar-cell.svelte";
|
|
3
3
|
import Day from "./calendar-day.svelte";
|
|
4
|
-
import Grid from "./calendar-grid.svelte";
|
|
5
|
-
import Header from "./calendar-header.svelte";
|
|
6
|
-
import Months from "./calendar-months.svelte";
|
|
7
|
-
import GridRow from "./calendar-grid-row.svelte";
|
|
8
|
-
import Heading from "./calendar-heading.svelte";
|
|
9
4
|
import GridBody from "./calendar-grid-body.svelte";
|
|
10
5
|
import GridHead from "./calendar-grid-head.svelte";
|
|
6
|
+
import GridRow from "./calendar-grid-row.svelte";
|
|
7
|
+
import Grid from "./calendar-grid.svelte";
|
|
11
8
|
import HeadCell from "./calendar-head-cell.svelte";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
9
|
+
import Header from "./calendar-header.svelte";
|
|
10
|
+
import Heading from "./calendar-heading.svelte";
|
|
14
11
|
import MonthSelect from "./calendar-month-select.svelte";
|
|
15
|
-
import YearSelect from "./calendar-year-select.svelte";
|
|
16
12
|
import Month from "./calendar-month.svelte";
|
|
13
|
+
import Months from "./calendar-months.svelte";
|
|
17
14
|
import Nav from "./calendar-nav.svelte";
|
|
18
|
-
import
|
|
15
|
+
import NextButton from "./calendar-next-button.svelte";
|
|
16
|
+
import PrevButton from "./calendar-prev-button.svelte";
|
|
17
|
+
import YearSelect from "./calendar-year-select.svelte";
|
|
18
|
+
import Root from "./calendar.svelte";
|
|
19
19
|
export { Day, Cell, Grid, Header, Months, GridRow, Heading, GridBody, GridHead, HeadCell, NextButton, PrevButton, Nav, Month, YearSelect, MonthSelect, Caption, Root as Calendar, };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Caption from "./calendar-caption.svelte";
|
|
2
2
|
import Cell from "./calendar-cell.svelte";
|
|
3
3
|
import Day from "./calendar-day.svelte";
|
|
4
|
-
import Grid from "./calendar-grid.svelte";
|
|
5
|
-
import Header from "./calendar-header.svelte";
|
|
6
|
-
import Months from "./calendar-months.svelte";
|
|
7
|
-
import GridRow from "./calendar-grid-row.svelte";
|
|
8
|
-
import Heading from "./calendar-heading.svelte";
|
|
9
4
|
import GridBody from "./calendar-grid-body.svelte";
|
|
10
5
|
import GridHead from "./calendar-grid-head.svelte";
|
|
6
|
+
import GridRow from "./calendar-grid-row.svelte";
|
|
7
|
+
import Grid from "./calendar-grid.svelte";
|
|
11
8
|
import HeadCell from "./calendar-head-cell.svelte";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
9
|
+
import Header from "./calendar-header.svelte";
|
|
10
|
+
import Heading from "./calendar-heading.svelte";
|
|
14
11
|
import MonthSelect from "./calendar-month-select.svelte";
|
|
15
|
-
import YearSelect from "./calendar-year-select.svelte";
|
|
16
12
|
import Month from "./calendar-month.svelte";
|
|
13
|
+
import Months from "./calendar-months.svelte";
|
|
17
14
|
import Nav from "./calendar-nav.svelte";
|
|
18
|
-
import
|
|
15
|
+
import NextButton from "./calendar-next-button.svelte";
|
|
16
|
+
import PrevButton from "./calendar-prev-button.svelte";
|
|
17
|
+
import YearSelect from "./calendar-year-select.svelte";
|
|
18
|
+
import Root from "./calendar.svelte";
|
|
19
19
|
export { Day, Cell, Grid, Header, Months, GridRow, Heading, GridBody, GridHead, HeadCell, NextButton, PrevButton, Nav, Month, YearSelect, MonthSelect, Caption,
|
|
20
20
|
//
|
|
21
21
|
Root as Calendar, };
|
|
@@ -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 CardContent: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type CardContent = ReturnType<typeof CardContent>;
|
|
5
5
|
export default CardContent;
|
|
@@ -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 CardDescription: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLParagraphElement>>, {}, "ref">;
|
|
4
4
|
type CardDescription = ReturnType<typeof CardDescription>;
|
|
5
5
|
export default CardDescription;
|