@nuxt/ui 3.3.5 → 3.3.7
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/drawer.ts +23 -0
- package/dist/module.json +3 -3
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Accordion.d.vue.ts +6 -5
- package/dist/runtime/components/Accordion.vue.d.ts +6 -5
- package/dist/runtime/components/Alert.d.vue.ts +2 -1
- package/dist/runtime/components/Alert.vue.d.ts +2 -1
- package/dist/runtime/components/App.d.vue.ts +5 -4
- package/dist/runtime/components/App.vue +1 -1
- package/dist/runtime/components/App.vue.d.ts +5 -4
- package/dist/runtime/components/Avatar.d.vue.ts +2 -1
- package/dist/runtime/components/Avatar.vue.d.ts +2 -1
- package/dist/runtime/components/AvatarGroup.d.vue.ts +2 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -1
- package/dist/runtime/components/Badge.d.vue.ts +2 -1
- package/dist/runtime/components/Badge.vue.d.ts +2 -1
- package/dist/runtime/components/Breadcrumb.d.vue.ts +4 -3
- package/dist/runtime/components/Breadcrumb.vue.d.ts +4 -3
- package/dist/runtime/components/Button.d.vue.ts +2 -1
- package/dist/runtime/components/Button.vue.d.ts +2 -1
- package/dist/runtime/components/ButtonGroup.d.vue.ts +2 -1
- package/dist/runtime/components/ButtonGroup.vue.d.ts +2 -1
- package/dist/runtime/components/Calendar.d.vue.ts +9 -8
- package/dist/runtime/components/Calendar.vue.d.ts +9 -8
- package/dist/runtime/components/Card.d.vue.ts +2 -1
- package/dist/runtime/components/Card.vue.d.ts +2 -1
- package/dist/runtime/components/Carousel.d.vue.ts +7 -6
- package/dist/runtime/components/Carousel.vue +32 -12
- package/dist/runtime/components/Carousel.vue.d.ts +7 -6
- package/dist/runtime/components/Checkbox.d.vue.ts +2 -1
- package/dist/runtime/components/Checkbox.vue.d.ts +2 -1
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +7 -6
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +7 -6
- package/dist/runtime/components/Chip.d.vue.ts +2 -1
- package/dist/runtime/components/Chip.vue.d.ts +2 -1
- package/dist/runtime/components/Collapsible.d.vue.ts +2 -1
- package/dist/runtime/components/Collapsible.vue.d.ts +2 -1
- package/dist/runtime/components/ColorPicker.d.vue.ts +2 -1
- package/dist/runtime/components/ColorPicker.vue.d.ts +2 -1
- package/dist/runtime/components/CommandPalette.d.vue.ts +13 -12
- package/dist/runtime/components/CommandPalette.vue +1 -1
- package/dist/runtime/components/CommandPalette.vue.d.ts +13 -12
- package/dist/runtime/components/Container.d.vue.ts +2 -1
- package/dist/runtime/components/Container.vue.d.ts +2 -1
- package/dist/runtime/components/ContextMenu.d.vue.ts +6 -5
- package/dist/runtime/components/ContextMenu.vue.d.ts +6 -5
- package/dist/runtime/components/ContextMenuContent.d.vue.ts +10 -9
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +10 -9
- package/dist/runtime/components/Drawer.d.vue.ts +5 -1
- package/dist/runtime/components/Drawer.vue +19 -5
- package/dist/runtime/components/Drawer.vue.d.ts +5 -1
- package/dist/runtime/components/DropdownMenu.d.vue.ts +6 -5
- package/dist/runtime/components/DropdownMenu.vue.d.ts +6 -5
- package/dist/runtime/components/DropdownMenuContent.d.vue.ts +10 -9
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +10 -9
- package/dist/runtime/components/FileUpload.d.vue.ts +9 -8
- package/dist/runtime/components/FileUpload.vue +3 -2
- package/dist/runtime/components/FileUpload.vue.d.ts +9 -8
- package/dist/runtime/components/Form.d.vue.ts +7 -6
- package/dist/runtime/components/Form.vue.d.ts +7 -6
- package/dist/runtime/components/FormField.d.vue.ts +2 -1
- package/dist/runtime/components/FormField.vue.d.ts +2 -1
- package/dist/runtime/components/Icon.d.vue.ts +2 -1
- package/dist/runtime/components/Icon.vue.d.ts +2 -1
- package/dist/runtime/components/Input.d.vue.ts +9 -8
- package/dist/runtime/components/Input.vue.d.ts +9 -8
- package/dist/runtime/components/InputMenu.d.vue.ts +17 -16
- package/dist/runtime/components/InputMenu.vue.d.ts +17 -16
- package/dist/runtime/components/InputNumber.d.vue.ts +2 -1
- package/dist/runtime/components/InputNumber.vue.d.ts +2 -1
- package/dist/runtime/components/InputTags.d.vue.ts +13 -12
- package/dist/runtime/components/InputTags.vue.d.ts +13 -12
- package/dist/runtime/components/Kbd.d.vue.ts +2 -1
- package/dist/runtime/components/Kbd.vue.d.ts +2 -1
- package/dist/runtime/components/Link.d.vue.ts +2 -1
- package/dist/runtime/components/Link.vue.d.ts +2 -1
- package/dist/runtime/components/LinkBase.d.vue.ts +2 -1
- package/dist/runtime/components/LinkBase.vue.d.ts +2 -1
- package/dist/runtime/components/Modal.d.vue.ts +4 -3
- package/dist/runtime/components/Modal.vue.d.ts +4 -3
- package/dist/runtime/components/NavigationMenu.d.vue.ts +6 -5
- package/dist/runtime/components/NavigationMenu.vue +1 -1
- package/dist/runtime/components/NavigationMenu.vue.d.ts +6 -5
- package/dist/runtime/components/OverlayProvider.d.vue.ts +2 -1
- package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -1
- package/dist/runtime/components/Pagination.d.vue.ts +2 -1
- package/dist/runtime/components/Pagination.vue +4 -4
- package/dist/runtime/components/Pagination.vue.d.ts +2 -1
- package/dist/runtime/components/PinInput.d.vue.ts +10 -9
- package/dist/runtime/components/PinInput.vue.d.ts +10 -9
- package/dist/runtime/components/Popover.d.vue.ts +2 -1
- package/dist/runtime/components/Popover.vue.d.ts +2 -1
- package/dist/runtime/components/Progress.d.vue.ts +2 -1
- package/dist/runtime/components/Progress.vue.d.ts +2 -1
- package/dist/runtime/components/RadioGroup.d.vue.ts +7 -6
- package/dist/runtime/components/RadioGroup.vue.d.ts +7 -6
- package/dist/runtime/components/Select.d.vue.ts +11 -10
- package/dist/runtime/components/Select.vue.d.ts +11 -10
- package/dist/runtime/components/SelectMenu.d.vue.ts +16 -15
- package/dist/runtime/components/SelectMenu.vue.d.ts +16 -15
- package/dist/runtime/components/Separator.d.vue.ts +2 -1
- package/dist/runtime/components/Separator.vue.d.ts +2 -1
- package/dist/runtime/components/Skeleton.d.vue.ts +2 -1
- package/dist/runtime/components/Skeleton.vue.d.ts +2 -1
- package/dist/runtime/components/Slideover.d.vue.ts +4 -3
- package/dist/runtime/components/Slideover.vue.d.ts +4 -3
- package/dist/runtime/components/Slider.d.vue.ts +8 -7
- package/dist/runtime/components/Slider.vue.d.ts +8 -7
- package/dist/runtime/components/Stepper.d.vue.ts +10 -9
- package/dist/runtime/components/Stepper.vue.d.ts +10 -9
- package/dist/runtime/components/Switch.d.vue.ts +2 -1
- package/dist/runtime/components/Switch.vue.d.ts +2 -1
- package/dist/runtime/components/Table.d.vue.ts +20 -19
- package/dist/runtime/components/Table.vue +19 -1
- package/dist/runtime/components/Table.vue.d.ts +20 -19
- package/dist/runtime/components/Tabs.d.vue.ts +7 -6
- package/dist/runtime/components/Tabs.vue.d.ts +7 -6
- package/dist/runtime/components/Textarea.d.vue.ts +9 -8
- package/dist/runtime/components/Textarea.vue.d.ts +9 -8
- package/dist/runtime/components/Timeline.d.vue.ts +7 -6
- package/dist/runtime/components/Timeline.vue.d.ts +7 -6
- package/dist/runtime/components/Toast.d.vue.ts +4 -3
- package/dist/runtime/components/Toast.vue.d.ts +4 -3
- package/dist/runtime/components/Toaster.d.vue.ts +2 -1
- package/dist/runtime/components/Toaster.vue +2 -1
- package/dist/runtime/components/Toaster.vue.d.ts +2 -1
- package/dist/runtime/components/Tooltip.d.vue.ts +2 -1
- package/dist/runtime/components/Tooltip.vue.d.ts +2 -1
- package/dist/runtime/components/Tree.d.vue.ts +7 -6
- package/dist/runtime/components/Tree.vue.d.ts +7 -6
- package/dist/runtime/composables/useKbd.js +1 -1
- package/dist/runtime/composables/usePortal.d.ts +3 -3
- package/dist/runtime/composables/usePortal.js +5 -10
- package/dist/runtime/inertia/components/Link.d.vue.ts +2 -1
- package/dist/runtime/inertia/components/Link.vue +12 -7
- package/dist/runtime/inertia/components/Link.vue.d.ts +2 -1
- package/dist/runtime/inertia/components/LinkBase.d.vue.ts +2 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +2 -1
- package/dist/runtime/vue/components/Icon.d.vue.ts +2 -1
- package/dist/runtime/vue/components/Icon.vue.d.ts +2 -1
- package/dist/runtime/vue/components/Link.d.vue.ts +2 -1
- package/dist/runtime/vue/components/Link.vue.d.ts +2 -1
- package/dist/shared/{ui.DH9BUZkq.mjs → ui.DBpKc5X3.mjs} +88 -60
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +22 -21
|
@@ -1270,69 +1270,97 @@ const drawer = (options) => ({
|
|
|
1270
1270
|
true: {
|
|
1271
1271
|
content: "rounded-lg after:hidden overflow-hidden [--initial-transform:calc(100%+1.5rem)]"
|
|
1272
1272
|
}
|
|
1273
|
+
},
|
|
1274
|
+
snapPoints: {
|
|
1275
|
+
true: ""
|
|
1273
1276
|
}
|
|
1274
1277
|
},
|
|
1275
|
-
compoundVariants: [
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1278
|
+
compoundVariants: [
|
|
1279
|
+
{
|
|
1280
|
+
direction: ["top", "bottom"],
|
|
1281
|
+
class: {
|
|
1282
|
+
content: "h-auto max-h-[96%]",
|
|
1283
|
+
handle: "!w-12 !h-1.5 mx-auto"
|
|
1284
|
+
}
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
direction: ["top", "bottom"],
|
|
1288
|
+
snapPoints: true,
|
|
1289
|
+
class: {
|
|
1290
|
+
content: "h-full"
|
|
1291
|
+
}
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
direction: ["right", "left"],
|
|
1295
|
+
class: {
|
|
1296
|
+
content: "w-auto max-w-[calc(100%-2rem)]",
|
|
1297
|
+
handle: "!h-12 !w-1.5 mt-auto mb-auto"
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
direction: ["right", "left"],
|
|
1302
|
+
snapPoints: true,
|
|
1303
|
+
class: {
|
|
1304
|
+
content: "w-full"
|
|
1305
|
+
}
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
direction: "top",
|
|
1309
|
+
inset: true,
|
|
1310
|
+
class: {
|
|
1311
|
+
content: "inset-x-4 top-4"
|
|
1312
|
+
}
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
direction: "top",
|
|
1316
|
+
inset: false,
|
|
1317
|
+
class: {
|
|
1318
|
+
content: "inset-x-0 top-0 rounded-b-lg"
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
direction: "bottom",
|
|
1323
|
+
inset: true,
|
|
1324
|
+
class: {
|
|
1325
|
+
content: "inset-x-4 bottom-4"
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
direction: "bottom",
|
|
1330
|
+
inset: false,
|
|
1331
|
+
class: {
|
|
1332
|
+
content: "inset-x-0 bottom-0 rounded-t-lg"
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
direction: "left",
|
|
1337
|
+
inset: true,
|
|
1338
|
+
class: {
|
|
1339
|
+
content: "inset-y-4 left-4"
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
direction: "left",
|
|
1344
|
+
inset: false,
|
|
1345
|
+
class: {
|
|
1346
|
+
content: "inset-y-0 left-0 rounded-r-lg"
|
|
1347
|
+
}
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
direction: "right",
|
|
1351
|
+
inset: true,
|
|
1352
|
+
class: {
|
|
1353
|
+
content: "inset-y-4 right-4"
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
direction: "right",
|
|
1358
|
+
inset: false,
|
|
1359
|
+
class: {
|
|
1360
|
+
content: "inset-y-0 right-0 rounded-l-lg"
|
|
1361
|
+
}
|
|
1334
1362
|
}
|
|
1335
|
-
|
|
1363
|
+
]
|
|
1336
1364
|
});
|
|
1337
1365
|
|
|
1338
1366
|
const dropdownMenu = (options) => ({
|
package/dist/unplugin.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
|
|
|
3
3
|
import { createUnplugin } from 'unplugin';
|
|
4
4
|
import { defu } from 'defu';
|
|
5
5
|
import tailwind from '@tailwindcss/vite';
|
|
6
|
-
import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultUiConfig } from './shared/ui.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, r as resolveColors, a as getDefaultUiConfig } from './shared/ui.DBpKc5X3.mjs';
|
|
7
7
|
import { globSync } from 'tinyglobby';
|
|
8
8
|
import { genSafeVariableName } from 'knitwork';
|
|
9
9
|
import MagicString from 'magic-string';
|
package/dist/vite.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/ui",
|
|
3
3
|
"description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
|
|
4
|
-
"version": "3.3.
|
|
5
|
-
"packageManager": "pnpm@10.
|
|
4
|
+
"version": "3.3.7",
|
|
5
|
+
"packageManager": "pnpm@10.18.3",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/nuxt/ui.git"
|
|
@@ -112,18 +112,18 @@
|
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
114
|
"@iconify/vue": "^5.0.0",
|
|
115
|
-
"@internationalized/date": "^3.
|
|
115
|
+
"@internationalized/date": "^3.10.0",
|
|
116
116
|
"@internationalized/number": "^3.6.5",
|
|
117
117
|
"@nuxt/fonts": "^0.11.4",
|
|
118
118
|
"@nuxt/icon": "^1.15.0",
|
|
119
|
-
"@nuxt/kit": "^4.
|
|
120
|
-
"@nuxt/schema": "^4.
|
|
119
|
+
"@nuxt/kit": "^4.1.2",
|
|
120
|
+
"@nuxt/schema": "^4.1.2",
|
|
121
121
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
122
122
|
"@standard-schema/spec": "^1.0.0",
|
|
123
|
-
"@tailwindcss/postcss": "^4.1.
|
|
124
|
-
"@tailwindcss/vite": "^4.1.
|
|
123
|
+
"@tailwindcss/postcss": "^4.1.16",
|
|
124
|
+
"@tailwindcss/vite": "^4.1.16",
|
|
125
125
|
"@tanstack/vue-table": "^8.21.3",
|
|
126
|
-
"@unhead/vue": "^2.0.
|
|
126
|
+
"@unhead/vue": "^2.0.19",
|
|
127
127
|
"@vueuse/core": "^13.9.0",
|
|
128
128
|
"@vueuse/integrations": "^13.9.0",
|
|
129
129
|
"colortranslator": "^5.0.0",
|
|
@@ -143,17 +143,17 @@
|
|
|
143
143
|
"mlly": "^1.8.0",
|
|
144
144
|
"ohash": "^2.0.11",
|
|
145
145
|
"pathe": "^2.0.3",
|
|
146
|
-
"reka-ui": "2.
|
|
146
|
+
"reka-ui": "2.6.0",
|
|
147
147
|
"scule": "^1.3.0",
|
|
148
148
|
"tailwind-merge": "^3.3.1",
|
|
149
149
|
"tailwind-variants": "^3.1.1",
|
|
150
|
-
"tailwindcss": "^4.1.
|
|
150
|
+
"tailwindcss": "^4.1.16",
|
|
151
151
|
"tinyglobby": "^0.2.15",
|
|
152
152
|
"unplugin": "^2.3.10",
|
|
153
|
-
"unplugin-auto-import": "^
|
|
154
|
-
"unplugin-vue-components": "^
|
|
153
|
+
"unplugin-auto-import": "^20.2.0",
|
|
154
|
+
"unplugin-vue-components": "^30.0.0",
|
|
155
155
|
"vaul-vue": "0.4.1",
|
|
156
|
-
"vue-component-type-helpers": "^3.
|
|
156
|
+
"vue-component-type-helpers": "^3.1.1"
|
|
157
157
|
},
|
|
158
158
|
"devDependencies": {
|
|
159
159
|
"@nuxt/eslint-config": "^1.9.0",
|
|
@@ -162,13 +162,13 @@
|
|
|
162
162
|
"@release-it/conventional-changelog": "^10.0.1",
|
|
163
163
|
"@vue/test-utils": "^2.4.6",
|
|
164
164
|
"embla-carousel": "^8.6.0",
|
|
165
|
-
"eslint": "^9.
|
|
166
|
-
"happy-dom": "^
|
|
167
|
-
"nuxt": "^4.
|
|
165
|
+
"eslint": "^9.38.0",
|
|
166
|
+
"happy-dom": "^20.0.7",
|
|
167
|
+
"nuxt": "^4.1.2",
|
|
168
168
|
"release-it": "^19.0.5",
|
|
169
169
|
"vitest": "^3.2.4",
|
|
170
170
|
"vitest-environment-nuxt": "^1.0.1",
|
|
171
|
-
"vue-tsc": "^3.
|
|
171
|
+
"vue-tsc": "^3.1.1"
|
|
172
172
|
},
|
|
173
173
|
"peerDependencies": {
|
|
174
174
|
"@inertiajs/vue3": "^2.0.7",
|
|
@@ -204,14 +204,15 @@
|
|
|
204
204
|
}
|
|
205
205
|
},
|
|
206
206
|
"resolutions": {
|
|
207
|
-
"@nuxt/kit": "4.
|
|
208
|
-
"@nuxt/module-builder": "
|
|
207
|
+
"@nuxt/kit": "^4.1.2",
|
|
208
|
+
"@nuxt/module-builder": "1.0.1",
|
|
209
209
|
"@nuxt/ui": "workspace:*",
|
|
210
|
-
"chokidar": "3.6.0",
|
|
211
210
|
"debug": "4.3.7",
|
|
212
211
|
"typescript": "5.8.3",
|
|
213
212
|
"unimport": "4.1.1",
|
|
214
|
-
"unplugin": "^2.3.10"
|
|
213
|
+
"unplugin": "^2.3.10",
|
|
214
|
+
"unplugin-auto-import": "^20.2.0",
|
|
215
|
+
"unplugin-vue-components": "^30.0.0"
|
|
215
216
|
},
|
|
216
217
|
"keywords": [
|
|
217
218
|
"nuxt-ui",
|