@atlaskit/form 10.3.1 → 10.4.0
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 +14 -1
- package/README.md +2 -1
- package/__perf__/default.tsx +46 -57
- package/dist/cjs/field.js +3 -1
- package/dist/cjs/fieldset.js +6 -1
- package/dist/cjs/form-footer.js +7 -2
- package/dist/cjs/form-header.js +6 -1
- package/dist/cjs/form-section.js +5 -0
- package/dist/cjs/label.js +11 -2
- package/dist/cjs/messages.js +5 -0
- package/dist/cjs/required-asterisk.js +4 -0
- package/dist/es2019/field.js +5 -0
- package/dist/es2019/fieldset.js +5 -1
- package/dist/es2019/form-footer.js +6 -2
- package/dist/es2019/form-header.js +5 -1
- package/dist/es2019/form-section.js +4 -0
- package/dist/es2019/label.js +10 -2
- package/dist/es2019/messages.js +4 -0
- package/dist/es2019/required-asterisk.js +4 -0
- package/dist/esm/field.js +5 -0
- package/dist/esm/fieldset.js +5 -1
- package/dist/esm/form-footer.js +6 -2
- package/dist/esm/form-header.js +5 -1
- package/dist/esm/form-section.js +4 -0
- package/dist/esm/label.js +10 -2
- package/dist/esm/messages.js +4 -0
- package/dist/esm/required-asterisk.js +4 -0
- package/dist/types/field.d.ts +3 -0
- package/dist/types/fieldset.d.ts +3 -0
- package/dist/types/form-footer.d.ts +4 -1
- package/dist/types/form-header.d.ts +3 -0
- package/dist/types/form-section.d.ts +3 -0
- package/dist/types/label.d.ts +3 -0
- package/dist/types/messages.d.ts +3 -0
- package/dist/types/required-asterisk.d.ts +3 -0
- package/dist/types-ts4.5/field.d.ts +3 -0
- package/dist/types-ts4.5/fieldset.d.ts +3 -0
- package/dist/types-ts4.5/form-footer.d.ts +4 -1
- package/dist/types-ts4.5/form-header.d.ts +3 -0
- package/dist/types-ts4.5/form-section.d.ts +3 -0
- package/dist/types-ts4.5/label.d.ts +3 -0
- package/dist/types-ts4.5/messages.d.ts +3 -0
- package/dist/types-ts4.5/required-asterisk.d.ts +3 -0
- package/extract-react-types/checkbox-field-props.tsx +1 -1
- package/extract-react-types/field-props.tsx +1 -1
- package/extract-react-types/fieldset-props.tsx +1 -1
- package/extract-react-types/form-footer-props.tsx +1 -1
- package/extract-react-types/form-header-props.tsx +1 -1
- package/extract-react-types/form-props.tsx +1 -1
- package/extract-react-types/form-section-props.tsx +1 -1
- package/extract-react-types/range-field-props.tsx +1 -1
- package/package.json +133 -133
- package/report.api.md +144 -181
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
2
5
|
import { type ReactNode } from 'react';
|
|
3
6
|
import { jsx } from '@emotion/react';
|
|
@@ -21,4 +24,4 @@ export interface FormFooterProps {
|
|
|
21
24
|
* - [Code](https://atlaskit.atlassian.com/packages/design-system/form/docs/layout)
|
|
22
25
|
* - [Usage](https://atlaskit.atlassian.com/packages/design-system/form/docs/layout)
|
|
23
26
|
*/
|
|
24
|
-
export default function FormFooter({ align, children
|
|
27
|
+
export default function FormFooter({ align, children }: FormFooterProps): jsx.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,134 +1,134 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
2
|
+
"name": "@atlaskit/form",
|
|
3
|
+
"version": "10.4.0",
|
|
4
|
+
"description": "A form allows users to input information.",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
|
+
"author": "Atlassian Pty Ltd",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"main": "dist/cjs/index.js",
|
|
12
|
+
"module": "dist/esm/index.js",
|
|
13
|
+
"module:es2019": "dist/es2019/index.js",
|
|
14
|
+
"types": "dist/types/index.d.ts",
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"atlaskit:src": "src/index.tsx",
|
|
17
|
+
"atlaskit:designLink": "https://atlassian.design/guidelines/product/patterns/forms",
|
|
18
|
+
"atlassian": {
|
|
19
|
+
"team": "Design System Team",
|
|
20
|
+
"productPushConsumption": [
|
|
21
|
+
"jira"
|
|
22
|
+
],
|
|
23
|
+
"releaseModel": "continuous",
|
|
24
|
+
"website": {
|
|
25
|
+
"name": "Form",
|
|
26
|
+
"category": "Components"
|
|
27
|
+
},
|
|
28
|
+
"runReact18": true
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@atlaskit/heading": "^2.4.0",
|
|
32
|
+
"@atlaskit/icon": "^22.4.0",
|
|
33
|
+
"@atlaskit/platform-feature-flags": "^0.2.5",
|
|
34
|
+
"@atlaskit/primitives": "^7.4.0",
|
|
35
|
+
"@atlaskit/theme": "^12.10.0",
|
|
36
|
+
"@atlaskit/tokens": "^1.51.0",
|
|
37
|
+
"@babel/runtime": "^7.0.0",
|
|
38
|
+
"@emotion/react": "^11.7.1",
|
|
39
|
+
"final-form": "^4.20.3",
|
|
40
|
+
"final-form-focus": "^1.1.2",
|
|
41
|
+
"lodash": "^4.17.21",
|
|
42
|
+
"react-uid": "^2.2.0",
|
|
43
|
+
"tiny-invariant": "^1.2.0"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@af/accessibility-testing": "*",
|
|
50
|
+
"@af/integration-testing": "*",
|
|
51
|
+
"@af/visual-regression": "*",
|
|
52
|
+
"@atlaskit/banner": "^12.4.0",
|
|
53
|
+
"@atlaskit/button": "^17.17.0",
|
|
54
|
+
"@atlaskit/checkbox": "^13.4.0",
|
|
55
|
+
"@atlaskit/ds-lib": "^2.3.0",
|
|
56
|
+
"@atlaskit/modal-dialog": "^12.14.0",
|
|
57
|
+
"@atlaskit/radio": "^6.4.0",
|
|
58
|
+
"@atlaskit/range": "^7.3.0",
|
|
59
|
+
"@atlaskit/select": "^17.11.0",
|
|
60
|
+
"@atlaskit/ssr": "*",
|
|
61
|
+
"@atlaskit/textfield": "^6.4.0",
|
|
62
|
+
"@atlaskit/toggle": "^13.2.0",
|
|
63
|
+
"@atlaskit/visual-regression": "*",
|
|
64
|
+
"@testing-library/react": "^12.1.5",
|
|
65
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
66
|
+
"@testing-library/user-event": "^14.4.3",
|
|
67
|
+
"@types/final-form-focus": "^1.1.1",
|
|
68
|
+
"jest-in-case": "^1.0.2",
|
|
69
|
+
"react-dom": "^16.8.0",
|
|
70
|
+
"react-router": "^4.2.0",
|
|
71
|
+
"react-router-dom": "^4.2.2",
|
|
72
|
+
"react-test-renderer": "^16.8.0",
|
|
73
|
+
"typescript": "~5.4.2",
|
|
74
|
+
"validator": "^9.4.1",
|
|
75
|
+
"wait-for-expect": "^1.2.0"
|
|
76
|
+
},
|
|
77
|
+
"keywords": [
|
|
78
|
+
"atlaskit",
|
|
79
|
+
"react",
|
|
80
|
+
"ui"
|
|
81
|
+
],
|
|
82
|
+
"techstack": {
|
|
83
|
+
"@atlassian/frontend": {
|
|
84
|
+
"import-structure": "atlassian-conventions"
|
|
85
|
+
},
|
|
86
|
+
"@repo/internal": {
|
|
87
|
+
"dom-events": "use-bind-event-listener",
|
|
88
|
+
"analytics": "analytics-next",
|
|
89
|
+
"design-tokens": [
|
|
90
|
+
"color",
|
|
91
|
+
"spacing"
|
|
92
|
+
],
|
|
93
|
+
"theming": [
|
|
94
|
+
"react-context"
|
|
95
|
+
],
|
|
96
|
+
"styling": [
|
|
97
|
+
"static",
|
|
98
|
+
"emotion"
|
|
99
|
+
],
|
|
100
|
+
"design-system": "v1",
|
|
101
|
+
"deprecation": "no-deprecated-imports"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"typesVersions": {
|
|
105
|
+
">=4.5 <4.9": {
|
|
106
|
+
"*": [
|
|
107
|
+
"dist/types-ts4.5/*",
|
|
108
|
+
"dist/types-ts4.5/index.d.ts"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"af:exports": {
|
|
113
|
+
"./CheckboxField": "./src/entry-points/checkbox-field.tsx",
|
|
114
|
+
"./Field": "./src/entry-points/field.tsx",
|
|
115
|
+
"./Fieldset": "./src/entry-points/fieldset.tsx",
|
|
116
|
+
"./FormFooter": "./src/entry-points/form-footer.tsx",
|
|
117
|
+
"./FormHeader": "./src/entry-points/form-header.tsx",
|
|
118
|
+
"./FormSection": "./src/entry-points/form-section.tsx",
|
|
119
|
+
"./Form": "./src/entry-points/form.tsx",
|
|
120
|
+
"./Messages": "./src/entry-points/messages.tsx",
|
|
121
|
+
"./RangeField": "./src/entry-points/range-field.tsx",
|
|
122
|
+
"./Label": "./src/entry-points/label.tsx",
|
|
123
|
+
".": "./src/index.tsx"
|
|
124
|
+
},
|
|
125
|
+
"homepage": "https://atlassian.design/components/form/",
|
|
126
|
+
"platform-feature-flags": {
|
|
127
|
+
"platform.design-system-team.form-header-typography-updates_4f1g6": {
|
|
128
|
+
"type": "boolean"
|
|
129
|
+
},
|
|
130
|
+
"platform.design-system-team.form-label-typography-updates": {
|
|
131
|
+
"type": "boolean"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|