@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/dist/types.d.mts
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as unplugin from 'unplugin';
|
|
2
|
+
import { Options } from 'unplugin-auto-import/types';
|
|
3
|
+
import { Options as Options$1 } from 'unplugin-vue-components/types';
|
|
4
|
+
import colors from 'tailwindcss/colors';
|
|
5
|
+
import * as ui from '#build/ui';
|
|
6
|
+
import { ModuleOptions } from './module.mjs';
|
|
7
|
+
import { TVConfig } from '../dist/runtime/types/tv.js';
|
|
8
|
+
import '@nuxt/schema';
|
|
9
|
+
import '../dist/runtime/types/index.js';
|
|
10
|
+
|
|
11
|
+
declare const _default: {
|
|
12
|
+
arrowUp: string;
|
|
13
|
+
arrowDown: string;
|
|
14
|
+
arrowLeft: string;
|
|
15
|
+
arrowRight: string;
|
|
16
|
+
check: string;
|
|
17
|
+
chevronDoubleLeft: string;
|
|
18
|
+
chevronDoubleRight: string;
|
|
19
|
+
chevronDown: string;
|
|
20
|
+
chevronLeft: string;
|
|
21
|
+
chevronRight: string;
|
|
22
|
+
chevronUp: string;
|
|
23
|
+
close: string;
|
|
24
|
+
ellipsis: string;
|
|
25
|
+
external: string;
|
|
26
|
+
folder: string;
|
|
27
|
+
folderOpen: string;
|
|
28
|
+
loading: string;
|
|
29
|
+
minus: string;
|
|
30
|
+
plus: string;
|
|
31
|
+
reload: string;
|
|
32
|
+
search: string;
|
|
33
|
+
stop: string;
|
|
34
|
+
caution: string;
|
|
35
|
+
copy: string;
|
|
36
|
+
copyCheck: string;
|
|
37
|
+
dark: string;
|
|
38
|
+
error: string;
|
|
39
|
+
eye: string;
|
|
40
|
+
eyeOff: string;
|
|
41
|
+
file: string;
|
|
42
|
+
hash: string;
|
|
43
|
+
info: string;
|
|
44
|
+
light: string;
|
|
45
|
+
menu: string;
|
|
46
|
+
panelClose: string;
|
|
47
|
+
panelOpen: string;
|
|
48
|
+
success: string;
|
|
49
|
+
system: string;
|
|
50
|
+
tip: string;
|
|
51
|
+
warning: string;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone';
|
|
55
|
+
type Color = Exclude<keyof typeof colors, 'inherit' | 'current' | 'transparent' | 'black' | 'white' | NeutralColor> | (string & {});
|
|
56
|
+
type AppConfigUI = {
|
|
57
|
+
colors?: Record<string, Color> & {
|
|
58
|
+
neutral?: NeutralColor;
|
|
59
|
+
};
|
|
60
|
+
icons?: Partial<typeof _default>;
|
|
61
|
+
} & TVConfig<typeof ui>;
|
|
62
|
+
interface NuxtUIOptions extends Omit<ModuleOptions, 'fonts' | 'colorMode'> {
|
|
63
|
+
/** Whether to generate declaration files for auto-imported components. */
|
|
64
|
+
dts?: boolean;
|
|
65
|
+
ui?: AppConfigUI;
|
|
66
|
+
/**
|
|
67
|
+
* Enable or disable `@vueuse/core` color-mode integration
|
|
68
|
+
* @defaultValue `true`
|
|
69
|
+
*/
|
|
70
|
+
colorMode?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Override options for `unplugin-auto-import`
|
|
73
|
+
*/
|
|
74
|
+
autoImport?: Partial<Options>;
|
|
75
|
+
/**
|
|
76
|
+
* Override options for `unplugin-vue-components`
|
|
77
|
+
*/
|
|
78
|
+
components?: Partial<Options$1>;
|
|
79
|
+
/**
|
|
80
|
+
* Enables compatibility layer for InertiaJS
|
|
81
|
+
*/
|
|
82
|
+
inertia?: boolean;
|
|
83
|
+
}
|
|
84
|
+
declare const runtimeDir: string;
|
|
85
|
+
declare const NuxtUIPlugin: unplugin.UnpluginInstance<NuxtUIOptions | undefined, boolean>;
|
|
86
|
+
|
|
87
|
+
export { NuxtUIPlugin, runtimeDir };
|
|
88
|
+
export type { NuxtUIOptions };
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { fileURLToPath } from 'node:url';
|
|
2
|
+
import { join, normalize } from 'pathe';
|
|
3
|
+
import { createUnplugin } from 'unplugin';
|
|
4
|
+
import { defu } from 'defu';
|
|
5
|
+
import tailwind from '@tailwindcss/vite';
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultUiConfig } from './shared/ui.BcVNrqyb.mjs';
|
|
7
|
+
import { globSync } from 'tinyglobby';
|
|
8
|
+
import { genSafeVariableName } from 'knitwork';
|
|
9
|
+
import MagicString from 'magic-string';
|
|
10
|
+
import { resolvePathSync } from 'mlly';
|
|
11
|
+
import AutoImportComponents from 'unplugin-vue-components';
|
|
12
|
+
import AutoImport from 'unplugin-auto-import';
|
|
13
|
+
import '../dist/runtime/utils/index.js';
|
|
14
|
+
import 'scule';
|
|
15
|
+
import '@nuxt/kit';
|
|
16
|
+
import 'tailwindcss/colors';
|
|
17
|
+
|
|
18
|
+
function TemplatePlugin(options, appConfig) {
|
|
19
|
+
const templates = getTemplates(options, appConfig.ui);
|
|
20
|
+
const templateKeys = new Set(templates.map((t) => `#build/${t.filename}`));
|
|
21
|
+
return {
|
|
22
|
+
name: "nuxt:ui:templates",
|
|
23
|
+
enforce: "pre",
|
|
24
|
+
resolveId(id) {
|
|
25
|
+
if (templateKeys.has(id + ".ts")) {
|
|
26
|
+
return id.replace("#build/", "virtual:nuxt-ui-templates/") + ".ts";
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
loadInclude: (id) => templateKeys.has(id.replace("virtual:nuxt-ui-templates/", "#build/")),
|
|
30
|
+
load(id) {
|
|
31
|
+
id = id.replace("virtual:nuxt-ui-templates/", "#build/");
|
|
32
|
+
return templates.find((t) => `#build/${t.filename}` === id).getContents({});
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function PluginsPlugin(options) {
|
|
38
|
+
const plugins = globSync(["**/*", "!*.d.ts"], { cwd: join(runtimeDir, "plugins"), absolute: true });
|
|
39
|
+
plugins.unshift(resolvePathSync("../runtime/vue/plugins/head", { extensions: [".ts", ".mjs", ".js"], url: import.meta.url }));
|
|
40
|
+
if (options.colorMode) {
|
|
41
|
+
plugins.push(resolvePathSync("../runtime/vue/plugins/color-mode", { extensions: [".ts", ".mjs", ".js"], url: import.meta.url }));
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
name: "nuxt:ui:plugins",
|
|
45
|
+
enforce: "pre",
|
|
46
|
+
resolveId(id) {
|
|
47
|
+
if (id === "@eslamdevui/ui/vue-plugin") {
|
|
48
|
+
return "virtual:nuxt-ui-plugins";
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
transform(code, id) {
|
|
52
|
+
if (plugins.some((p) => id.startsWith(p)) && code.includes("import.meta.client")) {
|
|
53
|
+
const s = new MagicString(code);
|
|
54
|
+
s.replaceAll("import.meta.client", "true");
|
|
55
|
+
if (s.hasChanged()) {
|
|
56
|
+
return {
|
|
57
|
+
code: s.toString(),
|
|
58
|
+
map: s.generateMap({ hires: true })
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
loadInclude: (id) => id === "virtual:nuxt-ui-plugins",
|
|
64
|
+
load() {
|
|
65
|
+
return `
|
|
66
|
+
${plugins.map((p) => `import ${genSafeVariableName(p)} from "${p}"`).join("\n")}
|
|
67
|
+
export default {
|
|
68
|
+
install (app) {
|
|
69
|
+
${plugins.map((p) => ` app.use(${genSafeVariableName(p)})`).join("\n")}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
`;
|
|
73
|
+
},
|
|
74
|
+
// Argument Vite specific configuration
|
|
75
|
+
vite: {
|
|
76
|
+
config() {
|
|
77
|
+
return {
|
|
78
|
+
// Opt-out Nuxt UI from Vite's pre-bundling,
|
|
79
|
+
// as we need Vite's pipeline to resolve imports like `#imports`
|
|
80
|
+
optimizeDeps: {
|
|
81
|
+
exclude: ["@eslamdevui/ui"]
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function AppConfigPlugin(options, appConfig) {
|
|
90
|
+
return {
|
|
91
|
+
name: "nuxt:ui:app-config",
|
|
92
|
+
enforce: "pre",
|
|
93
|
+
resolveId(id) {
|
|
94
|
+
if (id === "#build/app.config") {
|
|
95
|
+
return "virtual:nuxt-ui-app-config";
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
loadInclude: (id) => id === "virtual:nuxt-ui-app-config",
|
|
99
|
+
load() {
|
|
100
|
+
return `
|
|
101
|
+
export default ${JSON.stringify(appConfig)}
|
|
102
|
+
`;
|
|
103
|
+
},
|
|
104
|
+
vite: {
|
|
105
|
+
config() {
|
|
106
|
+
return {
|
|
107
|
+
test: {
|
|
108
|
+
server: {
|
|
109
|
+
deps: {
|
|
110
|
+
inline: ["@eslamdevui/ui"]
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function ComponentImportPlugin(options, meta) {
|
|
121
|
+
const components = globSync("**/*.vue", { cwd: join(runtimeDir, "components") });
|
|
122
|
+
const componentNames = new Set(components.map((c) => `${options.prefix}${c.replace(/\.vue$/, "")}`));
|
|
123
|
+
const overrides = globSync("**/*.vue", { cwd: join(runtimeDir, "vue/components") });
|
|
124
|
+
const overrideNames = new Set(overrides.map((c) => `${options.prefix}${c.replace(/\.vue$/, "")}`));
|
|
125
|
+
const inertiaOverrides = globSync("**/*.vue", { cwd: join(runtimeDir, "inertia/components") });
|
|
126
|
+
const inertiaOverrideNames = new Set(inertiaOverrides.map((c) => `${options.prefix}${c.replace(/\.vue$/, "")}`));
|
|
127
|
+
const pluginOptions = defu(options.components, {
|
|
128
|
+
dts: options.dts ?? true,
|
|
129
|
+
exclude: [
|
|
130
|
+
/[\\/]node_modules[\\/](?!\.pnpm|@nuxt\/ui|@compodium\/examples)/,
|
|
131
|
+
/[\\/]\.git[\\/]/,
|
|
132
|
+
/[\\/]\.nuxt[\\/]/
|
|
133
|
+
],
|
|
134
|
+
resolvers: [
|
|
135
|
+
(componentName) => {
|
|
136
|
+
if (options.inertia && inertiaOverrideNames.has(componentName)) {
|
|
137
|
+
return { name: "default", from: join(runtimeDir, "inertia/components", `${componentName.slice(options.prefix.length)}.vue`) };
|
|
138
|
+
}
|
|
139
|
+
if (overrideNames.has(componentName))
|
|
140
|
+
return { name: "default", from: join(runtimeDir, "vue/components", `${componentName.slice(options.prefix.length)}.vue`) };
|
|
141
|
+
if (componentNames.has(componentName))
|
|
142
|
+
return { name: "default", from: join(runtimeDir, "components", `${componentName.slice(options.prefix.length)}.vue`) };
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
});
|
|
146
|
+
return [
|
|
147
|
+
/**
|
|
148
|
+
* This plugin aims to ensure we override certain components with Vue-compatible versions:
|
|
149
|
+
* <UIcon> and <ULink> currently.
|
|
150
|
+
*/
|
|
151
|
+
{
|
|
152
|
+
name: "nuxt:ui:components",
|
|
153
|
+
enforce: "pre",
|
|
154
|
+
resolveId(id, importer) {
|
|
155
|
+
if (!importer || !normalize(importer).includes(runtimeDir)) {
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
if (!RELATIVE_IMPORT_RE.test(id)) {
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
const filename = id.match(/([^/]+)\.vue$/)?.[1];
|
|
162
|
+
if (filename && options.inertia && inertiaOverrideNames.has(`${options.prefix}${filename}`)) {
|
|
163
|
+
return join(runtimeDir, "inertia/components", `${filename}.vue`);
|
|
164
|
+
}
|
|
165
|
+
if (filename && overrideNames.has(`${options.prefix}${filename}`)) {
|
|
166
|
+
return join(runtimeDir, "vue/components", `${filename}.vue`);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
AutoImportComponents.raw(pluginOptions, meta)
|
|
171
|
+
];
|
|
172
|
+
}
|
|
173
|
+
const RELATIVE_IMPORT_RE = /^\.{1,2}\//;
|
|
174
|
+
|
|
175
|
+
function NuxtEnvironmentPlugin(options) {
|
|
176
|
+
const stubPath = resolvePathSync(options.inertia ? "../runtime/inertia/stubs" : "../runtime/vue/stubs", { extensions: [".ts", ".mjs", ".js"], url: import.meta.url });
|
|
177
|
+
return {
|
|
178
|
+
name: "nuxt:ui",
|
|
179
|
+
enforce: "pre",
|
|
180
|
+
resolveId(id) {
|
|
181
|
+
if (id === "#imports") {
|
|
182
|
+
return stubPath;
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
transformInclude(id) {
|
|
186
|
+
return normalize(id).includes(runtimeDir);
|
|
187
|
+
},
|
|
188
|
+
transform(code) {
|
|
189
|
+
if (code.includes("import.meta.client")) {
|
|
190
|
+
const s = new MagicString(code);
|
|
191
|
+
s.replaceAll("import.meta.client", "true");
|
|
192
|
+
if (s.hasChanged()) {
|
|
193
|
+
return {
|
|
194
|
+
code: s.toString(),
|
|
195
|
+
map: s.generateMap({ hires: true })
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function AutoImportPlugin(options, meta) {
|
|
204
|
+
const pluginOptions = defu(options.autoImport, {
|
|
205
|
+
dts: options.dts ?? true,
|
|
206
|
+
dirs: [join(runtimeDir, "composables"), join(runtimeDir, "vue/composables")]
|
|
207
|
+
});
|
|
208
|
+
return AutoImport.raw(pluginOptions, meta);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
const runtimeDir = normalize(fileURLToPath(new URL("./runtime", import.meta.url)));
|
|
212
|
+
const NuxtUIPlugin = createUnplugin((_options = {}, meta) => {
|
|
213
|
+
const options = defu(_options, { fonts: false }, defaultOptions);
|
|
214
|
+
options.theme = options.theme || {};
|
|
215
|
+
options.theme.colors = resolveColors(options.theme.colors);
|
|
216
|
+
const appConfig = defu({ ui: options.ui, colorMode: options.colorMode }, { ui: getDefaultUiConfig(options.theme.colors) });
|
|
217
|
+
return [
|
|
218
|
+
NuxtEnvironmentPlugin(options),
|
|
219
|
+
ComponentImportPlugin(options, meta),
|
|
220
|
+
AutoImportPlugin(options, meta),
|
|
221
|
+
tailwind(),
|
|
222
|
+
PluginsPlugin(options),
|
|
223
|
+
TemplatePlugin(options, appConfig),
|
|
224
|
+
AppConfigPlugin(options, appConfig),
|
|
225
|
+
{
|
|
226
|
+
name: "nuxt:ui:plugins-duplication-detection",
|
|
227
|
+
vite: {
|
|
228
|
+
configResolved(config) {
|
|
229
|
+
const plugins = config.plugins || [];
|
|
230
|
+
if (plugins.filter((i) => i.name === "unplugin-auto-import").length > 1) {
|
|
231
|
+
throw new Error("[Nuxt UI] Multiple instances of `unplugin-auto-import` detected. Nuxt UI includes `unplugin-auto-import` already, and you can configure it using `autoImport` option in Nuxt UI module options.");
|
|
232
|
+
}
|
|
233
|
+
if (plugins.filter((i) => i.name === "unplugin-vue-components").length > 1) {
|
|
234
|
+
throw new Error("[Nuxt UI] Multiple instances of `unplugin-vue-components` detected. Nuxt UI includes `unplugin-vue-components` already, and you can configure it using `components` option in Nuxt UI module options.");
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
].flat(1);
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
export { NuxtUIPlugin, runtimeDir };
|
package/dist/vite.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as vite from 'vite';
|
|
2
|
+
import { NuxtUIOptions } from './unplugin.mjs';
|
|
3
|
+
import 'unplugin';
|
|
4
|
+
import 'unplugin-auto-import/types';
|
|
5
|
+
import 'unplugin-vue-components/types';
|
|
6
|
+
import 'tailwindcss/colors';
|
|
7
|
+
import '#build/ui';
|
|
8
|
+
import './module.mjs';
|
|
9
|
+
import '@nuxt/schema';
|
|
10
|
+
import '../dist/runtime/types/index.js';
|
|
11
|
+
import '../dist/runtime/types/tv.js';
|
|
12
|
+
|
|
13
|
+
declare const _default: (options?: NuxtUIOptions | undefined) => vite.Plugin<any> | vite.Plugin<any>[];
|
|
14
|
+
|
|
15
|
+
export { NuxtUIOptions, _default as default };
|
package/dist/vite.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { NuxtUIPlugin } from './unplugin.mjs';
|
|
2
|
+
import 'node:url';
|
|
3
|
+
import 'pathe';
|
|
4
|
+
import 'unplugin';
|
|
5
|
+
import 'defu';
|
|
6
|
+
import '@tailwindcss/vite';
|
|
7
|
+
import './shared/ui.BcVNrqyb.mjs';
|
|
8
|
+
import '../dist/runtime/utils/index.js';
|
|
9
|
+
import 'scule';
|
|
10
|
+
import '@nuxt/kit';
|
|
11
|
+
import 'tailwindcss/colors';
|
|
12
|
+
import 'knitwork';
|
|
13
|
+
import 'tinyglobby';
|
|
14
|
+
import 'magic-string';
|
|
15
|
+
import 'mlly';
|
|
16
|
+
import 'unplugin-vue-components';
|
|
17
|
+
import 'unplugin-auto-import';
|
|
18
|
+
|
|
19
|
+
const vite = NuxtUIPlugin.vite;
|
|
20
|
+
|
|
21
|
+
export { vite as default };
|
package/package.json
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@eslamdevui/ui",
|
|
3
|
+
"description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
|
|
4
|
+
"version": "3.2.0-beta.1",
|
|
5
|
+
"packageManager": "pnpm@10.12.2",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/MohamedEslam04/ui.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://ui.nuxt.com",
|
|
11
|
+
"type": "module",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/module.d.mts",
|
|
19
|
+
"style": "./dist/runtime/index.css",
|
|
20
|
+
"import": "./dist/module.mjs"
|
|
21
|
+
},
|
|
22
|
+
"./unplugin": {
|
|
23
|
+
"types": "./dist/unplugin.d.mts",
|
|
24
|
+
"import": "./dist/unplugin.mjs"
|
|
25
|
+
},
|
|
26
|
+
"./vite": {
|
|
27
|
+
"types": "./dist/vite.d.mts",
|
|
28
|
+
"import": "./dist/vite.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./vue-plugin": {
|
|
31
|
+
"types": "./vue-plugin.d.ts"
|
|
32
|
+
},
|
|
33
|
+
"./runtime/*": "./dist/runtime/*",
|
|
34
|
+
"./components/*": "./dist/runtime/components/*",
|
|
35
|
+
"./composables/*": "./dist/runtime/composables/*",
|
|
36
|
+
"./utils": {
|
|
37
|
+
"types": "./dist/runtime/utils/index.d.ts",
|
|
38
|
+
"import": "./dist/runtime/utils/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./utils/*": {
|
|
41
|
+
"types": "./dist/runtime/utils/*.d.ts",
|
|
42
|
+
"import": "./dist/runtime/utils/*.js"
|
|
43
|
+
},
|
|
44
|
+
"./locale": {
|
|
45
|
+
"types": "./dist/runtime/locale/index.d.ts",
|
|
46
|
+
"import": "./dist/runtime/locale/index.js"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"typesVersions": {
|
|
50
|
+
"*": {
|
|
51
|
+
".": [
|
|
52
|
+
"./dist/module.d.mts"
|
|
53
|
+
],
|
|
54
|
+
"unplugin": [
|
|
55
|
+
"./dist/unplugin.d.mts"
|
|
56
|
+
],
|
|
57
|
+
"vite": [
|
|
58
|
+
"./dist/vite.d.mts"
|
|
59
|
+
],
|
|
60
|
+
"vue-plugin": [
|
|
61
|
+
"./vue-plugin.d.ts"
|
|
62
|
+
],
|
|
63
|
+
"runtime/*": [
|
|
64
|
+
"./dist/runtime/*"
|
|
65
|
+
],
|
|
66
|
+
"components/*": [
|
|
67
|
+
"./dist/runtime/components/*"
|
|
68
|
+
],
|
|
69
|
+
"composables/*": [
|
|
70
|
+
"./dist/runtime/composables/*"
|
|
71
|
+
],
|
|
72
|
+
"utils": [
|
|
73
|
+
"./dist/runtime/utils/index.d.ts"
|
|
74
|
+
],
|
|
75
|
+
"utils/*": [
|
|
76
|
+
"./dist/runtime/utils/*.d.ts"
|
|
77
|
+
],
|
|
78
|
+
"locale": [
|
|
79
|
+
"./dist/runtime/locale/index.d.ts"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"imports": {
|
|
84
|
+
"#build/ui/*": "./.nuxt/ui/*.ts",
|
|
85
|
+
"#build/ui.css": "./.nuxt/ui.css"
|
|
86
|
+
},
|
|
87
|
+
"bin": {
|
|
88
|
+
"nuxt-ui": "./cli/index.mjs"
|
|
89
|
+
},
|
|
90
|
+
"style": "./dist/runtime/index.css",
|
|
91
|
+
"main": "./dist/module.mjs",
|
|
92
|
+
"files": [
|
|
93
|
+
".nuxt/ui",
|
|
94
|
+
".nuxt/ui.css",
|
|
95
|
+
"dist",
|
|
96
|
+
"cli",
|
|
97
|
+
"vue-plugin.d.ts"
|
|
98
|
+
],
|
|
99
|
+
"scripts": {
|
|
100
|
+
"build": "nuxt-module-build build",
|
|
101
|
+
"prepack": "pnpm build",
|
|
102
|
+
"dev": "nuxt dev playground --uiDev",
|
|
103
|
+
"dev:build": "nuxt build playground",
|
|
104
|
+
"dev:vue": "vite playground-vue -- --uiDev",
|
|
105
|
+
"dev:vue:build": "vite build playground-vue",
|
|
106
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && nuxt prepare docs && vite build playground-vue",
|
|
107
|
+
"docs": "nuxt dev docs --uiDev",
|
|
108
|
+
"docs:build": "nuxt build docs",
|
|
109
|
+
"lint": "eslint .",
|
|
110
|
+
"lint:fix": "eslint . --fix",
|
|
111
|
+
"typecheck": "vue-tsc --noEmit && nuxt typecheck playground && nuxt typecheck docs && cd playground-vue && vue-tsc --noEmit",
|
|
112
|
+
"test": "vitest",
|
|
113
|
+
"test:vue": "vitest -c vitest.vue.config.ts",
|
|
114
|
+
"release": "release-it",
|
|
115
|
+
"clean": "rm -rf dist .nuxt playground/.nuxt playground-vue/dist docs/.nuxt"
|
|
116
|
+
},
|
|
117
|
+
"dependencies": {
|
|
118
|
+
"@ai-sdk/vue": "^1.2.12",
|
|
119
|
+
"@iconify/vue": "^5.0.0",
|
|
120
|
+
"@internationalized/date": "^3.8.2",
|
|
121
|
+
"@internationalized/number": "^3.6.3",
|
|
122
|
+
"@nuxt/fonts": "^0.11.4",
|
|
123
|
+
"@nuxt/icon": "^1.14.0",
|
|
124
|
+
"@nuxt/kit": "^3.17.5",
|
|
125
|
+
"@nuxt/schema": "^3.17.5",
|
|
126
|
+
"@nuxtjs/color-mode": "^3.5.2",
|
|
127
|
+
"@standard-schema/spec": "^1.0.0",
|
|
128
|
+
"@tailwindcss/postcss": "^4.1.10",
|
|
129
|
+
"@tailwindcss/vite": "^4.1.10",
|
|
130
|
+
"@tanstack/vue-table": "^8.21.3",
|
|
131
|
+
"@unhead/vue": "^2.0.10",
|
|
132
|
+
"@vueuse/core": "^13.4.0",
|
|
133
|
+
"@vueuse/integrations": "^13.4.0",
|
|
134
|
+
"better-sqlite3": "11.10.0",
|
|
135
|
+
"colortranslator": "^5.0.0",
|
|
136
|
+
"consola": "^3.4.2",
|
|
137
|
+
"defu": "^6.1.4",
|
|
138
|
+
"dotenv": "^16.5.0",
|
|
139
|
+
"embla-carousel-auto-height": "^8.6.0",
|
|
140
|
+
"embla-carousel-auto-scroll": "^8.6.0",
|
|
141
|
+
"embla-carousel-autoplay": "^8.6.0",
|
|
142
|
+
"embla-carousel-class-names": "^8.6.0",
|
|
143
|
+
"embla-carousel-fade": "^8.6.0",
|
|
144
|
+
"embla-carousel-vue": "^8.6.0",
|
|
145
|
+
"embla-carousel-wheel-gestures": "^8.0.2",
|
|
146
|
+
"fuse.js": "^7.1.0",
|
|
147
|
+
"git-url-parse": "^16.1.0",
|
|
148
|
+
"hookable": "^5.5.3",
|
|
149
|
+
"knitwork": "^1.2.0",
|
|
150
|
+
"magic-string": "^0.30.17",
|
|
151
|
+
"mlly": "^1.7.4",
|
|
152
|
+
"ofetch": "^1.4.1",
|
|
153
|
+
"ohash": "^2.0.11",
|
|
154
|
+
"pathe": "^2.0.3",
|
|
155
|
+
"pkg-types": "^2.1.0",
|
|
156
|
+
"reka-ui": "2.3.1",
|
|
157
|
+
"scule": "^1.3.0",
|
|
158
|
+
"tailwind-variants": "^1.0.0",
|
|
159
|
+
"tailwindcss": "^4.1.10",
|
|
160
|
+
"tinyglobby": "^0.2.14",
|
|
161
|
+
"unplugin": "^2.3.5",
|
|
162
|
+
"unplugin-auto-import": "^19.3.0",
|
|
163
|
+
"unplugin-vue-components": "^28.7.0",
|
|
164
|
+
"vaul-vue": "^0.4.1",
|
|
165
|
+
"vue-component-type-helpers": "^2.2.10"
|
|
166
|
+
},
|
|
167
|
+
"devDependencies": {
|
|
168
|
+
"@eslamdevui/ui": "workspace:*",
|
|
169
|
+
"@nuxt/content": "^3.5.1",
|
|
170
|
+
"@nuxt/eslint-config": "^1.4.1",
|
|
171
|
+
"@nuxt/module-builder": "^1.0.1",
|
|
172
|
+
"@nuxt/test-utils": "^3.19.1",
|
|
173
|
+
"@release-it/conventional-changelog": "^10.0.1",
|
|
174
|
+
"@vue/compiler-sfc": "3.5.17",
|
|
175
|
+
"@vue/test-utils": "^2.4.6",
|
|
176
|
+
"embla-carousel": "^8.6.0",
|
|
177
|
+
"eslint": "^9.29.0",
|
|
178
|
+
"happy-dom": "^17.0.1",
|
|
179
|
+
"nuxt": "^3.17.5",
|
|
180
|
+
"release-it": "^19.0.3",
|
|
181
|
+
"vitest": "^3.2.4",
|
|
182
|
+
"vitest-environment-nuxt": "^1.0.1",
|
|
183
|
+
"vue-tsc": "^2.2.10"
|
|
184
|
+
},
|
|
185
|
+
"peerDependencies": {
|
|
186
|
+
"@inertiajs/vue3": "^2.0.7",
|
|
187
|
+
"joi": "^17.13.0",
|
|
188
|
+
"superstruct": "^2.0.0",
|
|
189
|
+
"typescript": "^5.6.3",
|
|
190
|
+
"valibot": "^1.0.0",
|
|
191
|
+
"vue-router": "^4.5.0",
|
|
192
|
+
"yup": "^1.6.0",
|
|
193
|
+
"zod": "^3.24.0"
|
|
194
|
+
},
|
|
195
|
+
"peerDependenciesMeta": {
|
|
196
|
+
"@inertiajs/vue3": {
|
|
197
|
+
"optional": true
|
|
198
|
+
},
|
|
199
|
+
"joi": {
|
|
200
|
+
"optional": true
|
|
201
|
+
},
|
|
202
|
+
"valibot": {
|
|
203
|
+
"optional": true
|
|
204
|
+
},
|
|
205
|
+
"superstruct": {
|
|
206
|
+
"optional": true
|
|
207
|
+
},
|
|
208
|
+
"vue-router": {
|
|
209
|
+
"optional": true
|
|
210
|
+
},
|
|
211
|
+
"yup": {
|
|
212
|
+
"optional": true
|
|
213
|
+
},
|
|
214
|
+
"zod": {
|
|
215
|
+
"optional": true
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"resolutions": {
|
|
219
|
+
"@eslamdevui/ui": "workspace:*",
|
|
220
|
+
"chokidar": "3.6.0",
|
|
221
|
+
"debug": "4.3.7",
|
|
222
|
+
"rollup": "4.34.9",
|
|
223
|
+
"unimport": "4.1.1",
|
|
224
|
+
"unplugin": "^2.3.5"
|
|
225
|
+
},
|
|
226
|
+
"pnpm": {
|
|
227
|
+
"onlyBuiltDependencies": [
|
|
228
|
+
"better-sqlite3",
|
|
229
|
+
"puppeteer",
|
|
230
|
+
"sharp"
|
|
231
|
+
],
|
|
232
|
+
"ignoredBuiltDependencies": [
|
|
233
|
+
"@parcel/watcher",
|
|
234
|
+
"esbuild",
|
|
235
|
+
"vue-demi",
|
|
236
|
+
"workerd"
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
"keywords": [
|
|
240
|
+
"nuxt-ui",
|
|
241
|
+
"nuxt",
|
|
242
|
+
"vue3",
|
|
243
|
+
"tailwindcss",
|
|
244
|
+
"component library",
|
|
245
|
+
"vue",
|
|
246
|
+
"vuejs",
|
|
247
|
+
"vue.js",
|
|
248
|
+
"typescript",
|
|
249
|
+
"vue-components",
|
|
250
|
+
"ui",
|
|
251
|
+
"tailwind",
|
|
252
|
+
"framework",
|
|
253
|
+
"ui-framework"
|
|
254
|
+
]
|
|
255
|
+
}
|