@nuxt/ui 2.11.1 → 2.12.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.
Files changed (74) hide show
  1. package/dist/module.d.mts +100 -28
  2. package/dist/module.d.ts +100 -28
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +2 -2
  5. package/dist/runtime/components/data/Table.vue +26 -18
  6. package/dist/runtime/components/data/Table.vue.d.ts +21 -12
  7. package/dist/runtime/components/elements/Accordion.vue +8 -4
  8. package/dist/runtime/components/elements/Accordion.vue.d.ts +4 -4
  9. package/dist/runtime/components/elements/Alert.vue +8 -2
  10. package/dist/runtime/components/elements/Alert.vue.d.ts +5 -10
  11. package/dist/runtime/components/elements/Button.vue +6 -3
  12. package/dist/runtime/components/elements/Button.vue.d.ts +119 -1
  13. package/dist/runtime/components/elements/Chip.vue.d.ts +2 -2
  14. package/dist/runtime/components/elements/Dropdown.vue +66 -17
  15. package/dist/runtime/components/elements/Dropdown.vue.d.ts +31 -4
  16. package/dist/runtime/components/elements/Link.vue +9 -4
  17. package/dist/runtime/components/elements/Link.vue.d.ts +194 -4
  18. package/dist/runtime/components/forms/Form.vue +16 -7
  19. package/dist/runtime/components/forms/Form.vue.d.ts +1 -1
  20. package/dist/runtime/components/forms/Input.vue +1 -1
  21. package/dist/runtime/components/forms/Input.vue.d.ts +1 -1
  22. package/dist/runtime/components/forms/InputMenu.vue +419 -0
  23. package/dist/runtime/components/forms/InputMenu.vue.d.ts +332 -0
  24. package/dist/runtime/components/forms/RadioGroup.vue +1 -1
  25. package/dist/runtime/components/forms/Select.vue +1 -1
  26. package/dist/runtime/components/forms/Select.vue.d.ts +1 -1
  27. package/dist/runtime/components/forms/SelectMenu.vue +70 -21
  28. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +31 -10
  29. package/dist/runtime/components/forms/Toggle.vue +1 -1
  30. package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -1
  31. package/dist/runtime/components/layout/Divider.vue +4 -5
  32. package/dist/runtime/components/navigation/Breadcrumb.vue +8 -5
  33. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +4 -2
  34. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +3 -3
  35. package/dist/runtime/components/navigation/Pagination.vue +9 -4
  36. package/dist/runtime/components/navigation/Pagination.vue.d.ts +9 -0
  37. package/dist/runtime/components/navigation/VerticalNavigation.vue +53 -38
  38. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +8 -5
  39. package/dist/runtime/components/overlays/Modal.vue.d.ts +1 -1
  40. package/dist/runtime/components/overlays/Popover.vue +49 -13
  41. package/dist/runtime/components/overlays/Popover.vue.d.ts +14 -4
  42. package/dist/runtime/components/overlays/Slideover.vue.d.ts +1 -1
  43. package/dist/runtime/components/overlays/Tooltip.vue +1 -1
  44. package/dist/runtime/composables/useShortcuts.mjs +3 -1
  45. package/dist/runtime/types/alert.d.ts +5 -0
  46. package/dist/runtime/types/breadcrumb.d.ts +1 -0
  47. package/dist/runtime/types/chip.d.ts +4 -0
  48. package/dist/runtime/types/dropdown.d.ts +2 -0
  49. package/dist/runtime/types/form.d.ts +1 -0
  50. package/dist/runtime/types/index.d.ts +1 -0
  51. package/dist/runtime/types/link.d.ts +3 -0
  52. package/dist/runtime/types/tooltip.d.ts +7 -0
  53. package/dist/runtime/types/vertical-navigation.d.ts +1 -0
  54. package/dist/runtime/ui.config/forms/input.mjs +12 -12
  55. package/dist/runtime/ui.config/forms/inputMenu.d.ts +64 -0
  56. package/dist/runtime/ui.config/forms/inputMenu.mjs +62 -0
  57. package/dist/runtime/ui.config/forms/selectMenu.d.ts +14 -12
  58. package/dist/runtime/ui.config/forms/selectMenu.mjs +7 -41
  59. package/dist/runtime/ui.config/index.d.ts +1 -0
  60. package/dist/runtime/ui.config/index.mjs +1 -0
  61. package/dist/runtime/ui.config/layout/card.mjs +1 -1
  62. package/dist/runtime/ui.config/navigation/breadcrumb.d.ts +1 -0
  63. package/dist/runtime/ui.config/navigation/breadcrumb.mjs +1 -0
  64. package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +5 -0
  65. package/dist/runtime/ui.config/navigation/verticalNavigation.mjs +5 -0
  66. package/dist/runtime/ui.config/popper.mjs +2 -1
  67. package/dist/runtime/utils/index.d.ts +1 -0
  68. package/dist/runtime/utils/index.mjs +12 -3
  69. package/dist/runtime/utils/link.d.ts +58 -0
  70. package/dist/runtime/utils/link.mjs +111 -0
  71. package/dist/runtime/utils/uid.mjs +2 -1
  72. package/dist/types.d.mts +2 -2
  73. package/dist/types.d.ts +1 -1
  74. package/package.json +31 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/ui",
3
- "version": "2.11.1",
3
+ "version": "2.12.1",
4
4
  "repository": "nuxt/ui",
5
5
  "homepage": "https://ui.nuxt.com",
6
6
  "license": "MIT",
@@ -32,51 +32,54 @@
32
32
  "test": "vitest"
33
33
  },
34
34
  "dependencies": {
35
- "@egoist/tailwindcss-icons": "^1.4.0",
35
+ "@egoist/tailwindcss-icons": "^1.7.2",
36
36
  "@headlessui/tailwindcss": "^0.2.0",
37
- "@headlessui/vue": "^1.7.16",
38
- "@iconify-json/heroicons": "^1.1.15",
39
- "@nuxt/kit": "^3.8.2",
37
+ "@headlessui/vue": "1.7.16",
38
+ "@iconify-json/heroicons": "^1.1.19",
39
+ "@nuxt/kit": "^3.9.3",
40
40
  "@nuxtjs/color-mode": "^3.3.2",
41
- "@nuxtjs/tailwindcss": "^6.10.1",
41
+ "@nuxtjs/tailwindcss": "^6.10.4",
42
42
  "@popperjs/core": "^2.11.8",
43
43
  "@tailwindcss/aspect-ratio": "^0.4.2",
44
44
  "@tailwindcss/container-queries": "^0.1.1",
45
45
  "@tailwindcss/forms": "^0.5.7",
46
46
  "@tailwindcss/typography": "^0.5.10",
47
- "@vueuse/core": "^10.7.0",
48
- "@vueuse/integrations": "^10.7.0",
49
- "@vueuse/math": "^10.7.0",
50
- "defu": "^6.1.3",
47
+ "@vueuse/core": "^10.7.2",
48
+ "@vueuse/integrations": "^10.7.2",
49
+ "@vueuse/math": "^10.7.2",
50
+ "defu": "^6.1.4",
51
51
  "fuse.js": "^6.6.2",
52
- "nuxt-icon": "^0.6.7",
52
+ "nuxt-icon": "^0.6.8",
53
53
  "ohash": "^1.1.3",
54
- "pathe": "^1.1.1",
55
- "scule": "^1.1.1",
56
- "tailwind-merge": "^1.14.0",
57
- "tailwindcss": "^3.3.6"
54
+ "pathe": "^1.1.2",
55
+ "scule": "^1.2.0",
56
+ "tailwind-merge": "^2.2.0",
57
+ "tailwindcss": "^3.4.1"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@nuxt/eslint-config": "^0.2.0",
61
- "@nuxt/module-builder": "^0.5.4",
61
+ "@nuxt/module-builder": "^0.5.5",
62
+ "@nuxt/test-utils": "^3.10.0",
62
63
  "@release-it/conventional-changelog": "^8.0.1",
63
- "eslint": "^8.55.0",
64
+ "@vue/test-utils": "^2.4.3",
65
+ "eslint": "^8.56.0",
64
66
  "happy-dom": "^12.10.3",
65
- "joi": "^17.11.0",
66
- "nuxt": "^3.8.2",
67
- "nuxt-vitest": "^0.11.5",
68
- "release-it": "^17.0.0",
67
+ "joi": "^17.11.1",
68
+ "nuxt": "^3.9.3",
69
+ "release-it": "^17.0.1",
69
70
  "typescript": "^5.3.3",
70
71
  "unbuild": "^2.0.0",
71
- "valibot": "^0.21.0",
72
- "vitest": "^0.33.0",
73
- "vue-tsc": "^1.8.25",
74
- "yup": "^1.3.2",
72
+ "valibot": "^0.25.0",
73
+ "vitest": "^1.2.1",
74
+ "vitest-environment-nuxt": "^1.0.0",
75
+ "vue-tsc": "^1.8.27",
76
+ "yup": "^1.3.3",
75
77
  "zod": "^3.22.4"
76
78
  },
77
79
  "resolutions": {
78
- "@nuxt/kit": "3.8.2",
79
- "@nuxt/schema": "3.8.2",
80
- "vue": "3.3.8"
80
+ "@nuxt/kit": "3.9.3",
81
+ "@nuxt/schema": "3.9.3",
82
+ "tailwindcss": "3.4.1",
83
+ "vue": "3.3.13"
81
84
  }
82
85
  }