wave-ui 3.18.1 → 3.20.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 (72) hide show
  1. package/dist/types/$waveui.d.ts +2 -2
  2. package/dist/types/components/WAccordion.d.ts +2 -2
  3. package/dist/types/components/WAlert.d.ts +2 -2
  4. package/dist/types/components/WApp.d.ts +3 -4
  5. package/dist/types/components/WBadge.d.ts +3 -4
  6. package/dist/types/components/WBreadcrumbs.d.ts +3 -4
  7. package/dist/types/components/WButton.d.ts +3 -4
  8. package/dist/types/components/WCard.d.ts +3 -4
  9. package/dist/types/components/WCheckbox.d.ts +2 -2
  10. package/dist/types/components/WCheckboxes.d.ts +2 -2
  11. package/dist/types/components/WConfirm.d.ts +2 -2
  12. package/dist/types/components/WDialog.d.ts +2 -2
  13. package/dist/types/components/WDivider.d.ts +3 -4
  14. package/dist/types/components/WDrawer.d.ts +5 -5
  15. package/dist/types/components/WFlex.d.ts +3 -4
  16. package/dist/types/components/WForm.d.ts +2 -2
  17. package/dist/types/components/WFormElement.d.ts +2 -2
  18. package/dist/types/components/WGrid.d.ts +3 -4
  19. package/dist/types/components/WIcon.d.ts +3 -4
  20. package/dist/types/components/WImage.d.ts +2 -2
  21. package/dist/types/components/WInput.d.ts +2 -2
  22. package/dist/types/components/WList.d.ts +2 -2
  23. package/dist/types/components/WMenu.d.ts +2 -2
  24. package/dist/types/components/WNotification.d.ts +2 -2
  25. package/dist/types/components/WNotificationManager.d.ts +4 -6
  26. package/dist/types/components/WOverlay.d.ts +2 -2
  27. package/dist/types/components/WProgress.d.ts +3 -4
  28. package/dist/types/components/WRadio.d.ts +2 -2
  29. package/dist/types/components/WRadios.d.ts +2 -2
  30. package/dist/types/components/WRating.d.ts +2 -2
  31. package/dist/types/components/WSelect.d.ts +4 -4
  32. package/dist/types/components/WSlider.d.ts +2 -2
  33. package/dist/types/components/WSpinner.d.ts +3 -4
  34. package/dist/types/components/WSteps.d.ts +3 -4
  35. package/dist/types/components/WSwitch.d.ts +2 -2
  36. package/dist/types/components/WTable.d.ts +2 -2
  37. package/dist/types/components/WTabs.d.ts +2 -2
  38. package/dist/types/components/WTag.d.ts +2 -2
  39. package/dist/types/components/WTextarea.d.ts +2 -2
  40. package/dist/types/components/WTimeline.d.ts +3 -4
  41. package/dist/types/components/WToolbar.d.ts +3 -4
  42. package/dist/types/components/WTooltip.d.ts +2 -2
  43. package/dist/types/components/WTree.d.ts +2 -2
  44. package/dist/types/extra-vue-types.d.ts +1 -1
  45. package/dist/types/plugin.d.ts +2 -2
  46. package/dist/wave-ui.cjs.js +1 -1
  47. package/dist/wave-ui.css +1 -1
  48. package/dist/wave-ui.es.js +445 -433
  49. package/dist/wave-ui.umd.js +1 -1
  50. package/package.json +24 -29
  51. package/src/wave-ui/components/transitions/w-transition-expand.vue +3 -3
  52. package/src/wave-ui/components/w-autocomplete.vue +3 -3
  53. package/src/wave-ui/components/w-badge.vue +2 -2
  54. package/src/wave-ui/components/w-card.vue +2 -2
  55. package/src/wave-ui/components/w-checkboxes.vue +1 -1
  56. package/src/wave-ui/components/w-icon.vue +1 -1
  57. package/src/wave-ui/components/w-image.vue +1 -1
  58. package/src/wave-ui/components/w-input.vue +2 -2
  59. package/src/wave-ui/components/w-list.vue +2 -2
  60. package/src/wave-ui/components/w-menu.vue +13 -5
  61. package/src/wave-ui/components/w-scrollable.vue +2 -2
  62. package/src/wave-ui/components/w-table.vue +7 -7
  63. package/src/wave-ui/components/w-tabs/index.vue +2 -2
  64. package/src/wave-ui/components/w-textarea.vue +1 -1
  65. package/src/wave-ui/components/w-toolbar.vue +2 -2
  66. package/src/wave-ui/components/w-tooltip.vue +1 -1
  67. package/src/wave-ui/components/w-tree.vue +1 -1
  68. package/src/wave-ui/core.js +26 -6
  69. package/src/wave-ui/index.d.ts +1 -1
  70. package/src/wave-ui/mixins/detachable.js +1 -1
  71. package/src/wave-ui/utils/colors.js +1 -1
  72. package/src/wave-ui/utils/notification-manager.js +11 -18
@@ -1,5 +1,5 @@
1
- import { ColorShadeInfo, WaveColor } from './colors';
2
- import { WaveAlertProps } from './components/WAlert';
1
+ import type { ColorShadeInfo, WaveColor } from './colors';
2
+ import type { WaveAlertProps } from './components/WAlert';
3
3
  export type WaveNotificationType = 'info' | 'success' | 'warning' | 'error';
4
4
  export interface $waveui {
5
5
  breakpoint: {
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveAccordionProps {
4
4
  /**
5
5
  * `value` in Vue 2.
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveAlertProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import { type ComputedOptions, type DefineComponent, type EmitsOptions, type ExtractDefaultPropTypes, type MethodOptions, type SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveAppProps {
4
4
  /**
5
5
  * Sets the layout to `display: block`. By default the layout is: `display: flex`, `flex-direction: column`.
@@ -68,8 +68,7 @@ export interface WaveAppProps {
68
68
  */
69
69
  textRight?: boolean;
70
70
  }
71
- export interface WaveAppEmits {
72
- }
71
+ export type WaveAppEmits = {};
73
72
  export interface WaveAppComputeds extends ComputedOptions {
74
73
  }
75
74
  export interface WaveAppMethods extends MethodOptions {
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveBadgeProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -148,8 +148,7 @@ export interface WaveBadgeProps {
148
148
  */
149
149
  light?: boolean;
150
150
  }
151
- export interface WaveBadgeEmits {
152
- }
151
+ export type WaveBadgeEmits = {};
153
152
  export interface WaveBadgeComputeds extends ComputedOptions {
154
153
  /**
155
154
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveBreadcrumbsProps {
4
4
  /**
5
5
  * An array of items to display in the breadcrumbs. Each item must be an object containing a `label` and a `route`.
@@ -81,8 +81,7 @@ export interface WaveBreadcrumbsProps {
81
81
  */
82
82
  xl?: boolean;
83
83
  }
84
- export interface WaveBreadcrumbsEmits {
85
- }
84
+ export type WaveBreadcrumbsEmits = {};
86
85
  export interface WaveBreadcrumbsComputeds extends ComputedOptions {
87
86
  /**
88
87
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveButtonProps {
4
4
  /**
5
5
  * Applies a color to the button's text.
@@ -197,8 +197,7 @@ export interface WaveButtonProps {
197
197
  */
198
198
  xl?: boolean;
199
199
  }
200
- export interface WaveButtonEmits {
201
- }
200
+ export type WaveButtonEmits = {};
202
201
  export interface WaveButtonComputeds extends ComputedOptions {
203
202
  /**
204
203
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveCardProps {
4
4
  /**
5
5
  * Applies a color to the card's text. Accepts all the color names of the color palette, status colors, or custom colors (learn more about the colors in the `colors` knowledge base page).
@@ -78,8 +78,7 @@ export interface WaveCardProps {
78
78
  */
79
79
  light?: boolean;
80
80
  }
81
- export interface WaveCardEmits {
82
- }
81
+ export type WaveCardEmits = {};
83
82
  export interface WaveCardComputeds extends ComputedOptions {
84
83
  /**
85
84
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveCheckboxProps {
4
4
  /**
5
5
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveCheckboxesProps {
4
4
  /**
5
5
  * An array of checkbox items to display. Each item object should contain at least a `label` or a `value` attribute.
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveConfirmProps {
4
4
  /**
5
5
  * Applies a color to the main button's background.
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveDialogProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveDividerProps {
4
4
  /**
5
5
  * When set to true, the divider will display vertically.
@@ -28,8 +28,7 @@ export interface WaveDividerProps {
28
28
  */
29
29
  light?: boolean;
30
30
  }
31
- export interface WaveDividerEmits {
32
- }
31
+ export type WaveDividerEmits = {};
33
32
  export interface WaveDividerComputeds extends ComputedOptions {
34
33
  /**
35
34
  * TODO: Add Description
@@ -1,13 +1,13 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveDrawerProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
6
6
  * This prop controls the visibility of the drawer. Any truthy value will show the drawer whereas any falsy value will hide it.
7
- * @property {any} modelValue - Default: true
7
+ * @property {boolean} modelValue - Default: true
8
8
  * @see https://antoniandre.github.io/wave-ui/w-drawer
9
9
  */
10
- modelValue?: any;
10
+ modelValue?: boolean;
11
11
  /**
12
12
  * Places the drawer at the left of the screen, or at the left of its container when the `absolute` prop is set to true.
13
13
  * @property {boolean} left
@@ -158,7 +158,7 @@ export interface WaveDrawerEmits {
158
158
  * TODO: Add Description
159
159
  * @see https://antoniandre.github.io/wave-ui/w-drawer
160
160
  */
161
- 'onUpdate:modelValue'?: () => void;
161
+ 'onUpdate:modelValue'?: (modelValue: boolean) => void;
162
162
  /**
163
163
  * TODO: Add Description
164
164
  * @see https://antoniandre.github.io/wave-ui/w-drawer
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveFlexProps {
4
4
  /**
5
5
  * TODO: Add Description
@@ -116,8 +116,7 @@ export interface WaveFlexProps {
116
116
  */
117
117
  gap?: number | string;
118
118
  }
119
- export interface WaveFlexEmits {
120
- }
119
+ export type WaveFlexEmits = {};
121
120
  export interface WaveFlexComputeds extends ComputedOptions {
122
121
  /**
123
122
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveFormProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveFormElementProps {
4
4
  /**
5
5
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveGridProps {
4
4
  /**
5
5
  * TODO: Add Description
@@ -20,8 +20,7 @@ export interface WaveGridProps {
20
20
  */
21
21
  gap?: number | {} | string;
22
22
  }
23
- export interface WaveGridEmits {
24
- }
23
+ export type WaveGridEmits = {};
25
24
  export interface WaveGridComputeds extends ComputedOptions {
26
25
  /**
27
26
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveIconProps {
4
4
  /**
5
5
  * The HTML tag to render the icon into. `<i>` by default.
@@ -127,8 +127,7 @@ export interface WaveIconProps {
127
127
  */
128
128
  size?: number | string;
129
129
  }
130
- export interface WaveIconEmits {
131
- }
130
+ export type WaveIconEmits = {};
132
131
  export interface WaveIconComputeds extends ComputedOptions {
133
132
  /**
134
133
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveImageProps {
4
4
  /**
5
5
  * Tells which tag to use for the `w-image`'s image. It can be any valid HTML tag, like <span> or &lt;div&gt;. The wrapper of the image will use a &lt;span&gt; tag unless you use set the `tag` to div.
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveInputProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveListProps {
4
4
  /**
5
5
  * Expecting an array of objects. Each object being a list item, it should include at least a `label` attribute.
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveMenuProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveNotificationProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,9 +1,7 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
3
- export interface WaveNotificationManagerProps {
4
- }
5
- export interface WaveNotificationManagerEmits {
6
- }
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ export type WaveNotificationManagerProps = {};
4
+ export type WaveNotificationManagerEmits = {};
7
5
  export interface WaveNotificationManagerComputeds extends ComputedOptions {
8
6
  /**
9
7
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveOverlayProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveProgressProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -131,8 +131,7 @@ export interface WaveProgressProps {
131
131
  */
132
132
  zIndex?: number | string | boolean;
133
133
  }
134
- export interface WaveProgressEmits {
135
- }
134
+ export type WaveProgressEmits = {};
136
135
  export interface WaveProgressComputeds extends ComputedOptions {
137
136
  /**
138
137
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveRadioProps {
4
4
  /**
5
5
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveRadiosProps {
4
4
  /**
5
5
  * An array of radio button items to display. Each item object should contain at least a `label` or a `value` attribute.
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveRatingProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WSelectDropdownItem {
4
4
  /**
5
5
  * The *default* key to access the label of the item.
@@ -18,10 +18,10 @@ export interface WSelectDropdownItem {
18
18
  /**
19
19
  * The *default* key to access the vlue of the item.
20
20
  * This can be overriden using the `item-value-key` property.
21
- * @property {string} value
21
+ * @property {string|number|boolean} value
22
22
  * @see https://antoniandre.github.io/wave-ui/w-select#item-value-key-prop
23
23
  */
24
- value?: string;
24
+ value?: string | number | boolean;
25
25
  /**
26
26
  * Whether or not this list item is disabled.
27
27
  * @property {boolean} disabled
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveSliderProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveSpinnerProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -66,8 +66,7 @@ export interface WaveSpinnerProps {
66
66
  */
67
67
  fade?: boolean;
68
68
  }
69
- export interface WaveSpinnerEmits {
70
- }
69
+ export type WaveSpinnerEmits = {};
71
70
  export interface WaveSpinnerComputeds extends ComputedOptions {
72
71
  /**
73
72
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveStepsProps {
4
4
  /**
5
5
  * TODO: Add Description
@@ -14,8 +14,7 @@ export interface WaveStepsProps {
14
14
  */
15
15
  light?: boolean;
16
16
  }
17
- export interface WaveStepsEmits {
18
- }
17
+ export type WaveStepsEmits = {};
19
18
  export interface WaveStepsComputeds extends ComputedOptions {
20
19
  /**
21
20
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveSwitchProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WTableHeader {
4
4
  /**
5
5
  * The label to display as the column header.
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WTabsItem {
4
4
  /**
5
5
  * The title of the tab. It will use `v-html` to display it.
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveTagProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveTextareaProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveTimelineProps {
4
4
  /**
5
5
  * The items to display in the timeline. Usually an array of objects containing at least a `title`.
@@ -60,8 +60,7 @@ export interface WaveTimelineProps {
60
60
  */
61
61
  light?: boolean;
62
62
  }
63
- export interface WaveTimelineEmits {
64
- }
63
+ export type WaveTimelineEmits = {};
65
64
  export interface WaveTimelineComputeds extends ComputedOptions {
66
65
  /**
67
66
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveToolbarProps {
4
4
  /**
5
5
  * Applies a color to the toolbar's text. Accepts all the color names of the color palette, status colors, or custom colors (learn more about the colors in the `colors` knowledge base page).
@@ -98,8 +98,7 @@ export interface WaveToolbarProps {
98
98
  */
99
99
  light?: boolean;
100
100
  }
101
- export interface WaveToolbarEmits {
102
- }
101
+ export type WaveToolbarEmits = {};
103
102
  export interface WaveToolbarComputeds extends ComputedOptions {
104
103
  /**
105
104
  * TODO: Add Description
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveTooltipProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,5 +1,5 @@
1
- import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
- import { PublicProps, ResolveProps } from '../extra-vue-types';
1
+ import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
3
  export interface WaveTreeProps {
4
4
  /**
5
5
  * ``value` in Vue 2.`
@@ -1,4 +1,4 @@
1
- import { AllowedComponentProps, ComponentCustomProps, ComponentPropsOptions, EmitsOptions, ExtractPropTypes, ObjectEmitsOptions, VNodeProps } from 'vue';
1
+ import type { AllowedComponentProps, ComponentCustomProps, ComponentPropsOptions, EmitsOptions, ExtractPropTypes, ObjectEmitsOptions, VNodeProps } from 'vue';
2
2
  export type EmitsToProps<T extends EmitsOptions> = T extends string[] ? {
3
3
  [K in string & `on${Capitalize<T[number]>}`]?: (...args: any[]) => any;
4
4
  } : T extends ObjectEmitsOptions ? {
@@ -1,5 +1,5 @@
1
- import { App } from 'vue';
2
- import { $waveui } from '@/types/$waveui';
1
+ import type { App } from 'vue';
2
+ import type { $waveui } from '@/types/$waveui';
3
3
  export interface BreakpointConfig {
4
4
  xs?: number;
5
5
  sm?: number;