@atlaskit/contextual-survey 2.2.16 β 2.2.18
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 +254 -242
- package/afm-jira/tsconfig.json +45 -0
- package/dist/cjs/components/FeedbackAcknowledgement.js +2 -0
- package/dist/cjs/components/FeedbackScoreButtons.js +8 -0
- package/dist/cjs/components/SignUpPrompt.js +6 -1
- package/dist/cjs/components/SignUpSuccess.js +2 -0
- package/dist/cjs/components/SuccessContainer.js +3 -0
- package/dist/cjs/components/SurveyContainer.js +5 -0
- package/dist/cjs/components/SurveyForm.js +6 -2
- package/dist/cjs/components/SurveyMarshal.js +7 -0
- package/dist/es2019/components/FeedbackAcknowledgement.js +2 -0
- package/dist/es2019/components/FeedbackScoreButtons.js +8 -0
- package/dist/es2019/components/SignUpPrompt.js +6 -1
- package/dist/es2019/components/SignUpSuccess.js +2 -0
- package/dist/es2019/components/SuccessContainer.js +3 -0
- package/dist/es2019/components/SurveyContainer.js +5 -0
- package/dist/es2019/components/SurveyForm.js +5 -1
- package/dist/es2019/components/SurveyMarshal.js +6 -0
- package/dist/esm/components/FeedbackAcknowledgement.js +2 -0
- package/dist/esm/components/FeedbackScoreButtons.js +8 -0
- package/dist/esm/components/SignUpPrompt.js +6 -1
- package/dist/esm/components/SignUpSuccess.js +2 -0
- package/dist/esm/components/SuccessContainer.js +3 -0
- package/dist/esm/components/SurveyContainer.js +5 -0
- package/dist/esm/components/SurveyForm.js +5 -1
- package/dist/esm/components/SurveyMarshal.js +6 -0
- package/dist/types/components/ContextualSurvey.d.ts +1 -1
- package/dist/types/components/SurveyForm.d.ts +3 -3
- package/dist/types/components/SurveyMarshal.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/components/ContextualSurvey.d.ts +1 -1
- package/dist/types-ts4.5/components/SurveyForm.d.ts +3 -3
- package/dist/types-ts4.5/components/SurveyMarshal.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/docs/0-intro.tsx +33 -31
- package/package.json +73 -75
- package/report.api.md +33 -32
package/CHANGELOG.md
CHANGED
|
@@ -1,541 +1,553 @@
|
|
|
1
1
|
# @atlaskit/contextual-survey
|
|
2
2
|
|
|
3
|
+
## 2.2.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#114683](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114683)
|
|
8
|
+
[`ff0815316ab38`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff0815316ab38) -
|
|
9
|
+
Removes usage of custom theme button in places where its API is not being used and the default
|
|
10
|
+
button is able to be used instead. This should give a slight performance (runtime) improvement.
|
|
11
|
+
|
|
12
|
+
## 2.2.17
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 2.2.16
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
6
21
|
|
|
7
|
-
-
|
|
22
|
+
- Updated dependencies
|
|
8
23
|
|
|
9
24
|
## 2.2.15
|
|
10
25
|
|
|
11
26
|
### Patch Changes
|
|
12
27
|
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
28
|
+
- [#84829](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84829)
|
|
29
|
+
[`a6299ec57bc3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a6299ec57bc3) -
|
|
30
|
+
Internal change to replace hardcoded font fallback values with an exported constant. There is no
|
|
31
|
+
expected visual difference.
|
|
17
32
|
|
|
18
33
|
## 2.2.14
|
|
19
34
|
|
|
20
35
|
### Patch Changes
|
|
21
36
|
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
-
|
|
37
|
+
- [#83176](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83176)
|
|
38
|
+
[`5c64e4657ef3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c64e4657ef3) -
|
|
39
|
+
[ux] Minor changes to replace deprecated font tokens with new tokens. There may be some very
|
|
40
|
+
slight differences in font size if the previous value was incorrectly applied, and slight
|
|
41
|
+
differences in line height to match the new typography system.
|
|
42
|
+
- Updated dependencies
|
|
28
43
|
|
|
29
44
|
## 2.2.13
|
|
30
45
|
|
|
31
46
|
### Patch Changes
|
|
32
47
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
48
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
49
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
50
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
36
51
|
|
|
37
52
|
## 2.2.12
|
|
38
53
|
|
|
39
54
|
### Patch Changes
|
|
40
55
|
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
56
|
+
- [#69022](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69022)
|
|
57
|
+
[`395c74147990`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/395c74147990) -
|
|
58
|
+
Migrate packages to use declarative entry points
|
|
44
59
|
|
|
45
60
|
## 2.2.11
|
|
46
61
|
|
|
47
62
|
### Patch Changes
|
|
48
63
|
|
|
49
|
-
-
|
|
64
|
+
- Updated dependencies
|
|
50
65
|
|
|
51
66
|
## 2.2.10
|
|
52
67
|
|
|
53
68
|
### Patch Changes
|
|
54
69
|
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
70
|
+
- [#60029](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60029)
|
|
71
|
+
[`b9826ea49c47`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9826ea49c47) -
|
|
72
|
+
Update dependencies that were impacted by HOT-106483 to latest.
|
|
58
73
|
|
|
59
74
|
## 2.2.9
|
|
60
75
|
|
|
61
76
|
### Patch Changes
|
|
62
77
|
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
expected.
|
|
78
|
+
- [#57124](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57124)
|
|
79
|
+
[`7ee324f9de67`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7ee324f9de67) -
|
|
80
|
+
Upgrade Emotion v10 (@emotion/core) to Emotion v11 (@emotion/react). No behaviour change expected.
|
|
67
81
|
|
|
68
82
|
## 2.2.8
|
|
69
83
|
|
|
70
84
|
### Patch Changes
|
|
71
85
|
|
|
72
|
-
-
|
|
86
|
+
- Updated dependencies
|
|
73
87
|
|
|
74
88
|
## 2.2.7
|
|
75
89
|
|
|
76
90
|
### Patch Changes
|
|
77
91
|
|
|
78
|
-
-
|
|
92
|
+
- Updated dependencies
|
|
79
93
|
|
|
80
94
|
## 2.2.6
|
|
81
95
|
|
|
82
96
|
### Patch Changes
|
|
83
97
|
|
|
84
|
-
-
|
|
98
|
+
- Updated dependencies
|
|
85
99
|
|
|
86
100
|
## 2.2.5
|
|
87
101
|
|
|
88
102
|
### Patch Changes
|
|
89
103
|
|
|
90
|
-
-
|
|
104
|
+
- Updated dependencies
|
|
91
105
|
|
|
92
106
|
## 2.2.4
|
|
93
107
|
|
|
94
108
|
### Patch Changes
|
|
95
109
|
|
|
96
|
-
-
|
|
110
|
+
- Updated dependencies
|
|
97
111
|
|
|
98
112
|
## 2.2.3
|
|
99
113
|
|
|
100
114
|
### Patch Changes
|
|
101
115
|
|
|
102
|
-
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
-
|
|
116
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
|
|
117
|
+
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
|
|
118
|
+
version.json
|
|
119
|
+
- Updated dependencies
|
|
106
120
|
|
|
107
121
|
## 2.2.2
|
|
108
122
|
|
|
109
123
|
### Patch Changes
|
|
110
124
|
|
|
111
|
-
-
|
|
112
|
-
|
|
113
|
-
|
|
125
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
126
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
127
|
+
legacy types are published for TS 4.5-4.8
|
|
114
128
|
|
|
115
129
|
## 2.2.1
|
|
116
130
|
|
|
117
131
|
### Patch Changes
|
|
118
132
|
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
133
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
134
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
135
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
122
136
|
|
|
123
137
|
## 2.2.0
|
|
124
138
|
|
|
125
139
|
### Minor Changes
|
|
126
140
|
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
141
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
142
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
143
|
+
minor dependency bump
|
|
130
144
|
|
|
131
145
|
### Patch Changes
|
|
132
146
|
|
|
133
|
-
-
|
|
147
|
+
- Updated dependencies
|
|
134
148
|
|
|
135
149
|
## 2.1.12
|
|
136
150
|
|
|
137
151
|
### Patch Changes
|
|
138
152
|
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
153
|
+
- [#33208](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33208)
|
|
154
|
+
[`f655e8ed2d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f655e8ed2d2) - Internal
|
|
155
|
+
change to enforce token usage for spacing properties. There is no expected visual or behaviour
|
|
156
|
+
change.
|
|
143
157
|
|
|
144
158
|
## 2.1.11
|
|
145
159
|
|
|
146
160
|
### Patch Changes
|
|
147
161
|
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
behaviour change.
|
|
162
|
+
- [#32162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32162)
|
|
163
|
+
[`edf6745b956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/edf6745b956) - Migrated
|
|
164
|
+
use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
152
165
|
|
|
153
166
|
## 2.1.10
|
|
154
167
|
|
|
155
168
|
### Patch Changes
|
|
156
169
|
|
|
157
|
-
-
|
|
170
|
+
- Updated dependencies
|
|
158
171
|
|
|
159
172
|
## 2.1.9
|
|
160
173
|
|
|
161
174
|
### Patch Changes
|
|
162
175
|
|
|
163
|
-
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
176
|
+
- [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324)
|
|
177
|
+
[`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds
|
|
178
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
179
|
+
tokens() function and improving performance.
|
|
167
180
|
|
|
168
181
|
## 2.1.8
|
|
169
182
|
|
|
170
183
|
### Patch Changes
|
|
171
184
|
|
|
172
|
-
-
|
|
185
|
+
- Updated dependencies
|
|
173
186
|
|
|
174
187
|
## 2.1.7
|
|
175
188
|
|
|
176
189
|
### Patch Changes
|
|
177
190
|
|
|
178
|
-
-
|
|
191
|
+
- Updated dependencies
|
|
179
192
|
|
|
180
193
|
## 2.1.6
|
|
181
194
|
|
|
182
195
|
### Patch Changes
|
|
183
196
|
|
|
184
|
-
-
|
|
197
|
+
- Updated dependencies
|
|
185
198
|
|
|
186
199
|
## 2.1.5
|
|
187
200
|
|
|
188
201
|
### Patch Changes
|
|
189
202
|
|
|
190
|
-
-
|
|
191
|
-
|
|
192
|
-
|
|
203
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
204
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
205
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
193
206
|
|
|
194
207
|
## 2.1.4
|
|
195
208
|
|
|
196
209
|
### Patch Changes
|
|
197
210
|
|
|
198
|
-
-
|
|
199
|
-
|
|
200
|
-
|
|
211
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
212
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
213
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
201
214
|
|
|
202
215
|
## 2.1.3
|
|
203
216
|
|
|
204
217
|
### Patch Changes
|
|
205
218
|
|
|
206
|
-
-
|
|
219
|
+
- Updated dependencies
|
|
207
220
|
|
|
208
221
|
## 2.1.2
|
|
209
222
|
|
|
210
223
|
### Patch Changes
|
|
211
224
|
|
|
212
|
-
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
-
|
|
225
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
226
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
227
|
+
to TypeScript 4.2.4
|
|
228
|
+
- Updated dependencies
|
|
216
229
|
|
|
217
230
|
## 2.1.1
|
|
218
231
|
|
|
219
232
|
### Patch Changes
|
|
220
233
|
|
|
221
|
-
-
|
|
234
|
+
- Updated dependencies
|
|
222
235
|
|
|
223
236
|
## 2.1.0
|
|
224
237
|
|
|
225
238
|
### Minor Changes
|
|
226
239
|
|
|
227
|
-
-
|
|
228
|
-
|
|
229
|
-
|
|
240
|
+
- [#19924](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19924)
|
|
241
|
+
[`d943a822f6a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d943a822f6a) - [ux]
|
|
242
|
+
Instrumented `@atlaskit/contextual-survey` with the new theming package, `@atlaskit/tokens`.
|
|
230
243
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
244
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
245
|
+
alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
246
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
234
247
|
|
|
235
248
|
## 2.0.11
|
|
236
249
|
|
|
237
250
|
### Patch Changes
|
|
238
251
|
|
|
239
|
-
-
|
|
252
|
+
- Updated dependencies
|
|
240
253
|
|
|
241
254
|
## 2.0.10
|
|
242
255
|
|
|
243
256
|
### Patch Changes
|
|
244
257
|
|
|
245
|
-
-
|
|
258
|
+
- Updated dependencies
|
|
246
259
|
|
|
247
260
|
## 2.0.9
|
|
248
261
|
|
|
249
262
|
### Patch Changes
|
|
250
263
|
|
|
251
|
-
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
-
|
|
264
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
|
|
265
|
+
[`cad4332df17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cad4332df17) - [ux]
|
|
266
|
+
Fixed flickering in context survey by removing theme overrides
|
|
267
|
+
- Updated dependencies
|
|
255
268
|
|
|
256
269
|
## 2.0.8
|
|
257
270
|
|
|
258
271
|
### Patch Changes
|
|
259
272
|
|
|
260
|
-
-
|
|
273
|
+
- Updated dependencies
|
|
261
274
|
|
|
262
275
|
## 2.0.7
|
|
263
276
|
|
|
264
277
|
### Patch Changes
|
|
265
278
|
|
|
266
|
-
-
|
|
267
|
-
|
|
268
|
-
|
|
279
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
280
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
281
|
+
packages using babel rather than tsc
|
|
269
282
|
|
|
270
283
|
## 2.0.6
|
|
271
284
|
|
|
272
285
|
### Patch Changes
|
|
273
286
|
|
|
274
|
-
-
|
|
287
|
+
- Updated dependencies
|
|
275
288
|
|
|
276
289
|
## 2.0.5
|
|
277
290
|
|
|
278
291
|
### Patch Changes
|
|
279
292
|
|
|
280
|
-
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
293
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
294
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
295
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
296
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
297
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
298
|
+
`devDependencies` to denote version that the package was built with.
|
|
286
299
|
|
|
287
300
|
## 2.0.4
|
|
288
301
|
|
|
289
302
|
### Patch Changes
|
|
290
303
|
|
|
291
|
-
-
|
|
304
|
+
- Updated dependencies
|
|
292
305
|
|
|
293
306
|
## 2.0.3
|
|
294
307
|
|
|
295
308
|
### Patch Changes
|
|
296
309
|
|
|
297
|
-
-
|
|
310
|
+
- Updated dependencies
|
|
298
311
|
|
|
299
312
|
## 2.0.2
|
|
300
313
|
|
|
301
314
|
### Patch Changes
|
|
302
315
|
|
|
303
|
-
-
|
|
316
|
+
- Updated dependencies
|
|
304
317
|
|
|
305
318
|
## 2.0.1
|
|
306
319
|
|
|
307
320
|
### Patch Changes
|
|
308
321
|
|
|
309
|
-
-
|
|
310
|
-
|
|
311
|
-
|
|
322
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
323
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
324
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
312
325
|
|
|
313
|
-
|
|
314
|
-
|
|
326
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
327
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
315
328
|
|
|
316
329
|
## 2.0.0
|
|
317
330
|
|
|
318
331
|
### Major Changes
|
|
319
332
|
|
|
320
|
-
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
333
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
334
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
335
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
336
|
+
IE11. For more information see:
|
|
337
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
325
338
|
|
|
326
339
|
### Patch Changes
|
|
327
340
|
|
|
328
|
-
-
|
|
341
|
+
- Updated dependencies
|
|
329
342
|
|
|
330
343
|
## 1.0.10
|
|
331
344
|
|
|
332
345
|
### Patch Changes
|
|
333
346
|
|
|
334
|
-
-
|
|
335
|
-
|
|
336
|
-
|
|
347
|
+
- [#2884](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2884)
|
|
348
|
+
[`3ba793cffa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ba793cffa) - Update all
|
|
349
|
+
the theme imports in contextual-survey
|
|
337
350
|
|
|
338
351
|
## 1.0.9
|
|
339
352
|
|
|
340
353
|
### Patch Changes
|
|
341
354
|
|
|
342
|
-
-
|
|
343
|
-
|
|
344
|
-
|
|
355
|
+
- [#2677](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2677)
|
|
356
|
+
[`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade
|
|
357
|
+
react-transition-group to latest
|
|
345
358
|
|
|
346
359
|
## 1.0.8
|
|
347
360
|
|
|
348
361
|
### Patch Changes
|
|
349
362
|
|
|
350
|
-
-
|
|
363
|
+
- [patch][dd7e8b4bc7](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd7e8b4bc7):
|
|
351
364
|
|
|
352
|
-
|
|
365
|
+
Change imports to comply with Atlassian conventions
|
|
353
366
|
|
|
354
367
|
## 1.0.7
|
|
355
368
|
|
|
356
369
|
### Patch Changes
|
|
357
370
|
|
|
358
|
-
-
|
|
371
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
359
372
|
|
|
360
|
-
|
|
361
|
-
|
|
373
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
374
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
362
375
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
376
|
+
- @atlaskit/docs@8.3.2
|
|
377
|
+
- @atlaskit/button@13.3.7
|
|
378
|
+
- @atlaskit/checkbox@10.1.7
|
|
379
|
+
- @atlaskit/form@7.1.2
|
|
380
|
+
- @atlaskit/icon@20.0.1
|
|
381
|
+
- @atlaskit/textarea@2.2.4
|
|
382
|
+
- @atlaskit/theme@9.5.1
|
|
383
|
+
- @atlaskit/tooltip@15.2.3
|
|
371
384
|
|
|
372
385
|
## 1.0.6
|
|
373
386
|
|
|
374
387
|
### Patch Changes
|
|
375
388
|
|
|
376
|
-
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
389
|
+
- Updated dependencies
|
|
390
|
+
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
|
|
391
|
+
- @atlaskit/icon@20.0.0
|
|
392
|
+
- @atlaskit/form@7.1.1
|
|
393
|
+
- @atlaskit/docs@8.3.1
|
|
394
|
+
- @atlaskit/button@13.3.6
|
|
395
|
+
- @atlaskit/checkbox@10.1.6
|
|
396
|
+
- @atlaskit/tooltip@15.2.2
|
|
384
397
|
|
|
385
398
|
## 1.0.5
|
|
386
399
|
|
|
387
400
|
### Patch Changes
|
|
388
401
|
|
|
389
|
-
-
|
|
402
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
390
403
|
|
|
391
|
-
|
|
392
|
-
|
|
404
|
+
Pull in update to form to fix a bug which could cause the internal fieldId to be incorrectly set-
|
|
405
|
+
[patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
393
406
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
407
|
+
Form has been converted to Typescript. TypeScript consumers will now get static type safety. Flow
|
|
408
|
+
types are no longer provided. No API changes.- Updated dependencies
|
|
409
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
397
410
|
|
|
398
|
-
-
|
|
399
|
-
|
|
400
|
-
-
|
|
401
|
-
|
|
402
|
-
-
|
|
403
|
-
|
|
404
|
-
-
|
|
405
|
-
|
|
406
|
-
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
411
|
+
- Updated dependencies
|
|
412
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
413
|
+
- Updated dependencies
|
|
414
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
415
|
+
- Updated dependencies
|
|
416
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
417
|
+
- Updated dependencies
|
|
418
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
419
|
+
- Updated dependencies
|
|
420
|
+
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
421
|
+
- @atlaskit/tooltip@15.2.0
|
|
422
|
+
- @atlaskit/form@7.0.0
|
|
423
|
+
- @atlaskit/checkbox@10.1.4
|
|
424
|
+
- @atlaskit/textarea@2.2.3
|
|
412
425
|
|
|
413
426
|
## 1.0.4
|
|
414
427
|
|
|
415
428
|
### Patch Changes
|
|
416
429
|
|
|
417
|
-
-
|
|
430
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
418
431
|
|
|
419
|
-
|
|
432
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
420
433
|
|
|
421
434
|
## 1.0.3
|
|
422
435
|
|
|
423
|
-
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
436
|
+
- Updated dependencies
|
|
437
|
+
[97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
|
|
438
|
+
- @atlaskit/button@13.3.1
|
|
439
|
+
- @atlaskit/form@6.2.3
|
|
440
|
+
- @atlaskit/checkbox@10.0.0
|
|
441
|
+
- @atlaskit/docs@8.1.7
|
|
429
442
|
|
|
430
443
|
## 1.0.2
|
|
431
444
|
|
|
432
445
|
### Patch Changes
|
|
433
446
|
|
|
434
|
-
-
|
|
447
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
435
448
|
|
|
436
|
-
|
|
437
|
-
|
|
449
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
450
|
+
non-relative imports as relative imports
|
|
438
451
|
|
|
439
452
|
## 1.0.1
|
|
440
453
|
|
|
441
454
|
### Patch Changes
|
|
442
455
|
|
|
443
|
-
-
|
|
456
|
+
- [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
|
|
444
457
|
|
|
445
|
-
|
|
458
|
+
Type definition files are now referenced in package.json
|
|
446
459
|
|
|
447
460
|
## 1.0.0
|
|
448
461
|
|
|
449
462
|
### Major Changes
|
|
450
463
|
|
|
451
|
-
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
`<SurveyMarshal />`
|
|
464
|
+
- [major][271b7db35b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/271b7db35b):
|
|
465
|
+
|
|
466
|
+
_π₯ Most of the changes listed are breaking changes from the 0.x release_
|
|
467
|
+
|
|
468
|
+
### New component for placement: `<SurveyMarshal />`
|
|
469
|
+
|
|
470
|
+
We no longer require consumers to know anything about `react-transition-group` to use this
|
|
471
|
+
package. The `<SurveyMarshal />` takes care of the placement and mounting / unmounting animation
|
|
472
|
+
of the component. It accepts a _function as a child_ which needs to return the
|
|
473
|
+
`<ContextualSurvey />`. This pattern also allows the `<ContextualSurvey />` to not be evaluated
|
|
474
|
+
when it is not mounted
|
|
475
|
+
|
|
476
|
+
```js
|
|
477
|
+
import { SurveyMarshal, ContextualSurvey } from '@atlaskit/contextual-survey';
|
|
478
|
+
|
|
479
|
+
<SurveyMarshal shouldShow={showSurvey}>{() => <ContextualSurvey />}</SurveyMarshal>;
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
### Other
|
|
483
|
+
|
|
484
|
+
- `getUserHasAnsweredMailingList: () => boolean | () => Promise<boolean>` has been streamlined to
|
|
485
|
+
just be `() => Promise<boolean>`.
|
|
486
|
+
- ~~`onSignUp() => Promise<void>`~~ has become `onMailingListAnswer(answer) => Promise<void>`.
|
|
487
|
+
Previously `onSignUp` was only called if the user selected they wanted to sign up.
|
|
488
|
+
`onMailingListAnswer` will be called when the user selects they want to sign up, as well as if
|
|
489
|
+
they select that they do not want to sign up.
|
|
490
|
+
- π `<ContextualSurvey />` now animates in as well as out
|
|
491
|
+
- π No more scrollbars during closing animation
|
|
492
|
+
- π Fixing spacing for `FeedbackAcknowledgement` screen
|
|
493
|
+
- π Audit dismiss button alignment
|
|
494
|
+
- π Preventing double calls to `onDismiss()`
|
|
495
|
+
- π `onDismiss()` now provided with a `enum:DismissTrigger` to give more information about the
|
|
496
|
+
reason for the dismiss
|
|
497
|
+
- π If `<ContextualSurvey />` is dismissed while `onSubmit` is resolving, then
|
|
498
|
+
`getUserHasAnsweredMailingList()` is not called. We do this as we won't be showing the email
|
|
499
|
+
sign up
|
|
500
|
+
- π If the user marks that they do not want to be contacted, then
|
|
501
|
+
`getUserHasAnsweredMailingList()` is not called. Previously `getUserHasAnsweredMailingList()`
|
|
502
|
+
was always called _regardless_ of whether the user wanted to be contacted. The email sign up is
|
|
503
|
+
only showed if the user states that they want to be contacted and if
|
|
504
|
+
`getUserHasAnsweredMailingList` returns `false`. We now don't call
|
|
505
|
+
`getUserHasAnsweredMailingList` if the user has stated they don't want to be contacted as it is
|
|
506
|
+
a precondition.
|
|
507
|
+
- π The user is able to dismiss the form at any time using the `escape` key
|
|
508
|
+
- π΅οΈβ After clicking a score the response `textarea` is given browser focus.
|
|
509
|
+
- β
New behaviour for the _can contact_ checkbox. It is now not selected by default. When a user
|
|
510
|
+
types into the response text area for the first time we swap it to checked. From that point the
|
|
511
|
+
user is welcome to change it's value and we do not automatically swap it to checked again. This
|
|
512
|
+
allows people to select a score but not be contacted for it. It also recognises that the
|
|
513
|
+
engagement platform would like to be able to respond to people who provide feedback.
|
|
514
|
+
- βΏοΈ Added `aria-pressed` to currently selected score
|
|
515
|
+
- π Documentation explaining application flow
|
|
516
|
+
- π©βπ¬ Added automated test for happy path
|
|
517
|
+
- β No longer exporting `surveyWidth` and `surveyMargin`. All placement is handled by
|
|
518
|
+
`<SurveyMarshal />`
|
|
507
519
|
|
|
508
520
|
## 0.1.3
|
|
509
521
|
|
|
510
|
-
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
522
|
+
- Updated dependencies
|
|
523
|
+
[87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655):
|
|
524
|
+
- @atlaskit/button@13.0.10
|
|
525
|
+
- @atlaskit/form@6.1.2
|
|
526
|
+
- @atlaskit/checkbox@9.0.0
|
|
515
527
|
|
|
516
528
|
## 0.1.2
|
|
517
529
|
|
|
518
|
-
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
530
|
+
- Updated dependencies
|
|
531
|
+
[06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
|
|
532
|
+
- @atlaskit/docs@8.1.3
|
|
533
|
+
- @atlaskit/button@13.0.9
|
|
534
|
+
- @atlaskit/checkbox@8.0.5
|
|
535
|
+
- @atlaskit/form@6.1.1
|
|
536
|
+
- @atlaskit/tooltip@15.0.2
|
|
537
|
+
- @atlaskit/icon@19.0.0
|
|
526
538
|
|
|
527
539
|
## 0.1.1
|
|
528
540
|
|
|
529
541
|
### Patch Changes
|
|
530
542
|
|
|
531
|
-
-
|
|
543
|
+
- [patch][0fc1ac28e8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0fc1ac28e8):
|
|
532
544
|
|
|
533
|
-
|
|
545
|
+
Fixed missing background colour.
|
|
534
546
|
|
|
535
547
|
## 0.1.0
|
|
536
548
|
|
|
537
549
|
### Minor Changes
|
|
538
550
|
|
|
539
|
-
-
|
|
551
|
+
- [minor][25f45f87f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25f45f87f4):
|
|
540
552
|
|
|
541
|
-
|
|
553
|
+
Create contextual survey component
|