@weni/unnnic-system 3.1.4-alpha.2 → 3.1.4-alpha.4

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 (45) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/components/ChatsMessage/ChatsMessage.vue.d.ts +60 -3
  3. package/dist/components/ChatsMessage/ChatsMessage.vue.d.ts.map +1 -1
  4. package/dist/components/ChatsMessage/ChatsMessageText.vue.d.ts +42 -3
  5. package/dist/components/ChatsMessage/ChatsMessageText.vue.d.ts.map +1 -1
  6. package/dist/components/EmojiPicker/EmojiPicker.vue.d.ts.map +1 -1
  7. package/dist/{es-95712fb0.mjs → es-f9903d43.mjs} +1 -1
  8. package/dist/{index-91fded8c.mjs → index-689d4f29.mjs} +15368 -7787
  9. package/dist/locales/en.json.d.ts +1 -0
  10. package/dist/locales/es.json.d.ts +1 -0
  11. package/dist/locales/pt_br.json.d.ts +1 -0
  12. package/dist/{pt-br-4557467c.mjs → pt-br-129b291a.mjs} +1 -1
  13. package/dist/style.css +1 -1
  14. package/dist/unnnic.mjs +1 -1
  15. package/dist/unnnic.umd.js +41 -41
  16. package/dist/utils/colorTokens.d.ts +1 -1
  17. package/dist/utils/colorTokens.d.ts.map +1 -1
  18. package/package.json +4 -2
  19. package/src/assets/scss/colors.scss +108 -417
  20. package/src/assets/scss/deprecated/colors.scss +314 -0
  21. package/src/assets/scss/deprecated/fonts.scss +141 -0
  22. package/src/assets/scss/deprecated/spacing.scss +103 -0
  23. package/src/assets/scss/fonts.scss +12 -141
  24. package/src/assets/scss/icon-sizes.scss +9 -0
  25. package/src/assets/scss/radii.scss +9 -0
  26. package/src/assets/scss/shadows.scss +5 -0
  27. package/src/assets/scss/spaces.scss +17 -0
  28. package/src/assets/scss/unnnic.scss +16 -6
  29. package/src/assets/tokens/colors.json +374 -0
  30. package/src/assets/tokens/fonts.json +52 -0
  31. package/src/assets/tokens/icon-sizes.json +22 -0
  32. package/src/assets/tokens/radii.json +28 -0
  33. package/src/assets/tokens/shadows.json +10 -0
  34. package/src/assets/tokens/spaces.json +46 -0
  35. package/src/components/ChatsMessage/ChatsMessage.vue +15 -0
  36. package/src/components/ChatsMessage/ChatsMessageText.vue +58 -4
  37. package/src/components/EmojiPicker/EmojiPicker.vue +8 -3
  38. package/src/components/EmojiPicker/__tests__/EmojiPicker.spec.js +7 -5
  39. package/src/components/SkeletonLoading/skeletonTheme.vue +1 -1
  40. package/src/locales/en.json +1 -0
  41. package/src/locales/es.json +1 -0
  42. package/src/locales/pt_br.json +1 -0
  43. package/src/utils/colorTokens.js +1 -1
  44. package/src/assets/scss/spacing.scss +0 -141
  45. /package/src/assets/scss/{grid.scss → deprecated/grid.scss} +0 -0
package/CHANGELOG.md CHANGED
@@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
 
9
- # 3.1.4 (2025-09-06)
9
+ # 3.1.4 (2025-09-05)
10
10
 
11
11
  - **EmojiPicker Refactoring**: Complete modernization of EmojiPicker component:
12
12
  - **Security Enhancement**: Local emoji sprite sheets to eliminate external CDN requests (CORS/CSP compliance)
@@ -1,4 +1,8 @@
1
1
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ locale: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
2
6
  enableReply: {
3
7
  type: BooleanConstructor;
4
8
  default: boolean;
@@ -12,6 +16,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
16
  default: string;
13
17
  validate(type: any): boolean;
14
18
  };
19
+ automatic: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
15
23
  time: {
16
24
  type: DateConstructor;
17
25
  required: true;
@@ -73,6 +81,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
73
81
  i18n(...args: any[]): any;
74
82
  };
75
83
  }, import('vue').ComponentOptionsMixin, ("click" | "click-image" | "reply" | "click-reply-message")[], "click" | "click-image" | "reply" | "click-reply-message", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
84
+ locale: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
76
88
  enableReply: {
77
89
  type: BooleanConstructor;
78
90
  default: boolean;
@@ -86,6 +98,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
86
98
  default: string;
87
99
  validate(type: any): boolean;
88
100
  };
101
+ automatic: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
89
105
  time: {
90
106
  type: DateConstructor;
91
107
  required: true;
@@ -115,7 +131,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
115
131
  "onClick-reply-message"?: ((...args: any[]) => any) | undefined;
116
132
  }>, {
117
133
  type: string;
134
+ locale: string;
118
135
  status: string;
136
+ automatic: boolean;
119
137
  replyMessage: Record<string, any> | null;
120
138
  enableReply: boolean;
121
139
  signature: string;
@@ -123,18 +141,57 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
123
141
  mediaType: string;
124
142
  }, {}, {
125
143
  UnnnicChatsMessageText: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
144
+ locale: {
145
+ type: StringConstructor;
146
+ default: string;
147
+ };
126
148
  text: {
127
149
  type: StringConstructor;
128
150
  required: true;
129
151
  };
130
- }>, {}, {}, {
152
+ isAutomatic: {
153
+ type: BooleanConstructor;
154
+ default: boolean;
155
+ };
156
+ }>, {}, {
157
+ defaultTranslations: {
158
+ automatic_message: {
159
+ 'pt-br': string;
160
+ en: string;
161
+ es: string;
162
+ };
163
+ };
164
+ }, {
131
165
  formattedText(): any;
132
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
166
+ }, {}, {
167
+ props: {
168
+ locale: {
169
+ type: StringConstructor;
170
+ };
171
+ translations: {
172
+ type: ObjectConstructor;
173
+ };
174
+ };
175
+ methods: {
176
+ i18n(...args: any[]): any;
177
+ };
178
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
179
+ locale: {
180
+ type: StringConstructor;
181
+ default: string;
182
+ };
133
183
  text: {
134
184
  type: StringConstructor;
135
185
  required: true;
136
186
  };
137
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
187
+ isAutomatic: {
188
+ type: BooleanConstructor;
189
+ default: boolean;
190
+ };
191
+ }>> & Readonly<{}>, {
192
+ locale: string;
193
+ isAutomatic: boolean;
194
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
138
195
  UnnnicChatsMessageStatusBackdrop: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
139
196
  status: {
140
197
  type: StringConstructor;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatsMessage.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ChatsMessage/ChatsMessage.vue"],"names":[],"mappings":"AAwIA;"}
1
+ {"version":3,"file":"ChatsMessage.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ChatsMessage/ChatsMessage.vue"],"names":[],"mappings":"AA2IA;"}
@@ -1,15 +1,54 @@
1
1
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ locale: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
2
6
  text: {
3
7
  type: StringConstructor;
4
8
  required: true;
5
9
  };
6
- }>, {}, {}, {
10
+ isAutomatic: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }>, {}, {
15
+ defaultTranslations: {
16
+ automatic_message: {
17
+ 'pt-br': string;
18
+ en: string;
19
+ es: string;
20
+ };
21
+ };
22
+ }, {
7
23
  formattedText(): any;
8
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
+ }, {}, {
25
+ props: {
26
+ locale: {
27
+ type: StringConstructor;
28
+ };
29
+ translations: {
30
+ type: ObjectConstructor;
31
+ };
32
+ };
33
+ methods: {
34
+ i18n(...args: any[]): any;
35
+ };
36
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
37
+ locale: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
9
41
  text: {
10
42
  type: StringConstructor;
11
43
  required: true;
12
44
  };
13
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
45
+ isAutomatic: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ }>> & Readonly<{}>, {
50
+ locale: string;
51
+ isAutomatic: boolean;
52
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
53
  export default _default;
15
54
  //# sourceMappingURL=ChatsMessageText.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatsMessageText.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ChatsMessage/ChatsMessageText.vue"],"names":[],"mappings":"AAMA;"}
1
+ {"version":3,"file":"ChatsMessageText.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ChatsMessage/ChatsMessageText.vue"],"names":[],"mappings":"AAWA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"EmojiPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPicker.vue"],"names":[],"mappings":"AAsBA;AAuMA,OAAO,wCAAwC,CAAA;AAY/C,MAAM,WAAW,KAAK;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;;;;;;;;YADU,MAAM;cADJ,KAAK,GAAG,QAAQ;gBADd,OAAO;;;;AA+KtB,wBAUG"}
1
+ {"version":3,"file":"EmojiPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPicker.vue"],"names":[],"mappings":"AAyBA;AA4MA,OAAO,wCAAwC,CAAA;AAY/C,MAAM,WAAW,KAAK;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;;;;;;;;YADU,MAAM;cADJ,KAAK,GAAG,QAAQ;gBADd,OAAO;;;;AAwLtB,wBAUG"}
@@ -1,4 +1,4 @@
1
- import { h as n } from "./index-91fded8c.mjs";
1
+ import { h as n } from "./index-689d4f29.mjs";
2
2
  import "vue";
3
3
  //! moment.js locale configuration
4
4
  //! locale : Spanish [es]