@weni/unnnic-system 3.8.2-alpha.1 → 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 (37) 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/ModalUpload/ModalUpload.vue.d.ts +1 -1
  7. package/dist/components/SelectSmart/SelectSmart.vue.d.ts +12 -415
  8. package/dist/components/SelectSmart/SelectSmartMultipleHeader.vue.d.ts +11 -414
  9. package/dist/components/Tag/DefaultTag.vue.d.ts +4 -83
  10. package/dist/components/Tag/DefaultTag.vue.d.ts.map +1 -1
  11. package/dist/components/Tag/Tag.vue.d.ts +12 -414
  12. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  13. package/dist/components/Tag/types.d.ts +18 -0
  14. package/dist/components/Tag/types.d.ts.map +1 -0
  15. package/dist/components/index.d.ts +12229 -15483
  16. package/dist/components/index.d.ts.map +1 -1
  17. package/dist/{es-dc440fef.mjs → es-4f3d094b.mjs} +1 -1
  18. package/dist/{index-6b5eeee8.mjs → index-43281ff3.mjs} +6991 -6829
  19. package/dist/{pt-br-a2cfd62d.mjs → pt-br-8a34ccb7.mjs} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/unnnic.mjs +1 -1
  22. package/dist/unnnic.umd.js +32 -36
  23. package/package.json +1 -1
  24. package/src/components/ChatsContact/ChatsContact.vue +10 -6
  25. package/src/components/Tag/DefaultTag.vue +46 -107
  26. package/src/components/Tag/Tag.vue +32 -79
  27. package/src/components/Tag/types.ts +19 -0
  28. package/src/stories/Tag.stories.js +24 -43
  29. package/dist/components/Tag/BrandTag.vue.d.ts +0 -51
  30. package/dist/components/Tag/BrandTag.vue.d.ts.map +0 -1
  31. package/dist/components/Tag/IndicatorTag.vue.d.ts +0 -151
  32. package/dist/components/Tag/IndicatorTag.vue.d.ts.map +0 -1
  33. package/dist/components/Tag/TagNext.vue.d.ts +0 -24
  34. package/dist/components/Tag/TagNext.vue.d.ts.map +0 -1
  35. package/src/components/Tag/BrandTag.vue +0 -96
  36. package/src/components/Tag/IndicatorTag.vue +0 -107
  37. package/src/components/Tag/TagNext.vue +0 -60
@@ -1,420 +1,18 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- type: {
3
- type: StringConstructor;
4
- default: string;
5
- validator(value: unknown): boolean;
6
- };
7
- text: {
8
- type: StringConstructor;
9
- default: null;
10
- };
11
- tooltipText: {
12
- type: StringConstructor;
13
- default: null;
14
- };
15
- clickable: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- count: {
20
- type: NumberConstructor;
21
- default: number;
22
- };
23
- disabled: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- hasCloseIcon: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- scheme: {
32
- type: StringConstructor;
33
- default: string;
34
- };
35
- hasBackButton: {
36
- type: BooleanConstructor;
37
- default: boolean;
38
- };
39
- enableTooltip: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- leftIcon: {
44
- type: StringConstructor;
45
- default: string;
46
- };
47
- rightIcon: {
48
- type: StringConstructor;
49
- default: string;
50
- };
51
- }>, {}, {}, {
52
- currentComponent(): import('vue').DefineComponent<import('vue').ExtractPropTypes<{
53
- text: {
54
- type: StringConstructor;
55
- default: null;
56
- };
57
- clickable: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- disabled: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- hasCloseIcon: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- scheme: {
70
- type: StringConstructor;
71
- default: string;
72
- };
73
- leftIcon: {
74
- type: StringConstructor;
75
- default: null;
76
- };
77
- rightIcon: {
78
- type: StringConstructor;
79
- default: null;
80
- };
81
- }>, {}, {}, {}, {
82
- closeClicked(): void;
83
- emitClose(): void;
84
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
85
- text: {
86
- type: StringConstructor;
87
- default: null;
88
- };
89
- clickable: {
90
- type: BooleanConstructor;
91
- default: boolean;
92
- };
93
- disabled: {
94
- type: BooleanConstructor;
95
- default: boolean;
96
- };
97
- hasCloseIcon: {
98
- type: BooleanConstructor;
99
- default: boolean;
100
- };
101
- scheme: {
102
- type: StringConstructor;
103
- default: string;
104
- };
105
- leftIcon: {
106
- type: StringConstructor;
107
- default: null;
108
- };
109
- rightIcon: {
110
- type: StringConstructor;
111
- default: null;
112
- };
113
- }>> & Readonly<{}>, {
114
- text: string;
115
- clickable: boolean;
116
- scheme: string;
117
- disabled: boolean;
118
- hasCloseIcon: boolean;
119
- leftIcon: string;
120
- rightIcon: string;
121
- }, {}, {
122
- UnnnicIcon: import('vue').DefineComponent<import('../Icon.vue').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
123
- click: (event: Event) => any;
124
- mousedown: (event: Event) => any;
125
- mouseup: (event: Event) => any;
126
- }, string, import('vue').PublicProps, Readonly<import('../Icon.vue').IconProps> & Readonly<{
127
- onClick?: ((event: Event) => any) | undefined;
128
- onMousedown?: ((event: Event) => any) | undefined;
129
- onMouseup?: ((event: Event) => any) | undefined;
130
- }>, {
131
- size: import('../Icon.vue').IconSize;
132
- filled: boolean;
133
- icon: string | null;
134
- clickable: boolean;
135
- scheme: import('../Icon.vue').SchemeColor;
136
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
137
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
138
- text: {
139
- type: StringConstructor;
140
- default: null;
141
- };
142
- tooltipText: {
143
- type: StringConstructor;
144
- default: null;
145
- };
146
- count: {
147
- type: NumberConstructor;
148
- default: number;
149
- };
150
- clickable: {
151
- type: BooleanConstructor;
152
- default: boolean;
153
- };
154
- hasBackButton: {
155
- type: BooleanConstructor;
156
- default: boolean;
157
- };
158
- enableTooltip: {
159
- type: BooleanConstructor;
160
- default: boolean;
161
- };
162
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
163
- text: {
164
- type: StringConstructor;
165
- default: null;
166
- };
167
- tooltipText: {
168
- type: StringConstructor;
169
- default: null;
170
- };
171
- count: {
172
- type: NumberConstructor;
173
- default: number;
174
- };
175
- clickable: {
176
- type: BooleanConstructor;
177
- default: boolean;
178
- };
179
- hasBackButton: {
180
- type: BooleanConstructor;
181
- default: boolean;
182
- };
183
- enableTooltip: {
184
- type: BooleanConstructor;
185
- default: boolean;
186
- };
187
- }>> & Readonly<{}>, {
188
- text: string;
189
- clickable: boolean;
190
- tooltipText: string;
191
- count: number;
192
- hasBackButton: boolean;
193
- enableTooltip: boolean;
194
- }, {}, {
195
- UnnnicIcon: import('vue').DefineComponent<import('../Icon.vue').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
196
- click: (event: Event) => any;
197
- mousedown: (event: Event) => any;
198
- mouseup: (event: Event) => any;
199
- }, string, import('vue').PublicProps, Readonly<import('../Icon.vue').IconProps> & Readonly<{
200
- onClick?: ((event: Event) => any) | undefined;
201
- onMousedown?: ((event: Event) => any) | undefined;
202
- onMouseup?: ((event: Event) => any) | undefined;
203
- }>, {
204
- size: import('../Icon.vue').IconSize;
205
- filled: boolean;
206
- icon: string | null;
207
- clickable: boolean;
208
- scheme: import('../Icon.vue').SchemeColor;
209
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
210
- ToolTip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
211
- text: {
212
- type: StringConstructor;
213
- default: string;
214
- };
215
- enabled: {
216
- type: BooleanConstructor;
217
- default: boolean;
218
- };
219
- forceOpen: {
220
- type: BooleanConstructor;
221
- default: boolean;
222
- };
223
- side: {
224
- type: StringConstructor;
225
- default: string;
226
- validator(value: unknown): boolean;
227
- };
228
- maxWidth: {
229
- type: StringConstructor;
230
- default: string;
231
- };
232
- shortcutText: {
233
- type: StringConstructor;
234
- default: null;
235
- };
236
- enableHtml: {
237
- type: BooleanConstructor;
238
- default: boolean;
239
- };
240
- }>, {}, {
241
- topPos: null;
242
- leftPos: null;
243
- }, {}, {
244
- handleResize(): void;
245
- getRightPost(element: any): void;
246
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
247
- text: {
248
- type: StringConstructor;
249
- default: string;
250
- };
251
- enabled: {
252
- type: BooleanConstructor;
253
- default: boolean;
254
- };
255
- forceOpen: {
256
- type: BooleanConstructor;
257
- default: boolean;
258
- };
259
- side: {
260
- type: StringConstructor;
261
- default: string;
262
- validator(value: unknown): boolean;
263
- };
264
- maxWidth: {
265
- type: StringConstructor;
266
- default: string;
267
- };
268
- shortcutText: {
269
- type: StringConstructor;
270
- default: null;
271
- };
272
- enableHtml: {
273
- type: BooleanConstructor;
274
- default: boolean;
275
- };
276
- }>> & Readonly<{}>, {
277
- text: string;
278
- enabled: boolean;
279
- forceOpen: boolean;
280
- side: string;
281
- maxWidth: string;
282
- shortcutText: string;
283
- enableHtml: boolean;
284
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
285
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
286
- text: {
287
- type: StringConstructor;
288
- default: null;
289
- };
290
- clickable: {
291
- type: BooleanConstructor;
292
- default: boolean;
293
- };
294
- disabled: {
295
- type: BooleanConstructor;
296
- default: boolean;
297
- };
298
- }>, {}, {}, {}, {
299
- closeClicked(): void;
300
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
301
- text: {
302
- type: StringConstructor;
303
- default: null;
304
- };
305
- clickable: {
306
- type: BooleanConstructor;
307
- default: boolean;
308
- };
309
- disabled: {
310
- type: BooleanConstructor;
311
- default: boolean;
312
- };
313
- }>> & Readonly<{}>, {
314
- text: string;
315
- clickable: boolean;
316
- disabled: boolean;
317
- }, {}, {
318
- UnnnicIcon: import('vue').DefineComponent<import('../Icon.vue').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
319
- click: (event: Event) => any;
320
- mousedown: (event: Event) => any;
321
- mouseup: (event: Event) => any;
322
- }, string, import('vue').PublicProps, Readonly<import('../Icon.vue').IconProps> & Readonly<{
323
- onClick?: ((event: Event) => any) | undefined;
324
- onMousedown?: ((event: Event) => any) | undefined;
325
- onMouseup?: ((event: Event) => any) | undefined;
326
- }>, {
327
- size: import('../Icon.vue').IconSize;
328
- filled: boolean;
329
- icon: string | null;
330
- clickable: boolean;
331
- scheme: import('../Icon.vue').SchemeColor;
332
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
333
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
334
- text: {
335
- type: StringConstructor;
336
- default: null;
337
- };
338
- scheme: {
339
- type: StringConstructor;
340
- default: string;
341
- };
342
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
343
- text: {
344
- type: StringConstructor;
345
- default: null;
346
- };
347
- scheme: {
348
- type: StringConstructor;
349
- default: string;
350
- };
351
- }>> & Readonly<{}>, {
352
- text: string;
353
- scheme: string;
354
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
355
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
356
- type: {
357
- type: StringConstructor;
358
- default: string;
359
- validator(value: unknown): boolean;
360
- };
361
- text: {
362
- type: StringConstructor;
363
- default: null;
364
- };
365
- tooltipText: {
366
- type: StringConstructor;
367
- default: null;
368
- };
369
- clickable: {
370
- type: BooleanConstructor;
371
- default: boolean;
372
- };
373
- count: {
374
- type: NumberConstructor;
375
- default: number;
376
- };
377
- disabled: {
378
- type: BooleanConstructor;
379
- default: boolean;
380
- };
381
- hasCloseIcon: {
382
- type: BooleanConstructor;
383
- default: boolean;
384
- };
385
- scheme: {
386
- type: StringConstructor;
387
- default: string;
388
- };
389
- hasBackButton: {
390
- type: BooleanConstructor;
391
- default: boolean;
392
- };
393
- enableTooltip: {
394
- type: BooleanConstructor;
395
- default: boolean;
396
- };
397
- leftIcon: {
398
- type: StringConstructor;
399
- default: string;
400
- };
401
- rightIcon: {
402
- type: StringConstructor;
403
- default: string;
404
- };
405
- }>> & Readonly<{}>, {
1
+ import { TagProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<TagProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ click: () => any;
4
+ close: () => any;
5
+ }, string, import('vue').PublicProps, Readonly<TagProps> & Readonly<{
6
+ onClick?: (() => any) | undefined;
7
+ onClose?: (() => any) | undefined;
8
+ }>, {
406
9
  text: string;
407
- type: string;
408
- clickable: boolean;
10
+ type: import('./types').TagType;
11
+ size: import('./types').TagSize;
409
12
  scheme: string;
410
13
  disabled: boolean;
411
- hasCloseIcon: boolean;
412
14
  leftIcon: string;
413
- rightIcon: string;
414
- tooltipText: string;
415
- count: number;
416
- hasBackButton: boolean;
417
- enableTooltip: boolean;
418
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ hasCloseIcon: boolean;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
419
17
  export default _default;
420
18
  //# sourceMappingURL=Tag.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.vue"],"names":[],"mappings":"AAkBA;"}
1
+ {"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.vue"],"names":[],"mappings":"AAkBA;AA+CA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;;;;;;;;;;;;;;;;AAkHxC,wBAQG"}
@@ -0,0 +1,18 @@
1
+ export type TagType = 'default' | 'brand' | 'next';
2
+ export type TagSize = 'small' | 'medium';
3
+ export interface TagProps {
4
+ type?: TagType;
5
+ size?: TagSize;
6
+ text?: string;
7
+ disabled?: boolean;
8
+ scheme?: string;
9
+ leftIcon?: string;
10
+ hasCloseIcon?: boolean;
11
+ }
12
+ export interface DefaultTagProps {
13
+ text?: string;
14
+ size?: TagSize;
15
+ scheme?: string;
16
+ leftIcon?: string;
17
+ }
18
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AACnD,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEzC,MAAM,WAAW,QAAQ;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}