@nuxt/ui 2.15.1 → 2.16.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.
Files changed (81) hide show
  1. package/README.md +1 -18
  2. package/dist/module.d.mts +4 -24
  3. package/dist/module.d.ts +4 -24
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +108 -329
  6. package/dist/runtime/components/data/Table.vue +35 -4
  7. package/dist/runtime/components/data/Table.vue.d.ts +25 -35
  8. package/dist/runtime/components/elements/Accordion.vue +25 -7
  9. package/dist/runtime/components/elements/Accordion.vue.d.ts +10 -1
  10. package/dist/runtime/components/elements/Alert.vue.d.ts +6 -6
  11. package/dist/runtime/components/elements/Avatar.vue.d.ts +10 -10
  12. package/dist/runtime/components/elements/Badge.vue.d.ts +5 -5
  13. package/dist/runtime/components/elements/Button.vue.d.ts +9 -9
  14. package/dist/runtime/components/elements/Carousel.vue +10 -4
  15. package/dist/runtime/components/elements/Carousel.vue.d.ts +3 -3
  16. package/dist/runtime/components/elements/Chip.vue.d.ts +8 -8
  17. package/dist/runtime/components/elements/Dropdown.vue +2 -2
  18. package/dist/runtime/components/elements/Dropdown.vue.d.ts +2 -2
  19. package/dist/runtime/components/elements/Kbd.vue.d.ts +2 -2
  20. package/dist/runtime/components/elements/Link.vue.d.ts +3 -3
  21. package/dist/runtime/components/elements/Meter.vue.d.ts +5 -5
  22. package/dist/runtime/components/elements/Progress.vue.d.ts +3 -3
  23. package/dist/runtime/components/forms/Checkbox.vue.d.ts +10 -10
  24. package/dist/runtime/components/forms/Form.vue.d.ts +2 -2
  25. package/dist/runtime/components/forms/FormGroup.vue.d.ts +7 -7
  26. package/dist/runtime/components/forms/Input.vue +1 -1
  27. package/dist/runtime/components/forms/Input.vue.d.ts +14 -14
  28. package/dist/runtime/components/forms/InputMenu.vue +6 -0
  29. package/dist/runtime/components/forms/InputMenu.vue.d.ts +30 -21
  30. package/dist/runtime/components/forms/Radio.vue.d.ts +11 -11
  31. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +8 -8
  32. package/dist/runtime/components/forms/Range.vue.d.ts +8 -8
  33. package/dist/runtime/components/forms/Select.vue.d.ts +13 -13
  34. package/dist/runtime/components/forms/SelectMenu.vue +6 -0
  35. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +30 -21
  36. package/dist/runtime/components/forms/Textarea.vue.d.ts +12 -12
  37. package/dist/runtime/components/forms/Toggle.vue.d.ts +7 -7
  38. package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
  39. package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
  40. package/dist/runtime/components/layout/Divider.vue.d.ts +5 -5
  41. package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
  42. package/dist/runtime/components/navigation/Breadcrumb.vue +1 -0
  43. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +1 -1
  44. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +10 -10
  45. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +1 -1
  46. package/dist/runtime/components/navigation/Pagination.vue +5 -0
  47. package/dist/runtime/components/navigation/Pagination.vue.d.ts +10 -1
  48. package/dist/runtime/components/navigation/Tabs.vue.d.ts +2 -2
  49. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1 -1
  50. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +3 -3
  51. package/dist/runtime/components/overlays/Modal.vue +6 -2
  52. package/dist/runtime/components/overlays/Modal.vue.d.ts +7 -5
  53. package/dist/runtime/components/overlays/Modals.client.vue +8 -2
  54. package/dist/runtime/components/overlays/Notification.vue +8 -3
  55. package/dist/runtime/components/overlays/Notification.vue.d.ts +8 -8
  56. package/dist/runtime/components/overlays/Notifications.vue.d.ts +3 -1
  57. package/dist/runtime/components/overlays/Popover.vue +2 -2
  58. package/dist/runtime/components/overlays/Popover.vue.d.ts +3 -3
  59. package/dist/runtime/components/overlays/Slideover.vue +6 -2
  60. package/dist/runtime/components/overlays/Slideover.vue.d.ts +10 -8
  61. package/dist/runtime/components/overlays/Slideovers.client.vue +2 -1
  62. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +2 -2
  63. package/dist/runtime/composables/useFormGroup.d.ts +1 -1
  64. package/dist/runtime/composables/useModal.d.ts +3 -2
  65. package/dist/runtime/composables/useModal.mjs +13 -3
  66. package/dist/runtime/composables/usePopper.d.ts +8 -8
  67. package/dist/runtime/composables/useSlideover.d.ts +2 -1
  68. package/dist/runtime/composables/useSlideover.mjs +8 -1
  69. package/dist/runtime/composables/useToast.d.ts +2 -0
  70. package/dist/runtime/composables/useToast.mjs +13 -1
  71. package/dist/runtime/types/slideover.d.ts +11 -12
  72. package/dist/runtime/ui.config/data/table.d.ts +4 -0
  73. package/dist/runtime/ui.config/data/table.mjs +4 -0
  74. package/dist/runtime/ui.config/forms/input.d.ts +0 -8
  75. package/dist/runtime/ui.config/forms/input.mjs +1 -9
  76. package/dist/runtime/ui.config/forms/select.d.ts +0 -8
  77. package/dist/runtime/ui.config/forms/textarea.d.ts +0 -8
  78. package/dist/runtime/ui.config/navigation/breadcrumb.mjs +1 -1
  79. package/dist/runtime/utils/colors.d.ts +11 -0
  80. package/dist/runtime/utils/colors.mjs +299 -0
  81. package/package.json +22 -25
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/ui",
3
- "version": "2.15.1",
3
+ "version": "2.16.0",
4
4
  "repository": "nuxt/ui",
5
5
  "homepage": "https://ui.nuxt.com",
6
6
  "type": "module",
@@ -33,18 +33,18 @@
33
33
  "test": "vitest"
34
34
  },
35
35
  "dependencies": {
36
- "@egoist/tailwindcss-icons": "^1.7.4",
36
+ "@egoist/tailwindcss-icons": "^1.8.0",
37
37
  "@headlessui/tailwindcss": "^0.2.0",
38
- "@headlessui/vue": "^1.7.19",
39
- "@iconify-json/heroicons": "^1.1.20",
40
- "@nuxt/kit": "^3.11.1",
41
- "@nuxtjs/color-mode": "^3.3.3",
42
- "@nuxtjs/tailwindcss": "^6.11.4",
38
+ "@headlessui/vue": "^1.7.21",
39
+ "@iconify-json/heroicons": "^1.1.21",
40
+ "@nuxt/kit": "^3.11.2",
41
+ "@nuxtjs/color-mode": "^3.4.1",
42
+ "@nuxtjs/tailwindcss": "^6.12.0",
43
43
  "@popperjs/core": "^2.11.8",
44
44
  "@tailwindcss/aspect-ratio": "^0.4.2",
45
45
  "@tailwindcss/container-queries": "^0.1.1",
46
46
  "@tailwindcss/forms": "^0.5.7",
47
- "@tailwindcss/typography": "^0.5.12",
47
+ "@tailwindcss/typography": "^0.5.13",
48
48
  "@vueuse/core": "^10.9.0",
49
49
  "@vueuse/integrations": "^10.9.0",
50
50
  "@vueuse/math": "^10.9.0",
@@ -54,34 +54,31 @@
54
54
  "ohash": "^1.1.3",
55
55
  "pathe": "^1.1.2",
56
56
  "scule": "^1.3.0",
57
- "tailwind-merge": "^2.2.2",
57
+ "tailwind-merge": "^2.3.0",
58
58
  "tailwindcss": "^3.4.3"
59
59
  },
60
60
  "devDependencies": {
61
- "@nuxt/eslint-config": "^0.2.0",
61
+ "@nuxt/eslint-config": "^0.3.10",
62
62
  "@nuxt/module-builder": "^0.5.5",
63
- "@nuxt/test-utils": "^3.12.0",
63
+ "@nuxt/test-utils": "^3.12.1",
64
64
  "@release-it/conventional-changelog": "^8.0.1",
65
- "@vue/test-utils": "^2.4.5",
65
+ "@vue/test-utils": "^2.4.6",
66
66
  "eslint": "^8.57.0",
67
- "happy-dom": "^14.3.10",
68
- "joi": "^17.12.2",
69
- "nuxt": "^3.11.1",
70
- "release-it": "^17.1.1",
71
- "typescript": "^5.4.3",
67
+ "happy-dom": "^14.10.1",
68
+ "joi": "^17.13.1",
69
+ "nuxt": "^3.11.2",
70
+ "release-it": "^17.2.1",
71
+ "typescript": "^5.4.5",
72
72
  "unbuild": "^2.0.0",
73
73
  "valibot": "^0.30.0",
74
- "vitest": "^1.4.0",
74
+ "vitest": "^1.6.0",
75
75
  "vitest-environment-nuxt": "^1.0.0",
76
- "vue-tsc": "^2.0.7",
76
+ "vue-tsc": "^2.0.16",
77
77
  "yup": "^1.4.0",
78
- "zod": "^3.22.4"
78
+ "zod": "^3.23.6"
79
79
  },
80
80
  "resolutions": {
81
- "@nuxt/kit": "^3.11.1",
82
- "@nuxt/schema": "3.11.1",
83
- "tailwindcss": "^3.4.3",
84
- "@headlessui/vue": "1.7.19",
85
- "vue": "3.4.21"
81
+ "@nuxt/ui": "workspace:*",
82
+ "@nuxt/module-builder": "0.5.5"
86
83
  }
87
84
  }