@atlaskit/contextual-survey 2.2.16 β†’ 2.2.17

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