@atlaskit/smart-user-picker 6.9.2 → 6.9.4
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 +211 -73
- package/afm-jira/tsconfig.json +29 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/types/analytics.d.ts +2 -2
- package/dist/types/components/MessagesIntlProvider.d.ts +2 -2
- package/dist/types/components/SmartUserPicker.d.ts +4 -4
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/service/constants.d.ts +1 -1
- package/dist/types/service/default-value-hydration-client.d.ts +1 -1
- package/dist/types/service/recommendation-client.d.ts +3 -3
- package/dist/types/service/teams-client.d.ts +1 -1
- package/dist/types/service/users-client.d.ts +1 -1
- package/dist/types/service/users-transformer.d.ts +2 -2
- package/dist/types/types.d.ts +2 -2
- package/dist/types-ts4.5/analytics.d.ts +2 -2
- package/dist/types-ts4.5/components/MessagesIntlProvider.d.ts +2 -2
- package/dist/types-ts4.5/components/SmartUserPicker.d.ts +4 -4
- package/dist/types-ts4.5/components/index.d.ts +1 -1
- package/dist/types-ts4.5/service/constants.d.ts +1 -1
- package/dist/types-ts4.5/service/default-value-hydration-client.d.ts +1 -1
- package/dist/types-ts4.5/service/recommendation-client.d.ts +3 -3
- package/dist/types-ts4.5/service/teams-client.d.ts +1 -1
- package/dist/types-ts4.5/service/users-client.d.ts +1 -1
- package/dist/types-ts4.5/service/users-transformer.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +2 -2
- package/docs/0-intro.tsx +17 -23
- package/package.json +59 -60
- package/report.api.md +88 -96
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,55 @@
|
|
|
1
1
|
# @atlassian/smart-user-picker
|
|
2
2
|
|
|
3
|
+
## 6.9.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#120040](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120040)
|
|
8
|
+
[`b05a6549cb562`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b05a6549cb562) -
|
|
9
|
+
Showcase proper a11y usage in the main example of Smart User Picker, improve documentation
|
|
10
|
+
|
|
11
|
+
## 6.9.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
|
|
16
|
+
[`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
|
|
17
|
+
Migrated to the new button component
|
|
18
|
+
|
|
3
19
|
## 6.9.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
6
22
|
|
|
7
|
-
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
23
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
24
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
25
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
26
|
|
|
9
27
|
## 6.9.1
|
|
10
28
|
|
|
11
29
|
### Patch Changes
|
|
12
30
|
|
|
13
|
-
- [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085)
|
|
31
|
+
- [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085)
|
|
32
|
+
[`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) -
|
|
33
|
+
Update usage of `React.FC` to explicity include `children`
|
|
14
34
|
|
|
15
35
|
## 6.9.0
|
|
16
36
|
|
|
17
37
|
### Minor Changes
|
|
18
38
|
|
|
19
|
-
- [#76695](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76695)
|
|
39
|
+
- [#76695](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76695)
|
|
40
|
+
[`815a632ae2c2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/815a632ae2c2) -
|
|
41
|
+
export isExternalUser
|
|
20
42
|
|
|
21
43
|
## 6.8.0
|
|
22
44
|
|
|
23
45
|
### Minor Changes
|
|
24
46
|
|
|
25
|
-
- [#73914](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73914)
|
|
47
|
+
- [#73914](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73914)
|
|
48
|
+
[`7acf8bb50dea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7acf8bb50dea) -
|
|
49
|
+
Added support for external users being returned by the user-recommendations service. Non-licensed
|
|
50
|
+
users will have a `type` of `external_user` and have `isExternal` set to `true`. A new prop
|
|
51
|
+
`overrideByline` was also added to allow for the byline to be customised as SmartUserPicker does
|
|
52
|
+
not currently set any bylines on options.
|
|
26
53
|
|
|
27
54
|
### Patch Changes
|
|
28
55
|
|
|
@@ -32,7 +59,9 @@
|
|
|
32
59
|
|
|
33
60
|
### Minor Changes
|
|
34
61
|
|
|
35
|
-
- [#70375](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70375)
|
|
62
|
+
- [#70375](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70375)
|
|
63
|
+
[`14ab45c8b78b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14ab45c8b78b) -
|
|
64
|
+
Adding tooltip to option shown on hover
|
|
36
65
|
|
|
37
66
|
### Patch Changes
|
|
38
67
|
|
|
@@ -42,13 +71,18 @@
|
|
|
42
71
|
|
|
43
72
|
### Minor Changes
|
|
44
73
|
|
|
45
|
-
- [#68110](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68110)
|
|
74
|
+
- [#68110](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68110)
|
|
75
|
+
[`8f8a81b663ca`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8f8a81b663ca) -
|
|
76
|
+
[ux] Introduced includeNonLicensedUsers prop to request including non licensed users from the
|
|
77
|
+
recommendation API.
|
|
46
78
|
|
|
47
79
|
## 6.5.0
|
|
48
80
|
|
|
49
81
|
### Minor Changes
|
|
50
82
|
|
|
51
|
-
- [#68878](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68878)
|
|
83
|
+
- [#68878](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68878)
|
|
84
|
+
[`6c49996cd842`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6c49996cd842) -
|
|
85
|
+
update user recommendations api to return user's title
|
|
52
86
|
|
|
53
87
|
### Patch Changes
|
|
54
88
|
|
|
@@ -58,25 +92,34 @@
|
|
|
58
92
|
|
|
59
93
|
### Patch Changes
|
|
60
94
|
|
|
61
|
-
- [#67296](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67296)
|
|
95
|
+
- [#67296](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67296)
|
|
96
|
+
[`8b0a2a9e0969`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8b0a2a9e0969) -
|
|
97
|
+
This package has been added to the Jira push model.
|
|
62
98
|
|
|
63
99
|
## 6.4.2
|
|
64
100
|
|
|
65
101
|
### Patch Changes
|
|
66
102
|
|
|
67
|
-
- [#60464](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60464)
|
|
103
|
+
- [#60464](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60464)
|
|
104
|
+
[`a30f9a5f3e0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a30f9a5f3e0d) -
|
|
105
|
+
Removing unused dependencies
|
|
68
106
|
|
|
69
107
|
## 6.4.1
|
|
70
108
|
|
|
71
109
|
### Patch Changes
|
|
72
110
|
|
|
73
|
-
- [#60029](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60029)
|
|
111
|
+
- [#60029](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60029)
|
|
112
|
+
[`b9826ea49c47`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9826ea49c47) -
|
|
113
|
+
Update dependencies that were impacted by HOT-106483 to latest.
|
|
74
114
|
|
|
75
115
|
## 6.4.0
|
|
76
116
|
|
|
77
117
|
### Minor Changes
|
|
78
118
|
|
|
79
|
-
- [#59712](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59712)
|
|
119
|
+
- [#59712](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59712)
|
|
120
|
+
[`229363c1c1b3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/229363c1c1b3) -
|
|
121
|
+
Add required attribute to the user-picker components and add its consumption in the share
|
|
122
|
+
component.
|
|
80
123
|
|
|
81
124
|
### Patch Changes
|
|
82
125
|
|
|
@@ -86,7 +129,9 @@
|
|
|
86
129
|
|
|
87
130
|
### Minor Changes
|
|
88
131
|
|
|
89
|
-
- [#39115](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39115)
|
|
132
|
+
- [#39115](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39115)
|
|
133
|
+
[`38c3ed63070`](https://bitbucket.org/atlassian/atlassian-frontend/commits/38c3ed63070) - Export
|
|
134
|
+
sub-components of Option
|
|
90
135
|
|
|
91
136
|
### Patch Changes
|
|
92
137
|
|
|
@@ -96,7 +141,9 @@
|
|
|
96
141
|
|
|
97
142
|
### Minor Changes
|
|
98
143
|
|
|
99
|
-
- [#38945](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38945)
|
|
144
|
+
- [#38945](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38945)
|
|
145
|
+
[`406273e2aa8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/406273e2aa8) - Export
|
|
146
|
+
Option component from /option entrypoint
|
|
100
147
|
|
|
101
148
|
### Patch Changes
|
|
102
149
|
|
|
@@ -106,44 +153,58 @@
|
|
|
106
153
|
|
|
107
154
|
### Patch Changes
|
|
108
155
|
|
|
109
|
-
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
156
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
157
|
+
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
|
|
158
|
+
version.json
|
|
110
159
|
- Updated dependencies
|
|
111
160
|
|
|
112
161
|
## 6.1.5
|
|
113
162
|
|
|
114
163
|
### Patch Changes
|
|
115
164
|
|
|
116
|
-
- [#37925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37925)
|
|
165
|
+
- [#37925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37925)
|
|
166
|
+
[`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use
|
|
167
|
+
injected env vars instead of version.json
|
|
117
168
|
|
|
118
169
|
## 6.1.4
|
|
119
170
|
|
|
120
171
|
### Patch Changes
|
|
121
172
|
|
|
122
|
-
- [#37101](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37101)
|
|
173
|
+
- [#37101](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37101)
|
|
174
|
+
[`78f0d4b929c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78f0d4b929c) - [ux]
|
|
175
|
+
Color of guest lozenges in the smartUserPicker changed from purple ('new') to grey ('default')
|
|
123
176
|
|
|
124
177
|
## 6.1.3
|
|
125
178
|
|
|
126
179
|
### Patch Changes
|
|
127
180
|
|
|
128
|
-
- [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
|
|
181
|
+
- [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
|
|
182
|
+
[`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing
|
|
183
|
+
unused dependencies and dev dependencies
|
|
129
184
|
|
|
130
185
|
## 6.1.2
|
|
131
186
|
|
|
132
187
|
### Patch Changes
|
|
133
188
|
|
|
134
|
-
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
189
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
190
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
191
|
+
legacy types are published for TS 4.5-4.8
|
|
135
192
|
|
|
136
193
|
## 6.1.1
|
|
137
194
|
|
|
138
195
|
### Patch Changes
|
|
139
196
|
|
|
140
|
-
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
197
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
198
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
199
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
141
200
|
|
|
142
201
|
## 6.1.0
|
|
143
202
|
|
|
144
203
|
### Minor Changes
|
|
145
204
|
|
|
146
|
-
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
205
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
206
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
207
|
+
minor dependency bump
|
|
147
208
|
|
|
148
209
|
### Patch Changes
|
|
149
210
|
|
|
@@ -153,7 +214,9 @@
|
|
|
153
214
|
|
|
154
215
|
### Patch Changes
|
|
155
216
|
|
|
156
|
-
- [#31718](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31718)
|
|
217
|
+
- [#31718](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31718)
|
|
218
|
+
[`365dc58e26b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/365dc58e26b) - UFO
|
|
219
|
+
failures for options shown will now only be recorded when the status code is a 5xx
|
|
157
220
|
|
|
158
221
|
## 6.0.6
|
|
159
222
|
|
|
@@ -165,7 +228,9 @@
|
|
|
165
228
|
|
|
166
229
|
### Patch Changes
|
|
167
230
|
|
|
168
|
-
- [#29737](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29737)
|
|
231
|
+
- [#29737](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29737)
|
|
232
|
+
[`6a4f3d27fee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a4f3d27fee) - Add
|
|
233
|
+
contextType to UFO events for options rendered
|
|
169
234
|
|
|
170
235
|
## 6.0.4
|
|
171
236
|
|
|
@@ -177,49 +242,66 @@
|
|
|
177
242
|
|
|
178
243
|
### Patch Changes
|
|
179
244
|
|
|
180
|
-
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
245
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
246
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
247
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
181
248
|
|
|
182
249
|
## 6.0.2
|
|
183
250
|
|
|
184
251
|
### Patch Changes
|
|
185
252
|
|
|
186
|
-
- [#24705](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24705)
|
|
253
|
+
- [#24705](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24705)
|
|
254
|
+
[`44dcc64d558`](https://bitbucket.org/atlassian/atlassian-frontend/commits/44dcc64d558) - Updated
|
|
255
|
+
dependencies
|
|
187
256
|
|
|
188
257
|
## 6.0.1
|
|
189
258
|
|
|
190
259
|
### Patch Changes
|
|
191
260
|
|
|
192
|
-
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
261
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
262
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
263
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
193
264
|
|
|
194
265
|
## 6.0.0
|
|
195
266
|
|
|
196
267
|
### Major Changes
|
|
197
268
|
|
|
198
|
-
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
269
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
270
|
+
[`be2c0ae7ba4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be2c0ae7ba4) - The
|
|
271
|
+
`setSmartUserPickerEnv` export has been removed. This should be a no-op upgrade as it was only
|
|
272
|
+
used internally for test/example files in other packages.
|
|
199
273
|
|
|
200
274
|
## 5.1.3
|
|
201
275
|
|
|
202
276
|
### Patch Changes
|
|
203
277
|
|
|
204
|
-
- [#23257](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23257)
|
|
278
|
+
- [#23257](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23257)
|
|
279
|
+
[`977329d177c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/977329d177c) - Import
|
|
280
|
+
version json and use attributes rather than importing directly
|
|
205
281
|
|
|
206
282
|
## 5.1.2
|
|
207
283
|
|
|
208
284
|
### Patch Changes
|
|
209
285
|
|
|
210
|
-
- [#23075](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23075)
|
|
286
|
+
- [#23075](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23075)
|
|
287
|
+
[`7536b86964b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7536b86964b) - Update
|
|
288
|
+
context key for URS from orgId to organizationId
|
|
211
289
|
|
|
212
290
|
## 5.1.1
|
|
213
291
|
|
|
214
292
|
### Patch Changes
|
|
215
293
|
|
|
216
|
-
- [#22015](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22015)
|
|
294
|
+
- [#22015](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22015)
|
|
295
|
+
[`ff97c74b6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff97c74b6f0) - Add
|
|
296
|
+
TeamMember as export from user-picker
|
|
217
297
|
|
|
218
298
|
## 5.1.0
|
|
219
299
|
|
|
220
300
|
### Minor Changes
|
|
221
301
|
|
|
222
|
-
- [#21796](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21796)
|
|
302
|
+
- [#21796](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21796)
|
|
303
|
+
[`cc40ab95bd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc40ab95bd4) - Adds a
|
|
304
|
+
list of team members under OptionData for Teams
|
|
223
305
|
|
|
224
306
|
### Patch Changes
|
|
225
307
|
|
|
@@ -229,13 +311,19 @@
|
|
|
229
311
|
|
|
230
312
|
### Patch Changes
|
|
231
313
|
|
|
232
|
-
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
314
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
315
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
316
|
+
to TypeScript 4.2.4
|
|
233
317
|
|
|
234
318
|
## 5.0.4
|
|
235
319
|
|
|
236
320
|
### Patch Changes
|
|
237
321
|
|
|
238
|
-
- [#20467](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20467)
|
|
322
|
+
- [#20467](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20467)
|
|
323
|
+
[`f805f47c19a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f805f47c19a) - Smart
|
|
324
|
+
User Picker now catches errors emitted from the optional `onError` fallback data source, and also
|
|
325
|
+
now only sends a UFO failure event if the primary data source (URS) fails AND the `onError` prop
|
|
326
|
+
either fails or is not provided.
|
|
239
327
|
|
|
240
328
|
## 5.0.3
|
|
241
329
|
|
|
@@ -247,37 +335,50 @@
|
|
|
247
335
|
|
|
248
336
|
### Patch Changes
|
|
249
337
|
|
|
250
|
-
- [#18817](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18817)
|
|
338
|
+
- [#18817](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18817)
|
|
339
|
+
[`6fc78303271`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6fc78303271) - UFO
|
|
340
|
+
measurement of how long it takes the list of users to be shown
|
|
251
341
|
|
|
252
342
|
## 5.0.1
|
|
253
343
|
|
|
254
344
|
### Patch Changes
|
|
255
345
|
|
|
256
|
-
- [#19129](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19129)
|
|
346
|
+
- [#19129](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19129)
|
|
347
|
+
[`0850fe46fc8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0850fe46fc8) - Track
|
|
348
|
+
mount errors in Smart User Picker
|
|
257
349
|
|
|
258
350
|
## 5.0.0
|
|
259
351
|
|
|
260
352
|
### Major Changes
|
|
261
353
|
|
|
262
|
-
- [#19144](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19144)
|
|
354
|
+
- [#19144](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19144)
|
|
355
|
+
[`67ca990e9cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/67ca990e9cf) - Changing
|
|
356
|
+
the URL for default value hydration from /graphql to /api/gateway/graphql
|
|
263
357
|
|
|
264
358
|
## 4.0.1
|
|
265
359
|
|
|
266
360
|
### Patch Changes
|
|
267
361
|
|
|
268
|
-
- [#19078](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19078)
|
|
362
|
+
- [#19078](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19078)
|
|
363
|
+
[`73bf59c717d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73bf59c717d) - update
|
|
364
|
+
dependency on @atlaskit/user-picker to ensure defaultValue fix is applied
|
|
269
365
|
|
|
270
366
|
## 4.0.0
|
|
271
367
|
|
|
272
368
|
### Major Changes
|
|
273
369
|
|
|
274
|
-
- [#18930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18930)
|
|
370
|
+
- [#18930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18930)
|
|
371
|
+
[`5df1ae17438`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5df1ae17438) -
|
|
372
|
+
@atlassian/smart-user-picker will now be made public and renamed @atlaskit/smart-user-picker to
|
|
373
|
+
provide a 1-1 replacement for @atlaskit/user-picker/smart-user-picker (UR-3417).
|
|
275
374
|
|
|
276
375
|
## 3.1.0
|
|
277
376
|
|
|
278
377
|
### Minor Changes
|
|
279
378
|
|
|
280
|
-
- [#18908](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18908)
|
|
379
|
+
- [#18908](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18908)
|
|
380
|
+
[`d2a8de20d08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2a8de20d08) - Add
|
|
381
|
+
support in SmartUserPicker for org id for team search
|
|
281
382
|
|
|
282
383
|
### Patch Changes
|
|
283
384
|
|
|
@@ -287,43 +388,59 @@
|
|
|
287
388
|
|
|
288
389
|
### Patch Changes
|
|
289
390
|
|
|
290
|
-
- [#18561](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18561)
|
|
391
|
+
- [#18561](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18561)
|
|
392
|
+
[`e4109a66653`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4109a66653) - Smart
|
|
393
|
+
user picker initial render performance is now measured using @atlassian/ufo
|
|
291
394
|
|
|
292
395
|
## 3.0.4
|
|
293
396
|
|
|
294
397
|
### Patch Changes
|
|
295
398
|
|
|
296
|
-
- [#18303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18303)
|
|
399
|
+
- [#18303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18303)
|
|
400
|
+
[`7f48efc8487`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f48efc8487) - Use
|
|
401
|
+
baseUrl prop in default user value hydration query
|
|
297
402
|
|
|
298
403
|
## 3.0.3
|
|
299
404
|
|
|
300
405
|
### Patch Changes
|
|
301
406
|
|
|
302
|
-
- [#18056](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18056)
|
|
407
|
+
- [#18056](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18056)
|
|
408
|
+
[`405d07e48fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/405d07e48fa) - updating
|
|
409
|
+
props doc
|
|
303
410
|
|
|
304
411
|
## 3.0.2
|
|
305
412
|
|
|
306
413
|
### Patch Changes
|
|
307
414
|
|
|
308
|
-
- [#17940](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17940)
|
|
415
|
+
- [#17940](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17940)
|
|
416
|
+
[`9fd6117d5e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fd6117d5e4) - Fix
|
|
417
|
+
behavior of base URL so that API calls use baseUrl as base url
|
|
309
418
|
|
|
310
419
|
## 3.0.1
|
|
311
420
|
|
|
312
421
|
### Patch Changes
|
|
313
422
|
|
|
314
|
-
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475)
|
|
423
|
+
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475)
|
|
424
|
+
[`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch
|
|
425
|
+
VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
315
426
|
|
|
316
427
|
## 3.0.0
|
|
317
428
|
|
|
318
429
|
### Major Changes
|
|
319
430
|
|
|
320
|
-
- [#14810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14810)
|
|
431
|
+
- [#14810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14810)
|
|
432
|
+
[`47f58da5946`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47f58da5946) -
|
|
433
|
+
ED-13322, ED-13324, ED-13326, ED-13323, ED-13204: Upgrade and support react-intl@^5.18.1 including
|
|
434
|
+
breaking API changes, types and tests in atlassian-frontend packages
|
|
321
435
|
|
|
322
|
-
What changed: Upgraded our react-intl support from ^2.6.0 to ^5.18.1. This means editor packages
|
|
323
|
-
|
|
324
|
-
|
|
436
|
+
What changed: Upgraded our react-intl support from ^2.6.0 to ^5.18.1. This means editor packages
|
|
437
|
+
now rely on consumers installing ^5.18.1, otherwise editor usage of react-intl will mismatch with
|
|
438
|
+
actual installed react-intl APIs. Why change was made: As part of a coordinated upgrade effort
|
|
439
|
+
across AF packages, as react-intl v2 is quite dated. How consumer should update their code: Ensure
|
|
440
|
+
react-intl ^5.18.1 is installed in consuming applications.
|
|
325
441
|
|
|
326
|
-
Upgrade guide: To consume atlassian-frontend packages that use react-intl5 setup a second provider
|
|
442
|
+
Upgrade guide: To consume atlassian-frontend packages that use react-intl5 setup a second provider
|
|
443
|
+
for the new version, using an npm alias
|
|
327
444
|
|
|
328
445
|
```js
|
|
329
446
|
"react-intl": "^2.6.0",
|
|
@@ -335,23 +452,23 @@
|
|
|
335
452
|
import { IntlProvider as IntlNextProvider } from 'react-intl-next';
|
|
336
453
|
|
|
337
454
|
return (
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
455
|
+
<IntlProvider
|
|
456
|
+
key={locale}
|
|
457
|
+
data-test-language={locale}
|
|
458
|
+
locale={locale}
|
|
459
|
+
defaultLocale={DEFAULT_LOCALE}
|
|
460
|
+
messages={messages}
|
|
461
|
+
>
|
|
462
|
+
<IntlNextProvider
|
|
463
|
+
key={locale}
|
|
464
|
+
data-test-language={locale}
|
|
465
|
+
locale={locale}
|
|
466
|
+
defaultLocale={DEFAULT_LOCALE}
|
|
467
|
+
messages={messages}
|
|
468
|
+
>
|
|
469
|
+
{children}
|
|
470
|
+
</IntlNextProvider>
|
|
471
|
+
</IntlProvider>
|
|
355
472
|
);
|
|
356
473
|
```
|
|
357
474
|
|
|
@@ -363,45 +480,66 @@
|
|
|
363
480
|
|
|
364
481
|
### Patch Changes
|
|
365
482
|
|
|
366
|
-
- [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694)
|
|
483
|
+
- [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694)
|
|
484
|
+
[`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal
|
|
485
|
+
upgrade of memoize-one to 6.0.0
|
|
367
486
|
|
|
368
487
|
## 2.1.3
|
|
369
488
|
|
|
370
489
|
### Patch Changes
|
|
371
490
|
|
|
372
|
-
- [#15454](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15454)
|
|
491
|
+
- [#15454](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15454)
|
|
492
|
+
[`a92e3bdb515`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a92e3bdb515) - Relaxed
|
|
493
|
+
product enum typing to take in any string
|
|
373
494
|
|
|
374
495
|
## 2.1.2
|
|
375
496
|
|
|
376
497
|
### Patch Changes
|
|
377
498
|
|
|
378
|
-
- [#15171](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15171)
|
|
499
|
+
- [#15171](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15171)
|
|
500
|
+
[`93c8a8f0bd5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93c8a8f0bd5) - Expose
|
|
501
|
+
types from @atlaskit/user-picker from smart-user-picker
|
|
379
502
|
|
|
380
503
|
## 2.1.1
|
|
381
504
|
|
|
382
505
|
### Patch Changes
|
|
383
506
|
|
|
384
|
-
- [#14494](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14494)
|
|
507
|
+
- [#14494](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14494)
|
|
508
|
+
[`4ac918aad80`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ac918aad80) - Added
|
|
509
|
+
helper documentation for easier onboarding onto Atlaskit Editor
|
|
385
510
|
|
|
386
511
|
## 2.1.0
|
|
387
512
|
|
|
388
513
|
### Minor Changes
|
|
389
514
|
|
|
390
|
-
- [#14007](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14007)
|
|
515
|
+
- [#14007](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14007)
|
|
516
|
+
[`674d31d565e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/674d31d565e) - Added
|
|
517
|
+
default value hydration for non-jira/conf products, team default value hydration, and changed
|
|
518
|
+
default debounce time to 150ms
|
|
391
519
|
|
|
392
520
|
## 2.0.0
|
|
393
521
|
|
|
394
522
|
### Major Changes
|
|
395
523
|
|
|
396
|
-
- [#13189](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13189)
|
|
524
|
+
- [#13189](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13189)
|
|
525
|
+
[`ccda387eede`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ccda387eede) -
|
|
526
|
+
smart-user-picker extracted out from user-picker to smart-user-picker package. smart-user-picker
|
|
527
|
+
in user-picker is now deprecated but still backwards compatible. Please use
|
|
528
|
+
@atlassian/smart-user-picker for smart-user-picker.
|
|
397
529
|
|
|
398
530
|
### Patch Changes
|
|
399
531
|
|
|
400
|
-
- [#13476](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13476)
|
|
532
|
+
- [#13476](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13476)
|
|
533
|
+
[`5ac7831fc59`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ac7831fc59) - updating
|
|
534
|
+
UP dependency
|
|
401
535
|
- Updated dependencies
|
|
402
536
|
|
|
403
537
|
## 1.0.1
|
|
404
538
|
|
|
405
539
|
### Patch Changes
|
|
406
540
|
|
|
407
|
-
- [#12373](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12373)
|
|
541
|
+
- [#12373](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12373)
|
|
542
|
+
[`869e1fdef2f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/869e1fdef2f) - [ux]
|
|
543
|
+
Prioritize filterOptions prop over onEmpty. Now, filterOptions is called AFTER onEmpty is applied
|
|
544
|
+
to URS suggestions. This means that SUP can show empty results if filterOptions filters out all
|
|
545
|
+
results. This fixes a bug where updated filterOptions does not get applied to suggestions.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.jira.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "es5",
|
|
5
|
+
"outDir": "../../../../../tsDist/@atlaskit__smart-user-picker/app",
|
|
6
|
+
"composite": true,
|
|
7
|
+
"rootDir": "../"
|
|
8
|
+
},
|
|
9
|
+
"include": [
|
|
10
|
+
"../src/**/*.ts",
|
|
11
|
+
"../src/**/*.tsx"
|
|
12
|
+
],
|
|
13
|
+
"exclude": [
|
|
14
|
+
"../src/**/__tests__/*",
|
|
15
|
+
"../src/**/*.test.*",
|
|
16
|
+
"../src/**/test.*"
|
|
17
|
+
],
|
|
18
|
+
"references": [
|
|
19
|
+
{
|
|
20
|
+
"path": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"path": "../../../data/ufo-external/afm-jira/tsconfig.json"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"path": "../../../elements/user-picker/afm-jira/tsconfig.json"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -11,7 +11,7 @@ var _uuid = require("uuid");
|
|
|
11
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
13
|
var packageName = "@atlaskit/smart-user-picker";
|
|
14
|
-
var packageVersion = "6.9.
|
|
14
|
+
var packageVersion = "6.9.4";
|
|
15
15
|
var startSession = exports.startSession = function startSession() {
|
|
16
16
|
return {
|
|
17
17
|
id: (0, _uuid.v4)(),
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
2
2
|
import { v4 as uuid } from 'uuid';
|
|
3
3
|
const packageName = "@atlaskit/smart-user-picker";
|
|
4
|
-
const packageVersion = "6.9.
|
|
4
|
+
const packageVersion = "6.9.4";
|
|
5
5
|
export const startSession = () => ({
|
|
6
6
|
id: uuid(),
|
|
7
7
|
start: Date.now(),
|
package/dist/esm/analytics.js
CHANGED
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
5
5
|
import { v4 as uuid } from 'uuid';
|
|
6
6
|
var packageName = "@atlaskit/smart-user-picker";
|
|
7
|
-
var packageVersion = "6.9.
|
|
7
|
+
var packageVersion = "6.9.4";
|
|
8
8
|
export var startSession = function startSession() {
|
|
9
9
|
return {
|
|
10
10
|
id: uuid(),
|