wave-ui 3.28.0 → 4.0.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 (93) hide show
  1. package/dist/.nojekyll +0 -0
  2. package/dist/types/types/$waveui.d.ts +15 -1
  3. package/dist/types/types/colors.d.ts +2 -0
  4. package/dist/types/types/components/WAccordion.d.ts +92 -6
  5. package/dist/types/types/components/WAutocomplete.d.ts +437 -0
  6. package/dist/types/types/components/WCheckbox.d.ts +34 -0
  7. package/dist/types/types/components/WCheckboxes.d.ts +30 -0
  8. package/dist/types/types/components/WInput.d.ts +34 -0
  9. package/dist/types/types/components/WMenu.d.ts +14 -7
  10. package/dist/types/types/components/WRadio.d.ts +34 -0
  11. package/dist/types/types/components/WRadios.d.ts +30 -0
  12. package/dist/types/types/components/WSelect.d.ts +34 -0
  13. package/dist/types/types/components/WSwitch.d.ts +34 -0
  14. package/dist/types/types/components/WTable.d.ts +7 -0
  15. package/dist/types/types/components/WTooltip.d.ts +22 -8
  16. package/dist/types/types/components/WTransitions.d.ts +104 -0
  17. package/dist/types/types/components/WTransitions.js +2 -0
  18. package/dist/types/types/components/WTree.d.ts +7 -0
  19. package/dist/types/types/components/index.d.ts +2 -1
  20. package/dist/types/types/index.d.ts +1 -0
  21. package/dist/types/types/mixins/detachable.d.ts +7 -0
  22. package/dist/types/types/mixins/detachable.js +2 -0
  23. package/dist/wave-ui.cjs.js +3 -3
  24. package/dist/wave-ui.css +1 -1
  25. package/dist/wave-ui.esm.js +1743 -1365
  26. package/dist/wave-ui.umd.js +3 -3
  27. package/package.json +1 -1
  28. package/src/wave-ui/components/index.js +0 -1
  29. package/src/wave-ui/components/transitions/w-transition-bounce.vue +2 -1
  30. package/src/wave-ui/components/transitions/w-transition-expand.vue +3 -2
  31. package/src/wave-ui/components/transitions/w-transition-fade.vue +2 -1
  32. package/src/wave-ui/components/transitions/w-transition-scale-fade.vue +2 -1
  33. package/src/wave-ui/components/transitions/w-transition-scale.vue +2 -1
  34. package/src/wave-ui/components/transitions/w-transition-slide-fade.vue +2 -1
  35. package/src/wave-ui/components/transitions/w-transition-slide.vue +2 -1
  36. package/src/wave-ui/components/transitions/w-transition-twist.vue +2 -1
  37. package/src/wave-ui/components/w-accordion/index.vue +10 -5
  38. package/src/wave-ui/components/w-accordion/item.vue +29 -14
  39. package/src/wave-ui/components/w-alert.vue +27 -29
  40. package/src/wave-ui/components/w-autocomplete.vue +626 -192
  41. package/src/wave-ui/components/w-badge.vue +54 -53
  42. package/src/wave-ui/components/w-breadcrumbs.vue +7 -9
  43. package/src/wave-ui/components/w-button/button.vue +21 -23
  44. package/src/wave-ui/components/w-button/index.vue +4 -4
  45. package/src/wave-ui/components/w-card.vue +8 -7
  46. package/src/wave-ui/components/w-checkbox.vue +31 -11
  47. package/src/wave-ui/components/w-checkboxes.vue +21 -3
  48. package/src/wave-ui/components/w-confirm.vue +22 -22
  49. package/src/wave-ui/components/w-dialog.vue +1 -1
  50. package/src/wave-ui/components/w-divider.vue +5 -5
  51. package/src/wave-ui/components/w-drawer.vue +3 -3
  52. package/src/wave-ui/components/w-form-element.vue +2 -2
  53. package/src/wave-ui/components/w-icon.vue +12 -14
  54. package/src/wave-ui/components/w-image.vue +1 -1
  55. package/src/wave-ui/components/w-input.vue +43 -25
  56. package/src/wave-ui/components/w-list.vue +11 -12
  57. package/src/wave-ui/components/w-menu.vue +57 -55
  58. package/src/wave-ui/components/w-notification.vue +4 -4
  59. package/src/wave-ui/components/w-progress.vue +6 -7
  60. package/src/wave-ui/components/w-radio.vue +32 -7
  61. package/src/wave-ui/components/w-radios.vue +28 -3
  62. package/src/wave-ui/components/w-rating.vue +7 -9
  63. package/src/wave-ui/components/w-scrollable.vue +4 -4
  64. package/src/wave-ui/components/w-select.vue +119 -101
  65. package/src/wave-ui/components/w-slider.vue +26 -26
  66. package/src/wave-ui/components/w-spinner.vue +5 -7
  67. package/src/wave-ui/components/w-switch.vue +71 -47
  68. package/src/wave-ui/components/w-table.vue +69 -36
  69. package/src/wave-ui/components/w-tabs/index.vue +21 -24
  70. package/src/wave-ui/components/w-tag.vue +35 -38
  71. package/src/wave-ui/components/w-textarea.vue +22 -22
  72. package/src/wave-ui/components/w-timeline.vue +6 -6
  73. package/src/wave-ui/components/w-toolbar.vue +8 -8
  74. package/src/wave-ui/components/w-tooltip.vue +30 -25
  75. package/src/wave-ui/components/w-tree.vue +35 -16
  76. package/src/wave-ui/core.js +9 -1
  77. package/src/wave-ui/mixins/detachable.js +118 -55
  78. package/src/wave-ui/mixins/ripple.js +2 -2
  79. package/src/wave-ui/scss/_base.scss +82 -17
  80. package/src/wave-ui/scss/_colors.scss +6 -75
  81. package/src/wave-ui/scss/_layout.scss +39 -47
  82. package/src/wave-ui/scss/_ripple.scss +2 -2
  83. package/src/wave-ui/scss/_transitions.scss +19 -19
  84. package/src/wave-ui/scss/_typography.scss +8 -9
  85. package/src/wave-ui/scss/variables/_mixins.scss +24 -25
  86. package/src/wave-ui/scss/variables/_variables.scss +4 -149
  87. package/src/wave-ui/utils/colors.js +7 -4
  88. package/src/wave-ui/utils/config.js +3 -4
  89. package/src/wave-ui/utils/dynamic-css.js +42 -20
  90. package/src/wave-ui/utils/ripple.js +3 -2
  91. package/dist/types/types/components/WApp.d.ts +0 -83
  92. package/src/wave-ui/components/w-app.vue +0 -24
  93. /package/dist/types/types/components/{WApp.js → WAutocomplete.js} +0 -0
@@ -172,6 +172,40 @@ export interface WaveInputProps {
172
172
  * @see https://antoniandre.github.io/wave-ui/w-input
173
173
  */
174
174
  files?: Array<any>;
175
+ /**
176
+ * Sets the height of the input field to extra small (~20 px at 14 px base font size).
177
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
178
+ * @property {boolean} xs
179
+ * @see https://antoniandre.github.io/wave-ui/w-input
180
+ */
181
+ xs?: boolean;
182
+ /**
183
+ * Sets the height of the input field to small (~24 px at 14 px base font size).
184
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
185
+ * @property {boolean} sm
186
+ * @see https://antoniandre.github.io/wave-ui/w-input
187
+ */
188
+ sm?: boolean;
189
+ /**
190
+ * Sets the height of the input field to medium, which is the same as the default height (~28 px at 14 px base font size).
191
+ * @property {boolean} md
192
+ * @see https://antoniandre.github.io/wave-ui/w-input
193
+ */
194
+ md?: boolean;
195
+ /**
196
+ * Sets the height of the input field to large (~32 px at 14 px base font size).
197
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
198
+ * @property {boolean} lg
199
+ * @see https://antoniandre.github.io/wave-ui/w-input
200
+ */
201
+ lg?: boolean;
202
+ /**
203
+ * Sets the height of the input field to extra large (~38 px at 14 px base font size).
204
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
205
+ * @property {boolean} xl
206
+ * @see https://antoniandre.github.io/wave-ui/w-input
207
+ */
208
+ xl?: boolean;
175
209
  /**
176
210
  * TODO: Add Description
177
211
  * @property {boolean} dark
@@ -1,5 +1,6 @@
1
1
  import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
2
  import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ import type { WaveDetachableMixinInstance } from '../mixins/detachable';
3
4
  export interface WaveMenuProps {
4
5
  /**
5
6
  * ``value` in Vue 2.`
@@ -234,23 +235,29 @@ export interface WaveMenuMethods extends MethodOptions {
234
235
  }
235
236
  export type WaveMenuSlots = SlotsType<{
236
237
  /**
237
- * `This slot is required and must have the `v-on="on"` directive set on it for the menu to toggle correctly.`
238
+ * Place the element that triggers the menu inside this slot. Event listeners are attached
239
+ * automatically — no `v-on="on"` binding is required on the activator element.
238
240
  * The activator can be any visible DOM element or mounted component.
239
- * @param {any} on TODO: Describe me!
241
+ * When this slot is used (legacy API), the default slot becomes the menu content.
240
242
  * @see https://antoniandre.github.io/wave-ui/w-menu
241
243
  */
242
- 'activator': (_: {
243
- on: any;
244
- }) => any;
244
+ 'activator': () => any;
245
245
  /**
246
- * The menu content.
246
+ * **New API:** When no `#activator` slot is used, the default slot is the activator element.
247
+ * **Legacy API:** When an `#activator` slot is provided, the default slot is the menu content.
247
248
  * @see https://antoniandre.github.io/wave-ui/w-menu
248
249
  */
249
250
  'default': () => any;
251
+ /**
252
+ * The menu body content. Used with the new API (default slot = activator).
253
+ * When `custom` is `false` (default), the content is placed inside a `w-card`.
254
+ * @see https://antoniandre.github.io/wave-ui/w-menu
255
+ */
256
+ 'content': () => any;
250
257
  /**
251
258
  * By default (when `custom` is set to false), the menu uses a `w-card`. This slot allows a custom title for the `w-card`.
252
259
  * @see https://antoniandre.github.io/wave-ui/w-menu
253
260
  */
254
261
  'title': () => any;
255
262
  }>;
256
- export type WMenu = DefineComponent<WaveMenuProps, {}, {}, WaveMenuComputeds, WaveMenuMethods, {}, {}, WaveMenuEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveMenuProps & WaveMenuEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveMenuProps>, WaveMenuSlots>;
263
+ export type WMenu = DefineComponent<WaveMenuProps, {}, WaveDetachableMixinInstance, WaveMenuComputeds, WaveMenuMethods, {}, {}, WaveMenuEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveMenuProps & WaveMenuEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveMenuProps>, WaveMenuSlots>;
@@ -56,6 +56,40 @@ export interface WaveRadioProps {
56
56
  * @see https://antoniandre.github.io/wave-ui/w-radio
57
57
  */
58
58
  noRipple?: boolean;
59
+ /**
60
+ * Sets the radio button size to extra small (~12 px at 14 px base font size).
61
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
62
+ * @property {boolean} xs
63
+ * @see https://antoniandre.github.io/wave-ui/w-radio
64
+ */
65
+ xs?: boolean;
66
+ /**
67
+ * Sets the radio button size to small (~16 px at 14 px base font size).
68
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
69
+ * @property {boolean} sm
70
+ * @see https://antoniandre.github.io/wave-ui/w-radio
71
+ */
72
+ sm?: boolean;
73
+ /**
74
+ * Sets the radio button size to medium, which is the same as the default size (~18 px at 14 px base font size).
75
+ * @property {boolean} md
76
+ * @see https://antoniandre.github.io/wave-ui/w-radio
77
+ */
78
+ md?: boolean;
79
+ /**
80
+ * Sets the radio button size to large (~20 px at 14 px base font size).
81
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
82
+ * @property {boolean} lg
83
+ * @see https://antoniandre.github.io/wave-ui/w-radio
84
+ */
85
+ lg?: boolean;
86
+ /**
87
+ * Sets the radio button size to extra large (~24 px at 14 px base font size).
88
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
89
+ * @property {boolean} xl
90
+ * @see https://antoniandre.github.io/wave-ui/w-radio
91
+ */
92
+ xl?: boolean;
59
93
  /**
60
94
  * TODO: Add Description
61
95
  * @property {boolean} dark
@@ -62,6 +62,36 @@ export interface WaveRadiosProps {
62
62
  * @see https://antoniandre.github.io/wave-ui/colors
63
63
  */
64
64
  labelColor?: string;
65
+ /**
66
+ * Sets all radio buttons to extra small (~12 px at 14 px base font size) via the cascading `--w-size` CSS variable.
67
+ * @property {boolean} xs
68
+ * @see https://antoniandre.github.io/wave-ui/w-radios
69
+ */
70
+ xs?: boolean;
71
+ /**
72
+ * Sets all radio buttons to small (~16 px at 14 px base font size) via the cascading `--w-size` CSS variable.
73
+ * @property {boolean} sm
74
+ * @see https://antoniandre.github.io/wave-ui/w-radios
75
+ */
76
+ sm?: boolean;
77
+ /**
78
+ * Sets all radio buttons to medium, which is the same as the default size (~18 px at 14 px base font size).
79
+ * @property {boolean} md
80
+ * @see https://antoniandre.github.io/wave-ui/w-radios
81
+ */
82
+ md?: boolean;
83
+ /**
84
+ * Sets all radio buttons to large (~20 px at 14 px base font size) via the cascading `--w-size` CSS variable.
85
+ * @property {boolean} lg
86
+ * @see https://antoniandre.github.io/wave-ui/w-radios
87
+ */
88
+ lg?: boolean;
89
+ /**
90
+ * Sets all radio buttons to extra large (~24 px at 14 px base font size) via the cascading `--w-size` CSS variable.
91
+ * @property {boolean} xl
92
+ * @see https://antoniandre.github.io/wave-ui/w-radios
93
+ */
94
+ xl?: boolean;
65
95
  }
66
96
  export interface WaveRadiosEmits {
67
97
  /**
@@ -211,6 +211,40 @@ export interface WaveSelectProps {
211
211
  * @see https://antoniandre.github.io/wave-ui/w-select
212
212
  */
213
213
  fitToContent?: boolean;
214
+ /**
215
+ * Sets the height of the select field to extra small (~20 px at 14 px base font size).
216
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
217
+ * @property {boolean} xs
218
+ * @see https://antoniandre.github.io/wave-ui/w-select
219
+ */
220
+ xs?: boolean;
221
+ /**
222
+ * Sets the height of the select field to small (~24 px at 14 px base font size).
223
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
224
+ * @property {boolean} sm
225
+ * @see https://antoniandre.github.io/wave-ui/w-select
226
+ */
227
+ sm?: boolean;
228
+ /**
229
+ * Sets the height of the select field to medium, which is the same as the default height (~28 px at 14 px base font size).
230
+ * @property {boolean} md
231
+ * @see https://antoniandre.github.io/wave-ui/w-select
232
+ */
233
+ md?: boolean;
234
+ /**
235
+ * Sets the height of the select field to large (~32 px at 14 px base font size).
236
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
237
+ * @property {boolean} lg
238
+ * @see https://antoniandre.github.io/wave-ui/w-select
239
+ */
240
+ lg?: boolean;
241
+ /**
242
+ * Sets the height of the select field to extra large (~38 px at 14 px base font size).
243
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
244
+ * @property {boolean} xl
245
+ * @see https://antoniandre.github.io/wave-ui/w-select
246
+ */
247
+ xl?: boolean;
214
248
  }
215
249
  export interface WaveSelectEmits {
216
250
  /**
@@ -55,6 +55,40 @@ export interface WaveSwitchProps {
55
55
  * @see https://antoniandre.github.io/wave-ui/w-switch
56
56
  */
57
57
  loading?: boolean | number;
58
+ /**
59
+ * Sets the switch size to extra small (~12 px thumb at 14 px base font size).
60
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
61
+ * @property {boolean} xs
62
+ * @see https://antoniandre.github.io/wave-ui/w-switch
63
+ */
64
+ xs?: boolean;
65
+ /**
66
+ * Sets the switch size to small (~16 px thumb at 14 px base font size).
67
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
68
+ * @property {boolean} sm
69
+ * @see https://antoniandre.github.io/wave-ui/w-switch
70
+ */
71
+ sm?: boolean;
72
+ /**
73
+ * Sets the switch size to medium, which is the same as the default size (~18 px thumb at 14 px base font size).
74
+ * @property {boolean} md
75
+ * @see https://antoniandre.github.io/wave-ui/w-switch
76
+ */
77
+ md?: boolean;
78
+ /**
79
+ * Sets the switch size to large (~20 px thumb at 14 px base font size).
80
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
81
+ * @property {boolean} lg
82
+ * @see https://antoniandre.github.io/wave-ui/w-switch
83
+ */
84
+ lg?: boolean;
85
+ /**
86
+ * Sets the switch size to extra large (~24 px thumb at 14 px base font size).
87
+ * Equivalent to setting the CSS variable `--w-size` to the corresponding value.
88
+ * @property {boolean} xl
89
+ * @see https://antoniandre.github.io/wave-ui/w-switch
90
+ */
91
+ xl?: boolean;
58
92
  /**
59
93
  * TODO: Add Description
60
94
  * @property {boolean} dark
@@ -169,6 +169,13 @@ export interface WaveTableProps {
169
169
  * @see https://antoniandre.github.io/wave-ui/w-table
170
170
  */
171
171
  forceSelection?: boolean;
172
+ /**
173
+ * When `true`, disables the pointer ripple on sortable headers and interactive row cells for this table only.
174
+ * Global default still follows `$waveui.config.ripple`.
175
+ * @property {boolean} noRipple
176
+ * @see https://antoniandre.github.io/wave-ui/w-table
177
+ */
178
+ noRipple?: boolean;
172
179
  /**
173
180
  * In order to keep the same row selected after sorting or filtering, each row is assigned a unique identifier.
174
181
  * By default the expanded rows array will use an `id` key, if present in the item object, or will assign an
@@ -1,5 +1,6 @@
1
1
  import type { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
2
  import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ import type { WaveDetachableMixinInstance } from '../mixins/detachable';
3
4
  export interface WaveTooltipProps {
4
5
  /**
5
6
  * ``value` in Vue 2.`
@@ -8,6 +9,12 @@ export interface WaveTooltipProps {
8
9
  * @see https://antoniandre.github.io/wave-ui/w-tooltip
9
10
  */
10
11
  modelValue?: any;
12
+ /**
13
+ * Simple string content for the tooltip. For rich/complex content, use the `#tooltip` slot instead.
14
+ * @property {string} tooltip
15
+ * @see https://antoniandre.github.io/wave-ui/w-tooltip
16
+ */
17
+ tooltip?: string;
11
18
  /**
12
19
  * Triggers the tooltip apparition on activator click instead of hover by default. Another click on the activator will hide the tooltip.
13
20
  * @property {boolean} showOnClick
@@ -159,18 +166,25 @@ export interface WaveTooltipMethods extends MethodOptions {
159
166
  }
160
167
  export type WaveTooltipSlots = SlotsType<{
161
168
  /**
162
- * `This slot is required and must have the `v-on="on"` directive set on it for the tooltip to toggle correctly.`
163
- * The activator can be any visible DOM element or mounted component.
164
- * @param {any} on TODO: Describe me!
169
+ * The activator element the element the tooltip appears around on hover/click.
170
+ * When using the new API (without `#activator`), pass the activator as the default slot
171
+ * and use the `tooltip` prop or `#tooltip` named slot for the tooltip content.
172
+ * When using the legacy API, pass the activator here and put the tooltip content in the
173
+ * default slot.
165
174
  * @see https://antoniandre.github.io/wave-ui/w-tooltip
166
175
  */
167
- 'activator': (_: {
168
- on: any;
169
- }) => any;
176
+ 'activator': () => any;
170
177
  /**
171
- * The tooltip content.
178
+ * **New API:** When no `#activator` slot is used, the default slot is the activator element.
179
+ * **Legacy API:** When an `#activator` slot is provided, the default slot is the tooltip content.
172
180
  * @see https://antoniandre.github.io/wave-ui/w-tooltip
173
181
  */
174
182
  'default': () => any;
183
+ /**
184
+ * Rich tooltip content. Use this slot instead of the `tooltip` prop when the content is
185
+ * complex (HTML, components, multi-line, etc.). Only used with the new API (default slot = activator).
186
+ * @see https://antoniandre.github.io/wave-ui/w-tooltip
187
+ */
188
+ 'tooltip': () => any;
175
189
  }>;
176
- export type WTooltip = DefineComponent<WaveTooltipProps, {}, {}, WaveTooltipComputeds, WaveTooltipMethods, {}, {}, WaveTooltipEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveTooltipProps & WaveTooltipEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveTooltipProps>, WaveTooltipSlots>;
190
+ export type WTooltip = DefineComponent<WaveTooltipProps, {}, WaveDetachableMixinInstance, WaveTooltipComputeds, WaveTooltipMethods, {}, {}, WaveTooltipEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveTooltipProps & WaveTooltipEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveTooltipProps>, WaveTooltipSlots>;
@@ -0,0 +1,104 @@
1
+ import type { ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import type { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ export interface WaveTransitionBaseProps {
4
+ /**
5
+ * Triggers the transition on the initial render of the element.
6
+ * @property {boolean} appear
7
+ * @see https://antoniandre.github.io/wave-ui/transitions
8
+ */
9
+ appear?: boolean;
10
+ /**
11
+ * Overrides the default CSS transition/animation duration (in milliseconds or as a CSS value string).
12
+ * @property {number | string} duration
13
+ * @see https://antoniandre.github.io/wave-ui/transitions
14
+ */
15
+ duration?: number | string;
16
+ /**
17
+ * Controls the timing of enter/leave transitions when switching between two elements.
18
+ * Use `'out-in'` so the current element transitions out before the new one enters, or
19
+ * `'in-out'` for the reverse order. Leave unset for simultaneous enter + leave.
20
+ * @property {'out-in' | 'in-out'} mode
21
+ * @see https://vuejs.org/guide/built-ins/transition.html#transition-modes
22
+ * @see https://antoniandre.github.io/wave-ui/transitions
23
+ */
24
+ mode?: 'out-in' | 'in-out';
25
+ }
26
+ export interface WaveTransitionDirectionProps extends WaveTransitionBaseProps {
27
+ /**
28
+ * Slides the element from / towards the left.
29
+ * @property {boolean} left
30
+ * @see https://antoniandre.github.io/wave-ui/transitions
31
+ */
32
+ left?: boolean;
33
+ /**
34
+ * Slides the element from / towards the right.
35
+ * @property {boolean} right
36
+ * @see https://antoniandre.github.io/wave-ui/transitions
37
+ */
38
+ right?: boolean;
39
+ /**
40
+ * Slides the element from / towards the top.
41
+ * @property {boolean} up
42
+ * @see https://antoniandre.github.io/wave-ui/transitions
43
+ */
44
+ up?: boolean;
45
+ /**
46
+ * Slides the element from / towards the bottom (default direction).
47
+ * @property {boolean} down
48
+ * @see https://antoniandre.github.io/wave-ui/transitions
49
+ */
50
+ down?: boolean;
51
+ }
52
+ type DefaultSlot = SlotsType<{
53
+ /**
54
+ * The element or component to transition.
55
+ * @see https://antoniandre.github.io/wave-ui/transitions
56
+ */
57
+ 'default': () => any;
58
+ }>;
59
+ export type WTransitionFadeProps = WaveTransitionBaseProps;
60
+ export type WTransitionFade = DefineComponent<WTransitionFadeProps, {}, {}, ComputedOptions, MethodOptions, {}, {}, EmitsOptions, string, PublicProps, ResolveProps<WTransitionFadeProps, EmitsOptions>, ExtractDefaultPropTypes<WTransitionFadeProps>, DefaultSlot>;
61
+ export type WTransitionScaleProps = WaveTransitionBaseProps;
62
+ export type WTransitionScale = DefineComponent<WTransitionScaleProps, {}, {}, ComputedOptions, MethodOptions, {}, {}, EmitsOptions, string, PublicProps, ResolveProps<WTransitionScaleProps, EmitsOptions>, ExtractDefaultPropTypes<WTransitionScaleProps>, DefaultSlot>;
63
+ export type WTransitionScaleFadeProps = WaveTransitionBaseProps;
64
+ export type WTransitionScaleFade = DefineComponent<WTransitionScaleFadeProps, {}, {}, ComputedOptions, MethodOptions, {}, {}, EmitsOptions, string, PublicProps, ResolveProps<WTransitionScaleFadeProps, EmitsOptions>, ExtractDefaultPropTypes<WTransitionScaleFadeProps>, DefaultSlot>;
65
+ export type WTransitionBounceProps = WaveTransitionBaseProps;
66
+ export type WTransitionBounce = DefineComponent<WTransitionBounceProps, {}, {}, ComputedOptions, MethodOptions, {}, {}, EmitsOptions, string, PublicProps, ResolveProps<WTransitionBounceProps, EmitsOptions>, ExtractDefaultPropTypes<WTransitionBounceProps>, DefaultSlot>;
67
+ export type WTransitionTwistProps = WaveTransitionBaseProps;
68
+ export type WTransitionTwist = DefineComponent<WTransitionTwistProps, {}, {}, ComputedOptions, MethodOptions, {}, {}, EmitsOptions, string, PublicProps, ResolveProps<WTransitionTwistProps, EmitsOptions>, ExtractDefaultPropTypes<WTransitionTwistProps>, DefaultSlot>;
69
+ export interface WTransitionExpandProps {
70
+ /**
71
+ * Animates the element's width (and its horizontal margins, paddings and borders).
72
+ * Defaults to `true` when neither `x` nor `y` is set.
73
+ * @property {boolean} x
74
+ * @see https://antoniandre.github.io/wave-ui/transitions
75
+ */
76
+ x?: boolean;
77
+ /**
78
+ * Animates the element's height (and its vertical margins, paddings and borders).
79
+ * Defaults to `true` when neither `x` nor `y` is set.
80
+ * @property {boolean} y
81
+ * @see https://antoniandre.github.io/wave-ui/transitions
82
+ */
83
+ y?: boolean;
84
+ /**
85
+ * Duration of the JavaScript-driven expand/collapse animation in milliseconds.
86
+ * @property {number} duration - Default: 250
87
+ * @see https://antoniandre.github.io/wave-ui/transitions
88
+ */
89
+ duration?: number;
90
+ /**
91
+ * Controls the timing of enter/leave transitions when switching between two elements.
92
+ * Defaults to `'out-in'` so the collapsing element finishes before the expanding one starts.
93
+ * @property {'out-in' | 'in-out'} mode - Default: 'out-in'
94
+ * @see https://vuejs.org/guide/built-ins/transition.html#transition-modes
95
+ * @see https://antoniandre.github.io/wave-ui/transitions
96
+ */
97
+ mode?: 'out-in' | 'in-out';
98
+ }
99
+ export type WTransitionExpand = DefineComponent<WTransitionExpandProps, {}, {}, ComputedOptions, MethodOptions, {}, {}, EmitsOptions, string, PublicProps, ResolveProps<WTransitionExpandProps, EmitsOptions>, ExtractDefaultPropTypes<WTransitionExpandProps>, DefaultSlot>;
100
+ export type WTransitionSlideProps = WaveTransitionDirectionProps;
101
+ export type WTransitionSlide = DefineComponent<WTransitionSlideProps, {}, {}, ComputedOptions, MethodOptions, {}, {}, EmitsOptions, string, PublicProps, ResolveProps<WTransitionSlideProps, EmitsOptions>, ExtractDefaultPropTypes<WTransitionSlideProps>, DefaultSlot>;
102
+ export type WTransitionSlideFadeProps = WaveTransitionDirectionProps;
103
+ export type WTransitionSlideFade = DefineComponent<WTransitionSlideFadeProps, {}, {}, ComputedOptions, MethodOptions, {}, {}, EmitsOptions, string, PublicProps, ResolveProps<WTransitionSlideFadeProps, EmitsOptions>, ExtractDefaultPropTypes<WTransitionSlideFadeProps>, DefaultSlot>;
104
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -98,6 +98,13 @@ export interface WaveTreeProps {
98
98
  * @see https://antoniandre.github.io/wave-ui/w-tree
99
99
  */
100
100
  selectable?: boolean;
101
+ /**
102
+ * When `true`, disables the pointer ripple on selectable nodes for this tree only.
103
+ * Global default still follows `$waveui.config.ripple`.
104
+ * @property {boolean} noRipple
105
+ * @see https://antoniandre.github.io/wave-ui/w-tree
106
+ */
107
+ noRipple?: boolean;
101
108
  /**
102
109
  * TODO: Add Description
103
110
  * @property {boolean} deepReactivity
@@ -1,6 +1,6 @@
1
1
  export { WAccordion } from './WAccordion';
2
2
  export { WAlert } from './WAlert';
3
- export { WApp } from './WApp';
3
+ export { WAutocomplete, WAutocompleteItem } from './WAutocomplete';
4
4
  export { WBadge } from './WBadge';
5
5
  export { WBreadcrumbs } from './WBreadcrumbs';
6
6
  export { WButton } from './WButton';
@@ -41,3 +41,4 @@ export { WTimeline } from './WTimeline';
41
41
  export { WToolbar } from './WToolbar';
42
42
  export { WTooltip } from './WTooltip';
43
43
  export { WTree } from './WTree';
44
+ export { WTransitionFade, WTransitionScale, WTransitionScaleFade, WTransitionBounce, WTransitionTwist, WTransitionExpand, WTransitionSlide, WTransitionSlideFade, type WaveTransitionBaseProps, type WaveTransitionDirectionProps, type WTransitionFadeProps, type WTransitionScaleProps, type WTransitionScaleFadeProps, type WTransitionBounceProps, type WTransitionTwistProps, type WTransitionExpandProps, type WTransitionSlideProps, type WTransitionSlideFadeProps } from './WTransitions';
@@ -2,4 +2,5 @@ import { WaveUIPlugin } from './plugin';
2
2
  export type * from './$waveui';
3
3
  export type * from './colors';
4
4
  export type * from './components';
5
+ export type * from './mixins/detachable';
5
6
  export default WaveUIPlugin;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * DetachableMixin adds this reactive field on `w-menu` and `w-tooltip`.
3
+ * It is internal — used so `<Teleport>` is omitted until `mounted()` for SSR/hydration parity (e.g. Nuxt).
4
+ */
5
+ export interface WaveDetachableMixinInstance {
6
+ detachableDomReady: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });