@nuxt/ui 2.22.1 → 2.22.2

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 (48) hide show
  1. package/dist/module.json +2 -2
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/data/Table.vue.d.ts +7 -7
  4. package/dist/runtime/components/elements/Accordion.vue.d.ts +4 -4
  5. package/dist/runtime/components/elements/Alert.vue.d.ts +6 -6
  6. package/dist/runtime/components/elements/Avatar.vue.d.ts +2 -2
  7. package/dist/runtime/components/elements/Badge.vue.d.ts +2 -2
  8. package/dist/runtime/components/elements/Button.vue.d.ts +3 -3
  9. package/dist/runtime/components/elements/Carousel.vue.d.ts +4 -4
  10. package/dist/runtime/components/elements/Chip.vue.d.ts +1 -1
  11. package/dist/runtime/components/elements/Dropdown.vue.d.ts +4 -4
  12. package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
  13. package/dist/runtime/components/elements/Meter.vue.d.ts +2 -2
  14. package/dist/runtime/components/elements/Progress.vue.d.ts +1 -1
  15. package/dist/runtime/components/forms/Checkbox.vue.d.ts +2 -2
  16. package/dist/runtime/components/forms/Form.vue.d.ts +1 -1
  17. package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
  18. package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
  19. package/dist/runtime/components/forms/InputMenu.vue +4 -1
  20. package/dist/runtime/components/forms/InputMenu.vue.d.ts +5 -5
  21. package/dist/runtime/components/forms/Radio.vue.d.ts +2 -2
  22. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +4 -4
  23. package/dist/runtime/components/forms/Range.vue.d.ts +1 -1
  24. package/dist/runtime/components/forms/Select.vue.d.ts +2 -2
  25. package/dist/runtime/components/forms/SelectMenu.vue +4 -1
  26. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +5 -5
  27. package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
  28. package/dist/runtime/components/forms/Toggle.vue.d.ts +1 -1
  29. package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
  30. package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
  31. package/dist/runtime/components/layout/Divider.vue.d.ts +4 -4
  32. package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
  33. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +1 -1
  34. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +8 -8
  35. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +3 -3
  36. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +5 -5
  37. package/dist/runtime/components/navigation/Pagination.vue.d.ts +4 -4
  38. package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
  39. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +9 -9
  40. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
  41. package/dist/runtime/components/overlays/Modal.vue.d.ts +2 -2
  42. package/dist/runtime/components/overlays/Notification.vue.d.ts +6 -6
  43. package/dist/runtime/components/overlays/Notifications.vue.d.ts +7 -7
  44. package/dist/runtime/components/overlays/Popover.vue.d.ts +1 -1
  45. package/dist/runtime/components/overlays/Slideover.vue.d.ts +2 -2
  46. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +2 -2
  47. package/dist/runtime/ui.config/elements/meter.js +2 -2
  48. package/package.json +19 -17
@@ -161,6 +161,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
161
161
  "onClose-prevented"?: (...args: any[]) => any;
162
162
  "onAfter-leave"?: (...args: any[]) => any;
163
163
  }>, {
164
+ class: any;
165
+ transition: boolean;
164
166
  ui: {
165
167
  wrapper?: string;
166
168
  inner?: string;
@@ -200,12 +202,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
200
202
  } & {
201
203
  strategy?: Strategy;
202
204
  };
203
- transition: boolean;
204
205
  appear: boolean;
205
206
  overlay: boolean;
206
207
  preventClose: boolean;
207
208
  fullscreen: boolean;
208
- class: any;
209
209
  modelValue: boolean;
210
210
  }, {}, {
211
211
  HDialog: import("vue").DefineComponent<{
@@ -230,6 +230,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
230
230
  }>> & Readonly<{
231
231
  onClose?: (...args: any[]) => any;
232
232
  }>, {
233
+ class: any;
233
234
  ui: {
234
235
  wrapper?: string;
235
236
  container?: string;
@@ -293,7 +294,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
293
294
  timeout: number;
294
295
  actions: NotificationAction[];
295
296
  callback: Function;
296
- class: any;
297
297
  pauseTimeoutOnHover: boolean;
298
298
  }, {}, {
299
299
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -638,6 +638,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
638
638
  };
639
639
  }>> & Readonly<{}>, {
640
640
  size: import("../../types/avatar.js").AvatarSize;
641
+ class: any;
641
642
  ui: {
642
643
  wrapper?: string;
643
644
  background?: string;
@@ -702,10 +703,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
702
703
  strategy?: Strategy;
703
704
  };
704
705
  as: string | Record<string, any>;
706
+ text: string;
705
707
  alt: string;
706
708
  icon: string;
707
- class: any;
708
- text: string;
709
709
  src: string | boolean;
710
710
  chipColor: import("../../types/avatar.js").AvatarChipColor;
711
711
  chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
@@ -1306,6 +1306,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1306
1306
  }>> & Readonly<{}>, {
1307
1307
  type: string;
1308
1308
  size: import("../../types/button.js").ButtonSize;
1309
+ class: any;
1310
+ target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1309
1311
  ui: {
1310
1312
  base?: string;
1311
1313
  font?: string;
@@ -1393,7 +1395,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1393
1395
  color: import("../../types/button.js").ButtonColor;
1394
1396
  variant: import("../../types/button.js").ButtonVariant;
1395
1397
  truncate: boolean;
1396
- target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1397
1398
  to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1398
1399
  activeClass: string;
1399
1400
  exactActiveClass: string;
@@ -1408,11 +1409,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1408
1409
  disabled: boolean;
1409
1410
  href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1410
1411
  rel: any;
1412
+ label: string;
1411
1413
  icon: string;
1412
- class: any;
1413
1414
  block: boolean;
1414
1415
  square: boolean;
1415
- label: string;
1416
1416
  loading: boolean;
1417
1417
  padded: boolean;
1418
1418
  loadingIcon: string;
@@ -60,6 +60,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
60
60
  default: () => {};
61
61
  };
62
62
  }>> & Readonly<{}>, {
63
+ class: any;
63
64
  ui: {
64
65
  wrapper?: string;
65
66
  position?: string;
@@ -70,7 +71,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
70
71
  } & {
71
72
  strategy?: Strategy;
72
73
  };
73
- class: any;
74
74
  }, {}, {
75
75
  UNotification: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
76
76
  id: {
@@ -350,6 +350,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
350
350
  }>> & Readonly<{
351
351
  onClose?: (...args: any[]) => any;
352
352
  }>, {
353
+ class: any;
353
354
  ui: {
354
355
  wrapper?: string;
355
356
  container?: string;
@@ -413,7 +414,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
413
414
  timeout: number;
414
415
  actions: import("../../types/notification.js").NotificationAction[];
415
416
  callback: Function;
416
- class: any;
417
417
  pauseTimeoutOnHover: boolean;
418
418
  }, {}, {
419
419
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -758,6 +758,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
758
758
  };
759
759
  }>> & Readonly<{}>, {
760
760
  size: import("../../types/avatar.js").AvatarSize;
761
+ class: any;
761
762
  ui: {
762
763
  wrapper?: string;
763
764
  background?: string;
@@ -822,10 +823,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
822
823
  strategy?: Strategy;
823
824
  };
824
825
  as: string | Record<string, any>;
826
+ text: string;
825
827
  alt: string;
826
828
  icon: string;
827
- class: any;
828
- text: string;
829
829
  src: string | boolean;
830
830
  chipColor: import("../../types/avatar.js").AvatarChipColor;
831
831
  chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
@@ -1426,6 +1426,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1426
1426
  }>> & Readonly<{}>, {
1427
1427
  type: string;
1428
1428
  size: import("../../types/button.js").ButtonSize;
1429
+ class: any;
1430
+ target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1429
1431
  ui: {
1430
1432
  base?: string;
1431
1433
  font?: string;
@@ -1513,7 +1515,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1513
1515
  color: import("../../types/button.js").ButtonColor;
1514
1516
  variant: import("../../types/button.js").ButtonVariant;
1515
1517
  truncate: boolean;
1516
- target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1517
1518
  to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1518
1519
  activeClass: string;
1519
1520
  exactActiveClass: string;
@@ -1528,11 +1529,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1528
1529
  disabled: boolean;
1529
1530
  href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1530
1531
  rel: any;
1532
+ label: string;
1531
1533
  icon: string;
1532
- class: any;
1533
1534
  block: boolean;
1534
1535
  square: boolean;
1535
- label: string;
1536
1536
  loading: boolean;
1537
1537
  padded: boolean;
1538
1538
  loadingIcon: string;
@@ -208,6 +208,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
208
208
  "onUpdate:open"?: (...args: any[]) => any;
209
209
  }>, {
210
210
  mode: "click" | "hover";
211
+ class: any;
211
212
  ui: {
212
213
  wrapper?: string;
213
214
  container?: string;
@@ -261,7 +262,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
261
262
  popper: PopperOptions;
262
263
  disabled: boolean;
263
264
  overlay: boolean;
264
- class: any;
265
265
  open: boolean;
266
266
  openDelay: number;
267
267
  closeDelay: number;
@@ -162,6 +162,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
162
162
  "onClose-prevented"?: (...args: any[]) => any;
163
163
  "onAfter-leave"?: (...args: any[]) => any;
164
164
  }>, {
165
+ class: any;
166
+ transition: boolean;
165
167
  ui: {
166
168
  wrapper?: string;
167
169
  overlay?: DeepPartial<{
@@ -200,11 +202,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
200
202
  } & {
201
203
  strategy?: Strategy;
202
204
  };
203
- transition: boolean;
204
205
  appear: boolean;
205
206
  overlay: boolean;
206
207
  preventClose: boolean;
207
- class: any;
208
208
  side: "bottom" | "left" | "right" | "top";
209
209
  modelValue: boolean;
210
210
  }, {}, {
@@ -154,6 +154,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
154
154
  default: () => {};
155
155
  };
156
156
  }>> & Readonly<{}>, {
157
+ class: any;
157
158
  ui: {
158
159
  wrapper?: string;
159
160
  container?: string;
@@ -195,7 +196,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
195
196
  strategy?: Strategy;
196
197
  };
197
198
  popper: PopperOptions;
198
- class: any;
199
199
  text: string;
200
200
  openDelay: number;
201
201
  closeDelay: number;
@@ -295,6 +295,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
295
295
  };
296
296
  }>> & Readonly<{}>, {
297
297
  size: import("../../types/kbd.js").KbdSize;
298
+ class: any;
298
299
  ui: {
299
300
  base?: string;
300
301
  padding?: string;
@@ -315,7 +316,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
315
316
  } & {
316
317
  strategy?: Strategy;
317
318
  };
318
- class: any;
319
319
  value: string;
320
320
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
321
321
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -30,8 +30,8 @@ export default {
30
30
  "2xl": "h-5"
31
31
  },
32
32
  appearance: {
33
- inner: "[&::-webkit-meter-inner-element]:block [&::-webkit-meter-inner-element]:relative [&::-webkit-meter-inner-element]:border-none [&::-webkit-meter-inner-element]:bg-none [&::-webkit-meter-inner-element]:bg-transparent",
34
- meter: "[&::-webkit-meter-bar]:border-none [&::-webkit-meter-bar]:bg-none [&::-webkit-meter-bar]:bg-transparent",
33
+ inner: "[&::-webkit-meter-inner-element]:block [&::-webkit-meter-inner-element]:relative [&::-webkit-meter-inner-element]:border-none [&::-webkit-meter-inner-element]:bg-none [&::-webkit-meter-inner-element]:bg-transparent [&::-webkit-meter-inner-element]:h-full [&::-webkit-meter-inner-element]:flex [&::-webkit-meter-inner-element]:items-center",
34
+ meter: "[&::-webkit-meter-bar]:border-none [&::-webkit-meter-bar]:bg-none [&::-webkit-meter-bar]:bg-transparent [&::-webkit-meter-bar]:h-full",
35
35
  bar: "[&::-webkit-meter-optimum-value]:border-none [&::-webkit-meter-optimum-value]:bg-none [&::-webkit-meter-optimum-value]:bg-current",
36
36
  value: "[&::-moz-meter-bar]:border-none [&::-moz-meter-bar]:bg-none [&::-moz-meter-bar]:bg-current"
37
37
  },
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": "2.22.1",
5
- "packageManager": "pnpm@10.13.1",
4
+ "version": "2.22.2",
5
+ "packageManager": "pnpm@10.15.0",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/nuxt/ui.git"
@@ -32,7 +32,7 @@
32
32
  "prepack": "pnpm build",
33
33
  "dev": "nuxi dev docs",
34
34
  "play": "nuxi dev playground",
35
- "build:docs": "nuxi generate docs",
35
+ "docs:build": "nuxi generate docs",
36
36
  "lint": "eslint .",
37
37
  "lint:fix": "eslint . --fix",
38
38
  "typecheck": "vue-tsc --noEmit && nuxi typecheck docs",
@@ -44,8 +44,8 @@
44
44
  "@headlessui/tailwindcss": "^0.2.2",
45
45
  "@headlessui/vue": "^1.7.23",
46
46
  "@iconify-json/heroicons": "^1.2.2",
47
- "@nuxt/icon": "^1.15.0",
48
- "@nuxt/kit": "^4.0.0",
47
+ "@nuxt/icon": "^2.0.0",
48
+ "@nuxt/kit": "^4.0.3",
49
49
  "@nuxtjs/color-mode": "^3.5.2",
50
50
  "@nuxtjs/tailwindcss": "^6.14.0",
51
51
  "@popperjs/core": "^2.11.8",
@@ -54,9 +54,9 @@
54
54
  "@tailwindcss/container-queries": "^0.1.1",
55
55
  "@tailwindcss/forms": "^0.5.10",
56
56
  "@tailwindcss/typography": "^0.5.16",
57
- "@vueuse/core": "^13.5.0",
58
- "@vueuse/integrations": "^13.5.0",
59
- "@vueuse/math": "^13.5.0",
57
+ "@vueuse/core": "^13.8.0",
58
+ "@vueuse/integrations": "^13.8.0",
59
+ "@vueuse/math": "^13.8.0",
60
60
  "defu": "^6.1.4",
61
61
  "fuse.js": "^7.1.0",
62
62
  "ohash": "^2.0.11",
@@ -66,19 +66,19 @@
66
66
  "tailwindcss": "^3.4.17"
67
67
  },
68
68
  "devDependencies": {
69
- "@nuxt/eslint-config": "^1.5.2",
69
+ "@nuxt/eslint-config": "^1.9.0",
70
70
  "@nuxt/module-builder": "^1.0.1",
71
71
  "@nuxt/test-utils": "^3.19.2",
72
72
  "@release-it/conventional-changelog": "^10.0.1",
73
73
  "@vue/test-utils": "^2.4.6",
74
- "eslint": "^9.31.0",
74
+ "eslint": "^9.34.0",
75
75
  "happy-dom": "^18.0.1",
76
- "nuxt": "^4.0.0",
77
- "release-it": "^19.0.3",
76
+ "nuxt": "^4.0.3",
77
+ "release-it": "^19.0.4",
78
78
  "typescript": "^5.8.3",
79
79
  "vitest": "^3.2.4",
80
80
  "vitest-environment-nuxt": "^1.0.1",
81
- "vue-tsc": "^3.0.1"
81
+ "vue-tsc": "^3.0.6"
82
82
  },
83
83
  "peerDependencies": {
84
84
  "joi": "^17.13.0",
@@ -106,13 +106,15 @@
106
106
  },
107
107
  "resolutions": {
108
108
  "@nuxt/ui": "workspace:*",
109
+ "@nuxt/module-builder": "1.0.1",
109
110
  "@nuxt/content": "2.13.2",
110
111
  "@nuxtjs/mdc": "0.9.0",
111
- "@vueuse/core": "^13.5.0",
112
- "@vueuse/integrations": "^13.5.0",
113
- "@vueuse/math": "^13.5.0",
112
+ "@vueuse/core": "^13.8.0",
113
+ "@vueuse/integrations": "^13.8.0",
114
+ "@vueuse/math": "^13.8.0",
114
115
  "@vueuse/nuxt": "13.1.0",
115
116
  "unimport": "4.1.1",
116
- "chokidar": "3.6.0"
117
+ "chokidar": "3.6.0",
118
+ "typescript": "5.8.3"
117
119
  }
118
120
  }