@nasa-jpl/stellar-svelte 2.0.0-alpha.27 → 2.0.0-alpha.29
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/ui/accordion/accordion-content.svelte +21 -0
- package/dist/components/ui/accordion/accordion-content.svelte.d.ts +19 -0
- package/dist/components/ui/accordion/accordion-item.svelte +10 -0
- package/dist/components/ui/accordion/accordion-item.svelte.d.ts +19 -0
- package/dist/components/ui/accordion/accordion-trigger.svelte +21 -0
- package/dist/components/ui/accordion/accordion-trigger.svelte.d.ts +15 -0
- package/dist/components/ui/accordion/index.d.ts +6 -0
- package/dist/components/ui/accordion/index.js +8 -0
- package/dist/components/ui/alert-dialog/alert-dialog-action.svelte.d.ts +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog-cancel.svelte.d.ts +1 -1
- package/dist/components/ui/avatar/avatar-fallback.svelte +12 -0
- package/dist/components/ui/avatar/avatar-fallback.svelte.d.ts +19 -0
- package/dist/components/ui/avatar/avatar-image.svelte +14 -0
- package/dist/components/ui/avatar/avatar-image.svelte.d.ts +17 -0
- package/dist/components/ui/avatar/avatar.svelte +14 -0
- package/dist/components/ui/avatar/avatar.svelte.d.ts +19 -0
- package/dist/components/ui/avatar/index.d.ts +4 -0
- package/dist/components/ui/avatar/index.js +6 -0
- package/dist/components/ui/button/index.d.ts +13 -6
- package/dist/components/ui/button/index.js +18 -17
- package/dist/components/ui/calendar/calendar-cell.svelte +17 -0
- package/dist/components/ui/calendar/calendar-cell.svelte.d.ts +19 -0
- package/dist/components/ui/calendar/calendar-day.svelte +37 -0
- package/dist/components/ui/calendar/calendar-day.svelte.d.ts +38 -0
- package/dist/components/ui/calendar/calendar-grid-body.svelte +9 -0
- package/dist/components/ui/calendar/calendar-grid-body.svelte.d.ts +19 -0
- package/dist/components/ui/calendar/calendar-grid-head.svelte +9 -0
- package/dist/components/ui/calendar/calendar-grid-head.svelte.d.ts +19 -0
- package/dist/components/ui/calendar/calendar-grid-row.svelte +9 -0
- package/dist/components/ui/calendar/calendar-grid-row.svelte.d.ts +19 -0
- package/dist/components/ui/calendar/calendar-grid.svelte +9 -0
- package/dist/components/ui/calendar/calendar-grid.svelte.d.ts +19 -0
- package/dist/components/ui/calendar/calendar-head-cell.svelte +12 -0
- package/dist/components/ui/calendar/calendar-head-cell.svelte.d.ts +19 -0
- package/dist/components/ui/calendar/calendar-header.svelte +12 -0
- package/dist/components/ui/calendar/calendar-header.svelte.d.ts +19 -0
- package/dist/components/ui/calendar/calendar-heading.svelte +15 -0
- package/dist/components/ui/calendar/calendar-heading.svelte.d.ts +21 -0
- package/dist/components/ui/calendar/calendar-months.svelte +11 -0
- package/dist/components/ui/calendar/calendar-months.svelte.d.ts +19 -0
- package/dist/components/ui/calendar/calendar-next-button.svelte +22 -0
- package/dist/components/ui/calendar/calendar-next-button.svelte.d.ts +30 -0
- package/dist/components/ui/calendar/calendar-prev-button.svelte +22 -0
- package/dist/components/ui/calendar/calendar-prev-button.svelte.d.ts +30 -0
- package/dist/components/ui/calendar/calendar.svelte +52 -0
- package/dist/components/ui/calendar/calendar.svelte.d.ts +13 -0
- package/dist/components/ui/calendar/index.d.ts +14 -0
- package/dist/components/ui/calendar/index.js +16 -0
- package/dist/components/ui/card/card-content.svelte +8 -0
- package/dist/components/ui/card/card-content.svelte.d.ts +19 -0
- package/dist/components/ui/card/card-description.svelte +8 -0
- package/dist/components/ui/card/card-description.svelte.d.ts +19 -0
- package/dist/components/ui/card/card-footer.svelte +8 -0
- package/dist/components/ui/card/card-footer.svelte.d.ts +19 -0
- package/dist/components/ui/card/card-header.svelte +8 -0
- package/dist/components/ui/card/card-header.svelte.d.ts +19 -0
- package/dist/components/ui/card/card-title.svelte +13 -0
- package/dist/components/ui/card/card-title.svelte.d.ts +22 -0
- package/dist/components/ui/card/card.svelte +11 -0
- package/dist/components/ui/card/card.svelte.d.ts +19 -0
- package/dist/components/ui/card/index.d.ts +8 -0
- package/dist/components/ui/card/index.js +9 -0
- package/dist/components/ui/carousel/carousel-content.svelte +29 -0
- package/dist/components/ui/carousel/carousel-content.svelte.d.ts +19 -0
- package/dist/components/ui/carousel/carousel-item.svelte +20 -0
- package/dist/components/ui/carousel/carousel-item.svelte.d.ts +19 -0
- package/dist/components/ui/carousel/carousel-next.svelte +31 -0
- package/dist/components/ui/carousel/carousel-next.svelte.d.ts +17 -0
- package/dist/components/ui/carousel/carousel-previous.svelte +31 -0
- package/dist/components/ui/carousel/carousel-previous.svelte.d.ts +17 -0
- package/dist/components/ui/carousel/carousel.svelte +85 -0
- package/dist/components/ui/carousel/carousel.svelte.d.ts +22 -0
- package/dist/components/ui/carousel/context.d.ts +32 -0
- package/dist/components/ui/carousel/context.js +12 -0
- package/dist/components/ui/carousel/index.d.ts +5 -0
- package/dist/components/ui/carousel/index.js +5 -0
- package/dist/components/ui/checkbox/checkbox.svelte +30 -0
- package/dist/components/ui/checkbox/checkbox.svelte.d.ts +13 -0
- package/dist/components/ui/checkbox/index.d.ts +2 -0
- package/dist/components/ui/checkbox/index.js +4 -0
- package/dist/components/ui/collapsible/collapsible-content.svelte +11 -0
- package/dist/components/ui/collapsible/collapsible-content.svelte.d.ts +19 -0
- package/dist/components/ui/collapsible/index.d.ts +5 -0
- package/dist/components/ui/collapsible/index.js +7 -0
- package/dist/components/ui/command/command-dialog.svelte +17 -0
- package/dist/components/ui/command/command-dialog.svelte.d.ts +40 -0
- package/dist/components/ui/command/command-empty.svelte +9 -0
- package/dist/components/ui/command/command-empty.svelte.d.ts +19 -0
- package/dist/components/ui/command/command-group.svelte +15 -0
- package/dist/components/ui/command/command-group.svelte.d.ts +19 -0
- package/dist/components/ui/command/command-input.svelte +19 -0
- package/dist/components/ui/command/command-input.svelte.d.ts +17 -0
- package/dist/components/ui/command/command-item.svelte +19 -0
- package/dist/components/ui/command/command-item.svelte.d.ts +33 -0
- package/dist/components/ui/command/command-list.svelte +12 -0
- package/dist/components/ui/command/command-list.svelte.d.ts +19 -0
- package/dist/components/ui/command/command-separator.svelte +7 -0
- package/dist/components/ui/command/command-separator.svelte.d.ts +17 -0
- package/dist/components/ui/command/command-shortcut.svelte +11 -0
- package/dist/components/ui/command/command-shortcut.svelte.d.ts +19 -0
- package/dist/components/ui/command/command.svelte +17 -0
- package/dist/components/ui/command/command.svelte.d.ts +19 -0
- package/dist/components/ui/command/index.d.ts +12 -0
- package/dist/components/ui/command/index.js +14 -0
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte +30 -0
- package/dist/components/ui/context-menu/context-menu-checkbox-item.svelte.d.ts +15 -0
- package/dist/components/ui/context-menu/context-menu-content.svelte +20 -0
- package/dist/components/ui/context-menu/context-menu-content.svelte.d.ts +21 -0
- package/dist/components/ui/context-menu/context-menu-item.svelte +24 -0
- package/dist/components/ui/context-menu/context-menu-item.svelte.d.ts +17 -0
- package/dist/components/ui/context-menu/context-menu-label.svelte +13 -0
- package/dist/components/ui/context-menu/context-menu-label.svelte.d.ts +23 -0
- package/dist/components/ui/context-menu/context-menu-radio-group.svelte +7 -0
- package/dist/components/ui/context-menu/context-menu-radio-group.svelte.d.ts +19 -0
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte +30 -0
- package/dist/components/ui/context-menu/context-menu-radio-item.svelte.d.ts +15 -0
- package/dist/components/ui/context-menu/context-menu-separator.svelte +10 -0
- package/dist/components/ui/context-menu/context-menu-separator.svelte.d.ts +17 -0
- package/dist/components/ui/context-menu/context-menu-shortcut.svelte +11 -0
- package/dist/components/ui/context-menu/context-menu-shortcut.svelte.d.ts +19 -0
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte +25 -0
- package/dist/components/ui/context-menu/context-menu-sub-content.svelte.d.ts +23 -0
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte +25 -0
- package/dist/components/ui/context-menu/context-menu-sub-trigger.svelte.d.ts +21 -0
- package/dist/components/ui/context-menu/index.d.ts +16 -0
- package/dist/components/ui/context-menu/index.js +18 -0
- package/dist/components/ui/dialog/dialog-content.svelte +32 -0
- package/dist/components/ui/dialog/dialog-content.svelte.d.ts +19 -0
- package/dist/components/ui/dialog/dialog-description.svelte +12 -0
- package/dist/components/ui/dialog/dialog-description.svelte.d.ts +19 -0
- package/dist/components/ui/dialog/dialog-footer.svelte +11 -0
- package/dist/components/ui/dialog/dialog-footer.svelte.d.ts +19 -0
- package/dist/components/ui/dialog/dialog-header.svelte +8 -0
- package/dist/components/ui/dialog/dialog-header.svelte.d.ts +19 -0
- package/dist/components/ui/dialog/dialog-overlay.svelte +17 -0
- package/dist/components/ui/dialog/dialog-overlay.svelte.d.ts +17 -0
- package/dist/components/ui/dialog/dialog-portal.svelte +6 -0
- package/dist/components/ui/dialog/dialog-portal.svelte.d.ts +19 -0
- package/dist/components/ui/dialog/dialog-title.svelte +12 -0
- package/dist/components/ui/dialog/dialog-title.svelte.d.ts +19 -0
- package/dist/components/ui/dialog/index.d.ts +12 -0
- package/dist/components/ui/dialog/index.js +14 -0
- package/dist/components/ui/drawer/drawer-content.svelte +20 -0
- package/dist/components/ui/drawer/drawer-content.svelte.d.ts +19 -0
- package/dist/components/ui/drawer/drawer-description.svelte +14 -0
- package/dist/components/ui/drawer/drawer-description.svelte.d.ts +18 -0
- package/dist/components/ui/drawer/drawer-footer.svelte +9 -0
- package/dist/components/ui/drawer/drawer-footer.svelte.d.ts +21 -0
- package/dist/components/ui/drawer/drawer-header.svelte +13 -0
- package/dist/components/ui/drawer/drawer-header.svelte.d.ts +21 -0
- package/dist/components/ui/drawer/drawer-nested.svelte +9 -0
- package/dist/components/ui/drawer/drawer-nested.svelte.d.ts +19 -0
- package/dist/components/ui/drawer/drawer-overlay.svelte +14 -0
- package/dist/components/ui/drawer/drawer-overlay.svelte.d.ts +19 -0
- package/dist/components/ui/drawer/drawer-title.svelte +14 -0
- package/dist/components/ui/drawer/drawer-title.svelte.d.ts +18 -0
- package/dist/components/ui/drawer/drawer.svelte +9 -0
- package/dist/components/ui/drawer/drawer.svelte.d.ts +19 -0
- package/dist/components/ui/drawer/index.d.ts +13 -0
- package/dist/components/ui/drawer/index.js +15 -0
- package/dist/components/ui/form/form-button.svelte +6 -0
- package/dist/components/ui/form/form-button.svelte.d.ts +15 -0
- package/dist/components/ui/form/form-description.svelte +13 -0
- package/dist/components/ui/form/form-description.svelte.d.ts +25 -0
- package/dist/components/ui/form/form-element-field.svelte +15 -0
- package/dist/components/ui/form/form-element-field.svelte.d.ts +24 -0
- package/dist/components/ui/form/form-field-errors.svelte +20 -0
- package/dist/components/ui/form/form-field-errors.svelte.d.ts +36 -0
- package/dist/components/ui/form/form-field.svelte +15 -0
- package/dist/components/ui/form/form-field.svelte.d.ts +24 -0
- package/dist/components/ui/form/form-fieldset.svelte +21 -0
- package/dist/components/ui/form/form-fieldset.svelte.d.ts +23 -0
- package/dist/components/ui/form/form-label.svelte +11 -0
- package/dist/components/ui/form/form-label.svelte.d.ts +21 -0
- package/dist/components/ui/form/form-legend.svelte +13 -0
- package/dist/components/ui/form/form-legend.svelte.d.ts +24 -0
- package/dist/components/ui/form/index.d.ts +11 -0
- package/dist/components/ui/form/index.js +13 -0
- package/dist/components/ui/hover-card/hover-card-content.svelte +23 -0
- package/dist/components/ui/hover-card/hover-card-content.svelte.d.ts +19 -0
- package/dist/components/ui/hover-card/index.d.ts +5 -0
- package/dist/components/ui/hover-card/index.js +5 -0
- package/dist/components/ui/input/index.d.ts +23 -0
- package/dist/components/ui/input/index.js +4 -0
- package/dist/components/ui/input/input.svelte +32 -0
- package/dist/components/ui/input/input.svelte.d.ts +14 -0
- package/dist/components/ui/label/index.d.ts +2 -0
- package/dist/components/ui/label/index.js +4 -0
- package/dist/components/ui/label/label.svelte +16 -0
- package/dist/components/ui/label/label.svelte.d.ts +15 -0
- package/dist/components/ui/menubar/index.d.ts +17 -0
- package/dist/components/ui/menubar/index.js +19 -0
- package/dist/components/ui/menubar/menubar-checkbox-item.svelte +30 -0
- package/dist/components/ui/menubar/menubar-checkbox-item.svelte.d.ts +15 -0
- package/dist/components/ui/menubar/menubar-content.svelte +28 -0
- package/dist/components/ui/menubar/menubar-content.svelte.d.ts +15 -0
- package/dist/components/ui/menubar/menubar-item.svelte +24 -0
- package/dist/components/ui/menubar/menubar-item.svelte.d.ts +17 -0
- package/dist/components/ui/menubar/menubar-label.svelte +13 -0
- package/dist/components/ui/menubar/menubar-label.svelte.d.ts +23 -0
- package/dist/components/ui/menubar/menubar-radio-item.svelte +30 -0
- package/dist/components/ui/menubar/menubar-radio-item.svelte.d.ts +15 -0
- package/dist/components/ui/menubar/menubar-separator.svelte +7 -0
- package/dist/components/ui/menubar/menubar-separator.svelte.d.ts +17 -0
- package/dist/components/ui/menubar/menubar-shortcut.svelte +11 -0
- package/dist/components/ui/menubar/menubar-shortcut.svelte.d.ts +19 -0
- package/dist/components/ui/menubar/menubar-sub-content.svelte +22 -0
- package/dist/components/ui/menubar/menubar-sub-content.svelte.d.ts +15 -0
- package/dist/components/ui/menubar/menubar-sub-trigger.svelte +25 -0
- package/dist/components/ui/menubar/menubar-sub-trigger.svelte.d.ts +21 -0
- package/dist/components/ui/menubar/menubar-trigger.svelte +18 -0
- package/dist/components/ui/menubar/menubar-trigger.svelte.d.ts +15 -0
- package/dist/components/ui/menubar/menubar.svelte +12 -0
- package/dist/components/ui/menubar/menubar.svelte.d.ts +19 -0
- package/dist/components/ui/pagination/index.d.ts +8 -0
- package/dist/components/ui/pagination/index.js +10 -0
- package/dist/components/ui/pagination/pagination-content.svelte +8 -0
- package/dist/components/ui/pagination/pagination-content.svelte.d.ts +19 -0
- package/dist/components/ui/pagination/pagination-ellipsis.svelte +14 -0
- package/dist/components/ui/pagination/pagination-ellipsis.svelte.d.ts +17 -0
- package/dist/components/ui/pagination/pagination-item.svelte +8 -0
- package/dist/components/ui/pagination/pagination-item.svelte.d.ts +19 -0
- package/dist/components/ui/pagination/pagination-link.svelte +24 -0
- package/dist/components/ui/pagination/pagination-link.svelte.d.ts +24 -0
- package/dist/components/ui/pagination/pagination-next-button.svelte +22 -0
- package/dist/components/ui/pagination/pagination-next-button.svelte.d.ts +17 -0
- package/dist/components/ui/pagination/pagination-prev-button.svelte +22 -0
- package/dist/components/ui/pagination/pagination-prev-button.svelte.d.ts +17 -0
- package/dist/components/ui/pagination/pagination.svelte +26 -0
- package/dist/components/ui/pagination/pagination.svelte.d.ts +22 -0
- package/dist/components/ui/progress/index.d.ts +2 -0
- package/dist/components/ui/progress/index.js +4 -0
- package/dist/components/ui/progress/progress.svelte +17 -0
- package/dist/components/ui/progress/progress.svelte.d.ts +17 -0
- package/dist/components/ui/radio-group/index.d.ts +5 -0
- package/dist/components/ui/radio-group/index.js +7 -0
- package/dist/components/ui/radio-group/radio-group-item.svelte +23 -0
- package/dist/components/ui/radio-group/radio-group-item.svelte.d.ts +13 -0
- package/dist/components/ui/radio-group/radio-group.svelte +10 -0
- package/dist/components/ui/radio-group/radio-group.svelte.d.ts +19 -0
- package/dist/components/ui/range-calendar/index.d.ts +14 -0
- package/dist/components/ui/range-calendar/index.js +16 -0
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte +17 -0
- package/dist/components/ui/range-calendar/range-calendar-cell.svelte.d.ts +19 -0
- package/dist/components/ui/range-calendar/range-calendar-day.svelte +38 -0
- package/dist/components/ui/range-calendar/range-calendar-day.svelte.d.ts +40 -0
- package/dist/components/ui/range-calendar/range-calendar-grid-body.svelte +9 -0
- package/dist/components/ui/range-calendar/range-calendar-grid-body.svelte.d.ts +19 -0
- package/dist/components/ui/range-calendar/range-calendar-grid-head.svelte +9 -0
- package/dist/components/ui/range-calendar/range-calendar-grid-head.svelte.d.ts +19 -0
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte +9 -0
- package/dist/components/ui/range-calendar/range-calendar-grid-row.svelte.d.ts +19 -0
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte +12 -0
- package/dist/components/ui/range-calendar/range-calendar-grid.svelte.d.ts +19 -0
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte +12 -0
- package/dist/components/ui/range-calendar/range-calendar-head-cell.svelte.d.ts +19 -0
- package/dist/components/ui/range-calendar/range-calendar-header.svelte +12 -0
- package/dist/components/ui/range-calendar/range-calendar-header.svelte.d.ts +19 -0
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte +15 -0
- package/dist/components/ui/range-calendar/range-calendar-heading.svelte.d.ts +21 -0
- package/dist/components/ui/range-calendar/range-calendar-months.svelte +11 -0
- package/dist/components/ui/range-calendar/range-calendar-months.svelte.d.ts +19 -0
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte +22 -0
- package/dist/components/ui/range-calendar/range-calendar-next-button.svelte.d.ts +30 -0
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte +22 -0
- package/dist/components/ui/range-calendar/range-calendar-prev-button.svelte.d.ts +30 -0
- package/dist/components/ui/range-calendar/range-calendar.svelte +54 -0
- package/dist/components/ui/range-calendar/range-calendar.svelte.d.ts +13 -0
- package/dist/components/ui/resizable/index.d.ts +4 -0
- package/dist/components/ui/resizable/index.js +6 -0
- package/dist/components/ui/resizable/resizable-handle.svelte +22 -0
- package/dist/components/ui/resizable/resizable-handle.svelte.d.ts +23 -0
- package/dist/components/ui/resizable/resizable-pane-group.svelte +18 -0
- package/dist/components/ui/resizable/resizable-pane-group.svelte.d.ts +19 -0
- package/dist/components/ui/scroll-area/index.d.ts +3 -0
- package/dist/components/ui/scroll-area/index.js +5 -0
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte +21 -0
- package/dist/components/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +25 -0
- package/dist/components/ui/scroll-area/scroll-area.svelte +24 -0
- package/dist/components/ui/scroll-area/scroll-area.svelte.d.ts +29 -0
- package/dist/components/ui/select/index.d.ts +11 -0
- package/dist/components/ui/select/index.js +13 -0
- package/dist/components/ui/select/select-content.svelte +33 -0
- package/dist/components/ui/select/select-content.svelte.d.ts +15 -0
- package/dist/components/ui/select/select-item.svelte +35 -0
- package/dist/components/ui/select/select-item.svelte.d.ts +15 -0
- package/dist/components/ui/select/select-label.svelte +12 -0
- package/dist/components/ui/select/select-label.svelte.d.ts +19 -0
- package/dist/components/ui/select/select-separator.svelte +7 -0
- package/dist/components/ui/select/select-separator.svelte.d.ts +17 -0
- package/dist/components/ui/select/select-trigger.svelte +22 -0
- package/dist/components/ui/select/select-trigger.svelte.d.ts +31 -0
- package/dist/components/ui/separator/index.d.ts +2 -0
- package/dist/components/ui/separator/index.js +4 -0
- package/dist/components/ui/separator/separator.svelte +18 -0
- package/dist/components/ui/separator/separator.svelte.d.ts +17 -0
- package/dist/components/ui/sheet/index.d.ts +114 -0
- package/dist/components/ui/sheet/index.js +79 -0
- package/dist/components/ui/sheet/sheet-content.svelte +38 -0
- package/dist/components/ui/sheet/sheet-content.svelte.d.ts +30 -0
- package/dist/components/ui/sheet/sheet-description.svelte +9 -0
- package/dist/components/ui/sheet/sheet-description.svelte.d.ts +19 -0
- package/dist/components/ui/sheet/sheet-footer.svelte +11 -0
- package/dist/components/ui/sheet/sheet-footer.svelte.d.ts +19 -0
- package/dist/components/ui/sheet/sheet-header.svelte +8 -0
- package/dist/components/ui/sheet/sheet-header.svelte.d.ts +19 -0
- package/dist/components/ui/sheet/sheet-overlay.svelte +17 -0
- package/dist/components/ui/sheet/sheet-overlay.svelte.d.ts +17 -0
- package/dist/components/ui/sheet/sheet-portal.svelte +9 -0
- package/dist/components/ui/sheet/sheet-portal.svelte.d.ts +19 -0
- package/dist/components/ui/sheet/sheet-title.svelte +12 -0
- package/dist/components/ui/sheet/sheet-title.svelte.d.ts +19 -0
- package/dist/components/ui/skeleton/index.d.ts +2 -0
- package/dist/components/ui/skeleton/index.js +4 -0
- package/dist/components/ui/skeleton/skeleton.svelte +6 -0
- package/dist/components/ui/skeleton/skeleton.svelte.d.ts +17 -0
- package/dist/components/ui/slider/index.d.ts +2 -0
- package/dist/components/ui/slider/index.js +4 -0
- package/dist/components/ui/slider/slider.svelte +23 -0
- package/dist/components/ui/slider/slider.svelte.d.ts +17 -0
- package/dist/components/ui/sonner/index.d.ts +1 -0
- package/dist/components/ui/sonner/index.js +1 -0
- package/dist/components/ui/sonner/sonner.svelte +17 -0
- package/dist/components/ui/sonner/sonner.svelte.d.ts +17 -0
- package/dist/components/ui/switch/index.d.ts +2 -0
- package/dist/components/ui/switch/index.js +4 -0
- package/dist/components/ui/switch/switch.svelte +23 -0
- package/dist/components/ui/switch/switch.svelte.d.ts +13 -0
- package/dist/components/ui/table/index.d.ts +63 -0
- package/dist/components/ui/table/index.js +26 -0
- package/dist/components/ui/table/table-body.svelte +8 -0
- package/dist/components/ui/table/table-body.svelte.d.ts +19 -0
- package/dist/components/ui/table/table-caption.svelte +8 -0
- package/dist/components/ui/table/table-caption.svelte.d.ts +19 -0
- package/dist/components/ui/table/table-cell.svelte +10 -0
- package/dist/components/ui/table/table-cell.svelte.d.ts +23 -0
- package/dist/components/ui/table/table-footer.svelte +8 -0
- package/dist/components/ui/table/table-footer.svelte.d.ts +19 -0
- package/dist/components/ui/table/table-head.svelte +14 -0
- package/dist/components/ui/table/table-head.svelte.d.ts +19 -0
- package/dist/components/ui/table/table-header.svelte +9 -0
- package/dist/components/ui/table/table-header.svelte.d.ts +22 -0
- package/dist/components/ui/table/table-row.svelte +16 -0
- package/dist/components/ui/table/table-row.svelte.d.ts +24 -0
- package/dist/components/ui/table/table.svelte +10 -0
- package/dist/components/ui/table/table.svelte.d.ts +19 -0
- package/dist/components/ui/tabs/index.d.ts +6 -0
- package/dist/components/ui/tabs/index.js +8 -0
- package/dist/components/ui/tabs/tabs-content.svelte +17 -0
- package/dist/components/ui/tabs/tabs-content.svelte.d.ts +19 -0
- package/dist/components/ui/tabs/tabs-list.svelte +15 -0
- package/dist/components/ui/tabs/tabs-list.svelte.d.ts +19 -0
- package/dist/components/ui/tabs/tabs-trigger.svelte +18 -0
- package/dist/components/ui/tabs/tabs-trigger.svelte.d.ts +15 -0
- package/dist/components/ui/textarea/index.d.ts +19 -0
- package/dist/components/ui/textarea/index.js +4 -0
- package/dist/components/ui/textarea/textarea.svelte +28 -0
- package/dist/components/ui/textarea/textarea.svelte.d.ts +14 -0
- package/dist/components/ui/theme-switcher/theme-switcher-dropdown.svelte +12 -16
- package/dist/components/ui/toggle/index.d.ts +76 -0
- package/dist/components/ui/toggle/index.js +23 -0
- package/dist/components/ui/toggle/toggle.svelte +18 -0
- package/dist/components/ui/toggle/toggle.svelte.d.ts +25 -0
- package/dist/components/ui/toggle-group/index.d.ts +8 -0
- package/dist/components/ui/toggle-group/index.js +12 -0
- package/dist/components/ui/toggle-group/toggle-group-item.svelte +25 -0
- package/dist/components/ui/toggle-group/toggle-group-item.svelte.d.ts +24 -0
- package/dist/components/ui/toggle-group/toggle-group.svelte +22 -0
- package/dist/components/ui/toggle-group/toggle-group.svelte.d.ts +106 -0
- package/dist/components/ui/tooltip/index.d.ts +5 -0
- package/dist/components/ui/tooltip/index.js +7 -0
- package/dist/components/ui/tooltip/tooltip-content.svelte +24 -0
- package/dist/components/ui/tooltip/tooltip-content.svelte.d.ts +19 -0
- package/dist/index.css +1661 -145
- package/dist/index.d.ts +38 -2
- package/dist/index.js +43 -2
- package/dist/types/docs.d.ts +8 -0
- package/dist/types/docs.js +1 -0
- package/dist/types/nav.d.ts +14 -0
- package/dist/types/nav.js +1 -0
- package/package.json +15 -6
- package/src/theme.css +2 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RadioGroup as RadioGroupPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RadioGroupPrimitive.ItemProps;
|
|
5
|
+
slots: {};
|
|
6
|
+
events: RadioGroupPrimitive.ItemEvents;
|
|
7
|
+
};
|
|
8
|
+
export type RadioGroupItemProps = typeof __propDef.props;
|
|
9
|
+
export type RadioGroupItemEvents = typeof __propDef.events;
|
|
10
|
+
export type RadioGroupItemSlots = typeof __propDef.slots;
|
|
11
|
+
export default class RadioGroupItem extends SvelteComponent<RadioGroupItemProps, RadioGroupItemEvents, RadioGroupItemSlots> {
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<script>import { RadioGroup as RadioGroupPrimitive } from "bits-ui";
|
|
2
|
+
import { cn } from "../../../utils.js";
|
|
3
|
+
let className = void 0;
|
|
4
|
+
export let value = void 0;
|
|
5
|
+
export { className as class };
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<RadioGroupPrimitive.Root bind:value class={cn("grid gap-2", className)} {...$$restProps}>
|
|
9
|
+
<slot />
|
|
10
|
+
</RadioGroupPrimitive.Root>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RadioGroup as RadioGroupPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RadioGroupPrimitive.Props;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
exports?: {} | undefined;
|
|
12
|
+
bindings?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type RadioGroupProps = typeof __propDef.props;
|
|
15
|
+
export type RadioGroupEvents = typeof __propDef.events;
|
|
16
|
+
export type RadioGroupSlots = typeof __propDef.slots;
|
|
17
|
+
export default class RadioGroup extends SvelteComponent<RadioGroupProps, RadioGroupEvents, RadioGroupSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Root from "./range-calendar.svelte";
|
|
2
|
+
import Cell from "./range-calendar-cell.svelte";
|
|
3
|
+
import Day from "./range-calendar-day.svelte";
|
|
4
|
+
import Grid from "./range-calendar-grid.svelte";
|
|
5
|
+
import Header from "./range-calendar-header.svelte";
|
|
6
|
+
import Months from "./range-calendar-months.svelte";
|
|
7
|
+
import GridRow from "./range-calendar-grid-row.svelte";
|
|
8
|
+
import Heading from "./range-calendar-heading.svelte";
|
|
9
|
+
import GridBody from "./range-calendar-grid-body.svelte";
|
|
10
|
+
import GridHead from "./range-calendar-grid-head.svelte";
|
|
11
|
+
import HeadCell from "./range-calendar-head-cell.svelte";
|
|
12
|
+
import NextButton from "./range-calendar-next-button.svelte";
|
|
13
|
+
import PrevButton from "./range-calendar-prev-button.svelte";
|
|
14
|
+
export { Day, Cell, Grid, Header, Months, GridRow, Heading, GridBody, GridHead, HeadCell, NextButton, PrevButton, Root as RangeCalendar, };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Root from "./range-calendar.svelte";
|
|
2
|
+
import Cell from "./range-calendar-cell.svelte";
|
|
3
|
+
import Day from "./range-calendar-day.svelte";
|
|
4
|
+
import Grid from "./range-calendar-grid.svelte";
|
|
5
|
+
import Header from "./range-calendar-header.svelte";
|
|
6
|
+
import Months from "./range-calendar-months.svelte";
|
|
7
|
+
import GridRow from "./range-calendar-grid-row.svelte";
|
|
8
|
+
import Heading from "./range-calendar-heading.svelte";
|
|
9
|
+
import GridBody from "./range-calendar-grid-body.svelte";
|
|
10
|
+
import GridHead from "./range-calendar-grid-head.svelte";
|
|
11
|
+
import HeadCell from "./range-calendar-head-cell.svelte";
|
|
12
|
+
import NextButton from "./range-calendar-next-button.svelte";
|
|
13
|
+
import PrevButton from "./range-calendar-prev-button.svelte";
|
|
14
|
+
export { Day, Cell, Grid, Header, Months, GridRow, Heading, GridBody, GridHead, HeadCell, NextButton, PrevButton,
|
|
15
|
+
//
|
|
16
|
+
Root as RangeCalendar, };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import { cn } from "../../../utils.js";
|
|
3
|
+
export let date;
|
|
4
|
+
let className = void 0;
|
|
5
|
+
export { className as class };
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<RangeCalendarPrimitive.Cell
|
|
9
|
+
{date}
|
|
10
|
+
class={cn(
|
|
11
|
+
"[&:has([data-selected])]:bg-accent [&:has([data-selected][data-outside-month])]:bg-accent/50 relative h-9 w-9 p-0 text-center text-sm focus-within:relative focus-within:z-20 first:[&:has([data-selected])]:rounded-l-md last:[&:has([data-selected])]:rounded-r-md [&:has([data-selected][data-selection-end])]:rounded-r-md [&:has([data-selected][data-selection-start])]:rounded-l-md",
|
|
12
|
+
className
|
|
13
|
+
)}
|
|
14
|
+
{...$$restProps}
|
|
15
|
+
>
|
|
16
|
+
<slot />
|
|
17
|
+
</RangeCalendarPrimitive.Cell>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.CellProps;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
exports?: {} | undefined;
|
|
12
|
+
bindings?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type RangeCalendarCellProps = typeof __propDef.props;
|
|
15
|
+
export type RangeCalendarCellEvents = typeof __propDef.events;
|
|
16
|
+
export type RangeCalendarCellSlots = typeof __propDef.slots;
|
|
17
|
+
export default class RangeCalendarCell extends SvelteComponent<RangeCalendarCellProps, RangeCalendarCellEvents, RangeCalendarCellSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import { buttonVariants } from "../button/index.js";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
export let date;
|
|
5
|
+
export let month;
|
|
6
|
+
let className = void 0;
|
|
7
|
+
export { className as class };
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<RangeCalendarPrimitive.Day
|
|
11
|
+
on:click
|
|
12
|
+
{date}
|
|
13
|
+
{month}
|
|
14
|
+
class={cn(
|
|
15
|
+
buttonVariants({ variant: "ghost" }),
|
|
16
|
+
"h-9 w-9 p-0 font-normal data-[selected]:opacity-100",
|
|
17
|
+
"[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground",
|
|
18
|
+
// Selection Start
|
|
19
|
+
"data-[selection-start]:bg-primary data-[selection-start]:text-primary-foreground data-[selection-start]:hover:bg-primary data-[selection-start]:hover:text-primary-foreground data-[selection-start]:focus:bg-primary data-[selection-start]:focus:text-primary-foreground",
|
|
20
|
+
// Selection End
|
|
21
|
+
"data-[selection-end]:bg-primary data-[selection-end]:text-primary-foreground data-[selection-end]:hover:bg-primary data-[selection-end]:hover:text-primary-foreground data-[selection-end]:focus:bg-primary data-[selection-end]:focus:text-primary-foreground",
|
|
22
|
+
// Outside months
|
|
23
|
+
"data-[outside-month]:text-muted-foreground [&[data-outside-month][data-selected]]:bg-accent/50 [&[data-outside-month][data-selected]]:text-muted-foreground data-[outside-month]:pointer-events-none data-[outside-month]:opacity-50 [&[data-outside-month][data-selected]]:opacity-30",
|
|
24
|
+
// Disabled
|
|
25
|
+
"data-[disabled]:text-muted-foreground data-[disabled]:opacity-50",
|
|
26
|
+
// Unavailable
|
|
27
|
+
"data-[unavailable]:text-destructive-foreground data-[unavailable]:line-through",
|
|
28
|
+
className
|
|
29
|
+
)}
|
|
30
|
+
{...$$restProps}
|
|
31
|
+
let:disabled
|
|
32
|
+
let:unavailable
|
|
33
|
+
let:builder
|
|
34
|
+
>
|
|
35
|
+
<slot {disabled} {unavailable} {builder}>
|
|
36
|
+
{date.day}
|
|
37
|
+
</slot>
|
|
38
|
+
</RangeCalendarPrimitive.Day>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.DayProps;
|
|
5
|
+
slots: {
|
|
6
|
+
default: {
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
unavailable: boolean;
|
|
9
|
+
builder: {
|
|
10
|
+
readonly role: "button";
|
|
11
|
+
readonly 'aria-label': string;
|
|
12
|
+
readonly 'aria-selected': true | undefined;
|
|
13
|
+
readonly 'aria-disabled': true | undefined;
|
|
14
|
+
readonly 'data-selected': true | undefined;
|
|
15
|
+
readonly 'data-selection-start': true | undefined;
|
|
16
|
+
readonly 'data-selection-end': true | undefined;
|
|
17
|
+
readonly 'data-value': string;
|
|
18
|
+
readonly 'data-disabled': "" | undefined;
|
|
19
|
+
readonly 'data-unavailable': "" | undefined;
|
|
20
|
+
readonly 'data-today': "" | undefined;
|
|
21
|
+
readonly 'data-outside-month': "" | undefined;
|
|
22
|
+
readonly 'data-outside-visible-months': "" | undefined;
|
|
23
|
+
readonly 'data-focused': "" | undefined;
|
|
24
|
+
readonly 'data-highlighted': "" | undefined;
|
|
25
|
+
readonly tabindex: 0 | -1 | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
[x: `data-melt-${string}`]: "";
|
|
28
|
+
} & {
|
|
29
|
+
action: (node: HTMLElement) => import("@melt-ui/svelte/internal/types").MeltActionReturn<import("@melt-ui/svelte/dist/builders/range-calendar/events").RangeCalendarEvents["cell"]>;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
events: RangeCalendarPrimitive.DayEvents;
|
|
34
|
+
};
|
|
35
|
+
export type RangeCalendarDayProps = typeof __propDef.props;
|
|
36
|
+
export type RangeCalendarDayEvents = typeof __propDef.events;
|
|
37
|
+
export type RangeCalendarDaySlots = typeof __propDef.slots;
|
|
38
|
+
export default class RangeCalendarDay extends SvelteComponent<RangeCalendarDayProps, RangeCalendarDayEvents, RangeCalendarDaySlots> {
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import { cn } from "../../../utils.js";
|
|
3
|
+
let className = void 0;
|
|
4
|
+
export { className as class };
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<RangeCalendarPrimitive.GridBody class={cn(className)} {...$$restProps}>
|
|
8
|
+
<slot />
|
|
9
|
+
</RangeCalendarPrimitive.GridBody>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.GridBodyProps;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
exports?: {} | undefined;
|
|
12
|
+
bindings?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type RangeCalendarGridBodyProps = typeof __propDef.props;
|
|
15
|
+
export type RangeCalendarGridBodyEvents = typeof __propDef.events;
|
|
16
|
+
export type RangeCalendarGridBodySlots = typeof __propDef.slots;
|
|
17
|
+
export default class RangeCalendarGridBody extends SvelteComponent<RangeCalendarGridBodyProps, RangeCalendarGridBodyEvents, RangeCalendarGridBodySlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import { cn } from "../../../utils.js";
|
|
3
|
+
let className = void 0;
|
|
4
|
+
export { className as class };
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<RangeCalendarPrimitive.GridHead class={cn(className)} {...$$restProps}>
|
|
8
|
+
<slot />
|
|
9
|
+
</RangeCalendarPrimitive.GridHead>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.GridHeadProps;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
exports?: {} | undefined;
|
|
12
|
+
bindings?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type RangeCalendarGridHeadProps = typeof __propDef.props;
|
|
15
|
+
export type RangeCalendarGridHeadEvents = typeof __propDef.events;
|
|
16
|
+
export type RangeCalendarGridHeadSlots = typeof __propDef.slots;
|
|
17
|
+
export default class RangeCalendarGridHead extends SvelteComponent<RangeCalendarGridHeadProps, RangeCalendarGridHeadEvents, RangeCalendarGridHeadSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import { cn } from "../../../utils.js";
|
|
3
|
+
let className = void 0;
|
|
4
|
+
export { className as class };
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<RangeCalendarPrimitive.GridRow class={cn("flex", className)} {...$$restProps}>
|
|
8
|
+
<slot />
|
|
9
|
+
</RangeCalendarPrimitive.GridRow>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.GridRowProps;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
exports?: {} | undefined;
|
|
12
|
+
bindings?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type RangeCalendarGridRowProps = typeof __propDef.props;
|
|
15
|
+
export type RangeCalendarGridRowEvents = typeof __propDef.events;
|
|
16
|
+
export type RangeCalendarGridRowSlots = typeof __propDef.slots;
|
|
17
|
+
export default class RangeCalendarGridRow extends SvelteComponent<RangeCalendarGridRowProps, RangeCalendarGridRowEvents, RangeCalendarGridRowSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import { cn } from "../../../utils.js";
|
|
3
|
+
let className = void 0;
|
|
4
|
+
export { className as class };
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<RangeCalendarPrimitive.Grid
|
|
8
|
+
class={cn("w-full border-collapse space-y-1", className)}
|
|
9
|
+
{...$$restProps}
|
|
10
|
+
>
|
|
11
|
+
<slot />
|
|
12
|
+
</RangeCalendarPrimitive.Grid>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.GridProps;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
exports?: {} | undefined;
|
|
12
|
+
bindings?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type RangeCalendarGridProps = typeof __propDef.props;
|
|
15
|
+
export type RangeCalendarGridEvents = typeof __propDef.events;
|
|
16
|
+
export type RangeCalendarGridSlots = typeof __propDef.slots;
|
|
17
|
+
export default class RangeCalendarGrid extends SvelteComponent<RangeCalendarGridProps, RangeCalendarGridEvents, RangeCalendarGridSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import { cn } from "../../../utils.js";
|
|
3
|
+
let className = void 0;
|
|
4
|
+
export { className as class };
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<RangeCalendarPrimitive.HeadCell
|
|
8
|
+
class={cn("text-muted-foreground w-9 rounded-md text-[0.8rem] font-normal", className)}
|
|
9
|
+
{...$$restProps}
|
|
10
|
+
>
|
|
11
|
+
<slot />
|
|
12
|
+
</RangeCalendarPrimitive.HeadCell>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.HeadCellProps;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
exports?: {} | undefined;
|
|
12
|
+
bindings?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type RangeCalendarHeadCellProps = typeof __propDef.props;
|
|
15
|
+
export type RangeCalendarHeadCellEvents = typeof __propDef.events;
|
|
16
|
+
export type RangeCalendarHeadCellSlots = typeof __propDef.slots;
|
|
17
|
+
export default class RangeCalendarHeadCell extends SvelteComponent<RangeCalendarHeadCellProps, RangeCalendarHeadCellEvents, RangeCalendarHeadCellSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import { cn } from "../../../utils.js";
|
|
3
|
+
let className = void 0;
|
|
4
|
+
export { className as class };
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<RangeCalendarPrimitive.Header
|
|
8
|
+
class={cn("relative flex w-full items-center justify-between pt-1", className)}
|
|
9
|
+
{...$$restProps}
|
|
10
|
+
>
|
|
11
|
+
<slot />
|
|
12
|
+
</RangeCalendarPrimitive.Header>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.HeaderProps;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
exports?: {} | undefined;
|
|
12
|
+
bindings?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type RangeCalendarHeaderProps = typeof __propDef.props;
|
|
15
|
+
export type RangeCalendarHeaderEvents = typeof __propDef.events;
|
|
16
|
+
export type RangeCalendarHeaderSlots = typeof __propDef.slots;
|
|
17
|
+
export default class RangeCalendarHeader extends SvelteComponent<RangeCalendarHeaderProps, RangeCalendarHeaderEvents, RangeCalendarHeaderSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import { cn } from "../../../utils.js";
|
|
3
|
+
let className = void 0;
|
|
4
|
+
export { className as class };
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<RangeCalendarPrimitive.Heading
|
|
8
|
+
let:headingValue
|
|
9
|
+
class={cn("text-sm font-medium", className)}
|
|
10
|
+
{...$$restProps}
|
|
11
|
+
>
|
|
12
|
+
<slot {headingValue}>
|
|
13
|
+
{headingValue}
|
|
14
|
+
</slot>
|
|
15
|
+
</RangeCalendarPrimitive.Heading>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.HeadingProps;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {
|
|
10
|
+
headingValue: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
exports?: {} | undefined;
|
|
14
|
+
bindings?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
export type RangeCalendarHeadingProps = typeof __propDef.props;
|
|
17
|
+
export type RangeCalendarHeadingEvents = typeof __propDef.events;
|
|
18
|
+
export type RangeCalendarHeadingSlots = typeof __propDef.slots;
|
|
19
|
+
export default class RangeCalendarHeading extends SvelteComponent<RangeCalendarHeadingProps, RangeCalendarHeadingEvents, RangeCalendarHeadingSlots> {
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<script>import { cn } from "../../../utils.js";
|
|
2
|
+
let className = void 0;
|
|
3
|
+
export { className as class };
|
|
4
|
+
</script>
|
|
5
|
+
|
|
6
|
+
<div
|
|
7
|
+
class={cn("mt-4 flex flex-col space-y-4 sm:flex-row sm:space-x-4 sm:space-y-0", className)}
|
|
8
|
+
{...$$restProps}
|
|
9
|
+
>
|
|
10
|
+
<slot />
|
|
11
|
+
</div>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import type { HTMLAttributes } from "svelte/elements";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: HTMLAttributes<HTMLDivElement>;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
7
|
+
};
|
|
8
|
+
slots: {
|
|
9
|
+
default: {};
|
|
10
|
+
};
|
|
11
|
+
exports?: {} | undefined;
|
|
12
|
+
bindings?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
export type RangeCalendarMonthsProps = typeof __propDef.props;
|
|
15
|
+
export type RangeCalendarMonthsEvents = typeof __propDef.events;
|
|
16
|
+
export type RangeCalendarMonthsSlots = typeof __propDef.slots;
|
|
17
|
+
export default class RangeCalendarMonths extends SvelteComponent<RangeCalendarMonthsProps, RangeCalendarMonthsEvents, RangeCalendarMonthsSlots> {
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import ChevronRight from "lucide-svelte/icons/chevron-right";
|
|
3
|
+
import { buttonVariants } from "../button/index.js";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
let className = void 0;
|
|
6
|
+
export { className as class };
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<RangeCalendarPrimitive.NextButton
|
|
10
|
+
on:click
|
|
11
|
+
class={cn(
|
|
12
|
+
buttonVariants({ variant: "outline" }),
|
|
13
|
+
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",
|
|
14
|
+
className
|
|
15
|
+
)}
|
|
16
|
+
{...$$restProps}
|
|
17
|
+
let:builder
|
|
18
|
+
>
|
|
19
|
+
<slot {builder}>
|
|
20
|
+
<ChevronRight class="h-4 w-4" />
|
|
21
|
+
</slot>
|
|
22
|
+
</RangeCalendarPrimitive.NextButton>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.NextButtonProps;
|
|
5
|
+
slots: {
|
|
6
|
+
default: {
|
|
7
|
+
builder: {
|
|
8
|
+
role: string;
|
|
9
|
+
type: "button";
|
|
10
|
+
'aria-label': string;
|
|
11
|
+
'aria-disabled': "true" | undefined;
|
|
12
|
+
disabled: boolean | undefined;
|
|
13
|
+
'data-disabled': string | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
[x: `data-melt-${string}`]: "";
|
|
16
|
+
} & {
|
|
17
|
+
action: (node: HTMLElement) => import("@melt-ui/svelte/internal/types").MeltActionReturn<import("@melt-ui/svelte/dist/builders/range-calendar/events").RangeCalendarEvents["nextButton"]>;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
events: {
|
|
22
|
+
click: import("bits-ui").CustomEventHandler<MouseEvent, HTMLButtonElement>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export type RangeCalendarNextButtonProps = typeof __propDef.props;
|
|
26
|
+
export type RangeCalendarNextButtonEvents = typeof __propDef.events;
|
|
27
|
+
export type RangeCalendarNextButtonSlots = typeof __propDef.slots;
|
|
28
|
+
export default class RangeCalendarNextButton extends SvelteComponent<RangeCalendarNextButtonProps, RangeCalendarNextButtonEvents, RangeCalendarNextButtonSlots> {
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import ChevronLeft from "lucide-svelte/icons/chevron-left";
|
|
3
|
+
import { buttonVariants } from "../button/index.js";
|
|
4
|
+
import { cn } from "../../../utils.js";
|
|
5
|
+
let className = void 0;
|
|
6
|
+
export { className as class };
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<RangeCalendarPrimitive.PrevButton
|
|
10
|
+
on:click
|
|
11
|
+
class={cn(
|
|
12
|
+
buttonVariants({ variant: "outline" }),
|
|
13
|
+
"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",
|
|
14
|
+
className
|
|
15
|
+
)}
|
|
16
|
+
{...$$restProps}
|
|
17
|
+
let:builder
|
|
18
|
+
>
|
|
19
|
+
<slot {builder}>
|
|
20
|
+
<ChevronLeft class="h-4 w-4" />
|
|
21
|
+
</slot>
|
|
22
|
+
</RangeCalendarPrimitive.PrevButton>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.PrevButtonProps;
|
|
5
|
+
slots: {
|
|
6
|
+
default: {
|
|
7
|
+
builder: {
|
|
8
|
+
role: string;
|
|
9
|
+
type: "button";
|
|
10
|
+
'aria-label': string;
|
|
11
|
+
'aria-disabled': "true" | undefined;
|
|
12
|
+
disabled: boolean | undefined;
|
|
13
|
+
'data-disabled': string | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
[x: `data-melt-${string}`]: "";
|
|
16
|
+
} & {
|
|
17
|
+
action: (node: HTMLElement) => import("@melt-ui/svelte/internal/types").MeltActionReturn<import("@melt-ui/svelte/dist/builders/range-calendar/events").RangeCalendarEvents["prevButton"]>;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
events: {
|
|
22
|
+
click: import("bits-ui").CustomEventHandler<MouseEvent, HTMLButtonElement>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export type RangeCalendarPrevButtonProps = typeof __propDef.props;
|
|
26
|
+
export type RangeCalendarPrevButtonEvents = typeof __propDef.events;
|
|
27
|
+
export type RangeCalendarPrevButtonSlots = typeof __propDef.slots;
|
|
28
|
+
export default class RangeCalendarPrevButton extends SvelteComponent<RangeCalendarPrevButtonProps, RangeCalendarPrevButtonEvents, RangeCalendarPrevButtonSlots> {
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<script>import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
2
|
+
import * as RangeCalendar from "./index.js";
|
|
3
|
+
import { cn } from "../../../utils.js";
|
|
4
|
+
export let value = void 0;
|
|
5
|
+
export let placeholder = void 0;
|
|
6
|
+
export let weekdayFormat = "short";
|
|
7
|
+
export let startValue = void 0;
|
|
8
|
+
let className = void 0;
|
|
9
|
+
export { className as class };
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<RangeCalendarPrimitive.Root
|
|
13
|
+
on:keydown
|
|
14
|
+
bind:value
|
|
15
|
+
bind:placeholder
|
|
16
|
+
bind:startValue
|
|
17
|
+
{weekdayFormat}
|
|
18
|
+
class={cn("p-3", className)}
|
|
19
|
+
{...$$restProps}
|
|
20
|
+
let:months
|
|
21
|
+
let:weekdays
|
|
22
|
+
>
|
|
23
|
+
<RangeCalendar.Header>
|
|
24
|
+
<RangeCalendar.PrevButton />
|
|
25
|
+
<RangeCalendar.Heading />
|
|
26
|
+
<RangeCalendar.NextButton />
|
|
27
|
+
</RangeCalendar.Header>
|
|
28
|
+
<RangeCalendar.Months>
|
|
29
|
+
{#each months as month}
|
|
30
|
+
<RangeCalendar.Grid>
|
|
31
|
+
<RangeCalendar.GridHead>
|
|
32
|
+
<RangeCalendar.GridRow class="flex">
|
|
33
|
+
{#each weekdays as weekday}
|
|
34
|
+
<RangeCalendar.HeadCell>
|
|
35
|
+
{weekday.slice(0, 2)}
|
|
36
|
+
</RangeCalendar.HeadCell>
|
|
37
|
+
{/each}
|
|
38
|
+
</RangeCalendar.GridRow>
|
|
39
|
+
</RangeCalendar.GridHead>
|
|
40
|
+
<RangeCalendar.GridBody>
|
|
41
|
+
{#each month.weeks as weekDates}
|
|
42
|
+
<RangeCalendar.GridRow class="mt-2 w-full">
|
|
43
|
+
{#each weekDates as date}
|
|
44
|
+
<RangeCalendar.Cell {date}>
|
|
45
|
+
<RangeCalendar.Day {date} month={month.value} />
|
|
46
|
+
</RangeCalendar.Cell>
|
|
47
|
+
{/each}
|
|
48
|
+
</RangeCalendar.GridRow>
|
|
49
|
+
{/each}
|
|
50
|
+
</RangeCalendar.GridBody>
|
|
51
|
+
</RangeCalendar.Grid>
|
|
52
|
+
{/each}
|
|
53
|
+
</RangeCalendar.Months>
|
|
54
|
+
</RangeCalendarPrimitive.Root>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SvelteComponent } from "svelte";
|
|
2
|
+
import { RangeCalendar as RangeCalendarPrimitive } from "bits-ui";
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: RangeCalendarPrimitive.Props;
|
|
5
|
+
slots: {};
|
|
6
|
+
events: RangeCalendarPrimitive.Events;
|
|
7
|
+
};
|
|
8
|
+
export type RangeCalendarProps = typeof __propDef.props;
|
|
9
|
+
export type RangeCalendarEvents = typeof __propDef.events;
|
|
10
|
+
export type RangeCalendarSlots = typeof __propDef.slots;
|
|
11
|
+
export default class RangeCalendar extends SvelteComponent<RangeCalendarProps, RangeCalendarEvents, RangeCalendarSlots> {
|
|
12
|
+
}
|
|
13
|
+
export {};
|