@weni/unnnic-system 3.8.2-alpha.0 → 3.8.2-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/assets/tokens/colors.json.d.ts +376 -0
  2. package/dist/components/Card/CardCompany.vue.d.ts +11 -414
  3. package/dist/components/Carousel/Carousel.vue.d.ts +11 -414
  4. package/dist/components/Carousel/TagCarousel.vue.d.ts +11 -414
  5. package/dist/components/ChatsContact/ChatsContact.vue.d.ts +0 -418
  6. package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
  7. package/dist/components/ModalUpload/ModalUpload.vue.d.ts +1 -1
  8. package/dist/components/Radio/Radio.vue.d.ts.map +1 -1
  9. package/dist/components/SelectSmart/SelectSmart.vue.d.ts +12 -415
  10. package/dist/components/SelectSmart/SelectSmartMultipleHeader.vue.d.ts +11 -414
  11. package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
  12. package/dist/components/Tag/DefaultTag.vue.d.ts +4 -83
  13. package/dist/components/Tag/DefaultTag.vue.d.ts.map +1 -1
  14. package/dist/components/Tag/Tag.vue.d.ts +12 -414
  15. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  16. package/dist/components/Tag/types.d.ts +18 -0
  17. package/dist/components/Tag/types.d.ts.map +1 -0
  18. package/dist/components/index.d.ts +12229 -15483
  19. package/dist/components/index.d.ts.map +1 -1
  20. package/dist/{es-4bdcf86e.mjs → es-4f3d094b.mjs} +1 -1
  21. package/dist/{index-0d6fa367.mjs → index-43281ff3.mjs} +6777 -6600
  22. package/dist/{pt-br-51af7f2a.mjs → pt-br-8a34ccb7.mjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/unnnic.mjs +1 -1
  25. package/dist/unnnic.umd.js +32 -36
  26. package/package.json +1 -1
  27. package/src/components/Alert/__tests__/__snapshots__/Alert.spec.js.snap +7 -11
  28. package/src/components/Alert/__tests__/__snapshots__/AlertBanner.spec.js.snap +2 -2
  29. package/src/components/Alert/__tests__/__snapshots__/Version1dot1.spec.js.snap +1 -1
  30. package/src/components/AvatarIcon/__tests__/__snapshots__/AvatarIcon.spec.js.snap +1 -1
  31. package/src/components/ChatsContact/ChatsContact.vue +10 -6
  32. package/src/components/Checkbox/Checkbox.vue +72 -54
  33. package/src/components/Collapse/__tests__/__snapshots__/Collapse.spec.js.snap +3 -1
  34. package/src/components/Drawer/__tests__/__snapshots__/Drawer.spec.js.snap +3 -3
  35. package/src/components/Input/__test__/__snapshots__/Input.spec.js.snap +5 -14
  36. package/src/components/Input/__test__/__snapshots__/TextInput.spec.js.snap +1 -1
  37. package/src/components/Label/__tests__/__snapshots__/Label.spec.js.snap +1 -1
  38. package/src/components/Radio/Radio.vue +25 -7
  39. package/src/components/Radio/__test__/__snapshots__/Radio.spec.js.snap +3 -3
  40. package/src/components/Switch/Switch.vue +47 -33
  41. package/src/components/Switch/__tests__/__snapshots__/Switch.spec.js.snap +6 -5
  42. package/src/components/Tab/__test__/__snapshots__/Tab.spec.js.snap +1 -1
  43. package/src/components/TableNext/__test__/__snapshots__/TableNext.spec.js.snap +2 -2
  44. package/src/components/TableNext/__test__/__snapshots__/TablePagination.spec.js.snap +2 -2
  45. package/src/components/Tag/DefaultTag.vue +46 -107
  46. package/src/components/Tag/Tag.vue +32 -79
  47. package/src/components/Tag/types.ts +19 -0
  48. package/src/components/TextArea/__test__/__snapshots__/TextArea.spec.js.snap +3 -11
  49. package/src/stories/Tag.stories.js +24 -43
  50. package/dist/components/Tag/BrandTag.vue.d.ts +0 -51
  51. package/dist/components/Tag/BrandTag.vue.d.ts.map +0 -1
  52. package/dist/components/Tag/IndicatorTag.vue.d.ts +0 -151
  53. package/dist/components/Tag/IndicatorTag.vue.d.ts.map +0 -1
  54. package/dist/components/Tag/TagNext.vue.d.ts +0 -24
  55. package/dist/components/Tag/TagNext.vue.d.ts.map +0 -1
  56. package/src/components/Tag/BrandTag.vue +0 -96
  57. package/src/components/Tag/IndicatorTag.vue +0 -107
  58. package/src/components/Tag/TagNext.vue +0 -60
@@ -27,424 +27,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
27
27
  }>> & Readonly<{}>, {
28
28
  oldVersion: boolean;
29
29
  }, {}, {
30
- UnnnicTag: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
31
- type: {
32
- type: StringConstructor;
33
- default: string;
34
- validator(value: unknown): boolean;
35
- };
36
- text: {
37
- type: StringConstructor;
38
- default: null;
39
- };
40
- tooltipText: {
41
- type: StringConstructor;
42
- default: null;
43
- };
44
- clickable: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- count: {
49
- type: NumberConstructor;
50
- default: number;
51
- };
52
- disabled: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- hasCloseIcon: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
60
- scheme: {
61
- type: StringConstructor;
62
- default: string;
63
- };
64
- hasBackButton: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- enableTooltip: {
69
- type: BooleanConstructor;
70
- default: boolean;
71
- };
72
- leftIcon: {
73
- type: StringConstructor;
74
- default: string;
75
- };
76
- rightIcon: {
77
- type: StringConstructor;
78
- default: string;
79
- };
80
- }>, {}, {}, {
81
- currentComponent(): import('vue').DefineComponent<import('vue').ExtractPropTypes<{
82
- text: {
83
- type: StringConstructor;
84
- default: null;
85
- };
86
- clickable: {
87
- type: BooleanConstructor;
88
- default: boolean;
89
- };
90
- disabled: {
91
- type: BooleanConstructor;
92
- default: boolean;
93
- };
94
- hasCloseIcon: {
95
- type: BooleanConstructor;
96
- default: boolean;
97
- };
98
- scheme: {
99
- type: StringConstructor;
100
- default: string;
101
- };
102
- leftIcon: {
103
- type: StringConstructor;
104
- default: null;
105
- };
106
- rightIcon: {
107
- type: StringConstructor;
108
- default: null;
109
- };
110
- }>, {}, {}, {}, {
111
- closeClicked(): void;
112
- emitClose(): void;
113
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
114
- text: {
115
- type: StringConstructor;
116
- default: null;
117
- };
118
- clickable: {
119
- type: BooleanConstructor;
120
- default: boolean;
121
- };
122
- disabled: {
123
- type: BooleanConstructor;
124
- default: boolean;
125
- };
126
- hasCloseIcon: {
127
- type: BooleanConstructor;
128
- default: boolean;
129
- };
130
- scheme: {
131
- type: StringConstructor;
132
- default: string;
133
- };
134
- leftIcon: {
135
- type: StringConstructor;
136
- default: null;
137
- };
138
- rightIcon: {
139
- type: StringConstructor;
140
- default: null;
141
- };
142
- }>> & Readonly<{}>, {
143
- text: string;
144
- clickable: boolean;
145
- scheme: string;
146
- disabled: boolean;
147
- hasCloseIcon: boolean;
148
- leftIcon: string;
149
- rightIcon: string;
150
- }, {}, {
151
- UnnnicIcon: import('vue').DefineComponent<import('../Icon.vue').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
152
- click: (event: Event) => any;
153
- mousedown: (event: Event) => any;
154
- mouseup: (event: Event) => any;
155
- }, string, import('vue').PublicProps, Readonly<import('../Icon.vue').IconProps> & Readonly<{
156
- onClick?: ((event: Event) => any) | undefined;
157
- onMousedown?: ((event: Event) => any) | undefined;
158
- onMouseup?: ((event: Event) => any) | undefined;
159
- }>, {
160
- size: import('../Icon.vue').IconSize;
161
- filled: boolean;
162
- icon: string | null;
163
- clickable: boolean;
164
- scheme: import('../Icon.vue').SchemeColor;
165
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
166
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
167
- text: {
168
- type: StringConstructor;
169
- default: null;
170
- };
171
- tooltipText: {
172
- type: StringConstructor;
173
- default: null;
174
- };
175
- count: {
176
- type: NumberConstructor;
177
- default: number;
178
- };
179
- clickable: {
180
- type: BooleanConstructor;
181
- default: boolean;
182
- };
183
- hasBackButton: {
184
- type: BooleanConstructor;
185
- default: boolean;
186
- };
187
- enableTooltip: {
188
- type: BooleanConstructor;
189
- default: boolean;
190
- };
191
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
192
- text: {
193
- type: StringConstructor;
194
- default: null;
195
- };
196
- tooltipText: {
197
- type: StringConstructor;
198
- default: null;
199
- };
200
- count: {
201
- type: NumberConstructor;
202
- default: number;
203
- };
204
- clickable: {
205
- type: BooleanConstructor;
206
- default: boolean;
207
- };
208
- hasBackButton: {
209
- type: BooleanConstructor;
210
- default: boolean;
211
- };
212
- enableTooltip: {
213
- type: BooleanConstructor;
214
- default: boolean;
215
- };
216
- }>> & Readonly<{}>, {
217
- text: string;
218
- clickable: boolean;
219
- tooltipText: string;
220
- count: number;
221
- hasBackButton: boolean;
222
- enableTooltip: boolean;
223
- }, {}, {
224
- UnnnicIcon: import('vue').DefineComponent<import('../Icon.vue').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
225
- click: (event: Event) => any;
226
- mousedown: (event: Event) => any;
227
- mouseup: (event: Event) => any;
228
- }, string, import('vue').PublicProps, Readonly<import('../Icon.vue').IconProps> & Readonly<{
229
- onClick?: ((event: Event) => any) | undefined;
230
- onMousedown?: ((event: Event) => any) | undefined;
231
- onMouseup?: ((event: Event) => any) | undefined;
232
- }>, {
233
- size: import('../Icon.vue').IconSize;
234
- filled: boolean;
235
- icon: string | null;
236
- clickable: boolean;
237
- scheme: import('../Icon.vue').SchemeColor;
238
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
239
- ToolTip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
240
- text: {
241
- type: StringConstructor;
242
- default: string;
243
- };
244
- enabled: {
245
- type: BooleanConstructor;
246
- default: boolean;
247
- };
248
- forceOpen: {
249
- type: BooleanConstructor;
250
- default: boolean;
251
- };
252
- side: {
253
- type: StringConstructor;
254
- default: string;
255
- validator(value: unknown): boolean;
256
- };
257
- maxWidth: {
258
- type: StringConstructor;
259
- default: string;
260
- };
261
- shortcutText: {
262
- type: StringConstructor;
263
- default: null;
264
- };
265
- enableHtml: {
266
- type: BooleanConstructor;
267
- default: boolean;
268
- };
269
- }>, {}, {
270
- topPos: null;
271
- leftPos: null;
272
- }, {}, {
273
- handleResize(): void;
274
- getRightPost(element: any): void;
275
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
276
- text: {
277
- type: StringConstructor;
278
- default: string;
279
- };
280
- enabled: {
281
- type: BooleanConstructor;
282
- default: boolean;
283
- };
284
- forceOpen: {
285
- type: BooleanConstructor;
286
- default: boolean;
287
- };
288
- side: {
289
- type: StringConstructor;
290
- default: string;
291
- validator(value: unknown): boolean;
292
- };
293
- maxWidth: {
294
- type: StringConstructor;
295
- default: string;
296
- };
297
- shortcutText: {
298
- type: StringConstructor;
299
- default: null;
300
- };
301
- enableHtml: {
302
- type: BooleanConstructor;
303
- default: boolean;
304
- };
305
- }>> & Readonly<{}>, {
306
- text: string;
307
- enabled: boolean;
308
- forceOpen: boolean;
309
- side: string;
310
- maxWidth: string;
311
- shortcutText: string;
312
- enableHtml: boolean;
313
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
314
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
315
- text: {
316
- type: StringConstructor;
317
- default: null;
318
- };
319
- clickable: {
320
- type: BooleanConstructor;
321
- default: boolean;
322
- };
323
- disabled: {
324
- type: BooleanConstructor;
325
- default: boolean;
326
- };
327
- }>, {}, {}, {}, {
328
- closeClicked(): void;
329
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
330
- text: {
331
- type: StringConstructor;
332
- default: null;
333
- };
334
- clickable: {
335
- type: BooleanConstructor;
336
- default: boolean;
337
- };
338
- disabled: {
339
- type: BooleanConstructor;
340
- default: boolean;
341
- };
342
- }>> & Readonly<{}>, {
343
- text: string;
344
- clickable: boolean;
345
- disabled: boolean;
346
- }, {}, {
347
- UnnnicIcon: import('vue').DefineComponent<import('../Icon.vue').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
348
- click: (event: Event) => any;
349
- mousedown: (event: Event) => any;
350
- mouseup: (event: Event) => any;
351
- }, string, import('vue').PublicProps, Readonly<import('../Icon.vue').IconProps> & Readonly<{
352
- onClick?: ((event: Event) => any) | undefined;
353
- onMousedown?: ((event: Event) => any) | undefined;
354
- onMouseup?: ((event: Event) => any) | undefined;
355
- }>, {
356
- size: import('../Icon.vue').IconSize;
357
- filled: boolean;
358
- icon: string | null;
359
- clickable: boolean;
360
- scheme: import('../Icon.vue').SchemeColor;
361
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
362
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
363
- text: {
364
- type: StringConstructor;
365
- default: null;
366
- };
367
- scheme: {
368
- type: StringConstructor;
369
- default: string;
370
- };
371
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
372
- text: {
373
- type: StringConstructor;
374
- default: null;
375
- };
376
- scheme: {
377
- type: StringConstructor;
378
- default: string;
379
- };
380
- }>> & Readonly<{}>, {
381
- text: string;
382
- scheme: string;
383
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
384
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
385
- type: {
386
- type: StringConstructor;
387
- default: string;
388
- validator(value: unknown): boolean;
389
- };
390
- text: {
391
- type: StringConstructor;
392
- default: null;
393
- };
394
- tooltipText: {
395
- type: StringConstructor;
396
- default: null;
397
- };
398
- clickable: {
399
- type: BooleanConstructor;
400
- default: boolean;
401
- };
402
- count: {
403
- type: NumberConstructor;
404
- default: number;
405
- };
406
- disabled: {
407
- type: BooleanConstructor;
408
- default: boolean;
409
- };
410
- hasCloseIcon: {
411
- type: BooleanConstructor;
412
- default: boolean;
413
- };
414
- scheme: {
415
- type: StringConstructor;
416
- default: string;
417
- };
418
- hasBackButton: {
419
- type: BooleanConstructor;
420
- default: boolean;
421
- };
422
- enableTooltip: {
423
- type: BooleanConstructor;
424
- default: boolean;
425
- };
426
- leftIcon: {
427
- type: StringConstructor;
428
- default: string;
429
- };
430
- rightIcon: {
431
- type: StringConstructor;
432
- default: string;
433
- };
434
- }>> & Readonly<{}>, {
30
+ UnnnicTag: import('vue').DefineComponent<import('../Tag/types').TagProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ click: () => any;
32
+ close: () => any;
33
+ }, string, import('vue').PublicProps, Readonly<import('../Tag/types').TagProps> & Readonly<{
34
+ onClick?: (() => any) | undefined;
35
+ onClose?: (() => any) | undefined;
36
+ }>, {
435
37
  text: string;
436
- type: string;
437
- clickable: boolean;
38
+ type: import('../Tag/types').TagType;
39
+ size: import('../Tag/types').TagSize;
438
40
  scheme: string;
439
41
  disabled: boolean;
440
- hasCloseIcon: boolean;
441
42
  leftIcon: string;
442
- rightIcon: string;
443
- tooltipText: string;
444
- count: number;
445
- hasBackButton: boolean;
446
- enableTooltip: boolean;
447
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
43
+ hasCloseIcon: boolean;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
448
45
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
449
46
  export default _default;
450
47
  //# sourceMappingURL=CardCompany.vue.d.ts.map