@nuxt/ui 2.18.2 → 2.18.3

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 (103) hide show
  1. package/dist/module.d.mts +1 -1
  2. package/dist/module.d.ts +1 -1
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +1 -1
  5. package/dist/runtime/components/data/Table.vue.d.ts +1 -1
  6. package/dist/runtime/components/elements/Alert.vue.d.ts +3 -3
  7. package/dist/runtime/components/elements/Avatar.vue.d.ts +2 -2
  8. package/dist/runtime/components/elements/Badge.vue.d.ts +1 -1
  9. package/dist/runtime/components/elements/Button.vue.d.ts +14 -14
  10. package/dist/runtime/components/elements/Chip.vue.d.ts +3 -3
  11. package/dist/runtime/components/elements/Dropdown.vue.d.ts +1 -1
  12. package/dist/runtime/components/elements/Link.vue.d.ts +9 -9
  13. package/dist/runtime/components/elements/Meter.vue.d.ts +1 -1
  14. package/dist/runtime/components/elements/MeterGroup.d.ts +1 -1
  15. package/dist/runtime/components/elements/Progress.vue.d.ts +1 -1
  16. package/dist/runtime/components/forms/Checkbox.vue.d.ts +2 -2
  17. package/dist/runtime/components/forms/Form.vue.d.ts +1 -1
  18. package/dist/runtime/components/forms/FormGroup.vue.d.ts +1 -1
  19. package/dist/runtime/components/forms/Input.vue.d.ts +4 -4
  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 +2 -2
  23. package/dist/runtime/components/forms/Range.vue.d.ts +2 -2
  24. package/dist/runtime/components/forms/Select.vue.d.ts +4 -4
  25. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +5 -5
  26. package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
  27. package/dist/runtime/components/forms/Toggle.vue.d.ts +1 -1
  28. package/dist/runtime/components/layout/Divider.vue.d.ts +2 -2
  29. package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
  30. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
  31. package/dist/runtime/components/overlays/Modal.vue.d.ts +1 -1
  32. package/dist/runtime/components/overlays/Notification.vue.d.ts +3 -3
  33. package/dist/runtime/components/overlays/Popover.vue.d.ts +1 -1
  34. package/dist/runtime/components/overlays/Slideover.vue.d.ts +2 -2
  35. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +2 -2
  36. package/dist/runtime/composables/usePopper.d.ts +6 -6
  37. package/dist/runtime/types/accordion.d.ts +7 -6
  38. package/dist/runtime/types/alert.d.ts +10 -8
  39. package/dist/runtime/types/avatar.d.ts +15 -13
  40. package/dist/runtime/types/badge.d.ts +13 -11
  41. package/dist/runtime/types/breadcrumb.d.ts +8 -6
  42. package/dist/runtime/types/button.d.ts +29 -27
  43. package/dist/runtime/types/chip.d.ts +13 -11
  44. package/dist/runtime/types/clipboard.d.ts +1 -7
  45. package/dist/runtime/types/command-palette.d.ts +25 -23
  46. package/dist/runtime/types/component.d.ts +14 -17
  47. package/dist/runtime/types/divider.d.ts +3 -2
  48. package/dist/runtime/types/dropdown.d.ts +13 -12
  49. package/dist/runtime/types/form-group.d.ts +5 -4
  50. package/dist/runtime/types/form.d.ts +28 -29
  51. package/dist/runtime/types/horizontal-navigation.d.ts +11 -10
  52. package/dist/runtime/types/index.js +31 -31
  53. package/dist/runtime/types/input.d.ts +8 -7
  54. package/dist/runtime/types/kbd.d.ts +5 -4
  55. package/dist/runtime/types/link.d.ts +10 -9
  56. package/dist/runtime/types/meter.d.ts +5 -4
  57. package/dist/runtime/types/modal.d.ts +15 -13
  58. package/dist/runtime/types/notification.d.ts +20 -17
  59. package/dist/runtime/types/popper.d.ts +15 -13
  60. package/dist/runtime/types/progress.d.ts +6 -5
  61. package/dist/runtime/types/range.d.ts +7 -6
  62. package/dist/runtime/types/select.d.ts +8 -7
  63. package/dist/runtime/types/slideover.d.ts +12 -10
  64. package/dist/runtime/types/tabs.d.ts +6 -6
  65. package/dist/runtime/types/textarea.d.ts +8 -7
  66. package/dist/runtime/types/toggle.d.ts +7 -6
  67. package/dist/runtime/types/tooltip.d.ts +5 -5
  68. package/dist/runtime/types/utils.d.ts +31 -11
  69. package/dist/runtime/types/vertical-navigation.d.ts +11 -10
  70. package/dist/runtime/utils/link.d.ts +1 -1
  71. package/package.json +6 -6
  72. package/dist/runtime/types/accordion.js +0 -0
  73. package/dist/runtime/types/alert.js +0 -0
  74. package/dist/runtime/types/avatar.js +0 -0
  75. package/dist/runtime/types/badge.js +0 -0
  76. package/dist/runtime/types/breadcrumb.js +0 -0
  77. package/dist/runtime/types/button.js +0 -0
  78. package/dist/runtime/types/chip.js +0 -0
  79. package/dist/runtime/types/clipboard.js +0 -0
  80. package/dist/runtime/types/command-palette.js +0 -0
  81. package/dist/runtime/types/component.js +0 -0
  82. package/dist/runtime/types/divider.js +0 -0
  83. package/dist/runtime/types/dropdown.js +0 -0
  84. package/dist/runtime/types/form-group.js +0 -0
  85. package/dist/runtime/types/form.js +0 -0
  86. package/dist/runtime/types/horizontal-navigation.js +0 -0
  87. package/dist/runtime/types/input.js +0 -0
  88. package/dist/runtime/types/kbd.js +0 -0
  89. package/dist/runtime/types/link.js +0 -0
  90. package/dist/runtime/types/meter.js +0 -0
  91. package/dist/runtime/types/modal.js +0 -0
  92. package/dist/runtime/types/notification.js +0 -0
  93. package/dist/runtime/types/popper.js +0 -0
  94. package/dist/runtime/types/progress.js +0 -0
  95. package/dist/runtime/types/range.js +0 -0
  96. package/dist/runtime/types/select.js +0 -0
  97. package/dist/runtime/types/slideover.js +0 -0
  98. package/dist/runtime/types/tabs.js +0 -0
  99. package/dist/runtime/types/textarea.js +0 -0
  100. package/dist/runtime/types/toggle.js +0 -0
  101. package/dist/runtime/types/tooltip.js +0 -0
  102. package/dist/runtime/types/utils.js +0 -0
  103. package/dist/runtime/types/vertical-navigation.js +0 -0
package/dist/module.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import * as config from '../dist/runtime/ui.config/index.js';
3
- import { Strategy, DeepPartial } from '../dist/runtime/types/utils.js';
3
+ import { Strategy, DeepPartial } from '../dist/runtime/types/index.js';
4
4
 
5
5
  type UI = {
6
6
  primary?: string;
package/dist/module.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import * as config from '../dist/runtime/ui.config/index.js';
3
- import { Strategy, DeepPartial } from '../dist/runtime/types/utils.js';
3
+ import { Strategy, DeepPartial } from '../dist/runtime/types/index.js';
4
4
 
5
5
  type UI = {
6
6
  primary?: string;
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/ui",
3
- "version": "2.18.2",
3
+ "version": "2.18.3",
4
4
  "configKey": "ui",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.10.0"
package/dist/module.mjs CHANGED
@@ -14,7 +14,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
14
14
  const __dirname = __cjs_path__.dirname(__filename);
15
15
  const require = __cjs_mod__.createRequire(import.meta.url);
16
16
  const name = "@nuxt/ui";
17
- const version = "2.18.2";
17
+ const version = "2.18.3";
18
18
 
19
19
  function createTemplates(nuxt = useNuxt()) {
20
20
  const template = addTemplate({
@@ -408,13 +408,13 @@ declare const _default: import("vue").DefineComponent<{
408
408
  direction: "asc" | "desc";
409
409
  };
410
410
  class: any;
411
- ui: {};
412
411
  caption: string;
413
412
  columns: Column[];
414
413
  progress: {
415
414
  color: ProgressColor;
416
415
  animation: ProgressAnimation;
417
416
  };
417
+ ui: {};
418
418
  modelValue: unknown[];
419
419
  loading: boolean;
420
420
  loadingState: {
@@ -181,13 +181,13 @@ declare const _default: import("vue").DefineComponent<{
181
181
  onClose?: (...args: any[]) => any;
182
182
  }, {
183
183
  class: any;
184
- ui: {};
184
+ avatar: any;
185
185
  color: AlertColor;
186
186
  variant: AlertVariant;
187
- avatar: any;
188
- icon: string;
189
187
  title: string;
188
+ ui: {};
190
189
  description: string;
190
+ icon: string;
191
191
  closeButton: Button;
192
192
  actions: AlertAction[];
193
193
  }, {}>;
@@ -242,10 +242,10 @@ declare const _default: import("vue").DefineComponent<{
242
242
  size: AvatarSize;
243
243
  class: any;
244
244
  as: string | Record<string, any>;
245
- ui: {};
246
- icon: string;
247
245
  text: string;
248
246
  alt: string;
247
+ ui: {};
248
+ icon: string;
249
249
  src: string | boolean;
250
250
  chipColor: AvatarChipColor;
251
251
  chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
@@ -101,9 +101,9 @@ declare const _default: import("vue").DefineComponent<{
101
101
  }>>, {
102
102
  size: BadgeSize;
103
103
  class: any;
104
- ui: {};
105
104
  color: BadgeColor;
106
105
  variant: BadgeVariant;
107
106
  label: string | number;
107
+ ui: {};
108
108
  }, {}>;
109
109
  export default _default;
@@ -178,7 +178,7 @@ declare const _default: import("vue").DefineComponent<{
178
178
  readonly required: false;
179
179
  };
180
180
  rel: {
181
- readonly type: PropType<import("#app").NuxtLinkProps["rel"]>;
181
+ readonly type: PropType<any>;
182
182
  readonly default: any;
183
183
  readonly required: false;
184
184
  };
@@ -418,7 +418,7 @@ declare const _default: import("vue").DefineComponent<{
418
418
  readonly required: false;
419
419
  };
420
420
  rel: {
421
- readonly type: PropType<import("#app").NuxtLinkProps["rel"]>;
421
+ readonly type: PropType<any>;
422
422
  readonly default: any;
423
423
  readonly required: false;
424
424
  };
@@ -472,26 +472,26 @@ declare const _default: import("vue").DefineComponent<{
472
472
  type: string;
473
473
  replace: boolean;
474
474
  class: any;
475
+ truncate: boolean;
476
+ target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
475
477
  to: any;
476
478
  activeClass: string;
477
479
  exactActiveClass: string;
478
480
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
479
- disabled: boolean;
480
- truncate: boolean;
481
- ui: {};
482
- color: ButtonColor;
483
- variant: ButtonVariant;
484
- label: string;
485
- icon: string;
486
- href: any;
487
- external: boolean;
488
- target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
489
- rel: (string & {}) | "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc";
490
481
  noRel: boolean;
491
- prefetchedClass: string;
492
482
  prefetch: boolean;
493
483
  noPrefetch: boolean;
484
+ prefetchedClass: string;
485
+ external: boolean;
494
486
  leading: boolean;
487
+ color: ButtonColor;
488
+ variant: ButtonVariant;
489
+ disabled: boolean;
490
+ href: any;
491
+ rel: any;
492
+ label: string;
493
+ ui: {};
494
+ icon: string;
495
495
  block: boolean;
496
496
  square: boolean;
497
497
  loading: boolean;
@@ -150,13 +150,13 @@ declare const _default: import("vue").DefineComponent<{
150
150
  default: () => {};
151
151
  };
152
152
  }>>, {
153
- size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "3xs" | "2xl" | "3xl";
153
+ size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl" | "3xs" | "3xl";
154
154
  class: any;
155
- ui: {};
156
- color: ChipColor;
157
155
  inset: boolean;
158
156
  position: "top-right" | "bottom-right" | "top-left" | "bottom-left";
157
+ color: ChipColor;
159
158
  text: string | number;
159
+ ui: {};
160
160
  show: boolean;
161
161
  }, {}>;
162
162
  export default _default;
@@ -243,9 +243,9 @@ declare const _default: import("vue").DefineComponent<{
243
243
  }, {
244
244
  mode: "click" | "hover";
245
245
  class: any;
246
+ popper: PopperOptions;
246
247
  disabled: boolean;
247
248
  ui: {};
248
- popper: PopperOptions;
249
249
  open: boolean;
250
250
  items: DropdownItem[][];
251
251
  openDelay: number;
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
47
47
  readonly required: false;
48
48
  };
49
49
  rel: {
50
- readonly type: import("vue").PropType<import("#app").NuxtLinkProps["rel"]>;
50
+ readonly type: import("vue").PropType<any>;
51
51
  readonly default: any;
52
52
  readonly required: false;
53
53
  };
@@ -150,7 +150,7 @@ declare const _default: import("vue").DefineComponent<{
150
150
  readonly required: false;
151
151
  };
152
152
  rel: {
153
- readonly type: import("vue").PropType<import("#app").NuxtLinkProps["rel"]>;
153
+ readonly type: import("vue").PropType<any>;
154
154
  readonly default: any;
155
155
  readonly required: false;
156
156
  };
@@ -202,10 +202,16 @@ declare const _default: import("vue").DefineComponent<{
202
202
  }>>, {
203
203
  type: string;
204
204
  replace: boolean;
205
+ target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
205
206
  to: any;
206
207
  activeClass: string;
207
208
  exactActiveClass: string;
208
209
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
210
+ noRel: boolean;
211
+ prefetch: boolean;
212
+ noPrefetch: boolean;
213
+ prefetchedClass: string;
214
+ external: boolean;
209
215
  as: string;
210
216
  disabled: boolean;
211
217
  active: boolean;
@@ -214,12 +220,6 @@ declare const _default: import("vue").DefineComponent<{
214
220
  exactHash: boolean;
215
221
  inactiveClass: string;
216
222
  href: any;
217
- external: boolean;
218
- target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
219
- rel: (string & {}) | "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc";
220
- noRel: boolean;
221
- prefetchedClass: string;
222
- prefetch: boolean;
223
- noPrefetch: boolean;
223
+ rel: any;
224
224
  }, {}>;
225
225
  export default _default;
@@ -258,9 +258,9 @@ declare const _default: import("vue").DefineComponent<{
258
258
  }>>, {
259
259
  size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
260
260
  class: any;
261
- ui: {};
262
261
  color: MeterColor;
263
262
  label: string;
263
+ ui: {};
264
264
  icon: string;
265
265
  indicator: boolean;
266
266
  value: number;
@@ -121,8 +121,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
121
121
  }>>, {
122
122
  size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
123
123
  ui: {};
124
- icon: string;
125
124
  class: any;
125
+ icon: string;
126
126
  max: number;
127
127
  min: number;
128
128
  indicator: boolean;
@@ -270,8 +270,8 @@ declare const _default: import("vue").DefineComponent<{
270
270
  }>>, {
271
271
  size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
272
272
  class: any;
273
- ui: {};
274
273
  color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
274
+ ui: {};
275
275
  indicator: boolean;
276
276
  animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
277
277
  value: number;
@@ -165,10 +165,10 @@ declare const _default: import("vue").DefineComponent<{
165
165
  name: string;
166
166
  required: boolean;
167
167
  class: any;
168
- disabled: boolean;
169
- ui: {};
170
168
  color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
169
+ disabled: boolean;
171
170
  label: string;
171
+ ui: {};
172
172
  id: string;
173
173
  modelValue: boolean | unknown[];
174
174
  value: string | number | boolean | Record<string, any>;
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
25
25
  };
26
26
  }, {
27
27
  onSubmit: (payload: Event) => Promise<void>;
28
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "error")[], "submit" | "error", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "submit")[], "error" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  schema: {
30
30
  type: PropType<ZodSchema> | PropType<YupObjectSchema<any>> | PropType<JoiSchema> | PropType<ValibotSchema30 | ValibotSchemaAsync30> | PropType<ValibotSchema31 | ValibotSchemaAsync31> | PropType<ValibotSafeParser31<any, any> | ValibotSafeParserAsync31<any, any>> | PropType<ValibotSchema | ValibotSchemaAsync> | PropType<ValibotSafeParser<any, any> | ValibotSafeParserAsync<any, any>>;
31
31
  default: any;
@@ -158,9 +158,9 @@ declare const _default: import("vue").DefineComponent<{
158
158
  size: FormGroupSize;
159
159
  required: boolean;
160
160
  class: any;
161
- ui: {};
162
161
  label: string;
163
162
  error: string | boolean;
163
+ ui: {};
164
164
  description: string;
165
165
  help: string;
166
166
  hint: string;
@@ -459,13 +459,13 @@ declare const _default: import("vue").DefineComponent<{
459
459
  type: string;
460
460
  required: boolean;
461
461
  class: any;
462
- disabled: boolean;
463
- ui: {};
462
+ leading: boolean;
464
463
  color: InputColor;
465
464
  variant: InputVariant;
466
- icon: string;
465
+ disabled: boolean;
466
+ ui: {};
467
467
  id: string;
468
- leading: boolean;
468
+ icon: string;
469
469
  modelValue: string | number;
470
470
  loading: boolean;
471
471
  padded: boolean;
@@ -665,14 +665,14 @@ declare const _default: import("vue").DefineComponent<{
665
665
  required: boolean;
666
666
  search: (query: string) => Promise<any[]> | any[];
667
667
  class: any;
668
- disabled: boolean;
669
- ui: {};
668
+ leading: boolean;
669
+ popper: PopperOptions;
670
670
  color: InputColor;
671
671
  variant: InputVariant;
672
- icon: string;
672
+ disabled: boolean;
673
+ ui: {};
673
674
  id: string;
674
- leading: boolean;
675
- popper: PopperOptions;
675
+ icon: string;
676
676
  options: string[] | {
677
677
  [key: string]: any;
678
678
  disabled?: boolean;
@@ -155,10 +155,10 @@ declare const _default: import("vue").DefineComponent<{
155
155
  name: string;
156
156
  required: boolean;
157
157
  class: any;
158
- disabled: boolean;
159
- ui: {};
160
158
  color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
159
+ disabled: boolean;
161
160
  label: string;
161
+ ui: {};
162
162
  id: string;
163
163
  modelValue: string | number | boolean | Record<string, any>;
164
164
  value: string | number | boolean;
@@ -163,10 +163,10 @@ declare const _default: import("vue").DefineComponent<{
163
163
  }, {
164
164
  name: string;
165
165
  class: any;
166
- disabled: boolean;
167
- ui: {};
168
166
  color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
167
+ disabled: boolean;
169
168
  legend: string;
169
+ ui: {};
170
170
  options: unknown[];
171
171
  modelValue: string | number | boolean | Record<string, any>;
172
172
  optionAttribute: string;
@@ -255,10 +255,10 @@ declare const _default: import("vue").DefineComponent<{
255
255
  name: string;
256
256
  size: RangeSize;
257
257
  class: any;
258
+ step: number;
259
+ color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
258
260
  disabled: boolean;
259
261
  ui: {};
260
- color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
261
- step: number;
262
262
  id: string;
263
263
  modelValue: number;
264
264
  max: number;
@@ -448,13 +448,13 @@ declare const _default: import("vue").DefineComponent<{
448
448
  size: SelectSize;
449
449
  required: boolean;
450
450
  class: any;
451
- disabled: boolean;
452
- ui: {};
451
+ leading: boolean;
453
452
  color: SelectColor;
454
453
  variant: SelectVariant;
455
- icon: string;
454
+ disabled: boolean;
455
+ ui: {};
456
456
  id: string;
457
- leading: boolean;
457
+ icon: string;
458
458
  options: unknown[];
459
459
  modelValue: string | number | Record<string, any>;
460
460
  loading: boolean;
@@ -714,14 +714,14 @@ declare const _default: import("vue").DefineComponent<{
714
714
  size: SelectSize;
715
715
  required: boolean;
716
716
  class: any;
717
- disabled: boolean;
718
- ui: {};
717
+ leading: boolean;
718
+ popper: PopperOptions;
719
719
  color: SelectColor;
720
720
  variant: SelectVariant;
721
- icon: string;
721
+ disabled: boolean;
722
+ ui: {};
722
723
  id: string;
723
- leading: boolean;
724
- popper: PopperOptions;
724
+ icon: string;
725
725
  options: string[] | {
726
726
  [key: string]: any;
727
727
  disabled?: boolean;
@@ -416,12 +416,12 @@ declare const _default: import("vue").DefineComponent<{
416
416
  size: TextareaSize;
417
417
  required: boolean;
418
418
  class: any;
419
- disabled: boolean;
420
- ui: {};
419
+ resize: boolean;
421
420
  color: TextareaColor;
422
421
  variant: TextareaVariant;
422
+ disabled: boolean;
423
+ ui: {};
423
424
  id: string;
424
- resize: boolean;
425
425
  modelValue: string | number;
426
426
  padded: boolean;
427
427
  rows: number;
@@ -249,9 +249,9 @@ declare const _default: import("vue").DefineComponent<{
249
249
  name: string;
250
250
  size: ToggleSize;
251
251
  class: any;
252
+ color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
252
253
  disabled: boolean;
253
254
  ui: {};
254
- color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
255
255
  id: string;
256
256
  modelValue: boolean;
257
257
  loading: boolean;
@@ -189,10 +189,10 @@ declare const _default: import("vue").DefineComponent<{
189
189
  size: DividerSize;
190
190
  type: "solid" | "dotted" | "dashed";
191
191
  class: any;
192
- ui: {};
193
192
  avatar: any;
194
193
  label: string;
195
- icon: string;
196
194
  orientation: "horizontal" | "vertical";
195
+ ui: {};
196
+ icon: string;
197
197
  }, {}>;
198
198
  export default _default;
@@ -154,9 +154,9 @@ declare const _default: import("vue").DefineComponent<{
154
154
  "onUpdate:modelValue"?: (...args: any[]) => any;
155
155
  }, {
156
156
  class: any;
157
- ui: {};
158
157
  content: boolean;
159
158
  orientation: "horizontal" | "vertical";
159
+ ui: {};
160
160
  modelValue: number;
161
161
  unmount: boolean;
162
162
  items: TabItem[];
@@ -119,8 +119,8 @@ declare const _default: import("vue").DefineComponent<{
119
119
  "onUpdate:modelValue"?: (...args: any[]) => any;
120
120
  }, {
121
121
  class: any;
122
- ui: {};
123
122
  popper: PopperOptions;
123
+ ui: {};
124
124
  modelValue: boolean;
125
125
  }, {}>;
126
126
  export default _default;
@@ -155,8 +155,8 @@ declare const _default: import("vue").DefineComponent<{
155
155
  "onAfter-leave"?: (...args: any[]) => any;
156
156
  }, {
157
157
  class: any;
158
- ui: {};
159
158
  transition: boolean;
159
+ ui: {};
160
160
  appear: boolean;
161
161
  overlay: boolean;
162
162
  preventClose: boolean;
@@ -221,12 +221,12 @@ declare const _default: import("vue").DefineComponent<{
221
221
  onClose?: (...args: any[]) => any;
222
222
  }, {
223
223
  class: any;
224
- ui: {};
225
- color: NotificationColor;
226
224
  avatar: any;
227
- icon: string;
225
+ color: NotificationColor;
228
226
  title: string;
227
+ ui: {};
229
228
  description: string;
229
+ icon: string;
230
230
  closeButton: Button;
231
231
  timeout: number;
232
232
  actions: NotificationAction[];
@@ -209,9 +209,9 @@ declare const _default: import("vue").DefineComponent<{
209
209
  }, {
210
210
  mode: "click" | "hover";
211
211
  class: any;
212
+ popper: PopperOptions;
212
213
  disabled: boolean;
213
214
  ui: {};
214
- popper: PopperOptions;
215
215
  overlay: boolean;
216
216
  open: boolean;
217
217
  openDelay: number;
@@ -156,12 +156,12 @@ declare const _default: import("vue").DefineComponent<{
156
156
  "onAfter-leave"?: (...args: any[]) => any;
157
157
  }, {
158
158
  class: any;
159
- ui: {};
160
159
  transition: boolean;
160
+ ui: {};
161
161
  appear: boolean;
162
162
  overlay: boolean;
163
163
  preventClose: boolean;
164
- side: "right" | "left" | "top" | "bottom";
164
+ side: "bottom" | "left" | "right" | "top";
165
165
  modelValue: boolean;
166
166
  }, {}>;
167
167
  export default _default;
@@ -154,12 +154,12 @@ declare const _default: import("vue").DefineComponent<{
154
154
  };
155
155
  }>>, {
156
156
  class: any;
157
- ui: {};
158
- shortcuts: string[];
159
157
  popper: PopperOptions;
160
158
  text: string;
159
+ ui: {};
161
160
  openDelay: number;
162
161
  closeDelay: number;
162
+ shortcuts: string[];
163
163
  prevent: boolean;
164
164
  }, {}>;
165
165
  export default _default;
@@ -197,7 +197,7 @@ export declare function usePopper({ locked, overflowPadding, offsetDistance, off
197
197
  y: number;
198
198
  x: number;
199
199
  };
200
- right?: {
200
+ bottom?: {
201
201
  y: number;
202
202
  x: number;
203
203
  };
@@ -205,23 +205,23 @@ export declare function usePopper({ locked, overflowPadding, offsetDistance, off
205
205
  y: number;
206
206
  x: number;
207
207
  };
208
- auto?: {
208
+ right?: {
209
209
  y: number;
210
210
  x: number;
211
211
  };
212
- "auto-start"?: {
212
+ top?: {
213
213
  y: number;
214
214
  x: number;
215
215
  };
216
- "auto-end"?: {
216
+ auto?: {
217
217
  y: number;
218
218
  x: number;
219
219
  };
220
- top?: {
220
+ "auto-start"?: {
221
221
  y: number;
222
222
  x: number;
223
223
  };
224
- bottom?: {
224
+ "auto-end"?: {
225
225
  y: number;
226
226
  x: number;
227
227
  };
@@ -1,8 +1,9 @@
1
- import type { Button } from './button.js';
1
+ import type { Button } from './button'
2
+
2
3
  export interface AccordionItem extends Button {
3
- slot?: string;
4
- disabled?: boolean;
5
- content?: string;
6
- defaultOpen?: boolean;
7
- closeOthers?: boolean;
4
+ slot?: string
5
+ disabled?: boolean
6
+ content?: string
7
+ defaultOpen?: boolean
8
+ closeOthers?: boolean
8
9
  }
@@ -1,10 +1,12 @@
1
- import { alert } from '../ui.config.js';
2
- import type { NestedKeyOf, ExtractDeepKey, ExtractDeepObject } from '.';
3
- import type { Button } from './button.js';
4
- import colors from '#ui-colors';
5
- import type { AppConfig } from 'nuxt/schema';
6
- export type AlertColor = keyof typeof alert.color | ExtractDeepKey<AppConfig, ['ui', 'alert', 'color']> | typeof colors[number];
7
- export type AlertVariant = keyof typeof alert.variant | ExtractDeepKey<AppConfig, ['ui', 'alert', 'variant']> | NestedKeyOf<typeof alert.color> | NestedKeyOf<ExtractDeepObject<AppConfig, ['ui', 'alert', 'color']>>;
1
+ import { alert } from '../ui.config'
2
+ import type { NestedKeyOf, ExtractDeepKey, ExtractDeepObject } from '.'
3
+ import type { Button } from './button'
4
+ import colors from '#ui-colors'
5
+ import type { AppConfig } from 'nuxt/schema'
6
+
7
+ export type AlertColor = keyof typeof alert.color | ExtractDeepKey<AppConfig, ['ui', 'alert', 'color']> | typeof colors[number]
8
+ export type AlertVariant = keyof typeof alert.variant | ExtractDeepKey<AppConfig, ['ui', 'alert', 'variant']> | NestedKeyOf<typeof alert.color> | NestedKeyOf<ExtractDeepObject<AppConfig, ['ui', 'alert', 'color']>>
9
+
8
10
  export interface AlertAction extends Button {
9
- click?: (...args: any[]) => void;
11
+ click?: (...args: any[]) => void
10
12
  }