@atlaskit/visually-hidden 1.2.5 → 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 +83 -23
- 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 -77
- package/report.api.md +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,120 +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
|
+
|
|
12
|
+
## 1.3.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
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.
|
|
19
|
+
|
|
3
20
|
## 1.2.5
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
6
23
|
|
|
7
|
-
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
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`
|
|
8
27
|
|
|
9
28
|
## 1.2.4
|
|
10
29
|
|
|
11
30
|
### Patch Changes
|
|
12
31
|
|
|
13
|
-
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
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.
|
|
14
36
|
|
|
15
37
|
## 1.2.3
|
|
16
38
|
|
|
17
39
|
### Patch Changes
|
|
18
40
|
|
|
19
|
-
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
|
|
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.
|
|
20
45
|
|
|
21
46
|
## 1.2.2
|
|
22
47
|
|
|
23
48
|
### Patch Changes
|
|
24
49
|
|
|
25
|
-
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
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
|
|
26
53
|
|
|
27
54
|
## 1.2.1
|
|
28
55
|
|
|
29
56
|
### Patch Changes
|
|
30
57
|
|
|
31
|
-
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
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`
|
|
32
61
|
|
|
33
62
|
## 1.2.0
|
|
34
63
|
|
|
35
64
|
### Minor Changes
|
|
36
65
|
|
|
37
|
-
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
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
|
|
38
69
|
|
|
39
70
|
## 1.1.2
|
|
40
71
|
|
|
41
72
|
### Patch Changes
|
|
42
73
|
|
|
43
|
-
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
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.
|
|
44
77
|
|
|
45
78
|
## 1.1.1
|
|
46
79
|
|
|
47
80
|
### Patch Changes
|
|
48
81
|
|
|
49
|
-
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
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`
|
|
50
85
|
|
|
51
86
|
## 1.1.0
|
|
52
87
|
|
|
53
88
|
### Minor Changes
|
|
54
89
|
|
|
55
|
-
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
|
|
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.
|
|
56
93
|
|
|
57
94
|
## 1.0.2
|
|
58
95
|
|
|
59
96
|
### Patch Changes
|
|
60
97
|
|
|
61
|
-
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
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`.
|
|
62
101
|
|
|
63
102
|
## 1.0.1
|
|
64
103
|
|
|
65
104
|
### Patch Changes
|
|
66
105
|
|
|
67
|
-
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
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
|
|
68
109
|
|
|
69
110
|
## 1.0.0
|
|
70
111
|
|
|
71
112
|
### Major Changes
|
|
72
113
|
|
|
73
|
-
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
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.
|
|
74
117
|
|
|
75
|
-
`@atlaskit/visually-hidden` now exposes an additional `id` prop. This prop is exposed to allow
|
|
76
|
-
`aria-describedby` HTML attribute.
|
|
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.
|
|
77
120
|
|
|
78
121
|
## 0.1.2
|
|
79
122
|
|
|
80
123
|
### Patch Changes
|
|
81
124
|
|
|
82
|
-
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
|
|
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
|
|
83
128
|
|
|
84
129
|
## 0.1.1
|
|
85
130
|
|
|
86
131
|
### Patch Changes
|
|
87
132
|
|
|
88
|
-
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
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.
|
|
89
136
|
|
|
90
137
|
## 0.1.0
|
|
91
138
|
|
|
92
139
|
### Minor Changes
|
|
93
140
|
|
|
94
|
-
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
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.
|
|
95
146
|
|
|
96
147
|
## 0.0.4
|
|
97
148
|
|
|
98
149
|
### Patch Changes
|
|
99
150
|
|
|
100
|
-
- [#8306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8306)
|
|
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**
|
|
101
154
|
|
|
102
155
|
## 0.0.3
|
|
103
156
|
|
|
104
157
|
### Patch Changes
|
|
105
158
|
|
|
106
|
-
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
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
|
|
107
162
|
|
|
108
163
|
## 0.0.2
|
|
109
164
|
|
|
110
165
|
### Patch Changes
|
|
111
166
|
|
|
112
|
-
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
113
|
-
|
|
114
|
-
|
|
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.
|
|
115
173
|
|
|
116
174
|
## 0.0.1
|
|
117
175
|
|
|
118
176
|
### Patch Changes
|
|
119
177
|
|
|
120
|
-
- [#4967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4967)
|
|
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,78 +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
|
-
}
|
|
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
|
|