@atlaskit/contextual-survey 2.2.14 β 2.2.16
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 +252 -147
- package/dist/cjs/components/FeedbackAcknowledgement.js +2 -1
- package/dist/cjs/components/FeedbackScoreButtons.js +34 -6
- package/dist/cjs/components/SignUpPrompt.js +2 -1
- package/dist/cjs/components/SignUpSuccess.js +2 -1
- package/dist/cjs/components/SuccessContainer.js +8 -4
- package/dist/cjs/components/SurveyContainer.js +12 -4
- package/dist/cjs/components/SurveyForm.js +12 -5
- package/dist/cjs/components/SurveyMarshal.js +13 -8
- package/dist/es2019/components/FeedbackAcknowledgement.js +2 -1
- package/dist/es2019/components/FeedbackScoreButtons.js +33 -36
- package/dist/es2019/components/SignUpPrompt.js +2 -1
- package/dist/es2019/components/SignUpSuccess.js +2 -1
- package/dist/es2019/components/SuccessContainer.js +8 -8
- package/dist/es2019/components/SurveyContainer.js +12 -12
- package/dist/es2019/components/SurveyForm.js +10 -9
- package/dist/es2019/components/SurveyMarshal.js +12 -14
- package/dist/esm/components/FeedbackAcknowledgement.js +2 -1
- package/dist/esm/components/FeedbackScoreButtons.js +33 -6
- package/dist/esm/components/SignUpPrompt.js +2 -1
- package/dist/esm/components/SignUpSuccess.js +2 -1
- package/dist/esm/components/SuccessContainer.js +8 -4
- package/dist/esm/components/SurveyContainer.js +12 -4
- package/dist/esm/components/SurveyForm.js +10 -4
- package/dist/esm/components/SurveyMarshal.js +12 -7
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,436 +1,541 @@
|
|
|
1
1
|
# @atlaskit/contextual-survey
|
|
2
2
|
|
|
3
|
+
## 2.2.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 2.2.15
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
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.
|
|
17
|
+
|
|
3
18
|
## 2.2.14
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
6
21
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
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
|
|
9
28
|
|
|
10
29
|
## 2.2.13
|
|
11
30
|
|
|
12
31
|
### Patch Changes
|
|
13
32
|
|
|
14
|
-
-
|
|
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`
|
|
15
36
|
|
|
16
37
|
## 2.2.12
|
|
17
38
|
|
|
18
39
|
### Patch Changes
|
|
19
40
|
|
|
20
|
-
-
|
|
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
|
|
21
44
|
|
|
22
45
|
## 2.2.11
|
|
23
46
|
|
|
24
47
|
### Patch Changes
|
|
25
48
|
|
|
26
|
-
-
|
|
49
|
+
- Updated dependencies
|
|
27
50
|
|
|
28
51
|
## 2.2.10
|
|
29
52
|
|
|
30
53
|
### Patch Changes
|
|
31
54
|
|
|
32
|
-
-
|
|
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.
|
|
33
58
|
|
|
34
59
|
## 2.2.9
|
|
35
60
|
|
|
36
61
|
### Patch Changes
|
|
37
62
|
|
|
38
|
-
-
|
|
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.
|
|
39
67
|
|
|
40
68
|
## 2.2.8
|
|
41
69
|
|
|
42
70
|
### Patch Changes
|
|
43
71
|
|
|
44
|
-
-
|
|
72
|
+
- Updated dependencies
|
|
45
73
|
|
|
46
74
|
## 2.2.7
|
|
47
75
|
|
|
48
76
|
### Patch Changes
|
|
49
77
|
|
|
50
|
-
-
|
|
78
|
+
- Updated dependencies
|
|
51
79
|
|
|
52
80
|
## 2.2.6
|
|
53
81
|
|
|
54
82
|
### Patch Changes
|
|
55
83
|
|
|
56
|
-
-
|
|
84
|
+
- Updated dependencies
|
|
57
85
|
|
|
58
86
|
## 2.2.5
|
|
59
87
|
|
|
60
88
|
### Patch Changes
|
|
61
89
|
|
|
62
|
-
-
|
|
90
|
+
- Updated dependencies
|
|
63
91
|
|
|
64
92
|
## 2.2.4
|
|
65
93
|
|
|
66
94
|
### Patch Changes
|
|
67
95
|
|
|
68
|
-
-
|
|
96
|
+
- Updated dependencies
|
|
69
97
|
|
|
70
98
|
## 2.2.3
|
|
71
99
|
|
|
72
100
|
### Patch Changes
|
|
73
101
|
|
|
74
|
-
-
|
|
75
|
-
-
|
|
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
|
|
76
106
|
|
|
77
107
|
## 2.2.2
|
|
78
108
|
|
|
79
109
|
### Patch Changes
|
|
80
110
|
|
|
81
|
-
-
|
|
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
|
|
82
114
|
|
|
83
115
|
## 2.2.1
|
|
84
116
|
|
|
85
117
|
### Patch Changes
|
|
86
118
|
|
|
87
|
-
-
|
|
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`
|
|
88
122
|
|
|
89
123
|
## 2.2.0
|
|
90
124
|
|
|
91
125
|
### Minor Changes
|
|
92
126
|
|
|
93
|
-
-
|
|
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
|
|
94
130
|
|
|
95
131
|
### Patch Changes
|
|
96
132
|
|
|
97
|
-
-
|
|
133
|
+
- Updated dependencies
|
|
98
134
|
|
|
99
135
|
## 2.1.12
|
|
100
136
|
|
|
101
137
|
### Patch Changes
|
|
102
138
|
|
|
103
|
-
-
|
|
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.
|
|
104
143
|
|
|
105
144
|
## 2.1.11
|
|
106
145
|
|
|
107
146
|
### Patch Changes
|
|
108
147
|
|
|
109
|
-
-
|
|
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.
|
|
110
152
|
|
|
111
153
|
## 2.1.10
|
|
112
154
|
|
|
113
155
|
### Patch Changes
|
|
114
156
|
|
|
115
|
-
-
|
|
157
|
+
- Updated dependencies
|
|
116
158
|
|
|
117
159
|
## 2.1.9
|
|
118
160
|
|
|
119
161
|
### Patch Changes
|
|
120
162
|
|
|
121
|
-
-
|
|
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.
|
|
122
167
|
|
|
123
168
|
## 2.1.8
|
|
124
169
|
|
|
125
170
|
### Patch Changes
|
|
126
171
|
|
|
127
|
-
-
|
|
172
|
+
- Updated dependencies
|
|
128
173
|
|
|
129
174
|
## 2.1.7
|
|
130
175
|
|
|
131
176
|
### Patch Changes
|
|
132
177
|
|
|
133
|
-
-
|
|
178
|
+
- Updated dependencies
|
|
134
179
|
|
|
135
180
|
## 2.1.6
|
|
136
181
|
|
|
137
182
|
### Patch Changes
|
|
138
183
|
|
|
139
|
-
-
|
|
184
|
+
- Updated dependencies
|
|
140
185
|
|
|
141
186
|
## 2.1.5
|
|
142
187
|
|
|
143
188
|
### Patch Changes
|
|
144
189
|
|
|
145
|
-
-
|
|
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`
|
|
146
193
|
|
|
147
194
|
## 2.1.4
|
|
148
195
|
|
|
149
196
|
### Patch Changes
|
|
150
197
|
|
|
151
|
-
-
|
|
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`.
|
|
152
201
|
|
|
153
202
|
## 2.1.3
|
|
154
203
|
|
|
155
204
|
### Patch Changes
|
|
156
205
|
|
|
157
|
-
-
|
|
206
|
+
- Updated dependencies
|
|
158
207
|
|
|
159
208
|
## 2.1.2
|
|
160
209
|
|
|
161
210
|
### Patch Changes
|
|
162
211
|
|
|
163
|
-
-
|
|
164
|
-
-
|
|
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
|
|
165
216
|
|
|
166
217
|
## 2.1.1
|
|
167
218
|
|
|
168
219
|
### Patch Changes
|
|
169
220
|
|
|
170
|
-
-
|
|
221
|
+
- Updated dependencies
|
|
171
222
|
|
|
172
223
|
## 2.1.0
|
|
173
224
|
|
|
174
225
|
### Minor Changes
|
|
175
226
|
|
|
176
|
-
-
|
|
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`.
|
|
177
230
|
|
|
178
|
-
|
|
179
|
-
|
|
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.
|
|
180
234
|
|
|
181
235
|
## 2.0.11
|
|
182
236
|
|
|
183
237
|
### Patch Changes
|
|
184
238
|
|
|
185
|
-
-
|
|
239
|
+
- Updated dependencies
|
|
186
240
|
|
|
187
241
|
## 2.0.10
|
|
188
242
|
|
|
189
243
|
### Patch Changes
|
|
190
244
|
|
|
191
|
-
-
|
|
245
|
+
- Updated dependencies
|
|
192
246
|
|
|
193
247
|
## 2.0.9
|
|
194
248
|
|
|
195
249
|
### Patch Changes
|
|
196
250
|
|
|
197
|
-
-
|
|
198
|
-
-
|
|
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
|
|
199
255
|
|
|
200
256
|
## 2.0.8
|
|
201
257
|
|
|
202
258
|
### Patch Changes
|
|
203
259
|
|
|
204
|
-
-
|
|
260
|
+
- Updated dependencies
|
|
205
261
|
|
|
206
262
|
## 2.0.7
|
|
207
263
|
|
|
208
264
|
### Patch Changes
|
|
209
265
|
|
|
210
|
-
-
|
|
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
|
|
211
269
|
|
|
212
270
|
## 2.0.6
|
|
213
271
|
|
|
214
272
|
### Patch Changes
|
|
215
273
|
|
|
216
|
-
-
|
|
274
|
+
- Updated dependencies
|
|
217
275
|
|
|
218
276
|
## 2.0.5
|
|
219
277
|
|
|
220
278
|
### Patch Changes
|
|
221
279
|
|
|
222
|
-
-
|
|
223
|
-
|
|
224
|
-
|
|
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.
|
|
225
286
|
|
|
226
287
|
## 2.0.4
|
|
227
288
|
|
|
228
289
|
### Patch Changes
|
|
229
290
|
|
|
230
|
-
-
|
|
291
|
+
- Updated dependencies
|
|
231
292
|
|
|
232
293
|
## 2.0.3
|
|
233
294
|
|
|
234
295
|
### Patch Changes
|
|
235
296
|
|
|
236
|
-
-
|
|
297
|
+
- Updated dependencies
|
|
237
298
|
|
|
238
299
|
## 2.0.2
|
|
239
300
|
|
|
240
301
|
### Patch Changes
|
|
241
302
|
|
|
242
|
-
-
|
|
303
|
+
- Updated dependencies
|
|
243
304
|
|
|
244
305
|
## 2.0.1
|
|
245
306
|
|
|
246
307
|
### Patch Changes
|
|
247
308
|
|
|
248
|
-
-
|
|
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
|
|
249
312
|
|
|
250
|
-
|
|
251
|
-
|
|
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.
|
|
252
315
|
|
|
253
316
|
## 2.0.0
|
|
254
317
|
|
|
255
318
|
### Major Changes
|
|
256
319
|
|
|
257
|
-
-
|
|
258
|
-
|
|
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
|
|
259
325
|
|
|
260
326
|
### Patch Changes
|
|
261
327
|
|
|
262
|
-
-
|
|
328
|
+
- Updated dependencies
|
|
263
329
|
|
|
264
330
|
## 1.0.10
|
|
265
331
|
|
|
266
332
|
### Patch Changes
|
|
267
333
|
|
|
268
|
-
-
|
|
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
|
|
269
337
|
|
|
270
338
|
## 1.0.9
|
|
271
339
|
|
|
272
340
|
### Patch Changes
|
|
273
341
|
|
|
274
|
-
-
|
|
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
|
|
275
345
|
|
|
276
346
|
## 1.0.8
|
|
277
347
|
|
|
278
348
|
### Patch Changes
|
|
279
349
|
|
|
280
|
-
-
|
|
350
|
+
- [patch][dd7e8b4bc7](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd7e8b4bc7):
|
|
281
351
|
|
|
282
|
-
|
|
352
|
+
Change imports to comply with Atlassian conventions
|
|
283
353
|
|
|
284
354
|
## 1.0.7
|
|
285
355
|
|
|
286
356
|
### Patch Changes
|
|
287
357
|
|
|
288
|
-
-
|
|
358
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
289
359
|
|
|
290
|
-
|
|
360
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
361
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
291
362
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
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
|
|
300
371
|
|
|
301
372
|
## 1.0.6
|
|
302
373
|
|
|
303
374
|
### Patch Changes
|
|
304
375
|
|
|
305
|
-
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
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
|
|
312
384
|
|
|
313
385
|
## 1.0.5
|
|
314
386
|
|
|
315
387
|
### Patch Changes
|
|
316
388
|
|
|
317
|
-
-
|
|
389
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
318
390
|
|
|
319
|
-
|
|
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):
|
|
320
393
|
|
|
321
|
-
|
|
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):
|
|
322
397
|
|
|
323
|
-
-
|
|
324
|
-
|
|
325
|
-
-
|
|
326
|
-
|
|
327
|
-
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
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
|
|
332
412
|
|
|
333
413
|
## 1.0.4
|
|
334
414
|
|
|
335
415
|
### Patch Changes
|
|
336
416
|
|
|
337
|
-
-
|
|
417
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
338
418
|
|
|
339
|
-
|
|
419
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
340
420
|
|
|
341
421
|
## 1.0.3
|
|
342
422
|
|
|
343
|
-
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
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
|
|
348
429
|
|
|
349
430
|
## 1.0.2
|
|
350
431
|
|
|
351
432
|
### Patch Changes
|
|
352
433
|
|
|
353
|
-
-
|
|
434
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
354
435
|
|
|
355
|
-
|
|
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
|
|
356
438
|
|
|
357
439
|
## 1.0.1
|
|
358
440
|
|
|
359
441
|
### Patch Changes
|
|
360
442
|
|
|
361
|
-
-
|
|
443
|
+
- [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
|
|
362
444
|
|
|
363
|
-
|
|
445
|
+
Type definition files are now referenced in package.json
|
|
364
446
|
|
|
365
447
|
## 1.0.0
|
|
366
448
|
|
|
367
449
|
### Major Changes
|
|
368
450
|
|
|
369
|
-
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
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 />`
|
|
404
507
|
|
|
405
508
|
## 0.1.3
|
|
406
509
|
|
|
407
|
-
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
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
|
|
411
515
|
|
|
412
516
|
## 0.1.2
|
|
413
517
|
|
|
414
|
-
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
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
|
|
421
526
|
|
|
422
527
|
## 0.1.1
|
|
423
528
|
|
|
424
529
|
### Patch Changes
|
|
425
530
|
|
|
426
|
-
-
|
|
531
|
+
- [patch][0fc1ac28e8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0fc1ac28e8):
|
|
427
532
|
|
|
428
|
-
|
|
533
|
+
Fixed missing background colour.
|
|
429
534
|
|
|
430
535
|
## 0.1.0
|
|
431
536
|
|
|
432
537
|
### Minor Changes
|
|
433
538
|
|
|
434
|
-
-
|
|
539
|
+
- [minor][25f45f87f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25f45f87f4):
|
|
435
540
|
|
|
436
|
-
|
|
541
|
+
Create contextual survey component
|