@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.
Files changed (146) hide show
  1. package/.nuxt/ui/drawer.ts +23 -0
  2. package/dist/module.json +3 -3
  3. package/dist/module.mjs +2 -2
  4. package/dist/runtime/components/Accordion.d.vue.ts +6 -5
  5. package/dist/runtime/components/Accordion.vue.d.ts +6 -5
  6. package/dist/runtime/components/Alert.d.vue.ts +2 -1
  7. package/dist/runtime/components/Alert.vue.d.ts +2 -1
  8. package/dist/runtime/components/App.d.vue.ts +5 -4
  9. package/dist/runtime/components/App.vue +1 -1
  10. package/dist/runtime/components/App.vue.d.ts +5 -4
  11. package/dist/runtime/components/Avatar.d.vue.ts +2 -1
  12. package/dist/runtime/components/Avatar.vue.d.ts +2 -1
  13. package/dist/runtime/components/AvatarGroup.d.vue.ts +2 -1
  14. package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -1
  15. package/dist/runtime/components/Badge.d.vue.ts +2 -1
  16. package/dist/runtime/components/Badge.vue.d.ts +2 -1
  17. package/dist/runtime/components/Breadcrumb.d.vue.ts +4 -3
  18. package/dist/runtime/components/Breadcrumb.vue.d.ts +4 -3
  19. package/dist/runtime/components/Button.d.vue.ts +2 -1
  20. package/dist/runtime/components/Button.vue.d.ts +2 -1
  21. package/dist/runtime/components/ButtonGroup.d.vue.ts +2 -1
  22. package/dist/runtime/components/ButtonGroup.vue.d.ts +2 -1
  23. package/dist/runtime/components/Calendar.d.vue.ts +9 -8
  24. package/dist/runtime/components/Calendar.vue.d.ts +9 -8
  25. package/dist/runtime/components/Card.d.vue.ts +2 -1
  26. package/dist/runtime/components/Card.vue.d.ts +2 -1
  27. package/dist/runtime/components/Carousel.d.vue.ts +7 -6
  28. package/dist/runtime/components/Carousel.vue +32 -12
  29. package/dist/runtime/components/Carousel.vue.d.ts +7 -6
  30. package/dist/runtime/components/Checkbox.d.vue.ts +2 -1
  31. package/dist/runtime/components/Checkbox.vue.d.ts +2 -1
  32. package/dist/runtime/components/CheckboxGroup.d.vue.ts +7 -6
  33. package/dist/runtime/components/CheckboxGroup.vue.d.ts +7 -6
  34. package/dist/runtime/components/Chip.d.vue.ts +2 -1
  35. package/dist/runtime/components/Chip.vue.d.ts +2 -1
  36. package/dist/runtime/components/Collapsible.d.vue.ts +2 -1
  37. package/dist/runtime/components/Collapsible.vue.d.ts +2 -1
  38. package/dist/runtime/components/ColorPicker.d.vue.ts +2 -1
  39. package/dist/runtime/components/ColorPicker.vue.d.ts +2 -1
  40. package/dist/runtime/components/CommandPalette.d.vue.ts +13 -12
  41. package/dist/runtime/components/CommandPalette.vue +1 -1
  42. package/dist/runtime/components/CommandPalette.vue.d.ts +13 -12
  43. package/dist/runtime/components/Container.d.vue.ts +2 -1
  44. package/dist/runtime/components/Container.vue.d.ts +2 -1
  45. package/dist/runtime/components/ContextMenu.d.vue.ts +6 -5
  46. package/dist/runtime/components/ContextMenu.vue.d.ts +6 -5
  47. package/dist/runtime/components/ContextMenuContent.d.vue.ts +10 -9
  48. package/dist/runtime/components/ContextMenuContent.vue.d.ts +10 -9
  49. package/dist/runtime/components/Drawer.d.vue.ts +5 -1
  50. package/dist/runtime/components/Drawer.vue +19 -5
  51. package/dist/runtime/components/Drawer.vue.d.ts +5 -1
  52. package/dist/runtime/components/DropdownMenu.d.vue.ts +6 -5
  53. package/dist/runtime/components/DropdownMenu.vue.d.ts +6 -5
  54. package/dist/runtime/components/DropdownMenuContent.d.vue.ts +10 -9
  55. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +10 -9
  56. package/dist/runtime/components/FileUpload.d.vue.ts +9 -8
  57. package/dist/runtime/components/FileUpload.vue +3 -2
  58. package/dist/runtime/components/FileUpload.vue.d.ts +9 -8
  59. package/dist/runtime/components/Form.d.vue.ts +7 -6
  60. package/dist/runtime/components/Form.vue.d.ts +7 -6
  61. package/dist/runtime/components/FormField.d.vue.ts +2 -1
  62. package/dist/runtime/components/FormField.vue.d.ts +2 -1
  63. package/dist/runtime/components/Icon.d.vue.ts +2 -1
  64. package/dist/runtime/components/Icon.vue.d.ts +2 -1
  65. package/dist/runtime/components/Input.d.vue.ts +9 -8
  66. package/dist/runtime/components/Input.vue.d.ts +9 -8
  67. package/dist/runtime/components/InputMenu.d.vue.ts +17 -16
  68. package/dist/runtime/components/InputMenu.vue.d.ts +17 -16
  69. package/dist/runtime/components/InputNumber.d.vue.ts +2 -1
  70. package/dist/runtime/components/InputNumber.vue.d.ts +2 -1
  71. package/dist/runtime/components/InputTags.d.vue.ts +13 -12
  72. package/dist/runtime/components/InputTags.vue.d.ts +13 -12
  73. package/dist/runtime/components/Kbd.d.vue.ts +2 -1
  74. package/dist/runtime/components/Kbd.vue.d.ts +2 -1
  75. package/dist/runtime/components/Link.d.vue.ts +2 -1
  76. package/dist/runtime/components/Link.vue.d.ts +2 -1
  77. package/dist/runtime/components/LinkBase.d.vue.ts +2 -1
  78. package/dist/runtime/components/LinkBase.vue.d.ts +2 -1
  79. package/dist/runtime/components/Modal.d.vue.ts +4 -3
  80. package/dist/runtime/components/Modal.vue.d.ts +4 -3
  81. package/dist/runtime/components/NavigationMenu.d.vue.ts +6 -5
  82. package/dist/runtime/components/NavigationMenu.vue +1 -1
  83. package/dist/runtime/components/NavigationMenu.vue.d.ts +6 -5
  84. package/dist/runtime/components/OverlayProvider.d.vue.ts +2 -1
  85. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -1
  86. package/dist/runtime/components/Pagination.d.vue.ts +2 -1
  87. package/dist/runtime/components/Pagination.vue +4 -4
  88. package/dist/runtime/components/Pagination.vue.d.ts +2 -1
  89. package/dist/runtime/components/PinInput.d.vue.ts +10 -9
  90. package/dist/runtime/components/PinInput.vue.d.ts +10 -9
  91. package/dist/runtime/components/Popover.d.vue.ts +2 -1
  92. package/dist/runtime/components/Popover.vue.d.ts +2 -1
  93. package/dist/runtime/components/Progress.d.vue.ts +2 -1
  94. package/dist/runtime/components/Progress.vue.d.ts +2 -1
  95. package/dist/runtime/components/RadioGroup.d.vue.ts +7 -6
  96. package/dist/runtime/components/RadioGroup.vue.d.ts +7 -6
  97. package/dist/runtime/components/Select.d.vue.ts +11 -10
  98. package/dist/runtime/components/Select.vue.d.ts +11 -10
  99. package/dist/runtime/components/SelectMenu.d.vue.ts +16 -15
  100. package/dist/runtime/components/SelectMenu.vue.d.ts +16 -15
  101. package/dist/runtime/components/Separator.d.vue.ts +2 -1
  102. package/dist/runtime/components/Separator.vue.d.ts +2 -1
  103. package/dist/runtime/components/Skeleton.d.vue.ts +2 -1
  104. package/dist/runtime/components/Skeleton.vue.d.ts +2 -1
  105. package/dist/runtime/components/Slideover.d.vue.ts +4 -3
  106. package/dist/runtime/components/Slideover.vue.d.ts +4 -3
  107. package/dist/runtime/components/Slider.d.vue.ts +8 -7
  108. package/dist/runtime/components/Slider.vue.d.ts +8 -7
  109. package/dist/runtime/components/Stepper.d.vue.ts +10 -9
  110. package/dist/runtime/components/Stepper.vue.d.ts +10 -9
  111. package/dist/runtime/components/Switch.d.vue.ts +2 -1
  112. package/dist/runtime/components/Switch.vue.d.ts +2 -1
  113. package/dist/runtime/components/Table.d.vue.ts +20 -19
  114. package/dist/runtime/components/Table.vue +19 -1
  115. package/dist/runtime/components/Table.vue.d.ts +20 -19
  116. package/dist/runtime/components/Tabs.d.vue.ts +7 -6
  117. package/dist/runtime/components/Tabs.vue.d.ts +7 -6
  118. package/dist/runtime/components/Textarea.d.vue.ts +9 -8
  119. package/dist/runtime/components/Textarea.vue.d.ts +9 -8
  120. package/dist/runtime/components/Timeline.d.vue.ts +7 -6
  121. package/dist/runtime/components/Timeline.vue.d.ts +7 -6
  122. package/dist/runtime/components/Toast.d.vue.ts +4 -3
  123. package/dist/runtime/components/Toast.vue.d.ts +4 -3
  124. package/dist/runtime/components/Toaster.d.vue.ts +2 -1
  125. package/dist/runtime/components/Toaster.vue +2 -1
  126. package/dist/runtime/components/Toaster.vue.d.ts +2 -1
  127. package/dist/runtime/components/Tooltip.d.vue.ts +2 -1
  128. package/dist/runtime/components/Tooltip.vue.d.ts +2 -1
  129. package/dist/runtime/components/Tree.d.vue.ts +7 -6
  130. package/dist/runtime/components/Tree.vue.d.ts +7 -6
  131. package/dist/runtime/composables/useKbd.js +1 -1
  132. package/dist/runtime/composables/usePortal.d.ts +3 -3
  133. package/dist/runtime/composables/usePortal.js +5 -10
  134. package/dist/runtime/inertia/components/Link.d.vue.ts +2 -1
  135. package/dist/runtime/inertia/components/Link.vue +12 -7
  136. package/dist/runtime/inertia/components/Link.vue.d.ts +2 -1
  137. package/dist/runtime/inertia/components/LinkBase.d.vue.ts +2 -1
  138. package/dist/runtime/inertia/components/LinkBase.vue.d.ts +2 -1
  139. package/dist/runtime/vue/components/Icon.d.vue.ts +2 -1
  140. package/dist/runtime/vue/components/Icon.vue.d.ts +2 -1
  141. package/dist/runtime/vue/components/Link.d.vue.ts +2 -1
  142. package/dist/runtime/vue/components/Link.vue.d.ts +2 -1
  143. package/dist/shared/{ui.DH9BUZkq.mjs → ui.DBpKc5X3.mjs} +88 -60
  144. package/dist/unplugin.mjs +1 -1
  145. package/dist/vite.mjs +1 -1
  146. 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
- direction: ["top", "bottom"],
1277
- class: {
1278
- content: "h-auto max-h-[96%]",
1279
- handle: "!w-12 !h-1.5 mx-auto"
1280
- }
1281
- }, {
1282
- direction: ["right", "left"],
1283
- class: {
1284
- content: "w-auto max-w-[calc(100%-2rem)]",
1285
- handle: "!h-12 !w-1.5 mt-auto mb-auto"
1286
- }
1287
- }, {
1288
- direction: "top",
1289
- inset: true,
1290
- class: {
1291
- content: "inset-x-4 top-4"
1292
- }
1293
- }, {
1294
- direction: "top",
1295
- inset: false,
1296
- class: {
1297
- content: "inset-x-0 top-0 rounded-b-lg"
1298
- }
1299
- }, {
1300
- direction: "bottom",
1301
- inset: true,
1302
- class: {
1303
- content: "inset-x-4 bottom-4"
1304
- }
1305
- }, {
1306
- direction: "bottom",
1307
- inset: false,
1308
- class: {
1309
- content: "inset-x-0 bottom-0 rounded-t-lg"
1310
- }
1311
- }, {
1312
- direction: "left",
1313
- inset: true,
1314
- class: {
1315
- content: "inset-y-4 left-4"
1316
- }
1317
- }, {
1318
- direction: "left",
1319
- inset: false,
1320
- class: {
1321
- content: "inset-y-0 left-0 rounded-r-lg"
1322
- }
1323
- }, {
1324
- direction: "right",
1325
- inset: true,
1326
- class: {
1327
- content: "inset-y-4 right-4"
1328
- }
1329
- }, {
1330
- direction: "right",
1331
- inset: false,
1332
- class: {
1333
- content: "inset-y-0 right-0 rounded-l-lg"
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.DH9BUZkq.mjs';
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
@@ -4,7 +4,7 @@ import 'pathe';
4
4
  import 'unplugin';
5
5
  import 'defu';
6
6
  import '@tailwindcss/vite';
7
- import './shared/ui.DH9BUZkq.mjs';
7
+ import './shared/ui.DBpKc5X3.mjs';
8
8
  import '../dist/runtime/utils/index.js';
9
9
  import 'scule';
10
10
  import '@nuxt/kit';
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",
5
- "packageManager": "pnpm@10.17.0",
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.9.0",
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.0.3",
120
- "@nuxt/schema": "^4.0.3",
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.13",
124
- "@tailwindcss/vite": "^4.1.13",
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.17",
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.5.0",
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.13",
150
+ "tailwindcss": "^4.1.16",
151
151
  "tinyglobby": "^0.2.15",
152
152
  "unplugin": "^2.3.10",
153
- "unplugin-auto-import": "^19.3.0",
154
- "unplugin-vue-components": "^28.8.0",
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.0.7"
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.36.0",
166
- "happy-dom": "^18.0.1",
167
- "nuxt": "^4.0.3",
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.0.7"
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.0.3",
208
- "@nuxt/module-builder": "^1.0.2",
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",