@eslamdevui/ui 3.3.1 → 3.3.2-beta.0
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/button.ts +42 -42
- package/.nuxt/ui/command-palette.ts +2 -1
- package/.nuxt/ui/file-upload.ts +295 -0
- package/.nuxt/ui/index.ts +2 -0
- package/.nuxt/ui/kbd.ts +167 -3
- package/.nuxt/ui/scroll-to-section.ts +3 -0
- package/.nuxt/ui/table.ts +14 -0
- package/.nuxt/ui/tabs.ts +4 -2
- package/.nuxt/ui/toast.ts +8 -15
- package/.nuxt/ui/tooltip.ts +1 -1
- package/cli/templates.mjs +4 -3
- package/dist/module.d.mts +15 -1
- package/dist/module.json +2 -2
- package/dist/module.mjs +3 -3
- package/dist/runtime/components/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/Alert.vue.d.ts +2 -2
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/Banner.vue.d.ts +1 -5
- package/dist/runtime/components/BlogPost.vue.d.ts +1 -1
- package/dist/runtime/components/BlogPosts.vue.d.ts +1 -1
- package/dist/runtime/components/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/Button.vue +6 -6
- package/dist/runtime/components/Button.vue.d.ts +1 -5
- package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue.d.ts +1 -1
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.vue +18 -14
- package/dist/runtime/components/Carousel.vue.d.ts +1 -1
- package/dist/runtime/components/ChangelogVersion.vue.d.ts +1 -1
- package/dist/runtime/components/ChangelogVersions.vue.d.ts +1 -1
- package/dist/runtime/components/ChatMessage.vue.d.ts +4 -8
- package/dist/runtime/components/ChatMessages.vue.d.ts +1 -1
- package/dist/runtime/components/ChatPalette.vue.d.ts +1 -1
- package/dist/runtime/components/ChatPrompt.vue.d.ts +1 -1
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +1 -1
- package/dist/runtime/components/Checkbox.vue.d.ts +1 -1
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Chip.vue.d.ts +2 -2
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/ColorPicker.vue +1 -2
- package/dist/runtime/components/ColorPicker.vue.d.ts +1 -1
- package/dist/runtime/components/CommandPalette.vue +4 -0
- package/dist/runtime/components/CommandPalette.vue.d.ts +9 -4
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardGroup.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardPanel.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardToolbar.vue.d.ts +1 -1
- package/dist/runtime/components/Drawer.vue +4 -4
- package/dist/runtime/components/Drawer.vue.d.ts +6 -1
- package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +8 -5
- package/dist/runtime/components/Error.vue.d.ts +1 -1
- package/dist/runtime/components/FileUpload.vue +242 -0
- package/dist/runtime/components/FileUpload.vue.d.ts +167 -0
- package/dist/runtime/components/Footer.vue.d.ts +1 -1
- package/dist/runtime/components/FooterColumns.vue.d.ts +1 -1
- package/dist/runtime/components/Form.vue.d.ts +5 -4
- package/dist/runtime/components/FormField.vue +2 -2
- package/dist/runtime/components/FormField.vue.d.ts +4 -4
- package/dist/runtime/components/Header.vue.d.ts +1 -1
- package/dist/runtime/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/Input.vue +10 -7
- package/dist/runtime/components/Input.vue.d.ts +9 -9
- package/dist/runtime/components/InputMenu.vue +17 -10
- package/dist/runtime/components/InputMenu.vue.d.ts +17 -14
- package/dist/runtime/components/InputNumber.vue.d.ts +4 -4
- package/dist/runtime/components/InputTags.vue +2 -0
- package/dist/runtime/components/InputTags.vue.d.ts +5 -3
- package/dist/runtime/components/Kbd.vue +2 -1
- package/dist/runtime/components/Kbd.vue.d.ts +5 -1
- package/dist/runtime/components/Link.vue +6 -5
- package/dist/runtime/components/Link.vue.d.ts +1 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Main.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/NavigationMenu.vue +3 -2
- package/dist/runtime/components/NavigationMenu.vue.d.ts +1 -1
- package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
- package/dist/runtime/components/Page.vue.d.ts +1 -1
- package/dist/runtime/components/PageAccordion.vue.d.ts +1 -1
- package/dist/runtime/components/PageAnchors.vue.d.ts +1 -1
- package/dist/runtime/components/PageAside.vue.d.ts +1 -1
- package/dist/runtime/components/PageBody.vue.d.ts +1 -1
- package/dist/runtime/components/PageCTA.vue.d.ts +1 -1
- package/dist/runtime/components/PageCard.vue.d.ts +1 -1
- package/dist/runtime/components/PageColumns.vue.d.ts +1 -1
- package/dist/runtime/components/PageFeature.vue.d.ts +1 -1
- package/dist/runtime/components/PageGrid.vue.d.ts +1 -1
- package/dist/runtime/components/PageHeader.vue.d.ts +1 -1
- package/dist/runtime/components/PageHero.vue.d.ts +1 -1
- package/dist/runtime/components/PageLinks.vue.d.ts +1 -1
- package/dist/runtime/components/PageList.vue.d.ts +1 -1
- package/dist/runtime/components/PageLogos.vue.d.ts +1 -1
- package/dist/runtime/components/PageMarquee.vue.d.ts +1 -1
- package/dist/runtime/components/PageSection.vue.d.ts +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +1 -1
- package/dist/runtime/components/PinInput.vue.d.ts +1 -1
- package/dist/runtime/components/Popover.vue +2 -1
- package/dist/runtime/components/Popover.vue.d.ts +8 -2
- package/dist/runtime/components/PricingPlan.vue.d.ts +1 -1
- package/dist/runtime/components/PricingPlans.vue.d.ts +1 -1
- package/dist/runtime/components/PricingTable.vue +14 -2
- package/dist/runtime/components/PricingTable.vue.d.ts +1 -1
- package/dist/runtime/components/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +5 -4
- package/dist/runtime/components/ScrollToSection.vue +62 -0
- package/dist/runtime/components/ScrollToSection.vue.d.ts +36 -0
- package/dist/runtime/components/Select.vue.d.ts +1 -1
- package/dist/runtime/components/SelectMenu.vue +9 -6
- package/dist/runtime/components/SelectMenu.vue.d.ts +4 -4
- package/dist/runtime/components/Separator.vue.d.ts +1 -1
- package/dist/runtime/components/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/Slideover.vue.d.ts +2 -2
- package/dist/runtime/components/Slider.vue.d.ts +5 -5
- package/dist/runtime/components/Stepper.vue.d.ts +1 -1
- package/dist/runtime/components/Switch.vue.d.ts +1 -1
- package/dist/runtime/components/Table.vue +83 -8
- package/dist/runtime/components/Table.vue.d.ts +20 -4
- package/dist/runtime/components/Tabs.vue +36 -16
- package/dist/runtime/components/Tabs.vue.d.ts +8 -3
- package/dist/runtime/components/Textarea.vue +10 -7
- package/dist/runtime/components/Textarea.vue.d.ts +10 -9
- package/dist/runtime/components/Timeline.vue.d.ts +1 -1
- package/dist/runtime/components/Toast.vue +12 -4
- package/dist/runtime/components/Toast.vue.d.ts +14 -13
- package/dist/runtime/components/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/Tooltip.vue +2 -1
- package/dist/runtime/components/Tooltip.vue.d.ts +8 -2
- package/dist/runtime/components/Tree.vue +3 -2
- package/dist/runtime/components/Tree.vue.d.ts +1 -1
- package/dist/runtime/components/User.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +1 -1
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentSearch.vue +1 -2
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentToc.vue.d.ts +1 -1
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -1
- package/dist/runtime/components/prose/A.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/prose/AccordionItem.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Blockquote.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Callout.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Card.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CardGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Code.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeIcon.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodePreview.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeTree.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Em.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Field.vue.d.ts +1 -1
- package/dist/runtime/components/prose/FieldGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H1.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H2.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H3.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H4.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Hr.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Img.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Li.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Ol.vue.d.ts +1 -1
- package/dist/runtime/components/prose/P.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Pre.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Script.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Steps.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Strong.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Table.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/prose/TabsItem.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tbody.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Td.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Th.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Thead.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tr.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Ul.vue.d.ts +1 -1
- package/dist/runtime/components/prose/callout/Caution.vue.d.ts +3 -3
- package/dist/runtime/components/prose/callout/Note.vue.d.ts +3 -3
- package/dist/runtime/components/prose/callout/Tip.vue.d.ts +3 -3
- package/dist/runtime/components/prose/callout/Warning.vue.d.ts +3 -3
- package/dist/runtime/composables/defineShortcuts.js +5 -3
- package/dist/runtime/composables/useFileUpload.d.ts +19 -0
- package/dist/runtime/composables/useFileUpload.js +63 -0
- package/dist/runtime/composables/useFormField.d.ts +1 -4
- package/dist/runtime/composables/useFormField.js +5 -2
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.js +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +28 -1
- package/dist/runtime/composables/useOverlay.js +4 -4
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/inertia/stubs.d.ts +1 -0
- package/dist/runtime/inertia/stubs.js +4 -2
- package/dist/runtime/locale/ar.js +2 -1
- package/dist/runtime/locale/az.js +1 -0
- package/dist/runtime/locale/bg.js +1 -0
- package/dist/runtime/locale/bn.js +1 -0
- package/dist/runtime/locale/ca.js +1 -0
- package/dist/runtime/locale/ckb.js +2 -1
- package/dist/runtime/locale/cs.js +1 -0
- package/dist/runtime/locale/da.js +1 -0
- package/dist/runtime/locale/de.js +1 -0
- package/dist/runtime/locale/el.js +1 -0
- package/dist/runtime/locale/en.js +1 -0
- package/dist/runtime/locale/es.js +1 -0
- package/dist/runtime/locale/et.js +1 -0
- package/dist/runtime/locale/fa_ir.js +1 -0
- package/dist/runtime/locale/fi.js +1 -0
- package/dist/runtime/locale/fr.js +1 -0
- package/dist/runtime/locale/he.js +1 -0
- package/dist/runtime/locale/hi.js +2 -1
- package/dist/runtime/locale/hu.js +1 -0
- package/dist/runtime/locale/hy.js +1 -0
- package/dist/runtime/locale/id.js +1 -0
- package/dist/runtime/locale/it.js +1 -0
- package/dist/runtime/locale/ja.js +1 -0
- package/dist/runtime/locale/kk.js +1 -0
- package/dist/runtime/locale/km.js +2 -1
- package/dist/runtime/locale/ko.js +1 -0
- package/dist/runtime/locale/ky.js +1 -0
- package/dist/runtime/locale/lb.js +1 -0
- package/dist/runtime/locale/lt.js +1 -0
- package/dist/runtime/locale/mn.js +1 -0
- package/dist/runtime/locale/ms.js +1 -0
- package/dist/runtime/locale/nb_no.js +1 -0
- package/dist/runtime/locale/nl.js +1 -0
- package/dist/runtime/locale/pl.js +1 -0
- package/dist/runtime/locale/pt.js +1 -0
- package/dist/runtime/locale/pt_br.js +1 -0
- package/dist/runtime/locale/ro.js +1 -0
- package/dist/runtime/locale/ru.js +1 -0
- package/dist/runtime/locale/sk.js +1 -0
- package/dist/runtime/locale/sl.js +1 -0
- package/dist/runtime/locale/sv.js +1 -0
- package/dist/runtime/locale/th.js +1 -0
- package/dist/runtime/locale/tj.js +1 -0
- package/dist/runtime/locale/tr.js +1 -0
- package/dist/runtime/locale/ug_cn.js +1 -0
- package/dist/runtime/locale/uk.js +1 -0
- package/dist/runtime/locale/ur.js +1 -0
- package/dist/runtime/locale/uz.js +1 -0
- package/dist/runtime/locale/vi.js +1 -0
- package/dist/runtime/locale/zh_cn.js +1 -0
- package/dist/runtime/locale/zh_tw.js +1 -0
- package/dist/runtime/types/index.d.ts +2 -0
- package/dist/runtime/types/index.js +2 -0
- package/dist/runtime/types/locale.d.ts +1 -0
- package/dist/runtime/utils/content.d.ts +18 -6
- package/dist/runtime/utils/content.js +51 -25
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +9 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue.d.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs.d.ts +1 -0
- package/dist/runtime/vue/stubs.js +3 -1
- package/dist/shared/{ui.i6pGHFq6.mjs → ui.CgUuvRXi.mjs} +282 -29
- package/dist/unplugin.d.mts +2 -1
- package/dist/unplugin.mjs +6 -3
- package/dist/vite.mjs +1 -1
- package/package.json +57 -41
- package/dist/runtime/composables/useQuerySection.d.ts +0 -14
- package/dist/runtime/composables/useQuerySection.js +0 -44
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslamdevui/ui",
|
|
3
3
|
"description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
|
|
4
|
-
"version": "3.3.
|
|
4
|
+
"version": "3.3.2-beta.0",
|
|
5
|
+
"packageManager": "pnpm@10.13.1",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
8
|
"url": "git+https://github.com/MohamedEslam04/ui.git"
|
|
@@ -95,23 +96,42 @@
|
|
|
95
96
|
"cli",
|
|
96
97
|
"vue-plugin.d.ts"
|
|
97
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": "pnpm --filter playground-vue dev -- --uiDev",
|
|
105
|
+
"dev:vue:build": "pnpm --filter playground-vue build",
|
|
106
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && nuxt prepare docs && pnpm dev:vue:build",
|
|
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-win": "rmrf dist .nuxt playground/.nuxt playground-vue/dist docs/.nuxt",
|
|
116
|
+
"clean": "rm -rf dist .nuxt playground/.nuxt playground-vue/dist docs/.nuxt"
|
|
117
|
+
},
|
|
98
118
|
"dependencies": {
|
|
99
119
|
"@ai-sdk/vue": "^1.2.12",
|
|
100
120
|
"@iconify/vue": "^5.0.0",
|
|
101
121
|
"@internationalized/date": "^3.8.2",
|
|
102
122
|
"@internationalized/number": "^3.6.3",
|
|
103
123
|
"@nuxt/fonts": "^0.11.4",
|
|
104
|
-
"@nuxt/icon": "^1.
|
|
105
|
-
"@nuxt/kit": "^
|
|
106
|
-
"@nuxt/schema": "^
|
|
124
|
+
"@nuxt/icon": "^1.15.0",
|
|
125
|
+
"@nuxt/kit": "^4.0.1",
|
|
126
|
+
"@nuxt/schema": "^4.0.1",
|
|
107
127
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
108
128
|
"@standard-schema/spec": "^1.0.0",
|
|
109
|
-
"@tailwindcss/postcss": "^4.1.
|
|
110
|
-
"@tailwindcss/vite": "^4.1.
|
|
129
|
+
"@tailwindcss/postcss": "^4.1.11",
|
|
130
|
+
"@tailwindcss/vite": "^4.1.11",
|
|
111
131
|
"@tanstack/vue-table": "^8.21.3",
|
|
112
|
-
"@unhead/vue": "^2.0.
|
|
113
|
-
"@vueuse/core": "^13.
|
|
114
|
-
"@vueuse/integrations": "^13.
|
|
132
|
+
"@unhead/vue": "^2.0.12",
|
|
133
|
+
"@vueuse/core": "^13.5.0",
|
|
134
|
+
"@vueuse/integrations": "^13.5.0",
|
|
115
135
|
"colortranslator": "^5.0.0",
|
|
116
136
|
"consola": "^3.4.2",
|
|
117
137
|
"defu": "^6.1.4",
|
|
@@ -133,34 +153,33 @@
|
|
|
133
153
|
"ohash": "^2.0.11",
|
|
134
154
|
"pathe": "^2.0.3",
|
|
135
155
|
"pkg-types": "^2.1.0",
|
|
136
|
-
"reka-ui": "2.3.
|
|
156
|
+
"reka-ui": "2.3.2",
|
|
137
157
|
"scule": "^1.3.0",
|
|
138
158
|
"tailwind-variants": "^1.0.0",
|
|
139
|
-
"tailwindcss": "^4.1.
|
|
159
|
+
"tailwindcss": "^4.1.11",
|
|
140
160
|
"tinyglobby": "^0.2.14",
|
|
141
161
|
"unplugin": "^2.3.5",
|
|
142
162
|
"unplugin-auto-import": "^19.3.0",
|
|
143
|
-
"unplugin-vue-components": "^28.
|
|
144
|
-
"vaul-vue": "
|
|
163
|
+
"unplugin-vue-components": "^28.8.0",
|
|
164
|
+
"vaul-vue": "0.4.1",
|
|
165
|
+
"vue-component-type-helpers": "^2.2.10"
|
|
145
166
|
},
|
|
146
167
|
"devDependencies": {
|
|
147
|
-
"@nuxt/
|
|
148
|
-
"@nuxt/eslint-config": "^1.4.1",
|
|
168
|
+
"@nuxt/eslint-config": "^1.6.0",
|
|
149
169
|
"@nuxt/module-builder": "^1.0.1",
|
|
150
|
-
"@nuxt/test-utils": "^3.19.
|
|
170
|
+
"@nuxt/test-utils": "^3.19.2",
|
|
151
171
|
"@release-it/conventional-changelog": "^10.0.1",
|
|
152
172
|
"@vue/compiler-sfc": "3.5.17",
|
|
153
173
|
"@vue/test-utils": "^2.4.6",
|
|
154
174
|
"better-sqlite3": "^12.0.0",
|
|
155
175
|
"embla-carousel": "^8.6.0",
|
|
156
|
-
"eslint": "^9.
|
|
176
|
+
"eslint": "^9.31.0",
|
|
157
177
|
"happy-dom": "^18.0.1",
|
|
158
|
-
"nuxt": "^
|
|
159
|
-
"release-it": "^19.0.
|
|
178
|
+
"nuxt": "^4.0.1",
|
|
179
|
+
"release-it": "^19.0.4",
|
|
160
180
|
"vitest": "^3.2.4",
|
|
161
181
|
"vitest-environment-nuxt": "^1.0.1",
|
|
162
|
-
"vue-
|
|
163
|
-
"vue-tsc": "^2.2.10"
|
|
182
|
+
"vue-tsc": "^3.0.3"
|
|
164
183
|
},
|
|
165
184
|
"peerDependencies": {
|
|
166
185
|
"@inertiajs/vue3": "^2.0.7",
|
|
@@ -170,7 +189,7 @@
|
|
|
170
189
|
"valibot": "^1.0.0",
|
|
171
190
|
"vue-router": "^4.5.0",
|
|
172
191
|
"yup": "^1.6.0",
|
|
173
|
-
"zod": "^3.24.0"
|
|
192
|
+
"zod": "^3.24.0 || ^4.0.0"
|
|
174
193
|
},
|
|
175
194
|
"peerDependenciesMeta": {
|
|
176
195
|
"@inertiajs/vue3": {
|
|
@@ -203,7 +222,21 @@
|
|
|
203
222
|
"unimport": "4.1.1",
|
|
204
223
|
"unplugin": "^2.3.5"
|
|
205
224
|
},
|
|
225
|
+
"pnpm": {
|
|
226
|
+
"onlyBuiltDependencies": [
|
|
227
|
+
"better-sqlite3",
|
|
228
|
+
"puppeteer",
|
|
229
|
+
"sharp"
|
|
230
|
+
],
|
|
231
|
+
"ignoredBuiltDependencies": [
|
|
232
|
+
"@parcel/watcher",
|
|
233
|
+
"esbuild",
|
|
234
|
+
"vue-demi",
|
|
235
|
+
"workerd"
|
|
236
|
+
]
|
|
237
|
+
},
|
|
206
238
|
"keywords": [
|
|
239
|
+
"eslamdevui-ui",
|
|
207
240
|
"nuxt-ui",
|
|
208
241
|
"nuxt",
|
|
209
242
|
"vue3",
|
|
@@ -218,22 +251,5 @@
|
|
|
218
251
|
"tailwind",
|
|
219
252
|
"framework",
|
|
220
253
|
"ui-framework"
|
|
221
|
-
]
|
|
222
|
-
|
|
223
|
-
"build": "nuxt-module-build build",
|
|
224
|
-
"dev": "nuxt dev playground --uiDev",
|
|
225
|
-
"dev:build": "nuxt build playground",
|
|
226
|
-
"dev:vue": "vite playground-vue -- --uiDev",
|
|
227
|
-
"dev:vue:build": "vite build playground-vue",
|
|
228
|
-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground && vite build playground-vue",
|
|
229
|
-
"docs": "nuxt dev docs --uiDev",
|
|
230
|
-
"docs:build": "nuxt build docs",
|
|
231
|
-
"lint": "eslint .",
|
|
232
|
-
"lint:fix": "eslint . --fix",
|
|
233
|
-
"typecheck": "vue-tsc --noEmit && nuxt typecheck playground && nuxt typecheck docs && cd playground-vue && vue-tsc --noEmit",
|
|
234
|
-
"test": "vitest",
|
|
235
|
-
"test:vue": "vitest -c vitest.vue.config.ts",
|
|
236
|
-
"release": "release-it",
|
|
237
|
-
"clean": "rm -rf dist .nuxt playground/.nuxt playground-vue/dist docs/.nuxt"
|
|
238
|
-
}
|
|
239
|
-
}
|
|
254
|
+
]
|
|
255
|
+
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
type UseQuerySectionOptions = {
|
|
2
|
-
key?: string;
|
|
3
|
-
offset?: number;
|
|
4
|
-
behavior?: ScrollBehavior;
|
|
5
|
-
autoScroll?: boolean;
|
|
6
|
-
clearQuery?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const useQuerySection: (options?: UseQuerySectionOptions) => {
|
|
9
|
-
setSection: (section: string) => void;
|
|
10
|
-
getSection: () => string | null;
|
|
11
|
-
clearSection: () => void;
|
|
12
|
-
scrollToSection: (customId?: string) => void;
|
|
13
|
-
};
|
|
14
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { onMounted } from "vue";
|
|
2
|
-
import { useRouter, useRoute } from "vue-router";
|
|
3
|
-
export const useQuerySection = (options = {}) => {
|
|
4
|
-
const router = useRouter();
|
|
5
|
-
const route = useRoute();
|
|
6
|
-
const key = options.key || "section";
|
|
7
|
-
const offset = options.offset || 0;
|
|
8
|
-
const behavior = options.behavior || "smooth";
|
|
9
|
-
const getSection = () => {
|
|
10
|
-
return route.query[key] || null;
|
|
11
|
-
};
|
|
12
|
-
const setSection = (section) => {
|
|
13
|
-
router.replace({
|
|
14
|
-
query: {
|
|
15
|
-
...route.query,
|
|
16
|
-
[key]: section
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
const clearSection = () => {
|
|
21
|
-
const query = { ...route.query };
|
|
22
|
-
delete query[key];
|
|
23
|
-
router.replace({ query });
|
|
24
|
-
};
|
|
25
|
-
const scrollToSection = (customId) => {
|
|
26
|
-
if (!import.meta.client) return;
|
|
27
|
-
const sectionId = customId || getSection();
|
|
28
|
-
if (!sectionId) return;
|
|
29
|
-
const el = document.getElementById(sectionId);
|
|
30
|
-
if (!el) return;
|
|
31
|
-
const top = el.getBoundingClientRect().top + window.scrollY - offset;
|
|
32
|
-
window.scrollTo({ top, behavior });
|
|
33
|
-
if (options.clearQuery) clearSection();
|
|
34
|
-
};
|
|
35
|
-
if (options.autoScroll && import.meta.client) {
|
|
36
|
-
onMounted(() => scrollToSection());
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
setSection,
|
|
40
|
-
getSection,
|
|
41
|
-
clearSection,
|
|
42
|
-
scrollToSection
|
|
43
|
-
};
|
|
44
|
-
};
|