@atlaskit/visually-hidden 1.3.0 → 1.4.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 +86 -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,188 @@
|
|
|
1
1
|
# @atlaskit/visually-hidden
|
|
2
2
|
|
|
3
|
+
## 1.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#116025](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116025)
|
|
8
|
+
[`cd506a937e44f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd506a937e44f) -
|
|
9
|
+
Internal change to how typography is applied. There should be no visual change.
|
|
10
|
+
|
|
11
|
+
## 1.4.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#111016](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111016)
|
|
16
|
+
[`d131599730792`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d131599730792) -
|
|
17
|
+
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
|
|
18
|
+
is implicitly set to automatic.
|
|
19
|
+
|
|
3
20
|
## 1.3.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
6
23
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
24
|
+
- [#94500](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94500)
|
|
25
|
+
[`90156a599d98`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/90156a599d98) -
|
|
26
|
+
Add support for React 18 in non-strict mode.
|
|
10
27
|
|
|
11
28
|
## 1.2.5
|
|
12
29
|
|
|
13
30
|
### Patch Changes
|
|
14
31
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
32
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
33
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
34
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
18
35
|
|
|
19
36
|
## 1.2.4
|
|
20
37
|
|
|
21
38
|
### Patch Changes
|
|
22
39
|
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
40
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
41
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
42
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
43
|
+
testing.
|
|
27
44
|
|
|
28
45
|
## 1.2.3
|
|
29
46
|
|
|
30
47
|
### Patch Changes
|
|
31
48
|
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
49
|
+
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
|
|
50
|
+
[`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal
|
|
51
|
+
change to enforce token usage for spacing properties. There is no expected visual or behaviour
|
|
52
|
+
change.
|
|
36
53
|
|
|
37
54
|
## 1.2.2
|
|
38
55
|
|
|
39
56
|
### Patch Changes
|
|
40
57
|
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
58
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
59
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
60
|
+
legacy types are published for TS 4.5-4.8
|
|
44
61
|
|
|
45
62
|
## 1.2.1
|
|
46
63
|
|
|
47
64
|
### Patch Changes
|
|
48
65
|
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
66
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
67
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
68
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
52
69
|
|
|
53
70
|
## 1.2.0
|
|
54
71
|
|
|
55
72
|
### Minor Changes
|
|
56
73
|
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
74
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
75
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
76
|
+
minor dependency bump
|
|
60
77
|
|
|
61
78
|
## 1.1.2
|
|
62
79
|
|
|
63
80
|
### Patch Changes
|
|
64
81
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
82
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
83
|
+
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
|
|
84
|
+
change to introduce spacing tokens to design system components.
|
|
68
85
|
|
|
69
86
|
## 1.1.1
|
|
70
87
|
|
|
71
88
|
### Patch Changes
|
|
72
89
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
90
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
91
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
92
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
76
93
|
|
|
77
94
|
## 1.1.0
|
|
78
95
|
|
|
79
96
|
### Minor Changes
|
|
80
97
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
98
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
|
|
99
|
+
[`86b6aecec17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/86b6aecec17) - Updates
|
|
100
|
+
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
84
101
|
|
|
85
102
|
## 1.0.2
|
|
86
103
|
|
|
87
104
|
### Patch Changes
|
|
88
105
|
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
106
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
107
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
108
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
92
109
|
|
|
93
110
|
## 1.0.1
|
|
94
111
|
|
|
95
112
|
### Patch Changes
|
|
96
113
|
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
114
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
115
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
116
|
+
to TypeScript 4.2.4
|
|
100
117
|
|
|
101
118
|
## 1.0.0
|
|
102
119
|
|
|
103
120
|
### Major Changes
|
|
104
121
|
|
|
105
|
-
-
|
|
106
|
-
|
|
107
|
-
|
|
122
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
123
|
+
[`08ce7935675`](https://bitbucket.org/atlassian/atlassian-frontend/commits/08ce7935675) - Update
|
|
124
|
+
`@atlaskit/visually-hidden` to v1. No breaking changes from previous version.
|
|
108
125
|
|
|
109
|
-
|
|
110
|
-
|
|
126
|
+
`@atlaskit/visually-hidden` now exposes an additional `id` prop. This prop is exposed to allow
|
|
127
|
+
consumers to pair the component with the `aria-describedby` HTML attribute.
|
|
111
128
|
|
|
112
129
|
## 0.1.2
|
|
113
130
|
|
|
114
131
|
### Patch Changes
|
|
115
132
|
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
|
|
133
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
|
|
134
|
+
[`248133ff889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/248133ff889) - Fixes
|
|
135
|
+
the name of the entrypoint in package.json
|
|
119
136
|
|
|
120
137
|
## 0.1.1
|
|
121
138
|
|
|
122
139
|
### Patch Changes
|
|
123
140
|
|
|
124
|
-
-
|
|
125
|
-
|
|
126
|
-
|
|
141
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
142
|
+
[`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) - Internal
|
|
143
|
+
wiring up to the tokens techstack, no code changes.
|
|
127
144
|
|
|
128
145
|
## 0.1.0
|
|
129
146
|
|
|
130
147
|
### Minor Changes
|
|
131
148
|
|
|
132
|
-
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
149
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
150
|
+
[`4a26bfd6414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a26bfd6414) - Initial
|
|
151
|
+
release of the visually hidden component. This component should be used as an accessbility tool to
|
|
152
|
+
wrap content for screen readers that would otherwise not be relevant in the natural flow of the
|
|
153
|
+
page.
|
|
137
154
|
|
|
138
155
|
## 0.0.4
|
|
139
156
|
|
|
140
157
|
### Patch Changes
|
|
141
158
|
|
|
142
|
-
-
|
|
143
|
-
|
|
144
|
-
|
|
159
|
+
- [#8306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8306)
|
|
160
|
+
[`229b32842b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/229b32842b5) - Fix
|
|
161
|
+
.npmignore and tsconfig.json for **tests**
|
|
145
162
|
|
|
146
163
|
## 0.0.3
|
|
147
164
|
|
|
148
165
|
### Patch Changes
|
|
149
166
|
|
|
150
|
-
-
|
|
151
|
-
|
|
152
|
-
|
|
167
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
168
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
169
|
+
packages using babel rather than tsc
|
|
153
170
|
|
|
154
171
|
## 0.0.2
|
|
155
172
|
|
|
156
173
|
### Patch Changes
|
|
157
174
|
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
175
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
176
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
177
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
178
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
179
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
180
|
+
`devDependencies` to denote version that the package was built with.
|
|
164
181
|
|
|
165
182
|
## 0.0.1
|
|
166
183
|
|
|
167
184
|
### Patch Changes
|
|
168
185
|
|
|
169
|
-
-
|
|
170
|
-
|
|
171
|
-
|
|
186
|
+
- [#4967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4967)
|
|
187
|
+
[`b443b5a60f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b443b5a60f) - Renamed
|
|
188
|
+
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.1",
|
|
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
|
|