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