@atlaskit/mention 22.1.6 → 22.1.8

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 +7 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 22.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 22.1.7
10
+
11
+ ### Patch Changes
12
+
13
+ - [#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.
14
+
3
15
  ## 22.1.6
4
16
 
5
17
  ### Patch Changes
@@ -10,38 +22,38 @@
10
22
 
11
23
  ### Patch Changes
12
24
 
13
- - [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
25
+ - [#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.
14
26
 
15
27
  ## 22.1.4
16
28
 
17
29
  ### Patch Changes
18
30
 
19
- - [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
31
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
20
32
  - Updated dependencies
21
33
 
22
34
  ## 22.1.3
23
35
 
24
36
  ### Patch Changes
25
37
 
26
- - [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use injected env vars instead of version.json
38
+ - [#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
27
39
 
28
40
  ## 22.1.2
29
41
 
30
42
  ### Patch Changes
31
43
 
32
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
44
+ - [#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
33
45
 
34
46
  ## 22.1.1
35
47
 
36
48
  ### Patch Changes
37
49
 
38
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
50
+ - [#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`
39
51
 
40
52
  ## 22.1.0
41
53
 
42
54
  ### Minor Changes
43
55
 
44
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
56
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
45
57
 
46
58
  ### Patch Changes
47
59
 
@@ -51,13 +63,13 @@
51
63
 
52
64
  ### Patch Changes
53
65
 
54
- - [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
66
+ - [#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
55
67
 
56
68
  ## 22.0.0
57
69
 
58
70
  ### Major Changes
59
71
 
60
- - [`6c543971074`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c543971074) - [ux] PTC-6520 remove team mention highlight
72
+ - [#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
61
73
 
62
74
  ## 21.0.19
63
75
 
@@ -75,19 +87,19 @@
75
87
 
76
88
  ### Patch Changes
77
89
 
78
- - [`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.
90
+ - [#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.
79
91
 
80
92
  ## 21.0.16
81
93
 
82
94
  ### Patch Changes
83
95
 
84
- - [`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.
96
+ - [#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.
85
97
 
86
98
  ## 21.0.15
87
99
 
88
100
  ### Patch Changes
89
101
 
90
- - [`9ace7f714e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9ace7f714e3) - Handle new Teams ARI format in mentions
102
+ - [#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
91
103
 
92
104
  ## 21.0.14
93
105
 
@@ -105,14 +117,14 @@
105
117
 
106
118
  ### Patch Changes
107
119
 
108
- - [`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).
120
+ - [#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).
109
121
  - Updated dependencies
110
122
 
111
123
  ## 21.0.11
112
124
 
113
125
  ### Patch Changes
114
126
 
115
- - [`f14b977abd5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f14b977abd5) - Bump query-string to ^v7.1.3
127
+ - [#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
116
128
 
117
129
  ## 21.0.10
118
130
 
@@ -124,19 +136,19 @@
124
136
 
125
137
  ### Patch Changes
126
138
 
127
- - [`016d3039482`](https://bitbucket.org/atlassian/atlassian-frontend/commits/016d3039482) - Updates `@emotion/core` v10 to `@emotion/react` v11. There is no expected behavior change.
139
+ - [#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.
128
140
 
129
141
  ## 21.0.8
130
142
 
131
143
  ### Patch Changes
132
144
 
133
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
145
+ - [#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`
134
146
 
135
147
  ## 21.0.7
136
148
 
137
149
  ### Patch Changes
138
150
 
139
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
151
+ - [#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`.
140
152
 
141
153
  ## 21.0.6
142
154
 
@@ -154,7 +166,7 @@
154
166
 
155
167
  ### Patch Changes
156
168
 
157
- - [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
169
+ - [#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`.
158
170
 
159
171
  ## 21.0.3
160
172
 
@@ -173,7 +185,7 @@
173
185
 
174
186
  ### Patch Changes
175
187
 
176
- - [`9120f857a67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9120f857a67) - Remove react-intl v2 from dev dependencies
188
+ - [#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
177
189
  - [`6ee0b5cac9a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee0b5cac9a) - Mention lozenge component rendering performance/reliability is now tracked
178
190
  - [`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.
179
191
  - Updated dependencies
@@ -182,7 +194,7 @@
182
194
 
183
195
  ### Major Changes
184
196
 
185
- - [`c5d52f78847`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5d52f78847) - Extracting smart-mention-resource into its own private package
197
+ - [#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
186
198
 
187
199
  ### Patch Changes
188
200
 
@@ -192,11 +204,11 @@
192
204
 
193
205
  ### Major Changes
194
206
 
195
- - [`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
207
+ - [#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
196
208
 
197
209
  ### Minor Changes
198
210
 
199
- - [`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.
211
+ - [#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.
200
212
 
201
213
  ### Patch Changes
202
214
 
@@ -210,55 +222,55 @@
210
222
 
211
223
  ### Patch Changes
212
224
 
213
- - [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
225
+ - [#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
214
226
 
215
227
  ## 19.9.5
216
228
 
217
229
  ### Patch Changes
218
230
 
219
- - [`6344bc53c4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6344bc53c4e) - Remove bulk imports in mentions
231
+ - [#16666](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16666) [`6344bc53c4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6344bc53c4e) - Remove bulk imports in mentions
220
232
 
221
233
  ## 19.9.4
222
234
 
223
235
  ### Patch Changes
224
236
 
225
- - [`e770c0c16d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e770c0c16d9) - Remove non-prod API configs from mentions, and update docs to mock out API calls.
237
+ - [#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.
226
238
 
227
239
  ## 19.9.3
228
240
 
229
241
  ### Patch Changes
230
242
 
231
- - [`d1ed723c1e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d1ed723c1e0) - Fix bug where includeTeams in smartMentionResource was not being passed in correctly
243
+ - [#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
232
244
 
233
245
  ## 19.9.2
234
246
 
235
247
  ### Patch Changes
236
248
 
237
- - [`570ccaa00bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/570ccaa00bd) - Add the ability for users in Default Mention Name Resolver to be nullable
249
+ - [#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
238
250
 
239
251
  ## 19.9.1
240
252
 
241
253
  ### Patch Changes
242
254
 
243
- - [`a92e3bdb515`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a92e3bdb515) - Relaxed product enum typing to take in any string
255
+ - [#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
244
256
 
245
257
  ## 19.9.0
246
258
 
247
259
  ### Minor Changes
248
260
 
249
- - [`e65ada9dbbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e65ada9dbbb) - Debounce MentionResource when debounceTime is passed in
261
+ - [#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
250
262
 
251
263
  ## 19.8.1
252
264
 
253
265
  ### Patch Changes
254
266
 
255
- - [`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
267
+ - [#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
256
268
 
257
269
  ## 19.8.0
258
270
 
259
271
  ### Minor Changes
260
272
 
261
- - [`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.
273
+ - [#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.
262
274
 
263
275
  ## 19.7.2
264
276
 
@@ -270,13 +282,13 @@
270
282
 
271
283
  ### Patch Changes
272
284
 
273
- - [`4ac918aad80`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ac918aad80) - Added helper documentation for easier onboarding onto Atlaskit Editor
285
+ - [#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
274
286
 
275
287
  ## 19.7.0
276
288
 
277
289
  ### Minor Changes
278
290
 
279
- - [`71bb1bb3cd0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71bb1bb3cd0) - [ED-12933] Export min height mentions to improve rendering performance on editor typeahead
291
+ - [#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
280
292
 
281
293
  ### Patch Changes
282
294
 
@@ -292,26 +304,26 @@
292
304
 
293
305
  ### Patch Changes
294
306
 
295
- - [`52e7807e543`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52e7807e543) - Fixed English translations for team counts
307
+ - [#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
296
308
 
297
309
  ## 19.6.2
298
310
 
299
311
  ### Patch Changes
300
312
 
301
- - [`56ffe4d3c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56ffe4d3c5a) - Add optional MentionNameResolver to SmartMentionResource config
313
+ - [#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
302
314
 
303
315
  ## 19.6.1
304
316
 
305
317
  ### Patch Changes
306
318
 
307
- - [`f5eba1a5c71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5eba1a5c71) - ED-11989 fixed mention displaying old cached name
319
+ - [#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
308
320
  - Updated dependencies
309
321
 
310
322
  ## 19.6.0
311
323
 
312
324
  ### Minor Changes
313
325
 
314
- - [`f042eac9bf1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f042eac9bf1) - Add SmartMentionResource to mentions with editor-core example
326
+ - [#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
315
327
 
316
328
  ### Patch Changes
317
329
 
@@ -321,25 +333,25 @@
321
333
 
322
334
  ### Patch Changes
323
335
 
324
- - [`3274237a5be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3274237a5be) - [ux] reverted changes in ED-11939
336
+ - [#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
325
337
 
326
338
  ## 19.5.0
327
339
 
328
340
  ### Minor Changes
329
341
 
330
- - [`c49d543a921`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c49d543a921) - Only restrict mentions view if UserAccessLevel is set to NONE
342
+ - [#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
331
343
 
332
344
  ## 19.4.1
333
345
 
334
346
  ### Patch Changes
335
347
 
336
- - [`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.
348
+ - [#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.
337
349
 
338
350
  ## 19.4.0
339
351
 
340
352
  ### Minor Changes
341
353
 
342
- - [`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.
354
+ - [#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.
343
355
 
344
356
  ### Patch Changes
345
357
 
@@ -351,14 +363,14 @@
351
363
 
352
364
  ### Patch Changes
353
365
 
354
- - [`178e91b75ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/178e91b75ad) - PL-AFDD-JOB1-158 Add translations for new messages
366
+ - [#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
355
367
  - Updated dependencies
356
368
 
357
369
  ## 19.3.0
358
370
 
359
371
  ### Minor Changes
360
372
 
361
- - [`cafde5bbe21`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cafde5bbe21) - [ux] Added Team prefix to teams in the mention list to increase clarity.
373
+ - [#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.
362
374
  - [`43b2f925f0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43b2f925f0b) - Add optional attributes to mentionProvider analytics callback
363
375
 
364
376
  ### Patch Changes
@@ -369,26 +381,26 @@
369
381
 
370
382
  ### Minor Changes
371
383
 
372
- - [`7ddbf962bd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ddbf962bd9) - [ux] Updated and added new translations
384
+ - [#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
373
385
 
374
386
  ## 19.1.2
375
387
 
376
388
  ### Patch Changes
377
389
 
378
- - [`05757c917b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05757c917b) - taking config.productName into mentionResource
390
+ - [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571) [`05757c917b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05757c917b) - taking config.productName into mentionResource
379
391
  - [`dd91541afe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd91541afe) - [ux] Further improvements on the invite from mention experiment
380
392
 
381
393
  ## 19.1.1
382
394
 
383
395
  ### Patch Changes
384
396
 
385
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
397
+ - [#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
386
398
 
387
399
  ## 19.1.0
388
400
 
389
401
  ### Minor Changes
390
402
 
391
- - [`22791ceed0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22791ceed0) - [ux] - added new properites in MentionResource interface to support invite from mention experiment
403
+ - [#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
392
404
 
393
405
  - updated util-data-test/mention to enable invite from mention experiment
394
406
  - added invite from mention experiment logic into editor-core
@@ -397,14 +409,14 @@
397
409
 
398
410
  ### Patch Changes
399
411
 
400
- - [`dcd6b0ecfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcd6b0ecfb) - Fix React warning: should not setState on unmounted component
412
+ - [#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
401
413
  - Updated dependencies
402
414
 
403
415
  ## 19.0.8
404
416
 
405
417
  ### Patch Changes
406
418
 
407
- - [`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.
419
+ - [#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.
408
420
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
409
421
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
410
422
 
@@ -418,14 +430,14 @@
418
430
 
419
431
  ### Patch Changes
420
432
 
421
- - [`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)
433
+ - [#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)
422
434
  - Updated dependencies
423
435
 
424
436
  ## 19.0.5
425
437
 
426
438
  ### Patch Changes
427
439
 
428
- - [`bee2157c1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bee2157c1b) - Remove usage of @atlaskit/util-common-test package
440
+ - [#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
429
441
 
430
442
  ## 19.0.4
431
443
 
@@ -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,7 +458,7 @@
446
458
 
447
459
  ### Patch Changes
448
460
 
449
- - [`d03bff2147`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d03bff2147) - updated translations
461
+ - [#3369](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3369) [`d03bff2147`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d03bff2147) - updated translations
450
462
 
451
463
  ## 19.0.1
452
464
 
@@ -458,7 +470,7 @@
458
470
 
459
471
  ### Major Changes
460
472
 
461
- - [`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.
473
+ - [#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.
462
474
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
463
475
 
464
476
  ### Patch Changes
@@ -469,13 +481,13 @@
469
481
 
470
482
  ### Patch Changes
471
483
 
472
- - [`fc83c36503`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc83c36503) - Update translation files via Traduki build
484
+ - [#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
473
485
 
474
486
  ## 18.18.2
475
487
 
476
488
  ### Patch Changes
477
489
 
478
- - [`64e7f3f077`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64e7f3f077) - Bump dependency query-string to ^5.1.0
490
+ - [#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
479
491
 
480
492
  ## 18.18.1
481
493
 
@@ -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;