@atlaskit/visually-hidden 1.3.0 → 1.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 +78 -69
- package/LICENSE.md +6 -8
- package/README.md +2 -1
- package/dist/cjs/visually-hidden.js +5 -0
- package/dist/es2019/visually-hidden.js +4 -0
- package/dist/esm/visually-hidden.js +4 -0
- package/dist/types/types.d.ts +1 -1
- package/dist/types/visually-hidden.d.ts +4 -1
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/dist/types-ts4.5/visually-hidden.d.ts +4 -1
- package/package.json +77 -79
- package/report.api.md +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,171 +1,180 @@
|
|
|
1
1
|
# @atlaskit/visually-hidden
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#111016](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111016)
|
|
8
|
+
[`d131599730792`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d131599730792) -
|
|
9
|
+
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
|
|
10
|
+
is implicitly set to automatic.
|
|
11
|
+
|
|
3
12
|
## 1.3.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
6
15
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
16
|
+
- [#94500](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94500)
|
|
17
|
+
[`90156a599d98`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/90156a599d98) -
|
|
18
|
+
Add support for React 18 in non-strict mode.
|
|
10
19
|
|
|
11
20
|
## 1.2.5
|
|
12
21
|
|
|
13
22
|
### Patch Changes
|
|
14
23
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
24
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
25
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
26
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
18
27
|
|
|
19
28
|
## 1.2.4
|
|
20
29
|
|
|
21
30
|
### Patch Changes
|
|
22
31
|
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
32
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
33
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
34
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
35
|
+
testing.
|
|
27
36
|
|
|
28
37
|
## 1.2.3
|
|
29
38
|
|
|
30
39
|
### Patch Changes
|
|
31
40
|
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
41
|
+
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
|
|
42
|
+
[`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal
|
|
43
|
+
change to enforce token usage for spacing properties. There is no expected visual or behaviour
|
|
44
|
+
change.
|
|
36
45
|
|
|
37
46
|
## 1.2.2
|
|
38
47
|
|
|
39
48
|
### Patch Changes
|
|
40
49
|
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
50
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
51
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
52
|
+
legacy types are published for TS 4.5-4.8
|
|
44
53
|
|
|
45
54
|
## 1.2.1
|
|
46
55
|
|
|
47
56
|
### Patch Changes
|
|
48
57
|
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
58
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
59
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
60
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
52
61
|
|
|
53
62
|
## 1.2.0
|
|
54
63
|
|
|
55
64
|
### Minor Changes
|
|
56
65
|
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
66
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
67
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
68
|
+
minor dependency bump
|
|
60
69
|
|
|
61
70
|
## 1.1.2
|
|
62
71
|
|
|
63
72
|
### Patch Changes
|
|
64
73
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
74
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
75
|
+
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
|
|
76
|
+
change to introduce spacing tokens to design system components.
|
|
68
77
|
|
|
69
78
|
## 1.1.1
|
|
70
79
|
|
|
71
80
|
### Patch Changes
|
|
72
81
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
82
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
83
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
84
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
76
85
|
|
|
77
86
|
## 1.1.0
|
|
78
87
|
|
|
79
88
|
### Minor Changes
|
|
80
89
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
90
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
|
|
91
|
+
[`86b6aecec17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/86b6aecec17) - Updates
|
|
92
|
+
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
84
93
|
|
|
85
94
|
## 1.0.2
|
|
86
95
|
|
|
87
96
|
### Patch Changes
|
|
88
97
|
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
98
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
99
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
100
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
92
101
|
|
|
93
102
|
## 1.0.1
|
|
94
103
|
|
|
95
104
|
### Patch Changes
|
|
96
105
|
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
106
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
107
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
108
|
+
to TypeScript 4.2.4
|
|
100
109
|
|
|
101
110
|
## 1.0.0
|
|
102
111
|
|
|
103
112
|
### Major Changes
|
|
104
113
|
|
|
105
|
-
-
|
|
106
|
-
|
|
107
|
-
|
|
114
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
115
|
+
[`08ce7935675`](https://bitbucket.org/atlassian/atlassian-frontend/commits/08ce7935675) - Update
|
|
116
|
+
`@atlaskit/visually-hidden` to v1. No breaking changes from previous version.
|
|
108
117
|
|
|
109
|
-
|
|
110
|
-
|
|
118
|
+
`@atlaskit/visually-hidden` now exposes an additional `id` prop. This prop is exposed to allow
|
|
119
|
+
consumers to pair the component with the `aria-describedby` HTML attribute.
|
|
111
120
|
|
|
112
121
|
## 0.1.2
|
|
113
122
|
|
|
114
123
|
### Patch Changes
|
|
115
124
|
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
|
|
125
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
|
|
126
|
+
[`248133ff889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/248133ff889) - Fixes
|
|
127
|
+
the name of the entrypoint in package.json
|
|
119
128
|
|
|
120
129
|
## 0.1.1
|
|
121
130
|
|
|
122
131
|
### Patch Changes
|
|
123
132
|
|
|
124
|
-
-
|
|
125
|
-
|
|
126
|
-
|
|
133
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
134
|
+
[`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) - Internal
|
|
135
|
+
wiring up to the tokens techstack, no code changes.
|
|
127
136
|
|
|
128
137
|
## 0.1.0
|
|
129
138
|
|
|
130
139
|
### Minor Changes
|
|
131
140
|
|
|
132
|
-
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
141
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
142
|
+
[`4a26bfd6414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a26bfd6414) - Initial
|
|
143
|
+
release of the visually hidden component. This component should be used as an accessbility tool to
|
|
144
|
+
wrap content for screen readers that would otherwise not be relevant in the natural flow of the
|
|
145
|
+
page.
|
|
137
146
|
|
|
138
147
|
## 0.0.4
|
|
139
148
|
|
|
140
149
|
### Patch Changes
|
|
141
150
|
|
|
142
|
-
-
|
|
143
|
-
|
|
144
|
-
|
|
151
|
+
- [#8306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8306)
|
|
152
|
+
[`229b32842b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/229b32842b5) - Fix
|
|
153
|
+
.npmignore and tsconfig.json for **tests**
|
|
145
154
|
|
|
146
155
|
## 0.0.3
|
|
147
156
|
|
|
148
157
|
### Patch Changes
|
|
149
158
|
|
|
150
|
-
-
|
|
151
|
-
|
|
152
|
-
|
|
159
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
160
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
161
|
+
packages using babel rather than tsc
|
|
153
162
|
|
|
154
163
|
## 0.0.2
|
|
155
164
|
|
|
156
165
|
### Patch Changes
|
|
157
166
|
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
167
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
168
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
169
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
170
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
171
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
172
|
+
`devDependencies` to denote version that the package was built with.
|
|
164
173
|
|
|
165
174
|
## 0.0.1
|
|
166
175
|
|
|
167
176
|
### Patch Changes
|
|
168
177
|
|
|
169
|
-
-
|
|
170
|
-
|
|
171
|
-
|
|
178
|
+
- [#4967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4967)
|
|
179
|
+
[`b443b5a60f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b443b5a60f) - Renamed
|
|
180
|
+
template package
|
package/LICENSE.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
Copyright 2020 Atlassian Pty Ltd
|
|
2
2
|
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
|
|
5
|
-
You may obtain a copy of the License at
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
4
|
+
compliance with the License. You may obtain a copy of the License at
|
|
6
5
|
|
|
7
6
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
7
|
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
limitations under the License.
|
|
8
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
9
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
10
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
11
|
+
License.
|
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Visually hidden
|
|
2
2
|
|
|
3
|
-
A utility that hides content from the screen while retaining readability by screen readers for
|
|
3
|
+
A utility that hides content from the screen while retaining readability by screen readers for
|
|
4
|
+
accessibility.
|
|
4
5
|
|
|
5
6
|
## Installation
|
|
6
7
|
|
|
@@ -5,8 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
+
/**
|
|
9
|
+
* @jsxRuntime classic
|
|
10
|
+
*/
|
|
8
11
|
/** @jsx jsx */
|
|
9
12
|
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
|
+
|
|
10
15
|
// eslint-disable-next-line @atlaskit/design-system/use-visually-hidden
|
|
11
16
|
var visuallyHiddenStyles = (0, _react.css)({
|
|
12
17
|
width: '1px',
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
2
5
|
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
7
|
import { css, jsx } from '@emotion/react';
|
|
4
8
|
// eslint-disable-next-line @atlaskit/design-system/use-visually-hidden
|
|
5
9
|
const visuallyHiddenStyles = css({
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
*/
|
|
1
4
|
/** @jsx jsx */
|
|
2
5
|
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
7
|
import { css, jsx } from '@emotion/react';
|
|
4
8
|
// eslint-disable-next-line @atlaskit/design-system/use-visually-hidden
|
|
5
9
|
var visuallyHiddenStyles = css({
|
package/dist/types/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,80 +1,78 @@
|
|
|
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
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
80
|
-
}
|
|
2
|
+
"name": "@atlaskit/visually-hidden",
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"description": "A utility that hides content from the screen while retaining readability by screen readers for accessibility.",
|
|
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
|
+
"atlassian": {
|
|
18
|
+
"team": "Design System Team",
|
|
19
|
+
"inPublicMirror": true,
|
|
20
|
+
"releaseModel": "continuous",
|
|
21
|
+
"runReact18": true,
|
|
22
|
+
"website": {
|
|
23
|
+
"name": "Visually hidden",
|
|
24
|
+
"category": "Components"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@babel/runtime": "^7.0.0",
|
|
29
|
+
"@emotion/react": "^11.7.1"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@af/accessibility-testing": "*",
|
|
36
|
+
"@atlaskit/ds-lib": "^2.3.0",
|
|
37
|
+
"@atlaskit/ssr": "*",
|
|
38
|
+
"@atlaskit/toggle": "^13.2.0",
|
|
39
|
+
"@atlaskit/visual-regression": "^0.10.0",
|
|
40
|
+
"@testing-library/react": "^12.1.5",
|
|
41
|
+
"react-dom": "^16.8.0",
|
|
42
|
+
"typescript": "~5.4.2",
|
|
43
|
+
"wait-for-expect": "^1.2.0"
|
|
44
|
+
},
|
|
45
|
+
"techstack": {
|
|
46
|
+
"@atlassian/frontend": {
|
|
47
|
+
"import-structure": "atlassian-conventions",
|
|
48
|
+
"circular-dependencies": "file-and-folder-level"
|
|
49
|
+
},
|
|
50
|
+
"@repo/internal": {
|
|
51
|
+
"dom-events": "use-bind-event-listener",
|
|
52
|
+
"design-system": "v1",
|
|
53
|
+
"styling": [
|
|
54
|
+
"static",
|
|
55
|
+
"emotion"
|
|
56
|
+
],
|
|
57
|
+
"ui-components": "lite-mode",
|
|
58
|
+
"analytics": "analytics-next",
|
|
59
|
+
"design-tokens": [
|
|
60
|
+
"color",
|
|
61
|
+
"spacing"
|
|
62
|
+
],
|
|
63
|
+
"deprecation": "no-deprecated-imports"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"typesVersions": {
|
|
67
|
+
">=4.5 <4.9": {
|
|
68
|
+
"*": [
|
|
69
|
+
"dist/types-ts4.5/*",
|
|
70
|
+
"dist/types-ts4.5/index.d.ts"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"af:exports": {
|
|
75
|
+
".": "./src/index.tsx"
|
|
76
|
+
},
|
|
77
|
+
"homepage": "https://atlassian.design/components/visually-hidden/"
|
|
78
|
+
}
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/visually-hidden"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -24,10 +25,10 @@ export default VisuallyHidden;
|
|
|
24
25
|
|
|
25
26
|
// @public (undocumented)
|
|
26
27
|
export type VisuallyHiddenProps = {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
role?: string;
|
|
30
|
+
id?: string;
|
|
31
|
+
testId?: string;
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
// (No @packageDocumentation comment for this package)
|
|
@@ -41,7 +42,7 @@ export type VisuallyHiddenProps = {
|
|
|
41
42
|
|
|
42
43
|
```json
|
|
43
44
|
{
|
|
44
|
-
|
|
45
|
+
"react": "^16.8.0"
|
|
45
46
|
}
|
|
46
47
|
```
|
|
47
48
|
|