@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.
- package/CHANGELOG.md +245 -242
- package/afm-jira/tsconfig.json +45 -0
- package/dist/cjs/components/FeedbackAcknowledgement.js +2 -0
- package/dist/cjs/components/FeedbackScoreButtons.js +8 -0
- package/dist/cjs/components/SignUpPrompt.js +6 -1
- package/dist/cjs/components/SignUpSuccess.js +2 -0
- package/dist/cjs/components/SuccessContainer.js +3 -0
- package/dist/cjs/components/SurveyContainer.js +5 -0
- package/dist/cjs/components/SurveyForm.js +4 -0
- package/dist/cjs/components/SurveyMarshal.js +7 -0
- package/dist/es2019/components/FeedbackAcknowledgement.js +2 -0
- package/dist/es2019/components/FeedbackScoreButtons.js +8 -0
- package/dist/es2019/components/SignUpPrompt.js +6 -1
- package/dist/es2019/components/SignUpSuccess.js +2 -0
- package/dist/es2019/components/SuccessContainer.js +3 -0
- package/dist/es2019/components/SurveyContainer.js +5 -0
- package/dist/es2019/components/SurveyForm.js +4 -0
- package/dist/es2019/components/SurveyMarshal.js +6 -0
- package/dist/esm/components/FeedbackAcknowledgement.js +2 -0
- package/dist/esm/components/FeedbackScoreButtons.js +8 -0
- package/dist/esm/components/SignUpPrompt.js +6 -1
- package/dist/esm/components/SignUpSuccess.js +2 -0
- package/dist/esm/components/SuccessContainer.js +3 -0
- package/dist/esm/components/SurveyContainer.js +5 -0
- package/dist/esm/components/SurveyForm.js +4 -0
- package/dist/esm/components/SurveyMarshal.js +6 -0
- package/dist/types/components/ContextualSurvey.d.ts +1 -1
- package/dist/types/components/SurveyForm.d.ts +3 -3
- package/dist/types/components/SurveyMarshal.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/components/ContextualSurvey.d.ts +1 -1
- package/dist/types-ts4.5/components/SurveyForm.d.ts +3 -3
- package/dist/types-ts4.5/components/SurveyMarshal.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/docs/0-intro.tsx +33 -31
- package/package.json +73 -75
- package/report.api.md +33 -32
package/CHANGELOG.md
CHANGED
|
@@ -1,541 +1,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
|
-
-
|
|
13
|
+
- Updated dependencies
|
|
8
14
|
|
|
9
15
|
## 2.2.15
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
-
|
|
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
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
-
-
|
|
55
|
+
- Updated dependencies
|
|
50
56
|
|
|
51
57
|
## 2.2.10
|
|
52
58
|
|
|
53
59
|
### Patch Changes
|
|
54
60
|
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
-
|
|
77
|
+
- Updated dependencies
|
|
73
78
|
|
|
74
79
|
## 2.2.7
|
|
75
80
|
|
|
76
81
|
### Patch Changes
|
|
77
82
|
|
|
78
|
-
-
|
|
83
|
+
- Updated dependencies
|
|
79
84
|
|
|
80
85
|
## 2.2.6
|
|
81
86
|
|
|
82
87
|
### Patch Changes
|
|
83
88
|
|
|
84
|
-
-
|
|
89
|
+
- Updated dependencies
|
|
85
90
|
|
|
86
91
|
## 2.2.5
|
|
87
92
|
|
|
88
93
|
### Patch Changes
|
|
89
94
|
|
|
90
|
-
-
|
|
95
|
+
- Updated dependencies
|
|
91
96
|
|
|
92
97
|
## 2.2.4
|
|
93
98
|
|
|
94
99
|
### Patch Changes
|
|
95
100
|
|
|
96
|
-
-
|
|
101
|
+
- Updated dependencies
|
|
97
102
|
|
|
98
103
|
## 2.2.3
|
|
99
104
|
|
|
100
105
|
### Patch Changes
|
|
101
106
|
|
|
102
|
-
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
-
|
|
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
|
-
-
|
|
112
|
-
|
|
113
|
-
|
|
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
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
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
|
-
-
|
|
138
|
+
- Updated dependencies
|
|
134
139
|
|
|
135
140
|
## 2.1.12
|
|
136
141
|
|
|
137
142
|
### Patch Changes
|
|
138
143
|
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
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
|
-
-
|
|
149
|
-
|
|
150
|
-
|
|
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
|
-
-
|
|
161
|
+
- Updated dependencies
|
|
158
162
|
|
|
159
163
|
## 2.1.9
|
|
160
164
|
|
|
161
165
|
### Patch Changes
|
|
162
166
|
|
|
163
|
-
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
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
|
-
-
|
|
176
|
+
- Updated dependencies
|
|
173
177
|
|
|
174
178
|
## 2.1.7
|
|
175
179
|
|
|
176
180
|
### Patch Changes
|
|
177
181
|
|
|
178
|
-
-
|
|
182
|
+
- Updated dependencies
|
|
179
183
|
|
|
180
184
|
## 2.1.6
|
|
181
185
|
|
|
182
186
|
### Patch Changes
|
|
183
187
|
|
|
184
|
-
-
|
|
188
|
+
- Updated dependencies
|
|
185
189
|
|
|
186
190
|
## 2.1.5
|
|
187
191
|
|
|
188
192
|
### Patch Changes
|
|
189
193
|
|
|
190
|
-
-
|
|
191
|
-
|
|
192
|
-
|
|
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
|
-
-
|
|
199
|
-
|
|
200
|
-
|
|
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
|
-
-
|
|
210
|
+
- Updated dependencies
|
|
207
211
|
|
|
208
212
|
## 2.1.2
|
|
209
213
|
|
|
210
214
|
### Patch Changes
|
|
211
215
|
|
|
212
|
-
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
-
|
|
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
|
-
-
|
|
225
|
+
- Updated dependencies
|
|
222
226
|
|
|
223
227
|
## 2.1.0
|
|
224
228
|
|
|
225
229
|
### Minor Changes
|
|
226
230
|
|
|
227
|
-
-
|
|
228
|
-
|
|
229
|
-
|
|
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
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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
|
-
-
|
|
243
|
+
- Updated dependencies
|
|
240
244
|
|
|
241
245
|
## 2.0.10
|
|
242
246
|
|
|
243
247
|
### Patch Changes
|
|
244
248
|
|
|
245
|
-
-
|
|
249
|
+
- Updated dependencies
|
|
246
250
|
|
|
247
251
|
## 2.0.9
|
|
248
252
|
|
|
249
253
|
### Patch Changes
|
|
250
254
|
|
|
251
|
-
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
-
|
|
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
|
-
-
|
|
264
|
+
- Updated dependencies
|
|
261
265
|
|
|
262
266
|
## 2.0.7
|
|
263
267
|
|
|
264
268
|
### Patch Changes
|
|
265
269
|
|
|
266
|
-
-
|
|
267
|
-
|
|
268
|
-
|
|
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
|
-
-
|
|
278
|
+
- Updated dependencies
|
|
275
279
|
|
|
276
280
|
## 2.0.5
|
|
277
281
|
|
|
278
282
|
### Patch Changes
|
|
279
283
|
|
|
280
|
-
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
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
|
-
-
|
|
295
|
+
- Updated dependencies
|
|
292
296
|
|
|
293
297
|
## 2.0.3
|
|
294
298
|
|
|
295
299
|
### Patch Changes
|
|
296
300
|
|
|
297
|
-
-
|
|
301
|
+
- Updated dependencies
|
|
298
302
|
|
|
299
303
|
## 2.0.2
|
|
300
304
|
|
|
301
305
|
### Patch Changes
|
|
302
306
|
|
|
303
|
-
-
|
|
307
|
+
- Updated dependencies
|
|
304
308
|
|
|
305
309
|
## 2.0.1
|
|
306
310
|
|
|
307
311
|
### Patch Changes
|
|
308
312
|
|
|
309
|
-
-
|
|
310
|
-
|
|
311
|
-
|
|
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
|
-
|
|
314
|
-
|
|
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
|
-
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
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
|
-
-
|
|
332
|
+
- Updated dependencies
|
|
329
333
|
|
|
330
334
|
## 1.0.10
|
|
331
335
|
|
|
332
336
|
### Patch Changes
|
|
333
337
|
|
|
334
|
-
-
|
|
335
|
-
|
|
336
|
-
|
|
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
|
-
-
|
|
343
|
-
|
|
344
|
-
|
|
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
|
-
-
|
|
354
|
+
- [patch][dd7e8b4bc7](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd7e8b4bc7):
|
|
351
355
|
|
|
352
|
-
|
|
356
|
+
Change imports to comply with Atlassian conventions
|
|
353
357
|
|
|
354
358
|
## 1.0.7
|
|
355
359
|
|
|
356
360
|
### Patch Changes
|
|
357
361
|
|
|
358
|
-
-
|
|
362
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
359
363
|
|
|
360
|
-
|
|
361
|
-
|
|
364
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
365
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
362
366
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
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
|
-
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
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
|
-
-
|
|
393
|
+
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
|
|
390
394
|
|
|
391
|
-
|
|
392
|
-
|
|
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
|
-
|
|
395
|
-
|
|
396
|
-
|
|
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
|
-
-
|
|
399
|
-
|
|
400
|
-
-
|
|
401
|
-
|
|
402
|
-
-
|
|
403
|
-
|
|
404
|
-
-
|
|
405
|
-
|
|
406
|
-
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
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
|
-
-
|
|
421
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
418
422
|
|
|
419
|
-
|
|
423
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
420
424
|
|
|
421
425
|
## 1.0.3
|
|
422
426
|
|
|
423
|
-
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
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
|
-
-
|
|
438
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
435
439
|
|
|
436
|
-
|
|
437
|
-
|
|
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
|
-
-
|
|
447
|
+
- [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
|
|
444
448
|
|
|
445
|
-
|
|
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
|
-
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
`<SurveyMarshal />`
|
|
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
|
-
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
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
|
-
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
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
|
-
-
|
|
534
|
+
- [patch][0fc1ac28e8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0fc1ac28e8):
|
|
532
535
|
|
|
533
|
-
|
|
536
|
+
Fixed missing background colour.
|
|
534
537
|
|
|
535
538
|
## 0.1.0
|
|
536
539
|
|
|
537
540
|
### Minor Changes
|
|
538
541
|
|
|
539
|
-
-
|
|
542
|
+
- [minor][25f45f87f4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25f45f87f4):
|
|
540
543
|
|
|
541
|
-
|
|
544
|
+
Create contextual survey component
|