@atlaskit/link-create 1.0.0 → 1.0.1

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,11 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`572ea7d92bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/572ea7d92bd) - revised form mutator types
8
+
3
9
  ## 1.0.0
4
10
 
5
11
  ### Major Changes
@@ -82,7 +82,7 @@ var CreateForm = function CreateForm(_ref) {
82
82
  initialValues: initialValues,
83
83
  mutators: {
84
84
  setField: function setField(args, state, tools) {
85
- tools.changeValue(state, args[0], function () {
85
+ tools.changeValue(state, args[0].toString(), function () {
86
86
  return args[1];
87
87
  });
88
88
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -55,7 +55,7 @@ export const CreateForm = ({
55
55
  initialValues: initialValues,
56
56
  mutators: {
57
57
  setField: (args, state, tools) => {
58
- tools.changeValue(state, args[0], () => args[1]);
58
+ tools.changeValue(state, args[0].toString(), () => args[1]);
59
59
  }
60
60
  }
61
61
  }, ({
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "sideEffects": false
5
5
  }
@@ -74,7 +74,7 @@ export var CreateForm = function CreateForm(_ref) {
74
74
  initialValues: initialValues,
75
75
  mutators: {
76
76
  setField: function setField(args, state, tools) {
77
- tools.changeValue(state, args[0], function () {
77
+ tools.changeValue(state, args[0].toString(), function () {
78
78
  return args[1];
79
79
  });
80
80
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/select": "^16.5.0",
45
45
  "@atlaskit/spinner": "^15.4.0",
46
46
  "@atlaskit/textfield": "^5.6.0",
47
- "@atlaskit/tokens": "^1.13.0",
47
+ "@atlaskit/tokens": "^1.14.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1",
50
50
  "debounce-promise": "^3.1.2",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@af/visual-regression": "*",
60
- "@atlaskit/link-test-helpers": "^5.0.0",
60
+ "@atlaskit/link-test-helpers": "^6.0.0",
61
61
  "@atlaskit/visual-regression": "*",
62
62
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
63
63
  "@testing-library/react": "^12.1.5",