@signal9/era-ui 1.1.2
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/dev/audit/audits/_helpers.d.ts +5 -0
- package/dist/dev/audit/audits/_helpers.js +11 -0
- package/dist/dev/audit/audits/concentric-inset.d.ts +2 -0
- package/dist/dev/audit/audits/concentric-inset.js +33 -0
- package/dist/dev/audit/audits/index.d.ts +4 -0
- package/dist/dev/audit/audits/index.js +9 -0
- package/dist/dev/audit/audits/uniform-sibling-gaps.d.ts +2 -0
- package/dist/dev/audit/audits/uniform-sibling-gaps.js +29 -0
- package/dist/dev/audit/audits/wall-matches-gap.d.ts +2 -0
- package/dist/dev/audit/audits/wall-matches-gap.js +30 -0
- package/dist/dev/audit/index.d.ts +4 -0
- package/dist/dev/audit/index.js +3 -0
- package/dist/dev/audit/registry.d.ts +13 -0
- package/dist/dev/audit/registry.js +50 -0
- package/dist/dev/audit/runner.d.ts +3 -0
- package/dist/dev/audit/runner.js +27 -0
- package/dist/dev/audit/types.d.ts +28 -0
- package/dist/dev/audit/types.js +7 -0
- package/dist/dev/audit-overlay.svelte +125 -0
- package/dist/dev/audit-overlay.svelte.d.ts +9 -0
- package/dist/dev/index.d.ts +2 -0
- package/dist/dev/index.js +2 -0
- package/dist/docs/badge.md +18 -0
- package/dist/docs/bits-ui-audit.md +58 -0
- package/dist/docs/button.md +18 -0
- package/dist/docs/chip.md +20 -0
- package/dist/docs/component-docs-core.d.ts +8 -0
- package/dist/docs/component-docs-core.js +72 -0
- package/dist/docs/component-docs.d.ts +2 -0
- package/dist/docs/component-docs.js +25 -0
- package/dist/docs/component-source-scanners.d.ts +18 -0
- package/dist/docs/component-source-scanners.js +46 -0
- package/dist/docs/extract-props.d.ts +13 -0
- package/dist/docs/extract-props.js +324 -0
- package/dist/docs/generated-docs.d.ts +4 -0
- package/dist/docs/generated-docs.js +23 -0
- package/dist/docs/index.d.ts +5 -0
- package/dist/docs/index.js +62 -0
- package/dist/docs/llms-txt.d.ts +2 -0
- package/dist/docs/llms-txt.js +84 -0
- package/dist/docs/quickstart.md +43 -0
- package/dist/docs/separator.md +20 -0
- package/dist/docs/table.md +35 -0
- package/dist/era-ui.css +2 -0
- package/dist/generated-docs/accordion.md +57 -0
- package/dist/generated-docs/alert-dialog.md +81 -0
- package/dist/generated-docs/aspect-ratio.md +17 -0
- package/dist/generated-docs/avatar.md +39 -0
- package/dist/generated-docs/badge.md +38 -0
- package/dist/generated-docs/bar.md +19 -0
- package/dist/generated-docs/button-group.md +19 -0
- package/dist/generated-docs/button.md +46 -0
- package/dist/generated-docs/calendar.md +126 -0
- package/dist/generated-docs/card.md +26 -0
- package/dist/generated-docs/checkbox.md +42 -0
- package/dist/generated-docs/chip.md +40 -0
- package/dist/generated-docs/code-block.md +20 -0
- package/dist/generated-docs/collapsible.md +30 -0
- package/dist/generated-docs/combobox.md +74 -0
- package/dist/generated-docs/command.md +123 -0
- package/dist/generated-docs/context-menu.md +94 -0
- package/dist/generated-docs/date-field.md +49 -0
- package/dist/generated-docs/date-picker.md +180 -0
- package/dist/generated-docs/date-range-field.md +50 -0
- package/dist/generated-docs/date-range-picker.md +180 -0
- package/dist/generated-docs/dialog.md +70 -0
- package/dist/generated-docs/draggable.md +3 -0
- package/dist/generated-docs/dropdown-menu.md +94 -0
- package/dist/generated-docs/file-upload.md +18 -0
- package/dist/generated-docs/input.md +18 -0
- package/dist/generated-docs/kv.md +20 -0
- package/dist/generated-docs/label.md +17 -0
- package/dist/generated-docs/link-preview.md +30 -0
- package/dist/generated-docs/llms-full.txt +3104 -0
- package/dist/generated-docs/llms.txt +34 -0
- package/dist/generated-docs/manifest.json +812 -0
- package/dist/generated-docs/menu.md +11 -0
- package/dist/generated-docs/menubar.md +103 -0
- package/dist/generated-docs/meter.md +17 -0
- package/dist/generated-docs/mode.md +24 -0
- package/dist/generated-docs/navigation-menu.md +11 -0
- package/dist/generated-docs/pagination.md +55 -0
- package/dist/generated-docs/pane.md +30 -0
- package/dist/generated-docs/pin-input.md +31 -0
- package/dist/generated-docs/popover.md +43 -0
- package/dist/generated-docs/progress.md +17 -0
- package/dist/generated-docs/quickstart.md +47 -0
- package/dist/generated-docs/radio-group.md +31 -0
- package/dist/generated-docs/range-calendar.md +11 -0
- package/dist/generated-docs/rating-group.md +31 -0
- package/dist/generated-docs/scroll-area.md +57 -0
- package/dist/generated-docs/select.md +49 -0
- package/dist/generated-docs/separator.md +39 -0
- package/dist/generated-docs/sheet.md +11 -0
- package/dist/generated-docs/skeleton.md +18 -0
- package/dist/generated-docs/slider.md +71 -0
- package/dist/generated-docs/surfaces.md +3 -0
- package/dist/generated-docs/switch.md +18 -0
- package/dist/generated-docs/table.md +113 -0
- package/dist/generated-docs/tabs.md +48 -0
- package/dist/generated-docs/time-field.md +49 -0
- package/dist/generated-docs/time-range-field.md +50 -0
- package/dist/generated-docs/toggle-group.md +30 -0
- package/dist/generated-docs/toggle.md +20 -0
- package/dist/generated-docs/toolbar.md +11 -0
- package/dist/generated-docs/tooltip.md +30 -0
- package/dist/generated-docs/video-player.md +73 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/styles/density.css +274 -0
- package/dist/styles/index.css +77 -0
- package/dist/styles/motion.css +56 -0
- package/dist/styles/surfaces/base.css +103 -0
- package/dist/styles/surfaces/bevel.css +71 -0
- package/dist/styles/surfaces/cartoon.css +27 -0
- package/dist/styles/surfaces/glass.css +127 -0
- package/dist/styles/themes.css +351 -0
- package/dist/styles/typography.css +28 -0
- package/dist/ui/accordion/accordion-content.svelte +15 -0
- package/dist/ui/accordion/accordion-content.svelte.d.ts +4 -0
- package/dist/ui/accordion/accordion-header.svelte +8 -0
- package/dist/ui/accordion/accordion-header.svelte.d.ts +4 -0
- package/dist/ui/accordion/accordion-item.svelte +12 -0
- package/dist/ui/accordion/accordion-item.svelte.d.ts +4 -0
- package/dist/ui/accordion/accordion-trigger.svelte +24 -0
- package/dist/ui/accordion/accordion-trigger.svelte.d.ts +5 -0
- package/dist/ui/accordion/accordion.svelte +8 -0
- package/dist/ui/accordion/accordion.svelte.d.ts +4 -0
- package/dist/ui/accordion/index.d.ts +5 -0
- package/dist/ui/accordion/index.js +5 -0
- package/dist/ui/alert-dialog/alert-dialog-action.svelte +41 -0
- package/dist/ui/alert-dialog/alert-dialog-action.svelte.d.ts +9 -0
- package/dist/ui/alert-dialog/alert-dialog-cancel.svelte +39 -0
- package/dist/ui/alert-dialog/alert-dialog-cancel.svelte.d.ts +9 -0
- package/dist/ui/alert-dialog/alert-dialog-content.svelte +25 -0
- package/dist/ui/alert-dialog/alert-dialog-content.svelte.d.ts +4 -0
- package/dist/ui/alert-dialog/alert-dialog-description.svelte +16 -0
- package/dist/ui/alert-dialog/alert-dialog-description.svelte.d.ts +4 -0
- package/dist/ui/alert-dialog/alert-dialog-overlay.svelte +16 -0
- package/dist/ui/alert-dialog/alert-dialog-overlay.svelte.d.ts +4 -0
- package/dist/ui/alert-dialog/alert-dialog-title.svelte +12 -0
- package/dist/ui/alert-dialog/alert-dialog-title.svelte.d.ts +4 -0
- package/dist/ui/alert-dialog/alert-dialog-trigger.svelte +28 -0
- package/dist/ui/alert-dialog/alert-dialog-trigger.svelte.d.ts +9 -0
- package/dist/ui/alert-dialog/index.d.ts +10 -0
- package/dist/ui/alert-dialog/index.js +10 -0
- package/dist/ui/aspect-ratio/aspect-ratio.svelte +19 -0
- package/dist/ui/aspect-ratio/aspect-ratio.svelte.d.ts +5 -0
- package/dist/ui/aspect-ratio/index.d.ts +1 -0
- package/dist/ui/aspect-ratio/index.js +1 -0
- package/dist/ui/avatar/avatar-fallback.svelte +22 -0
- package/dist/ui/avatar/avatar-fallback.svelte.d.ts +5 -0
- package/dist/ui/avatar/avatar-image.svelte +8 -0
- package/dist/ui/avatar/avatar-image.svelte.d.ts +4 -0
- package/dist/ui/avatar/avatar-root.svelte +22 -0
- package/dist/ui/avatar/avatar-root.svelte.d.ts +5 -0
- package/dist/ui/avatar/index.d.ts +3 -0
- package/dist/ui/avatar/index.js +3 -0
- package/dist/ui/badge/badge.svelte +40 -0
- package/dist/ui/badge/badge.svelte.d.ts +32 -0
- package/dist/ui/badge/index.d.ts +1 -0
- package/dist/ui/badge/index.js +1 -0
- package/dist/ui/bar/bar.svelte +45 -0
- package/dist/ui/bar/bar.svelte.d.ts +30 -0
- package/dist/ui/bar/index.d.ts +1 -0
- package/dist/ui/bar/index.js +1 -0
- package/dist/ui/button/button.svelte +53 -0
- package/dist/ui/button/button.svelte.d.ts +21 -0
- package/dist/ui/button/index.d.ts +12 -0
- package/dist/ui/button/index.js +3 -0
- package/dist/ui/button/variants.d.ts +70 -0
- package/dist/ui/button/variants.js +97 -0
- package/dist/ui/button-group/button-group.svelte +31 -0
- package/dist/ui/button-group/button-group.svelte.d.ts +10 -0
- package/dist/ui/button-group/index.d.ts +1 -0
- package/dist/ui/button-group/index.js +1 -0
- package/dist/ui/calendar/calendar-cell.svelte +8 -0
- package/dist/ui/calendar/calendar-cell.svelte.d.ts +4 -0
- package/dist/ui/calendar/calendar-day.svelte +15 -0
- package/dist/ui/calendar/calendar-day.svelte.d.ts +4 -0
- package/dist/ui/calendar/calendar-grid-body.svelte +7 -0
- package/dist/ui/calendar/calendar-grid-body.svelte.d.ts +4 -0
- package/dist/ui/calendar/calendar-grid-head.svelte +7 -0
- package/dist/ui/calendar/calendar-grid-head.svelte.d.ts +4 -0
- package/dist/ui/calendar/calendar-grid-row.svelte +8 -0
- package/dist/ui/calendar/calendar-grid-row.svelte.d.ts +4 -0
- package/dist/ui/calendar/calendar-grid.svelte +8 -0
- package/dist/ui/calendar/calendar-grid.svelte.d.ts +4 -0
- package/dist/ui/calendar/calendar-head-cell.svelte +15 -0
- package/dist/ui/calendar/calendar-head-cell.svelte.d.ts +4 -0
- package/dist/ui/calendar/calendar-header.svelte +12 -0
- package/dist/ui/calendar/calendar-header.svelte.d.ts +4 -0
- package/dist/ui/calendar/calendar-heading.svelte +8 -0
- package/dist/ui/calendar/calendar-heading.svelte.d.ts +4 -0
- package/dist/ui/calendar/calendar-next-button.svelte +30 -0
- package/dist/ui/calendar/calendar-next-button.svelte.d.ts +9 -0
- package/dist/ui/calendar/calendar-prev-button.svelte +30 -0
- package/dist/ui/calendar/calendar-prev-button.svelte.d.ts +9 -0
- package/dist/ui/calendar/calendar-root.svelte +30 -0
- package/dist/ui/calendar/calendar-root.svelte.d.ts +4 -0
- package/dist/ui/calendar/index.d.ts +12 -0
- package/dist/ui/calendar/index.js +12 -0
- package/dist/ui/card/card.svelte +159 -0
- package/dist/ui/card/card.svelte.d.ts +63 -0
- package/dist/ui/card/index.d.ts +1 -0
- package/dist/ui/card/index.js +1 -0
- package/dist/ui/checkbox/checkbox-group-label.svelte +12 -0
- package/dist/ui/checkbox/checkbox-group-label.svelte.d.ts +4 -0
- package/dist/ui/checkbox/checkbox-group.svelte +18 -0
- package/dist/ui/checkbox/checkbox-group.svelte.d.ts +4 -0
- package/dist/ui/checkbox/checkbox.svelte +33 -0
- package/dist/ui/checkbox/checkbox.svelte.d.ts +4 -0
- package/dist/ui/checkbox/index.d.ts +3 -0
- package/dist/ui/checkbox/index.js +3 -0
- package/dist/ui/chip/chip.svelte +66 -0
- package/dist/ui/chip/chip.svelte.d.ts +26 -0
- package/dist/ui/chip/index.d.ts +1 -0
- package/dist/ui/chip/index.js +1 -0
- package/dist/ui/code-block/code-block.svelte +58 -0
- package/dist/ui/code-block/code-block.svelte.d.ts +11 -0
- package/dist/ui/code-block/index.d.ts +1 -0
- package/dist/ui/code-block/index.js +1 -0
- package/dist/ui/collapsible/collapsible-content.svelte +15 -0
- package/dist/ui/collapsible/collapsible-content.svelte.d.ts +5 -0
- package/dist/ui/collapsible/collapsible-trigger.svelte +22 -0
- package/dist/ui/collapsible/collapsible-trigger.svelte.d.ts +5 -0
- package/dist/ui/collapsible/index.d.ts +4 -0
- package/dist/ui/collapsible/index.js +4 -0
- package/dist/ui/combobox/combobox-content.svelte +25 -0
- package/dist/ui/combobox/combobox-content.svelte.d.ts +5 -0
- package/dist/ui/combobox/combobox-empty.svelte +22 -0
- package/dist/ui/combobox/combobox-empty.svelte.d.ts +8 -0
- package/dist/ui/combobox/combobox-group-heading.svelte +19 -0
- package/dist/ui/combobox/combobox-group-heading.svelte.d.ts +5 -0
- package/dist/ui/combobox/combobox-group.svelte +8 -0
- package/dist/ui/combobox/combobox-group.svelte.d.ts +4 -0
- package/dist/ui/combobox/combobox-input.svelte +15 -0
- package/dist/ui/combobox/combobox-input.svelte.d.ts +4 -0
- package/dist/ui/combobox/combobox-item.svelte +17 -0
- package/dist/ui/combobox/combobox-item.svelte.d.ts +4 -0
- package/dist/ui/combobox/combobox-trigger.svelte +27 -0
- package/dist/ui/combobox/combobox-trigger.svelte.d.ts +5 -0
- package/dist/ui/combobox/index.d.ts +10 -0
- package/dist/ui/combobox/index.js +10 -0
- package/dist/ui/command/command-empty.svelte +15 -0
- package/dist/ui/command/command-empty.svelte.d.ts +4 -0
- package/dist/ui/command/command-group-heading.svelte +16 -0
- package/dist/ui/command/command-group-heading.svelte.d.ts +4 -0
- package/dist/ui/command/command-group-items.svelte +12 -0
- package/dist/ui/command/command-group-items.svelte.d.ts +4 -0
- package/dist/ui/command/command-group.svelte +7 -0
- package/dist/ui/command/command-group.svelte.d.ts +4 -0
- package/dist/ui/command/command-input.svelte +45 -0
- package/dist/ui/command/command-input.svelte.d.ts +10 -0
- package/dist/ui/command/command-item.svelte +15 -0
- package/dist/ui/command/command-item.svelte.d.ts +4 -0
- package/dist/ui/command/command-link-item.svelte +15 -0
- package/dist/ui/command/command-link-item.svelte.d.ts +4 -0
- package/dist/ui/command/command-list.svelte +12 -0
- package/dist/ui/command/command-list.svelte.d.ts +4 -0
- package/dist/ui/command/command-loading.svelte +15 -0
- package/dist/ui/command/command-loading.svelte.d.ts +4 -0
- package/dist/ui/command/command-root.svelte +21 -0
- package/dist/ui/command/command-root.svelte.d.ts +4 -0
- package/dist/ui/command/command-separator.svelte +12 -0
- package/dist/ui/command/command-separator.svelte.d.ts +4 -0
- package/dist/ui/command/command-viewport.svelte +8 -0
- package/dist/ui/command/command-viewport.svelte.d.ts +4 -0
- package/dist/ui/command/index.d.ts +12 -0
- package/dist/ui/command/index.js +12 -0
- package/dist/ui/context-menu/context-menu-checkbox-item.svelte +21 -0
- package/dist/ui/context-menu/context-menu-checkbox-item.svelte.d.ts +4 -0
- package/dist/ui/context-menu/context-menu-content.svelte +27 -0
- package/dist/ui/context-menu/context-menu-content.svelte.d.ts +4 -0
- package/dist/ui/context-menu/context-menu-group-heading.svelte +16 -0
- package/dist/ui/context-menu/context-menu-group-heading.svelte.d.ts +4 -0
- package/dist/ui/context-menu/context-menu-item.svelte +22 -0
- package/dist/ui/context-menu/context-menu-item.svelte.d.ts +5 -0
- package/dist/ui/context-menu/context-menu-radio-item.svelte +19 -0
- package/dist/ui/context-menu/context-menu-radio-item.svelte.d.ts +4 -0
- package/dist/ui/context-menu/context-menu-separator.svelte +16 -0
- package/dist/ui/context-menu/context-menu-separator.svelte.d.ts +4 -0
- package/dist/ui/context-menu/context-menu-sub-content.svelte +26 -0
- package/dist/ui/context-menu/context-menu-sub-content.svelte.d.ts +5 -0
- package/dist/ui/context-menu/context-menu-sub-trigger.svelte +24 -0
- package/dist/ui/context-menu/context-menu-sub-trigger.svelte.d.ts +5 -0
- package/dist/ui/context-menu/context-menu-trigger.svelte +12 -0
- package/dist/ui/context-menu/context-menu-trigger.svelte.d.ts +4 -0
- package/dist/ui/context-menu/index.d.ts +14 -0
- package/dist/ui/context-menu/index.js +14 -0
- package/dist/ui/date-field/date-field-input.svelte +15 -0
- package/dist/ui/date-field/date-field-input.svelte.d.ts +4 -0
- package/dist/ui/date-field/date-field-label.svelte +8 -0
- package/dist/ui/date-field/date-field-label.svelte.d.ts +4 -0
- package/dist/ui/date-field/date-field-root.svelte +11 -0
- package/dist/ui/date-field/date-field-root.svelte.d.ts +3 -0
- package/dist/ui/date-field/date-field-segment.svelte +15 -0
- package/dist/ui/date-field/date-field-segment.svelte.d.ts +4 -0
- package/dist/ui/date-field/index.d.ts +4 -0
- package/dist/ui/date-field/index.js +4 -0
- package/dist/ui/date-picker/date-picker-calendar.svelte +16 -0
- package/dist/ui/date-picker/date-picker-calendar.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-cell.svelte +8 -0
- package/dist/ui/date-picker/date-picker-cell.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-content.svelte +25 -0
- package/dist/ui/date-picker/date-picker-content.svelte.d.ts +5 -0
- package/dist/ui/date-picker/date-picker-day.svelte +15 -0
- package/dist/ui/date-picker/date-picker-day.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-grid-body.svelte +11 -0
- package/dist/ui/date-picker/date-picker-grid-body.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-grid-head.svelte +11 -0
- package/dist/ui/date-picker/date-picker-grid-head.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-grid-row.svelte +8 -0
- package/dist/ui/date-picker/date-picker-grid-row.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-grid.svelte +8 -0
- package/dist/ui/date-picker/date-picker-grid.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-head-cell.svelte +19 -0
- package/dist/ui/date-picker/date-picker-head-cell.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-header.svelte +12 -0
- package/dist/ui/date-picker/date-picker-header.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-heading.svelte +12 -0
- package/dist/ui/date-picker/date-picker-heading.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-input.svelte +15 -0
- package/dist/ui/date-picker/date-picker-input.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-label.svelte +8 -0
- package/dist/ui/date-picker/date-picker-label.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-next-button.svelte +30 -0
- package/dist/ui/date-picker/date-picker-next-button.svelte.d.ts +9 -0
- package/dist/ui/date-picker/date-picker-prev-button.svelte +30 -0
- package/dist/ui/date-picker/date-picker-prev-button.svelte.d.ts +9 -0
- package/dist/ui/date-picker/date-picker-root.svelte +19 -0
- package/dist/ui/date-picker/date-picker-root.svelte.d.ts +3 -0
- package/dist/ui/date-picker/date-picker-segment.svelte +15 -0
- package/dist/ui/date-picker/date-picker-segment.svelte.d.ts +4 -0
- package/dist/ui/date-picker/date-picker-trigger.svelte +27 -0
- package/dist/ui/date-picker/date-picker-trigger.svelte.d.ts +5 -0
- package/dist/ui/date-picker/index.d.ts +18 -0
- package/dist/ui/date-picker/index.js +18 -0
- package/dist/ui/date-range-field/date-range-field-input.svelte +19 -0
- package/dist/ui/date-range-field/date-range-field-input.svelte.d.ts +4 -0
- package/dist/ui/date-range-field/date-range-field-label.svelte +12 -0
- package/dist/ui/date-range-field/date-range-field-label.svelte.d.ts +4 -0
- package/dist/ui/date-range-field/date-range-field-root.svelte +13 -0
- package/dist/ui/date-range-field/date-range-field-root.svelte.d.ts +4 -0
- package/dist/ui/date-range-field/date-range-field-segment.svelte +19 -0
- package/dist/ui/date-range-field/date-range-field-segment.svelte.d.ts +3 -0
- package/dist/ui/date-range-field/index.d.ts +4 -0
- package/dist/ui/date-range-field/index.js +4 -0
- package/dist/ui/date-range-picker/date-range-picker-calendar.svelte +16 -0
- package/dist/ui/date-range-picker/date-range-picker-calendar.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-cell.svelte +12 -0
- package/dist/ui/date-range-picker/date-range-picker-cell.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-content.svelte +25 -0
- package/dist/ui/date-range-picker/date-range-picker-content.svelte.d.ts +5 -0
- package/dist/ui/date-range-picker/date-range-picker-day.svelte +19 -0
- package/dist/ui/date-range-picker/date-range-picker-day.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-grid-body.svelte +12 -0
- package/dist/ui/date-range-picker/date-range-picker-grid-body.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-grid-head.svelte +12 -0
- package/dist/ui/date-range-picker/date-range-picker-grid-head.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-grid-row.svelte +12 -0
- package/dist/ui/date-range-picker/date-range-picker-grid-row.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-grid.svelte +16 -0
- package/dist/ui/date-range-picker/date-range-picker-grid.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-head-cell.svelte +19 -0
- package/dist/ui/date-range-picker/date-range-picker-head-cell.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-header.svelte +16 -0
- package/dist/ui/date-range-picker/date-range-picker-header.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-heading.svelte +16 -0
- package/dist/ui/date-range-picker/date-range-picker-heading.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-input.svelte +19 -0
- package/dist/ui/date-range-picker/date-range-picker-input.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-label.svelte +12 -0
- package/dist/ui/date-range-picker/date-range-picker-label.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-next-button.svelte +30 -0
- package/dist/ui/date-range-picker/date-range-picker-next-button.svelte.d.ts +9 -0
- package/dist/ui/date-range-picker/date-range-picker-prev-button.svelte +30 -0
- package/dist/ui/date-range-picker/date-range-picker-prev-button.svelte.d.ts +9 -0
- package/dist/ui/date-range-picker/date-range-picker-root.svelte +19 -0
- package/dist/ui/date-range-picker/date-range-picker-root.svelte.d.ts +4 -0
- package/dist/ui/date-range-picker/date-range-picker-segment.svelte +19 -0
- package/dist/ui/date-range-picker/date-range-picker-segment.svelte.d.ts +3 -0
- package/dist/ui/date-range-picker/date-range-picker-trigger.svelte +27 -0
- package/dist/ui/date-range-picker/date-range-picker-trigger.svelte.d.ts +5 -0
- package/dist/ui/date-range-picker/index.d.ts +18 -0
- package/dist/ui/date-range-picker/index.js +18 -0
- package/dist/ui/dialog/dialog-close.svelte +39 -0
- package/dist/ui/dialog/dialog-close.svelte.d.ts +9 -0
- package/dist/ui/dialog/dialog-content.svelte +25 -0
- package/dist/ui/dialog/dialog-content.svelte.d.ts +5 -0
- package/dist/ui/dialog/dialog-description.svelte +12 -0
- package/dist/ui/dialog/dialog-description.svelte.d.ts +4 -0
- package/dist/ui/dialog/dialog-overlay.svelte +12 -0
- package/dist/ui/dialog/dialog-overlay.svelte.d.ts +4 -0
- package/dist/ui/dialog/dialog-title.svelte +8 -0
- package/dist/ui/dialog/dialog-title.svelte.d.ts +4 -0
- package/dist/ui/dialog/dialog-trigger.svelte +28 -0
- package/dist/ui/dialog/dialog-trigger.svelte.d.ts +9 -0
- package/dist/ui/dialog/index.d.ts +9 -0
- package/dist/ui/dialog/index.js +9 -0
- package/dist/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +21 -0
- package/dist/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte.d.ts +4 -0
- package/dist/ui/dropdown-menu/dropdown-menu-content.svelte +27 -0
- package/dist/ui/dropdown-menu/dropdown-menu-content.svelte.d.ts +5 -0
- package/dist/ui/dropdown-menu/dropdown-menu-group-heading.svelte +16 -0
- package/dist/ui/dropdown-menu/dropdown-menu-group-heading.svelte.d.ts +4 -0
- package/dist/ui/dropdown-menu/dropdown-menu-item.svelte +22 -0
- package/dist/ui/dropdown-menu/dropdown-menu-item.svelte.d.ts +5 -0
- package/dist/ui/dropdown-menu/dropdown-menu-radio-item.svelte +19 -0
- package/dist/ui/dropdown-menu/dropdown-menu-radio-item.svelte.d.ts +4 -0
- package/dist/ui/dropdown-menu/dropdown-menu-separator.svelte +16 -0
- package/dist/ui/dropdown-menu/dropdown-menu-separator.svelte.d.ts +4 -0
- package/dist/ui/dropdown-menu/dropdown-menu-sub-content.svelte +26 -0
- package/dist/ui/dropdown-menu/dropdown-menu-sub-content.svelte.d.ts +5 -0
- package/dist/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +24 -0
- package/dist/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte.d.ts +5 -0
- package/dist/ui/dropdown-menu/dropdown-menu-trigger.svelte +24 -0
- package/dist/ui/dropdown-menu/dropdown-menu-trigger.svelte.d.ts +5 -0
- package/dist/ui/dropdown-menu/index.d.ts +14 -0
- package/dist/ui/dropdown-menu/index.js +14 -0
- package/dist/ui/file-upload/file-upload.svelte +98 -0
- package/dist/ui/file-upload/file-upload.svelte.d.ts +8 -0
- package/dist/ui/file-upload/index.d.ts +1 -0
- package/dist/ui/file-upload/index.js +1 -0
- package/dist/ui/index.d.ts +58 -0
- package/dist/ui/index.js +62 -0
- package/dist/ui/input/index.d.ts +2 -0
- package/dist/ui/input/index.js +2 -0
- package/dist/ui/input/input.svelte +23 -0
- package/dist/ui/input/input.svelte.d.ts +7 -0
- package/dist/ui/input/textarea.svelte +23 -0
- package/dist/ui/input/textarea.svelte.d.ts +7 -0
- package/dist/ui/kv/index.d.ts +1 -0
- package/dist/ui/kv/index.js +1 -0
- package/dist/ui/kv/kv.svelte +33 -0
- package/dist/ui/kv/kv.svelte.d.ts +10 -0
- package/dist/ui/label/index.d.ts +1 -0
- package/dist/ui/label/index.js +1 -0
- package/dist/ui/label/label.svelte +15 -0
- package/dist/ui/label/label.svelte.d.ts +5 -0
- package/dist/ui/link-preview/index.d.ts +7 -0
- package/dist/ui/link-preview/index.js +7 -0
- package/dist/ui/link-preview/link-preview-content.svelte +26 -0
- package/dist/ui/link-preview/link-preview-content.svelte.d.ts +5 -0
- package/dist/ui/link-preview/link-preview-trigger.svelte +19 -0
- package/dist/ui/link-preview/link-preview-trigger.svelte.d.ts +5 -0
- package/dist/ui/menu/index.d.ts +1 -0
- package/dist/ui/menu/index.js +3 -0
- package/dist/ui/menubar/index.d.ts +16 -0
- package/dist/ui/menubar/index.js +16 -0
- package/dist/ui/menubar/menubar-checkbox-item.svelte +21 -0
- package/dist/ui/menubar/menubar-checkbox-item.svelte.d.ts +4 -0
- package/dist/ui/menubar/menubar-content.svelte +27 -0
- package/dist/ui/menubar/menubar-content.svelte.d.ts +5 -0
- package/dist/ui/menubar/menubar-group-heading.svelte +16 -0
- package/dist/ui/menubar/menubar-group-heading.svelte.d.ts +4 -0
- package/dist/ui/menubar/menubar-item.svelte +22 -0
- package/dist/ui/menubar/menubar-item.svelte.d.ts +5 -0
- package/dist/ui/menubar/menubar-radio-item.svelte +15 -0
- package/dist/ui/menubar/menubar-radio-item.svelte.d.ts +4 -0
- package/dist/ui/menubar/menubar-root.svelte +15 -0
- package/dist/ui/menubar/menubar-root.svelte.d.ts +4 -0
- package/dist/ui/menubar/menubar-separator.svelte +12 -0
- package/dist/ui/menubar/menubar-separator.svelte.d.ts +4 -0
- package/dist/ui/menubar/menubar-sub-content.svelte +26 -0
- package/dist/ui/menubar/menubar-sub-content.svelte.d.ts +5 -0
- package/dist/ui/menubar/menubar-sub-trigger.svelte +24 -0
- package/dist/ui/menubar/menubar-sub-trigger.svelte.d.ts +5 -0
- package/dist/ui/menubar/menubar-trigger.svelte +22 -0
- package/dist/ui/menubar/menubar-trigger.svelte.d.ts +5 -0
- package/dist/ui/meter/index.d.ts +1 -0
- package/dist/ui/meter/index.js +1 -0
- package/dist/ui/meter/meter.svelte +32 -0
- package/dist/ui/meter/meter.svelte.d.ts +4 -0
- package/dist/ui/mode/index.d.ts +1 -0
- package/dist/ui/mode/index.js +1 -0
- package/dist/ui/mode/mode.svelte +61 -0
- package/dist/ui/mode/mode.svelte.d.ts +18 -0
- package/dist/ui/navigation-menu/index.d.ts +10 -0
- package/dist/ui/navigation-menu/index.js +10 -0
- package/dist/ui/pagination/index.d.ts +4 -0
- package/dist/ui/pagination/index.js +4 -0
- package/dist/ui/pagination/pagination-next-button.svelte +30 -0
- package/dist/ui/pagination/pagination-next-button.svelte.d.ts +9 -0
- package/dist/ui/pagination/pagination-page.svelte +32 -0
- package/dist/ui/pagination/pagination-page.svelte.d.ts +9 -0
- package/dist/ui/pagination/pagination-prev-button.svelte +30 -0
- package/dist/ui/pagination/pagination-prev-button.svelte.d.ts +9 -0
- package/dist/ui/pagination/pagination-root.svelte +18 -0
- package/dist/ui/pagination/pagination-root.svelte.d.ts +4 -0
- package/dist/ui/pane/index.d.ts +1 -0
- package/dist/ui/pane/index.js +1 -0
- package/dist/ui/pane/pane.svelte +145 -0
- package/dist/ui/pane/pane.svelte.d.ts +34 -0
- package/dist/ui/pin-input/index.d.ts +2 -0
- package/dist/ui/pin-input/index.js +2 -0
- package/dist/ui/pin-input/pin-input-cell.svelte +30 -0
- package/dist/ui/pin-input/pin-input-cell.svelte.d.ts +4 -0
- package/dist/ui/pin-input/pin-input-root.svelte +18 -0
- package/dist/ui/pin-input/pin-input-root.svelte.d.ts +4 -0
- package/dist/ui/popover/index.d.ts +7 -0
- package/dist/ui/popover/index.js +7 -0
- package/dist/ui/popover/popover-close.svelte +27 -0
- package/dist/ui/popover/popover-close.svelte.d.ts +9 -0
- package/dist/ui/popover/popover-content.svelte +24 -0
- package/dist/ui/popover/popover-content.svelte.d.ts +5 -0
- package/dist/ui/popover/popover-trigger.svelte +41 -0
- package/dist/ui/popover/popover-trigger.svelte.d.ts +9 -0
- package/dist/ui/progress/index.d.ts +1 -0
- package/dist/ui/progress/index.js +1 -0
- package/dist/ui/progress/progress.svelte +47 -0
- package/dist/ui/progress/progress.svelte.d.ts +4 -0
- package/dist/ui/provider/axes.d.ts +74 -0
- package/dist/ui/provider/axes.js +70 -0
- package/dist/ui/provider/index.d.ts +6 -0
- package/dist/ui/provider/index.js +6 -0
- package/dist/ui/provider/modes.d.ts +12 -0
- package/dist/ui/provider/modes.js +14 -0
- package/dist/ui/provider/surfaces.d.ts +45 -0
- package/dist/ui/provider/surfaces.js +24 -0
- package/dist/ui/radio-group/index.d.ts +2 -0
- package/dist/ui/radio-group/index.js +2 -0
- package/dist/ui/radio-group/radio-group-item.svelte +19 -0
- package/dist/ui/radio-group/radio-group-item.svelte.d.ts +4 -0
- package/dist/ui/radio-group/radio-group-root.svelte +18 -0
- package/dist/ui/radio-group/radio-group-root.svelte.d.ts +4 -0
- package/dist/ui/range-calendar/index.d.ts +15 -0
- package/dist/ui/range-calendar/index.js +15 -0
- package/dist/ui/rating-group/index.d.ts +2 -0
- package/dist/ui/rating-group/index.js +2 -0
- package/dist/ui/rating-group/rating-group-item.svelte +17 -0
- package/dist/ui/rating-group/rating-group-item.svelte.d.ts +4 -0
- package/dist/ui/rating-group/rating-group-root.svelte +20 -0
- package/dist/ui/rating-group/rating-group-root.svelte.d.ts +4 -0
- package/dist/ui/scroll-area/index.d.ts +5 -0
- package/dist/ui/scroll-area/index.js +5 -0
- package/dist/ui/scroll-area/scroll-area-corner.svelte +7 -0
- package/dist/ui/scroll-area/scroll-area-corner.svelte.d.ts +4 -0
- package/dist/ui/scroll-area/scroll-area-scrollbar.svelte +19 -0
- package/dist/ui/scroll-area/scroll-area-scrollbar.svelte.d.ts +4 -0
- package/dist/ui/scroll-area/scroll-area-thumb.svelte +12 -0
- package/dist/ui/scroll-area/scroll-area-thumb.svelte.d.ts +4 -0
- package/dist/ui/scroll-area/scroll-area-viewport.svelte +12 -0
- package/dist/ui/scroll-area/scroll-area-viewport.svelte.d.ts +4 -0
- package/dist/ui/scroll-area/scroll-area.svelte +18 -0
- package/dist/ui/scroll-area/scroll-area.svelte.d.ts +4 -0
- package/dist/ui/select/index.d.ts +6 -0
- package/dist/ui/select/index.js +6 -0
- package/dist/ui/select/select-content.svelte +25 -0
- package/dist/ui/select/select-content.svelte.d.ts +5 -0
- package/dist/ui/select/select-item.svelte +17 -0
- package/dist/ui/select/select-item.svelte.d.ts +4 -0
- package/dist/ui/select/select-trigger.svelte +24 -0
- package/dist/ui/select/select-trigger.svelte.d.ts +5 -0
- package/dist/ui/select/select-value.svelte +71 -0
- package/dist/ui/select/select-value.svelte.d.ts +9 -0
- package/dist/ui/separator/index.d.ts +1 -0
- package/dist/ui/separator/index.js +1 -0
- package/dist/ui/separator/separator.svelte +31 -0
- package/dist/ui/separator/separator.svelte.d.ts +8 -0
- package/dist/ui/sheet/index.d.ts +2 -0
- package/dist/ui/sheet/index.js +5 -0
- package/dist/ui/sheet/sheet-content.svelte +41 -0
- package/dist/ui/sheet/sheet-content.svelte.d.ts +31 -0
- package/dist/ui/skeleton/index.d.ts +1 -0
- package/dist/ui/skeleton/index.js +1 -0
- package/dist/ui/skeleton/skeleton.svelte +43 -0
- package/dist/ui/skeleton/skeleton.svelte.d.ts +27 -0
- package/dist/ui/slider/index.d.ts +6 -0
- package/dist/ui/slider/index.js +6 -0
- package/dist/ui/slider/slider-range.svelte +40 -0
- package/dist/ui/slider/slider-range.svelte.d.ts +13 -0
- package/dist/ui/slider/slider-root.svelte +29 -0
- package/dist/ui/slider/slider-root.svelte.d.ts +4 -0
- package/dist/ui/slider/slider-thumb-label.svelte +12 -0
- package/dist/ui/slider/slider-thumb-label.svelte.d.ts +4 -0
- package/dist/ui/slider/slider-thumb.svelte +15 -0
- package/dist/ui/slider/slider-thumb.svelte.d.ts +4 -0
- package/dist/ui/slider/slider-tick-label.svelte +12 -0
- package/dist/ui/slider/slider-tick-label.svelte.d.ts +4 -0
- package/dist/ui/slider/slider-tick.svelte +15 -0
- package/dist/ui/slider/slider-tick.svelte.d.ts +4 -0
- package/dist/ui/switch/index.d.ts +1 -0
- package/dist/ui/switch/index.js +1 -0
- package/dist/ui/switch/switch.svelte +36 -0
- package/dist/ui/switch/switch.svelte.d.ts +4 -0
- package/dist/ui/table/index.d.ts +6 -0
- package/dist/ui/table/index.js +6 -0
- package/dist/ui/table/table-body.svelte +18 -0
- package/dist/ui/table/table-body.svelte.d.ts +9 -0
- package/dist/ui/table/table-cell.svelte +26 -0
- package/dist/ui/table/table-cell.svelte.d.ts +9 -0
- package/dist/ui/table/table-head-cell.svelte +26 -0
- package/dist/ui/table/table-head-cell.svelte.d.ts +9 -0
- package/dist/ui/table/table-head.svelte +18 -0
- package/dist/ui/table/table-head.svelte.d.ts +9 -0
- package/dist/ui/table/table-root.svelte +36 -0
- package/dist/ui/table/table-root.svelte.d.ts +17 -0
- package/dist/ui/table/table-row.svelte +26 -0
- package/dist/ui/table/table-row.svelte.d.ts +9 -0
- package/dist/ui/tabs/index.d.ts +4 -0
- package/dist/ui/tabs/index.js +4 -0
- package/dist/ui/tabs/tabs-content.svelte +7 -0
- package/dist/ui/tabs/tabs-content.svelte.d.ts +4 -0
- package/dist/ui/tabs/tabs-list.svelte +7 -0
- package/dist/ui/tabs/tabs-list.svelte.d.ts +4 -0
- package/dist/ui/tabs/tabs-trigger.svelte +7 -0
- package/dist/ui/tabs/tabs-trigger.svelte.d.ts +4 -0
- package/dist/ui/tabs/tabs.svelte +7 -0
- package/dist/ui/tabs/tabs.svelte.d.ts +4 -0
- package/dist/ui/time-field/index.d.ts +4 -0
- package/dist/ui/time-field/index.js +4 -0
- package/dist/ui/time-field/time-field-input.svelte +15 -0
- package/dist/ui/time-field/time-field-input.svelte.d.ts +4 -0
- package/dist/ui/time-field/time-field-label.svelte +8 -0
- package/dist/ui/time-field/time-field-label.svelte.d.ts +4 -0
- package/dist/ui/time-field/time-field-root.svelte +11 -0
- package/dist/ui/time-field/time-field-root.svelte.d.ts +4 -0
- package/dist/ui/time-field/time-field-segment.svelte +15 -0
- package/dist/ui/time-field/time-field-segment.svelte.d.ts +4 -0
- package/dist/ui/time-range-field/index.d.ts +4 -0
- package/dist/ui/time-range-field/index.js +4 -0
- package/dist/ui/time-range-field/time-range-field-input.svelte +19 -0
- package/dist/ui/time-range-field/time-range-field-input.svelte.d.ts +4 -0
- package/dist/ui/time-range-field/time-range-field-label.svelte +12 -0
- package/dist/ui/time-range-field/time-range-field-label.svelte.d.ts +4 -0
- package/dist/ui/time-range-field/time-range-field-root.svelte +13 -0
- package/dist/ui/time-range-field/time-range-field-root.svelte.d.ts +4 -0
- package/dist/ui/time-range-field/time-range-field-segment.svelte +19 -0
- package/dist/ui/time-range-field/time-range-field-segment.svelte.d.ts +3 -0
- package/dist/ui/toggle/index.d.ts +1 -0
- package/dist/ui/toggle/index.js +1 -0
- package/dist/ui/toggle/toggle.svelte +27 -0
- package/dist/ui/toggle/toggle.svelte.d.ts +9 -0
- package/dist/ui/toggle-group/index.d.ts +2 -0
- package/dist/ui/toggle-group/index.js +2 -0
- package/dist/ui/toggle-group/toggle-group-item.svelte +17 -0
- package/dist/ui/toggle-group/toggle-group-item.svelte.d.ts +4 -0
- package/dist/ui/toggle-group/toggle-group-root.svelte +19 -0
- package/dist/ui/toggle-group/toggle-group-root.svelte.d.ts +5 -0
- package/dist/ui/toolbar/index.d.ts +6 -0
- package/dist/ui/toolbar/index.js +6 -0
- package/dist/ui/tooltip/index.d.ts +7 -0
- package/dist/ui/tooltip/index.js +7 -0
- package/dist/ui/tooltip/tooltip-content.svelte +26 -0
- package/dist/ui/tooltip/tooltip-content.svelte.d.ts +5 -0
- package/dist/ui/tooltip/tooltip-trigger.svelte +7 -0
- package/dist/ui/tooltip/tooltip-trigger.svelte.d.ts +4 -0
- package/dist/ui/video-player/index.d.ts +1 -0
- package/dist/ui/video-player/index.js +1 -0
- package/dist/ui/video-player/video-player.svelte +1377 -0
- package/dist/ui/video-player/video-player.svelte.d.ts +107 -0
- package/dist/utils/index.d.ts +15 -0
- package/dist/utils/index.js +24 -0
- package/package.json +115 -0
- package/readme +127 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# Date Picker
|
|
2
|
+
|
|
3
|
+
Date input with a calendar popover.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { DatePicker } from "$lib/ui/date-picker";
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Composed from sub-components — compose explicitly at the call site:
|
|
12
|
+
|
|
13
|
+
- `DatePicker.Root`
|
|
14
|
+
- `DatePicker.Label`
|
|
15
|
+
- `DatePicker.Input`
|
|
16
|
+
- `DatePicker.Segment`
|
|
17
|
+
- `DatePicker.Trigger`
|
|
18
|
+
- `DatePicker.Content`
|
|
19
|
+
- `DatePicker.Calendar`
|
|
20
|
+
- `DatePicker.Header`
|
|
21
|
+
- `DatePicker.Heading`
|
|
22
|
+
- `DatePicker.PrevButton`
|
|
23
|
+
- `DatePicker.NextButton`
|
|
24
|
+
- `DatePicker.Grid`
|
|
25
|
+
- `DatePicker.GridHead`
|
|
26
|
+
- `DatePicker.GridBody`
|
|
27
|
+
- `DatePicker.GridRow`
|
|
28
|
+
- `DatePicker.HeadCell`
|
|
29
|
+
- `DatePicker.Cell`
|
|
30
|
+
- `DatePicker.Day`
|
|
31
|
+
|
|
32
|
+
## DatePicker.Root
|
|
33
|
+
|
|
34
|
+
Inherits all props from `DatePicker.RootProps`.
|
|
35
|
+
|
|
36
|
+
| Prop | Type | Default | Notes |
|
|
37
|
+
|------|------|---------|-------|
|
|
38
|
+
| `value?` | `(forwarded)` | — | bindable |
|
|
39
|
+
| `placeholder?` | `(forwarded)` | — | bindable |
|
|
40
|
+
| `open?` | `(forwarded)` | `false` | bindable |
|
|
41
|
+
|
|
42
|
+
## DatePicker.Label
|
|
43
|
+
|
|
44
|
+
Inherits all props from `DatePicker.LabelProps`.
|
|
45
|
+
|
|
46
|
+
| Prop | Type | Default | Notes |
|
|
47
|
+
|------|------|---------|-------|
|
|
48
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
49
|
+
|
|
50
|
+
## DatePicker.Input
|
|
51
|
+
|
|
52
|
+
Inherits all props from `DatePicker.InputProps`.
|
|
53
|
+
|
|
54
|
+
| Prop | Type | Default | Notes |
|
|
55
|
+
|------|------|---------|-------|
|
|
56
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
57
|
+
|
|
58
|
+
## DatePicker.Segment
|
|
59
|
+
|
|
60
|
+
Inherits all props from `DatePicker.SegmentProps`.
|
|
61
|
+
|
|
62
|
+
| Prop | Type | Default | Notes |
|
|
63
|
+
|------|------|---------|-------|
|
|
64
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
65
|
+
|
|
66
|
+
## DatePicker.Trigger
|
|
67
|
+
|
|
68
|
+
Inherits all props from `PartProps<DatePicker.TriggerProps>`.
|
|
69
|
+
|
|
70
|
+
| Prop | Type | Default | Notes |
|
|
71
|
+
|------|------|---------|-------|
|
|
72
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
73
|
+
|
|
74
|
+
## DatePicker.Content
|
|
75
|
+
|
|
76
|
+
Inherits all props from `PartProps<DatePicker.ContentProps>`.
|
|
77
|
+
|
|
78
|
+
| Prop | Type | Default | Notes |
|
|
79
|
+
|------|------|---------|-------|
|
|
80
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
81
|
+
|
|
82
|
+
## DatePicker.Calendar
|
|
83
|
+
|
|
84
|
+
Inherits all props from `DatePicker.CalendarProps`.
|
|
85
|
+
|
|
86
|
+
| Prop | Type | Default | Notes |
|
|
87
|
+
|------|------|---------|-------|
|
|
88
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
89
|
+
|
|
90
|
+
## DatePicker.Header
|
|
91
|
+
|
|
92
|
+
Inherits all props from `DatePicker.HeaderProps`.
|
|
93
|
+
|
|
94
|
+
| Prop | Type | Default | Notes |
|
|
95
|
+
|------|------|---------|-------|
|
|
96
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
97
|
+
|
|
98
|
+
## DatePicker.Heading
|
|
99
|
+
|
|
100
|
+
Inherits all props from `DatePicker.HeadingProps`.
|
|
101
|
+
|
|
102
|
+
| Prop | Type | Default | Notes |
|
|
103
|
+
|------|------|---------|-------|
|
|
104
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
105
|
+
|
|
106
|
+
## DatePicker.PrevButton
|
|
107
|
+
|
|
108
|
+
Inherits all props from `WithoutChildrenOrChild<DatePicker.PrevButtonProps>`.
|
|
109
|
+
Inherits all props from `Pick<ButtonVariants, 'tone' | 'size'>`.
|
|
110
|
+
|
|
111
|
+
| Prop | Type | Default | Notes |
|
|
112
|
+
|------|------|---------|-------|
|
|
113
|
+
| `children?` | `Snippet` | — | — |
|
|
114
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
115
|
+
|
|
116
|
+
## DatePicker.NextButton
|
|
117
|
+
|
|
118
|
+
Inherits all props from `WithoutChildrenOrChild<DatePicker.NextButtonProps>`.
|
|
119
|
+
Inherits all props from `Pick<ButtonVariants, 'tone' | 'size'>`.
|
|
120
|
+
|
|
121
|
+
| Prop | Type | Default | Notes |
|
|
122
|
+
|------|------|---------|-------|
|
|
123
|
+
| `children?` | `Snippet` | — | — |
|
|
124
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
125
|
+
|
|
126
|
+
## DatePicker.Grid
|
|
127
|
+
|
|
128
|
+
Inherits all props from `DatePicker.GridProps`.
|
|
129
|
+
|
|
130
|
+
| Prop | Type | Default | Notes |
|
|
131
|
+
|------|------|---------|-------|
|
|
132
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
133
|
+
|
|
134
|
+
## DatePicker.GridHead
|
|
135
|
+
|
|
136
|
+
Inherits all props from `DatePicker.GridHeadProps`.
|
|
137
|
+
|
|
138
|
+
| Prop | Type | Default | Notes |
|
|
139
|
+
|------|------|---------|-------|
|
|
140
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
141
|
+
|
|
142
|
+
## DatePicker.GridBody
|
|
143
|
+
|
|
144
|
+
Inherits all props from `DatePicker.GridBodyProps`.
|
|
145
|
+
|
|
146
|
+
| Prop | Type | Default | Notes |
|
|
147
|
+
|------|------|---------|-------|
|
|
148
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
149
|
+
|
|
150
|
+
## DatePicker.GridRow
|
|
151
|
+
|
|
152
|
+
Inherits all props from `DatePicker.GridRowProps`.
|
|
153
|
+
|
|
154
|
+
| Prop | Type | Default | Notes |
|
|
155
|
+
|------|------|---------|-------|
|
|
156
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
157
|
+
|
|
158
|
+
## DatePicker.HeadCell
|
|
159
|
+
|
|
160
|
+
Inherits all props from `DatePicker.HeadCellProps`.
|
|
161
|
+
|
|
162
|
+
| Prop | Type | Default | Notes |
|
|
163
|
+
|------|------|---------|-------|
|
|
164
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
165
|
+
|
|
166
|
+
## DatePicker.Cell
|
|
167
|
+
|
|
168
|
+
Inherits all props from `DatePicker.CellProps`.
|
|
169
|
+
|
|
170
|
+
| Prop | Type | Default | Notes |
|
|
171
|
+
|------|------|---------|-------|
|
|
172
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
173
|
+
|
|
174
|
+
## DatePicker.Day
|
|
175
|
+
|
|
176
|
+
Inherits all props from `DatePicker.DayProps`.
|
|
177
|
+
|
|
178
|
+
| Prop | Type | Default | Notes |
|
|
179
|
+
|------|------|---------|-------|
|
|
180
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Date Range Field
|
|
2
|
+
|
|
3
|
+
Segmented start/end date input.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { DateRangeField } from "$lib/ui/date-range-field";
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Composed from sub-components — compose explicitly at the call site:
|
|
12
|
+
|
|
13
|
+
- `DateRangeField.Root`
|
|
14
|
+
- `DateRangeField.Input`
|
|
15
|
+
- `DateRangeField.Segment`
|
|
16
|
+
- `DateRangeField.Label`
|
|
17
|
+
|
|
18
|
+
## DateRangeField.Root
|
|
19
|
+
|
|
20
|
+
Inherits all props from `DateRangeField.RootProps`.
|
|
21
|
+
|
|
22
|
+
| Prop | Type | Default | Notes |
|
|
23
|
+
|------|------|---------|-------|
|
|
24
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
25
|
+
| `value?` | `(forwarded)` | — | bindable |
|
|
26
|
+
| `placeholder?` | `(forwarded)` | — | bindable |
|
|
27
|
+
|
|
28
|
+
## DateRangeField.Input
|
|
29
|
+
|
|
30
|
+
Inherits all props from `DateRangeField.InputProps`.
|
|
31
|
+
|
|
32
|
+
| Prop | Type | Default | Notes |
|
|
33
|
+
|------|------|---------|-------|
|
|
34
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
35
|
+
|
|
36
|
+
## DateRangeField.Segment
|
|
37
|
+
|
|
38
|
+
Inherits all props from `DateRangeField.SegmentProps`.
|
|
39
|
+
|
|
40
|
+
| Prop | Type | Default | Notes |
|
|
41
|
+
|------|------|---------|-------|
|
|
42
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
43
|
+
|
|
44
|
+
## DateRangeField.Label
|
|
45
|
+
|
|
46
|
+
Inherits all props from `DateRangeField.LabelProps`.
|
|
47
|
+
|
|
48
|
+
| Prop | Type | Default | Notes |
|
|
49
|
+
|------|------|---------|-------|
|
|
50
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# Date Range Picker
|
|
2
|
+
|
|
3
|
+
Date range input with a calendar popover.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { DateRangePicker } from "$lib/ui/date-range-picker";
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Composed from sub-components — compose explicitly at the call site:
|
|
12
|
+
|
|
13
|
+
- `DateRangePicker.Root`
|
|
14
|
+
- `DateRangePicker.Label`
|
|
15
|
+
- `DateRangePicker.Input`
|
|
16
|
+
- `DateRangePicker.Segment`
|
|
17
|
+
- `DateRangePicker.Trigger`
|
|
18
|
+
- `DateRangePicker.Content`
|
|
19
|
+
- `DateRangePicker.Calendar`
|
|
20
|
+
- `DateRangePicker.Header`
|
|
21
|
+
- `DateRangePicker.Heading`
|
|
22
|
+
- `DateRangePicker.PrevButton`
|
|
23
|
+
- `DateRangePicker.NextButton`
|
|
24
|
+
- `DateRangePicker.Grid`
|
|
25
|
+
- `DateRangePicker.GridHead`
|
|
26
|
+
- `DateRangePicker.GridBody`
|
|
27
|
+
- `DateRangePicker.GridRow`
|
|
28
|
+
- `DateRangePicker.HeadCell`
|
|
29
|
+
- `DateRangePicker.Cell`
|
|
30
|
+
- `DateRangePicker.Day`
|
|
31
|
+
|
|
32
|
+
## DateRangePicker.Root
|
|
33
|
+
|
|
34
|
+
Inherits all props from `DateRangePicker.RootProps`.
|
|
35
|
+
|
|
36
|
+
| Prop | Type | Default | Notes |
|
|
37
|
+
|------|------|---------|-------|
|
|
38
|
+
| `value?` | `(forwarded)` | — | bindable |
|
|
39
|
+
| `placeholder?` | `(forwarded)` | — | bindable |
|
|
40
|
+
| `open?` | `(forwarded)` | `false` | bindable |
|
|
41
|
+
|
|
42
|
+
## DateRangePicker.Label
|
|
43
|
+
|
|
44
|
+
Inherits all props from `DateRangePicker.LabelProps`.
|
|
45
|
+
|
|
46
|
+
| Prop | Type | Default | Notes |
|
|
47
|
+
|------|------|---------|-------|
|
|
48
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
49
|
+
|
|
50
|
+
## DateRangePicker.Input
|
|
51
|
+
|
|
52
|
+
Inherits all props from `DateRangePicker.InputProps`.
|
|
53
|
+
|
|
54
|
+
| Prop | Type | Default | Notes |
|
|
55
|
+
|------|------|---------|-------|
|
|
56
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
57
|
+
|
|
58
|
+
## DateRangePicker.Segment
|
|
59
|
+
|
|
60
|
+
Inherits all props from `DateRangePicker.SegmentProps`.
|
|
61
|
+
|
|
62
|
+
| Prop | Type | Default | Notes |
|
|
63
|
+
|------|------|---------|-------|
|
|
64
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
65
|
+
|
|
66
|
+
## DateRangePicker.Trigger
|
|
67
|
+
|
|
68
|
+
Inherits all props from `PartProps<DateRangePicker.TriggerProps>`.
|
|
69
|
+
|
|
70
|
+
| Prop | Type | Default | Notes |
|
|
71
|
+
|------|------|---------|-------|
|
|
72
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
73
|
+
|
|
74
|
+
## DateRangePicker.Content
|
|
75
|
+
|
|
76
|
+
Inherits all props from `PartProps<DateRangePicker.ContentProps>`.
|
|
77
|
+
|
|
78
|
+
| Prop | Type | Default | Notes |
|
|
79
|
+
|------|------|---------|-------|
|
|
80
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
81
|
+
|
|
82
|
+
## DateRangePicker.Calendar
|
|
83
|
+
|
|
84
|
+
Inherits all props from `DateRangePicker.CalendarProps`.
|
|
85
|
+
|
|
86
|
+
| Prop | Type | Default | Notes |
|
|
87
|
+
|------|------|---------|-------|
|
|
88
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
89
|
+
|
|
90
|
+
## DateRangePicker.Header
|
|
91
|
+
|
|
92
|
+
Inherits all props from `DateRangePicker.HeaderProps`.
|
|
93
|
+
|
|
94
|
+
| Prop | Type | Default | Notes |
|
|
95
|
+
|------|------|---------|-------|
|
|
96
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
97
|
+
|
|
98
|
+
## DateRangePicker.Heading
|
|
99
|
+
|
|
100
|
+
Inherits all props from `DateRangePicker.HeadingProps`.
|
|
101
|
+
|
|
102
|
+
| Prop | Type | Default | Notes |
|
|
103
|
+
|------|------|---------|-------|
|
|
104
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
105
|
+
|
|
106
|
+
## DateRangePicker.PrevButton
|
|
107
|
+
|
|
108
|
+
Inherits all props from `WithoutChildrenOrChild<DateRangePicker.PrevButtonProps>`.
|
|
109
|
+
Inherits all props from `Pick<ButtonVariants, 'tone' | 'size'>`.
|
|
110
|
+
|
|
111
|
+
| Prop | Type | Default | Notes |
|
|
112
|
+
|------|------|---------|-------|
|
|
113
|
+
| `children?` | `Snippet` | — | — |
|
|
114
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
115
|
+
|
|
116
|
+
## DateRangePicker.NextButton
|
|
117
|
+
|
|
118
|
+
Inherits all props from `WithoutChildrenOrChild<DateRangePicker.NextButtonProps>`.
|
|
119
|
+
Inherits all props from `Pick<ButtonVariants, 'tone' | 'size'>`.
|
|
120
|
+
|
|
121
|
+
| Prop | Type | Default | Notes |
|
|
122
|
+
|------|------|---------|-------|
|
|
123
|
+
| `children?` | `Snippet` | — | — |
|
|
124
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
125
|
+
|
|
126
|
+
## DateRangePicker.Grid
|
|
127
|
+
|
|
128
|
+
Inherits all props from `DateRangePicker.GridProps`.
|
|
129
|
+
|
|
130
|
+
| Prop | Type | Default | Notes |
|
|
131
|
+
|------|------|---------|-------|
|
|
132
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
133
|
+
|
|
134
|
+
## DateRangePicker.GridHead
|
|
135
|
+
|
|
136
|
+
Inherits all props from `DateRangePicker.GridHeadProps`.
|
|
137
|
+
|
|
138
|
+
| Prop | Type | Default | Notes |
|
|
139
|
+
|------|------|---------|-------|
|
|
140
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
141
|
+
|
|
142
|
+
## DateRangePicker.GridBody
|
|
143
|
+
|
|
144
|
+
Inherits all props from `DateRangePicker.GridBodyProps`.
|
|
145
|
+
|
|
146
|
+
| Prop | Type | Default | Notes |
|
|
147
|
+
|------|------|---------|-------|
|
|
148
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
149
|
+
|
|
150
|
+
## DateRangePicker.GridRow
|
|
151
|
+
|
|
152
|
+
Inherits all props from `DateRangePicker.GridRowProps`.
|
|
153
|
+
|
|
154
|
+
| Prop | Type | Default | Notes |
|
|
155
|
+
|------|------|---------|-------|
|
|
156
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
157
|
+
|
|
158
|
+
## DateRangePicker.HeadCell
|
|
159
|
+
|
|
160
|
+
Inherits all props from `DateRangePicker.HeadCellProps`.
|
|
161
|
+
|
|
162
|
+
| Prop | Type | Default | Notes |
|
|
163
|
+
|------|------|---------|-------|
|
|
164
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
165
|
+
|
|
166
|
+
## DateRangePicker.Cell
|
|
167
|
+
|
|
168
|
+
Inherits all props from `DateRangePicker.CellProps`.
|
|
169
|
+
|
|
170
|
+
| Prop | Type | Default | Notes |
|
|
171
|
+
|------|------|---------|-------|
|
|
172
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
173
|
+
|
|
174
|
+
## DateRangePicker.Day
|
|
175
|
+
|
|
176
|
+
Inherits all props from `DateRangePicker.DayProps`.
|
|
177
|
+
|
|
178
|
+
| Prop | Type | Default | Notes |
|
|
179
|
+
|------|------|---------|-------|
|
|
180
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Dialog
|
|
2
|
+
|
|
3
|
+
A modal window for content or user input.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { Dialog } from "$lib/ui/dialog";
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Composed from sub-components — compose explicitly at the call site:
|
|
12
|
+
|
|
13
|
+
- `Dialog.Trigger`
|
|
14
|
+
- `Dialog.Content`
|
|
15
|
+
- `Dialog.Overlay`
|
|
16
|
+
- `Dialog.Title`
|
|
17
|
+
- `Dialog.Description`
|
|
18
|
+
- `Dialog.Close`
|
|
19
|
+
|
|
20
|
+
## Dialog.Trigger
|
|
21
|
+
|
|
22
|
+
Inherits all props from `WithoutChildrenOrChild<Dialog.TriggerProps>`.
|
|
23
|
+
Inherits all props from `ButtonVariants`.
|
|
24
|
+
|
|
25
|
+
| Prop | Type | Default | Notes |
|
|
26
|
+
|------|------|---------|-------|
|
|
27
|
+
| `children?` | `Snippet` | — | — |
|
|
28
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
29
|
+
|
|
30
|
+
## Dialog.Content
|
|
31
|
+
|
|
32
|
+
Inherits all props from `PartProps<Dialog.ContentProps>`.
|
|
33
|
+
|
|
34
|
+
| Prop | Type | Default | Notes |
|
|
35
|
+
|------|------|---------|-------|
|
|
36
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
37
|
+
|
|
38
|
+
## Dialog.Overlay
|
|
39
|
+
|
|
40
|
+
Inherits all props from `Dialog.OverlayProps`.
|
|
41
|
+
|
|
42
|
+
| Prop | Type | Default | Notes |
|
|
43
|
+
|------|------|---------|-------|
|
|
44
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
45
|
+
|
|
46
|
+
## Dialog.Title
|
|
47
|
+
|
|
48
|
+
Inherits all props from `Dialog.TitleProps`.
|
|
49
|
+
|
|
50
|
+
| Prop | Type | Default | Notes |
|
|
51
|
+
|------|------|---------|-------|
|
|
52
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
53
|
+
|
|
54
|
+
## Dialog.Description
|
|
55
|
+
|
|
56
|
+
Inherits all props from `Dialog.DescriptionProps`.
|
|
57
|
+
|
|
58
|
+
| Prop | Type | Default | Notes |
|
|
59
|
+
|------|------|---------|-------|
|
|
60
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
61
|
+
|
|
62
|
+
## Dialog.Close
|
|
63
|
+
|
|
64
|
+
Inherits all props from `WithoutChildrenOrChild<Dialog.CloseProps>`.
|
|
65
|
+
Inherits all props from `Omit<ButtonVariants, 'active'>`.
|
|
66
|
+
|
|
67
|
+
| Prop | Type | Default | Notes |
|
|
68
|
+
|------|------|---------|-------|
|
|
69
|
+
| `children?` | `Snippet` | — | — |
|
|
70
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Dropdown Menu
|
|
2
|
+
|
|
3
|
+
A menu of selectable items.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { DropdownMenu } from "$lib/ui/dropdown-menu";
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Composed from sub-components — compose explicitly at the call site:
|
|
12
|
+
|
|
13
|
+
- `DropdownMenu.Trigger`
|
|
14
|
+
- `DropdownMenu.Content`
|
|
15
|
+
- `DropdownMenu.Item`
|
|
16
|
+
- `DropdownMenu.CheckboxItem`
|
|
17
|
+
- `DropdownMenu.RadioItem`
|
|
18
|
+
- `DropdownMenu.Separator`
|
|
19
|
+
- `DropdownMenu.SubTrigger`
|
|
20
|
+
- `DropdownMenu.SubContent`
|
|
21
|
+
- `DropdownMenu.GroupHeading`
|
|
22
|
+
|
|
23
|
+
## DropdownMenu.Trigger
|
|
24
|
+
|
|
25
|
+
Inherits all props from `PartProps<DropdownMenu.TriggerProps>`.
|
|
26
|
+
|
|
27
|
+
| Prop | Type | Default | Notes |
|
|
28
|
+
|------|------|---------|-------|
|
|
29
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
30
|
+
|
|
31
|
+
## DropdownMenu.Content
|
|
32
|
+
|
|
33
|
+
Inherits all props from `PartProps<DropdownMenu.ContentProps>`.
|
|
34
|
+
|
|
35
|
+
| Prop | Type | Default | Notes |
|
|
36
|
+
|------|------|---------|-------|
|
|
37
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
38
|
+
|
|
39
|
+
## DropdownMenu.Item
|
|
40
|
+
|
|
41
|
+
Inherits all props from `PartProps<DropdownMenu.ItemProps>`.
|
|
42
|
+
|
|
43
|
+
| Prop | Type | Default | Notes |
|
|
44
|
+
|------|------|---------|-------|
|
|
45
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
46
|
+
|
|
47
|
+
## DropdownMenu.CheckboxItem
|
|
48
|
+
|
|
49
|
+
Inherits all props from `DropdownMenu.CheckboxItemProps`.
|
|
50
|
+
|
|
51
|
+
| Prop | Type | Default | Notes |
|
|
52
|
+
|------|------|---------|-------|
|
|
53
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
54
|
+
| `checked?` | `(forwarded)` | `false` | bindable |
|
|
55
|
+
|
|
56
|
+
## DropdownMenu.RadioItem
|
|
57
|
+
|
|
58
|
+
Inherits all props from `DropdownMenu.RadioItemProps`.
|
|
59
|
+
|
|
60
|
+
| Prop | Type | Default | Notes |
|
|
61
|
+
|------|------|---------|-------|
|
|
62
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
63
|
+
|
|
64
|
+
## DropdownMenu.Separator
|
|
65
|
+
|
|
66
|
+
Inherits all props from `DropdownMenu.SeparatorProps`.
|
|
67
|
+
|
|
68
|
+
| Prop | Type | Default | Notes |
|
|
69
|
+
|------|------|---------|-------|
|
|
70
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
71
|
+
|
|
72
|
+
## DropdownMenu.SubTrigger
|
|
73
|
+
|
|
74
|
+
Inherits all props from `PartProps<DropdownMenu.SubTriggerProps>`.
|
|
75
|
+
|
|
76
|
+
| Prop | Type | Default | Notes |
|
|
77
|
+
|------|------|---------|-------|
|
|
78
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
79
|
+
|
|
80
|
+
## DropdownMenu.SubContent
|
|
81
|
+
|
|
82
|
+
Inherits all props from `PartProps<DropdownMenu.SubContentProps>`.
|
|
83
|
+
|
|
84
|
+
| Prop | Type | Default | Notes |
|
|
85
|
+
|------|------|---------|-------|
|
|
86
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
87
|
+
|
|
88
|
+
## DropdownMenu.GroupHeading
|
|
89
|
+
|
|
90
|
+
Inherits all props from `DropdownMenu.GroupHeadingProps`.
|
|
91
|
+
|
|
92
|
+
| Prop | Type | Default | Notes |
|
|
93
|
+
|------|------|---------|-------|
|
|
94
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# File Upload
|
|
2
|
+
|
|
3
|
+
A file input with click-to-browse and drag-and-drop.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { FileUpload } from "$lib/ui/file-upload";
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Props
|
|
12
|
+
|
|
13
|
+
Inherits all props from `Omit<HTMLInputAttributes, 'type' | 'files'>`.
|
|
14
|
+
|
|
15
|
+
| Prop | Type | Default | Notes |
|
|
16
|
+
|------|------|---------|-------|
|
|
17
|
+
| `ref?` | `HTMLInputElement \| null` | `null` | bindable |
|
|
18
|
+
| `files?` | `FileList \| null` | `null` | bindable |
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Input
|
|
2
|
+
|
|
3
|
+
A text input field, with textarea variant.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { Input } from "$lib/ui/input";
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Props
|
|
12
|
+
|
|
13
|
+
Inherits all props from `HTMLInputAttributes`.
|
|
14
|
+
|
|
15
|
+
| Prop | Type | Default | Notes |
|
|
16
|
+
|------|------|---------|-------|
|
|
17
|
+
| `ref?` | `HTMLInputElement \| null` | `null` | bindable |
|
|
18
|
+
| `value?` | `(forwarded)` | `''` | bindable |
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# KV
|
|
2
|
+
|
|
3
|
+
A key-value pair display using Badge.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { KV } from "$lib/ui/kv";
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Props
|
|
12
|
+
|
|
13
|
+
Inherits all props from `HTMLAttributes<HTMLSpanElement>`.
|
|
14
|
+
|
|
15
|
+
| Prop | Type | Default | Notes |
|
|
16
|
+
|------|------|---------|-------|
|
|
17
|
+
| `ref?` | `HTMLSpanElement \| null` | `null` | bindable |
|
|
18
|
+
| `key` | `string` | — | — |
|
|
19
|
+
| `value` | `string` | — | — |
|
|
20
|
+
| `tone?` | `'default' \| 'accent' \| 'destructive' \| 'success'` | `'default'` | — |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Label
|
|
2
|
+
|
|
3
|
+
Identifies or describes associated UI elements.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { Label } from "$lib/ui/label";
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Props
|
|
12
|
+
|
|
13
|
+
Inherits all props from `PartProps<Label.RootProps>`.
|
|
14
|
+
|
|
15
|
+
| Prop | Type | Default | Notes |
|
|
16
|
+
|------|------|---------|-------|
|
|
17
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Link Preview
|
|
2
|
+
|
|
3
|
+
Shows rich preview content when hovering a link.
|
|
4
|
+
|
|
5
|
+
## Import
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { LinkPreview } from "$lib/ui/link-preview";
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Composed from sub-components — compose explicitly at the call site:
|
|
12
|
+
|
|
13
|
+
- `LinkPreview.Trigger`
|
|
14
|
+
- `LinkPreview.Content`
|
|
15
|
+
|
|
16
|
+
## LinkPreview.Trigger
|
|
17
|
+
|
|
18
|
+
Inherits all props from `PartProps<LinkPreview.TriggerProps>`.
|
|
19
|
+
|
|
20
|
+
| Prop | Type | Default | Notes |
|
|
21
|
+
|------|------|---------|-------|
|
|
22
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|
|
23
|
+
|
|
24
|
+
## LinkPreview.Content
|
|
25
|
+
|
|
26
|
+
Inherits all props from `PartProps<LinkPreview.ContentProps>`.
|
|
27
|
+
|
|
28
|
+
| Prop | Type | Default | Notes |
|
|
29
|
+
|------|------|---------|-------|
|
|
30
|
+
| `ref?` | `(forwarded)` | `null` | bindable |
|