@atlaskit/mention 22.1.5 → 22.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/CHANGELOG.md +67 -55
  2. package/dist/cjs/_constants.js +1 -2
  3. package/dist/cjs/api/ContextMentionResource.js +2 -3
  4. package/dist/cjs/api/MentionNameResolver.js +1 -2
  5. package/dist/cjs/api/MentionResource.js +6 -12
  6. package/dist/cjs/api/PresenceResource.js +4 -8
  7. package/dist/cjs/api/TeamMentionResource.js +2 -3
  8. package/dist/cjs/api/analytics.js +4 -7
  9. package/dist/cjs/components/LockCircleIcon/index.js +1 -2
  10. package/dist/cjs/components/Mention/PrimitiveMention.js +1 -2
  11. package/dist/cjs/components/Mention/ResourcedMention.js +2 -3
  12. package/dist/cjs/components/Mention/index.js +4 -8
  13. package/dist/cjs/components/Mention/ufoExperiences.js +3 -5
  14. package/dist/cjs/components/MentionDescriptionByline/TeamMentionDescriptionByline.js +2 -3
  15. package/dist/cjs/components/MentionDescriptionByline/UserMentionDescriptionByline.js +2 -3
  16. package/dist/cjs/components/MentionDescriptionByline/index.js +2 -3
  17. package/dist/cjs/components/MentionDescriptionByline/styles.js +1 -2
  18. package/dist/cjs/components/MentionItem/index.js +2 -3
  19. package/dist/cjs/components/MentionItem/styles.js +9 -18
  20. package/dist/cjs/components/MentionList/index.js +2 -3
  21. package/dist/cjs/components/MentionList/styles.js +2 -3
  22. package/dist/cjs/components/MentionListError/GenericErrorIllustration.js +2 -3
  23. package/dist/cjs/components/MentionListError/index.js +2 -3
  24. package/dist/cjs/components/MentionListError/styles.js +4 -8
  25. package/dist/cjs/components/MentionPicker/index.js +3 -6
  26. package/dist/cjs/components/MentionPicker/styles.js +2 -4
  27. package/dist/cjs/components/MessagesIntlProvider/index.js +1 -2
  28. package/dist/cjs/components/NoAccessTooltip/index.js +1 -2
  29. package/dist/cjs/components/NoAccessTooltip/main.js +2 -3
  30. package/dist/cjs/components/Popup/index.js +1 -2
  31. package/dist/cjs/components/ResourcedMentionList/index.js +2 -4
  32. package/dist/cjs/components/Scrollable/index.js +2 -3
  33. package/dist/cjs/components/Scrollable/styles.js +1 -2
  34. package/dist/cjs/components/i18n.js +2 -3
  35. package/dist/cjs/config/index.js +2 -3
  36. package/dist/cjs/i18n/cs.js +2 -3
  37. package/dist/cjs/i18n/da.js +2 -3
  38. package/dist/cjs/i18n/de.js +2 -3
  39. package/dist/cjs/i18n/en.js +2 -3
  40. package/dist/cjs/i18n/en_GB.js +2 -3
  41. package/dist/cjs/i18n/en_ZZ.js +2 -3
  42. package/dist/cjs/i18n/es.js +2 -3
  43. package/dist/cjs/i18n/et.js +2 -3
  44. package/dist/cjs/i18n/fi.js +2 -3
  45. package/dist/cjs/i18n/fr.js +2 -3
  46. package/dist/cjs/i18n/hu.js +2 -3
  47. package/dist/cjs/i18n/is.js +2 -3
  48. package/dist/cjs/i18n/it.js +2 -3
  49. package/dist/cjs/i18n/ja.js +2 -3
  50. package/dist/cjs/i18n/ko.js +2 -3
  51. package/dist/cjs/i18n/languages.js +2 -3
  52. package/dist/cjs/i18n/nb.js +2 -3
  53. package/dist/cjs/i18n/nl.js +2 -3
  54. package/dist/cjs/i18n/pl.js +2 -3
  55. package/dist/cjs/i18n/pt_BR.js +2 -3
  56. package/dist/cjs/i18n/pt_PT.js +2 -3
  57. package/dist/cjs/i18n/ro.js +2 -3
  58. package/dist/cjs/i18n/ru.js +2 -3
  59. package/dist/cjs/i18n/sk.js +2 -3
  60. package/dist/cjs/i18n/sv.js +2 -3
  61. package/dist/cjs/i18n/th.js +2 -3
  62. package/dist/cjs/i18n/tr.js +2 -3
  63. package/dist/cjs/i18n/uk.js +2 -3
  64. package/dist/cjs/i18n/vi.js +2 -3
  65. package/dist/cjs/i18n/zh.js +2 -3
  66. package/dist/cjs/i18n/zh_TW.js +2 -3
  67. package/dist/cjs/index.js +1 -2
  68. package/dist/cjs/shared-styles.js +6 -10
  69. package/dist/cjs/typeahead.js +1 -2
  70. package/dist/cjs/types.js +6 -11
  71. package/dist/cjs/util/analytics.js +13 -24
  72. package/dist/cjs/util/i18n.js +10 -19
  73. package/dist/cjs/util/id.js +2 -3
  74. package/dist/cjs/util/index.js +2 -3
  75. package/dist/es2019/util/analytics.js +1 -1
  76. package/dist/esm/util/analytics.js +1 -1
  77. package/package.json +6 -3
package/CHANGELOG.md CHANGED
@@ -1,41 +1,53 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 22.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#42251](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42251) [`9c7b42127f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c7b42127f6) - Enrol `@atlaskit/mention` and `@atlaskit/link-provider` on push model in JFE.
8
+
9
+ ## 22.1.6
10
+
11
+ ### Patch Changes
12
+
13
+ - [#40715](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40715) [`eb792f21a58`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb792f21a58) - remove unused type paramater from setStateSafely
14
+
3
15
  ## 22.1.5
4
16
 
5
17
  ### Patch Changes
6
18
 
7
- - [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
19
+ - [#39787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39787) [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
8
20
 
9
21
  ## 22.1.4
10
22
 
11
23
  ### Patch Changes
12
24
 
13
- - [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
25
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
14
26
  - Updated dependencies
15
27
 
16
28
  ## 22.1.3
17
29
 
18
30
  ### Patch Changes
19
31
 
20
- - [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use injected env vars instead of version.json
32
+ - [#37925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37925) [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use injected env vars instead of version.json
21
33
 
22
34
  ## 22.1.2
23
35
 
24
36
  ### Patch Changes
25
37
 
26
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
38
+ - [#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
27
39
 
28
40
  ## 22.1.1
29
41
 
30
42
  ### Patch Changes
31
43
 
32
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
44
+ - [#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`
33
45
 
34
46
  ## 22.1.0
35
47
 
36
48
  ### Minor Changes
37
49
 
38
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
50
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
39
51
 
40
52
  ### Patch Changes
41
53
 
@@ -45,13 +57,13 @@
45
57
 
46
58
  ### Patch Changes
47
59
 
48
- - [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
60
+ - [#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
49
61
 
50
62
  ## 22.0.0
51
63
 
52
64
  ### Major Changes
53
65
 
54
- - [`6c543971074`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c543971074) - [ux] PTC-6520 remove team mention highlight
66
+ - [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299) [`6c543971074`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c543971074) - [ux] PTC-6520 remove team mention highlight
55
67
 
56
68
  ## 21.0.19
57
69
 
@@ -69,19 +81,19 @@
69
81
 
70
82
  ### Patch Changes
71
83
 
72
- - [`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects` when loading the page.
84
+ - [#29227](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29227) [`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects` when loading the page.
73
85
 
74
86
  ## 21.0.16
75
87
 
76
88
  ### Patch Changes
77
89
 
78
- - [`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.
90
+ - [#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.
79
91
 
80
92
  ## 21.0.15
81
93
 
82
94
  ### Patch Changes
83
95
 
84
- - [`9ace7f714e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9ace7f714e3) - Handle new Teams ARI format in mentions
96
+ - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`9ace7f714e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9ace7f714e3) - Handle new Teams ARI format in mentions
85
97
 
86
98
  ## 21.0.14
87
99
 
@@ -99,14 +111,14 @@
99
111
 
100
112
  ### Patch Changes
101
113
 
102
- - [`136542df4cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/136542df4cf) - Changes restricted mention border color token to bold version and text color token to default one for better accessibility. Updated appearances only visible in applications configured to use the new Tokens API (currently in alpha).
114
+ - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`136542df4cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/136542df4cf) - Changes restricted mention border color token to bold version and text color token to default one for better accessibility. Updated appearances only visible in applications configured to use the new Tokens API (currently in alpha).
103
115
  - Updated dependencies
104
116
 
105
117
  ## 21.0.11
106
118
 
107
119
  ### Patch Changes
108
120
 
109
- - [`f14b977abd5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f14b977abd5) - Bump query-string to ^v7.1.3
121
+ - [#27924](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27924) [`f14b977abd5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f14b977abd5) - Bump query-string to ^v7.1.3
110
122
 
111
123
  ## 21.0.10
112
124
 
@@ -118,19 +130,19 @@
118
130
 
119
131
  ### Patch Changes
120
132
 
121
- - [`016d3039482`](https://bitbucket.org/atlassian/atlassian-frontend/commits/016d3039482) - Updates `@emotion/core` v10 to `@emotion/react` v11. There is no expected behavior change.
133
+ - [#26786](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26786) [`016d3039482`](https://bitbucket.org/atlassian/atlassian-frontend/commits/016d3039482) - Updates `@emotion/core` v10 to `@emotion/react` v11. There is no expected behavior change.
122
134
 
123
135
  ## 21.0.8
124
136
 
125
137
  ### Patch Changes
126
138
 
127
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
139
+ - [#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`
128
140
 
129
141
  ## 21.0.7
130
142
 
131
143
  ### Patch Changes
132
144
 
133
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
145
+ - [#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`.
134
146
 
135
147
  ## 21.0.6
136
148
 
@@ -148,7 +160,7 @@
148
160
 
149
161
  ### Patch Changes
150
162
 
151
- - [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
163
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
152
164
 
153
165
  ## 21.0.3
154
166
 
@@ -167,7 +179,7 @@
167
179
 
168
180
  ### Patch Changes
169
181
 
170
- - [`9120f857a67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9120f857a67) - Remove react-intl v2 from dev dependencies
182
+ - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`9120f857a67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9120f857a67) - Remove react-intl v2 from dev dependencies
171
183
  - [`6ee0b5cac9a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee0b5cac9a) - Mention lozenge component rendering performance/reliability is now tracked
172
184
  - [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes.
173
185
  - Updated dependencies
@@ -176,7 +188,7 @@
176
188
 
177
189
  ### Major Changes
178
190
 
179
- - [`c5d52f78847`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5d52f78847) - Extracting smart-mention-resource into its own private package
191
+ - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`c5d52f78847`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5d52f78847) - Extracting smart-mention-resource into its own private package
180
192
 
181
193
  ### Patch Changes
182
194
 
@@ -186,11 +198,11 @@
186
198
 
187
199
  ### Major Changes
188
200
 
189
- - [`ee723e753de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee723e753de) - [UR-3222]: Upgrade to intl v5. To consume Mentions, you will need a react-intl v5 intl provider
201
+ - [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`ee723e753de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee723e753de) - [UR-3222]: Upgrade to intl v5. To consume Mentions, you will need a react-intl v5 intl provider
190
202
 
191
203
  ### Minor Changes
192
204
 
193
- - [`0e32e4669ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e32e4669ae) - Internal changes to migrate package from 'styled-components' to @emotion. There should be no change to the UX.
205
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`0e32e4669ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e32e4669ae) - Internal changes to migrate package from 'styled-components' to @emotion. There should be no change to the UX.
194
206
 
195
207
  ### Patch Changes
196
208
 
@@ -204,55 +216,55 @@
204
216
 
205
217
  ### Patch Changes
206
218
 
207
- - [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
219
+ - [#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
208
220
 
209
221
  ## 19.9.5
210
222
 
211
223
  ### Patch Changes
212
224
 
213
- - [`6344bc53c4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6344bc53c4e) - Remove bulk imports in mentions
225
+ - [#16666](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16666) [`6344bc53c4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6344bc53c4e) - Remove bulk imports in mentions
214
226
 
215
227
  ## 19.9.4
216
228
 
217
229
  ### Patch Changes
218
230
 
219
- - [`e770c0c16d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e770c0c16d9) - Remove non-prod API configs from mentions, and update docs to mock out API calls.
231
+ - [#16169](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16169) [`e770c0c16d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e770c0c16d9) - Remove non-prod API configs from mentions, and update docs to mock out API calls.
220
232
 
221
233
  ## 19.9.3
222
234
 
223
235
  ### Patch Changes
224
236
 
225
- - [`d1ed723c1e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d1ed723c1e0) - Fix bug where includeTeams in smartMentionResource was not being passed in correctly
237
+ - [#16445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16445) [`d1ed723c1e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d1ed723c1e0) - Fix bug where includeTeams in smartMentionResource was not being passed in correctly
226
238
 
227
239
  ## 19.9.2
228
240
 
229
241
  ### Patch Changes
230
242
 
231
- - [`570ccaa00bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/570ccaa00bd) - Add the ability for users in Default Mention Name Resolver to be nullable
243
+ - [#15889](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15889) [`570ccaa00bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/570ccaa00bd) - Add the ability for users in Default Mention Name Resolver to be nullable
232
244
 
233
245
  ## 19.9.1
234
246
 
235
247
  ### Patch Changes
236
248
 
237
- - [`a92e3bdb515`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a92e3bdb515) - Relaxed product enum typing to take in any string
249
+ - [#15454](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15454) [`a92e3bdb515`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a92e3bdb515) - Relaxed product enum typing to take in any string
238
250
 
239
251
  ## 19.9.0
240
252
 
241
253
  ### Minor Changes
242
254
 
243
- - [`e65ada9dbbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e65ada9dbbb) - Debounce MentionResource when debounceTime is passed in
255
+ - [#15112](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15112) [`e65ada9dbbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e65ada9dbbb) - Debounce MentionResource when debounceTime is passed in
244
256
 
245
257
  ## 19.8.1
246
258
 
247
259
  ### Patch Changes
248
260
 
249
- - [`e5e658bc51d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5e658bc51d) - Fix for mention default name provider using an incorrect API endpoint when no baseUrl was supplied to SmartMentionResource
261
+ - [#14944](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14944) [`e5e658bc51d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5e658bc51d) - Fix for mention default name provider using an incorrect API endpoint when no baseUrl was supplied to SmartMentionResource
250
262
 
251
263
  ## 19.8.0
252
264
 
253
265
  ### Minor Changes
254
266
 
255
- - [`9871a89fe5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9871a89fe5d) - SmartMentionResource now has a default name resolver if one is not provided. You can still provide the `mentionNameResolver` in the config when instantiating SmartMentionResource if a custom name resolver is needed.
267
+ - [#14604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14604) [`9871a89fe5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9871a89fe5d) - SmartMentionResource now has a default name resolver if one is not provided. You can still provide the `mentionNameResolver` in the config when instantiating SmartMentionResource if a custom name resolver is needed.
256
268
 
257
269
  ## 19.7.2
258
270
 
@@ -264,13 +276,13 @@
264
276
 
265
277
  ### Patch Changes
266
278
 
267
- - [`4ac918aad80`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ac918aad80) - Added helper documentation for easier onboarding onto Atlaskit Editor
279
+ - [#14494](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14494) [`4ac918aad80`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ac918aad80) - Added helper documentation for easier onboarding onto Atlaskit Editor
268
280
 
269
281
  ## 19.7.0
270
282
 
271
283
  ### Minor Changes
272
284
 
273
- - [`71bb1bb3cd0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71bb1bb3cd0) - [ED-12933] Export min height mentions to improve rendering performance on editor typeahead
285
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`71bb1bb3cd0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71bb1bb3cd0) - [ED-12933] Export min height mentions to improve rendering performance on editor typeahead
274
286
 
275
287
  ### Patch Changes
276
288
 
@@ -286,26 +298,26 @@
286
298
 
287
299
  ### Patch Changes
288
300
 
289
- - [`52e7807e543`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52e7807e543) - Fixed English translations for team counts
301
+ - [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649) [`52e7807e543`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52e7807e543) - Fixed English translations for team counts
290
302
 
291
303
  ## 19.6.2
292
304
 
293
305
  ### Patch Changes
294
306
 
295
- - [`56ffe4d3c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56ffe4d3c5a) - Add optional MentionNameResolver to SmartMentionResource config
307
+ - [#10978](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10978) [`56ffe4d3c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56ffe4d3c5a) - Add optional MentionNameResolver to SmartMentionResource config
296
308
 
297
309
  ## 19.6.1
298
310
 
299
311
  ### Patch Changes
300
312
 
301
- - [`f5eba1a5c71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5eba1a5c71) - ED-11989 fixed mention displaying old cached name
313
+ - [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230) [`f5eba1a5c71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5eba1a5c71) - ED-11989 fixed mention displaying old cached name
302
314
  - Updated dependencies
303
315
 
304
316
  ## 19.6.0
305
317
 
306
318
  ### Minor Changes
307
319
 
308
- - [`f042eac9bf1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f042eac9bf1) - Add SmartMentionResource to mentions with editor-core example
320
+ - [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756) [`f042eac9bf1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f042eac9bf1) - Add SmartMentionResource to mentions with editor-core example
309
321
 
310
322
  ### Patch Changes
311
323
 
@@ -315,25 +327,25 @@
315
327
 
316
328
  ### Patch Changes
317
329
 
318
- - [`3274237a5be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3274237a5be) - [ux] reverted changes in ED-11939
330
+ - [#10035](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10035) [`3274237a5be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3274237a5be) - [ux] reverted changes in ED-11939
319
331
 
320
332
  ## 19.5.0
321
333
 
322
334
  ### Minor Changes
323
335
 
324
- - [`c49d543a921`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c49d543a921) - Only restrict mentions view if UserAccessLevel is set to NONE
336
+ - [#9780](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9780) [`c49d543a921`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c49d543a921) - Only restrict mentions view if UserAccessLevel is set to NONE
325
337
 
326
338
  ## 19.4.1
327
339
 
328
340
  ### Patch Changes
329
341
 
330
- - [`d5b0036f8c5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d5b0036f8c5) - Updated LozengeProps type to accept React.ReactNode instead of string. This makes it easier to pass in translations to this component from the consumer.
342
+ - [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510) [`d5b0036f8c5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d5b0036f8c5) - Updated LozengeProps type to accept React.ReactNode instead of string. This makes it easier to pass in translations to this component from the consumer.
331
343
 
332
344
  ## 19.4.0
333
345
 
334
346
  ### Minor Changes
335
347
 
336
- - [`3dae9ea0c02`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3dae9ea0c02) - MentionItem now accepts and renders Lozenges when provided with a LozengeProps type object - ex. { text: 'GUEST', appearance: 'new' }. Previously, it only accepted a string.
348
+ - [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083) [`3dae9ea0c02`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3dae9ea0c02) - MentionItem now accepts and renders Lozenges when provided with a LozengeProps type object - ex. { text: 'GUEST', appearance: 'new' }. Previously, it only accepted a string.
337
349
 
338
350
  ### Patch Changes
339
351
 
@@ -345,14 +357,14 @@
345
357
 
346
358
  ### Patch Changes
347
359
 
348
- - [`178e91b75ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/178e91b75ad) - PL-AFDD-JOB1-158 Add translations for new messages
360
+ - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`178e91b75ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/178e91b75ad) - PL-AFDD-JOB1-158 Add translations for new messages
349
361
  - Updated dependencies
350
362
 
351
363
  ## 19.3.0
352
364
 
353
365
  ### Minor Changes
354
366
 
355
- - [`cafde5bbe21`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cafde5bbe21) - [ux] Added Team prefix to teams in the mention list to increase clarity.
367
+ - [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178) [`cafde5bbe21`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cafde5bbe21) - [ux] Added Team prefix to teams in the mention list to increase clarity.
356
368
  - [`43b2f925f0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43b2f925f0b) - Add optional attributes to mentionProvider analytics callback
357
369
 
358
370
  ### Patch Changes
@@ -363,26 +375,26 @@
363
375
 
364
376
  ### Minor Changes
365
377
 
366
- - [`7ddbf962bd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ddbf962bd9) - [ux] Updated and added new translations
378
+ - [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762) [`7ddbf962bd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ddbf962bd9) - [ux] Updated and added new translations
367
379
 
368
380
  ## 19.1.2
369
381
 
370
382
  ### Patch Changes
371
383
 
372
- - [`05757c917b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05757c917b) - taking config.productName into mentionResource
384
+ - [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571) [`05757c917b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05757c917b) - taking config.productName into mentionResource
373
385
  - [`dd91541afe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd91541afe) - [ux] Further improvements on the invite from mention experiment
374
386
 
375
387
  ## 19.1.1
376
388
 
377
389
  ### Patch Changes
378
390
 
379
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
391
+ - [#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
380
392
 
381
393
  ## 19.1.0
382
394
 
383
395
  ### Minor Changes
384
396
 
385
- - [`22791ceed0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22791ceed0) - [ux] - added new properites in MentionResource interface to support invite from mention experiment
397
+ - [#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
386
398
 
387
399
  - updated util-data-test/mention to enable invite from mention experiment
388
400
  - added invite from mention experiment logic into editor-core
@@ -391,14 +403,14 @@
391
403
 
392
404
  ### Patch Changes
393
405
 
394
- - [`dcd6b0ecfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcd6b0ecfb) - Fix React warning: should not setState on unmounted component
406
+ - [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516) [`dcd6b0ecfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcd6b0ecfb) - Fix React warning: should not setState on unmounted component
395
407
  - Updated dependencies
396
408
 
397
409
  ## 19.0.8
398
410
 
399
411
  ### Patch Changes
400
412
 
401
- - [`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.
413
+ - [#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.
402
414
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
403
415
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
404
416
 
@@ -412,14 +424,14 @@
412
424
 
413
425
  ### Patch Changes
414
426
 
415
- - [`c0533f4b35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0533f4b35) - Upgrade analytics-next to prevent event loss (https://hello.atlassian.net/wiki/spaces/AFP/blog/2020/08/26/828144759/ACTION+REQUIRED+-+upgrade+analytics-next+to+prevent+event+loss)
427
+ - [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`c0533f4b35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0533f4b35) - Upgrade analytics-next to prevent event loss (https://hello.atlassian.net/wiki/spaces/AFP/blog/2020/08/26/828144759/ACTION+REQUIRED+-+upgrade+analytics-next+to+prevent+event+loss)
416
428
  - Updated dependencies
417
429
 
418
430
  ## 19.0.5
419
431
 
420
432
  ### Patch Changes
421
433
 
422
- - [`bee2157c1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bee2157c1b) - Remove usage of @atlaskit/util-common-test package
434
+ - [#4932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4932) [`bee2157c1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bee2157c1b) - Remove usage of @atlaskit/util-common-test package
423
435
 
424
436
  ## 19.0.4
425
437
 
@@ -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,7 +452,7 @@
440
452
 
441
453
  ### Patch Changes
442
454
 
443
- - [`d03bff2147`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d03bff2147) - updated translations
455
+ - [#3369](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3369) [`d03bff2147`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d03bff2147) - updated translations
444
456
 
445
457
  ## 19.0.1
446
458
 
@@ -452,7 +464,7 @@
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
@@ -463,13 +475,13 @@
463
475
 
464
476
  ### Patch Changes
465
477
 
466
- - [`fc83c36503`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc83c36503) - Update translation files via Traduki build
478
+ - [#2576](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2576) [`fc83c36503`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc83c36503) - Update translation files via Traduki build
467
479
 
468
480
  ## 18.18.2
469
481
 
470
482
  ### Patch Changes
471
483
 
472
- - [`64e7f3f077`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64e7f3f077) - Bump dependency query-string to ^5.1.0
484
+ - [#2959](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2959) [`64e7f3f077`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64e7f3f077) - Bump dependency query-string to ^5.1.0
473
485
 
474
486
  ## 18.18.1
475
487
 
@@ -4,5 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.ELEMENTS_CHANNEL = void 0;
7
- var ELEMENTS_CHANNEL = 'fabric-elements';
8
- exports.ELEMENTS_CHANNEL = ELEMENTS_CHANNEL;
7
+ var ELEMENTS_CHANNEL = exports.ELEMENTS_CHANNEL = 'fabric-elements';
@@ -13,7 +13,7 @@ var _util = require("../util");
13
13
  /**
14
14
  * This component is stateful and should be instantianted per contextIdentifiers.
15
15
  */
16
- var ContextMentionResource = /*#__PURE__*/function () {
16
+ var ContextMentionResource = exports.default = /*#__PURE__*/function () {
17
17
  function ContextMentionResource(mentionProvider, contextIdentifier) {
18
18
  var _this = this;
19
19
  (0, _classCallCheck2.default)(this, ContextMentionResource);
@@ -52,5 +52,4 @@ var ContextMentionResource = /*#__PURE__*/function () {
52
52
  }
53
53
  }]);
54
54
  return ContextMentionResource;
55
- }();
56
- exports.default = ContextMentionResource;
55
+ }();
@@ -11,7 +11,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
11
11
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
12
  var _types = require("../types");
13
13
  var _analytics = require("../util/analytics");
14
- var DefaultMentionNameResolver = /*#__PURE__*/function () {
14
+ var DefaultMentionNameResolver = exports.DefaultMentionNameResolver = /*#__PURE__*/function () {
15
15
  function DefaultMentionNameResolver(client) {
16
16
  var _this = this;
17
17
  var analyticsProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -147,5 +147,4 @@ var DefaultMentionNameResolver = /*#__PURE__*/function () {
147
147
  }]);
148
148
  return DefaultMentionNameResolver;
149
149
  }();
150
- exports.DefaultMentionNameResolver = DefaultMentionNameResolver;
151
150
  (0, _defineProperty2.default)(DefaultMentionNameResolver, "waitForBatch", 100);
@@ -37,7 +37,7 @@ var emptySecurityProvider = function emptySecurityProvider() {
37
37
  headers: {}
38
38
  };
39
39
  };
40
- var AbstractResource = /*#__PURE__*/function () {
40
+ var AbstractResource = exports.AbstractResource = /*#__PURE__*/function () {
41
41
  function AbstractResource() {
42
42
  (0, _classCallCheck2.default)(this, AbstractResource);
43
43
  this.changeListeners = new Map();
@@ -77,8 +77,7 @@ var AbstractResource = /*#__PURE__*/function () {
77
77
  }]);
78
78
  return AbstractResource;
79
79
  }();
80
- exports.AbstractResource = AbstractResource;
81
- var AbstractMentionResource = /*#__PURE__*/function (_ref) {
80
+ var AbstractMentionResource = exports.AbstractMentionResource = /*#__PURE__*/function (_ref) {
82
81
  (0, _inherits2.default)(AbstractMentionResource, _ref);
83
82
  var _super = _createSuper(AbstractMentionResource);
84
83
  function AbstractMentionResource() {
@@ -177,8 +176,7 @@ var AbstractMentionResource = /*#__PURE__*/function (_ref) {
177
176
  /**
178
177
  * Provides a Javascript API
179
178
  */
180
- exports.AbstractMentionResource = AbstractMentionResource;
181
- var MentionResource = /*#__PURE__*/function (_AbstractMentionResou) {
179
+ var MentionResource = exports.MentionResource = /*#__PURE__*/function (_AbstractMentionResou) {
182
180
  (0, _inherits2.default)(MentionResource, _AbstractMentionResou);
183
181
  var _super2 = _createSuper(MentionResource);
184
182
  function MentionResource(config) {
@@ -518,18 +516,14 @@ var MentionResource = /*#__PURE__*/function (_AbstractMentionResou) {
518
516
  }]);
519
517
  return MentionResource;
520
518
  }(AbstractMentionResource);
521
- exports.MentionResource = MentionResource;
522
- var HttpError = /*#__PURE__*/(0, _createClass2.default)(function HttpError(statusCode, statusMessage) {
519
+ var HttpError = exports.HttpError = /*#__PURE__*/(0, _createClass2.default)(function HttpError(statusCode, statusMessage) {
523
520
  (0, _classCallCheck2.default)(this, HttpError);
524
521
  this.statusCode = statusCode;
525
522
  this.message = statusMessage;
526
523
  this.name = 'HttpError';
527
524
  this.stack = new Error().stack;
528
525
  });
529
- exports.HttpError = HttpError;
530
- var isResolvingMentionProvider = function isResolvingMentionProvider(p) {
526
+ var isResolvingMentionProvider = exports.isResolvingMentionProvider = function isResolvingMentionProvider(p) {
531
527
  return !!(p && p.supportsMentionNameResolving && p.supportsMentionNameResolving());
532
528
  };
533
- exports.isResolvingMentionProvider = isResolvingMentionProvider;
534
- var _default = MentionResource;
535
- exports.default = _default;
529
+ var _default = exports.default = MentionResource;
@@ -32,7 +32,7 @@ var CacheEntry = /*#__PURE__*/function () {
32
32
  }]);
33
33
  return CacheEntry;
34
34
  }();
35
- var AbstractPresenceResource = /*#__PURE__*/function (_ref) {
35
+ var AbstractPresenceResource = exports.AbstractPresenceResource = /*#__PURE__*/function (_ref) {
36
36
  (0, _inherits2.default)(AbstractPresenceResource, _ref);
37
37
  var _super = _createSuper(AbstractPresenceResource);
38
38
  function AbstractPresenceResource() {
@@ -59,7 +59,6 @@ var AbstractPresenceResource = /*#__PURE__*/function (_ref) {
59
59
  }]);
60
60
  return AbstractPresenceResource;
61
61
  }(_MentionResource.AbstractResource);
62
- exports.AbstractPresenceResource = AbstractPresenceResource;
63
62
  var PresenceResource = /*#__PURE__*/function (_AbstractPresenceReso) {
64
63
  (0, _inherits2.default)(PresenceResource, _AbstractPresenceReso);
65
64
  var _super2 = _createSuper(PresenceResource);
@@ -136,7 +135,7 @@ var PresenceResource = /*#__PURE__*/function (_AbstractPresenceReso) {
136
135
  }]);
137
136
  return PresenceResource;
138
137
  }(AbstractPresenceResource);
139
- var DefaultPresenceCache = /*#__PURE__*/function () {
138
+ var DefaultPresenceCache = exports.DefaultPresenceCache = /*#__PURE__*/function () {
140
139
  function DefaultPresenceCache(cacheTimeout, cacheTrigger) {
141
140
  (0, _classCallCheck2.default)(this, DefaultPresenceCache);
142
141
  this.expiryInMillis = cacheTimeout ? cacheTimeout : DefaultPresenceCache.defaultTimeout;
@@ -268,10 +267,9 @@ var DefaultPresenceCache = /*#__PURE__*/function () {
268
267
  }]);
269
268
  return DefaultPresenceCache;
270
269
  }();
271
- exports.DefaultPresenceCache = DefaultPresenceCache;
272
270
  (0, _defineProperty2.default)(DefaultPresenceCache, "defaultTimeout", 20000);
273
271
  (0, _defineProperty2.default)(DefaultPresenceCache, "defaultFlushTrigger", 50);
274
- var DefaultPresenceParser = /*#__PURE__*/function () {
272
+ var DefaultPresenceParser = exports.DefaultPresenceParser = /*#__PURE__*/function () {
275
273
  function DefaultPresenceParser() {
276
274
  (0, _classCallCheck2.default)(this, DefaultPresenceParser);
277
275
  }
@@ -349,7 +347,5 @@ var DefaultPresenceParser = /*#__PURE__*/function () {
349
347
  }]);
350
348
  return DefaultPresenceParser;
351
349
  }();
352
- exports.DefaultPresenceParser = DefaultPresenceParser;
353
350
  (0, _defineProperty2.default)(DefaultPresenceParser, "FOCUS_STATE", 'focus');
354
- var _default = PresenceResource;
355
- exports.default = _default;
351
+ var _default = exports.default = PresenceResource;
@@ -32,7 +32,7 @@ var MAX_QUERY_TEAMS = 20;
32
32
  * In future we will have a new endpoint to return both users and teams, we can
33
33
  * remove this class at this point
34
34
  */
35
- var TeamMentionResource = /*#__PURE__*/function (_MentionResource) {
35
+ var TeamMentionResource = exports.default = /*#__PURE__*/function (_MentionResource) {
36
36
  (0, _inherits2.default)(TeamMentionResource, _MentionResource);
37
37
  var _super = _createSuper(TeamMentionResource);
38
38
  function TeamMentionResource(userMentionConfig, teamMentionConfig) {
@@ -290,5 +290,4 @@ var TeamMentionResource = /*#__PURE__*/function (_MentionResource) {
290
290
  }
291
291
  }]);
292
292
  return TeamMentionResource;
293
- }(_MentionResource2.default);
294
- exports.default = TeamMentionResource;
293
+ }(_MentionResource2.default);
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultAttributes = exports.SMART_EVENT_TYPE = exports.Actions = void 0;
7
- var SMART_EVENT_TYPE = 'smart';
8
- exports.SMART_EVENT_TYPE = SMART_EVENT_TYPE;
9
- var Actions = /*#__PURE__*/function (Actions) {
7
+ var SMART_EVENT_TYPE = exports.SMART_EVENT_TYPE = 'smart';
8
+ var Actions = exports.Actions = /*#__PURE__*/function (Actions) {
10
9
  Actions["REQUESTED"] = "requested";
11
10
  Actions["SUCCESSFUL"] = "successful";
12
11
  Actions["SEARCHED"] = "searched";
@@ -14,13 +13,11 @@ var Actions = /*#__PURE__*/function (Actions) {
14
13
  Actions["SELECTED"] = "selected";
15
14
  return Actions;
16
15
  }({});
17
- exports.Actions = Actions;
18
- var defaultAttributes = function defaultAttributes(context) {
16
+ var defaultAttributes = exports.defaultAttributes = function defaultAttributes(context) {
19
17
  return {
20
18
  context: (context === null || context === void 0 ? void 0 : context.objectId) || '',
21
19
  sessionId: (context === null || context === void 0 ? void 0 : context.sessionId) || '',
22
20
  pickerType: 'mentions',
23
21
  source: 'smarts'
24
22
  };
25
- };
26
- exports.defaultAttributes = defaultAttributes;
23
+ };
@@ -18,5 +18,4 @@ var AsyncLockCircleIcon = /*#__PURE__*/(0, _react.lazy)(function () {
18
18
  };
19
19
  });
20
20
  });
21
- var _default = AsyncLockCircleIcon;
22
- exports.default = _default;
21
+ var _default = exports.default = AsyncLockCircleIcon;