wave-ui 3.10.1 → 3.12.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 (109) hide show
  1. package/dist/types/$waveui.d.ts +221 -0
  2. package/dist/types/$waveui.js +2 -0
  3. package/dist/types/colors.d.ts +503 -0
  4. package/dist/types/colors.js +2 -0
  5. package/dist/types/components/WAccordion.d.ts +226 -0
  6. package/dist/types/components/WAccordion.js +2 -0
  7. package/dist/types/components/WAlert.d.ts +225 -0
  8. package/dist/types/components/WAlert.js +2 -0
  9. package/dist/types/components/WApp.d.ts +84 -0
  10. package/dist/types/components/WApp.js +2 -0
  11. package/dist/types/components/WBadge.d.ts +194 -0
  12. package/dist/types/components/WBadge.js +2 -0
  13. package/dist/types/components/WBreadcrumbs.d.ts +129 -0
  14. package/dist/types/components/WBreadcrumbs.js +2 -0
  15. package/dist/types/components/WButton.d.ts +218 -0
  16. package/dist/types/components/WButton.js +2 -0
  17. package/dist/types/components/WCard.d.ts +140 -0
  18. package/dist/types/components/WCard.js +2 -0
  19. package/dist/types/components/WCheckbox.d.ts +132 -0
  20. package/dist/types/components/WCheckbox.js +2 -0
  21. package/dist/types/components/WCheckboxes.d.ts +141 -0
  22. package/dist/types/components/WCheckboxes.js +2 -0
  23. package/dist/types/components/WConfirm.d.ts +250 -0
  24. package/dist/types/components/WConfirm.js +2 -0
  25. package/dist/types/components/WDialog.d.ts +189 -0
  26. package/dist/types/components/WDialog.js +2 -0
  27. package/dist/types/components/WDivider.d.ts +49 -0
  28. package/dist/types/components/WDivider.js +2 -0
  29. package/dist/types/components/WDrawer.d.ts +249 -0
  30. package/dist/types/components/WDrawer.js +2 -0
  31. package/dist/types/components/WFlex.d.ts +137 -0
  32. package/dist/types/components/WFlex.js +2 -0
  33. package/dist/types/components/WForm.d.ts +165 -0
  34. package/dist/types/components/WForm.js +2 -0
  35. package/dist/types/components/WFormElement.d.ts +112 -0
  36. package/dist/types/components/WFormElement.js +2 -0
  37. package/dist/types/components/WGrid.d.ts +51 -0
  38. package/dist/types/components/WGrid.js +2 -0
  39. package/dist/types/components/WIcon.d.ts +167 -0
  40. package/dist/types/components/WIcon.js +2 -0
  41. package/dist/types/components/WImage.d.ts +172 -0
  42. package/dist/types/components/WImage.js +2 -0
  43. package/dist/types/components/WInput.d.ts +352 -0
  44. package/dist/types/components/WInput.js +2 -0
  45. package/dist/types/components/WList.d.ts +336 -0
  46. package/dist/types/components/WList.js +2 -0
  47. package/dist/types/components/WMenu.d.ts +250 -0
  48. package/dist/types/components/WMenu.js +2 -0
  49. package/dist/types/components/WNotification.d.ts +283 -0
  50. package/dist/types/components/WNotification.js +2 -0
  51. package/dist/types/components/WNotificationManager.d.ts +33 -0
  52. package/dist/types/components/WNotificationManager.js +2 -0
  53. package/dist/types/components/WOverlay.d.ts +118 -0
  54. package/dist/types/components/WOverlay.js +2 -0
  55. package/dist/types/components/WProgress.d.ts +177 -0
  56. package/dist/types/components/WProgress.js +2 -0
  57. package/dist/types/components/WRadio.d.ts +121 -0
  58. package/dist/types/components/WRadio.js +2 -0
  59. package/dist/types/components/WRadios.d.ts +129 -0
  60. package/dist/types/components/WRadios.js +2 -0
  61. package/dist/types/components/WRating.d.ts +176 -0
  62. package/dist/types/components/WRating.js +2 -0
  63. package/dist/types/components/WSelect.d.ts +416 -0
  64. package/dist/types/components/WSelect.js +2 -0
  65. package/dist/types/components/WSlider.d.ts +263 -0
  66. package/dist/types/components/WSlider.js +2 -0
  67. package/dist/types/components/WSpinner.d.ts +101 -0
  68. package/dist/types/components/WSpinner.js +2 -0
  69. package/dist/types/components/WSteps.d.ts +29 -0
  70. package/dist/types/components/WSteps.js +2 -0
  71. package/dist/types/components/WSwitch.d.ts +132 -0
  72. package/dist/types/components/WSwitch.js +2 -0
  73. package/dist/types/components/WTable.d.ts +504 -0
  74. package/dist/types/components/WTable.js +2 -0
  75. package/dist/types/components/WTabs.d.ts +343 -0
  76. package/dist/types/components/WTabs.js +2 -0
  77. package/dist/types/components/WTag.d.ts +160 -0
  78. package/dist/types/components/WTag.js +2 -0
  79. package/dist/types/components/WTextarea.d.ts +257 -0
  80. package/dist/types/components/WTextarea.js +2 -0
  81. package/dist/types/components/WTimeline.d.ts +102 -0
  82. package/dist/types/components/WTimeline.js +2 -0
  83. package/dist/types/components/WToolbar.d.ts +134 -0
  84. package/dist/types/components/WToolbar.js +2 -0
  85. package/dist/types/components/WTooltip.d.ts +170 -0
  86. package/dist/types/components/WTooltip.js +2 -0
  87. package/dist/types/components/WTree.d.ts +359 -0
  88. package/dist/types/components/WTree.js +2 -0
  89. package/dist/types/components/index.d.ts +42 -0
  90. package/dist/types/components/index.js +2 -0
  91. package/dist/types/extra-vue-types.d.ts +8 -0
  92. package/dist/types/extra-vue-types.js +2 -0
  93. package/dist/types/index.d.ts +5 -0
  94. package/dist/types/index.js +4 -0
  95. package/dist/types/plugin.d.ts +19 -0
  96. package/dist/types/plugin.js +2 -0
  97. package/dist/wave-ui.cjs.js +1 -1
  98. package/dist/wave-ui.css +1 -1
  99. package/dist/wave-ui.es.js +359 -333
  100. package/dist/wave-ui.umd.js +1 -1
  101. package/package.json +8 -2
  102. package/src/wave-ui/components/w-autocomplete.vue +1 -8
  103. package/src/wave-ui/components/w-input.vue +1 -0
  104. package/src/wave-ui/components/w-parallax.vue +0 -1
  105. package/src/wave-ui/components/w-select.vue +10 -8
  106. package/src/wave-ui/components/w-switch.vue +1 -1
  107. package/src/wave-ui/components/w-table.vue +18 -1
  108. package/src/wave-ui/components/w-textarea.vue +12 -10
  109. package/src/wave-ui/index.d.ts +21 -0
@@ -0,0 +1,343 @@
1
+ import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ export interface WTabsItem {
4
+ /**
5
+ * The title of the tab. It will use `v-html` to display it.
6
+ * NOTE: This key can be overridden by the `itemTitleKey` prop.
7
+ * @property {string} [title]
8
+ */
9
+ title?: string;
10
+ /**
11
+ * The content of the tab. It will use `v-html` to display it.
12
+ * NOTE: This key can be overridden by the `itemContentKey` prop.
13
+ * @property {string} [content]
14
+ */
15
+ content?: string;
16
+ /**
17
+ * Any additional content you'd like to pass to the tab, or for custom keys.
18
+ */
19
+ [key: string]: any;
20
+ }
21
+ export interface WaveTabsProps {
22
+ /**
23
+ * `value` in Vue 2.
24
+ * Provide a tab index (a number starting from 0) to open it. This value gets updated when using a v-model.
25
+ * @property {number|string} modelValue
26
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
27
+ */
28
+ modelValue?: number | string;
29
+ /**
30
+ * Applies a color to the each tab title'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).
31
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
32
+ * @property {string} color
33
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
34
+ * @see https://antoniandre.github.io/wave-ui/colors
35
+ */
36
+ color?: string;
37
+ /**
38
+ * Applies a color to the each tab title's background. 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).
39
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
40
+ * @property {string} bgColor
41
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
42
+ * @see https://antoniandre.github.io/wave-ui/colors
43
+ */
44
+ bgColor?: string;
45
+ /**
46
+ * Expecting an array of objects. Each object being an tab item, it should include a `title` and `content` attributes.
47
+ * Alternatively, you can provide an integer number (call it `x`), to loop through and create `x` tabs. You can then use the individual slots `item-title.x` & `item-content.x` to define each item title and content.
48
+ * @property {Array<WTabsItem>|number} items
49
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
50
+ */
51
+ items?: Array<WTabsItem> | number;
52
+ /**
53
+ * Specifies the name of the attribute in each item object where to find the item's unique ID.
54
+ * Having a unique ID is important when injecting and replacing tabs. If no unique id is provided, Wave UI will generate one and `inject it in each item`.
55
+ * @property {string} itemIdKey - Default: 'id'
56
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
57
+ */
58
+ itemIdKey?: string;
59
+ /**
60
+ * Specifies the name of the attribute in each item object where to find the item's title string.
61
+ * @property {string} itemTitleKey - Default: 'title'
62
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
63
+ */
64
+ itemTitleKey?: string;
65
+ /**
66
+ * Specifies the name of the attribute in each item object where to find the item's content string.
67
+ * @property {string} itemContentKey - Default: 'content'
68
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
69
+ */
70
+ itemContentKey?: string;
71
+ /**
72
+ * Applies a custom CSS class to the tab title.
73
+ * @property {string} titleClass
74
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
75
+ */
76
+ titleClass?: string;
77
+ /**
78
+ * Applies a custom CSS class to the active tab title.
79
+ * @property {string} activeClass - Default: 'primary'
80
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
81
+ */
82
+ activeClass?: string;
83
+ /**
84
+ * When set to `true`, removes the slider under the active tab title.
85
+ * @property {boolean} noSlider
86
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
87
+ */
88
+ noSlider?: boolean;
89
+ /**
90
+ * When set to `true`, places the slider under the active tab title text in a pill shape.
91
+ * @property {boolean} pillSlider
92
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
93
+ */
94
+ pillSlider?: boolean;
95
+ /**
96
+ * Provide a custom color for the tabs slider (`primary` by default).
97
+ * 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
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
99
+ * @property {string} sliderColor - Default: 'primary'
100
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
101
+ * @see https://antoniandre.github.io/wave-ui/colors
102
+ */
103
+ sliderColor?: string;
104
+ /**
105
+ * Applies a custom CSS class to the tab content.
106
+ * @property {string} contentClass
107
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
108
+ */
109
+ contentClass?: string;
110
+ /**
111
+ * Applies a particular transition to the tab contents when switching tab.
112
+ * Check all the transitions that apply to this component in the `Content transitions` example.
113
+ * @property {string|boolean} transition - Default: ''
114
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
115
+ * @see https://antoniandre.github.io/wave-ui/#content-transitions
116
+ */
117
+ transition?: string | boolean;
118
+ /**
119
+ * When set to `true`, the tabs titles will occupy the full available width.
120
+ * @property {boolean} fillBar
121
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
122
+ */
123
+ fillBar?: boolean;
124
+ /**
125
+ * Centers the tabs titles.
126
+ * @property {boolean} center
127
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
128
+ */
129
+ center?: boolean;
130
+ /**
131
+ * Aligns the tabs titles to the right.
132
+ * @property {boolean} right
133
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
134
+ */
135
+ right?: boolean;
136
+ /**
137
+ * Applies the card style on all the tabs titles.
138
+ * @property {boolean} card
139
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
140
+ */
141
+ card?: boolean;
142
+ /**
143
+ * TODO: Add Description
144
+ * @property {boolean} dark
145
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
146
+ */
147
+ dark?: boolean;
148
+ /**
149
+ * TODO: Add Description
150
+ * @property {boolean} light
151
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
152
+ */
153
+ light?: boolean;
154
+ /**
155
+ * When set to `true` and by default, the tabs will be kept alive. Which means that the state of the components in each tab will be maintained when switching tabs and the `mounted` hook will only be run the first time it is open.
156
+ * When explicitly set to `false`, the tab state will be reset upon each reopening, and the `mounted` hook will be run again.
157
+ * The default behavior is to keep the tabs alive, but unmount any inactive tab from the DOM.
158
+ * You can read more about the keep-alive behavior in the `Vue official documentation for keep-alive <i class="w-icon mdi mdi-open-in-new"></i>`.
159
+ * @property {boolean} keepAlive - Default: true
160
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
161
+ * @see https://antoniandre.github.io/wave-ui/https://vuejs.org/guide/built-ins/keep-alive.html
162
+ */
163
+ keepAlive?: boolean;
164
+ /**
165
+ * `Will deactivate the `keep-alive` prop.` When set to `true`, the tabs will always stay in the DOM (even when not the active tab), unless they are deleted in the tabs array.
166
+ * Note that the `mounted` hook will be run once per tab, as soon as they are appended to the DOM.
167
+ * The default behavior is to keep the tabs alive, but unmount any inactive tab from the DOM.
168
+ * @property {boolean} keepInDom - Default: false
169
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
170
+ */
171
+ keepInDom?: boolean;
172
+ }
173
+ export interface WaveTabsEmits {
174
+ /**
175
+ * Emitted each time the current tab changes.<br>Updates the v-model value in Vue 2.x only.
176
+ * @param {Array<boolean>} tabsOpened - An array of booleans representing the active state of each tab.
177
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
178
+ */
179
+ 'onInput'?: (tabsOpened: Array<boolean>) => void;
180
+ /**
181
+ * Emitted each time the current tab changes.<br>Updates the v-model value in Vue 3 only.
182
+ * @param {Array<boolean>} tabsOpened - An array of booleans representing the active state of each tab.
183
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
184
+ */
185
+ 'onUpdate:modelValue'?: (tabsOpened: Array<boolean>) => void;
186
+ /**
187
+ * Emitted on each tab title focus.
188
+ * @param {WTabsItem} tab - The focused tab item object.
189
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
190
+ */
191
+ 'onFocus'?: (tab: WTabsItem) => void;
192
+ }
193
+ export interface WaveTabsComputeds extends ComputedOptions {
194
+ /**
195
+ * TODO: Add Description
196
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
197
+ */
198
+ transitionName: ComputedGetter<any>;
199
+ /**
200
+ * TODO: Add Description
201
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
202
+ */
203
+ transitionMode: ComputedGetter<any>;
204
+ /**
205
+ * TODO: Add Description
206
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
207
+ */
208
+ direction: ComputedGetter<any>;
209
+ /**
210
+ * TODO: Add Description
211
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
212
+ */
213
+ activeTab: ComputedGetter<any>;
214
+ /**
215
+ * TODO: Add Description
216
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
217
+ */
218
+ tabsByUid: ComputedGetter<any>;
219
+ /**
220
+ * TODO: Add Description
221
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
222
+ */
223
+ tabsClasses: ComputedGetter<any>;
224
+ /**
225
+ * TODO: Add Description
226
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
227
+ */
228
+ tabsBarClasses: ComputedGetter<any>;
229
+ /**
230
+ * TODO: Add Description
231
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
232
+ */
233
+ sliderStyles: ComputedGetter<any>;
234
+ }
235
+ export interface WaveTabsMethods extends MethodOptions {
236
+ /**
237
+ * TODO: Add Description
238
+ * @param {any} item
239
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
240
+ */
241
+ addTab(item: any): void;
242
+ /**
243
+ * TODO: Add Description
244
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
245
+ */
246
+ refreshTabs(): void;
247
+ /**
248
+ * TODO: Add Description
249
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
250
+ */
251
+ reopenTheActiveTab(): void;
252
+ /**
253
+ * TODO: Add Description
254
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
255
+ */
256
+ onResize(): void;
257
+ /**
258
+ * TODO: Add Description
259
+ * @param {any} item
260
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
261
+ */
262
+ barItemClasses(item: any): void;
263
+ /**
264
+ * TODO: Add Description
265
+ * @param {any} uid
266
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
267
+ */
268
+ openTab(uid: any): void;
269
+ /**
270
+ * TODO: Add Description
271
+ * @param {any} [domLookup] - true
272
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
273
+ */
274
+ updateSlider(domLookup?: any): void;
275
+ /**
276
+ * TODO: Add Description
277
+ * @param {any} index
278
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
279
+ */
280
+ updateActiveTab(index: any): void;
281
+ /**
282
+ * TODO: Add Description
283
+ * @param {any} item
284
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
285
+ */
286
+ getOriginalItem(item: any): void;
287
+ }
288
+ export type WaveTabsSlots = SlotsType<{
289
+ /**
290
+ * Provide a custom title for every tab. Applies to all the tabs, but can be overridden by the `item-title.x` slot.
291
+ * @param {WTabsItem} item The current tab object.
292
+ * @param {number} index The tab index in the array of tabs. Starts at 1 to be consistent with the `item.x` slot.
293
+ * @param {boolean} active A boolean representing the active state of the tab.
294
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
295
+ */
296
+ 'item-title': (_: {
297
+ item: WTabsItem;
298
+ index: number;
299
+ active: boolean;
300
+ }) => any;
301
+ /**
302
+ * Any addition content to be appended to the end of the tabs bar
303
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
304
+ */
305
+ 'tabs-bar-extra': () => any;
306
+ /**
307
+ * Provide a custom content for every tab. Applies to all the tabs, but can be overridden by the `item-content.x` slot.
308
+ * @param {WTabsItem} item The current tab object.
309
+ * @param {number} index The tab index in the array of tabs. Starts at 1 to be consistent with the `item.x` slot.
310
+ * @param {boolean} active A boolean representing the active state of the tab.
311
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
312
+ */
313
+ 'item-content': (_: {
314
+ item: WTabsItem;
315
+ index: number;
316
+ active: boolean;
317
+ }) => any;
318
+ /**
319
+ * Provide a custom title for every tab. Applies to all the tabs, but can be overridden by the `item-title.x` slot.
320
+ * @param {WTabsItem} item The current tab object.
321
+ * @param {number} index The tab index in the array of tabs. Starts at 1 to be consistent with the `item.x` slot.
322
+ * @param {boolean} active A boolean representing the active state of the tab.
323
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
324
+ */
325
+ [key: `item-title.${number}`]: (_: {
326
+ item: WTabsItem;
327
+ index: number;
328
+ active: boolean;
329
+ }) => any;
330
+ /**
331
+ * Provide a custom content for every tab. Applies to all the tabs, but can be overridden by the `item-content.x` slot.
332
+ * @param {WTabsItem} item The current tab object.
333
+ * @param {number} index The tab index in the array of tabs. Starts at 1 to be consistent with the `item.x` slot.
334
+ * @param {boolean} active A boolean representing the active state of the tab.
335
+ * @see https://antoniandre.github.io/wave-ui/w-tabs
336
+ */
337
+ [key: `item-content.${number}`]: (_: {
338
+ item: WTabsItem;
339
+ index: number;
340
+ active: boolean;
341
+ }) => any;
342
+ }>;
343
+ export type WTabs = DefineComponent<WaveTabsProps, {}, {}, WaveTabsComputeds, WaveTabsMethods, {}, {}, WaveTabsEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveTabsProps & WaveTabsEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveTabsProps>, WaveTabsSlots>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,160 @@
1
+ import { ComputedGetter, ComputedOptions, DefineComponent, EmitsOptions, ExtractDefaultPropTypes, MethodOptions, SlotsType } from 'vue';
2
+ import { PublicProps, ResolveProps } from '../extra-vue-types';
3
+ export interface WaveTagProps {
4
+ /**
5
+ * ``value` in Vue 2.`
6
+ * When a tag has a `v-model` or `value`, it becomes toggleable (two different states) and clickable. When the user clicks it, its `v-model` boolean value is updated.
7
+ * @property {boolean|number} modelValue - Default: -1
8
+ * @see https://antoniandre.github.io/wave-ui/w-tag
9
+ */
10
+ modelValue?: boolean | number;
11
+ /**
12
+ * Applies a color to the tag'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).
13
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
14
+ * @property {string} color
15
+ * @see https://antoniandre.github.io/wave-ui/w-tag
16
+ * @see https://antoniandre.github.io/wave-ui/colors
17
+ */
18
+ color?: string;
19
+ /**
20
+ * Applies a color to the tag's background. 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).
21
+ * Providing a color hex, rgb(a) or hsl(a) will not work.
22
+ * @property {string} bgColor
23
+ * @see https://antoniandre.github.io/wave-ui/w-tag
24
+ * @see https://antoniandre.github.io/wave-ui/colors
25
+ */
26
+ bgColor?: string;
27
+ /**
28
+ * Applies a drop shadow to the tag and removes the default border.
29
+ * @property {boolean} shadow
30
+ * @see https://antoniandre.github.io/wave-ui/w-tag
31
+ */
32
+ shadow?: boolean;
33
+ /**
34
+ * Removes the default border-radius and sets sharp edges on the tag.
35
+ * @property {boolean} tile
36
+ * @see https://antoniandre.github.io/wave-ui/w-tag
37
+ */
38
+ tile?: boolean;
39
+ /**
40
+ * Sets a maximum border-radius on the corners of the tag, giving it a round look.
41
+ * @property {boolean} round
42
+ * @see https://antoniandre.github.io/wave-ui/w-tag
43
+ */
44
+ round?: boolean;
45
+ /**
46
+ * Adds a close button in the tag. On click of that button, the `v-model` boolean value is updated. You can then decide to hide the tag with a v-if or v-show based on the `v-model` value.
47
+ * @property {boolean} closable
48
+ * @see https://antoniandre.github.io/wave-ui/w-tag
49
+ */
50
+ closable?: boolean;
51
+ /**
52
+ * The outline style applies the provided `color` (by default the color is inherited) to the text and border and no background color is set.
53
+ * @property {boolean} outline
54
+ * @see https://antoniandre.github.io/wave-ui/w-tag
55
+ */
56
+ outline?: boolean;
57
+ /**
58
+ * Removes the default border from the tag element.
59
+ * @property {boolean} noBorder
60
+ * @see https://antoniandre.github.io/wave-ui/w-tag
61
+ */
62
+ noBorder?: boolean;
63
+ /**
64
+ * Sets the size of the tag.
65
+ * @property {boolean} xs
66
+ * @see https://antoniandre.github.io/wave-ui/w-tag
67
+ */
68
+ xs?: boolean;
69
+ /**
70
+ * Sets the size of the tag.
71
+ * @property {boolean} sm
72
+ * @see https://antoniandre.github.io/wave-ui/w-tag
73
+ */
74
+ sm?: boolean;
75
+ /**
76
+ * Sets the size of the tag.
77
+ * @property {boolean} md
78
+ * @see https://antoniandre.github.io/wave-ui/w-tag
79
+ */
80
+ md?: boolean;
81
+ /**
82
+ * Sets the size of the tag.
83
+ * @property {boolean} lg
84
+ * @see https://antoniandre.github.io/wave-ui/w-tag
85
+ */
86
+ lg?: boolean;
87
+ /**
88
+ * Sets the size of the tag.
89
+ * @property {boolean} xl
90
+ * @see https://antoniandre.github.io/wave-ui/w-tag
91
+ */
92
+ xl?: boolean;
93
+ /**
94
+ * Sets a width on the tag.
95
+ * Accepts a string made of a value and a unit (e.g. `2.5em`) or a number (e.g. `45`) that will be a pixel value.
96
+ * @property {number|string} width
97
+ * @see https://antoniandre.github.io/wave-ui/w-tag
98
+ */
99
+ width?: number | string;
100
+ /**
101
+ * Sets a height on the tag.
102
+ * Accepts a string made of a value and a unit (e.g. `2.5em`) or a number (e.g. `45`) that will be a pixel value.
103
+ * @property {number|string} height
104
+ * @see https://antoniandre.github.io/wave-ui/w-tag
105
+ */
106
+ height?: number | string;
107
+ /**
108
+ * When set to true, the text color will be set to white.
109
+ * @property {boolean} dark
110
+ * @see https://antoniandre.github.io/wave-ui/w-tag
111
+ */
112
+ dark?: boolean;
113
+ /**
114
+ * TODO: Add Description
115
+ * @property {boolean} light
116
+ * @see https://antoniandre.github.io/wave-ui/w-tag
117
+ */
118
+ light?: boolean;
119
+ }
120
+ export interface WaveTagEmits {
121
+ /**
122
+ * For vue 2 only.<br>If a <code>value</code> or <code>v-model</code> is provided, the tag becomes toggleable on click (two states).<br>Updates the v-model value in Vue 2.x only.
123
+ * @param {any} renameMe1 - A Boolean representing the active state of the tag.
124
+ * @see https://antoniandre.github.io/wave-ui/w-tag
125
+ */
126
+ 'onInput'?: (renameMe1: any) => void;
127
+ /**
128
+ * For vue 3 only.<br>If a <code>model-value</code> or <code>v-model</code> is provided, the tag becomes toggleable on click (two states).<br>Updates the v-model value in Vue 3 only.
129
+ * @param {any} renameMe1 - A Boolean representing the active state of the tag.
130
+ * @see https://antoniandre.github.io/wave-ui/w-tag
131
+ */
132
+ 'onUpdate:modelValue'?: (renameMe1: any) => void;
133
+ }
134
+ export interface WaveTagComputeds extends ComputedOptions {
135
+ /**
136
+ * TODO: Add Description
137
+ * @see https://antoniandre.github.io/wave-ui/w-tag
138
+ */
139
+ presetSize: ComputedGetter<any>;
140
+ /**
141
+ * TODO: Add Description
142
+ * @see https://antoniandre.github.io/wave-ui/w-tag
143
+ */
144
+ classes: ComputedGetter<any>;
145
+ /**
146
+ * TODO: Add Description
147
+ * @see https://antoniandre.github.io/wave-ui/w-tag
148
+ */
149
+ styles: ComputedGetter<any>;
150
+ }
151
+ export interface WaveTagMethods extends MethodOptions {
152
+ }
153
+ export type WaveTagSlots = SlotsType<{
154
+ /**
155
+ * The tag content.
156
+ * @see https://antoniandre.github.io/wave-ui/w-tag
157
+ */
158
+ 'default': () => any;
159
+ }>;
160
+ export type WTag = DefineComponent<WaveTagProps, {}, {}, WaveTagComputeds, WaveTagMethods, {}, {}, WaveTagEmits & EmitsOptions, string, PublicProps, ResolveProps<WaveTagProps & WaveTagEmits, EmitsOptions>, ExtractDefaultPropTypes<WaveTagProps>, WaveTagSlots>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });