@atlaskit/util-data-test 17.8.19 → 17.8.21
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 +54 -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 +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/util-data-test
|
|
2
2
|
|
|
3
|
+
## 17.8.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 17.8.20
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 17.8.19
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -82,43 +94,43 @@
|
|
|
82
94
|
|
|
83
95
|
### Patch Changes
|
|
84
96
|
|
|
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.
|
|
97
|
+
- [#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
98
|
|
|
87
99
|
## 17.8.5
|
|
88
100
|
|
|
89
101
|
### Patch Changes
|
|
90
102
|
|
|
91
|
-
- [`4da111eca36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4da111eca36) - Revert relative imports
|
|
103
|
+
- [#38304](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38304) [`4da111eca36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4da111eca36) - Revert relative imports
|
|
92
104
|
|
|
93
105
|
## 17.8.4
|
|
94
106
|
|
|
95
107
|
### Patch Changes
|
|
96
108
|
|
|
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
|
|
109
|
+
- [#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
110
|
|
|
99
111
|
## 17.8.3
|
|
100
112
|
|
|
101
113
|
### Patch Changes
|
|
102
114
|
|
|
103
|
-
- [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
|
|
115
|
+
- [#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
116
|
|
|
105
117
|
## 17.8.2
|
|
106
118
|
|
|
107
119
|
### Patch Changes
|
|
108
120
|
|
|
109
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
121
|
+
- [#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
122
|
|
|
111
123
|
## 17.8.1
|
|
112
124
|
|
|
113
125
|
### Patch Changes
|
|
114
126
|
|
|
115
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
127
|
+
- [#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
128
|
|
|
117
129
|
## 17.8.0
|
|
118
130
|
|
|
119
131
|
### Minor Changes
|
|
120
132
|
|
|
121
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
133
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
122
134
|
|
|
123
135
|
### Patch Changes
|
|
124
136
|
|
|
@@ -128,13 +140,13 @@
|
|
|
128
140
|
|
|
129
141
|
### Patch Changes
|
|
130
142
|
|
|
131
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
143
|
+
- [#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
144
|
|
|
133
145
|
## 17.7.0
|
|
134
146
|
|
|
135
147
|
### Minor Changes
|
|
136
148
|
|
|
137
|
-
- [`001d3ca9cc6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/001d3ca9cc6) - PTC-6520 remove team mention highlight
|
|
149
|
+
- [#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
150
|
|
|
139
151
|
### Patch Changes
|
|
140
152
|
|
|
@@ -168,13 +180,13 @@
|
|
|
168
180
|
|
|
169
181
|
### Patch Changes
|
|
170
182
|
|
|
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.
|
|
183
|
+
- [#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
184
|
|
|
173
185
|
## 17.6.6
|
|
174
186
|
|
|
175
187
|
### Patch Changes
|
|
176
188
|
|
|
177
|
-
- [`1d41bbc2965`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d41bbc2965) - This changeset introduces non breaking changes to support ssr within the loader emoji component
|
|
189
|
+
- [#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
190
|
- [`b7678f756b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7678f756b3) - useEmoji hook introduced to work along side EmojiCommonProvider
|
|
179
191
|
- Updated dependencies
|
|
180
192
|
|
|
@@ -200,7 +212,7 @@
|
|
|
200
212
|
|
|
201
213
|
### Patch Changes
|
|
202
214
|
|
|
203
|
-
- [`e6fd2041cf5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6fd2041cf5) - Bump to @emotion v11
|
|
215
|
+
- [#27704](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27704) [`e6fd2041cf5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6fd2041cf5) - Bump to @emotion v11
|
|
204
216
|
|
|
205
217
|
## 17.6.1
|
|
206
218
|
|
|
@@ -212,7 +224,7 @@
|
|
|
212
224
|
|
|
213
225
|
### Minor Changes
|
|
214
226
|
|
|
215
|
-
- [`faf391ab64a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/faf391ab64a) - Implementing new CustomOption which will allow for a custom avatar
|
|
227
|
+
- [#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
228
|
|
|
217
229
|
### Patch Changes
|
|
218
230
|
|
|
@@ -222,26 +234,26 @@
|
|
|
222
234
|
|
|
223
235
|
### Patch Changes
|
|
224
236
|
|
|
225
|
-
- [`588c8a3e413`](https://bitbucket.org/atlassian/atlassian-frontend/commits/588c8a3e413) - Update mocks to include interface fetchByEmojiId
|
|
237
|
+
- [#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
238
|
- Updated dependencies
|
|
227
239
|
|
|
228
240
|
## 17.5.6
|
|
229
241
|
|
|
230
242
|
### Patch Changes
|
|
231
243
|
|
|
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.
|
|
244
|
+
- [#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
245
|
|
|
234
246
|
## 17.5.5
|
|
235
247
|
|
|
236
248
|
### Patch Changes
|
|
237
249
|
|
|
238
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
250
|
+
- [#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
251
|
|
|
240
252
|
## 17.5.4
|
|
241
253
|
|
|
242
254
|
### Patch Changes
|
|
243
255
|
|
|
244
|
-
- [`b7ec6e38528`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7ec6e38528) - Adding extra user-picker data and team data
|
|
256
|
+
- [#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
257
|
- Updated dependencies
|
|
246
258
|
|
|
247
259
|
## 17.5.3
|
|
@@ -254,26 +266,26 @@
|
|
|
254
266
|
|
|
255
267
|
### Patch Changes
|
|
256
268
|
|
|
257
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
269
|
+
- [#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
270
|
|
|
259
271
|
## 17.5.1
|
|
260
272
|
|
|
261
273
|
### Patch Changes
|
|
262
274
|
|
|
263
|
-
- [`40dc0e98bc6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/40dc0e98bc6) - remove fake timeout of findByEmojiId in mock
|
|
275
|
+
- [#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
276
|
- Updated dependencies
|
|
265
277
|
|
|
266
278
|
## 17.5.0
|
|
267
279
|
|
|
268
280
|
### Minor Changes
|
|
269
281
|
|
|
270
|
-
- [`32312d1534d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/32312d1534d) - Add get-atlassian-emojis entry point
|
|
282
|
+
- [#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
283
|
|
|
272
284
|
## 17.4.0
|
|
273
285
|
|
|
274
286
|
### Minor Changes
|
|
275
287
|
|
|
276
|
-
- [`06232e0f8dd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/06232e0f8dd) - [ux] Opt In SSR for Resourced Emoji and Emoji Placeholder with EmojiResource interfaces
|
|
288
|
+
- [#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
289
|
|
|
278
290
|
### Patch Changes
|
|
279
291
|
|
|
@@ -283,7 +295,7 @@
|
|
|
283
295
|
|
|
284
296
|
### Minor Changes
|
|
285
297
|
|
|
286
|
-
- [`31ca93c69a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31ca93c69a3) - [ux] Adding give kudos button to the profile card
|
|
298
|
+
- [#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
299
|
|
|
288
300
|
### Patch Changes
|
|
289
301
|
|
|
@@ -293,14 +305,14 @@
|
|
|
293
305
|
|
|
294
306
|
### Patch Changes
|
|
295
307
|
|
|
296
|
-
- [`b926172a999`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b926172a999) - Custom Emoji Assets now load using inline media tokens preventing 401s
|
|
308
|
+
- [#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
309
|
- Updated dependencies
|
|
298
310
|
|
|
299
311
|
## 17.2.3
|
|
300
312
|
|
|
301
313
|
### Patch Changes
|
|
302
314
|
|
|
303
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
315
|
+
- [#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
316
|
|
|
305
317
|
## 17.2.2
|
|
306
318
|
|
|
@@ -318,7 +330,7 @@
|
|
|
318
330
|
|
|
319
331
|
### Minor Changes
|
|
320
332
|
|
|
321
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Upgrade js-search to v2
|
|
333
|
+
- [#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
334
|
|
|
323
335
|
### Patch Changes
|
|
324
336
|
|
|
@@ -328,25 +340,25 @@
|
|
|
328
340
|
|
|
329
341
|
### Patch Changes
|
|
330
342
|
|
|
331
|
-
- [`e75137a9eff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e75137a9eff) - Adding ability to mark which external users need their sources hydrated
|
|
343
|
+
- [#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
344
|
|
|
333
345
|
## 17.1.1
|
|
334
346
|
|
|
335
347
|
### Patch Changes
|
|
336
348
|
|
|
337
|
-
- [`1d343f094cc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d343f094cc) - created new mock profile client function with types
|
|
349
|
+
- [#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
350
|
|
|
339
351
|
## 17.1.0
|
|
340
352
|
|
|
341
353
|
### Minor Changes
|
|
342
354
|
|
|
343
|
-
- [`a5c73ccaa58`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5c73ccaa58) - Added manager and direct reports section to profile hover card"
|
|
355
|
+
- [#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
356
|
|
|
345
357
|
## 17.0.2
|
|
346
358
|
|
|
347
359
|
### Patch Changes
|
|
348
360
|
|
|
349
|
-
- [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
361
|
+
- [#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
362
|
|
|
351
363
|
## 17.0.1
|
|
352
364
|
|
|
@@ -358,7 +370,7 @@
|
|
|
358
370
|
|
|
359
371
|
### Major Changes
|
|
360
372
|
|
|
361
|
-
- [`d21da111ec2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d21da111ec2) - CETI-95 Predefined icon sizes are different from existing icons
|
|
373
|
+
- [#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
374
|
|
|
363
375
|
### Minor Changes
|
|
364
376
|
|
|
@@ -368,43 +380,43 @@
|
|
|
368
380
|
|
|
369
381
|
### Patch Changes
|
|
370
382
|
|
|
371
|
-
- [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
383
|
+
- [#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
384
|
|
|
373
385
|
## 16.0.0
|
|
374
386
|
|
|
375
387
|
### Major Changes
|
|
376
388
|
|
|
377
|
-
- [`57808770e17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57808770e17) - CETI-31 Add the predefined Panel Icons to the emoji Picker
|
|
389
|
+
- [#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
390
|
|
|
379
391
|
## 15.0.1
|
|
380
392
|
|
|
381
393
|
### Patch Changes
|
|
382
394
|
|
|
383
|
-
- [`83a7f464573`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83a7f464573) - Introduce new simple mock profilecard client to improve usability.
|
|
395
|
+
- [#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
396
|
|
|
385
397
|
## 15.0.0
|
|
386
398
|
|
|
387
399
|
### Major Changes
|
|
388
400
|
|
|
389
|
-
- [`d361f290d63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d361f290d63) - NO-ISSUE avoid bundling test data for development
|
|
401
|
+
- [#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
402
|
|
|
391
403
|
## 14.2.2
|
|
392
404
|
|
|
393
405
|
### Patch Changes
|
|
394
406
|
|
|
395
|
-
- [`dd91541afe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd91541afe) - [ux] Further improvements on the invite from mention experiment
|
|
407
|
+
- [#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
408
|
|
|
397
409
|
## 14.2.1
|
|
398
410
|
|
|
399
411
|
### Patch Changes
|
|
400
412
|
|
|
401
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
413
|
+
- [#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
414
|
|
|
403
415
|
## 14.2.0
|
|
404
416
|
|
|
405
417
|
### Minor Changes
|
|
406
418
|
|
|
407
|
-
- [`22791ceed0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22791ceed0) - [ux] - added new properites in MentionResource interface to support invite from mention experiment
|
|
419
|
+
- [#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
420
|
|
|
409
421
|
- updated util-data-test/mention to enable invite from mention experiment
|
|
410
422
|
- added invite from mention experiment logic into editor-core
|
|
@@ -417,13 +429,13 @@
|
|
|
417
429
|
|
|
418
430
|
### Minor Changes
|
|
419
431
|
|
|
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.
|
|
432
|
+
- [#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
433
|
|
|
422
434
|
## 14.0.4
|
|
423
435
|
|
|
424
436
|
### Patch Changes
|
|
425
437
|
|
|
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.
|
|
438
|
+
- [#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
439
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
428
440
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
429
441
|
|
|
@@ -437,7 +449,7 @@
|
|
|
437
449
|
|
|
438
450
|
### Patch Changes
|
|
439
451
|
|
|
440
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
452
|
+
- [#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
453
|
|
|
442
454
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
443
455
|
to prevent duplicates of tslib being bundled.
|
|
@@ -446,13 +458,13 @@
|
|
|
446
458
|
|
|
447
459
|
### Patch Changes
|
|
448
460
|
|
|
449
|
-
- [`0c532edf6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c532edf6e) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
|
|
461
|
+
- [#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
462
|
|
|
451
463
|
## 14.0.0
|
|
452
464
|
|
|
453
465
|
### Major Changes
|
|
454
466
|
|
|
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.
|
|
467
|
+
- [#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
468
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
457
469
|
|
|
458
470
|
### 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";
|