@atlaskit/emoji 70.6.2 → 70.7.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 (33) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/afm-cc/tsconfig.json +6 -0
  3. package/afm-products/tsconfig.json +6 -0
  4. package/dist/cjs/api/EmojiResource.js +23 -1
  5. package/dist/cjs/components/common/EmojiErrorMessage.js +5 -1
  6. package/dist/cjs/components/common/EmojiUploadPicker.compiled.css +3 -1
  7. package/dist/cjs/components/common/EmojiUploadPicker.js +28 -18
  8. package/dist/cjs/components/common/FileChooser.compiled.css +3 -3
  9. package/dist/cjs/components/common/FileChooser.js +2 -2
  10. package/dist/cjs/components/i18n.js +5 -0
  11. package/dist/cjs/components/picker/EmojiPickerComponent.js +54 -15
  12. package/dist/cjs/util/analytics/analytics.js +1 -1
  13. package/dist/es2019/api/EmojiResource.js +19 -1
  14. package/dist/es2019/components/common/EmojiErrorMessage.js +5 -1
  15. package/dist/es2019/components/common/EmojiUploadPicker.compiled.css +3 -1
  16. package/dist/es2019/components/common/EmojiUploadPicker.js +23 -12
  17. package/dist/es2019/components/common/FileChooser.compiled.css +3 -3
  18. package/dist/es2019/components/common/FileChooser.js +2 -2
  19. package/dist/es2019/components/i18n.js +5 -0
  20. package/dist/es2019/components/picker/EmojiPickerComponent.js +16 -1
  21. package/dist/es2019/util/analytics/analytics.js +1 -1
  22. package/dist/esm/api/EmojiResource.js +24 -2
  23. package/dist/esm/components/common/EmojiErrorMessage.js +5 -1
  24. package/dist/esm/components/common/EmojiUploadPicker.compiled.css +3 -1
  25. package/dist/esm/components/common/EmojiUploadPicker.js +29 -18
  26. package/dist/esm/components/common/FileChooser.compiled.css +3 -3
  27. package/dist/esm/components/common/FileChooser.js +2 -2
  28. package/dist/esm/components/i18n.js +5 -0
  29. package/dist/esm/components/picker/EmojiPickerComponent.js +54 -15
  30. package/dist/esm/util/analytics/analytics.js +1 -1
  31. package/dist/types/components/i18n.d.ts +99 -94
  32. package/dist/types-ts4.5/components/i18n.d.ts +99 -94
  33. package/package.json +8 -3
@@ -1,242 +1,247 @@
1
1
  export declare const messages: {
2
- deleteEmojiTooltip: {
3
- id: string;
2
+ activityCategory: {
4
3
  defaultMessage: string;
5
4
  description: string;
6
- };
7
- deleteEmojiTooltipForScreenreader: {
8
5
  id: string;
6
+ };
7
+ addCustomEmojiLabel: {
9
8
  defaultMessage: string;
10
9
  description: string;
11
- };
12
- deleteEmojiTitle: {
13
10
  id: string;
11
+ };
12
+ addEmojiLabel: {
14
13
  defaultMessage: string;
15
14
  description: string;
16
- };
17
- deleteEmojiDescription: {
18
15
  id: string;
16
+ };
17
+ allUploadsCustomCategory: {
19
18
  defaultMessage: string;
20
19
  description: string;
21
- };
22
- deleteEmojiLabel: {
23
20
  id: string;
21
+ };
22
+ cancelLabel: {
24
23
  defaultMessage: string;
25
24
  description: string;
26
- };
27
- addCustomEmojiLabel: {
28
25
  id: string;
26
+ };
27
+ categoriesSearchResults: {
29
28
  defaultMessage: string;
30
29
  description: string;
31
- };
32
- emojiPlaceholder: {
33
30
  id: string;
31
+ };
32
+ categoriesSelectorLabel: {
34
33
  defaultMessage: string;
35
34
  description: string;
36
- };
37
- emojiNameAriaLabel: {
38
35
  id: string;
36
+ };
37
+ changeEmojiButtonLabel: {
39
38
  defaultMessage: string;
40
39
  description: string;
41
- };
42
- emojiNameLabel: {
43
40
  id: string;
41
+ };
42
+ deleteEmojiDescription: {
44
43
  defaultMessage: string;
45
44
  description: string;
46
- };
47
- emojiChooseFileTitle: {
48
45
  id: string;
46
+ };
47
+ deleteEmojiFailed: {
49
48
  defaultMessage: string;
50
49
  description: string;
51
- };
52
- emojiChooseFileScreenReaderDescription: {
53
50
  id: string;
51
+ };
52
+ deleteEmojiLabel: {
54
53
  defaultMessage: string;
55
54
  description: string;
56
- };
57
- emojiSelectSkinToneButtonAriaLabelText: {
58
55
  id: string;
56
+ };
57
+ deleteEmojiTitle: {
59
58
  defaultMessage: string;
60
59
  description: string;
61
- };
62
- emojiSelectSkinToneListAriaLabelText: {
63
60
  id: string;
61
+ };
62
+ deleteEmojiTooltip: {
64
63
  defaultMessage: string;
65
64
  description: string;
66
- };
67
- emojiImageRequirements: {
68
65
  id: string;
66
+ };
67
+ deleteEmojiTooltipForScreenreader: {
69
68
  defaultMessage: string;
70
69
  description: string;
71
- };
72
- emojiPreviewTitle: {
73
70
  id: string;
71
+ };
72
+ emojiButtonRoleDescription: {
74
73
  defaultMessage: string;
75
74
  description: string;
76
- };
77
- emojiPreview: {
78
75
  id: string;
76
+ };
77
+ emojiChooseFileScreenReaderDescription: {
79
78
  defaultMessage: string;
80
79
  description: string;
81
- };
82
- addEmojiLabel: {
83
80
  id: string;
81
+ };
82
+ emojiChooseFileTitle: {
84
83
  defaultMessage: string;
85
84
  description: string;
86
- };
87
- retryLabel: {
88
85
  id: string;
86
+ };
87
+ emojiDuplicateName: {
89
88
  defaultMessage: string;
90
89
  description: string;
91
- };
92
- cancelLabel: {
93
90
  id: string;
91
+ };
92
+ emojiImageRequirements: {
94
93
  defaultMessage: string;
95
94
  description: string;
96
- };
97
- searchPlaceholder: {
98
95
  id: string;
96
+ };
97
+ emojiImageTooBig: {
99
98
  defaultMessage: string;
100
99
  description: string;
101
- };
102
- searchLabel: {
103
100
  id: string;
101
+ };
102
+ emojiInvalidImage: {
104
103
  defaultMessage: string;
105
104
  description: string;
106
- };
107
- searchResultsStatus: {
108
105
  id: string;
106
+ };
107
+ emojiNameAriaLabel: {
109
108
  defaultMessage: string;
110
109
  description: string;
111
- };
112
- searchResultsStatusSeeAll: {
113
110
  id: string;
111
+ };
112
+ emojiNameLabel: {
114
113
  defaultMessage: string;
115
114
  description: string;
116
- };
117
- categoriesSelectorLabel: {
118
115
  id: string;
116
+ };
117
+ emojiPickerGrid: {
119
118
  defaultMessage: string;
120
119
  description: string;
121
- };
122
- categoriesSearchResults: {
123
120
  id: string;
121
+ };
122
+ emojiPickerListPanel: {
124
123
  defaultMessage: string;
125
124
  description: string;
126
- };
127
- frequentCategory: {
128
125
  id: string;
126
+ };
127
+ emojiPickerTitle: {
129
128
  defaultMessage: string;
130
129
  description: string;
131
- };
132
- peopleCategory: {
133
130
  id: string;
131
+ };
132
+ emojiPlaceholder: {
134
133
  defaultMessage: string;
135
134
  description: string;
136
- };
137
- natureCategory: {
138
135
  id: string;
136
+ };
137
+ emojiPreview: {
139
138
  defaultMessage: string;
140
139
  description: string;
141
- };
142
- foodsCategory: {
143
140
  id: string;
141
+ };
142
+ emojiPreviewTitle: {
144
143
  defaultMessage: string;
145
144
  description: string;
146
- };
147
- activityCategory: {
148
145
  id: string;
146
+ };
147
+ emojiSelectSkinToneButtonAriaLabelText: {
149
148
  defaultMessage: string;
150
149
  description: string;
151
- };
152
- placesCategory: {
153
150
  id: string;
151
+ };
152
+ emojiSelectSkinToneListAriaLabelText: {
154
153
  defaultMessage: string;
155
154
  description: string;
156
- };
157
- objectsCategory: {
158
155
  id: string;
156
+ };
157
+ emojiUploadFailed: {
159
158
  defaultMessage: string;
160
159
  description: string;
160
+ id: string;
161
161
  };
162
- symbolsCategory: {
162
+ emojiUploadTimeout: {
163
+ defaultMessage: string;
164
+ description: string;
163
165
  id: string;
166
+ };
167
+ error: {
164
168
  defaultMessage: string;
165
169
  description: string;
170
+ id: string;
166
171
  };
167
172
  flagsCategory: {
168
- id: string;
169
173
  defaultMessage: string;
170
174
  description: string;
171
- };
172
- productivityCategory: {
173
175
  id: string;
176
+ };
177
+ foodsCategory: {
174
178
  defaultMessage: string;
175
179
  description: string;
176
- };
177
- userUploadsCustomCategory: {
178
180
  id: string;
181
+ };
182
+ frequentCategory: {
179
183
  defaultMessage: string;
180
184
  description: string;
181
- };
182
- allUploadsCustomCategory: {
183
185
  id: string;
186
+ };
187
+ natureCategory: {
184
188
  defaultMessage: string;
185
189
  description: string;
186
- };
187
- deleteEmojiFailed: {
188
190
  id: string;
191
+ };
192
+ objectsCategory: {
189
193
  defaultMessage: string;
190
194
  description: string;
191
- };
192
- emojiInvalidImage: {
193
195
  id: string;
196
+ };
197
+ peopleCategory: {
194
198
  defaultMessage: string;
195
199
  description: string;
196
- };
197
- emojiUploadFailed: {
198
200
  id: string;
201
+ };
202
+ placesCategory: {
199
203
  defaultMessage: string;
200
204
  description: string;
201
- };
202
- emojiUploadTimeout: {
203
205
  id: string;
206
+ };
207
+ productivityCategory: {
204
208
  defaultMessage: string;
205
209
  description: string;
206
- };
207
- emojiImageTooBig: {
208
210
  id: string;
211
+ };
212
+ retryLabel: {
209
213
  defaultMessage: string;
210
214
  description: string;
211
- };
212
- emojiPickerTitle: {
213
215
  id: string;
216
+ };
217
+ searchLabel: {
214
218
  defaultMessage: string;
215
219
  description: string;
216
- };
217
- emojiPickerListPanel: {
218
220
  id: string;
221
+ };
222
+ searchPlaceholder: {
219
223
  defaultMessage: string;
220
224
  description: string;
221
- };
222
- emojiPickerGrid: {
223
225
  id: string;
226
+ };
227
+ searchResultsStatus: {
224
228
  defaultMessage: string;
225
229
  description: string;
226
- };
227
- emojiButtonRoleDescription: {
228
230
  id: string;
231
+ };
232
+ searchResultsStatusSeeAll: {
229
233
  defaultMessage: string;
230
234
  description: string;
231
- };
232
- changeEmojiButtonLabel: {
233
235
  id: string;
236
+ };
237
+ symbolsCategory: {
234
238
  defaultMessage: string;
235
239
  description: string;
236
- };
237
- error: {
238
240
  id: string;
241
+ };
242
+ userUploadsCustomCategory: {
239
243
  defaultMessage: string;
240
244
  description: string;
245
+ id: string;
241
246
  };
242
247
  };
@@ -1,242 +1,247 @@
1
1
  export declare const messages: {
2
- deleteEmojiTooltip: {
3
- id: string;
2
+ activityCategory: {
4
3
  defaultMessage: string;
5
4
  description: string;
6
- };
7
- deleteEmojiTooltipForScreenreader: {
8
5
  id: string;
6
+ };
7
+ addCustomEmojiLabel: {
9
8
  defaultMessage: string;
10
9
  description: string;
11
- };
12
- deleteEmojiTitle: {
13
10
  id: string;
11
+ };
12
+ addEmojiLabel: {
14
13
  defaultMessage: string;
15
14
  description: string;
16
- };
17
- deleteEmojiDescription: {
18
15
  id: string;
16
+ };
17
+ allUploadsCustomCategory: {
19
18
  defaultMessage: string;
20
19
  description: string;
21
- };
22
- deleteEmojiLabel: {
23
20
  id: string;
21
+ };
22
+ cancelLabel: {
24
23
  defaultMessage: string;
25
24
  description: string;
26
- };
27
- addCustomEmojiLabel: {
28
25
  id: string;
26
+ };
27
+ categoriesSearchResults: {
29
28
  defaultMessage: string;
30
29
  description: string;
31
- };
32
- emojiPlaceholder: {
33
30
  id: string;
31
+ };
32
+ categoriesSelectorLabel: {
34
33
  defaultMessage: string;
35
34
  description: string;
36
- };
37
- emojiNameAriaLabel: {
38
35
  id: string;
36
+ };
37
+ changeEmojiButtonLabel: {
39
38
  defaultMessage: string;
40
39
  description: string;
41
- };
42
- emojiNameLabel: {
43
40
  id: string;
41
+ };
42
+ deleteEmojiDescription: {
44
43
  defaultMessage: string;
45
44
  description: string;
46
- };
47
- emojiChooseFileTitle: {
48
45
  id: string;
46
+ };
47
+ deleteEmojiFailed: {
49
48
  defaultMessage: string;
50
49
  description: string;
51
- };
52
- emojiChooseFileScreenReaderDescription: {
53
50
  id: string;
51
+ };
52
+ deleteEmojiLabel: {
54
53
  defaultMessage: string;
55
54
  description: string;
56
- };
57
- emojiSelectSkinToneButtonAriaLabelText: {
58
55
  id: string;
56
+ };
57
+ deleteEmojiTitle: {
59
58
  defaultMessage: string;
60
59
  description: string;
61
- };
62
- emojiSelectSkinToneListAriaLabelText: {
63
60
  id: string;
61
+ };
62
+ deleteEmojiTooltip: {
64
63
  defaultMessage: string;
65
64
  description: string;
66
- };
67
- emojiImageRequirements: {
68
65
  id: string;
66
+ };
67
+ deleteEmojiTooltipForScreenreader: {
69
68
  defaultMessage: string;
70
69
  description: string;
71
- };
72
- emojiPreviewTitle: {
73
70
  id: string;
71
+ };
72
+ emojiButtonRoleDescription: {
74
73
  defaultMessage: string;
75
74
  description: string;
76
- };
77
- emojiPreview: {
78
75
  id: string;
76
+ };
77
+ emojiChooseFileScreenReaderDescription: {
79
78
  defaultMessage: string;
80
79
  description: string;
81
- };
82
- addEmojiLabel: {
83
80
  id: string;
81
+ };
82
+ emojiChooseFileTitle: {
84
83
  defaultMessage: string;
85
84
  description: string;
86
- };
87
- retryLabel: {
88
85
  id: string;
86
+ };
87
+ emojiDuplicateName: {
89
88
  defaultMessage: string;
90
89
  description: string;
91
- };
92
- cancelLabel: {
93
90
  id: string;
91
+ };
92
+ emojiImageRequirements: {
94
93
  defaultMessage: string;
95
94
  description: string;
96
- };
97
- searchPlaceholder: {
98
95
  id: string;
96
+ };
97
+ emojiImageTooBig: {
99
98
  defaultMessage: string;
100
99
  description: string;
101
- };
102
- searchLabel: {
103
100
  id: string;
101
+ };
102
+ emojiInvalidImage: {
104
103
  defaultMessage: string;
105
104
  description: string;
106
- };
107
- searchResultsStatus: {
108
105
  id: string;
106
+ };
107
+ emojiNameAriaLabel: {
109
108
  defaultMessage: string;
110
109
  description: string;
111
- };
112
- searchResultsStatusSeeAll: {
113
110
  id: string;
111
+ };
112
+ emojiNameLabel: {
114
113
  defaultMessage: string;
115
114
  description: string;
116
- };
117
- categoriesSelectorLabel: {
118
115
  id: string;
116
+ };
117
+ emojiPickerGrid: {
119
118
  defaultMessage: string;
120
119
  description: string;
121
- };
122
- categoriesSearchResults: {
123
120
  id: string;
121
+ };
122
+ emojiPickerListPanel: {
124
123
  defaultMessage: string;
125
124
  description: string;
126
- };
127
- frequentCategory: {
128
125
  id: string;
126
+ };
127
+ emojiPickerTitle: {
129
128
  defaultMessage: string;
130
129
  description: string;
131
- };
132
- peopleCategory: {
133
130
  id: string;
131
+ };
132
+ emojiPlaceholder: {
134
133
  defaultMessage: string;
135
134
  description: string;
136
- };
137
- natureCategory: {
138
135
  id: string;
136
+ };
137
+ emojiPreview: {
139
138
  defaultMessage: string;
140
139
  description: string;
141
- };
142
- foodsCategory: {
143
140
  id: string;
141
+ };
142
+ emojiPreviewTitle: {
144
143
  defaultMessage: string;
145
144
  description: string;
146
- };
147
- activityCategory: {
148
145
  id: string;
146
+ };
147
+ emojiSelectSkinToneButtonAriaLabelText: {
149
148
  defaultMessage: string;
150
149
  description: string;
151
- };
152
- placesCategory: {
153
150
  id: string;
151
+ };
152
+ emojiSelectSkinToneListAriaLabelText: {
154
153
  defaultMessage: string;
155
154
  description: string;
156
- };
157
- objectsCategory: {
158
155
  id: string;
156
+ };
157
+ emojiUploadFailed: {
159
158
  defaultMessage: string;
160
159
  description: string;
160
+ id: string;
161
161
  };
162
- symbolsCategory: {
162
+ emojiUploadTimeout: {
163
+ defaultMessage: string;
164
+ description: string;
163
165
  id: string;
166
+ };
167
+ error: {
164
168
  defaultMessage: string;
165
169
  description: string;
170
+ id: string;
166
171
  };
167
172
  flagsCategory: {
168
- id: string;
169
173
  defaultMessage: string;
170
174
  description: string;
171
- };
172
- productivityCategory: {
173
175
  id: string;
176
+ };
177
+ foodsCategory: {
174
178
  defaultMessage: string;
175
179
  description: string;
176
- };
177
- userUploadsCustomCategory: {
178
180
  id: string;
181
+ };
182
+ frequentCategory: {
179
183
  defaultMessage: string;
180
184
  description: string;
181
- };
182
- allUploadsCustomCategory: {
183
185
  id: string;
186
+ };
187
+ natureCategory: {
184
188
  defaultMessage: string;
185
189
  description: string;
186
- };
187
- deleteEmojiFailed: {
188
190
  id: string;
191
+ };
192
+ objectsCategory: {
189
193
  defaultMessage: string;
190
194
  description: string;
191
- };
192
- emojiInvalidImage: {
193
195
  id: string;
196
+ };
197
+ peopleCategory: {
194
198
  defaultMessage: string;
195
199
  description: string;
196
- };
197
- emojiUploadFailed: {
198
200
  id: string;
201
+ };
202
+ placesCategory: {
199
203
  defaultMessage: string;
200
204
  description: string;
201
- };
202
- emojiUploadTimeout: {
203
205
  id: string;
206
+ };
207
+ productivityCategory: {
204
208
  defaultMessage: string;
205
209
  description: string;
206
- };
207
- emojiImageTooBig: {
208
210
  id: string;
211
+ };
212
+ retryLabel: {
209
213
  defaultMessage: string;
210
214
  description: string;
211
- };
212
- emojiPickerTitle: {
213
215
  id: string;
216
+ };
217
+ searchLabel: {
214
218
  defaultMessage: string;
215
219
  description: string;
216
- };
217
- emojiPickerListPanel: {
218
220
  id: string;
221
+ };
222
+ searchPlaceholder: {
219
223
  defaultMessage: string;
220
224
  description: string;
221
- };
222
- emojiPickerGrid: {
223
225
  id: string;
226
+ };
227
+ searchResultsStatus: {
224
228
  defaultMessage: string;
225
229
  description: string;
226
- };
227
- emojiButtonRoleDescription: {
228
230
  id: string;
231
+ };
232
+ searchResultsStatusSeeAll: {
229
233
  defaultMessage: string;
230
234
  description: string;
231
- };
232
- changeEmojiButtonLabel: {
233
235
  id: string;
236
+ };
237
+ symbolsCategory: {
234
238
  defaultMessage: string;
235
239
  description: string;
236
- };
237
- error: {
238
240
  id: string;
241
+ };
242
+ userUploadsCustomCategory: {
239
243
  defaultMessage: string;
240
244
  description: string;
245
+ id: string;
241
246
  };
242
247
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/emoji",
3
- "version": "70.6.2",
3
+ "version": "70.7.0",
4
4
  "description": "Fabric emoji React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,8 +39,10 @@
39
39
  "dependencies": {
40
40
  "@atlaskit/afm-i18n-platform-elements-emoji": "2.7.0",
41
41
  "@atlaskit/analytics-next": "^11.2.0",
42
+ "@atlaskit/browser-apis": "^0.0.1",
42
43
  "@atlaskit/button": "^23.11.0",
43
44
  "@atlaskit/css": "^0.19.0",
45
+ "@atlaskit/form": "^15.5.0",
44
46
  "@atlaskit/heading": "^5.4.0",
45
47
  "@atlaskit/icon": "^34.5.0",
46
48
  "@atlaskit/media-client": "^36.2.0",
@@ -50,11 +52,11 @@
50
52
  "@atlaskit/primitives": "^19.0.0",
51
53
  "@atlaskit/spinner": "^19.1.0",
52
54
  "@atlaskit/textfield": "^8.3.0",
53
- "@atlaskit/tmp-editor-statsig": "^80.0.0",
55
+ "@atlaskit/tmp-editor-statsig": "^80.1.0",
54
56
  "@atlaskit/tokens": "^13.0.0",
55
57
  "@atlaskit/tooltip": "^22.2.0",
56
58
  "@atlaskit/ufo": "^0.5.0",
57
- "@atlaskit/util-service-support": "^6.3.0",
59
+ "@atlaskit/util-service-support": "^6.4.0",
58
60
  "@atlaskit/visually-hidden": "^3.1.0",
59
61
  "@babel/runtime": "^7.0.0",
60
62
  "@compiled/react": "^0.20.0",
@@ -143,6 +145,9 @@
143
145
  },
144
146
  "platform_emoji_picker_refresh": {
145
147
  "type": "boolean"
148
+ },
149
+ "use-elements-stargate-emoji-path": {
150
+ "type": "boolean"
146
151
  }
147
152
  },
148
153
  "scripts": {