@sewadah/selaras 0.1.1
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/LICENSE +21 -0
- package/README.md +131 -0
- package/dist/module.d.mts +22 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +127 -0
- package/dist/runtime/components/Accordion.d.vue.ts +59 -0
- package/dist/runtime/components/Accordion.vue +65 -0
- package/dist/runtime/components/Accordion.vue.d.ts +59 -0
- package/dist/runtime/components/Alert.d.vue.ts +39 -0
- package/dist/runtime/components/Alert.vue +64 -0
- package/dist/runtime/components/Alert.vue.d.ts +39 -0
- package/dist/runtime/components/AlertDialog.d.vue.ts +66 -0
- package/dist/runtime/components/AlertDialog.vue +116 -0
- package/dist/runtime/components/AlertDialog.vue.d.ts +66 -0
- package/dist/runtime/components/App.d.vue.ts +32 -0
- package/dist/runtime/components/App.vue +26 -0
- package/dist/runtime/components/App.vue.d.ts +32 -0
- package/dist/runtime/components/Autocomplete.d.vue.ts +61 -0
- package/dist/runtime/components/Autocomplete.vue +41 -0
- package/dist/runtime/components/Autocomplete.vue.d.ts +61 -0
- package/dist/runtime/components/Avatar.d.vue.ts +46 -0
- package/dist/runtime/components/Avatar.vue +64 -0
- package/dist/runtime/components/Avatar.vue.d.ts +46 -0
- package/dist/runtime/components/AvatarGroup.d.vue.ts +14 -0
- package/dist/runtime/components/AvatarGroup.vue +41 -0
- package/dist/runtime/components/AvatarGroup.vue.d.ts +14 -0
- package/dist/runtime/components/Badge.d.vue.ts +37 -0
- package/dist/runtime/components/Badge.vue +47 -0
- package/dist/runtime/components/Badge.vue.d.ts +37 -0
- package/dist/runtime/components/Breadcrumb.d.vue.ts +37 -0
- package/dist/runtime/components/Breadcrumb.vue +109 -0
- package/dist/runtime/components/Breadcrumb.vue.d.ts +37 -0
- package/dist/runtime/components/Button.d.vue.ts +45 -0
- package/dist/runtime/components/Button.vue +67 -0
- package/dist/runtime/components/Button.vue.d.ts +45 -0
- package/dist/runtime/components/ButtonGroup.d.vue.ts +22 -0
- package/dist/runtime/components/ButtonGroup.vue +21 -0
- package/dist/runtime/components/ButtonGroup.vue.d.ts +22 -0
- package/dist/runtime/components/Callout.d.vue.ts +27 -0
- package/dist/runtime/components/Callout.vue +47 -0
- package/dist/runtime/components/Callout.vue.d.ts +27 -0
- package/dist/runtime/components/Card.d.vue.ts +25 -0
- package/dist/runtime/components/Card.vue +30 -0
- package/dist/runtime/components/Card.vue.d.ts +25 -0
- package/dist/runtime/components/CardGroup.d.vue.ts +23 -0
- package/dist/runtime/components/CardGroup.vue +19 -0
- package/dist/runtime/components/CardGroup.vue.d.ts +23 -0
- package/dist/runtime/components/Checkbox.d.vue.ts +45 -0
- package/dist/runtime/components/Checkbox.vue +76 -0
- package/dist/runtime/components/Checkbox.vue.d.ts +45 -0
- package/dist/runtime/components/Chip.d.vue.ts +50 -0
- package/dist/runtime/components/Chip.vue +75 -0
- package/dist/runtime/components/Chip.vue.d.ts +50 -0
- package/dist/runtime/components/CodeButton.d.vue.ts +21 -0
- package/dist/runtime/components/CodeButton.vue +33 -0
- package/dist/runtime/components/CodeButton.vue.d.ts +21 -0
- package/dist/runtime/components/CodeGroup.d.vue.ts +3 -0
- package/dist/runtime/components/CodeGroup.vue +46 -0
- package/dist/runtime/components/CodeGroup.vue.d.ts +3 -0
- package/dist/runtime/components/CodeTree.d.vue.ts +17 -0
- package/dist/runtime/components/CodeTree.vue +56 -0
- package/dist/runtime/components/CodeTree.vue.d.ts +17 -0
- package/dist/runtime/components/Collapsible.d.vue.ts +44 -0
- package/dist/runtime/components/Collapsible.vue +52 -0
- package/dist/runtime/components/Collapsible.vue.d.ts +44 -0
- package/dist/runtime/components/ColorModeToggle.d.vue.ts +3 -0
- package/dist/runtime/components/ColorModeToggle.vue +24 -0
- package/dist/runtime/components/ColorModeToggle.vue.d.ts +3 -0
- package/dist/runtime/components/ColorPicker.d.vue.ts +30 -0
- package/dist/runtime/components/ColorPicker.vue +112 -0
- package/dist/runtime/components/ColorPicker.vue.d.ts +30 -0
- package/dist/runtime/components/Column.d.ts +72 -0
- package/dist/runtime/components/Column.js +34 -0
- package/dist/runtime/components/ColumnGroup.d.ts +33 -0
- package/dist/runtime/components/ColumnGroup.js +17 -0
- package/dist/runtime/components/CommandPalette.d.vue.ts +41 -0
- package/dist/runtime/components/CommandPalette.vue +208 -0
- package/dist/runtime/components/CommandPalette.vue.d.ts +41 -0
- package/dist/runtime/components/Container.d.vue.ts +22 -0
- package/dist/runtime/components/Container.vue +21 -0
- package/dist/runtime/components/Container.vue.d.ts +22 -0
- package/dist/runtime/components/ContentNavigation.d.vue.ts +31 -0
- package/dist/runtime/components/ContentNavigation.vue +64 -0
- package/dist/runtime/components/ContentNavigation.vue.d.ts +31 -0
- package/dist/runtime/components/ContentSurround.d.vue.ts +16 -0
- package/dist/runtime/components/ContentSurround.vue +46 -0
- package/dist/runtime/components/ContentSurround.vue.d.ts +16 -0
- package/dist/runtime/components/ContentToc.d.vue.ts +35 -0
- package/dist/runtime/components/ContentToc.vue +265 -0
- package/dist/runtime/components/ContentToc.vue.d.ts +35 -0
- package/dist/runtime/components/ContextMenu.d.vue.ts +33 -0
- package/dist/runtime/components/ContextMenu.vue +49 -0
- package/dist/runtime/components/ContextMenu.vue.d.ts +33 -0
- package/dist/runtime/components/DashboardGroup.d.vue.ts +24 -0
- package/dist/runtime/components/DashboardGroup.vue +52 -0
- package/dist/runtime/components/DashboardGroup.vue.d.ts +24 -0
- package/dist/runtime/components/DashboardNavbar.d.vue.ts +23 -0
- package/dist/runtime/components/DashboardNavbar.vue +33 -0
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +23 -0
- package/dist/runtime/components/DashboardPanel.d.vue.ts +22 -0
- package/dist/runtime/components/DashboardPanel.vue +26 -0
- package/dist/runtime/components/DashboardPanel.vue.d.ts +22 -0
- package/dist/runtime/components/DashboardResizeHandle.d.vue.ts +8 -0
- package/dist/runtime/components/DashboardResizeHandle.vue +19 -0
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +8 -0
- package/dist/runtime/components/DashboardSidebar.d.vue.ts +40 -0
- package/dist/runtime/components/DashboardSidebar.vue +117 -0
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +40 -0
- package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +21 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue +42 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +21 -0
- package/dist/runtime/components/DatePicker.d.vue.ts +165 -0
- package/dist/runtime/components/DatePicker.vue +796 -0
- package/dist/runtime/components/DatePicker.vue.d.ts +165 -0
- package/dist/runtime/components/Drawer.d.vue.ts +74 -0
- package/dist/runtime/components/Drawer.vue +157 -0
- package/dist/runtime/components/Drawer.vue.d.ts +74 -0
- package/dist/runtime/components/DrawerRenderer.d.vue.ts +3 -0
- package/dist/runtime/components/DrawerRenderer.vue +30 -0
- package/dist/runtime/components/DrawerRenderer.vue.d.ts +3 -0
- package/dist/runtime/components/Dropdown.d.vue.ts +35 -0
- package/dist/runtime/components/Dropdown.vue +51 -0
- package/dist/runtime/components/Dropdown.vue.d.ts +35 -0
- package/dist/runtime/components/FileTree.d.vue.ts +28 -0
- package/dist/runtime/components/FileTree.vue +68 -0
- package/dist/runtime/components/FileTree.vue.d.ts +28 -0
- package/dist/runtime/components/FileUpload.d.vue.ts +68 -0
- package/dist/runtime/components/FileUpload.vue +226 -0
- package/dist/runtime/components/FileUpload.vue.d.ts +68 -0
- package/dist/runtime/components/FormField.d.vue.ts +37 -0
- package/dist/runtime/components/FormField.vue +72 -0
- package/dist/runtime/components/FormField.vue.d.ts +37 -0
- package/dist/runtime/components/Header.d.vue.ts +20 -0
- package/dist/runtime/components/Header.vue +23 -0
- package/dist/runtime/components/Header.vue.d.ts +20 -0
- package/dist/runtime/components/Icon.d.vue.ts +14 -0
- package/dist/runtime/components/Icon.vue +18 -0
- package/dist/runtime/components/Icon.vue.d.ts +14 -0
- package/dist/runtime/components/Input.d.vue.ts +41 -0
- package/dist/runtime/components/Input.vue +86 -0
- package/dist/runtime/components/Input.vue.d.ts +41 -0
- package/dist/runtime/components/InputGroup.d.vue.ts +22 -0
- package/dist/runtime/components/InputGroup.vue +21 -0
- package/dist/runtime/components/InputGroup.vue.d.ts +22 -0
- package/dist/runtime/components/InputNumber.d.vue.ts +37 -0
- package/dist/runtime/components/InputNumber.vue +173 -0
- package/dist/runtime/components/InputNumber.vue.d.ts +37 -0
- package/dist/runtime/components/Kbd.d.vue.ts +24 -0
- package/dist/runtime/components/Kbd.vue +42 -0
- package/dist/runtime/components/Kbd.vue.d.ts +24 -0
- package/dist/runtime/components/Modal.d.vue.ts +72 -0
- package/dist/runtime/components/Modal.vue +178 -0
- package/dist/runtime/components/Modal.vue.d.ts +72 -0
- package/dist/runtime/components/ModalRenderer.d.vue.ts +3 -0
- package/dist/runtime/components/ModalRenderer.vue +25 -0
- package/dist/runtime/components/ModalRenderer.vue.d.ts +3 -0
- package/dist/runtime/components/NavigationMenu.d.vue.ts +108 -0
- package/dist/runtime/components/NavigationMenu.vue +166 -0
- package/dist/runtime/components/NavigationMenu.vue.d.ts +108 -0
- package/dist/runtime/components/NavigationMenuAccordionItem.d.vue.ts +23 -0
- package/dist/runtime/components/NavigationMenuAccordionItem.vue +106 -0
- package/dist/runtime/components/NavigationMenuAccordionItem.vue.d.ts +23 -0
- package/dist/runtime/components/NavigationMenuFlyoutList.d.vue.ts +19 -0
- package/dist/runtime/components/NavigationMenuFlyoutList.vue +44 -0
- package/dist/runtime/components/NavigationMenuFlyoutList.vue.d.ts +19 -0
- package/dist/runtime/components/NavigationMenuFlyoutTrigger.d.vue.ts +49 -0
- package/dist/runtime/components/NavigationMenuFlyoutTrigger.vue +116 -0
- package/dist/runtime/components/NavigationMenuFlyoutTrigger.vue.d.ts +49 -0
- package/dist/runtime/components/PageAside.d.vue.ts +20 -0
- package/dist/runtime/components/PageAside.vue +26 -0
- package/dist/runtime/components/PageAside.vue.d.ts +20 -0
- package/dist/runtime/components/PageHeader.d.vue.ts +24 -0
- package/dist/runtime/components/PageHeader.vue +30 -0
- package/dist/runtime/components/PageHeader.vue.d.ts +24 -0
- package/dist/runtime/components/Pagination.d.vue.ts +42 -0
- package/dist/runtime/components/Pagination.vue +113 -0
- package/dist/runtime/components/Pagination.vue.d.ts +42 -0
- package/dist/runtime/components/PinInput.d.vue.ts +40 -0
- package/dist/runtime/components/PinInput.vue +66 -0
- package/dist/runtime/components/PinInput.vue.d.ts +40 -0
- package/dist/runtime/components/Popover.d.vue.ts +52 -0
- package/dist/runtime/components/Popover.vue +77 -0
- package/dist/runtime/components/Popover.vue.d.ts +52 -0
- package/dist/runtime/components/Progress.d.vue.ts +32 -0
- package/dist/runtime/components/Progress.vue +76 -0
- package/dist/runtime/components/Progress.vue.d.ts +32 -0
- package/dist/runtime/components/ProseH1.d.vue.ts +18 -0
- package/dist/runtime/components/ProseH1.vue +21 -0
- package/dist/runtime/components/ProseH1.vue.d.ts +18 -0
- package/dist/runtime/components/ProseH2.d.vue.ts +18 -0
- package/dist/runtime/components/ProseH2.vue +21 -0
- package/dist/runtime/components/ProseH2.vue.d.ts +18 -0
- package/dist/runtime/components/ProseH3.d.vue.ts +18 -0
- package/dist/runtime/components/ProseH3.vue +21 -0
- package/dist/runtime/components/ProseH3.vue.d.ts +18 -0
- package/dist/runtime/components/ProseH4.d.vue.ts +18 -0
- package/dist/runtime/components/ProseH4.vue +21 -0
- package/dist/runtime/components/ProseH4.vue.d.ts +18 -0
- package/dist/runtime/components/ProseH5.d.vue.ts +18 -0
- package/dist/runtime/components/ProseH5.vue +21 -0
- package/dist/runtime/components/ProseH5.vue.d.ts +18 -0
- package/dist/runtime/components/ProseH6.d.vue.ts +18 -0
- package/dist/runtime/components/ProseH6.vue +21 -0
- package/dist/runtime/components/ProseH6.vue.d.ts +18 -0
- package/dist/runtime/components/ProsePre.d.vue.ts +20 -0
- package/dist/runtime/components/ProsePre.vue +50 -0
- package/dist/runtime/components/ProsePre.vue.d.ts +20 -0
- package/dist/runtime/components/RadioGroup.d.vue.ts +50 -0
- package/dist/runtime/components/RadioGroup.vue +82 -0
- package/dist/runtime/components/RadioGroup.vue.d.ts +50 -0
- package/dist/runtime/components/Rating.d.vue.ts +36 -0
- package/dist/runtime/components/Rating.vue +83 -0
- package/dist/runtime/components/Rating.vue.d.ts +36 -0
- package/dist/runtime/components/ReadMore.d.vue.ts +20 -0
- package/dist/runtime/components/ReadMore.vue +59 -0
- package/dist/runtime/components/ReadMore.vue.d.ts +20 -0
- package/dist/runtime/components/ScrollArea.d.vue.ts +19 -0
- package/dist/runtime/components/ScrollArea.vue +37 -0
- package/dist/runtime/components/ScrollArea.vue.d.ts +19 -0
- package/dist/runtime/components/Select.d.vue.ts +60 -0
- package/dist/runtime/components/Select.vue +40 -0
- package/dist/runtime/components/Select.vue.d.ts +60 -0
- package/dist/runtime/components/Separator.d.vue.ts +27 -0
- package/dist/runtime/components/Separator.vue +36 -0
- package/dist/runtime/components/Separator.vue.d.ts +27 -0
- package/dist/runtime/components/Skeleton.d.vue.ts +13 -0
- package/dist/runtime/components/Skeleton.vue +17 -0
- package/dist/runtime/components/Skeleton.vue.d.ts +13 -0
- package/dist/runtime/components/Slideover.d.vue.ts +65 -0
- package/dist/runtime/components/Slideover.vue +140 -0
- package/dist/runtime/components/Slideover.vue.d.ts +65 -0
- package/dist/runtime/components/SlideoverRenderer.d.vue.ts +3 -0
- package/dist/runtime/components/SlideoverRenderer.vue +27 -0
- package/dist/runtime/components/SlideoverRenderer.vue.d.ts +3 -0
- package/dist/runtime/components/Slider.d.vue.ts +60 -0
- package/dist/runtime/components/Slider.vue +186 -0
- package/dist/runtime/components/Slider.vue.d.ts +60 -0
- package/dist/runtime/components/Splitter.d.vue.ts +41 -0
- package/dist/runtime/components/Splitter.vue +31 -0
- package/dist/runtime/components/Splitter.vue.d.ts +41 -0
- package/dist/runtime/components/SplitterPanel.d.vue.ts +55 -0
- package/dist/runtime/components/SplitterPanel.vue +52 -0
- package/dist/runtime/components/SplitterPanel.vue.d.ts +55 -0
- package/dist/runtime/components/SplitterResizeHandle.d.vue.ts +14 -0
- package/dist/runtime/components/SplitterResizeHandle.vue +22 -0
- package/dist/runtime/components/SplitterResizeHandle.vue.d.ts +14 -0
- package/dist/runtime/components/Stepper.d.vue.ts +57 -0
- package/dist/runtime/components/Stepper.vue +101 -0
- package/dist/runtime/components/Stepper.vue.d.ts +57 -0
- package/dist/runtime/components/Switch.d.vue.ts +49 -0
- package/dist/runtime/components/Switch.vue +73 -0
- package/dist/runtime/components/Switch.vue.d.ts +49 -0
- package/dist/runtime/components/Table.d.vue.ts +83 -0
- package/dist/runtime/components/Table.vue +339 -0
- package/dist/runtime/components/Table.vue.d.ts +83 -0
- package/dist/runtime/components/Tabs.d.vue.ts +43 -0
- package/dist/runtime/components/Tabs.vue +60 -0
- package/dist/runtime/components/Tabs.vue.d.ts +43 -0
- package/dist/runtime/components/Textarea.d.vue.ts +45 -0
- package/dist/runtime/components/Textarea.vue +110 -0
- package/dist/runtime/components/Textarea.vue.d.ts +45 -0
- package/dist/runtime/components/Theme.d.vue.ts +19 -0
- package/dist/runtime/components/Theme.vue +18 -0
- package/dist/runtime/components/Theme.vue.d.ts +19 -0
- package/dist/runtime/components/Toast.d.vue.ts +8 -0
- package/dist/runtime/components/Toast.vue +58 -0
- package/dist/runtime/components/Toast.vue.d.ts +8 -0
- package/dist/runtime/components/Toggle.d.vue.ts +38 -0
- package/dist/runtime/components/Toggle.vue +44 -0
- package/dist/runtime/components/Toggle.vue.d.ts +38 -0
- package/dist/runtime/components/ToggleGroup.d.vue.ts +48 -0
- package/dist/runtime/components/ToggleGroup.vue +61 -0
- package/dist/runtime/components/ToggleGroup.vue.d.ts +48 -0
- package/dist/runtime/components/Tooltip.d.vue.ts +28 -0
- package/dist/runtime/components/Tooltip.vue +40 -0
- package/dist/runtime/components/Tooltip.vue.d.ts +28 -0
- package/dist/runtime/components/Tree.d.vue.ts +64 -0
- package/dist/runtime/components/Tree.vue +139 -0
- package/dist/runtime/components/Tree.vue.d.ts +64 -0
- package/dist/runtime/composables/use-combobox-select.d.ts +45 -0
- package/dist/runtime/composables/use-combobox-select.js +80 -0
- package/dist/runtime/composables/use-command-palette.d.ts +8 -0
- package/dist/runtime/composables/use-command-palette.js +14 -0
- package/dist/runtime/composables/use-drawer.d.ts +42 -0
- package/dist/runtime/composables/use-drawer.js +44 -0
- package/dist/runtime/composables/use-form-field.d.ts +10 -0
- package/dist/runtime/composables/use-form-field.js +8 -0
- package/dist/runtime/composables/use-icons.d.ts +10 -0
- package/dist/runtime/composables/use-icons.js +7 -0
- package/dist/runtime/composables/use-locale.d.ts +12 -0
- package/dist/runtime/composables/use-locale.js +6 -0
- package/dist/runtime/composables/use-media-query.d.ts +11 -0
- package/dist/runtime/composables/use-media-query.js +15 -0
- package/dist/runtime/composables/use-messages.d.ts +12 -0
- package/dist/runtime/composables/use-messages.js +7 -0
- package/dist/runtime/composables/use-modal.d.ts +32 -0
- package/dist/runtime/composables/use-modal.js +39 -0
- package/dist/runtime/composables/use-ripple.d.ts +15 -0
- package/dist/runtime/composables/use-ripple.js +6 -0
- package/dist/runtime/composables/use-slideover.d.ts +36 -0
- package/dist/runtime/composables/use-slideover.js +41 -0
- package/dist/runtime/composables/use-table.d.ts +63 -0
- package/dist/runtime/composables/use-table.js +142 -0
- package/dist/runtime/composables/use-toast.d.ts +15 -0
- package/dist/runtime/composables/use-toast.js +16 -0
- package/dist/runtime/directives/index.d.ts +1 -0
- package/dist/runtime/directives/index.js +1 -0
- package/dist/runtime/directives/ripple.d.ts +16 -0
- package/dist/runtime/directives/ripple.js +80 -0
- package/dist/runtime/internal/ColorPickerBody.d.vue.ts +26 -0
- package/dist/runtime/internal/ColorPickerBody.vue +111 -0
- package/dist/runtime/internal/ColorPickerBody.vue.d.ts +26 -0
- package/dist/runtime/internal/ComboboxSelectBase.d.vue.ts +122 -0
- package/dist/runtime/internal/ComboboxSelectBase.vue +590 -0
- package/dist/runtime/internal/ComboboxSelectBase.vue.d.ts +122 -0
- package/dist/runtime/internal/ComboboxSelectBody.d.vue.ts +71 -0
- package/dist/runtime/internal/ComboboxSelectBody.vue +146 -0
- package/dist/runtime/internal/ComboboxSelectBody.vue.d.ts +71 -0
- package/dist/runtime/internal/DatePickerCalendarBody.d.vue.ts +71 -0
- package/dist/runtime/internal/DatePickerCalendarBody.vue +215 -0
- package/dist/runtime/internal/DatePickerCalendarBody.vue.d.ts +71 -0
- package/dist/runtime/internal/DatePickerRangeCalendarBody.d.vue.ts +37 -0
- package/dist/runtime/internal/DatePickerRangeCalendarBody.vue +96 -0
- package/dist/runtime/internal/DatePickerRangeCalendarBody.vue.d.ts +37 -0
- package/dist/runtime/internal/DatePickerTimeBody.d.vue.ts +33 -0
- package/dist/runtime/internal/DatePickerTimeBody.vue +53 -0
- package/dist/runtime/internal/DatePickerTimeBody.vue.d.ts +33 -0
- package/dist/runtime/internal/TimeStepper.d.vue.ts +28 -0
- package/dist/runtime/internal/TimeStepper.vue +99 -0
- package/dist/runtime/internal/TimeStepper.vue.d.ts +28 -0
- package/dist/runtime/prose.css +1 -0
- package/dist/runtime/server/tsconfig.json +3 -0
- package/dist/runtime/theme/accordion.d.ts +131 -0
- package/dist/runtime/theme/accordion.js +60 -0
- package/dist/runtime/theme/alert-dialog.d.ts +50 -0
- package/dist/runtime/theme/alert-dialog.js +30 -0
- package/dist/runtime/theme/alert.d.ts +62 -0
- package/dist/runtime/theme/alert.js +52 -0
- package/dist/runtime/theme/avatar-group.d.ts +59 -0
- package/dist/runtime/theme/avatar-group.js +18 -0
- package/dist/runtime/theme/avatar.d.ts +206 -0
- package/dist/runtime/theme/avatar.js +67 -0
- package/dist/runtime/theme/badge.d.ts +140 -0
- package/dist/runtime/theme/badge.js +90 -0
- package/dist/runtime/theme/breadcrumb.d.ts +86 -0
- package/dist/runtime/theme/breadcrumb.js +22 -0
- package/dist/runtime/theme/button-group.d.ts +53 -0
- package/dist/runtime/theme/button-group.js +21 -0
- package/dist/runtime/theme/button.d.ts +155 -0
- package/dist/runtime/theme/button.js +99 -0
- package/dist/runtime/theme/callout.d.ts +74 -0
- package/dist/runtime/theme/callout.js +23 -0
- package/dist/runtime/theme/card-group.d.ts +44 -0
- package/dist/runtime/theme/card-group.js +19 -0
- package/dist/runtime/theme/card.d.ts +62 -0
- package/dist/runtime/theme/card.js +23 -0
- package/dist/runtime/theme/checkbox.d.ts +218 -0
- package/dist/runtime/theme/checkbox.js +113 -0
- package/dist/runtime/theme/chip.d.ts +155 -0
- package/dist/runtime/theme/chip.js +86 -0
- package/dist/runtime/theme/code-button.d.ts +32 -0
- package/dist/runtime/theme/code-button.js +7 -0
- package/dist/runtime/theme/code-tree.d.ts +50 -0
- package/dist/runtime/theme/code-tree.js +13 -0
- package/dist/runtime/theme/collapsible.d.ts +95 -0
- package/dist/runtime/theme/collapsible.js +46 -0
- package/dist/runtime/theme/color-picker.d.ts +152 -0
- package/dist/runtime/theme/color-picker.js +83 -0
- package/dist/runtime/theme/command-palette.d.ts +110 -0
- package/dist/runtime/theme/command-palette.js +23 -0
- package/dist/runtime/theme/container.d.ts +62 -0
- package/dist/runtime/theme/container.js +18 -0
- package/dist/runtime/theme/content-navigation.d.ts +47 -0
- package/dist/runtime/theme/content-navigation.js +38 -0
- package/dist/runtime/theme/content-surround.d.ts +53 -0
- package/dist/runtime/theme/content-surround.js +22 -0
- package/dist/runtime/theme/content-toc.d.ts +56 -0
- package/dist/runtime/theme/content-toc.js +41 -0
- package/dist/runtime/theme/context-menu.d.ts +38 -0
- package/dist/runtime/theme/context-menu.js +21 -0
- package/dist/runtime/theme/dashboard-group.d.ts +26 -0
- package/dist/runtime/theme/dashboard-group.js +9 -0
- package/dist/runtime/theme/dashboard-navbar.d.ts +44 -0
- package/dist/runtime/theme/dashboard-navbar.js +9 -0
- package/dist/runtime/theme/dashboard-panel.d.ts +26 -0
- package/dist/runtime/theme/dashboard-panel.js +6 -0
- package/dist/runtime/theme/dashboard-resize-handle.d.ts +26 -0
- package/dist/runtime/theme/dashboard-resize-handle.js +17 -0
- package/dist/runtime/theme/dashboard-sidebar.d.ts +50 -0
- package/dist/runtime/theme/dashboard-sidebar.js +40 -0
- package/dist/runtime/theme/date-picker.d.ts +119 -0
- package/dist/runtime/theme/date-picker.js +75 -0
- package/dist/runtime/theme/drawer.d.ts +95 -0
- package/dist/runtime/theme/drawer.js +57 -0
- package/dist/runtime/theme/dropdown.d.ts +41 -0
- package/dist/runtime/theme/dropdown.js +21 -0
- package/dist/runtime/theme/file-tree.d.ts +56 -0
- package/dist/runtime/theme/file-tree.js +33 -0
- package/dist/runtime/theme/file-upload.d.ts +233 -0
- package/dist/runtime/theme/file-upload.js +63 -0
- package/dist/runtime/theme/form-field.d.ts +95 -0
- package/dist/runtime/theme/form-field.js +37 -0
- package/dist/runtime/theme/header.d.ts +38 -0
- package/dist/runtime/theme/header.js +8 -0
- package/dist/runtime/theme/icon.d.ts +80 -0
- package/dist/runtime/theme/icon.js +26 -0
- package/dist/runtime/theme/input-group.d.ts +95 -0
- package/dist/runtime/theme/input-group.js +39 -0
- package/dist/runtime/theme/input-number.d.ts +164 -0
- package/dist/runtime/theme/input-number.js +76 -0
- package/dist/runtime/theme/input.d.ts +185 -0
- package/dist/runtime/theme/input.js +72 -0
- package/dist/runtime/theme/kbd.d.ts +44 -0
- package/dist/runtime/theme/kbd.js +16 -0
- package/dist/runtime/theme/modal.d.ts +74 -0
- package/dist/runtime/theme/modal.js +58 -0
- package/dist/runtime/theme/navigation-menu.d.ts +224 -0
- package/dist/runtime/theme/navigation-menu.js +232 -0
- package/dist/runtime/theme/page-aside.d.ts +44 -0
- package/dist/runtime/theme/page-aside.js +17 -0
- package/dist/runtime/theme/page-header.d.ts +38 -0
- package/dist/runtime/theme/page-header.js +8 -0
- package/dist/runtime/theme/pagination.d.ts +68 -0
- package/dist/runtime/theme/pagination.js +21 -0
- package/dist/runtime/theme/pin-input.d.ts +131 -0
- package/dist/runtime/theme/pin-input.js +40 -0
- package/dist/runtime/theme/popover.d.ts +32 -0
- package/dist/runtime/theme/popover.js +7 -0
- package/dist/runtime/theme/progress.d.ts +185 -0
- package/dist/runtime/theme/progress.js +54 -0
- package/dist/runtime/theme/prose.d.ts +92 -0
- package/dist/runtime/theme/prose.js +17 -0
- package/dist/runtime/theme/radio-group.d.ts +239 -0
- package/dist/runtime/theme/radio-group.js +134 -0
- package/dist/runtime/theme/rating.d.ts +167 -0
- package/dist/runtime/theme/rating.js +77 -0
- package/dist/runtime/theme/read-more.d.ts +38 -0
- package/dist/runtime/theme/read-more.js +21 -0
- package/dist/runtime/theme/scroll-area.d.ts +50 -0
- package/dist/runtime/theme/scroll-area.js +10 -0
- package/dist/runtime/theme/select.d.ts +176 -0
- package/dist/runtime/theme/select.js +74 -0
- package/dist/runtime/theme/separator.d.ts +158 -0
- package/dist/runtime/theme/separator.js +63 -0
- package/dist/runtime/theme/skeleton.d.ts +35 -0
- package/dist/runtime/theme/skeleton.js +27 -0
- package/dist/runtime/theme/slideover.d.ts +107 -0
- package/dist/runtime/theme/slideover.js +62 -0
- package/dist/runtime/theme/slider.d.ts +227 -0
- package/dist/runtime/theme/slider.js +73 -0
- package/dist/runtime/theme/splitter-panel.d.ts +26 -0
- package/dist/runtime/theme/splitter-panel.js +9 -0
- package/dist/runtime/theme/splitter-resize-handle.d.ts +44 -0
- package/dist/runtime/theme/splitter-resize-handle.js +18 -0
- package/dist/runtime/theme/splitter.d.ts +35 -0
- package/dist/runtime/theme/splitter.js +15 -0
- package/dist/runtime/theme/stepper.d.ts +221 -0
- package/dist/runtime/theme/stepper.js +106 -0
- package/dist/runtime/theme/switch.d.ts +206 -0
- package/dist/runtime/theme/switch.js +84 -0
- package/dist/runtime/theme/table.d.ts +176 -0
- package/dist/runtime/theme/table.js +59 -0
- package/dist/runtime/theme/tabs.d.ts +59 -0
- package/dist/runtime/theme/tabs.js +44 -0
- package/dist/runtime/theme/textarea.d.ts +212 -0
- package/dist/runtime/theme/textarea.js +56 -0
- package/dist/runtime/theme/toast.d.ts +80 -0
- package/dist/runtime/theme/toast.js +31 -0
- package/dist/runtime/theme/toggle-group.d.ts +110 -0
- package/dist/runtime/theme/toggle-group.js +48 -0
- package/dist/runtime/theme/toggle.d.ts +92 -0
- package/dist/runtime/theme/toggle.js +48 -0
- package/dist/runtime/theme/tooltip.d.ts +44 -0
- package/dist/runtime/theme/tooltip.js +14 -0
- package/dist/runtime/theme/tree.d.ts +80 -0
- package/dist/runtime/theme/tree.js +32 -0
- package/dist/runtime/theme.css +1 -0
- package/dist/runtime/types/app-config.d.ts +15 -0
- package/dist/runtime/types/index.d.ts +82 -0
- package/dist/runtime/types/index.js +2 -0
- package/dist/runtime/utils/format-bytes.d.ts +2 -0
- package/dist/runtime/utils/format-bytes.js +9 -0
- package/dist/runtime/utils/fuzzy-match.d.ts +12 -0
- package/dist/runtime/utils/fuzzy-match.js +21 -0
- package/dist/runtime/utils/icons.d.ts +38 -0
- package/dist/runtime/utils/icons.js +51 -0
- package/dist/runtime/utils/injection-keys.d.ts +69 -0
- package/dist/runtime/utils/injection-keys.js +3 -0
- package/dist/runtime/utils/messages.d.ts +70 -0
- package/dist/runtime/utils/messages.js +68 -0
- package/dist/runtime/utils/navigation-menu.d.ts +32 -0
- package/dist/runtime/utils/navigation-menu.js +5 -0
- package/dist/runtime/utils/table-columns.d.ts +30 -0
- package/dist/runtime/utils/table-columns.js +89 -0
- package/dist/runtime/utils/table-export.d.ts +12 -0
- package/dist/runtime/utils/table-export.js +29 -0
- package/dist/runtime/utils/ui.d.ts +124 -0
- package/dist/runtime/utils/ui.js +74 -0
- package/dist/types.d.mts +3 -0
- package/package.json +99 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const contentSurroundTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
align: {
|
|
3
|
+
start: {
|
|
4
|
+
link: string;
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
7
|
+
end: {
|
|
8
|
+
link: string;
|
|
9
|
+
label: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
root: string;
|
|
14
|
+
link: string;
|
|
15
|
+
label: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
title: string;
|
|
18
|
+
}, undefined, {
|
|
19
|
+
align: {
|
|
20
|
+
start: {
|
|
21
|
+
link: string;
|
|
22
|
+
label: string;
|
|
23
|
+
};
|
|
24
|
+
end: {
|
|
25
|
+
link: string;
|
|
26
|
+
label: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
root: string;
|
|
31
|
+
link: string;
|
|
32
|
+
label: string;
|
|
33
|
+
icon: string;
|
|
34
|
+
title: string;
|
|
35
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
36
|
+
align: {
|
|
37
|
+
start: {
|
|
38
|
+
link: string;
|
|
39
|
+
label: string;
|
|
40
|
+
};
|
|
41
|
+
end: {
|
|
42
|
+
link: string;
|
|
43
|
+
label: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
}, {
|
|
47
|
+
root: string;
|
|
48
|
+
link: string;
|
|
49
|
+
label: string;
|
|
50
|
+
icon: string;
|
|
51
|
+
title: string;
|
|
52
|
+
}>>;
|
|
53
|
+
export type ContentSurroundThemeSlots = keyof (typeof contentSurroundTheme)['slots'];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
export const contentSurroundTheme = tv({
|
|
3
|
+
slots: {
|
|
4
|
+
root: "grid grid-cols-2 gap-4 border-t border-[var(--ui-border)] pt-6",
|
|
5
|
+
link: "group flex flex-col gap-1 rounded-[var(--ui-radius-md)] border border-[var(--ui-border)] p-4 transition-colors hover:border-[var(--ui-border-hover)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--ui-primary)]",
|
|
6
|
+
label: "flex items-center gap-1 text-xs font-medium text-[var(--ui-text-muted)]",
|
|
7
|
+
icon: "size-3.5 shrink-0 rtl:rotate-180",
|
|
8
|
+
title: "text-sm font-medium text-[var(--ui-text)] transition-colors group-hover:text-[var(--ui-primary)]"
|
|
9
|
+
},
|
|
10
|
+
variants: {
|
|
11
|
+
// `next` right-aligns its own text and flips the label's icon+text
|
|
12
|
+
// order (icon trailing, not leading) - `prev`/`next` read as mirror
|
|
13
|
+
// images of each other, not two copies of the same layout.
|
|
14
|
+
align: {
|
|
15
|
+
start: { link: "items-start text-start", label: "flex-row" },
|
|
16
|
+
end: { link: "col-start-2 items-end text-end", label: "flex-row-reverse" }
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
defaultVariants: {
|
|
20
|
+
align: "start"
|
|
21
|
+
}
|
|
22
|
+
});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export declare const contentTocTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
active: {
|
|
3
|
+
true: {
|
|
4
|
+
link: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
root: string;
|
|
9
|
+
title: string;
|
|
10
|
+
railWrap: string;
|
|
11
|
+
list: string;
|
|
12
|
+
item: string;
|
|
13
|
+
link: string;
|
|
14
|
+
content: string;
|
|
15
|
+
railContainer: string;
|
|
16
|
+
railTrack: string;
|
|
17
|
+
railSegments: string;
|
|
18
|
+
railSegment: string;
|
|
19
|
+
}, undefined, {
|
|
20
|
+
active: {
|
|
21
|
+
true: {
|
|
22
|
+
link: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}, {
|
|
26
|
+
root: string;
|
|
27
|
+
title: string;
|
|
28
|
+
railWrap: string;
|
|
29
|
+
list: string;
|
|
30
|
+
item: string;
|
|
31
|
+
link: string;
|
|
32
|
+
content: string;
|
|
33
|
+
railContainer: string;
|
|
34
|
+
railTrack: string;
|
|
35
|
+
railSegments: string;
|
|
36
|
+
railSegment: string;
|
|
37
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
38
|
+
active: {
|
|
39
|
+
true: {
|
|
40
|
+
link: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
root: string;
|
|
45
|
+
title: string;
|
|
46
|
+
railWrap: string;
|
|
47
|
+
list: string;
|
|
48
|
+
item: string;
|
|
49
|
+
link: string;
|
|
50
|
+
content: string;
|
|
51
|
+
railContainer: string;
|
|
52
|
+
railTrack: string;
|
|
53
|
+
railSegments: string;
|
|
54
|
+
railSegment: string;
|
|
55
|
+
}>>;
|
|
56
|
+
export type ContentTocThemeSlots = keyof (typeof contentTocTheme)['slots'];
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
export const contentTocTheme = tv({
|
|
3
|
+
slots: {
|
|
4
|
+
root: "flex flex-col gap-2 text-sm",
|
|
5
|
+
title: "font-medium text-[var(--ui-text)]",
|
|
6
|
+
// relative + start padding reserves room for the rail (an absolutely
|
|
7
|
+
// positioned box, sized/placed entirely by ContentToc.vue's JS
|
|
8
|
+
// measurement - this only wraps the <ul>, not the title, matching the
|
|
9
|
+
// reference's own layout).
|
|
10
|
+
railWrap: "relative ps-7",
|
|
11
|
+
list: "flex flex-col gap-1",
|
|
12
|
+
item: "flex flex-col",
|
|
13
|
+
// A lighter touch than the main sidebar's - this is a secondary,
|
|
14
|
+
// supplementary "on this page" list, not primary navigation - but
|
|
15
|
+
// still meaningfully bigger than the original py-0.5. No left
|
|
16
|
+
// border/padding for the indicator anymore - the rail owns that job.
|
|
17
|
+
link: "block py-1.5 text-[var(--ui-text-muted)] transition-colors hover:text-[var(--ui-text)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--ui-primary)]",
|
|
18
|
+
content: "ms-3 flex flex-col gap-1",
|
|
19
|
+
// The rail is a single continuous "wire" connecting every heading
|
|
20
|
+
// (not just the active one), drawn as an SVG path and applied as a
|
|
21
|
+
// CSS mask - see ContentToc.vue's buildDepthPath/buildMaskUrl. The
|
|
22
|
+
// path itself is always built in a fixed left-to-right coordinate
|
|
23
|
+
// space, so under RTL the container mirrors horizontally via a
|
|
24
|
+
// transform rather than the path math being rebuilt per direction.
|
|
25
|
+
// Two masked divs share that same path shape:
|
|
26
|
+
railContainer: "absolute start-0 top-0 rtl:-scale-x-100",
|
|
27
|
+
// - a faint always-visible track (the full path, every heading).
|
|
28
|
+
railTrack: "absolute inset-0 bg-[var(--ui-text-muted)]/25",
|
|
29
|
+
// - a primary-colored overlay, masked identically, whose own child
|
|
30
|
+
// blocks (railSegment, one per contiguous run of active headings)
|
|
31
|
+
// only paint where they fall within the path - so the "lit"
|
|
32
|
+
// portion follows the same curves as the track under it.
|
|
33
|
+
railSegments: "absolute inset-0",
|
|
34
|
+
railSegment: "absolute w-full bg-[var(--ui-primary)] transition-[top,height] duration-200 ease-out"
|
|
35
|
+
},
|
|
36
|
+
variants: {
|
|
37
|
+
active: {
|
|
38
|
+
true: { link: "text-[var(--ui-primary)]" }
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const contextMenuTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
destructive: {
|
|
3
|
+
true: {
|
|
4
|
+
item: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
}, {
|
|
9
|
+
content: string;
|
|
10
|
+
item: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
separator: string;
|
|
13
|
+
}, undefined, {
|
|
14
|
+
destructive: {
|
|
15
|
+
true: {
|
|
16
|
+
item: string;
|
|
17
|
+
icon: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
content: string;
|
|
22
|
+
item: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
separator: string;
|
|
25
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
26
|
+
destructive: {
|
|
27
|
+
true: {
|
|
28
|
+
item: string;
|
|
29
|
+
icon: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
content: string;
|
|
34
|
+
item: string;
|
|
35
|
+
icon: string;
|
|
36
|
+
separator: string;
|
|
37
|
+
}>>;
|
|
38
|
+
export type ContextMenuThemeSlots = keyof (typeof contextMenuTheme)['slots'];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
export const contextMenuTheme = tv({
|
|
3
|
+
slots: {
|
|
4
|
+
// Same transient-popover layering tier as Dropdown - --ui-z-dropdown,
|
|
5
|
+
// not a separate token of its own.
|
|
6
|
+
content: "z-[var(--ui-z-dropdown)] min-w-40 rounded-[var(--ui-radius-md)] bg-[var(--ui-bg)] p-1 shadow-[var(--ui-shadow-md)] ring-1 ring-[var(--ui-border)] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2",
|
|
7
|
+
item: "flex items-center gap-2 rounded-[var(--ui-radius-sm)] px-2 py-1.5 text-sm text-[var(--ui-text)] cursor-pointer select-none outline-none data-[highlighted]:bg-[var(--ui-bg-elevated)] data-[disabled]:opacity-50 data-[disabled]:pointer-events-none",
|
|
8
|
+
icon: "size-4 shrink-0 text-[var(--ui-text-muted)]",
|
|
9
|
+
separator: "-mx-1 my-1 h-px bg-[var(--ui-border)]"
|
|
10
|
+
},
|
|
11
|
+
variants: {
|
|
12
|
+
// For a delete/remove-style action - same single flag Dropdown's own
|
|
13
|
+
// theme uses, rather than the full 7-color palette Badge/Chip expose.
|
|
14
|
+
destructive: {
|
|
15
|
+
true: {
|
|
16
|
+
item: "text-[var(--ui-danger)] data-[highlighted]:bg-[var(--ui-danger-soft)]",
|
|
17
|
+
icon: "text-[var(--ui-danger)]"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const dashboardGroupTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
root?: import("tailwind-variants").ClassValue;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
[x: string]: {
|
|
9
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
10
|
+
root?: import("tailwind-variants").ClassValue;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
} | {}, {
|
|
14
|
+
root: string;
|
|
15
|
+
}, undefined, {
|
|
16
|
+
[key: string]: {
|
|
17
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
18
|
+
root?: import("tailwind-variants").ClassValue;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
} | {}, {
|
|
22
|
+
root: string;
|
|
23
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
24
|
+
root: string;
|
|
25
|
+
}>>;
|
|
26
|
+
export type DashboardGroupThemeSlots = keyof (typeof dashboardGroupTheme)['slots'];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
export const dashboardGroupTheme = tv({
|
|
3
|
+
slots: {
|
|
4
|
+
// Same class works for both the desktop SplitterGroup and the mobile
|
|
5
|
+
// plain-div fallback - a horizontal flex row either way, just without
|
|
6
|
+
// Splitter's own inline flex-basis styling driving the split on mobile.
|
|
7
|
+
root: "flex h-full w-full overflow-hidden"
|
|
8
|
+
}
|
|
9
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const dashboardNavbarTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
root?: import("tailwind-variants").ClassValue;
|
|
5
|
+
right?: import("tailwind-variants").ClassValue;
|
|
6
|
+
left?: import("tailwind-variants").ClassValue;
|
|
7
|
+
title?: import("tailwind-variants").ClassValue;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
} | {
|
|
11
|
+
[x: string]: {
|
|
12
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
13
|
+
root?: import("tailwind-variants").ClassValue;
|
|
14
|
+
right?: import("tailwind-variants").ClassValue;
|
|
15
|
+
left?: import("tailwind-variants").ClassValue;
|
|
16
|
+
title?: import("tailwind-variants").ClassValue;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
} | {}, {
|
|
20
|
+
root: string;
|
|
21
|
+
left: string;
|
|
22
|
+
title: string;
|
|
23
|
+
right: string;
|
|
24
|
+
}, undefined, {
|
|
25
|
+
[key: string]: {
|
|
26
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
27
|
+
root?: import("tailwind-variants").ClassValue;
|
|
28
|
+
right?: import("tailwind-variants").ClassValue;
|
|
29
|
+
left?: import("tailwind-variants").ClassValue;
|
|
30
|
+
title?: import("tailwind-variants").ClassValue;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
} | {}, {
|
|
34
|
+
root: string;
|
|
35
|
+
left: string;
|
|
36
|
+
title: string;
|
|
37
|
+
right: string;
|
|
38
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
39
|
+
root: string;
|
|
40
|
+
left: string;
|
|
41
|
+
title: string;
|
|
42
|
+
right: string;
|
|
43
|
+
}>>;
|
|
44
|
+
export type DashboardNavbarThemeSlots = keyof (typeof dashboardNavbarTheme)['slots'];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
export const dashboardNavbarTheme = tv({
|
|
3
|
+
slots: {
|
|
4
|
+
root: "flex h-14 shrink-0 items-center justify-between gap-4 border-b border-[var(--ui-border)] bg-[var(--ui-bg)] px-4",
|
|
5
|
+
left: "flex min-w-0 items-center gap-2",
|
|
6
|
+
title: "truncate font-medium text-[var(--ui-text)]",
|
|
7
|
+
right: "flex shrink-0 items-center gap-2"
|
|
8
|
+
}
|
|
9
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const dashboardPanelTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
root?: import("tailwind-variants").ClassValue;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
[x: string]: {
|
|
9
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
10
|
+
root?: import("tailwind-variants").ClassValue;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
} | {}, {
|
|
14
|
+
root: string;
|
|
15
|
+
}, undefined, {
|
|
16
|
+
[key: string]: {
|
|
17
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
18
|
+
root?: import("tailwind-variants").ClassValue;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
} | {}, {
|
|
22
|
+
root: string;
|
|
23
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
24
|
+
root: string;
|
|
25
|
+
}>>;
|
|
26
|
+
export type DashboardPanelThemeSlots = keyof (typeof dashboardPanelTheme)['slots'];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const dashboardResizeHandleTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
root?: import("tailwind-variants").ClassValue;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
[x: string]: {
|
|
9
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
10
|
+
root?: import("tailwind-variants").ClassValue;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
} | {}, {
|
|
14
|
+
root: string;
|
|
15
|
+
}, undefined, {
|
|
16
|
+
[key: string]: {
|
|
17
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
18
|
+
root?: import("tailwind-variants").ClassValue;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
} | {}, {
|
|
22
|
+
root: string;
|
|
23
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
24
|
+
root: string;
|
|
25
|
+
}>>;
|
|
26
|
+
export type DashboardResizeHandleThemeSlots = keyof (typeof dashboardResizeHandleTheme)['slots'];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
export const dashboardResizeHandleTheme = tv({
|
|
3
|
+
slots: {
|
|
4
|
+
// SplitterResizeHandle's own hit area is deliberately wider than its
|
|
5
|
+
// visible line (a comfortable grab target, invisible padding on
|
|
6
|
+
// either side) - harmless when both adjacent panels share one
|
|
7
|
+
// background, but once DashboardSidebar's own root reads as
|
|
8
|
+
// --ui-bg-elevated (a step apart from DashboardPanel's own plain
|
|
9
|
+
// --ui-bg), that "invisible" padding stops being invisible: it reads
|
|
10
|
+
// as a sliver of the wrong background bleeding through right at the
|
|
11
|
+
// sidebar's own edge. A background split exactly down the middle -
|
|
12
|
+
// matching each side's real background - makes the hit area blend
|
|
13
|
+
// into whichever panel it happens to be sitting over instead of
|
|
14
|
+
// showing through as its own separate strip.
|
|
15
|
+
root: "bg-[linear-gradient(to_right,var(--ui-bg-elevated)_50%,var(--ui-bg)_50%)]"
|
|
16
|
+
}
|
|
17
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const dashboardSidebarTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
root?: import("tailwind-variants").ClassValue;
|
|
5
|
+
header?: import("tailwind-variants").ClassValue;
|
|
6
|
+
body?: import("tailwind-variants").ClassValue;
|
|
7
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
8
|
+
scrollArea?: import("tailwind-variants").ClassValue;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
} | {
|
|
12
|
+
[x: string]: {
|
|
13
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
14
|
+
root?: import("tailwind-variants").ClassValue;
|
|
15
|
+
header?: import("tailwind-variants").ClassValue;
|
|
16
|
+
body?: import("tailwind-variants").ClassValue;
|
|
17
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
18
|
+
scrollArea?: import("tailwind-variants").ClassValue;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
} | {}, {
|
|
22
|
+
root: string;
|
|
23
|
+
header: string;
|
|
24
|
+
scrollArea: string;
|
|
25
|
+
body: string;
|
|
26
|
+
footer: string;
|
|
27
|
+
}, undefined, {
|
|
28
|
+
[key: string]: {
|
|
29
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
30
|
+
root?: import("tailwind-variants").ClassValue;
|
|
31
|
+
header?: import("tailwind-variants").ClassValue;
|
|
32
|
+
body?: import("tailwind-variants").ClassValue;
|
|
33
|
+
footer?: import("tailwind-variants").ClassValue;
|
|
34
|
+
scrollArea?: import("tailwind-variants").ClassValue;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
} | {}, {
|
|
38
|
+
root: string;
|
|
39
|
+
header: string;
|
|
40
|
+
scrollArea: string;
|
|
41
|
+
body: string;
|
|
42
|
+
footer: string;
|
|
43
|
+
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
44
|
+
root: string;
|
|
45
|
+
header: string;
|
|
46
|
+
scrollArea: string;
|
|
47
|
+
body: string;
|
|
48
|
+
footer: string;
|
|
49
|
+
}>>;
|
|
50
|
+
export type DashboardSidebarThemeSlots = keyof (typeof dashboardSidebarTheme)['slots'];
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
export const dashboardSidebarTheme = tv({
|
|
3
|
+
slots: {
|
|
4
|
+
// flex flex-col so header/body/footer stack correctly regardless of
|
|
5
|
+
// which root element renders (SplitterPanel on desktop, Drawer's own
|
|
6
|
+
// content area on mobile) - both need the same internal layout. No
|
|
7
|
+
// border of its own on the end edge - DashboardResizeHandle's own
|
|
8
|
+
// line already draws that divider on desktop, and doubling it up
|
|
9
|
+
// here just reads as two parallel lines a couple pixels apart.
|
|
10
|
+
// transition-[flex-grow] animates the collapse/expand triggered via
|
|
11
|
+
// DashboardNavbar's toggle button - a live drag updates flex-grow on
|
|
12
|
+
// every pointermove instead, frequently enough that a short duration
|
|
13
|
+
// like this reads as smoothed-out tracking rather than lag, not a
|
|
14
|
+
// rubber-band fight against the cursor.
|
|
15
|
+
// --ui-bg-elevated (not the base --ui-bg the main content area sits
|
|
16
|
+
// on) - a step darker/lighter than the page background, the same
|
|
17
|
+
// token hover states elsewhere already use for "a surface slightly
|
|
18
|
+
// apart from the page" - gives the sidebar a genuine, real contrast
|
|
19
|
+
// against DashboardPanel's own content instead of both areas reading
|
|
20
|
+
// as one contiguous white/dark surface with only the resize-handle's
|
|
21
|
+
// thin line between them.
|
|
22
|
+
root: "flex h-full flex-col overflow-hidden bg-[var(--ui-bg-elevated)] transition-[flex-grow] duration-200 ease-out",
|
|
23
|
+
// No border, no height lock to DashboardNavbar's own h-14 - an
|
|
24
|
+
// earlier version of this tried exactly that (to fix a real reported
|
|
25
|
+
// bug: the two areas' bottom borders landing a few px apart), but
|
|
26
|
+
// coupling this slot's height to a sibling it has no relationship to
|
|
27
|
+
// is fragile in the wrong direction - it only stays aligned for
|
|
28
|
+
// whatever header content happens to fit in 56px, and actively
|
|
29
|
+
// clips anything taller (a logo plus a tagline, a search box). Sized
|
|
30
|
+
// to its own content via plain padding instead, the same as footer
|
|
31
|
+
// below - the sidebar's header and the navbar are independent areas
|
|
32
|
+
// that don't need a shared horizontal datum line; a consumer who
|
|
33
|
+
// wants a border under their own header content can add one via
|
|
34
|
+
// `:ui="{ header: 'border-b ...' }"`.
|
|
35
|
+
header: "shrink-0 p-4",
|
|
36
|
+
scrollArea: "flex-1 min-h-0",
|
|
37
|
+
body: "p-2",
|
|
38
|
+
footer: "shrink-0 border-t border-[var(--ui-border)] p-4"
|
|
39
|
+
}
|
|
40
|
+
});
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
export declare const datePickerTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
sm: {
|
|
4
|
+
field: string;
|
|
5
|
+
};
|
|
6
|
+
md: {
|
|
7
|
+
field: string;
|
|
8
|
+
};
|
|
9
|
+
lg: {
|
|
10
|
+
field: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
invalid: {
|
|
14
|
+
true: {
|
|
15
|
+
field: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
range: {
|
|
19
|
+
true: {
|
|
20
|
+
cell: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
root: string;
|
|
25
|
+
field: string;
|
|
26
|
+
segment: string;
|
|
27
|
+
separator: string;
|
|
28
|
+
content: string;
|
|
29
|
+
mobileContent: string;
|
|
30
|
+
header: string;
|
|
31
|
+
heading: string;
|
|
32
|
+
grids: string;
|
|
33
|
+
grid: string;
|
|
34
|
+
gridHead: string;
|
|
35
|
+
headCell: string;
|
|
36
|
+
cell: string;
|
|
37
|
+
viewGrid: string;
|
|
38
|
+
timeSection: string;
|
|
39
|
+
arrow: string;
|
|
40
|
+
}, undefined, {
|
|
41
|
+
size: {
|
|
42
|
+
sm: {
|
|
43
|
+
field: string;
|
|
44
|
+
};
|
|
45
|
+
md: {
|
|
46
|
+
field: string;
|
|
47
|
+
};
|
|
48
|
+
lg: {
|
|
49
|
+
field: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
invalid: {
|
|
53
|
+
true: {
|
|
54
|
+
field: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
range: {
|
|
58
|
+
true: {
|
|
59
|
+
cell: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
root: string;
|
|
64
|
+
field: string;
|
|
65
|
+
segment: string;
|
|
66
|
+
separator: string;
|
|
67
|
+
content: string;
|
|
68
|
+
mobileContent: string;
|
|
69
|
+
header: string;
|
|
70
|
+
heading: string;
|
|
71
|
+
grids: string;
|
|
72
|
+
grid: string;
|
|
73
|
+
gridHead: string;
|
|
74
|
+
headCell: string;
|
|
75
|
+
cell: string;
|
|
76
|
+
viewGrid: string;
|
|
77
|
+
timeSection: string;
|
|
78
|
+
arrow: string;
|
|
79
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
80
|
+
size: {
|
|
81
|
+
sm: {
|
|
82
|
+
field: string;
|
|
83
|
+
};
|
|
84
|
+
md: {
|
|
85
|
+
field: string;
|
|
86
|
+
};
|
|
87
|
+
lg: {
|
|
88
|
+
field: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
invalid: {
|
|
92
|
+
true: {
|
|
93
|
+
field: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
range: {
|
|
97
|
+
true: {
|
|
98
|
+
cell: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}, {
|
|
102
|
+
root: string;
|
|
103
|
+
field: string;
|
|
104
|
+
segment: string;
|
|
105
|
+
separator: string;
|
|
106
|
+
content: string;
|
|
107
|
+
mobileContent: string;
|
|
108
|
+
header: string;
|
|
109
|
+
heading: string;
|
|
110
|
+
grids: string;
|
|
111
|
+
grid: string;
|
|
112
|
+
gridHead: string;
|
|
113
|
+
headCell: string;
|
|
114
|
+
cell: string;
|
|
115
|
+
viewGrid: string;
|
|
116
|
+
timeSection: string;
|
|
117
|
+
arrow: string;
|
|
118
|
+
}>>;
|
|
119
|
+
export type DatePickerThemeSlots = keyof (typeof datePickerTheme)['slots'];
|