@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
package/.nuxt/ui/chip.ts
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
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
|
+
"3xs",
|
|
13
|
+
"2xs",
|
|
14
|
+
"xs",
|
|
15
|
+
"sm",
|
|
16
|
+
"md",
|
|
17
|
+
"lg",
|
|
18
|
+
"xl",
|
|
19
|
+
"2xl",
|
|
20
|
+
"3xl"
|
|
21
|
+
] as const
|
|
22
|
+
|
|
23
|
+
const position = [
|
|
24
|
+
"top-right",
|
|
25
|
+
"bottom-right",
|
|
26
|
+
"top-left",
|
|
27
|
+
"bottom-left"
|
|
28
|
+
] as const
|
|
29
|
+
|
|
30
|
+
export default {
|
|
31
|
+
"slots": {
|
|
32
|
+
"root": "relative inline-flex items-center justify-center shrink-0",
|
|
33
|
+
"base": "rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap"
|
|
34
|
+
},
|
|
35
|
+
"variants": {
|
|
36
|
+
"color": {
|
|
37
|
+
"primary": "bg-primary",
|
|
38
|
+
"secondary": "bg-secondary",
|
|
39
|
+
"success": "bg-success",
|
|
40
|
+
"info": "bg-info",
|
|
41
|
+
"warning": "bg-warning",
|
|
42
|
+
"error": "bg-error",
|
|
43
|
+
"neutral": "bg-inverted"
|
|
44
|
+
},
|
|
45
|
+
"size": {
|
|
46
|
+
"3xs": "h-[4px] min-w-[4px] text-[4px]",
|
|
47
|
+
"2xs": "h-[5px] min-w-[5px] text-[5px]",
|
|
48
|
+
"xs": "h-[6px] min-w-[6px] text-[6px]",
|
|
49
|
+
"sm": "h-[7px] min-w-[7px] text-[7px]",
|
|
50
|
+
"md": "h-[8px] min-w-[8px] text-[8px]",
|
|
51
|
+
"lg": "h-[9px] min-w-[9px] text-[9px]",
|
|
52
|
+
"xl": "h-[10px] min-w-[10px] text-[10px]",
|
|
53
|
+
"2xl": "h-[11px] min-w-[11px] text-[11px]",
|
|
54
|
+
"3xl": "h-[12px] min-w-[12px] text-[12px]"
|
|
55
|
+
},
|
|
56
|
+
"position": {
|
|
57
|
+
"top-right": "top-0 right-0",
|
|
58
|
+
"bottom-right": "bottom-0 right-0",
|
|
59
|
+
"top-left": "top-0 left-0",
|
|
60
|
+
"bottom-left": "bottom-0 left-0"
|
|
61
|
+
},
|
|
62
|
+
"inset": {
|
|
63
|
+
"false": ""
|
|
64
|
+
},
|
|
65
|
+
"standalone": {
|
|
66
|
+
"false": "absolute"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"compoundVariants": [
|
|
70
|
+
{
|
|
71
|
+
"position": "top-right" as typeof position[number],
|
|
72
|
+
"inset": false,
|
|
73
|
+
"class": "-translate-y-1/2 translate-x-1/2 transform"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"position": "bottom-right" as typeof position[number],
|
|
77
|
+
"inset": false,
|
|
78
|
+
"class": "translate-y-1/2 translate-x-1/2 transform"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"position": "top-left" as typeof position[number],
|
|
82
|
+
"inset": false,
|
|
83
|
+
"class": "-translate-y-1/2 -translate-x-1/2 transform"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"position": "bottom-left" as typeof position[number],
|
|
87
|
+
"inset": false,
|
|
88
|
+
"class": "translate-y-1/2 -translate-x-1/2 transform"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"defaultVariants": {
|
|
92
|
+
"size": "md" as typeof size[number],
|
|
93
|
+
"color": "primary" as typeof color[number],
|
|
94
|
+
"position": "top-right" as typeof position[number]
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const size = [
|
|
2
|
+
"xs",
|
|
3
|
+
"sm",
|
|
4
|
+
"md",
|
|
5
|
+
"lg",
|
|
6
|
+
"xl"
|
|
7
|
+
] as const
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
"slots": {
|
|
11
|
+
"root": "data-[disabled]:opacity-75",
|
|
12
|
+
"picker": "flex gap-4",
|
|
13
|
+
"selector": "rounded-md touch-none",
|
|
14
|
+
"selectorBackground": "w-full h-full relative rounded-md",
|
|
15
|
+
"selectorThumb": "-translate-y-1/2 -translate-x-1/2 absolute size-4 ring-2 ring-(--color-white) rounded-full cursor-pointer data-[disabled]:cursor-not-allowed",
|
|
16
|
+
"track": "w-[8px] relative rounded-md touch-none",
|
|
17
|
+
"trackThumb": "absolute transform -translate-y-1/2 -translate-x-[4px] rtl:translate-x-[4px] size-4 rounded-full ring-2 ring-(--color-white) cursor-pointer data-[disabled]:cursor-not-allowed"
|
|
18
|
+
},
|
|
19
|
+
"variants": {
|
|
20
|
+
"size": {
|
|
21
|
+
"xs": {
|
|
22
|
+
"selector": "w-38 h-38",
|
|
23
|
+
"track": "h-38"
|
|
24
|
+
},
|
|
25
|
+
"sm": {
|
|
26
|
+
"selector": "w-40 h-40",
|
|
27
|
+
"track": "h-40"
|
|
28
|
+
},
|
|
29
|
+
"md": {
|
|
30
|
+
"selector": "w-42 h-42",
|
|
31
|
+
"track": "h-42"
|
|
32
|
+
},
|
|
33
|
+
"lg": {
|
|
34
|
+
"selector": "w-44 h-44",
|
|
35
|
+
"track": "h-44"
|
|
36
|
+
},
|
|
37
|
+
"xl": {
|
|
38
|
+
"selector": "w-46 h-46",
|
|
39
|
+
"track": "h-46"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"compoundVariants": [],
|
|
44
|
+
"defaultVariants": {
|
|
45
|
+
"size": "md" as typeof size[number]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "flex flex-col min-h-0 min-w-0 divide-y divide-default",
|
|
4
|
+
"input": "[&>input]:h-12",
|
|
5
|
+
"close": "",
|
|
6
|
+
"back": "p-0",
|
|
7
|
+
"content": "relative overflow-hidden flex flex-col",
|
|
8
|
+
"viewport": "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1 focus:outline-none",
|
|
9
|
+
"group": "p-1 isolate",
|
|
10
|
+
"empty": "py-6 text-center text-sm text-muted",
|
|
11
|
+
"label": "p-1.5 text-xs font-semibold text-highlighted",
|
|
12
|
+
"item": "group relative w-full flex items-center gap-1.5 p-1.5 text-sm select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",
|
|
13
|
+
"itemLeadingIcon": "shrink-0 size-5",
|
|
14
|
+
"itemLeadingAvatar": "shrink-0",
|
|
15
|
+
"itemLeadingAvatarSize": "2xs",
|
|
16
|
+
"itemLeadingChip": "shrink-0 size-5",
|
|
17
|
+
"itemLeadingChipSize": "md",
|
|
18
|
+
"itemTrailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
19
|
+
"itemTrailingIcon": "shrink-0 size-5",
|
|
20
|
+
"itemTrailingHighlightedIcon": "shrink-0 size-5 text-dimmed hidden group-data-highlighted:inline-flex",
|
|
21
|
+
"itemTrailingKbds": "hidden lg:inline-flex items-center shrink-0 gap-0.5",
|
|
22
|
+
"itemTrailingKbdsSize": "md",
|
|
23
|
+
"itemLabel": "truncate space-x-1 rtl:space-x-reverse text-dimmed",
|
|
24
|
+
"itemLabelBase": "text-highlighted [&>mark]:text-inverted [&>mark]:bg-primary",
|
|
25
|
+
"itemLabelPrefix": "text-default",
|
|
26
|
+
"itemLabelSuffix": "text-dimmed [&>mark]:text-inverted [&>mark]:bg-primary"
|
|
27
|
+
},
|
|
28
|
+
"variants": {
|
|
29
|
+
"active": {
|
|
30
|
+
"true": {
|
|
31
|
+
"item": "text-highlighted before:bg-elevated",
|
|
32
|
+
"itemLeadingIcon": "text-default"
|
|
33
|
+
},
|
|
34
|
+
"false": {
|
|
35
|
+
"item": [
|
|
36
|
+
"text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50",
|
|
37
|
+
"transition-colors before:transition-colors"
|
|
38
|
+
],
|
|
39
|
+
"itemLeadingIcon": [
|
|
40
|
+
"text-dimmed group-data-highlighted:not-group-data-disabled:text-default",
|
|
41
|
+
"transition-colors"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"loading": {
|
|
46
|
+
"true": {
|
|
47
|
+
"itemLeadingIcon": "animate-spin"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,339 @@
|
|
|
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
|
+
] as const
|
|
19
|
+
|
|
20
|
+
const variant = [
|
|
21
|
+
"pill",
|
|
22
|
+
"link"
|
|
23
|
+
] as const
|
|
24
|
+
|
|
25
|
+
export default {
|
|
26
|
+
"slots": {
|
|
27
|
+
"root": "",
|
|
28
|
+
"content": "data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",
|
|
29
|
+
"list": "isolate -mx-2.5 -mt-1.5",
|
|
30
|
+
"item": "",
|
|
31
|
+
"listWithChildren": "ms-5 border-s border-default",
|
|
32
|
+
"itemWithChildren": "flex flex-col data-[state=open]:mb-1.5",
|
|
33
|
+
"trigger": "font-semibold",
|
|
34
|
+
"link": "group relative w-full px-2.5 py-1.5 before:inset-y-px before:inset-x-0 flex items-center gap-1.5 text-sm before:absolute before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
|
|
35
|
+
"linkLeadingIcon": "shrink-0 size-5",
|
|
36
|
+
"linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
37
|
+
"linkTrailingBadge": "shrink-0",
|
|
38
|
+
"linkTrailingBadgeSize": "sm",
|
|
39
|
+
"linkTrailingIcon": "size-5 transform transition-transform duration-200 shrink-0 group-data-[state=open]:rotate-180",
|
|
40
|
+
"linkTitle": "truncate",
|
|
41
|
+
"linkTitleExternalIcon": "size-3 align-top text-dimmed"
|
|
42
|
+
},
|
|
43
|
+
"variants": {
|
|
44
|
+
"color": {
|
|
45
|
+
"primary": {
|
|
46
|
+
"trigger": "focus-visible:ring-primary",
|
|
47
|
+
"link": "focus-visible:before:ring-primary"
|
|
48
|
+
},
|
|
49
|
+
"secondary": {
|
|
50
|
+
"trigger": "focus-visible:ring-secondary",
|
|
51
|
+
"link": "focus-visible:before:ring-secondary"
|
|
52
|
+
},
|
|
53
|
+
"success": {
|
|
54
|
+
"trigger": "focus-visible:ring-success",
|
|
55
|
+
"link": "focus-visible:before:ring-success"
|
|
56
|
+
},
|
|
57
|
+
"info": {
|
|
58
|
+
"trigger": "focus-visible:ring-info",
|
|
59
|
+
"link": "focus-visible:before:ring-info"
|
|
60
|
+
},
|
|
61
|
+
"warning": {
|
|
62
|
+
"trigger": "focus-visible:ring-warning",
|
|
63
|
+
"link": "focus-visible:before:ring-warning"
|
|
64
|
+
},
|
|
65
|
+
"error": {
|
|
66
|
+
"trigger": "focus-visible:ring-error",
|
|
67
|
+
"link": "focus-visible:before:ring-error"
|
|
68
|
+
},
|
|
69
|
+
"neutral": {
|
|
70
|
+
"trigger": "focus-visible:ring-inverted",
|
|
71
|
+
"link": "focus-visible:before:ring-inverted"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"highlightColor": {
|
|
75
|
+
"primary": "",
|
|
76
|
+
"secondary": "",
|
|
77
|
+
"success": "",
|
|
78
|
+
"info": "",
|
|
79
|
+
"warning": "",
|
|
80
|
+
"error": ""
|
|
81
|
+
},
|
|
82
|
+
"variant": {
|
|
83
|
+
"pill": "",
|
|
84
|
+
"link": ""
|
|
85
|
+
},
|
|
86
|
+
"active": {
|
|
87
|
+
"true": {
|
|
88
|
+
"link": "font-medium"
|
|
89
|
+
},
|
|
90
|
+
"false": {
|
|
91
|
+
"link": "text-muted",
|
|
92
|
+
"linkLeadingIcon": "text-dimmed"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"disabled": {
|
|
96
|
+
"true": {
|
|
97
|
+
"link": "cursor-not-allowed opacity-75"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"highlight": {
|
|
101
|
+
"true": {}
|
|
102
|
+
},
|
|
103
|
+
"level": {
|
|
104
|
+
"true": {
|
|
105
|
+
"item": "ps-1.5 -ms-px",
|
|
106
|
+
"itemWithChildren": "ps-1.5 -ms-px"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"compoundVariants": [
|
|
111
|
+
{
|
|
112
|
+
"highlight": true,
|
|
113
|
+
"level": true,
|
|
114
|
+
"class": {
|
|
115
|
+
"link": [
|
|
116
|
+
"after:absolute after:-left-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full",
|
|
117
|
+
"after:transition-colors"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"disabled": false,
|
|
123
|
+
"active": false,
|
|
124
|
+
"variant": "pill" as typeof variant[number],
|
|
125
|
+
"class": {
|
|
126
|
+
"link": [
|
|
127
|
+
"hover:text-highlighted data-[state=open]:text-highlighted",
|
|
128
|
+
"transition-colors",
|
|
129
|
+
"hover:before:bg-elevated/50"
|
|
130
|
+
],
|
|
131
|
+
"linkLeadingIcon": [
|
|
132
|
+
"group-hover:text-default group-data-[state=open]:text-default",
|
|
133
|
+
"transition-colors"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"disabled": false,
|
|
139
|
+
"active": false,
|
|
140
|
+
"variant": "link" as typeof variant[number],
|
|
141
|
+
"class": {
|
|
142
|
+
"link": [
|
|
143
|
+
"hover:text-highlighted data-[state=open]:text-highlighted",
|
|
144
|
+
"transition-colors"
|
|
145
|
+
],
|
|
146
|
+
"linkLeadingIcon": [
|
|
147
|
+
"group-hover:text-default group-data-[state=open]:text-default",
|
|
148
|
+
"transition-colors"
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"color": "primary" as typeof color[number],
|
|
154
|
+
"variant": "pill" as typeof variant[number],
|
|
155
|
+
"active": true,
|
|
156
|
+
"class": {
|
|
157
|
+
"link": "text-primary",
|
|
158
|
+
"linkLeadingIcon": "text-primary group-data-[state=open]:text-primary"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"color": "primary" as typeof color[number],
|
|
163
|
+
"variant": "link" as typeof variant[number],
|
|
164
|
+
"active": true,
|
|
165
|
+
"class": {
|
|
166
|
+
"link": "text-primary",
|
|
167
|
+
"linkLeadingIcon": "text-primary group-data-[state=open]:text-primary"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"highlightColor": "primary" as typeof highlightColor[number],
|
|
172
|
+
"highlight": true,
|
|
173
|
+
"level": true,
|
|
174
|
+
"active": true,
|
|
175
|
+
"class": {
|
|
176
|
+
"link": "after:bg-primary"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"color": "secondary" as typeof color[number],
|
|
181
|
+
"variant": "pill" as typeof variant[number],
|
|
182
|
+
"active": true,
|
|
183
|
+
"class": {
|
|
184
|
+
"link": "text-secondary",
|
|
185
|
+
"linkLeadingIcon": "text-secondary group-data-[state=open]:text-secondary"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"color": "secondary" as typeof color[number],
|
|
190
|
+
"variant": "link" as typeof variant[number],
|
|
191
|
+
"active": true,
|
|
192
|
+
"class": {
|
|
193
|
+
"link": "text-secondary",
|
|
194
|
+
"linkLeadingIcon": "text-secondary group-data-[state=open]:text-secondary"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"highlightColor": "secondary" as typeof highlightColor[number],
|
|
199
|
+
"highlight": true,
|
|
200
|
+
"level": true,
|
|
201
|
+
"active": true,
|
|
202
|
+
"class": {
|
|
203
|
+
"link": "after:bg-secondary"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"color": "success" as typeof color[number],
|
|
208
|
+
"variant": "pill" as typeof variant[number],
|
|
209
|
+
"active": true,
|
|
210
|
+
"class": {
|
|
211
|
+
"link": "text-success",
|
|
212
|
+
"linkLeadingIcon": "text-success group-data-[state=open]:text-success"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"color": "success" as typeof color[number],
|
|
217
|
+
"variant": "link" as typeof variant[number],
|
|
218
|
+
"active": true,
|
|
219
|
+
"class": {
|
|
220
|
+
"link": "text-success",
|
|
221
|
+
"linkLeadingIcon": "text-success group-data-[state=open]:text-success"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"highlightColor": "success" as typeof highlightColor[number],
|
|
226
|
+
"highlight": true,
|
|
227
|
+
"level": true,
|
|
228
|
+
"active": true,
|
|
229
|
+
"class": {
|
|
230
|
+
"link": "after:bg-success"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"color": "info" as typeof color[number],
|
|
235
|
+
"variant": "pill" as typeof variant[number],
|
|
236
|
+
"active": true,
|
|
237
|
+
"class": {
|
|
238
|
+
"link": "text-info",
|
|
239
|
+
"linkLeadingIcon": "text-info group-data-[state=open]:text-info"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"color": "info" as typeof color[number],
|
|
244
|
+
"variant": "link" as typeof variant[number],
|
|
245
|
+
"active": true,
|
|
246
|
+
"class": {
|
|
247
|
+
"link": "text-info",
|
|
248
|
+
"linkLeadingIcon": "text-info group-data-[state=open]:text-info"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"highlightColor": "info" as typeof highlightColor[number],
|
|
253
|
+
"highlight": true,
|
|
254
|
+
"level": true,
|
|
255
|
+
"active": true,
|
|
256
|
+
"class": {
|
|
257
|
+
"link": "after:bg-info"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"color": "warning" as typeof color[number],
|
|
262
|
+
"variant": "pill" as typeof variant[number],
|
|
263
|
+
"active": true,
|
|
264
|
+
"class": {
|
|
265
|
+
"link": "text-warning",
|
|
266
|
+
"linkLeadingIcon": "text-warning group-data-[state=open]:text-warning"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"color": "warning" as typeof color[number],
|
|
271
|
+
"variant": "link" as typeof variant[number],
|
|
272
|
+
"active": true,
|
|
273
|
+
"class": {
|
|
274
|
+
"link": "text-warning",
|
|
275
|
+
"linkLeadingIcon": "text-warning group-data-[state=open]:text-warning"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"highlightColor": "warning" as typeof highlightColor[number],
|
|
280
|
+
"highlight": true,
|
|
281
|
+
"level": true,
|
|
282
|
+
"active": true,
|
|
283
|
+
"class": {
|
|
284
|
+
"link": "after:bg-warning"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"color": "error" as typeof color[number],
|
|
289
|
+
"variant": "pill" as typeof variant[number],
|
|
290
|
+
"active": true,
|
|
291
|
+
"class": {
|
|
292
|
+
"link": "text-error",
|
|
293
|
+
"linkLeadingIcon": "text-error group-data-[state=open]:text-error"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"color": "error" as typeof color[number],
|
|
298
|
+
"variant": "link" as typeof variant[number],
|
|
299
|
+
"active": true,
|
|
300
|
+
"class": {
|
|
301
|
+
"link": "text-error",
|
|
302
|
+
"linkLeadingIcon": "text-error group-data-[state=open]:text-error"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"highlightColor": "error" as typeof highlightColor[number],
|
|
307
|
+
"highlight": true,
|
|
308
|
+
"level": true,
|
|
309
|
+
"active": true,
|
|
310
|
+
"class": {
|
|
311
|
+
"link": "after:bg-error"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"variant": "pill" as typeof variant[number],
|
|
316
|
+
"active": true,
|
|
317
|
+
"highlight": false,
|
|
318
|
+
"class": {
|
|
319
|
+
"link": "before:bg-elevated"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"variant": "pill" as typeof variant[number],
|
|
324
|
+
"active": true,
|
|
325
|
+
"highlight": true,
|
|
326
|
+
"class": {
|
|
327
|
+
"link": [
|
|
328
|
+
"hover:before:bg-elevated/50",
|
|
329
|
+
"before:transition-colors"
|
|
330
|
+
]
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"defaultVariants": {
|
|
335
|
+
"color": "primary" as typeof color[number],
|
|
336
|
+
"highlightColor": "primary" as typeof highlightColor[number],
|
|
337
|
+
"variant": "pill" as typeof variant[number]
|
|
338
|
+
}
|
|
339
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "grid grid-cols-1 sm:grid-cols-2 gap-8",
|
|
4
|
+
"link": [
|
|
5
|
+
"group block px-6 py-8 rounded-lg border border-default hover:bg-elevated/50 focus-visible:outline-primary",
|
|
6
|
+
"transition-colors"
|
|
7
|
+
],
|
|
8
|
+
"linkLeading": [
|
|
9
|
+
"inline-flex items-center rounded-full p-1.5 bg-elevated group-hover:bg-primary/10 ring ring-accented mb-4 group-hover:ring-primary/50",
|
|
10
|
+
"transition"
|
|
11
|
+
],
|
|
12
|
+
"linkLeadingIcon": [
|
|
13
|
+
"size-5 shrink-0 text-highlighted group-hover:text-primary",
|
|
14
|
+
"transition-[color,translate]"
|
|
15
|
+
],
|
|
16
|
+
"linkTitle": "font-medium text-[15px] text-highlighted mb-1 truncate",
|
|
17
|
+
"linkDescription": "text-sm text-muted line-clamp-2"
|
|
18
|
+
},
|
|
19
|
+
"variants": {
|
|
20
|
+
"direction": {
|
|
21
|
+
"left": {
|
|
22
|
+
"linkLeadingIcon": [
|
|
23
|
+
"group-active:-translate-x-0.5"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"right": {
|
|
27
|
+
"link": "text-right",
|
|
28
|
+
"linkLeadingIcon": [
|
|
29
|
+
"group-active:translate-x-0.5"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|