@atlaskit/util-data-test 17.8.19 → 17.8.20
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.
- package/CHANGELOG.md +48 -42
- package/dist/cjs/emoji/emoji-from-upload.js +2 -3
- package/dist/cjs/emoji/emoji-repository-usage-clear.js +3 -5
- package/dist/cjs/emoji/emoji-resource-usage-clear.js +2 -3
- package/dist/cjs/emoji/get-atlassian-emoji-data.js +2 -3
- package/dist/cjs/emoji/get-atlassian-emojis.js +3 -4
- package/dist/cjs/emoji/get-emoji-provider.js +4 -7
- package/dist/cjs/emoji/get-emoji-repository.js +2 -3
- package/dist/cjs/emoji/get-emoji-resource-standard-atlassian.js +2 -3
- package/dist/cjs/emoji/get-emoji-resource-usage-clear.js +2 -3
- package/dist/cjs/emoji/get-emoji-resource.js +2 -3
- package/dist/cjs/emoji/get-emojis.js +4 -5
- package/dist/cjs/emoji/get-site-emoji-data.js +2 -3
- package/dist/cjs/emoji/get-site-emojis.js +2 -3
- package/dist/cjs/emoji/get-standard-emoji-data.js +2 -3
- package/dist/cjs/emoji/get-standard-emojis.js +3 -4
- package/dist/cjs/emoji/image-emoji.js +2 -3
- package/dist/cjs/emoji/logged-user.js +1 -2
- package/dist/cjs/emoji/lorem.js +1 -2
- package/dist/cjs/emoji/mock-emoji-resource-factory.js +2 -3
- package/dist/cjs/emoji/mock-emoji-resource.js +2 -3
- package/dist/cjs/emoji/mock-non-uploading-emoji-resource-factory.js +2 -3
- package/dist/cjs/emoji/mock-non-uploading-emoji-resource.js +2 -3
- package/dist/cjs/emoji/site-emoji-foo.js +2 -3
- package/dist/cjs/emoji/site-emoji-wtf.js +2 -3
- package/dist/cjs/emoji/sprite-emoji.js +2 -3
- package/dist/cjs/emoji-constants/index.js +6 -12
- package/dist/cjs/emoji-test/emoji-samples.js +11 -21
- package/dist/cjs/emoji-test/expires-at.js +2 -3
- package/dist/cjs/emoji-test/filter-to-searchable.js +2 -3
- package/dist/cjs/emoji-test/get-non-uploading-emoji-resource.js +2 -3
- package/dist/cjs/emoji-test/get-test-atlassian-emojis.js +2 -3
- package/dist/cjs/emoji-test/get-test-atlassian-service-emojis.js +2 -3
- package/dist/cjs/emoji-test/get-test-emoji-repository.js +2 -3
- package/dist/cjs/emoji-test/get-test-emoji-resource-from-repository.js +2 -3
- package/dist/cjs/emoji-test/get-test-emoji-resource-non-uploading.js +2 -3
- package/dist/cjs/emoji-test/get-test-emoji-resource.js +2 -3
- package/dist/cjs/emoji-test/get-test-emojis.js +2 -3
- package/dist/cjs/emoji-test/get-test-image-emoji.js +2 -3
- package/dist/cjs/emoji-test/get-test-media-api-token.js +2 -3
- package/dist/cjs/emoji-test/get-test-searchable-emojis.js +2 -3
- package/dist/cjs/emoji-test/get-test-site-emoji-foo.js +2 -3
- package/dist/cjs/emoji-test/get-test-site-emoji-repository.js +2 -3
- package/dist/cjs/emoji-test/get-test-site-emoji-wtf.js +2 -3
- package/dist/cjs/emoji-test/get-test-site-emojis.js +2 -3
- package/dist/cjs/emoji-test/get-test-site-service-emojis.js +2 -3
- package/dist/cjs/emoji-test/get-test-sprite-emoji.js +2 -3
- package/dist/cjs/emoji-test/get-test-standard-emojis.js +2 -3
- package/dist/cjs/emoji-test/get-test-standard-service-emojis.js +2 -3
- package/dist/cjs/emoji-test/media-emoji.js +3 -5
- package/dist/cjs/emoji-test/media-service-emoji.js +2 -3
- package/dist/cjs/emoji-test/test-emoji-repository.js +2 -3
- package/dist/cjs/mention/create-mock-mention-name-resolver.js +2 -3
- package/dist/cjs/mention/mention-story-data.js +9 -17
- package/dist/cjs/mention/mention-test-data.js +4 -6
- package/dist/cjs/mention/mock-mention-name-client.js +2 -3
- package/dist/cjs/mention/mock-mention-resource-with-info-hints.js +2 -3
- package/dist/cjs/mention/mock-mention-resource.js +2 -3
- package/dist/cjs/mention/mock-presence-resource.js +2 -3
- package/dist/cjs/mention/presence-data.js +2 -4
- package/dist/cjs/mention/utils.js +2 -3
- package/dist/cjs/profilecard/profilecard-data.js +2 -3
- package/dist/cjs/profilecard/util.js +4 -7
- package/dist/cjs/slack-data/slack-conversations-data.js +1 -2
- package/dist/cjs/slack-data/slack-workspaces-data.js +1 -2
- package/dist/cjs/task-decision/mock-task-decision-resource.js +2 -3
- package/dist/cjs/task-decision/task-decision-story-data.js +6 -11
- package/dist/cjs/task-decision/utils.js +4 -7
- package/dist/cjs/user-picker/ChevronRight.js +2 -3
- package/dist/cjs/user-picker/user-picker-custom-data.js +2 -3
- package/dist/cjs/user-picker/user-picker-data.js +1 -2
- package/dist/cjs/user-picker/user-picker-team-data.js +2 -3
- package/dist/esm/emoji/get-atlassian-emojis.js +1 -1
- package/dist/esm/emoji/get-emojis.js +2 -2
- package/dist/esm/emoji/get-standard-emojis.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/util-data-test
|
|
2
2
|
|
|
3
|
+
## 17.8.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 17.8.19
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -82,43 +88,43 @@
|
|
|
82
88
|
|
|
83
89
|
### Patch Changes
|
|
84
90
|
|
|
85
|
-
- [`6d4fd331a62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d4fd331a62) - Updated the packages to remove cyclic dependency. Changed relative imports from emoji, mention, user-picker packages to absolute in util-data-test.
|
|
91
|
+
- [#38757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38757) [`6d4fd331a62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d4fd331a62) - Updated the packages to remove cyclic dependency. Changed relative imports from emoji, mention, user-picker packages to absolute in util-data-test.
|
|
86
92
|
|
|
87
93
|
## 17.8.5
|
|
88
94
|
|
|
89
95
|
### Patch Changes
|
|
90
96
|
|
|
91
|
-
- [`4da111eca36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4da111eca36) - Revert relative imports
|
|
97
|
+
- [#38304](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38304) [`4da111eca36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4da111eca36) - Revert relative imports
|
|
92
98
|
|
|
93
99
|
## 17.8.4
|
|
94
100
|
|
|
95
101
|
### Patch Changes
|
|
96
102
|
|
|
97
|
-
- [`339015fe986`](https://bitbucket.org/atlassian/atlassian-frontend/commits/339015fe986) - NO-ISSUE Remove circular dependency by turning imports into relative imports in test utility package
|
|
103
|
+
- [#37072](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37072) [`339015fe986`](https://bitbucket.org/atlassian/atlassian-frontend/commits/339015fe986) - NO-ISSUE Remove circular dependency by turning imports into relative imports in test utility package
|
|
98
104
|
|
|
99
105
|
## 17.8.3
|
|
100
106
|
|
|
101
107
|
### Patch Changes
|
|
102
108
|
|
|
103
|
-
- [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
|
|
109
|
+
- [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443) [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
|
|
104
110
|
|
|
105
111
|
## 17.8.2
|
|
106
112
|
|
|
107
113
|
### Patch Changes
|
|
108
114
|
|
|
109
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
115
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
110
116
|
|
|
111
117
|
## 17.8.1
|
|
112
118
|
|
|
113
119
|
### Patch Changes
|
|
114
120
|
|
|
115
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
121
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
116
122
|
|
|
117
123
|
## 17.8.0
|
|
118
124
|
|
|
119
125
|
### Minor Changes
|
|
120
126
|
|
|
121
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
127
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
122
128
|
|
|
123
129
|
### Patch Changes
|
|
124
130
|
|
|
@@ -128,13 +134,13 @@
|
|
|
128
134
|
|
|
129
135
|
### Patch Changes
|
|
130
136
|
|
|
131
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
137
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
132
138
|
|
|
133
139
|
## 17.7.0
|
|
134
140
|
|
|
135
141
|
### Minor Changes
|
|
136
142
|
|
|
137
|
-
- [`001d3ca9cc6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/001d3ca9cc6) - PTC-6520 remove team mention highlight
|
|
143
|
+
- [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299) [`001d3ca9cc6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/001d3ca9cc6) - PTC-6520 remove team mention highlight
|
|
138
144
|
|
|
139
145
|
### Patch Changes
|
|
140
146
|
|
|
@@ -168,13 +174,13 @@
|
|
|
168
174
|
|
|
169
175
|
### Patch Changes
|
|
170
176
|
|
|
171
|
-
- [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.
|
|
177
|
+
- [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324) [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.
|
|
172
178
|
|
|
173
179
|
## 17.6.6
|
|
174
180
|
|
|
175
181
|
### Patch Changes
|
|
176
182
|
|
|
177
|
-
- [`1d41bbc2965`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d41bbc2965) - This changeset introduces non breaking changes to support ssr within the loader emoji component
|
|
183
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`1d41bbc2965`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d41bbc2965) - This changeset introduces non breaking changes to support ssr within the loader emoji component
|
|
178
184
|
- [`b7678f756b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7678f756b3) - useEmoji hook introduced to work along side EmojiCommonProvider
|
|
179
185
|
- Updated dependencies
|
|
180
186
|
|
|
@@ -200,7 +206,7 @@
|
|
|
200
206
|
|
|
201
207
|
### Patch Changes
|
|
202
208
|
|
|
203
|
-
- [`e6fd2041cf5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6fd2041cf5) - Bump to @emotion v11
|
|
209
|
+
- [#27704](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27704) [`e6fd2041cf5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6fd2041cf5) - Bump to @emotion v11
|
|
204
210
|
|
|
205
211
|
## 17.6.1
|
|
206
212
|
|
|
@@ -212,7 +218,7 @@
|
|
|
212
218
|
|
|
213
219
|
### Minor Changes
|
|
214
220
|
|
|
215
|
-
- [`faf391ab64a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/faf391ab64a) - Implementing new CustomOption which will allow for a custom avatar
|
|
221
|
+
- [#26601](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26601) [`faf391ab64a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/faf391ab64a) - Implementing new CustomOption which will allow for a custom avatar
|
|
216
222
|
|
|
217
223
|
### Patch Changes
|
|
218
224
|
|
|
@@ -222,26 +228,26 @@
|
|
|
222
228
|
|
|
223
229
|
### Patch Changes
|
|
224
230
|
|
|
225
|
-
- [`588c8a3e413`](https://bitbucket.org/atlassian/atlassian-frontend/commits/588c8a3e413) - Update mocks to include interface fetchByEmojiId
|
|
231
|
+
- [#25696](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25696) [`588c8a3e413`](https://bitbucket.org/atlassian/atlassian-frontend/commits/588c8a3e413) - Update mocks to include interface fetchByEmojiId
|
|
226
232
|
- Updated dependencies
|
|
227
233
|
|
|
228
234
|
## 17.5.6
|
|
229
235
|
|
|
230
236
|
### Patch Changes
|
|
231
237
|
|
|
232
|
-
- [`12e166e12ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12e166e12ee) - Updated user picker team data to demonstrate a hover effect on the custom icon. New example component added for custom icon.
|
|
238
|
+
- [#25745](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25745) [`12e166e12ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12e166e12ee) - Updated user picker team data to demonstrate a hover effect on the custom icon. New example component added for custom icon.
|
|
233
239
|
|
|
234
240
|
## 17.5.5
|
|
235
241
|
|
|
236
242
|
### Patch Changes
|
|
237
243
|
|
|
238
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
244
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
239
245
|
|
|
240
246
|
## 17.5.4
|
|
241
247
|
|
|
242
248
|
### Patch Changes
|
|
243
249
|
|
|
244
|
-
- [`b7ec6e38528`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7ec6e38528) - Adding extra user-picker data and team data
|
|
250
|
+
- [#25327](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25327) [`b7ec6e38528`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7ec6e38528) - Adding extra user-picker data and team data
|
|
245
251
|
- Updated dependencies
|
|
246
252
|
|
|
247
253
|
## 17.5.3
|
|
@@ -254,26 +260,26 @@
|
|
|
254
260
|
|
|
255
261
|
### Patch Changes
|
|
256
262
|
|
|
257
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
263
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
258
264
|
|
|
259
265
|
## 17.5.1
|
|
260
266
|
|
|
261
267
|
### Patch Changes
|
|
262
268
|
|
|
263
|
-
- [`40dc0e98bc6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/40dc0e98bc6) - remove fake timeout of findByEmojiId in mock
|
|
269
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`40dc0e98bc6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/40dc0e98bc6) - remove fake timeout of findByEmojiId in mock
|
|
264
270
|
- Updated dependencies
|
|
265
271
|
|
|
266
272
|
## 17.5.0
|
|
267
273
|
|
|
268
274
|
### Minor Changes
|
|
269
275
|
|
|
270
|
-
- [`32312d1534d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/32312d1534d) - Add get-atlassian-emojis entry point
|
|
276
|
+
- [#23334](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23334) [`32312d1534d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/32312d1534d) - Add get-atlassian-emojis entry point
|
|
271
277
|
|
|
272
278
|
## 17.4.0
|
|
273
279
|
|
|
274
280
|
### Minor Changes
|
|
275
281
|
|
|
276
|
-
- [`06232e0f8dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/06232e0f8dd) - [ux] Opt In SSR for Resourced Emoji and Emoji Placeholder with EmojiResource interfaces
|
|
282
|
+
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`06232e0f8dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/06232e0f8dd) - [ux] Opt In SSR for Resourced Emoji and Emoji Placeholder with EmojiResource interfaces
|
|
277
283
|
|
|
278
284
|
### Patch Changes
|
|
279
285
|
|
|
@@ -283,7 +289,7 @@
|
|
|
283
289
|
|
|
284
290
|
### Minor Changes
|
|
285
291
|
|
|
286
|
-
- [`31ca93c69a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31ca93c69a3) - [ux] Adding give kudos button to the profile card
|
|
292
|
+
- [#21848](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21848) [`31ca93c69a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31ca93c69a3) - [ux] Adding give kudos button to the profile card
|
|
287
293
|
|
|
288
294
|
### Patch Changes
|
|
289
295
|
|
|
@@ -293,14 +299,14 @@
|
|
|
293
299
|
|
|
294
300
|
### Patch Changes
|
|
295
301
|
|
|
296
|
-
- [`b926172a999`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b926172a999) - Custom Emoji Assets now load using inline media tokens preventing 401s
|
|
302
|
+
- [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721) [`b926172a999`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b926172a999) - Custom Emoji Assets now load using inline media tokens preventing 401s
|
|
297
303
|
- Updated dependencies
|
|
298
304
|
|
|
299
305
|
## 17.2.3
|
|
300
306
|
|
|
301
307
|
### Patch Changes
|
|
302
308
|
|
|
303
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
309
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
304
310
|
|
|
305
311
|
## 17.2.2
|
|
306
312
|
|
|
@@ -318,7 +324,7 @@
|
|
|
318
324
|
|
|
319
325
|
### Minor Changes
|
|
320
326
|
|
|
321
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Upgrade js-search to v2
|
|
327
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Upgrade js-search to v2
|
|
322
328
|
|
|
323
329
|
### Patch Changes
|
|
324
330
|
|
|
@@ -328,25 +334,25 @@
|
|
|
328
334
|
|
|
329
335
|
### Patch Changes
|
|
330
336
|
|
|
331
|
-
- [`e75137a9eff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e75137a9eff) - Adding ability to mark which external users need their sources hydrated
|
|
337
|
+
- [#17994](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17994) [`e75137a9eff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e75137a9eff) - Adding ability to mark which external users need their sources hydrated
|
|
332
338
|
|
|
333
339
|
## 17.1.1
|
|
334
340
|
|
|
335
341
|
### Patch Changes
|
|
336
342
|
|
|
337
|
-
- [`1d343f094cc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d343f094cc) - created new mock profile client function with types
|
|
343
|
+
- [#17948](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17948) [`1d343f094cc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d343f094cc) - created new mock profile client function with types
|
|
338
344
|
|
|
339
345
|
## 17.1.0
|
|
340
346
|
|
|
341
347
|
### Minor Changes
|
|
342
348
|
|
|
343
|
-
- [`a5c73ccaa58`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5c73ccaa58) - Added manager and direct reports section to profile hover card"
|
|
349
|
+
- [#17298](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17298) [`a5c73ccaa58`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5c73ccaa58) - Added manager and direct reports section to profile hover card"
|
|
344
350
|
|
|
345
351
|
## 17.0.2
|
|
346
352
|
|
|
347
353
|
### Patch Changes
|
|
348
354
|
|
|
349
|
-
- [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
355
|
+
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475) [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
350
356
|
|
|
351
357
|
## 17.0.1
|
|
352
358
|
|
|
@@ -358,7 +364,7 @@
|
|
|
358
364
|
|
|
359
365
|
### Major Changes
|
|
360
366
|
|
|
361
|
-
- [`d21da111ec2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d21da111ec2) - CETI-95 Predefined icon sizes are different from existing icons
|
|
367
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`d21da111ec2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d21da111ec2) - CETI-95 Predefined icon sizes are different from existing icons
|
|
362
368
|
|
|
363
369
|
### Minor Changes
|
|
364
370
|
|
|
@@ -368,43 +374,43 @@
|
|
|
368
374
|
|
|
369
375
|
### Patch Changes
|
|
370
376
|
|
|
371
|
-
- [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
377
|
+
- [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694) [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
372
378
|
|
|
373
379
|
## 16.0.0
|
|
374
380
|
|
|
375
381
|
### Major Changes
|
|
376
382
|
|
|
377
|
-
- [`57808770e17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57808770e17) - CETI-31 Add the predefined Panel Icons to the emoji Picker
|
|
383
|
+
- [#14064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14064) [`57808770e17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57808770e17) - CETI-31 Add the predefined Panel Icons to the emoji Picker
|
|
378
384
|
|
|
379
385
|
## 15.0.1
|
|
380
386
|
|
|
381
387
|
### Patch Changes
|
|
382
388
|
|
|
383
|
-
- [`83a7f464573`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83a7f464573) - Introduce new simple mock profilecard client to improve usability.
|
|
389
|
+
- [#9558](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9558) [`83a7f464573`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83a7f464573) - Introduce new simple mock profilecard client to improve usability.
|
|
384
390
|
|
|
385
391
|
## 15.0.0
|
|
386
392
|
|
|
387
393
|
### Major Changes
|
|
388
394
|
|
|
389
|
-
- [`d361f290d63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d361f290d63) - NO-ISSUE avoid bundling test data for development
|
|
395
|
+
- [#7803](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7803) [`d361f290d63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d361f290d63) - NO-ISSUE avoid bundling test data for development
|
|
390
396
|
|
|
391
397
|
## 14.2.2
|
|
392
398
|
|
|
393
399
|
### Patch Changes
|
|
394
400
|
|
|
395
|
-
- [`dd91541afe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd91541afe) - [ux] Further improvements on the invite from mention experiment
|
|
401
|
+
- [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571) [`dd91541afe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd91541afe) - [ux] Further improvements on the invite from mention experiment
|
|
396
402
|
|
|
397
403
|
## 14.2.1
|
|
398
404
|
|
|
399
405
|
### Patch Changes
|
|
400
406
|
|
|
401
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
407
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
402
408
|
|
|
403
409
|
## 14.2.0
|
|
404
410
|
|
|
405
411
|
### Minor Changes
|
|
406
412
|
|
|
407
|
-
- [`22791ceed0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22791ceed0) - [ux] - added new properites in MentionResource interface to support invite from mention experiment
|
|
413
|
+
- [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228) [`22791ceed0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22791ceed0) - [ux] - added new properites in MentionResource interface to support invite from mention experiment
|
|
408
414
|
|
|
409
415
|
- updated util-data-test/mention to enable invite from mention experiment
|
|
410
416
|
- added invite from mention experiment logic into editor-core
|
|
@@ -417,13 +423,13 @@
|
|
|
417
423
|
|
|
418
424
|
### Minor Changes
|
|
419
425
|
|
|
420
|
-
- [`c9327fc11e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9327fc11e) - [ux] Add ability to user picker to display the external users along with the sources they come from.
|
|
426
|
+
- [#6175](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6175) [`c9327fc11e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9327fc11e) - [ux] Add ability to user picker to display the external users along with the sources they come from.
|
|
421
427
|
|
|
422
428
|
## 14.0.4
|
|
423
429
|
|
|
424
430
|
### Patch Changes
|
|
425
431
|
|
|
426
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
432
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
427
433
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
428
434
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
429
435
|
|
|
@@ -437,7 +443,7 @@
|
|
|
437
443
|
|
|
438
444
|
### Patch Changes
|
|
439
445
|
|
|
440
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
446
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
441
447
|
|
|
442
448
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
443
449
|
to prevent duplicates of tslib being bundled.
|
|
@@ -446,13 +452,13 @@
|
|
|
446
452
|
|
|
447
453
|
### Patch Changes
|
|
448
454
|
|
|
449
|
-
- [`0c532edf6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c532edf6e) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
|
|
455
|
+
- [#3226](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3226) [`0c532edf6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c532edf6e) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
|
|
450
456
|
|
|
451
457
|
## 14.0.0
|
|
452
458
|
|
|
453
459
|
### Major Changes
|
|
454
460
|
|
|
455
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
461
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
456
462
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
457
463
|
|
|
458
464
|
### Patch Changes
|
|
@@ -8,7 +8,7 @@ exports.emojiFromUpload = void 0;
|
|
|
8
8
|
var _uuid = _interopRequireDefault(require("uuid"));
|
|
9
9
|
var _emojiConstants = require("../emoji-constants");
|
|
10
10
|
var _loggedUser = require("./logged-user");
|
|
11
|
-
var emojiFromUpload = function emojiFromUpload(upload) {
|
|
11
|
+
var emojiFromUpload = exports.emojiFromUpload = function emojiFromUpload(upload) {
|
|
12
12
|
var shortName = upload.shortName,
|
|
13
13
|
name = upload.name,
|
|
14
14
|
dataURL = upload.dataURL,
|
|
@@ -30,5 +30,4 @@ var emojiFromUpload = function emojiFromUpload(upload) {
|
|
|
30
30
|
},
|
|
31
31
|
searchable: true
|
|
32
32
|
};
|
|
33
|
-
};
|
|
34
|
-
exports.emojiFromUpload = emojiFromUpload;
|
|
33
|
+
};
|
|
@@ -13,11 +13,10 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
|
13
13
|
var _resource = require("@atlaskit/emoji/resource");
|
|
14
14
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
15
15
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
16
|
-
var isUsageClearEmojiRepository = function isUsageClearEmojiRepository(object) {
|
|
16
|
+
var isUsageClearEmojiRepository = exports.isUsageClearEmojiRepository = function isUsageClearEmojiRepository(object) {
|
|
17
17
|
return 'clear' in object;
|
|
18
18
|
};
|
|
19
|
-
exports.
|
|
20
|
-
var EmojiRepositoryUsageClear = /*#__PURE__*/function (_EmojiRepository) {
|
|
19
|
+
var EmojiRepositoryUsageClear = exports.EmojiRepositoryUsageClear = /*#__PURE__*/function (_EmojiRepository) {
|
|
21
20
|
(0, _inherits2.default)(EmojiRepositoryUsageClear, _EmojiRepository);
|
|
22
21
|
var _super = _createSuper(EmojiRepositoryUsageClear);
|
|
23
22
|
function EmojiRepositoryUsageClear(emojis) {
|
|
@@ -31,5 +30,4 @@ var EmojiRepositoryUsageClear = /*#__PURE__*/function (_EmojiRepository) {
|
|
|
31
30
|
}
|
|
32
31
|
}]);
|
|
33
32
|
return EmojiRepositoryUsageClear;
|
|
34
|
-
}(_resource.EmojiRepository);
|
|
35
|
-
exports.EmojiRepositoryUsageClear = EmojiRepositoryUsageClear;
|
|
33
|
+
}(_resource.EmojiRepository);
|
|
@@ -14,7 +14,7 @@ var _emojiRepositoryUsageClear = require("./emoji-repository-usage-clear");
|
|
|
14
14
|
var _mockNonUploadingEmojiResource = require("./mock-non-uploading-emoji-resource");
|
|
15
15
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
16
16
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
17
|
-
var EmojiResourceUsageClear = /*#__PURE__*/function (_MockNonUploadingEmoj) {
|
|
17
|
+
var EmojiResourceUsageClear = exports.EmojiResourceUsageClear = /*#__PURE__*/function (_MockNonUploadingEmoj) {
|
|
18
18
|
(0, _inherits2.default)(EmojiResourceUsageClear, _MockNonUploadingEmoj);
|
|
19
19
|
var _super = _createSuper(EmojiResourceUsageClear);
|
|
20
20
|
function EmojiResourceUsageClear(emojis) {
|
|
@@ -30,5 +30,4 @@ var EmojiResourceUsageClear = /*#__PURE__*/function (_MockNonUploadingEmoj) {
|
|
|
30
30
|
}
|
|
31
31
|
}]);
|
|
32
32
|
return EmojiResourceUsageClear;
|
|
33
|
-
}(_mockNonUploadingEmojiResource.MockNonUploadingEmojiResource);
|
|
34
|
-
exports.EmojiResourceUsageClear = EmojiResourceUsageClear;
|
|
33
|
+
}(_mockNonUploadingEmojiResource.MockNonUploadingEmojiResource);
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getAtlassianEmojiData = void 0;
|
|
7
|
-
var getAtlassianEmojiData = function getAtlassianEmojiData() {
|
|
7
|
+
var getAtlassianEmojiData = exports.getAtlassianEmojiData = function getAtlassianEmojiData() {
|
|
8
8
|
return require('../json-data/service-data-atlassian.json');
|
|
9
|
-
};
|
|
10
|
-
exports.getAtlassianEmojiData = getAtlassianEmojiData;
|
|
9
|
+
};
|
|
@@ -8,15 +8,14 @@ exports.getAtlassianEmojis = void 0;
|
|
|
8
8
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
9
9
|
var _utils = require("@atlaskit/emoji/utils");
|
|
10
10
|
var _getAtlassianEmojiData = require("./get-atlassian-emoji-data");
|
|
11
|
-
var getAtlassianEmojis = (0, _memoizeOne.default)(function () {
|
|
11
|
+
var getAtlassianEmojis = exports.getAtlassianEmojis = (0, _memoizeOne.default)(function () {
|
|
12
12
|
var _atlassianEmojis$meta, _atlassianEmojis$meta2;
|
|
13
13
|
var atlassianEmojis = (0, _getAtlassianEmojiData.getAtlassianEmojiData)();
|
|
14
|
-
var atlassianSprites = (_atlassianEmojis$meta = atlassianEmojis === null || atlassianEmojis === void 0
|
|
14
|
+
var atlassianSprites = (_atlassianEmojis$meta = atlassianEmojis === null || atlassianEmojis === void 0 || (_atlassianEmojis$meta2 = atlassianEmojis.meta) === null || _atlassianEmojis$meta2 === void 0 ? void 0 : _atlassianEmojis$meta2.spriteSheets) !== null && _atlassianEmojis$meta !== void 0 ? _atlassianEmojis$meta : {};
|
|
15
15
|
return (0, _utils.denormaliseEmojiServiceResponse)({
|
|
16
16
|
emojis: atlassianEmojis.emojis,
|
|
17
17
|
meta: {
|
|
18
18
|
spriteSheets: atlassianSprites
|
|
19
19
|
}
|
|
20
20
|
}).emojis;
|
|
21
|
-
});
|
|
22
|
-
exports.getAtlassianEmojis = getAtlassianEmojis;
|
|
21
|
+
});
|
|
@@ -11,11 +11,10 @@ var _resource = require("@atlaskit/emoji/resource");
|
|
|
11
11
|
var _utils = require("@atlaskit/emoji/utils");
|
|
12
12
|
var _mockEmojiResource = require("./mock-emoji-resource");
|
|
13
13
|
var _loggedUser = require("./logged-user");
|
|
14
|
-
var currentUser = {
|
|
14
|
+
var currentUser = exports.currentUser = {
|
|
15
15
|
id: _loggedUser.loggedUser
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
18
|
-
var defaultFetch = /*#__PURE__*/function () {
|
|
17
|
+
var defaultFetch = exports.defaultFetch = /*#__PURE__*/function () {
|
|
19
18
|
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
20
19
|
var response;
|
|
21
20
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
@@ -42,8 +41,7 @@ var defaultFetch = /*#__PURE__*/function () {
|
|
|
42
41
|
return _ref.apply(this, arguments);
|
|
43
42
|
};
|
|
44
43
|
}();
|
|
45
|
-
exports.
|
|
46
|
-
var getEmojiProvider = /*#__PURE__*/function () {
|
|
44
|
+
var getEmojiProvider = exports.getEmojiProvider = /*#__PURE__*/function () {
|
|
47
45
|
var _getEmojiProvider = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(config) {
|
|
48
46
|
var fn,
|
|
49
47
|
response,
|
|
@@ -72,5 +70,4 @@ var getEmojiProvider = /*#__PURE__*/function () {
|
|
|
72
70
|
return _getEmojiProvider.apply(this, arguments);
|
|
73
71
|
}
|
|
74
72
|
return getEmojiProvider;
|
|
75
|
-
}();
|
|
76
|
-
exports.getEmojiProvider = getEmojiProvider;
|
|
73
|
+
}();
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getEmojiRepository = void 0;
|
|
7
7
|
var _resource = require("@atlaskit/emoji/resource");
|
|
8
8
|
var _getEmojis = require("./get-emojis");
|
|
9
|
-
var getEmojiRepository = function getEmojiRepository() {
|
|
9
|
+
var getEmojiRepository = exports.getEmojiRepository = function getEmojiRepository() {
|
|
10
10
|
return new _resource.EmojiRepository((0, _getEmojis.getEmojis)());
|
|
11
|
-
};
|
|
12
|
-
exports.getEmojiRepository = getEmojiRepository;
|
|
11
|
+
};
|
|
@@ -10,9 +10,8 @@ var _resource = require("@atlaskit/emoji/resource");
|
|
|
10
10
|
var _getAtlassianEmojis = require("./get-atlassian-emojis");
|
|
11
11
|
var _getStandardEmojis = require("./get-standard-emojis");
|
|
12
12
|
var _mockEmojiResourceFactory = require("./mock-emoji-resource-factory");
|
|
13
|
-
var getEmojiResourceWithStandardAndAtlassianEmojis = function getEmojiResourceWithStandardAndAtlassianEmojis(config) {
|
|
13
|
+
var getEmojiResourceWithStandardAndAtlassianEmojis = exports.getEmojiResourceWithStandardAndAtlassianEmojis = function getEmojiResourceWithStandardAndAtlassianEmojis(config) {
|
|
14
14
|
var standardEmojis = (0, _getStandardEmojis.getStandardEmojis)();
|
|
15
15
|
var atlassianEmojis = (0, _getAtlassianEmojis.getAtlassianEmojis)();
|
|
16
16
|
return (0, _mockEmojiResourceFactory.mockEmojiResourceFactory)(new _resource.EmojiRepository([].concat((0, _toConsumableArray2.default)(standardEmojis), (0, _toConsumableArray2.default)(atlassianEmojis))), config);
|
|
17
|
-
};
|
|
18
|
-
exports.getEmojiResourceWithStandardAndAtlassianEmojis = getEmojiResourceWithStandardAndAtlassianEmojis;
|
|
17
|
+
};
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getEmojiResourceUsageClear = void 0;
|
|
7
7
|
var _getEmojis = require("./get-emojis");
|
|
8
8
|
var _emojiResourceUsageClear = require("./emoji-resource-usage-clear");
|
|
9
|
-
var getEmojiResourceUsageClear = function getEmojiResourceUsageClear() {
|
|
9
|
+
var getEmojiResourceUsageClear = exports.getEmojiResourceUsageClear = function getEmojiResourceUsageClear() {
|
|
10
10
|
return new _emojiResourceUsageClear.EmojiResourceUsageClear((0, _getEmojis.getEmojis)());
|
|
11
|
-
};
|
|
12
|
-
exports.getEmojiResourceUsageClear = getEmojiResourceUsageClear;
|
|
11
|
+
};
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getEmojiResource = void 0;
|
|
7
7
|
var _getEmojiRepository = require("./get-emoji-repository");
|
|
8
8
|
var _mockEmojiResourceFactory = require("./mock-emoji-resource-factory");
|
|
9
|
-
var getEmojiResource = function getEmojiResource(config) {
|
|
9
|
+
var getEmojiResource = exports.getEmojiResource = function getEmojiResource(config) {
|
|
10
10
|
return (0, _mockEmojiResourceFactory.mockEmojiResourceFactory)((0, _getEmojiRepository.getEmojiRepository)(), config);
|
|
11
|
-
};
|
|
12
|
-
exports.getEmojiResource = getEmojiResource;
|
|
11
|
+
};
|
|
@@ -13,18 +13,17 @@ var _getSiteEmojiData = require("./get-site-emoji-data");
|
|
|
13
13
|
var _getStandardEmojiData = require("./get-standard-emoji-data");
|
|
14
14
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
15
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
-
var getEmojis = function getEmojis() {
|
|
16
|
+
var getEmojis = exports.getEmojis = function getEmojis() {
|
|
17
17
|
var _standardEmojis$meta$, _standardEmojis$meta, _atlassianEmojis$meta, _atlassianEmojis$meta2;
|
|
18
18
|
var standardEmojis = (0, _getStandardEmojiData.getStandardEmojiData)();
|
|
19
19
|
var atlassianEmojis = (0, _getAtlassianEmojiData.getAtlassianEmojiData)();
|
|
20
20
|
var siteEmojis = (0, _getSiteEmojiData.getSiteEmojiData)();
|
|
21
|
-
var standardSprites = (_standardEmojis$meta$ = standardEmojis === null || standardEmojis === void 0
|
|
22
|
-
var atlassianSprites = (_atlassianEmojis$meta = atlassianEmojis === null || atlassianEmojis === void 0
|
|
21
|
+
var standardSprites = (_standardEmojis$meta$ = standardEmojis === null || standardEmojis === void 0 || (_standardEmojis$meta = standardEmojis.meta) === null || _standardEmojis$meta === void 0 ? void 0 : _standardEmojis$meta.spriteSheets) !== null && _standardEmojis$meta$ !== void 0 ? _standardEmojis$meta$ : {};
|
|
22
|
+
var atlassianSprites = (_atlassianEmojis$meta = atlassianEmojis === null || atlassianEmojis === void 0 || (_atlassianEmojis$meta2 = atlassianEmojis.meta) === null || _atlassianEmojis$meta2 === void 0 ? void 0 : _atlassianEmojis$meta2.spriteSheets) !== null && _atlassianEmojis$meta !== void 0 ? _atlassianEmojis$meta : {};
|
|
23
23
|
return (0, _utils.denormaliseEmojiServiceResponse)({
|
|
24
24
|
emojis: [].concat((0, _toConsumableArray2.default)(standardEmojis.emojis), (0, _toConsumableArray2.default)(atlassianEmojis.emojis), (0, _toConsumableArray2.default)(siteEmojis.emojis)),
|
|
25
25
|
meta: {
|
|
26
26
|
spriteSheets: _objectSpread(_objectSpread({}, standardSprites), atlassianSprites)
|
|
27
27
|
}
|
|
28
28
|
}).emojis;
|
|
29
|
-
};
|
|
30
|
-
exports.getEmojis = getEmojis;
|
|
29
|
+
};
|
|
@@ -5,9 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getSiteEmojiData = void 0;
|
|
7
7
|
var _siteEmojiWtf = require("./site-emoji-wtf");
|
|
8
|
-
var getSiteEmojiData = function getSiteEmojiData() {
|
|
8
|
+
var getSiteEmojiData = exports.getSiteEmojiData = function getSiteEmojiData() {
|
|
9
9
|
return {
|
|
10
10
|
emojis: [_siteEmojiWtf.siteEmojiWtf]
|
|
11
11
|
};
|
|
12
|
-
};
|
|
13
|
-
exports.getSiteEmojiData = getSiteEmojiData;
|
|
12
|
+
};
|
|
@@ -8,9 +8,8 @@ exports.getSiteEmojis = void 0;
|
|
|
8
8
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
9
9
|
var _utils = require("@atlaskit/emoji/utils");
|
|
10
10
|
var _getSiteEmojiData = require("./get-site-emoji-data");
|
|
11
|
-
var getSiteEmojis = (0, _memoizeOne.default)(function () {
|
|
11
|
+
var getSiteEmojis = exports.getSiteEmojis = (0, _memoizeOne.default)(function () {
|
|
12
12
|
return (0, _utils.denormaliseEmojiServiceResponse)({
|
|
13
13
|
emojis: (0, _getSiteEmojiData.getSiteEmojiData)().emojis
|
|
14
14
|
}).emojis;
|
|
15
|
-
});
|
|
16
|
-
exports.getSiteEmojis = getSiteEmojis;
|
|
15
|
+
});
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getStandardEmojiData = void 0;
|
|
7
7
|
// TODO: load this data via http instead
|
|
8
|
-
var getStandardEmojiData = function getStandardEmojiData() {
|
|
8
|
+
var getStandardEmojiData = exports.getStandardEmojiData = function getStandardEmojiData() {
|
|
9
9
|
return require('../json-data/service-data-standard.json');
|
|
10
|
-
};
|
|
11
|
-
exports.getStandardEmojiData = getStandardEmojiData;
|
|
10
|
+
};
|
|
@@ -8,15 +8,14 @@ exports.getStandardEmojis = void 0;
|
|
|
8
8
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
9
9
|
var _utils = require("@atlaskit/emoji/utils");
|
|
10
10
|
var _getStandardEmojiData = require("./get-standard-emoji-data");
|
|
11
|
-
var getStandardEmojis = (0, _memoizeOne.default)(function () {
|
|
11
|
+
var getStandardEmojis = exports.getStandardEmojis = (0, _memoizeOne.default)(function () {
|
|
12
12
|
var _standardEmojis$meta$, _standardEmojis$meta;
|
|
13
13
|
var standardEmojis = (0, _getStandardEmojiData.getStandardEmojiData)();
|
|
14
|
-
var standardSprites = (_standardEmojis$meta$ = standardEmojis === null || standardEmojis === void 0
|
|
14
|
+
var standardSprites = (_standardEmojis$meta$ = standardEmojis === null || standardEmojis === void 0 || (_standardEmojis$meta = standardEmojis.meta) === null || _standardEmojis$meta === void 0 ? void 0 : _standardEmojis$meta.spriteSheets) !== null && _standardEmojis$meta$ !== void 0 ? _standardEmojis$meta$ : {};
|
|
15
15
|
return (0, _utils.denormaliseEmojiServiceResponse)({
|
|
16
16
|
emojis: standardEmojis.emojis,
|
|
17
17
|
meta: {
|
|
18
18
|
spriteSheets: standardSprites
|
|
19
19
|
}
|
|
20
20
|
}).emojis;
|
|
21
|
-
});
|
|
22
|
-
exports.getStandardEmojis = getStandardEmojis;
|
|
21
|
+
});
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.imageEmoji = void 0;
|
|
7
|
-
var imageEmoji = {
|
|
7
|
+
var imageEmoji = exports.imageEmoji = {
|
|
8
8
|
id: 'grimacing',
|
|
9
9
|
shortName: ':grimacing:',
|
|
10
10
|
name: 'Grimacing',
|
|
@@ -22,5 +22,4 @@ var imageEmoji = {
|
|
|
22
22
|
height: 48
|
|
23
23
|
},
|
|
24
24
|
searchable: true
|
|
25
|
-
};
|
|
26
|
-
exports.imageEmoji = imageEmoji;
|
|
25
|
+
};
|
package/dist/cjs/emoji/lorem.js
CHANGED
|
@@ -4,5 +4,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.lorem = void 0;
|
|
7
|
-
var lorem = "\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur tincidunt,\n lorem eu vestibulum sollicitudin, erat nibh ornare purus, et sollicitudin lorem\n felis nec erat. Quisque quis ligula nisi. Cras nec dui vestibulum, pretium massa ut,\n egestas turpis. Quisque finibus eget justo a mollis. Mauris quis varius nisl. Donec\n aliquet enim vel eros suscipit porta. Vivamus quis molestie leo. In feugiat felis mi,\n ac varius odio accumsan ac. Pellentesque habitant morbi tristique senectus et netus et\n malesuada fames ac turpis egestas. Mauris elementum mauris ac leo porta venenatis.\n Integer hendrerit lacus vel faucibus sagittis. Mauris elit urna, tincidunt at aliquet\n sit amet, convallis placerat diam. Mauris id aliquet elit, non posuere nibh. Curabitur\n ullamcorper lectus mi, quis varius libero ultricies nec. Quisque tempus neque ligula,\n a semper massa dignissim nec.\n";
|
|
8
|
-
exports.lorem = lorem;
|
|
7
|
+
var lorem = exports.lorem = "\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur tincidunt,\n lorem eu vestibulum sollicitudin, erat nibh ornare purus, et sollicitudin lorem\n felis nec erat. Quisque quis ligula nisi. Cras nec dui vestibulum, pretium massa ut,\n egestas turpis. Quisque finibus eget justo a mollis. Mauris quis varius nisl. Donec\n aliquet enim vel eros suscipit porta. Vivamus quis molestie leo. In feugiat felis mi,\n ac varius odio accumsan ac. Pellentesque habitant morbi tristique senectus et netus et\n malesuada fames ac turpis egestas. Mauris elementum mauris ac leo porta venenatis.\n Integer hendrerit lacus vel faucibus sagittis. Mauris elit urna, tincidunt at aliquet\n sit amet, convallis placerat diam. Mauris id aliquet elit, non posuere nibh. Curabitur\n ullamcorper lectus mi, quis varius libero ultricies nec. Quisque tempus neque ligula,\n a semper massa dignissim nec.\n";
|