@atlaskit/util-data-test 17.8.18 → 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 +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.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 17.8.19
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 17.8.18
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -76,43 +88,43 @@
|
|
|
76
88
|
|
|
77
89
|
### Patch Changes
|
|
78
90
|
|
|
79
|
-
- [`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.
|
|
80
92
|
|
|
81
93
|
## 17.8.5
|
|
82
94
|
|
|
83
95
|
### Patch Changes
|
|
84
96
|
|
|
85
|
-
- [`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
|
|
86
98
|
|
|
87
99
|
## 17.8.4
|
|
88
100
|
|
|
89
101
|
### Patch Changes
|
|
90
102
|
|
|
91
|
-
- [`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
|
|
92
104
|
|
|
93
105
|
## 17.8.3
|
|
94
106
|
|
|
95
107
|
### Patch Changes
|
|
96
108
|
|
|
97
|
-
- [`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
|
|
98
110
|
|
|
99
111
|
## 17.8.2
|
|
100
112
|
|
|
101
113
|
### Patch Changes
|
|
102
114
|
|
|
103
|
-
- [`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
|
|
104
116
|
|
|
105
117
|
## 17.8.1
|
|
106
118
|
|
|
107
119
|
### Patch Changes
|
|
108
120
|
|
|
109
|
-
- [`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`
|
|
110
122
|
|
|
111
123
|
## 17.8.0
|
|
112
124
|
|
|
113
125
|
### Minor Changes
|
|
114
126
|
|
|
115
|
-
- [`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
|
|
116
128
|
|
|
117
129
|
### Patch Changes
|
|
118
130
|
|
|
@@ -122,13 +134,13 @@
|
|
|
122
134
|
|
|
123
135
|
### Patch Changes
|
|
124
136
|
|
|
125
|
-
- [`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
|
|
126
138
|
|
|
127
139
|
## 17.7.0
|
|
128
140
|
|
|
129
141
|
### Minor Changes
|
|
130
142
|
|
|
131
|
-
- [`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
|
|
132
144
|
|
|
133
145
|
### Patch Changes
|
|
134
146
|
|
|
@@ -162,13 +174,13 @@
|
|
|
162
174
|
|
|
163
175
|
### Patch Changes
|
|
164
176
|
|
|
165
|
-
- [`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.
|
|
166
178
|
|
|
167
179
|
## 17.6.6
|
|
168
180
|
|
|
169
181
|
### Patch Changes
|
|
170
182
|
|
|
171
|
-
- [`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
|
|
172
184
|
- [`b7678f756b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7678f756b3) - useEmoji hook introduced to work along side EmojiCommonProvider
|
|
173
185
|
- Updated dependencies
|
|
174
186
|
|
|
@@ -194,7 +206,7 @@
|
|
|
194
206
|
|
|
195
207
|
### Patch Changes
|
|
196
208
|
|
|
197
|
-
- [`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
|
|
198
210
|
|
|
199
211
|
## 17.6.1
|
|
200
212
|
|
|
@@ -206,7 +218,7 @@
|
|
|
206
218
|
|
|
207
219
|
### Minor Changes
|
|
208
220
|
|
|
209
|
-
- [`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
|
|
210
222
|
|
|
211
223
|
### Patch Changes
|
|
212
224
|
|
|
@@ -216,26 +228,26 @@
|
|
|
216
228
|
|
|
217
229
|
### Patch Changes
|
|
218
230
|
|
|
219
|
-
- [`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
|
|
220
232
|
- Updated dependencies
|
|
221
233
|
|
|
222
234
|
## 17.5.6
|
|
223
235
|
|
|
224
236
|
### Patch Changes
|
|
225
237
|
|
|
226
|
-
- [`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.
|
|
227
239
|
|
|
228
240
|
## 17.5.5
|
|
229
241
|
|
|
230
242
|
### Patch Changes
|
|
231
243
|
|
|
232
|
-
- [`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`
|
|
233
245
|
|
|
234
246
|
## 17.5.4
|
|
235
247
|
|
|
236
248
|
### Patch Changes
|
|
237
249
|
|
|
238
|
-
- [`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
|
|
239
251
|
- Updated dependencies
|
|
240
252
|
|
|
241
253
|
## 17.5.3
|
|
@@ -248,26 +260,26 @@
|
|
|
248
260
|
|
|
249
261
|
### Patch Changes
|
|
250
262
|
|
|
251
|
-
- [`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`.
|
|
252
264
|
|
|
253
265
|
## 17.5.1
|
|
254
266
|
|
|
255
267
|
### Patch Changes
|
|
256
268
|
|
|
257
|
-
- [`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
|
|
258
270
|
- Updated dependencies
|
|
259
271
|
|
|
260
272
|
## 17.5.0
|
|
261
273
|
|
|
262
274
|
### Minor Changes
|
|
263
275
|
|
|
264
|
-
- [`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
|
|
265
277
|
|
|
266
278
|
## 17.4.0
|
|
267
279
|
|
|
268
280
|
### Minor Changes
|
|
269
281
|
|
|
270
|
-
- [`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
|
|
271
283
|
|
|
272
284
|
### Patch Changes
|
|
273
285
|
|
|
@@ -277,7 +289,7 @@
|
|
|
277
289
|
|
|
278
290
|
### Minor Changes
|
|
279
291
|
|
|
280
|
-
- [`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
|
|
281
293
|
|
|
282
294
|
### Patch Changes
|
|
283
295
|
|
|
@@ -287,14 +299,14 @@
|
|
|
287
299
|
|
|
288
300
|
### Patch Changes
|
|
289
301
|
|
|
290
|
-
- [`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
|
|
291
303
|
- Updated dependencies
|
|
292
304
|
|
|
293
305
|
## 17.2.3
|
|
294
306
|
|
|
295
307
|
### Patch Changes
|
|
296
308
|
|
|
297
|
-
- [`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
|
|
298
310
|
|
|
299
311
|
## 17.2.2
|
|
300
312
|
|
|
@@ -312,7 +324,7 @@
|
|
|
312
324
|
|
|
313
325
|
### Minor Changes
|
|
314
326
|
|
|
315
|
-
- [`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
|
|
316
328
|
|
|
317
329
|
### Patch Changes
|
|
318
330
|
|
|
@@ -322,25 +334,25 @@
|
|
|
322
334
|
|
|
323
335
|
### Patch Changes
|
|
324
336
|
|
|
325
|
-
- [`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
|
|
326
338
|
|
|
327
339
|
## 17.1.1
|
|
328
340
|
|
|
329
341
|
### Patch Changes
|
|
330
342
|
|
|
331
|
-
- [`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
|
|
332
344
|
|
|
333
345
|
## 17.1.0
|
|
334
346
|
|
|
335
347
|
### Minor Changes
|
|
336
348
|
|
|
337
|
-
- [`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"
|
|
338
350
|
|
|
339
351
|
## 17.0.2
|
|
340
352
|
|
|
341
353
|
### Patch Changes
|
|
342
354
|
|
|
343
|
-
- [`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
|
|
344
356
|
|
|
345
357
|
## 17.0.1
|
|
346
358
|
|
|
@@ -352,7 +364,7 @@
|
|
|
352
364
|
|
|
353
365
|
### Major Changes
|
|
354
366
|
|
|
355
|
-
- [`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
|
|
356
368
|
|
|
357
369
|
### Minor Changes
|
|
358
370
|
|
|
@@ -362,43 +374,43 @@
|
|
|
362
374
|
|
|
363
375
|
### Patch Changes
|
|
364
376
|
|
|
365
|
-
- [`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
|
|
366
378
|
|
|
367
379
|
## 16.0.0
|
|
368
380
|
|
|
369
381
|
### Major Changes
|
|
370
382
|
|
|
371
|
-
- [`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
|
|
372
384
|
|
|
373
385
|
## 15.0.1
|
|
374
386
|
|
|
375
387
|
### Patch Changes
|
|
376
388
|
|
|
377
|
-
- [`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.
|
|
378
390
|
|
|
379
391
|
## 15.0.0
|
|
380
392
|
|
|
381
393
|
### Major Changes
|
|
382
394
|
|
|
383
|
-
- [`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
|
|
384
396
|
|
|
385
397
|
## 14.2.2
|
|
386
398
|
|
|
387
399
|
### Patch Changes
|
|
388
400
|
|
|
389
|
-
- [`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
|
|
390
402
|
|
|
391
403
|
## 14.2.1
|
|
392
404
|
|
|
393
405
|
### Patch Changes
|
|
394
406
|
|
|
395
|
-
- [`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
|
|
396
408
|
|
|
397
409
|
## 14.2.0
|
|
398
410
|
|
|
399
411
|
### Minor Changes
|
|
400
412
|
|
|
401
|
-
- [`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
|
|
402
414
|
|
|
403
415
|
- updated util-data-test/mention to enable invite from mention experiment
|
|
404
416
|
- added invite from mention experiment logic into editor-core
|
|
@@ -411,13 +423,13 @@
|
|
|
411
423
|
|
|
412
424
|
### Minor Changes
|
|
413
425
|
|
|
414
|
-
- [`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.
|
|
415
427
|
|
|
416
428
|
## 14.0.4
|
|
417
429
|
|
|
418
430
|
### Patch Changes
|
|
419
431
|
|
|
420
|
-
- [`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.
|
|
421
433
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
422
434
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
423
435
|
|
|
@@ -431,7 +443,7 @@
|
|
|
431
443
|
|
|
432
444
|
### Patch Changes
|
|
433
445
|
|
|
434
|
-
- [`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
|
|
435
447
|
|
|
436
448
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
437
449
|
to prevent duplicates of tslib being bundled.
|
|
@@ -440,13 +452,13 @@
|
|
|
440
452
|
|
|
441
453
|
### Patch Changes
|
|
442
454
|
|
|
443
|
-
- [`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
|
|
444
456
|
|
|
445
457
|
## 14.0.0
|
|
446
458
|
|
|
447
459
|
### Major Changes
|
|
448
460
|
|
|
449
|
-
- [`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.
|
|
450
462
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
451
463
|
|
|
452
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";
|