@atlaskit/form 8.11.8 → 8.11.9
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/cjs/messages.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/messages.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/messages.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +29 -33
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/form
|
|
2
2
|
|
|
3
|
+
## 8.11.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`85935c8cde4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/85935c8cde4) - [ux] Denoting live region of form messages using aria-live attribute instead of alert role.
|
|
8
|
+
|
|
3
9
|
## 8.11.8
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/cjs/messages.js
CHANGED
|
@@ -97,7 +97,7 @@ var Message = function Message(_ref2) {
|
|
|
97
97
|
css: [mode === 'light' ? lightH200Styles : darkH200Styles, messageStyles, messageAppearanceStyles[appearance]],
|
|
98
98
|
"data-testid": testId,
|
|
99
99
|
id: fieldId,
|
|
100
|
-
|
|
100
|
+
"aria-live": "polite"
|
|
101
101
|
}, icon && (0, _react.jsx)(IconWrapper, null, icon), content);
|
|
102
102
|
};
|
|
103
103
|
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/messages.js
CHANGED
|
@@ -93,7 +93,7 @@ const Message = ({
|
|
|
93
93
|
css: [mode === 'light' ? lightH200Styles : darkH200Styles, messageStyles, messageAppearanceStyles[appearance]],
|
|
94
94
|
"data-testid": testId,
|
|
95
95
|
id: fieldId,
|
|
96
|
-
|
|
96
|
+
"aria-live": "polite"
|
|
97
97
|
}, icon && jsx(IconWrapper, null, icon), content);
|
|
98
98
|
};
|
|
99
99
|
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/messages.js
CHANGED
|
@@ -91,7 +91,7 @@ var Message = function Message(_ref2) {
|
|
|
91
91
|
css: [mode === 'light' ? lightH200Styles : darkH200Styles, messageStyles, messageAppearanceStyles[appearance]],
|
|
92
92
|
"data-testid": testId,
|
|
93
93
|
id: fieldId,
|
|
94
|
-
|
|
94
|
+
"aria-live": "polite"
|
|
95
95
|
}, icon && jsx(IconWrapper, null, icon), content);
|
|
96
96
|
};
|
|
97
97
|
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/form",
|
|
3
|
-
"version": "8.11.
|
|
3
|
+
"version": "8.11.9",
|
|
4
4
|
"description": "A form allows users to input information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,30 +12,9 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"typesVersions": {
|
|
16
|
-
">=4.5 <4.9": {
|
|
17
|
-
"*": [
|
|
18
|
-
"dist/types-ts4.5/*",
|
|
19
|
-
"dist/types-ts4.5/index.d.ts"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
15
|
"sideEffects": false,
|
|
24
16
|
"atlaskit:src": "src/index.tsx",
|
|
25
17
|
"atlaskit:designLink": "https://atlassian.design/guidelines/product/patterns/forms",
|
|
26
|
-
"af:exports": {
|
|
27
|
-
"./CheckboxField": "./src/entry-points/checkbox-field.tsx",
|
|
28
|
-
"./Field": "./src/entry-points/field.tsx",
|
|
29
|
-
"./Fieldset": "./src/entry-points/fieldset.tsx",
|
|
30
|
-
"./FormFooter": "./src/entry-points/form-footer.tsx",
|
|
31
|
-
"./FormHeader": "./src/entry-points/form-header.tsx",
|
|
32
|
-
"./FormSection": "./src/entry-points/form-section.tsx",
|
|
33
|
-
"./Form": "./src/entry-points/form.tsx",
|
|
34
|
-
"./Messages": "./src/entry-points/messages.tsx",
|
|
35
|
-
"./RangeField": "./src/entry-points/range-field.tsx",
|
|
36
|
-
"./Label": "./src/entry-points/label.tsx",
|
|
37
|
-
".": "./src/index.tsx"
|
|
38
|
-
},
|
|
39
18
|
"atlassian": {
|
|
40
19
|
"team": "Design System Team",
|
|
41
20
|
"releaseModel": "continuous",
|
|
@@ -44,11 +23,10 @@
|
|
|
44
23
|
"category": "Components"
|
|
45
24
|
}
|
|
46
25
|
},
|
|
47
|
-
"homepage": "https://atlassian.design/components/form/",
|
|
48
26
|
"dependencies": {
|
|
49
27
|
"@atlaskit/icon": "^21.12.0",
|
|
50
28
|
"@atlaskit/theme": "^12.5.0",
|
|
51
|
-
"@atlaskit/tokens": "^1.
|
|
29
|
+
"@atlaskit/tokens": "^1.13.0",
|
|
52
30
|
"@babel/runtime": "^7.0.0",
|
|
53
31
|
"@emotion/react": "^11.7.1",
|
|
54
32
|
"final-form": "^4.20.1",
|
|
@@ -61,26 +39,22 @@
|
|
|
61
39
|
"react": "^16.8.0"
|
|
62
40
|
},
|
|
63
41
|
"devDependencies": {
|
|
64
|
-
"@
|
|
42
|
+
"@af/accessibility-testing": "*",
|
|
43
|
+
"@af/visual-regression": "*",
|
|
44
|
+
"@atlaskit/button": "^16.8.0",
|
|
65
45
|
"@atlaskit/checkbox": "^12.6.0",
|
|
66
|
-
"@atlaskit/datetime-picker": "^12.7.0",
|
|
67
|
-
"@atlaskit/docs": "^9.1.0",
|
|
68
46
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
69
|
-
"@atlaskit/lozenge": "^11.4.0",
|
|
70
|
-
"@atlaskit/modal-dialog": "^12.6.0",
|
|
71
|
-
"@atlaskit/radio": "^5.6.0",
|
|
72
47
|
"@atlaskit/range": "^7.1.0",
|
|
73
|
-
"@atlaskit/section-message": "^6.4.0",
|
|
74
48
|
"@atlaskit/select": "^16.5.0",
|
|
75
49
|
"@atlaskit/ssr": "*",
|
|
76
|
-
"@atlaskit/
|
|
77
|
-
"@atlaskit/textfield": "^5.5.0",
|
|
50
|
+
"@atlaskit/textfield": "^5.6.0",
|
|
78
51
|
"@atlaskit/visual-regression": "*",
|
|
79
52
|
"@atlaskit/webdriver-runner": "*",
|
|
80
53
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
81
54
|
"@testing-library/react": "^12.1.5",
|
|
82
55
|
"@testing-library/user-event": "^14.4.3",
|
|
83
56
|
"@types/final-form-focus": "^1.1.1",
|
|
57
|
+
"jest-in-case": "^1.0.2",
|
|
84
58
|
"react-dom": "^16.8.0",
|
|
85
59
|
"react-router": "^4.2.0",
|
|
86
60
|
"react-router-dom": "^4.2.2",
|
|
@@ -116,5 +90,27 @@
|
|
|
116
90
|
"deprecation": "no-deprecated-imports"
|
|
117
91
|
}
|
|
118
92
|
},
|
|
93
|
+
"typesVersions": {
|
|
94
|
+
">=4.5 <4.9": {
|
|
95
|
+
"*": [
|
|
96
|
+
"dist/types-ts4.5/*",
|
|
97
|
+
"dist/types-ts4.5/index.d.ts"
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"af:exports": {
|
|
102
|
+
"./CheckboxField": "./src/entry-points/checkbox-field.tsx",
|
|
103
|
+
"./Field": "./src/entry-points/field.tsx",
|
|
104
|
+
"./Fieldset": "./src/entry-points/fieldset.tsx",
|
|
105
|
+
"./FormFooter": "./src/entry-points/form-footer.tsx",
|
|
106
|
+
"./FormHeader": "./src/entry-points/form-header.tsx",
|
|
107
|
+
"./FormSection": "./src/entry-points/form-section.tsx",
|
|
108
|
+
"./Form": "./src/entry-points/form.tsx",
|
|
109
|
+
"./Messages": "./src/entry-points/messages.tsx",
|
|
110
|
+
"./RangeField": "./src/entry-points/range-field.tsx",
|
|
111
|
+
"./Label": "./src/entry-points/label.tsx",
|
|
112
|
+
".": "./src/index.tsx"
|
|
113
|
+
},
|
|
114
|
+
"homepage": "https://atlassian.design/components/form/",
|
|
119
115
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
120
116
|
}
|