@eslamdevui/ui 3.2.0-beta.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/.nuxt/ui/accordion.ts +20 -0
- package/.nuxt/ui/alert.ts +264 -0
- package/.nuxt/ui/avatar-group.ts +52 -0
- package/.nuxt/ui/avatar.ts +54 -0
- package/.nuxt/ui/badge.ts +263 -0
- package/.nuxt/ui/breadcrumb.ts +45 -0
- package/.nuxt/ui/button-group.ts +16 -0
- package/.nuxt/ui/button.ts +378 -0
- package/.nuxt/ui/calendar.ts +103 -0
- package/.nuxt/ui/card.ts +34 -0
- package/.nuxt/ui/carousel.ts +38 -0
- package/.nuxt/ui/chat-message.ts +129 -0
- package/.nuxt/ui/chat-messages.ts +14 -0
- package/.nuxt/ui/chat-prompt-submit.ts +5 -0
- package/.nuxt/ui/chat-prompt.ts +35 -0
- package/.nuxt/ui/checkbox-group.ts +204 -0
- package/.nuxt/ui/checkbox.ts +236 -0
- package/.nuxt/ui/chip.ts +96 -0
- package/.nuxt/ui/collapsible.ts +6 -0
- package/.nuxt/ui/color-picker.ts +47 -0
- package/.nuxt/ui/command-palette.ts +51 -0
- package/.nuxt/ui/container.ts +3 -0
- package/.nuxt/ui/content-navigation.ts +339 -0
- package/.nuxt/ui/content-search-button.ts +6 -0
- package/.nuxt/ui/content-search.ts +6 -0
- package/.nuxt/ui/content-surround.ts +34 -0
- package/.nuxt/ui/content-toc.ts +150 -0
- package/.nuxt/ui/context-menu.ts +217 -0
- package/.nuxt/ui/dashboard-group.ts +3 -0
- package/.nuxt/ui/dashboard-navbar.ts +21 -0
- package/.nuxt/ui/dashboard-panel.ts +17 -0
- package/.nuxt/ui/dashboard-resize-handle.ts +3 -0
- package/.nuxt/ui/dashboard-search-button.ts +6 -0
- package/.nuxt/ui/dashboard-search.ts +6 -0
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +9 -0
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +9 -0
- package/.nuxt/ui/dashboard-sidebar.ts +37 -0
- package/.nuxt/ui/drawer.ts +126 -0
- package/.nuxt/ui/dropdown-menu.ts +218 -0
- package/.nuxt/ui/form-field.ts +48 -0
- package/.nuxt/ui/form.ts +3 -0
- package/.nuxt/ui/index.ts +71 -0
- package/.nuxt/ui/input-menu.ts +450 -0
- package/.nuxt/ui/input-number.ts +245 -0
- package/.nuxt/ui/input-tags.ts +310 -0
- package/.nuxt/ui/input.ts +289 -0
- package/.nuxt/ui/kbd.ts +31 -0
- package/.nuxt/ui/link.ts +22 -0
- package/.nuxt/ui/modal.ts +29 -0
- package/.nuxt/ui/navigation-menu.ts +510 -0
- package/.nuxt/ui/pagination.ts +13 -0
- package/.nuxt/ui/pin-input.ts +171 -0
- package/.nuxt/ui/popover.ts +6 -0
- package/.nuxt/ui/progress.ts +297 -0
- package/.nuxt/ui/prose.ts +321 -0
- package/.nuxt/ui/radio-group.ts +350 -0
- package/.nuxt/ui/select-menu.ts +351 -0
- package/.nuxt/ui/select.ts +346 -0
- package/.nuxt/ui/separator.ts +172 -0
- package/.nuxt/ui/skeleton.ts +3 -0
- package/.nuxt/ui/slideover.ts +71 -0
- package/.nuxt/ui/slider.ts +171 -0
- package/.nuxt/ui/stepper.ts +202 -0
- package/.nuxt/ui/switch.ts +131 -0
- package/.nuxt/ui/table.ts +148 -0
- package/.nuxt/ui/tabs.ts +256 -0
- package/.nuxt/ui/textarea.ts +294 -0
- package/.nuxt/ui/timeline.ts +321 -0
- package/.nuxt/ui/toast.ts +81 -0
- package/.nuxt/ui/toaster.ts +91 -0
- package/.nuxt/ui/tooltip.ts +9 -0
- package/.nuxt/ui/tree.ts +154 -0
- package/.nuxt/ui.css +146 -0
- package/LICENSE.md +9 -0
- package/README.md +147 -0
- package/cli/commands/make/component.mjs +95 -0
- package/cli/commands/make/index.mjs +14 -0
- package/cli/commands/make/locale.mjs +64 -0
- package/cli/index.mjs +15 -0
- package/cli/package.json +13 -0
- package/cli/templates.mjs +228 -0
- package/cli/utils.mjs +31 -0
- package/dist/module.d.mts +63 -0
- package/dist/module.json +13 -0
- package/dist/module.mjs +135 -0
- package/dist/runtime/components/Accordion.vue +73 -0
- package/dist/runtime/components/Accordion.vue.d.ts +77 -0
- package/dist/runtime/components/Alert.vue +88 -0
- package/dist/runtime/components/Alert.vue.d.ts +81 -0
- package/dist/runtime/components/App.vue +44 -0
- package/dist/runtime/components/App.vue.d.ts +24 -0
- package/dist/runtime/components/Avatar.vue +83 -0
- package/dist/runtime/components/Avatar.vue.d.ts +41 -0
- package/dist/runtime/components/AvatarGroup.vue +65 -0
- package/dist/runtime/components/AvatarGroup.vue.d.ts +31 -0
- package/dist/runtime/components/Badge.vue +60 -0
- package/dist/runtime/components/Badge.vue.d.ts +43 -0
- package/dist/runtime/components/Breadcrumb.vue +65 -0
- package/dist/runtime/components/Breadcrumb.vue.d.ts +66 -0
- package/dist/runtime/components/Button.vue +147 -0
- package/dist/runtime/components/Button.vue.d.ts +48 -0
- package/dist/runtime/components/ButtonGroup.vue +31 -0
- package/dist/runtime/components/ButtonGroup.vue.d.ts +34 -0
- package/dist/runtime/components/Calendar.vue +154 -0
- package/dist/runtime/components/Calendar.vue.d.ts +111 -0
- package/dist/runtime/components/Card.vue +37 -0
- package/dist/runtime/components/Card.vue.d.ts +29 -0
- package/dist/runtime/components/Carousel.vue +210 -0
- package/dist/runtime/components/Carousel.vue.d.ts +127 -0
- package/dist/runtime/components/ChatMessage.vue +87 -0
- package/dist/runtime/components/ChatMessage.vue.d.ts +130 -0
- package/dist/runtime/components/ChatMessages.vue +225 -0
- package/dist/runtime/components/ChatMessages.vue.d.ts +83 -0
- package/dist/runtime/components/ChatPrompt.vue +77 -0
- package/dist/runtime/components/ChatPrompt.vue.d.ts +60 -0
- package/dist/runtime/components/ChatPromptSubmit.vue +74 -0
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +99 -0
- package/dist/runtime/components/Checkbox.vue +90 -0
- package/dist/runtime/components/Checkbox.vue.d.ts +73 -0
- package/dist/runtime/components/CheckboxGroup.vue +124 -0
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +84 -0
- package/dist/runtime/components/Chip.vue +48 -0
- package/dist/runtime/components/Chip.vue.d.ts +57 -0
- package/dist/runtime/components/Collapsible.vue +37 -0
- package/dist/runtime/components/Collapsible.vue.d.ts +35 -0
- package/dist/runtime/components/ColorPicker.vue +216 -0
- package/dist/runtime/components/ColorPicker.vue.d.ts +48 -0
- package/dist/runtime/components/CommandPalette.vue +275 -0
- package/dist/runtime/components/CommandPalette.vue.d.ts +187 -0
- package/dist/runtime/components/Container.vue +23 -0
- package/dist/runtime/components/Container.vue.d.ts +18 -0
- package/dist/runtime/components/ContextMenu.vue +61 -0
- package/dist/runtime/components/ContextMenu.vue.d.ts +109 -0
- package/dist/runtime/components/ContextMenuContent.vue +164 -0
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +49 -0
- package/dist/runtime/components/DashboardGroup.vue +46 -0
- package/dist/runtime/components/DashboardGroup.vue.d.ts +27 -0
- package/dist/runtime/components/DashboardNavbar.vue +74 -0
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +53 -0
- package/dist/runtime/components/DashboardPanel.vue +56 -0
- package/dist/runtime/components/DashboardPanel.vue.d.ts +28 -0
- package/dist/runtime/components/DashboardResizeHandle.vue +32 -0
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +22 -0
- package/dist/runtime/components/DashboardSearch.vue +124 -0
- package/dist/runtime/components/DashboardSearch.vue.d.ts +48 -0
- package/dist/runtime/components/DashboardSearchButton.vue +72 -0
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +52 -0
- package/dist/runtime/components/DashboardSidebar.vue +170 -0
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +72 -0
- package/dist/runtime/components/DashboardSidebarCollapse.vue +46 -0
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +15 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue +43 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +19 -0
- package/dist/runtime/components/Drawer.vue +112 -0
- package/dist/runtime/components/Drawer.vue.d.ts +78 -0
- package/dist/runtime/components/DropdownMenu.vue +68 -0
- package/dist/runtime/components/DropdownMenu.vue.d.ts +119 -0
- package/dist/runtime/components/DropdownMenuContent.vue +171 -0
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +52 -0
- package/dist/runtime/components/Form.vue +210 -0
- package/dist/runtime/components/Form.vue.d.ts +70 -0
- package/dist/runtime/components/FormField.vue +90 -0
- package/dist/runtime/components/FormField.vue.d.ts +61 -0
- package/dist/runtime/components/Icon.vue +19 -0
- package/dist/runtime/components/Icon.vue.d.ts +8 -0
- package/dist/runtime/components/Input.vue +147 -0
- package/dist/runtime/components/Input.vue.d.ts +77 -0
- package/dist/runtime/components/InputMenu.vue +373 -0
- package/dist/runtime/components/InputMenu.vue.d.ts +534 -0
- package/dist/runtime/components/InputNumber.vue +144 -0
- package/dist/runtime/components/InputNumber.vue.d.ts +260 -0
- package/dist/runtime/components/InputTags.vue +159 -0
- package/dist/runtime/components/InputTags.vue.d.ts +183 -0
- package/dist/runtime/components/Kbd.vue +30 -0
- package/dist/runtime/components/Kbd.vue.d.ts +34 -0
- package/dist/runtime/components/Link.vue +127 -0
- package/dist/runtime/components/Link.vue.d.ts +93 -0
- package/dist/runtime/components/LinkBase.vue +57 -0
- package/dist/runtime/components/LinkBase.vue.d.ts +25 -0
- package/dist/runtime/components/Modal.vue +130 -0
- package/dist/runtime/components/Modal.vue.d.ts +106 -0
- package/dist/runtime/components/NavigationMenu.vue +275 -0
- package/dist/runtime/components/NavigationMenu.vue.d.ts +170 -0
- package/dist/runtime/components/OverlayProvider.vue +25 -0
- package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
- package/dist/runtime/components/Pagination.vue +97 -0
- package/dist/runtime/components/Pagination.vue.d.ts +118 -0
- package/dist/runtime/components/PinInput.vue +94 -0
- package/dist/runtime/components/PinInput.vue.d.ts +60 -0
- package/dist/runtime/components/Popover.vue +73 -0
- package/dist/runtime/components/Popover.vue.d.ts +64 -0
- package/dist/runtime/components/Progress.vue +132 -0
- package/dist/runtime/components/Progress.vue.d.ts +66 -0
- package/dist/runtime/components/RadioGroup.vue +133 -0
- package/dist/runtime/components/RadioGroup.vue.d.ts +93 -0
- package/dist/runtime/components/Select.vue +225 -0
- package/dist/runtime/components/Select.vue.d.ts +253 -0
- package/dist/runtime/components/SelectMenu.vue +328 -0
- package/dist/runtime/components/SelectMenu.vue.d.ts +302 -0
- package/dist/runtime/components/Separator.vue +53 -0
- package/dist/runtime/components/Separator.vue.d.ts +54 -0
- package/dist/runtime/components/Skeleton.vue +29 -0
- package/dist/runtime/components/Skeleton.vue.d.ts +17 -0
- package/dist/runtime/components/Slideover.vue +137 -0
- package/dist/runtime/components/Slideover.vue.d.ts +107 -0
- package/dist/runtime/components/Slider.vue +94 -0
- package/dist/runtime/components/Slider.vue.d.ts +58 -0
- package/dist/runtime/components/Stepper.vue +116 -0
- package/dist/runtime/components/Stepper.vue.d.ts +85 -0
- package/dist/runtime/components/Switch.vue +89 -0
- package/dist/runtime/components/Switch.vue.d.ts +70 -0
- package/dist/runtime/components/Table.vue +286 -0
- package/dist/runtime/components/Table.vue.d.ts +185 -0
- package/dist/runtime/components/Tabs.vue +84 -0
- package/dist/runtime/components/Tabs.vue.d.ts +93 -0
- package/dist/runtime/components/Textarea.vue +169 -0
- package/dist/runtime/components/Textarea.vue.d.ts +78 -0
- package/dist/runtime/components/Timeline.vue +92 -0
- package/dist/runtime/components/Timeline.vue.d.ts +70 -0
- package/dist/runtime/components/Toast.vue +129 -0
- package/dist/runtime/components/Toast.vue.d.ts +163 -0
- package/dist/runtime/components/Toaster.vue +111 -0
- package/dist/runtime/components/Toaster.vue.d.ts +44 -0
- package/dist/runtime/components/Tooltip.vue +62 -0
- package/dist/runtime/components/Tooltip.vue.d.ts +50 -0
- package/dist/runtime/components/Tree.vue +121 -0
- package/dist/runtime/components/Tree.vue.d.ts +113 -0
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue +16 -0
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +7 -0
- package/dist/runtime/components/color-mode/ColorModeButton.vue +45 -0
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +24 -0
- package/dist/runtime/components/color-mode/ColorModeImage.vue +17 -0
- package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +6 -0
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +49 -0
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +7 -0
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue +44 -0
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +7 -0
- package/dist/runtime/components/locale/LocaleSelect.vue +61 -0
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +16 -0
- package/dist/runtime/composables/color-mode/useColorMode.d.ts +3 -0
- package/dist/runtime/composables/color-mode/useColorMode.js +5 -0
- package/dist/runtime/composables/defineLocale.d.ts +11 -0
- package/dist/runtime/composables/defineLocale.js +9 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +15 -0
- package/dist/runtime/composables/defineShortcuts.js +141 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +10 -0
- package/dist/runtime/composables/useAvatarGroup.js +10 -0
- package/dist/runtime/composables/useButtonGroup.d.ts +15 -0
- package/dist/runtime/composables/useButtonGroup.js +9 -0
- package/dist/runtime/composables/useComponentIcons.d.ts +39 -0
- package/dist/runtime/composables/useComponentIcons.js +26 -0
- package/dist/runtime/composables/useContentSearch.d.ts +6 -0
- package/dist/runtime/composables/useContentSearch.js +9 -0
- package/dist/runtime/composables/useFormField.d.ts +42 -0
- package/dist/runtime/composables/useFormField.js +66 -0
- package/dist/runtime/composables/useKbd.d.ts +36 -0
- package/dist/runtime/composables/useKbd.js +53 -0
- package/dist/runtime/composables/useLocale.d.ts +4 -0
- package/dist/runtime/composables/useLocale.js +10 -0
- package/dist/runtime/composables/useLocalePro.d.ts +3 -0
- package/dist/runtime/composables/useLocalePro.js +11 -0
- package/dist/runtime/composables/useOverlay.d.ts +38 -0
- package/dist/runtime/composables/useOverlay.js +85 -0
- package/dist/runtime/composables/usePortal.d.ts +6 -0
- package/dist/runtime/composables/usePortal.js +17 -0
- package/dist/runtime/composables/useResizable.d.ts +27 -0
- package/dist/runtime/composables/useResizable.js +173 -0
- package/dist/runtime/composables/useScrollspy.d.ts +6 -0
- package/dist/runtime/composables/useScrollspy.js +38 -0
- package/dist/runtime/composables/useToast.d.ts +13 -0
- package/dist/runtime/composables/useToast.js +62 -0
- package/dist/runtime/index.css +1 -0
- package/dist/runtime/inertia/components/Link.vue +132 -0
- package/dist/runtime/inertia/components/Link.vue.d.ts +63 -0
- package/dist/runtime/inertia/components/LinkBase.vue +68 -0
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +25 -0
- package/dist/runtime/inertia/stubs.d.ts +43 -0
- package/dist/runtime/inertia/stubs.js +82 -0
- package/dist/runtime/keyframes.css +1 -0
- package/dist/runtime/locale/ar.d.ts +3 -0
- package/dist/runtime/locale/ar.js +56 -0
- package/dist/runtime/locale/az.d.ts +3 -0
- package/dist/runtime/locale/az.js +55 -0
- package/dist/runtime/locale/bg.d.ts +3 -0
- package/dist/runtime/locale/bg.js +55 -0
- package/dist/runtime/locale/bn.d.ts +3 -0
- package/dist/runtime/locale/bn.js +55 -0
- package/dist/runtime/locale/ca.d.ts +3 -0
- package/dist/runtime/locale/ca.js +55 -0
- package/dist/runtime/locale/ckb.d.ts +3 -0
- package/dist/runtime/locale/ckb.js +56 -0
- package/dist/runtime/locale/cs.d.ts +3 -0
- package/dist/runtime/locale/cs.js +55 -0
- package/dist/runtime/locale/da.d.ts +3 -0
- package/dist/runtime/locale/da.js +55 -0
- package/dist/runtime/locale/de.d.ts +3 -0
- package/dist/runtime/locale/de.js +55 -0
- package/dist/runtime/locale/el.d.ts +3 -0
- package/dist/runtime/locale/el.js +55 -0
- package/dist/runtime/locale/en.d.ts +3 -0
- package/dist/runtime/locale/en.js +125 -0
- package/dist/runtime/locale/es.d.ts +3 -0
- package/dist/runtime/locale/es.js +55 -0
- package/dist/runtime/locale/et.d.ts +3 -0
- package/dist/runtime/locale/et.js +55 -0
- package/dist/runtime/locale/fa_ir.d.ts +3 -0
- package/dist/runtime/locale/fa_ir.js +56 -0
- package/dist/runtime/locale/fi.d.ts +3 -0
- package/dist/runtime/locale/fi.js +55 -0
- package/dist/runtime/locale/fr.d.ts +3 -0
- package/dist/runtime/locale/fr.js +55 -0
- package/dist/runtime/locale/he.d.ts +3 -0
- package/dist/runtime/locale/he.js +54 -0
- package/dist/runtime/locale/hi.d.ts +3 -0
- package/dist/runtime/locale/hi.js +55 -0
- package/dist/runtime/locale/hu.d.ts +3 -0
- package/dist/runtime/locale/hu.js +55 -0
- package/dist/runtime/locale/hy.d.ts +3 -0
- package/dist/runtime/locale/hy.js +55 -0
- package/dist/runtime/locale/id.d.ts +3 -0
- package/dist/runtime/locale/id.js +55 -0
- package/dist/runtime/locale/index.d.ts +51 -0
- package/dist/runtime/locale/index.js +51 -0
- package/dist/runtime/locale/it.d.ts +3 -0
- package/dist/runtime/locale/it.js +55 -0
- package/dist/runtime/locale/ja.d.ts +3 -0
- package/dist/runtime/locale/ja.js +55 -0
- package/dist/runtime/locale/kk.d.ts +3 -0
- package/dist/runtime/locale/kk.js +55 -0
- package/dist/runtime/locale/km.d.ts +3 -0
- package/dist/runtime/locale/km.js +55 -0
- package/dist/runtime/locale/ko.d.ts +3 -0
- package/dist/runtime/locale/ko.js +55 -0
- package/dist/runtime/locale/ky.d.ts +3 -0
- package/dist/runtime/locale/ky.js +55 -0
- package/dist/runtime/locale/lb.d.ts +3 -0
- package/dist/runtime/locale/lb.js +55 -0
- package/dist/runtime/locale/lt.d.ts +3 -0
- package/dist/runtime/locale/lt.js +55 -0
- package/dist/runtime/locale/mn.d.ts +3 -0
- package/dist/runtime/locale/mn.js +55 -0
- package/dist/runtime/locale/ms.d.ts +3 -0
- package/dist/runtime/locale/ms.js +55 -0
- package/dist/runtime/locale/nb_no.d.ts +3 -0
- package/dist/runtime/locale/nb_no.js +55 -0
- package/dist/runtime/locale/nl.d.ts +3 -0
- package/dist/runtime/locale/nl.js +55 -0
- package/dist/runtime/locale/pl.d.ts +3 -0
- package/dist/runtime/locale/pl.js +55 -0
- package/dist/runtime/locale/pt.d.ts +3 -0
- package/dist/runtime/locale/pt.js +55 -0
- package/dist/runtime/locale/pt_br.d.ts +3 -0
- package/dist/runtime/locale/pt_br.js +55 -0
- package/dist/runtime/locale/ro.d.ts +3 -0
- package/dist/runtime/locale/ro.js +55 -0
- package/dist/runtime/locale/ru.d.ts +3 -0
- package/dist/runtime/locale/ru.js +55 -0
- package/dist/runtime/locale/sk.d.ts +3 -0
- package/dist/runtime/locale/sk.js +55 -0
- package/dist/runtime/locale/sl.d.ts +3 -0
- package/dist/runtime/locale/sl.js +55 -0
- package/dist/runtime/locale/sv.d.ts +3 -0
- package/dist/runtime/locale/sv.js +55 -0
- package/dist/runtime/locale/th.d.ts +3 -0
- package/dist/runtime/locale/th.js +55 -0
- package/dist/runtime/locale/tj.d.ts +3 -0
- package/dist/runtime/locale/tj.js +55 -0
- package/dist/runtime/locale/tr.d.ts +3 -0
- package/dist/runtime/locale/tr.js +55 -0
- package/dist/runtime/locale/ug_cn.d.ts +3 -0
- package/dist/runtime/locale/ug_cn.js +56 -0
- package/dist/runtime/locale/uk.d.ts +3 -0
- package/dist/runtime/locale/uk.js +55 -0
- package/dist/runtime/locale/ur.d.ts +3 -0
- package/dist/runtime/locale/ur.js +56 -0
- package/dist/runtime/locale/uz.d.ts +3 -0
- package/dist/runtime/locale/uz.js +55 -0
- package/dist/runtime/locale/vi.d.ts +3 -0
- package/dist/runtime/locale/vi.js +55 -0
- package/dist/runtime/locale/zh_cn.d.ts +3 -0
- package/dist/runtime/locale/zh_cn.js +55 -0
- package/dist/runtime/locale/zh_tw.d.ts +3 -0
- package/dist/runtime/locale/zh_tw.js +55 -0
- package/dist/runtime/plugins/colors.d.ts +2 -0
- package/dist/runtime/plugins/colors.js +51 -0
- package/dist/runtime/types/app.config.d.ts +6 -0
- package/dist/runtime/types/content.d.ts +1 -0
- package/dist/runtime/types/content.js +0 -0
- package/dist/runtime/types/form.d.ts +87 -0
- package/dist/runtime/types/form.js +12 -0
- package/dist/runtime/types/index.d.ts +76 -0
- package/dist/runtime/types/index.js +76 -0
- package/dist/runtime/types/locale.d.ts +127 -0
- package/dist/runtime/types/locale.js +0 -0
- package/dist/runtime/types/prose.d.ts +1 -0
- package/dist/runtime/types/prose.js +0 -0
- package/dist/runtime/types/tv.d.ts +53 -0
- package/dist/runtime/types/tv.js +0 -0
- package/dist/runtime/types/utils.d.ts +41 -0
- package/dist/runtime/types/utils.js +1 -0
- package/dist/runtime/utils/content.d.ts +13 -0
- package/dist/runtime/utils/content.js +51 -0
- package/dist/runtime/utils/dashboard.d.ts +10 -0
- package/dist/runtime/utils/dashboard.js +5 -0
- package/dist/runtime/utils/form.d.ts +13 -0
- package/dist/runtime/utils/form.js +108 -0
- package/dist/runtime/utils/fuse.d.ts +4 -0
- package/dist/runtime/utils/fuse.js +63 -0
- package/dist/runtime/utils/index.d.ts +12 -0
- package/dist/runtime/utils/index.js +89 -0
- package/dist/runtime/utils/link.d.ts +7 -0
- package/dist/runtime/utils/link.js +47 -0
- package/dist/runtime/utils/locale.d.ts +15 -0
- package/dist/runtime/utils/locale.js +25 -0
- package/dist/runtime/utils/tv.d.ts +1 -0
- package/dist/runtime/utils/tv.js +4 -0
- package/dist/runtime/vue/components/Icon.vue +14 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +5 -0
- package/dist/runtime/vue/components/Link.vue +169 -0
- package/dist/runtime/vue/components/Link.vue.d.ts +93 -0
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue +34 -0
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue.d.ts +38 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +37 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +5 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +32 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +5 -0
- package/dist/runtime/vue/composables/useAppConfig.d.ts +1 -0
- package/dist/runtime/vue/composables/useAppConfig.js +4 -0
- package/dist/runtime/vue/plugins/color-mode.d.ts +4 -0
- package/dist/runtime/vue/plugins/color-mode.js +6 -0
- package/dist/runtime/vue/plugins/head.d.ts +4 -0
- package/dist/runtime/vue/plugins/head.js +10 -0
- package/dist/runtime/vue/stubs.d.ts +40 -0
- package/dist/runtime/vue/stubs.js +74 -0
- package/dist/shared/ui.BcVNrqyb.mjs +5374 -0
- package/dist/types.d.mts +5 -0
- package/dist/unplugin.d.mts +88 -0
- package/dist/unplugin.mjs +242 -0
- package/dist/vite.d.mts +15 -0
- package/dist/vite.mjs +21 -0
- package/package.json +255 -0
- package/vue-plugin.d.ts +5 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
const highlightColor = [
|
|
12
|
+
"primary",
|
|
13
|
+
"secondary",
|
|
14
|
+
"success",
|
|
15
|
+
"info",
|
|
16
|
+
"warning",
|
|
17
|
+
"error",
|
|
18
|
+
"neutral"
|
|
19
|
+
] as const
|
|
20
|
+
|
|
21
|
+
export default {
|
|
22
|
+
"slots": {
|
|
23
|
+
"root": "sticky top-(--ui-header-height) z-10 bg-default/75 lg:bg-[initial] backdrop-blur -mx-4 px-4 sm:px-6 sm:-mx-6 overflow-y-auto max-h-[calc(100vh-var(--ui-header-height))]",
|
|
24
|
+
"container": "pt-4 sm:pt-6 pb-2.5 sm:pb-4.5 lg:py-8 border-b border-dashed border-default lg:border-0 flex flex-col",
|
|
25
|
+
"top": "",
|
|
26
|
+
"bottom": "mt-6 hidden lg:flex lg:flex-col gap-6",
|
|
27
|
+
"trigger": "group text-sm font-semibold flex-1 flex items-center gap-1.5 py-1.5 -mt-1.5 focus-visible:outline-primary",
|
|
28
|
+
"title": "truncate",
|
|
29
|
+
"trailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
30
|
+
"trailingIcon": "size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180 lg:hidden",
|
|
31
|
+
"content": "data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden focus:outline-none",
|
|
32
|
+
"list": "min-w-0",
|
|
33
|
+
"listWithChildren": "ms-3",
|
|
34
|
+
"item": "min-w-0",
|
|
35
|
+
"itemWithChildren": "",
|
|
36
|
+
"link": "group relative text-sm flex items-center focus-visible:outline-primary py-1",
|
|
37
|
+
"linkText": "truncate",
|
|
38
|
+
"indicator": "absolute ms-2.5 transition-[translate,height] duration-200 h-(--indicator-size) translate-y-(--indicator-position) w-px rounded-full"
|
|
39
|
+
},
|
|
40
|
+
"variants": {
|
|
41
|
+
"color": {
|
|
42
|
+
"primary": "",
|
|
43
|
+
"secondary": "",
|
|
44
|
+
"success": "",
|
|
45
|
+
"info": "",
|
|
46
|
+
"warning": "",
|
|
47
|
+
"error": "",
|
|
48
|
+
"neutral": ""
|
|
49
|
+
},
|
|
50
|
+
"highlightColor": {
|
|
51
|
+
"primary": {
|
|
52
|
+
"indicator": "bg-primary"
|
|
53
|
+
},
|
|
54
|
+
"secondary": {
|
|
55
|
+
"indicator": "bg-secondary"
|
|
56
|
+
},
|
|
57
|
+
"success": {
|
|
58
|
+
"indicator": "bg-success"
|
|
59
|
+
},
|
|
60
|
+
"info": {
|
|
61
|
+
"indicator": "bg-info"
|
|
62
|
+
},
|
|
63
|
+
"warning": {
|
|
64
|
+
"indicator": "bg-warning"
|
|
65
|
+
},
|
|
66
|
+
"error": {
|
|
67
|
+
"indicator": "bg-error"
|
|
68
|
+
},
|
|
69
|
+
"neutral": {
|
|
70
|
+
"indicator": "bg-inverted"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"active": {
|
|
74
|
+
"false": {
|
|
75
|
+
"link": [
|
|
76
|
+
"text-muted hover:text-default",
|
|
77
|
+
"transition-colors"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"highlight": {
|
|
82
|
+
"true": {
|
|
83
|
+
"list": "ms-2.5 ps-4 border-s border-default",
|
|
84
|
+
"item": "-ms-px"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"compoundVariants": [
|
|
89
|
+
{
|
|
90
|
+
"color": "primary" as typeof color[number],
|
|
91
|
+
"active": true,
|
|
92
|
+
"class": {
|
|
93
|
+
"link": "text-primary",
|
|
94
|
+
"linkLeadingIcon": "text-primary"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"color": "secondary" as typeof color[number],
|
|
99
|
+
"active": true,
|
|
100
|
+
"class": {
|
|
101
|
+
"link": "text-secondary",
|
|
102
|
+
"linkLeadingIcon": "text-secondary"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"color": "success" as typeof color[number],
|
|
107
|
+
"active": true,
|
|
108
|
+
"class": {
|
|
109
|
+
"link": "text-success",
|
|
110
|
+
"linkLeadingIcon": "text-success"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"color": "info" as typeof color[number],
|
|
115
|
+
"active": true,
|
|
116
|
+
"class": {
|
|
117
|
+
"link": "text-info",
|
|
118
|
+
"linkLeadingIcon": "text-info"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"color": "warning" as typeof color[number],
|
|
123
|
+
"active": true,
|
|
124
|
+
"class": {
|
|
125
|
+
"link": "text-warning",
|
|
126
|
+
"linkLeadingIcon": "text-warning"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"color": "error" as typeof color[number],
|
|
131
|
+
"active": true,
|
|
132
|
+
"class": {
|
|
133
|
+
"link": "text-error",
|
|
134
|
+
"linkLeadingIcon": "text-error"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"color": "neutral" as typeof color[number],
|
|
139
|
+
"active": true,
|
|
140
|
+
"class": {
|
|
141
|
+
"link": "text-highlighted",
|
|
142
|
+
"linkLeadingIcon": "text-highlighted"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"defaultVariants": {
|
|
147
|
+
"color": "primary" as typeof color[number],
|
|
148
|
+
"highlightColor": "primary" as typeof highlightColor[number]
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
const size = [
|
|
12
|
+
"xs",
|
|
13
|
+
"sm",
|
|
14
|
+
"md",
|
|
15
|
+
"lg",
|
|
16
|
+
"xl"
|
|
17
|
+
] as const
|
|
18
|
+
|
|
19
|
+
export default {
|
|
20
|
+
"slots": {
|
|
21
|
+
"content": "min-w-32 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-context-menu-content-transform-origin) flex flex-col",
|
|
22
|
+
"viewport": "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
23
|
+
"group": "p-1 isolate",
|
|
24
|
+
"label": "w-full flex items-center font-semibold text-highlighted",
|
|
25
|
+
"separator": "-mx-1 my-1 h-px bg-border",
|
|
26
|
+
"item": "group relative w-full flex items-center select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",
|
|
27
|
+
"itemLeadingIcon": "shrink-0",
|
|
28
|
+
"itemLeadingAvatar": "shrink-0",
|
|
29
|
+
"itemLeadingAvatarSize": "",
|
|
30
|
+
"itemTrailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
31
|
+
"itemTrailingIcon": "shrink-0",
|
|
32
|
+
"itemTrailingKbds": "hidden lg:inline-flex items-center shrink-0",
|
|
33
|
+
"itemTrailingKbdsSize": "",
|
|
34
|
+
"itemLabel": "truncate",
|
|
35
|
+
"itemLabelExternalIcon": "inline-block size-3 align-top text-dimmed"
|
|
36
|
+
},
|
|
37
|
+
"variants": {
|
|
38
|
+
"color": {
|
|
39
|
+
"primary": "",
|
|
40
|
+
"secondary": "",
|
|
41
|
+
"success": "",
|
|
42
|
+
"info": "",
|
|
43
|
+
"warning": "",
|
|
44
|
+
"error": "",
|
|
45
|
+
"neutral": ""
|
|
46
|
+
},
|
|
47
|
+
"active": {
|
|
48
|
+
"true": {
|
|
49
|
+
"item": "text-highlighted before:bg-elevated",
|
|
50
|
+
"itemLeadingIcon": "text-default"
|
|
51
|
+
},
|
|
52
|
+
"false": {
|
|
53
|
+
"item": [
|
|
54
|
+
"text-default data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-elevated/50 data-[state=open]:before:bg-elevated/50",
|
|
55
|
+
"transition-colors before:transition-colors"
|
|
56
|
+
],
|
|
57
|
+
"itemLeadingIcon": [
|
|
58
|
+
"text-dimmed group-data-highlighted:text-default group-data-[state=open]:text-default",
|
|
59
|
+
"transition-colors"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"loading": {
|
|
64
|
+
"true": {
|
|
65
|
+
"itemLeadingIcon": "animate-spin"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"size": {
|
|
69
|
+
"xs": {
|
|
70
|
+
"label": "p-1 text-xs gap-1",
|
|
71
|
+
"item": "p-1 text-xs gap-1",
|
|
72
|
+
"itemLeadingIcon": "size-4",
|
|
73
|
+
"itemLeadingAvatarSize": "3xs",
|
|
74
|
+
"itemTrailingIcon": "size-4",
|
|
75
|
+
"itemTrailingKbds": "gap-0.5",
|
|
76
|
+
"itemTrailingKbdsSize": "sm"
|
|
77
|
+
},
|
|
78
|
+
"sm": {
|
|
79
|
+
"label": "p-1.5 text-xs gap-1.5",
|
|
80
|
+
"item": "p-1.5 text-xs gap-1.5",
|
|
81
|
+
"itemLeadingIcon": "size-4",
|
|
82
|
+
"itemLeadingAvatarSize": "3xs",
|
|
83
|
+
"itemTrailingIcon": "size-4",
|
|
84
|
+
"itemTrailingKbds": "gap-0.5",
|
|
85
|
+
"itemTrailingKbdsSize": "sm"
|
|
86
|
+
},
|
|
87
|
+
"md": {
|
|
88
|
+
"label": "p-1.5 text-sm gap-1.5",
|
|
89
|
+
"item": "p-1.5 text-sm gap-1.5",
|
|
90
|
+
"itemLeadingIcon": "size-5",
|
|
91
|
+
"itemLeadingAvatarSize": "2xs",
|
|
92
|
+
"itemTrailingIcon": "size-5",
|
|
93
|
+
"itemTrailingKbds": "gap-0.5",
|
|
94
|
+
"itemTrailingKbdsSize": "md"
|
|
95
|
+
},
|
|
96
|
+
"lg": {
|
|
97
|
+
"label": "p-2 text-sm gap-2",
|
|
98
|
+
"item": "p-2 text-sm gap-2",
|
|
99
|
+
"itemLeadingIcon": "size-5",
|
|
100
|
+
"itemLeadingAvatarSize": "2xs",
|
|
101
|
+
"itemTrailingIcon": "size-5",
|
|
102
|
+
"itemTrailingKbds": "gap-1",
|
|
103
|
+
"itemTrailingKbdsSize": "md"
|
|
104
|
+
},
|
|
105
|
+
"xl": {
|
|
106
|
+
"label": "p-2 text-base gap-2",
|
|
107
|
+
"item": "p-2 text-base gap-2",
|
|
108
|
+
"itemLeadingIcon": "size-6",
|
|
109
|
+
"itemLeadingAvatarSize": "xs",
|
|
110
|
+
"itemTrailingIcon": "size-6",
|
|
111
|
+
"itemTrailingKbds": "gap-1",
|
|
112
|
+
"itemTrailingKbdsSize": "lg"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"compoundVariants": [
|
|
117
|
+
{
|
|
118
|
+
"color": "primary" as typeof color[number],
|
|
119
|
+
"active": false,
|
|
120
|
+
"class": {
|
|
121
|
+
"item": "text-primary data-highlighted:text-primary data-highlighted:before:bg-primary/10 data-[state=open]:before:bg-primary/10",
|
|
122
|
+
"itemLeadingIcon": "text-primary/75 group-data-highlighted:text-primary group-data-[state=open]:text-primary"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"color": "secondary" as typeof color[number],
|
|
127
|
+
"active": false,
|
|
128
|
+
"class": {
|
|
129
|
+
"item": "text-secondary data-highlighted:text-secondary data-highlighted:before:bg-secondary/10 data-[state=open]:before:bg-secondary/10",
|
|
130
|
+
"itemLeadingIcon": "text-secondary/75 group-data-highlighted:text-secondary group-data-[state=open]:text-secondary"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"color": "success" as typeof color[number],
|
|
135
|
+
"active": false,
|
|
136
|
+
"class": {
|
|
137
|
+
"item": "text-success data-highlighted:text-success data-highlighted:before:bg-success/10 data-[state=open]:before:bg-success/10",
|
|
138
|
+
"itemLeadingIcon": "text-success/75 group-data-highlighted:text-success group-data-[state=open]:text-success"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"color": "info" as typeof color[number],
|
|
143
|
+
"active": false,
|
|
144
|
+
"class": {
|
|
145
|
+
"item": "text-info data-highlighted:text-info data-highlighted:before:bg-info/10 data-[state=open]:before:bg-info/10",
|
|
146
|
+
"itemLeadingIcon": "text-info/75 group-data-highlighted:text-info group-data-[state=open]:text-info"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"color": "warning" as typeof color[number],
|
|
151
|
+
"active": false,
|
|
152
|
+
"class": {
|
|
153
|
+
"item": "text-warning data-highlighted:text-warning data-highlighted:before:bg-warning/10 data-[state=open]:before:bg-warning/10",
|
|
154
|
+
"itemLeadingIcon": "text-warning/75 group-data-highlighted:text-warning group-data-[state=open]:text-warning"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"color": "error" as typeof color[number],
|
|
159
|
+
"active": false,
|
|
160
|
+
"class": {
|
|
161
|
+
"item": "text-error data-highlighted:text-error data-highlighted:before:bg-error/10 data-[state=open]:before:bg-error/10",
|
|
162
|
+
"itemLeadingIcon": "text-error/75 group-data-highlighted:text-error group-data-[state=open]:text-error"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"color": "primary" as typeof color[number],
|
|
167
|
+
"active": true,
|
|
168
|
+
"class": {
|
|
169
|
+
"item": "text-primary before:bg-primary/10",
|
|
170
|
+
"itemLeadingIcon": "text-primary"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"color": "secondary" as typeof color[number],
|
|
175
|
+
"active": true,
|
|
176
|
+
"class": {
|
|
177
|
+
"item": "text-secondary before:bg-secondary/10",
|
|
178
|
+
"itemLeadingIcon": "text-secondary"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"color": "success" as typeof color[number],
|
|
183
|
+
"active": true,
|
|
184
|
+
"class": {
|
|
185
|
+
"item": "text-success before:bg-success/10",
|
|
186
|
+
"itemLeadingIcon": "text-success"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"color": "info" as typeof color[number],
|
|
191
|
+
"active": true,
|
|
192
|
+
"class": {
|
|
193
|
+
"item": "text-info before:bg-info/10",
|
|
194
|
+
"itemLeadingIcon": "text-info"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"color": "warning" as typeof color[number],
|
|
199
|
+
"active": true,
|
|
200
|
+
"class": {
|
|
201
|
+
"item": "text-warning before:bg-warning/10",
|
|
202
|
+
"itemLeadingIcon": "text-warning"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"color": "error" as typeof color[number],
|
|
207
|
+
"active": true,
|
|
208
|
+
"class": {
|
|
209
|
+
"item": "text-error before:bg-error/10",
|
|
210
|
+
"itemLeadingIcon": "text-error"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"defaultVariants": {
|
|
215
|
+
"size": "md" as typeof size[number]
|
|
216
|
+
}
|
|
217
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "h-(--ui-header-height) shrink-0 flex items-center justify-between border-b border-default px-4 sm:px-6 gap-1.5",
|
|
4
|
+
"left": "flex items-center gap-1.5 min-w-0",
|
|
5
|
+
"icon": "shrink-0 size-5 self-center me-1.5",
|
|
6
|
+
"title": "flex items-center gap-1.5 font-semibold text-highlighted truncate",
|
|
7
|
+
"center": "hidden lg:flex",
|
|
8
|
+
"right": "flex items-center shrink-0 gap-1.5",
|
|
9
|
+
"toggle": ""
|
|
10
|
+
},
|
|
11
|
+
"variants": {
|
|
12
|
+
"toggleSide": {
|
|
13
|
+
"left": {
|
|
14
|
+
"toggle": ""
|
|
15
|
+
},
|
|
16
|
+
"right": {
|
|
17
|
+
"toggle": ""
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative flex flex-col min-w-0 min-h-svh lg:not-last:border-r lg:not-last:border-default shrink-0",
|
|
4
|
+
"body": "flex flex-col gap-4 sm:gap-6 flex-1 overflow-y-auto p-4 sm:p-6",
|
|
5
|
+
"handle": ""
|
|
6
|
+
},
|
|
7
|
+
"variants": {
|
|
8
|
+
"size": {
|
|
9
|
+
"true": {
|
|
10
|
+
"root": "w-full lg:w-(--width)"
|
|
11
|
+
},
|
|
12
|
+
"false": {
|
|
13
|
+
"root": "flex-1"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative hidden lg:flex flex-col min-h-svh min-w-16 w-(--width) shrink-0",
|
|
4
|
+
"header": "h-(--ui-header-height) shrink-0 flex items-center gap-1.5 px-4",
|
|
5
|
+
"body": "flex flex-col gap-4 flex-1 overflow-y-auto px-4 py-2",
|
|
6
|
+
"footer": "shrink-0 flex items-center gap-1.5 px-4 py-2",
|
|
7
|
+
"toggle": "",
|
|
8
|
+
"handle": "",
|
|
9
|
+
"content": "lg:hidden",
|
|
10
|
+
"overlay": "lg:hidden"
|
|
11
|
+
},
|
|
12
|
+
"variants": {
|
|
13
|
+
"menu": {
|
|
14
|
+
"true": {
|
|
15
|
+
"header": "sm:px-6",
|
|
16
|
+
"body": "sm:px-6",
|
|
17
|
+
"footer": "sm:px-6"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"side": {
|
|
21
|
+
"left": {
|
|
22
|
+
"root": "border-r border-default"
|
|
23
|
+
},
|
|
24
|
+
"right": {
|
|
25
|
+
"root": ""
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"toggleSide": {
|
|
29
|
+
"left": {
|
|
30
|
+
"toggle": ""
|
|
31
|
+
},
|
|
32
|
+
"right": {
|
|
33
|
+
"toggle": "ms-auto"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
const direction = [
|
|
2
|
+
"top",
|
|
3
|
+
"right",
|
|
4
|
+
"bottom",
|
|
5
|
+
"left"
|
|
6
|
+
] as const
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
"slots": {
|
|
10
|
+
"overlay": "fixed inset-0 bg-elevated/75",
|
|
11
|
+
"content": "fixed bg-default ring ring-default flex focus:outline-none",
|
|
12
|
+
"handle": [
|
|
13
|
+
"shrink-0 !bg-accented",
|
|
14
|
+
"transition-opacity"
|
|
15
|
+
],
|
|
16
|
+
"container": "w-full flex flex-col gap-4 p-4 overflow-y-auto",
|
|
17
|
+
"header": "",
|
|
18
|
+
"title": "text-highlighted font-semibold",
|
|
19
|
+
"description": "mt-1 text-muted text-sm",
|
|
20
|
+
"body": "flex-1",
|
|
21
|
+
"footer": "flex flex-col gap-1.5"
|
|
22
|
+
},
|
|
23
|
+
"variants": {
|
|
24
|
+
"direction": {
|
|
25
|
+
"top": {
|
|
26
|
+
"content": "mb-24 flex-col-reverse",
|
|
27
|
+
"handle": "mb-4"
|
|
28
|
+
},
|
|
29
|
+
"right": {
|
|
30
|
+
"content": "flex-row",
|
|
31
|
+
"handle": "!ml-4"
|
|
32
|
+
},
|
|
33
|
+
"bottom": {
|
|
34
|
+
"content": "mt-24 flex-col",
|
|
35
|
+
"handle": "mt-4"
|
|
36
|
+
},
|
|
37
|
+
"left": {
|
|
38
|
+
"content": "flex-row-reverse",
|
|
39
|
+
"handle": "!mr-4"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"inset": {
|
|
43
|
+
"true": {
|
|
44
|
+
"content": "rounded-lg after:hidden overflow-hidden"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"compoundVariants": [
|
|
49
|
+
{
|
|
50
|
+
"direction": [
|
|
51
|
+
"top" as typeof direction[number],
|
|
52
|
+
"bottom" as typeof direction[number]
|
|
53
|
+
],
|
|
54
|
+
"class": {
|
|
55
|
+
"content": "h-auto max-h-[96%]",
|
|
56
|
+
"handle": "!w-12 !h-1.5 mx-auto"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"direction": [
|
|
61
|
+
"right" as typeof direction[number],
|
|
62
|
+
"left" as typeof direction[number]
|
|
63
|
+
],
|
|
64
|
+
"class": {
|
|
65
|
+
"content": "w-auto max-w-[calc(100%-2rem)]",
|
|
66
|
+
"handle": "!h-12 !w-1.5 mt-auto mb-auto"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"direction": "top" as typeof direction[number],
|
|
71
|
+
"inset": true,
|
|
72
|
+
"class": {
|
|
73
|
+
"content": "inset-x-4 top-4"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"direction": "top" as typeof direction[number],
|
|
78
|
+
"inset": false,
|
|
79
|
+
"class": {
|
|
80
|
+
"content": "inset-x-0 top-0 rounded-b-lg"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"direction": "bottom" as typeof direction[number],
|
|
85
|
+
"inset": true,
|
|
86
|
+
"class": {
|
|
87
|
+
"content": "inset-x-4 bottom-4"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"direction": "bottom" as typeof direction[number],
|
|
92
|
+
"inset": false,
|
|
93
|
+
"class": {
|
|
94
|
+
"content": "inset-x-0 bottom-0 rounded-t-lg"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"direction": "left" as typeof direction[number],
|
|
99
|
+
"inset": true,
|
|
100
|
+
"class": {
|
|
101
|
+
"content": "inset-y-4 left-4"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"direction": "left" as typeof direction[number],
|
|
106
|
+
"inset": false,
|
|
107
|
+
"class": {
|
|
108
|
+
"content": "inset-y-0 left-0 rounded-r-lg"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"direction": "right" as typeof direction[number],
|
|
113
|
+
"inset": true,
|
|
114
|
+
"class": {
|
|
115
|
+
"content": "inset-y-4 right-4"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"direction": "right" as typeof direction[number],
|
|
120
|
+
"inset": false,
|
|
121
|
+
"class": {
|
|
122
|
+
"content": "inset-y-0 right-0 rounded-l-lg"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|