@atlaskit/form 14.2.0 → 14.2.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 +6 -0
- package/dist/types/form.d.ts +2 -2
- package/dist/types-ts4.5/form.d.ts +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/dist/types/form.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ type GetCurrentValue = <FormValues>(name: string) => FormValues[keyof FormValues
|
|
|
13
13
|
export declare const FormContext: React.Context<{
|
|
14
14
|
registerField: RegisterField;
|
|
15
15
|
getCurrentValue: GetCurrentValue;
|
|
16
|
-
subscribe: FormApi[
|
|
16
|
+
subscribe: FormApi['subscribe'];
|
|
17
17
|
}>;
|
|
18
18
|
/**
|
|
19
19
|
* __Is disabled context__
|
|
@@ -116,5 +116,5 @@ export interface FormProps<FormValues> {
|
|
|
116
116
|
* - [Code](https://atlassian.design/components/form/code)
|
|
117
117
|
* - [Usage](https://atlassian.design/components/form/usage)
|
|
118
118
|
*/
|
|
119
|
-
declare const Form: <FormValues extends Record<string, any
|
|
119
|
+
declare const Form: <FormValues extends Record<string, any>>(props: FormProps<FormValues> & React.RefAttributes<HTMLFormElement>) => React.ReactElement | null;
|
|
120
120
|
export default Form;
|
|
@@ -13,7 +13,7 @@ type GetCurrentValue = <FormValues>(name: string) => FormValues[keyof FormValues
|
|
|
13
13
|
export declare const FormContext: React.Context<{
|
|
14
14
|
registerField: RegisterField;
|
|
15
15
|
getCurrentValue: GetCurrentValue;
|
|
16
|
-
subscribe: FormApi[
|
|
16
|
+
subscribe: FormApi['subscribe'];
|
|
17
17
|
}>;
|
|
18
18
|
/**
|
|
19
19
|
* __Is disabled context__
|
|
@@ -116,5 +116,5 @@ export interface FormProps<FormValues> {
|
|
|
116
116
|
* - [Code](https://atlassian.design/components/form/code)
|
|
117
117
|
* - [Usage](https://atlassian.design/components/form/usage)
|
|
118
118
|
*/
|
|
119
|
-
declare const Form: <FormValues extends Record<string, any
|
|
119
|
+
declare const Form: <FormValues extends Record<string, any>>(props: FormProps<FormValues> & React.RefAttributes<HTMLFormElement>) => React.ReactElement | null;
|
|
120
120
|
export default Form;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/form",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.1",
|
|
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.
|
|
28
|
+
"@atlaskit/css": "^0.15.0",
|
|
29
29
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
30
30
|
"@atlaskit/heading": "^5.2.0",
|
|
31
|
-
"@atlaskit/icon": "^28.
|
|
31
|
+
"@atlaskit/icon": "^28.5.0",
|
|
32
32
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
33
|
-
"@atlaskit/primitives": "^
|
|
34
|
-
"@atlaskit/tokens": "^6.
|
|
33
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
34
|
+
"@atlaskit/tokens": "^6.5.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
36
36
|
"final-form": "^4.20.3",
|
|
37
37
|
"final-form-focus": "^1.1.2",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"@af/integration-testing": "workspace:^",
|
|
46
46
|
"@af/visual-regression": "workspace:^",
|
|
47
47
|
"@atlaskit/banner": "^14.0.0",
|
|
48
|
-
"@atlaskit/button": "^23.
|
|
48
|
+
"@atlaskit/button": "^23.5.0",
|
|
49
49
|
"@atlaskit/checkbox": "^17.1.0",
|
|
50
50
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
51
|
-
"@atlaskit/datetime-picker": "^17.
|
|
51
|
+
"@atlaskit/datetime-picker": "^17.1.0",
|
|
52
52
|
"@atlaskit/docs": "^11.1.0",
|
|
53
53
|
"@atlaskit/link": "^3.2.0",
|
|
54
54
|
"@atlaskit/lozenge": "^13.0.0",
|
|
55
|
-
"@atlaskit/modal-dialog": "^14.
|
|
55
|
+
"@atlaskit/modal-dialog": "^14.5.0",
|
|
56
56
|
"@atlaskit/radio": "^8.3.0",
|
|
57
57
|
"@atlaskit/range": "^9.2.0",
|
|
58
58
|
"@atlaskit/section-message": "^8.7.0",
|