@atlaskit/form 8.11.11 → 8.11.13

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 CHANGED
@@ -1,77 +1,89 @@
1
1
  # @atlaskit/form
2
2
 
3
+ ## 8.11.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [#40650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40650) [`07aa588c8a4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07aa588c8a4) - Reverts the fix to text descender cut-off, due to incompatibilities with Firefox and Safari.
8
+
9
+ ## 8.11.12
10
+
11
+ ### Patch Changes
12
+
13
+ - [#38209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38209) [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
14
+
3
15
  ## 8.11.11
4
16
 
5
17
  ### Patch Changes
6
18
 
7
- - [`02b609f1447`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02b609f1447) - Form now onboarded onto the product push model for Jira.
19
+ - [#38386](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38386) [`02b609f1447`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02b609f1447) - Form now onboarded onto the product push model for Jira.
8
20
 
9
21
  ## 8.11.10
10
22
 
11
23
  ### Patch Changes
12
24
 
13
- - [`7c7704ad529`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c7704ad529) - Imports from @atlaskit/form/Messages will no longer pull react-final-form and Field in the bundle.
25
+ - [#37900](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37900) [`7c7704ad529`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c7704ad529) - Imports from @atlaskit/form/Messages will no longer pull react-final-form and Field in the bundle.
14
26
 
15
27
  ## 8.11.9
16
28
 
17
29
  ### Patch Changes
18
30
 
19
- - [`85935c8cde4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85935c8cde4) - [ux] Denoting live region of form messages using aria-live attribute instead of alert role.
31
+ - [#37515](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37515) [`85935c8cde4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85935c8cde4) - [ux] Denoting live region of form messages using aria-live attribute instead of alert role.
20
32
 
21
33
  ## 8.11.8
22
34
 
23
35
  ### Patch Changes
24
36
 
25
- - [`421b74bf0f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/421b74bf0f9) - Combines stylings of label and legend for simpler maintenance.
37
+ - [#35295](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35295) [`421b74bf0f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/421b74bf0f9) - Combines stylings of label and legend for simpler maintenance.
26
38
  - [`215b4b5df50`](https://bitbucket.org/atlassian/atlassian-frontend/commits/215b4b5df50) - Removes redundant label from legend in fieldset.
27
39
 
28
40
  ## 8.11.7
29
41
 
30
42
  ### Patch Changes
31
43
 
32
- - [`ddb4e858a79`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ddb4e858a79) - Removes usage of deprecated theme mixins in favor of static token / color usage.
44
+ - [#32979](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32979) [`ddb4e858a79`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ddb4e858a79) - Removes usage of deprecated theme mixins in favor of static token / color usage.
33
45
 
34
46
  ## 8.11.6
35
47
 
36
48
  ### Patch Changes
37
49
 
38
- - [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
50
+ - [#33652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33652) [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
39
51
 
40
52
  ## 8.11.5
41
53
 
42
54
  ### Patch Changes
43
55
 
44
- - [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
56
+ - [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935) [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
45
57
 
46
58
  ## 8.11.4
47
59
 
48
60
  ### Patch Changes
49
61
 
50
- - [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
62
+ - [#34051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34051) [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
51
63
 
52
64
  ## 8.11.3
53
65
 
54
66
  ### Patch Changes
55
67
 
56
- - [`e8dbb0a281b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8dbb0a281b) - add a11y support for alert messages
68
+ - [#33584](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33584) [`e8dbb0a281b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8dbb0a281b) - add a11y support for alert messages
57
69
 
58
70
  ## 8.11.2
59
71
 
60
72
  ### Patch Changes
61
73
 
62
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
74
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
63
75
 
64
76
  ## 8.11.1
65
77
 
66
78
  ### Patch Changes
67
79
 
68
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
80
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
69
81
 
70
82
  ## 8.11.0
71
83
 
72
84
  ### Minor Changes
73
85
 
74
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
86
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
75
87
 
76
88
  ### Patch Changes
77
89
 
@@ -81,19 +93,19 @@
81
93
 
82
94
  ### Minor Changes
83
95
 
84
- - [`c71b0ac8222`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c71b0ac8222) - Added testId prop to the Field component for better testing.
96
+ - [#32350](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32350) [`c71b0ac8222`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c71b0ac8222) - Added testId prop to the Field component for better testing.
85
97
 
86
98
  ## 8.9.1
87
99
 
88
100
  ### Patch Changes
89
101
 
90
- - [`eb179f0c089`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb179f0c089) - Migrates unit tests from enzyme to RTL.
102
+ - [#32437](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32437) [`eb179f0c089`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb179f0c089) - Migrates unit tests from enzyme to RTL.
91
103
 
92
104
  ## 8.9.0
93
105
 
94
106
  ### Minor Changes
95
107
 
96
- - [`824851f3580`](https://bitbucket.org/atlassian/atlassian-frontend/commits/824851f3580) - [ux] Gives added affordance to sighted users to get information on meaning of asterisk symbol on required fields.
108
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`824851f3580`](https://bitbucket.org/atlassian/atlassian-frontend/commits/824851f3580) - [ux] Gives added affordance to sighted users to get information on meaning of asterisk symbol on required fields.
97
109
 
98
110
  ### Patch Changes
99
111
 
@@ -103,26 +115,26 @@
103
115
 
104
116
  ### Patch Changes
105
117
 
106
- - [`e0460d5d989`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0460d5d989) - Usages of `process` are now guarded by a `typeof` check.
118
+ - [#32294](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32294) [`e0460d5d989`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e0460d5d989) - Usages of `process` are now guarded by a `typeof` check.
107
119
 
108
120
  ## 8.8.7
109
121
 
110
122
  ### Patch Changes
111
123
 
112
- - [`1c6c493447f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1c6c493447f) - [ux] Place label and message fields in correct aria attributes.
124
+ - [#31891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31891) [`1c6c493447f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1c6c493447f) - [ux] Place label and message fields in correct aria attributes.
113
125
 
114
126
  ## 8.8.6
115
127
 
116
128
  ### Patch Changes
117
129
 
118
- - [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
130
+ - [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
119
131
  - Updated dependencies
120
132
 
121
133
  ## 8.8.5
122
134
 
123
135
  ### Patch Changes
124
136
 
125
- - [`74c1b81a476`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74c1b81a476) - Replaces use of `gridSize` with space tokens. There is no expected visual change.
137
+ - [#31338](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31338) [`74c1b81a476`](https://bitbucket.org/atlassian/atlassian-frontend/commits/74c1b81a476) - Replaces use of `gridSize` with space tokens. There is no expected visual change.
126
138
 
127
139
  ## 8.8.4
128
140
 
@@ -134,7 +146,7 @@
134
146
 
135
147
  ### Patch Changes
136
148
 
137
- - [`1b8e257525f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1b8e257525f) - [ux] Message content now preserves whitespace between elements.
149
+ - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`1b8e257525f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1b8e257525f) - [ux] Message content now preserves whitespace between elements.
138
150
  - [`ea1ad1d867f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea1ad1d867f) - Message typings have been corrected, removing a number of props. These props existed only in the type and had no effect when used.
139
151
 
140
152
  The props which were removed from the typings are:
@@ -161,7 +173,7 @@
161
173
 
162
174
  ### Minor Changes
163
175
 
164
- - [`f2d39d67a70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2d39d67a70) - Fixed the issue where field's value was reset on the component re-mount.
176
+ - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`f2d39d67a70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2d39d67a70) - Fixed the issue where field's value was reset on the component re-mount.
165
177
 
166
178
  ## 8.7.1
167
179
 
@@ -173,7 +185,7 @@
173
185
 
174
186
  ### Minor Changes
175
187
 
176
- - [`500a96aa7de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/500a96aa7de) - Add elementAfterLabel prop to form Field.
188
+ - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`500a96aa7de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/500a96aa7de) - Add elementAfterLabel prop to form Field.
177
189
 
178
190
  ### Patch Changes
179
191
 
@@ -183,7 +195,7 @@
183
195
 
184
196
  ### Minor Changes
185
197
 
186
- - [`ae87a1a6d39`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae87a1a6d39) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
198
+ - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`ae87a1a6d39`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae87a1a6d39) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
187
199
 
188
200
  ### Patch Changes
189
201
 
@@ -193,13 +205,13 @@
193
205
 
194
206
  ### Patch Changes
195
207
 
196
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
208
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
197
209
 
198
210
  ## 8.5.8
199
211
 
200
212
  ### Patch Changes
201
213
 
202
- - [`0fbb2840aba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fbb2840aba) - Add isInvalid prop to `@atlastkit/Select`. The prop indicates whether if the component is in the error state. If true, it visually shows a red border around the input.
214
+ - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`0fbb2840aba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fbb2840aba) - Add isInvalid prop to `@atlastkit/Select`. The prop indicates whether if the component is in the error state. If true, it visually shows a red border around the input.
203
215
 
204
216
  This replaces validationState to make Select more consistent like other components that uses isInvalid prop.
205
217
 
@@ -209,13 +221,13 @@
209
221
 
210
222
  ### Patch Changes
211
223
 
212
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
224
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
213
225
 
214
226
  ## 8.5.6
215
227
 
216
228
  ### Patch Changes
217
229
 
218
- - [`f2b8ca863a0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2b8ca863a0) - [ux] Updates to slightly darken fallback colors for field messages
230
+ - [#23485](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23485) [`f2b8ca863a0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2b8ca863a0) - [ux] Updates to slightly darken fallback colors for field messages
219
231
 
220
232
  ## 8.5.5
221
233
 
@@ -227,7 +239,7 @@
227
239
 
228
240
  ### Patch Changes
229
241
 
230
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
242
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
231
243
 
232
244
  ## 8.5.3
233
245
 
@@ -251,7 +263,7 @@
251
263
 
252
264
  ### Minor Changes
253
265
 
254
- - [`c987bb60a89`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c987bb60a89) - Exposes an additional Label component in `@atlaskit/form` - this component is designed to be wrapped by the Field component but there are certain use cases that require a Label on its own. This is to fulfill those use cases.
266
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`c987bb60a89`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c987bb60a89) - Exposes an additional Label component in `@atlaskit/form` - this component is designed to be wrapped by the Field component but there are certain use cases that require a Label on its own. This is to fulfill those use cases.
255
267
 
256
268
  ### Patch Changes
257
269
 
@@ -275,13 +287,13 @@
275
287
 
276
288
  ### Patch Changes
277
289
 
278
- - [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
290
+ - [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475) [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
279
291
 
280
292
  ## 8.4.5
281
293
 
282
294
  ### Patch Changes
283
295
 
284
- - [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
296
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
285
297
  - Updated dependencies
286
298
 
287
299
  ## 8.4.4
@@ -294,25 +306,25 @@
294
306
 
295
307
  ### Patch Changes
296
308
 
297
- - [`2cf338dd802`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2cf338dd802) - Added homepage to package.json
309
+ - [#15981](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15981) [`2cf338dd802`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2cf338dd802) - Added homepage to package.json
298
310
 
299
311
  ## 8.4.2
300
312
 
301
313
  ### Patch Changes
302
314
 
303
- - [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
315
+ - [#15632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15632) [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
304
316
 
305
317
  ## 8.4.1
306
318
 
307
319
  ### Patch Changes
308
320
 
309
- - [`b9b3ab10494`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9b3ab10494) - There was a bug in 8.4.0 where the props in FormSection were not recognized. This has now been fixed.
321
+ - [#15148](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15148) [`b9b3ab10494`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9b3ab10494) - There was a bug in 8.4.0 where the props in FormSection were not recognized. This has now been fixed.
310
322
 
311
323
  ## 8.4.0
312
324
 
313
325
  ### Minor Changes
314
326
 
315
- - [`4e3c853e85f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e3c853e85f) - This change removes the dependency `styled-components`. It has been refactored to use `@emotion/core` instead and entrypoints have been updated. Some examples have also been updated. There should be no UI or UX change.
327
+ - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`4e3c853e85f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e3c853e85f) - This change removes the dependency `styled-components`. It has been refactored to use `@emotion/core` instead and entrypoints have been updated. Some examples have also been updated. There should be no UI or UX change.
316
328
 
317
329
  ### Patch Changes
318
330
 
@@ -329,7 +341,7 @@
329
341
 
330
342
  ### Minor Changes
331
343
 
332
- - [`4cab1a3d163`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4cab1a3d163) - Form is now instrumented with the new tokens theme implementation. This change is interoperable with the previous theme implementation.
344
+ - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`4cab1a3d163`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4cab1a3d163) - Form is now instrumented with the new tokens theme implementation. This change is interoperable with the previous theme implementation.
333
345
 
334
346
  ### Patch Changes
335
347
 
@@ -339,46 +351,46 @@
339
351
 
340
352
  ### Patch Changes
341
353
 
342
- - [`f701489305f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f701489305f) - Export Field directly for types to be exported explicitly.
354
+ - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`f701489305f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f701489305f) - Export Field directly for types to be exported explicitly.
343
355
  - Updated dependencies
344
356
 
345
357
  ## 8.2.3
346
358
 
347
359
  ### Patch Changes
348
360
 
349
- - [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
361
+ - [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
350
362
 
351
363
  ## 8.2.2
352
364
 
353
365
  ### Patch Changes
354
366
 
355
- - [`c50a63f9f72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c50a63f9f72) - Upgrade `@types/react-select` to `v3.1.2` and fix type breaks
367
+ - [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`c50a63f9f72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c50a63f9f72) - Upgrade `@types/react-select` to `v3.1.2` and fix type breaks
356
368
  - Updated dependencies
357
369
 
358
370
  ## 8.2.1
359
371
 
360
372
  ### Patch Changes
361
373
 
362
- - [`5af85edf960`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5af85edf960) - Internal code style change of default exports
374
+ - [#8478](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8478) [`5af85edf960`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5af85edf960) - Internal code style change of default exports
363
375
 
364
376
  ## 8.2.0
365
377
 
366
378
  ### Minor Changes
367
379
 
368
- - [`fa4256f9b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa4256f9b0) - Add getState to FormProps for inspecting internal Form state (errors, values, et al)
380
+ - [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930) [`fa4256f9b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa4256f9b0) - Add getState to FormProps for inspecting internal Form state (errors, values, et al)
369
381
  - [`9552363cb7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9552363cb7) - [ux] Added a RangeField component to address issues surrounding Range having a different interface to other kinds of inputs. Use a RangeField instead of a Field when using a Range inside of a Form. You must provide a `defaultValue`.
370
382
 
371
383
  ## 8.1.7
372
384
 
373
385
  ### Patch Changes
374
386
 
375
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
387
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
376
388
 
377
389
  ## 8.1.6
378
390
 
379
391
  ### Patch Changes
380
392
 
381
- - [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
393
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
382
394
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
383
395
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
384
396
 
@@ -392,13 +404,13 @@
392
404
 
393
405
  ### Patch Changes
394
406
 
395
- - [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
407
+ - [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707) [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
396
408
 
397
409
  ## 8.1.3
398
410
 
399
411
  ### Patch Changes
400
412
 
401
- - [`741e4240d0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/741e4240d0) - Final form dependencies have been upgraded to their latest versions
413
+ - [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424) [`741e4240d0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/741e4240d0) - Final form dependencies have been upgraded to their latest versions
402
414
  - [`3773e0ad4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3773e0ad4e) - There was an issue where the validate function in Field would return an incorrect value or even go unresponsive when mixing async and sync validators. This has been fixed by updating the version of `final-form`. The test that validates this is working has been re-enabled.
403
415
  - Updated dependencies
404
416
 
@@ -406,7 +418,7 @@
406
418
 
407
419
  ### Patch Changes
408
420
 
409
- - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
421
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
410
422
 
411
423
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
412
424
  to prevent duplicates of tslib being bundled.
@@ -415,14 +427,14 @@
415
427
 
416
428
  ### Patch Changes
417
429
 
418
- - [`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
430
+ - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
419
431
  - [`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form elements now have a default font explicitly set
420
432
 
421
433
  ## 8.1.0
422
434
 
423
435
  ### Minor Changes
424
436
 
425
- - [`694fee4dcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/694fee4dcc) - Adding validating status to meta for async validations, and make sure the default value of error in form is a string
437
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`694fee4dcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/694fee4dcc) - Adding validating status to meta for async validations, and make sure the default value of error in form is a string
426
438
 
427
439
  ### Patch Changes
428
440
 
@@ -432,7 +444,7 @@
432
444
 
433
445
  ### Major Changes
434
446
 
435
- - [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
447
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
436
448
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
437
449
 
438
450
  ### Patch Changes
@@ -443,25 +455,25 @@
443
455
 
444
456
  ### Patch Changes
445
457
 
446
- - [`2e4000e57b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e4000e57b) - Form now fully supports object and array field names.
458
+ - [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763) [`2e4000e57b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e4000e57b) - Form now fully supports object and array field names.
447
459
 
448
460
  ## 7.4.0
449
461
 
450
462
  ### Minor Changes
451
463
 
452
- - [`fc690a7dd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc690a7dd4) - HelperMessage, ErrorMessage and ValidMessage now have an optional prop testId that will set the attribute value data-testid.
464
+ - [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443) [`fc690a7dd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc690a7dd4) - HelperMessage, ErrorMessage and ValidMessage now have an optional prop testId that will set the attribute value data-testid.
453
465
 
454
466
  ## 7.3.1
455
467
 
456
468
  ### Patch Changes
457
469
 
458
- - [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
470
+ - [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
459
471
 
460
472
  ## 7.3.0
461
473
 
462
474
  ### Minor Changes
463
475
 
464
- - [`56d6259cf5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56d6259cf5) - Change FormHeader and FormSection to use h2 and h3 respectively for headings instead of h1 and h2.
476
+ - [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137) [`56d6259cf5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56d6259cf5) - Change FormHeader and FormSection to use h2 and h3 respectively for headings instead of h1 and h2.
465
477
 
466
478
  ### Patch Changes
467
479
 
@@ -1342,7 +1354,7 @@
1342
1354
 
1343
1355
  ## 4.0.14
1344
1356
 
1345
- - [patch][c8d935f" d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c8d935f"
1357
+ - [patch][c8d935f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c8d935f"
1346
1358
  d):
1347
1359
 
1348
1360
  - Fixing form header styles
@@ -19,8 +19,8 @@ var _excluded = ["children", "defaultIsChecked", "value"],
19
19
  _excluded5 = ["fieldProps"];
20
20
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
21
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
22
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
23
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
22
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
24
24
  /**
25
25
  * __Checkbox field__
26
26
  *
@@ -83,5 +83,4 @@ var CheckboxField = function CheckboxField(props) {
83
83
  CheckboxField.defaultProps = {
84
84
  defaultIsChecked: false
85
85
  };
86
- var _default = CheckboxField;
87
- exports.default = _default;
86
+ var _default = exports.default = CheckboxField;
@@ -10,5 +10,4 @@ var _react = require("react");
10
10
  *
11
11
  * A field id uses the context API. It provides the id of the field to message components. This links the message with the field of screenreaders.
12
12
  */
13
- var FieldId = /*#__PURE__*/(0, _react.createContext)(undefined);
14
- exports.FieldId = FieldId;
13
+ var FieldId = exports.FieldId = /*#__PURE__*/(0, _react.createContext)(undefined);
package/dist/cjs/field.js CHANGED
@@ -16,8 +16,8 @@ var _fieldIdContext = require("./field-id-context");
16
16
  var _form = require("./form");
17
17
  var _label = require("./label");
18
18
  var _requiredAsterisk = _interopRequireDefault(require("./required-asterisk"));
19
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
20
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /** @jsx jsx */
19
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
21
21
  var fieldWrapperStyles = (0, _react2.css)({
22
22
  marginTop: "var(--ds-space-100, 8px)"
23
23
  });
@@ -29,5 +29,4 @@ var Fieldset = function Fieldset(_ref) {
29
29
  css: fieldSetStyles
30
30
  }, legend && (0, _react.jsx)(_label.Legend, null, legend), children);
31
31
  };
32
- var _default = Fieldset;
33
- exports.default = _default;
32
+ var _default = exports.default = Fieldset;
@@ -42,21 +42,19 @@ var lightH700Styles = (0, _react.css)((0, _typography.h700)({
42
42
  mode: 'light'
43
43
  }
44
44
  }));
45
- var FormHeaderContent = function FormHeaderContent(_ref) {
45
+ var FormHeaderContent = exports.FormHeaderContent = function FormHeaderContent(_ref) {
46
46
  var children = _ref.children;
47
47
  return (0, _react.jsx)("div", {
48
48
  css: formHeaderContentStyles
49
49
  }, children);
50
50
  };
51
- exports.FormHeaderContent = FormHeaderContent;
52
- var FormHeaderDescription = function FormHeaderDescription(_ref2) {
51
+ var FormHeaderDescription = exports.FormHeaderDescription = function FormHeaderDescription(_ref2) {
53
52
  var children = _ref2.children;
54
53
  return (0, _react.jsx)("div", {
55
54
  css: formHeaderDescriptionStyles
56
55
  }, children);
57
56
  };
58
- exports.FormHeaderDescription = FormHeaderDescription;
59
- var FormHeaderTitle = function FormHeaderTitle(_ref3) {
57
+ var FormHeaderTitle = exports.FormHeaderTitle = function FormHeaderTitle(_ref3) {
60
58
  var children = _ref3.children;
61
59
  var _useGlobalTheme = (0, _components.useGlobalTheme)(),
62
60
  mode = _useGlobalTheme.mode;
@@ -64,7 +62,6 @@ var FormHeaderTitle = function FormHeaderTitle(_ref3) {
64
62
  css: [mode === 'light' ? lightH700Styles : darkH700Styles, formHeaderTitleStyles]
65
63
  }, children);
66
64
  };
67
- exports.FormHeaderTitle = FormHeaderTitle;
68
65
  var FormHeaderWrapper = function FormHeaderWrapper(_ref4) {
69
66
  var children = _ref4.children;
70
67
  return (0, _react.jsx)("div", {
@@ -88,5 +85,4 @@ var FormHeader = function FormHeader(_ref5) {
88
85
  title = _ref5.title;
89
86
  return (0, _react.jsx)(FormHeaderWrapper, null, title && (0, _react.jsx)(FormHeaderTitle, null, title), description && (0, _react.jsx)(FormHeaderDescription, null, description), children && (0, _react.jsx)(FormHeaderContent, null, children));
90
87
  };
91
- var _default = FormHeader;
92
- exports.default = _default;
88
+ var _default = exports.default = FormHeader;
@@ -73,5 +73,4 @@ var FormSection = function FormSection(_ref4) {
73
73
  title = _ref4.title;
74
74
  return (0, _react.jsx)(FormSectionWrapper, null, title && (0, _react.jsx)(FormSectionTitle, null, title), description && (0, _react.jsx)(FormSectionDescription, null, description), children);
75
75
  };
76
- var _default = FormSection;
77
- exports.default = _default;
76
+ var _default = exports.default = FormSection;
package/dist/cjs/form.js CHANGED
@@ -19,7 +19,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
19
19
  *
20
20
  * A form context creates a context for the field values and allows them to be accessed by the children.
21
21
  */
22
- var FormContext = /*#__PURE__*/(0, _react.createContext)({
22
+ var FormContext = exports.FormContext = /*#__PURE__*/(0, _react.createContext)({
23
23
  registerField: function registerField() {
24
24
  return function () {};
25
25
  },
@@ -33,9 +33,7 @@ var FormContext = /*#__PURE__*/(0, _react.createContext)({
33
33
  *
34
34
  * An is disabled context creates the context for when a value is disabled.
35
35
  */
36
- exports.FormContext = FormContext;
37
- var IsDisabledContext = /*#__PURE__*/(0, _react.createContext)(false);
38
- exports.IsDisabledContext = IsDisabledContext;
36
+ var IsDisabledContext = exports.IsDisabledContext = /*#__PURE__*/(0, _react.createContext)(false);
39
37
  function Form(props) {
40
38
  var formRef = (0, _react.useRef)(null);
41
39
  var onSubmitRef = (0, _react.useRef)(props.onSubmit);
package/dist/cjs/label.js CHANGED
@@ -49,7 +49,7 @@ var darkH200Styles = getFieldsetLabelDynamicStyles('dark');
49
49
  * It's recommended that a label has a `4px` spacing above its associated
50
50
  * control element.
51
51
  */
52
- var Label = function Label(_ref) {
52
+ var Label = exports.Label = function Label(_ref) {
53
53
  var children = _ref.children,
54
54
  htmlFor = _ref.htmlFor,
55
55
  id = _ref.id,
@@ -69,8 +69,7 @@ var Label = function Label(_ref) {
69
69
  *
70
70
  * A Legend represents a caption for a fieldset in a user interface.
71
71
  */
72
- exports.Label = Label;
73
- var Legend = function Legend(_ref2) {
72
+ var Legend = exports.Legend = function Legend(_ref2) {
74
73
  var children = _ref2.children;
75
74
  var _useGlobalTheme2 = (0, _components.useGlobalTheme)(),
76
75
  mode = _useGlobalTheme2.mode;
@@ -78,6 +77,4 @@ var Legend = function Legend(_ref2) {
78
77
  css: [mode === 'light' ? lightH200Styles : darkH200Styles, fieldsetLabelStyles]
79
78
  }, children);
80
79
  };
81
- exports.Legend = Legend;
82
- var _default = Label;
83
- exports.default = _default;
80
+ var _default = exports.default = Label;
@@ -108,7 +108,7 @@ var Message = function Message(_ref2) {
108
108
  * 'Password should be more than 4 characters'
109
109
  *
110
110
  */
111
- var HelperMessage = function HelperMessage(_ref3) {
111
+ var HelperMessage = exports.HelperMessage = function HelperMessage(_ref3) {
112
112
  var children = _ref3.children,
113
113
  testId = _ref3.testId;
114
114
  return (0, _react.jsx)(_fieldIdContext.FieldId.Consumer, null, function (fieldId) {
@@ -126,8 +126,7 @@ var HelperMessage = function HelperMessage(_ref3) {
126
126
  * 'Invalid username, needs to be more than 4 characters'.
127
127
  *
128
128
  */
129
- exports.HelperMessage = HelperMessage;
130
- var ErrorMessage = function ErrorMessage(_ref4) {
129
+ var ErrorMessage = exports.ErrorMessage = function ErrorMessage(_ref4) {
131
130
  var children = _ref4.children,
132
131
  testId = _ref4.testId;
133
132
  return (0, _react.jsx)(_fieldIdContext.FieldId.Consumer, null, function (fieldId) {
@@ -146,8 +145,7 @@ var ErrorMessage = function ErrorMessage(_ref4) {
146
145
  * a helper message could be 'Nice one, this username is available'.
147
146
  *
148
147
  */
149
- exports.ErrorMessage = ErrorMessage;
150
- var ValidMessage = function ValidMessage(_ref5) {
148
+ var ValidMessage = exports.ValidMessage = function ValidMessage(_ref5) {
151
149
  var children = _ref5.children,
152
150
  testId = _ref5.testId;
153
151
  return (0, _react.jsx)(_fieldIdContext.FieldId.Consumer, null, function (fieldId) {
@@ -157,5 +155,4 @@ var ValidMessage = function ValidMessage(_ref5) {
157
155
  testId: testId
158
156
  }, children);
159
157
  });
160
- };
161
- exports.ValidMessage = ValidMessage;
158
+ };
@@ -13,8 +13,8 @@ var _field = _interopRequireDefault(require("./field"));
13
13
  var _excluded = ["children"],
14
14
  _excluded2 = ["isInvalid", "isRequired"],
15
15
  _excluded3 = ["fieldProps"];
16
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
17
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
16
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18
18
  /**
19
19
  * __Range field__
20
20
  *
@@ -45,5 +45,4 @@ var RangeField = function RangeField(props) {
45
45
  })
46
46
  );
47
47
  };
48
- var _default = RangeField;
49
- exports.default = _default;
48
+ var _default = exports.default = RangeField;
@@ -7,8 +7,8 @@ var _excluded = ["children", "defaultIsChecked", "value"],
7
7
  _excluded3 = ["fieldProps"],
8
8
  _excluded4 = ["value"],
9
9
  _excluded5 = ["fieldProps"];
10
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
11
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
10
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
11
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12
12
  import React, { useCallback } from 'react';
13
13
  import Field from './field';
14
14
  /**
package/dist/esm/field.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import _typeof from "@babel/runtime/helpers/typeof";
4
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  /** @jsx jsx */
7
7
  import { useContext, useEffect, useMemo, useRef, useState } from 'react';
8
8
  import { css, jsx } from '@emotion/react';
@@ -4,8 +4,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
4
4
  var _excluded = ["children"],
5
5
  _excluded2 = ["isInvalid", "isRequired"],
6
6
  _excluded3 = ["fieldProps"];
7
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
8
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
9
  import React from 'react';
10
10
  import Field from './field';
11
11
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/form",
3
- "version": "8.11.11",
3
+ "version": "8.11.13",
4
4
  "description": "A form allows users to input information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@atlaskit/icon": "^21.12.0",
31
- "@atlaskit/theme": "^12.5.0",
32
- "@atlaskit/tokens": "^1.14.0",
31
+ "@atlaskit/theme": "^12.6.0",
32
+ "@atlaskit/tokens": "^1.26.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/react": "^11.7.1",
35
35
  "final-form": "^4.20.1",
@@ -44,11 +44,11 @@
44
44
  "devDependencies": {
45
45
  "@af/accessibility-testing": "*",
46
46
  "@af/visual-regression": "*",
47
- "@atlaskit/button": "^16.8.0",
47
+ "@atlaskit/button": "^16.10.0",
48
48
  "@atlaskit/checkbox": "^12.6.0",
49
49
  "@atlaskit/ds-lib": "^2.2.0",
50
50
  "@atlaskit/range": "^7.1.0",
51
- "@atlaskit/select": "^16.5.0",
51
+ "@atlaskit/select": "^16.7.0",
52
52
  "@atlaskit/ssr": "*",
53
53
  "@atlaskit/textfield": "^5.6.0",
54
54
  "@atlaskit/visual-regression": "*",
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/form",
3
- "version": "8.11.11",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/form",
3
- "version": "8.11.11",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/form",
3
- "version": "8.11.11",
4
- "sideEffects": false
5
- }