@atlaskit/mention 22.1.6 → 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.
- package/CHANGELOG.md +61 -55
- package/dist/cjs/_constants.js +1 -2
- package/dist/cjs/api/ContextMentionResource.js +2 -3
- package/dist/cjs/api/MentionNameResolver.js +1 -2
- package/dist/cjs/api/MentionResource.js +6 -12
- package/dist/cjs/api/PresenceResource.js +4 -8
- package/dist/cjs/api/TeamMentionResource.js +2 -3
- package/dist/cjs/api/analytics.js +4 -7
- package/dist/cjs/components/LockCircleIcon/index.js +1 -2
- package/dist/cjs/components/Mention/PrimitiveMention.js +1 -2
- package/dist/cjs/components/Mention/ResourcedMention.js +2 -3
- package/dist/cjs/components/Mention/index.js +4 -8
- package/dist/cjs/components/Mention/ufoExperiences.js +3 -5
- package/dist/cjs/components/MentionDescriptionByline/TeamMentionDescriptionByline.js +2 -3
- package/dist/cjs/components/MentionDescriptionByline/UserMentionDescriptionByline.js +2 -3
- package/dist/cjs/components/MentionDescriptionByline/index.js +2 -3
- package/dist/cjs/components/MentionDescriptionByline/styles.js +1 -2
- package/dist/cjs/components/MentionItem/index.js +2 -3
- package/dist/cjs/components/MentionItem/styles.js +9 -18
- package/dist/cjs/components/MentionList/index.js +2 -3
- package/dist/cjs/components/MentionList/styles.js +2 -3
- package/dist/cjs/components/MentionListError/GenericErrorIllustration.js +2 -3
- package/dist/cjs/components/MentionListError/index.js +2 -3
- package/dist/cjs/components/MentionListError/styles.js +4 -8
- package/dist/cjs/components/MentionPicker/index.js +3 -6
- package/dist/cjs/components/MentionPicker/styles.js +2 -4
- package/dist/cjs/components/MessagesIntlProvider/index.js +1 -2
- package/dist/cjs/components/NoAccessTooltip/index.js +1 -2
- package/dist/cjs/components/NoAccessTooltip/main.js +2 -3
- package/dist/cjs/components/Popup/index.js +1 -2
- package/dist/cjs/components/ResourcedMentionList/index.js +2 -4
- package/dist/cjs/components/Scrollable/index.js +2 -3
- package/dist/cjs/components/Scrollable/styles.js +1 -2
- package/dist/cjs/components/i18n.js +2 -3
- package/dist/cjs/config/index.js +2 -3
- package/dist/cjs/i18n/cs.js +2 -3
- package/dist/cjs/i18n/da.js +2 -3
- package/dist/cjs/i18n/de.js +2 -3
- package/dist/cjs/i18n/en.js +2 -3
- package/dist/cjs/i18n/en_GB.js +2 -3
- package/dist/cjs/i18n/en_ZZ.js +2 -3
- package/dist/cjs/i18n/es.js +2 -3
- package/dist/cjs/i18n/et.js +2 -3
- package/dist/cjs/i18n/fi.js +2 -3
- package/dist/cjs/i18n/fr.js +2 -3
- package/dist/cjs/i18n/hu.js +2 -3
- package/dist/cjs/i18n/is.js +2 -3
- package/dist/cjs/i18n/it.js +2 -3
- package/dist/cjs/i18n/ja.js +2 -3
- package/dist/cjs/i18n/ko.js +2 -3
- package/dist/cjs/i18n/languages.js +2 -3
- package/dist/cjs/i18n/nb.js +2 -3
- package/dist/cjs/i18n/nl.js +2 -3
- package/dist/cjs/i18n/pl.js +2 -3
- package/dist/cjs/i18n/pt_BR.js +2 -3
- package/dist/cjs/i18n/pt_PT.js +2 -3
- package/dist/cjs/i18n/ro.js +2 -3
- package/dist/cjs/i18n/ru.js +2 -3
- package/dist/cjs/i18n/sk.js +2 -3
- package/dist/cjs/i18n/sv.js +2 -3
- package/dist/cjs/i18n/th.js +2 -3
- package/dist/cjs/i18n/tr.js +2 -3
- package/dist/cjs/i18n/uk.js +2 -3
- package/dist/cjs/i18n/vi.js +2 -3
- package/dist/cjs/i18n/zh.js +2 -3
- package/dist/cjs/i18n/zh_TW.js +2 -3
- package/dist/cjs/index.js +1 -2
- package/dist/cjs/shared-styles.js +6 -10
- package/dist/cjs/typeahead.js +1 -2
- package/dist/cjs/types.js +6 -11
- package/dist/cjs/util/analytics.js +13 -24
- package/dist/cjs/util/i18n.js +10 -19
- package/dist/cjs/util/id.js +2 -3
- package/dist/cjs/util/index.js +2 -3
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
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
|
+
|
|
3
9
|
## 22.1.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -10,38 +16,38 @@
|
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
- [`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.
|
|
14
20
|
|
|
15
21
|
## 22.1.4
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
- [`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
|
|
20
26
|
- Updated dependencies
|
|
21
27
|
|
|
22
28
|
## 22.1.3
|
|
23
29
|
|
|
24
30
|
### Patch Changes
|
|
25
31
|
|
|
26
|
-
- [`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
|
|
27
33
|
|
|
28
34
|
## 22.1.2
|
|
29
35
|
|
|
30
36
|
### Patch Changes
|
|
31
37
|
|
|
32
|
-
- [`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
|
|
33
39
|
|
|
34
40
|
## 22.1.1
|
|
35
41
|
|
|
36
42
|
### Patch Changes
|
|
37
43
|
|
|
38
|
-
- [`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`
|
|
39
45
|
|
|
40
46
|
## 22.1.0
|
|
41
47
|
|
|
42
48
|
### Minor Changes
|
|
43
49
|
|
|
44
|
-
- [`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
|
|
45
51
|
|
|
46
52
|
### Patch Changes
|
|
47
53
|
|
|
@@ -51,13 +57,13 @@
|
|
|
51
57
|
|
|
52
58
|
### Patch Changes
|
|
53
59
|
|
|
54
|
-
- [`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
|
|
55
61
|
|
|
56
62
|
## 22.0.0
|
|
57
63
|
|
|
58
64
|
### Major Changes
|
|
59
65
|
|
|
60
|
-
- [`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
|
|
61
67
|
|
|
62
68
|
## 21.0.19
|
|
63
69
|
|
|
@@ -75,19 +81,19 @@
|
|
|
75
81
|
|
|
76
82
|
### Patch Changes
|
|
77
83
|
|
|
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.
|
|
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.
|
|
79
85
|
|
|
80
86
|
## 21.0.16
|
|
81
87
|
|
|
82
88
|
### Patch Changes
|
|
83
89
|
|
|
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.
|
|
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.
|
|
85
91
|
|
|
86
92
|
## 21.0.15
|
|
87
93
|
|
|
88
94
|
### Patch Changes
|
|
89
95
|
|
|
90
|
-
- [`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
|
|
91
97
|
|
|
92
98
|
## 21.0.14
|
|
93
99
|
|
|
@@ -105,14 +111,14 @@
|
|
|
105
111
|
|
|
106
112
|
### Patch Changes
|
|
107
113
|
|
|
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).
|
|
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).
|
|
109
115
|
- Updated dependencies
|
|
110
116
|
|
|
111
117
|
## 21.0.11
|
|
112
118
|
|
|
113
119
|
### Patch Changes
|
|
114
120
|
|
|
115
|
-
- [`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
|
|
116
122
|
|
|
117
123
|
## 21.0.10
|
|
118
124
|
|
|
@@ -124,19 +130,19 @@
|
|
|
124
130
|
|
|
125
131
|
### Patch Changes
|
|
126
132
|
|
|
127
|
-
- [`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.
|
|
128
134
|
|
|
129
135
|
## 21.0.8
|
|
130
136
|
|
|
131
137
|
### Patch Changes
|
|
132
138
|
|
|
133
|
-
- [`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`
|
|
134
140
|
|
|
135
141
|
## 21.0.7
|
|
136
142
|
|
|
137
143
|
### Patch Changes
|
|
138
144
|
|
|
139
|
-
- [`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`.
|
|
140
146
|
|
|
141
147
|
## 21.0.6
|
|
142
148
|
|
|
@@ -154,7 +160,7 @@
|
|
|
154
160
|
|
|
155
161
|
### Patch Changes
|
|
156
162
|
|
|
157
|
-
- [`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`.
|
|
158
164
|
|
|
159
165
|
## 21.0.3
|
|
160
166
|
|
|
@@ -173,7 +179,7 @@
|
|
|
173
179
|
|
|
174
180
|
### Patch Changes
|
|
175
181
|
|
|
176
|
-
- [`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
|
|
177
183
|
- [`6ee0b5cac9a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee0b5cac9a) - Mention lozenge component rendering performance/reliability is now tracked
|
|
178
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.
|
|
179
185
|
- Updated dependencies
|
|
@@ -182,7 +188,7 @@
|
|
|
182
188
|
|
|
183
189
|
### Major Changes
|
|
184
190
|
|
|
185
|
-
- [`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
|
|
186
192
|
|
|
187
193
|
### Patch Changes
|
|
188
194
|
|
|
@@ -192,11 +198,11 @@
|
|
|
192
198
|
|
|
193
199
|
### Major Changes
|
|
194
200
|
|
|
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
|
|
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
|
|
196
202
|
|
|
197
203
|
### Minor Changes
|
|
198
204
|
|
|
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.
|
|
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.
|
|
200
206
|
|
|
201
207
|
### Patch Changes
|
|
202
208
|
|
|
@@ -210,55 +216,55 @@
|
|
|
210
216
|
|
|
211
217
|
### Patch Changes
|
|
212
218
|
|
|
213
|
-
- [`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
|
|
214
220
|
|
|
215
221
|
## 19.9.5
|
|
216
222
|
|
|
217
223
|
### Patch Changes
|
|
218
224
|
|
|
219
|
-
- [`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
|
|
220
226
|
|
|
221
227
|
## 19.9.4
|
|
222
228
|
|
|
223
229
|
### Patch Changes
|
|
224
230
|
|
|
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.
|
|
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.
|
|
226
232
|
|
|
227
233
|
## 19.9.3
|
|
228
234
|
|
|
229
235
|
### Patch Changes
|
|
230
236
|
|
|
231
|
-
- [`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
|
|
232
238
|
|
|
233
239
|
## 19.9.2
|
|
234
240
|
|
|
235
241
|
### Patch Changes
|
|
236
242
|
|
|
237
|
-
- [`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
|
|
238
244
|
|
|
239
245
|
## 19.9.1
|
|
240
246
|
|
|
241
247
|
### Patch Changes
|
|
242
248
|
|
|
243
|
-
- [`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
|
|
244
250
|
|
|
245
251
|
## 19.9.0
|
|
246
252
|
|
|
247
253
|
### Minor Changes
|
|
248
254
|
|
|
249
|
-
- [`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
|
|
250
256
|
|
|
251
257
|
## 19.8.1
|
|
252
258
|
|
|
253
259
|
### Patch Changes
|
|
254
260
|
|
|
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
|
|
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
|
|
256
262
|
|
|
257
263
|
## 19.8.0
|
|
258
264
|
|
|
259
265
|
### Minor Changes
|
|
260
266
|
|
|
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.
|
|
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.
|
|
262
268
|
|
|
263
269
|
## 19.7.2
|
|
264
270
|
|
|
@@ -270,13 +276,13 @@
|
|
|
270
276
|
|
|
271
277
|
### Patch Changes
|
|
272
278
|
|
|
273
|
-
- [`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
|
|
274
280
|
|
|
275
281
|
## 19.7.0
|
|
276
282
|
|
|
277
283
|
### Minor Changes
|
|
278
284
|
|
|
279
|
-
- [`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
|
|
280
286
|
|
|
281
287
|
### Patch Changes
|
|
282
288
|
|
|
@@ -292,26 +298,26 @@
|
|
|
292
298
|
|
|
293
299
|
### Patch Changes
|
|
294
300
|
|
|
295
|
-
- [`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
|
|
296
302
|
|
|
297
303
|
## 19.6.2
|
|
298
304
|
|
|
299
305
|
### Patch Changes
|
|
300
306
|
|
|
301
|
-
- [`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
|
|
302
308
|
|
|
303
309
|
## 19.6.1
|
|
304
310
|
|
|
305
311
|
### Patch Changes
|
|
306
312
|
|
|
307
|
-
- [`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
|
|
308
314
|
- Updated dependencies
|
|
309
315
|
|
|
310
316
|
## 19.6.0
|
|
311
317
|
|
|
312
318
|
### Minor Changes
|
|
313
319
|
|
|
314
|
-
- [`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
|
|
315
321
|
|
|
316
322
|
### Patch Changes
|
|
317
323
|
|
|
@@ -321,25 +327,25 @@
|
|
|
321
327
|
|
|
322
328
|
### Patch Changes
|
|
323
329
|
|
|
324
|
-
- [`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
|
|
325
331
|
|
|
326
332
|
## 19.5.0
|
|
327
333
|
|
|
328
334
|
### Minor Changes
|
|
329
335
|
|
|
330
|
-
- [`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
|
|
331
337
|
|
|
332
338
|
## 19.4.1
|
|
333
339
|
|
|
334
340
|
### Patch Changes
|
|
335
341
|
|
|
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.
|
|
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.
|
|
337
343
|
|
|
338
344
|
## 19.4.0
|
|
339
345
|
|
|
340
346
|
### Minor Changes
|
|
341
347
|
|
|
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.
|
|
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.
|
|
343
349
|
|
|
344
350
|
### Patch Changes
|
|
345
351
|
|
|
@@ -351,14 +357,14 @@
|
|
|
351
357
|
|
|
352
358
|
### Patch Changes
|
|
353
359
|
|
|
354
|
-
- [`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
|
|
355
361
|
- Updated dependencies
|
|
356
362
|
|
|
357
363
|
## 19.3.0
|
|
358
364
|
|
|
359
365
|
### Minor Changes
|
|
360
366
|
|
|
361
|
-
- [`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.
|
|
362
368
|
- [`43b2f925f0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43b2f925f0b) - Add optional attributes to mentionProvider analytics callback
|
|
363
369
|
|
|
364
370
|
### Patch Changes
|
|
@@ -369,26 +375,26 @@
|
|
|
369
375
|
|
|
370
376
|
### Minor Changes
|
|
371
377
|
|
|
372
|
-
- [`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
|
|
373
379
|
|
|
374
380
|
## 19.1.2
|
|
375
381
|
|
|
376
382
|
### Patch Changes
|
|
377
383
|
|
|
378
|
-
- [`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
|
|
379
385
|
- [`dd91541afe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd91541afe) - [ux] Further improvements on the invite from mention experiment
|
|
380
386
|
|
|
381
387
|
## 19.1.1
|
|
382
388
|
|
|
383
389
|
### Patch Changes
|
|
384
390
|
|
|
385
|
-
- [`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
|
|
386
392
|
|
|
387
393
|
## 19.1.0
|
|
388
394
|
|
|
389
395
|
### Minor Changes
|
|
390
396
|
|
|
391
|
-
- [`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
|
|
392
398
|
|
|
393
399
|
- updated util-data-test/mention to enable invite from mention experiment
|
|
394
400
|
- added invite from mention experiment logic into editor-core
|
|
@@ -397,14 +403,14 @@
|
|
|
397
403
|
|
|
398
404
|
### Patch Changes
|
|
399
405
|
|
|
400
|
-
- [`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
|
|
401
407
|
- Updated dependencies
|
|
402
408
|
|
|
403
409
|
## 19.0.8
|
|
404
410
|
|
|
405
411
|
### Patch Changes
|
|
406
412
|
|
|
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.
|
|
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.
|
|
408
414
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
409
415
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
410
416
|
|
|
@@ -418,14 +424,14 @@
|
|
|
418
424
|
|
|
419
425
|
### Patch Changes
|
|
420
426
|
|
|
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)
|
|
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)
|
|
422
428
|
- Updated dependencies
|
|
423
429
|
|
|
424
430
|
## 19.0.5
|
|
425
431
|
|
|
426
432
|
### Patch Changes
|
|
427
433
|
|
|
428
|
-
- [`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
|
|
429
435
|
|
|
430
436
|
## 19.0.4
|
|
431
437
|
|
|
@@ -437,7 +443,7 @@
|
|
|
437
443
|
|
|
438
444
|
### Patch Changes
|
|
439
445
|
|
|
440
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
446
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
441
447
|
|
|
442
448
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
443
449
|
to prevent duplicates of tslib being bundled.
|
|
@@ -446,7 +452,7 @@
|
|
|
446
452
|
|
|
447
453
|
### Patch Changes
|
|
448
454
|
|
|
449
|
-
- [`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
|
|
450
456
|
|
|
451
457
|
## 19.0.1
|
|
452
458
|
|
|
@@ -458,7 +464,7 @@
|
|
|
458
464
|
|
|
459
465
|
### Major Changes
|
|
460
466
|
|
|
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.
|
|
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.
|
|
462
468
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
463
469
|
|
|
464
470
|
### Patch Changes
|
|
@@ -469,13 +475,13 @@
|
|
|
469
475
|
|
|
470
476
|
### Patch Changes
|
|
471
477
|
|
|
472
|
-
- [`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
|
|
473
479
|
|
|
474
480
|
## 18.18.2
|
|
475
481
|
|
|
476
482
|
### Patch Changes
|
|
477
483
|
|
|
478
|
-
- [`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
|
|
479
485
|
|
|
480
486
|
## 18.18.1
|
|
481
487
|
|
package/dist/cjs/_constants.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
+
};
|