@atlaskit/form 14.3.0 → 14.3.2

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,5 +1,19 @@
1
1
  # @atlaskit/form
2
2
 
3
+ ## 14.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
8
+ Internal refactors to remove unused variables. No functional or public changes.
9
+ - Updated dependencies
10
+
11
+ ## 14.3.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 14.3.0
4
18
 
5
19
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  jest.autoMockOff();
2
2
 
3
- import transformer from '../not-yet-migrate-to-simplified-form';
3
+ import transformer from '../migrate-to-simplified-form';
4
4
 
5
5
  const defineInlineTest = require('jscodeshift/dist/testUtils').defineInlineTest;
6
6
 
@@ -98,7 +98,7 @@ const migrateDataTestIdToTestIdProp = (j: JSCodeshift, collection: Collection<an
98
98
  let dataTestIdAttr: any = null;
99
99
  let dataTestIdValue: any = null;
100
100
 
101
- htmlForm.openingElement.attributes?.forEach((attr, index) => {
101
+ htmlForm.openingElement.attributes?.forEach((attr) => {
102
102
  // Find data-testid attribute
103
103
  if (
104
104
  attr.type === 'JSXAttribute' &&
@@ -83,7 +83,7 @@ const generateFeatureFlag = (filePath: string): string => {
83
83
  const flag = `platform-design_system_team-form--${suffix}`;
84
84
  return flag.length > 50 ? flag.substring(0, 50) : flag;
85
85
  }
86
- } catch (e) {
86
+ } catch {
87
87
  // Continue searching if JSON parsing fails
88
88
  }
89
89
  }
@@ -40,5 +40,5 @@ export interface RangeFieldProps {
40
40
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/form/docs/fields#rangefield-reference)
41
41
  * - [Usage](https://atlaskit.atlassian.com/packages/design-system/form/docs/fields#rangefield-reference)
42
42
  */
43
- declare const RangeField: ({ children, defaultValue, id, isDisabled, label, name }: RangeFieldProps) => React.JSX.Element;
43
+ declare const RangeField: ({ children, defaultValue, id, isDisabled, label, name, }: RangeFieldProps) => React.JSX.Element;
44
44
  export default RangeField;
@@ -40,5 +40,5 @@ export interface RangeFieldProps {
40
40
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/form/docs/fields#rangefield-reference)
41
41
  * - [Usage](https://atlaskit.atlassian.com/packages/design-system/form/docs/fields#rangefield-reference)
42
42
  */
43
- declare const RangeField: ({ children, defaultValue, id, isDisabled, label, name }: RangeFieldProps) => React.JSX.Element;
43
+ declare const RangeField: ({ children, defaultValue, id, isDisabled, label, name, }: RangeFieldProps) => React.JSX.Element;
44
44
  export default RangeField;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/form",
3
- "version": "14.3.0",
3
+ "version": "14.3.2",
4
4
  "description": "A form allows users to input information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -25,13 +25,13 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@atlaskit/css": "^0.16.0",
28
+ "@atlaskit/css": "^0.17.0",
29
29
  "@atlaskit/ds-lib": "^5.3.0",
30
30
  "@atlaskit/heading": "^5.2.0",
31
31
  "@atlaskit/icon": "^29.0.0",
32
32
  "@atlaskit/platform-feature-flags": "^1.1.0",
33
- "@atlaskit/primitives": "^16.2.0",
34
- "@atlaskit/tokens": "^8.2.0",
33
+ "@atlaskit/primitives": "^16.4.0",
34
+ "@atlaskit/tokens": "^8.4.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "final-form": "^4.20.3",
37
37
  "final-form-focus": "^1.1.2",