@atlaskit/visually-hidden 1.2.4 → 1.3.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 +79 -22
- package/dist/cjs/visually-hidden.js +1 -2
- package/package.json +28 -26
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,114 +1,171 @@
|
|
|
1
1
|
# @atlaskit/visually-hidden
|
|
2
2
|
|
|
3
|
+
## 1.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#94500](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94500)
|
|
8
|
+
[`90156a599d98`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/90156a599d98) -
|
|
9
|
+
Add support for React 18.
|
|
10
|
+
|
|
11
|
+
## 1.2.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
16
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
17
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
18
|
+
|
|
3
19
|
## 1.2.4
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
6
22
|
|
|
7
|
-
-
|
|
23
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
24
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
25
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
26
|
+
testing.
|
|
8
27
|
|
|
9
28
|
## 1.2.3
|
|
10
29
|
|
|
11
30
|
### Patch Changes
|
|
12
31
|
|
|
13
|
-
-
|
|
32
|
+
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
|
|
33
|
+
[`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) -
|
|
34
|
+
Internal change to enforce token usage for spacing properties. There is no expected visual or
|
|
35
|
+
behaviour change.
|
|
14
36
|
|
|
15
37
|
## 1.2.2
|
|
16
38
|
|
|
17
39
|
### Patch Changes
|
|
18
40
|
|
|
19
|
-
-
|
|
41
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
42
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
43
|
+
legacy types are published for TS 4.5-4.8
|
|
20
44
|
|
|
21
45
|
## 1.2.1
|
|
22
46
|
|
|
23
47
|
### Patch Changes
|
|
24
48
|
|
|
25
|
-
-
|
|
49
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
50
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
51
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
26
52
|
|
|
27
53
|
## 1.2.0
|
|
28
54
|
|
|
29
55
|
### Minor Changes
|
|
30
56
|
|
|
31
|
-
-
|
|
57
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
58
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
59
|
+
minor dependency bump
|
|
32
60
|
|
|
33
61
|
## 1.1.2
|
|
34
62
|
|
|
35
63
|
### Patch Changes
|
|
36
64
|
|
|
37
|
-
-
|
|
65
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
66
|
+
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
|
|
67
|
+
change to introduce spacing tokens to design system components.
|
|
38
68
|
|
|
39
69
|
## 1.1.1
|
|
40
70
|
|
|
41
71
|
### Patch Changes
|
|
42
72
|
|
|
43
|
-
-
|
|
73
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
74
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
|
|
75
|
+
Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
44
76
|
|
|
45
77
|
## 1.1.0
|
|
46
78
|
|
|
47
79
|
### Minor Changes
|
|
48
80
|
|
|
49
|
-
-
|
|
81
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
|
|
82
|
+
[`86b6aecec17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/86b6aecec17) -
|
|
83
|
+
Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
50
84
|
|
|
51
85
|
## 1.0.2
|
|
52
86
|
|
|
53
87
|
### Patch Changes
|
|
54
88
|
|
|
55
|
-
-
|
|
89
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
90
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
|
|
91
|
+
Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
56
92
|
|
|
57
93
|
## 1.0.1
|
|
58
94
|
|
|
59
95
|
### Patch Changes
|
|
60
96
|
|
|
61
|
-
-
|
|
97
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
98
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
|
|
99
|
+
Upgrade to TypeScript 4.2.4
|
|
62
100
|
|
|
63
101
|
## 1.0.0
|
|
64
102
|
|
|
65
103
|
### Major Changes
|
|
66
104
|
|
|
67
|
-
-
|
|
105
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
106
|
+
[`08ce7935675`](https://bitbucket.org/atlassian/atlassian-frontend/commits/08ce7935675) - Update
|
|
107
|
+
`@atlaskit/visually-hidden` to v1. No breaking changes from previous version.
|
|
68
108
|
|
|
69
|
-
|
|
70
|
-
|
|
109
|
+
`@atlaskit/visually-hidden` now exposes an additional `id` prop. This prop is exposed to allow
|
|
110
|
+
consumers to pair the component with the `aria-describedby` HTML attribute.
|
|
71
111
|
|
|
72
112
|
## 0.1.2
|
|
73
113
|
|
|
74
114
|
### Patch Changes
|
|
75
115
|
|
|
76
|
-
-
|
|
116
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
|
|
117
|
+
[`248133ff889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/248133ff889) - Fixes
|
|
118
|
+
the name of the entrypoint in package.json
|
|
77
119
|
|
|
78
120
|
## 0.1.1
|
|
79
121
|
|
|
80
122
|
### Patch Changes
|
|
81
123
|
|
|
82
|
-
-
|
|
124
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
|
|
125
|
+
[`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) -
|
|
126
|
+
Internal wiring up to the tokens techstack, no code changes.
|
|
83
127
|
|
|
84
128
|
## 0.1.0
|
|
85
129
|
|
|
86
130
|
### Minor Changes
|
|
87
131
|
|
|
88
|
-
-
|
|
132
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
|
|
133
|
+
[`4a26bfd6414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a26bfd6414) -
|
|
134
|
+
Initial release of the visually hidden component. This component should be used as an
|
|
135
|
+
accessbility tool to wrap content for screen readers that would otherwise not be relevant in the
|
|
136
|
+
natural flow of the page.
|
|
89
137
|
|
|
90
138
|
## 0.0.4
|
|
91
139
|
|
|
92
140
|
### Patch Changes
|
|
93
141
|
|
|
94
|
-
-
|
|
142
|
+
- [#8306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8306)
|
|
143
|
+
[`229b32842b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/229b32842b5) - Fix
|
|
144
|
+
.npmignore and tsconfig.json for **tests**
|
|
95
145
|
|
|
96
146
|
## 0.0.3
|
|
97
147
|
|
|
98
148
|
### Patch Changes
|
|
99
149
|
|
|
100
|
-
-
|
|
150
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
151
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
|
|
152
|
+
Transpile packages using babel rather than tsc
|
|
101
153
|
|
|
102
154
|
## 0.0.2
|
|
103
155
|
|
|
104
156
|
### Patch Changes
|
|
105
157
|
|
|
106
|
-
-
|
|
107
|
-
|
|
108
|
-
|
|
158
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
159
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
160
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
161
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle
|
|
162
|
+
Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
163
|
+
`devDependencies` to denote version that the package was built with.
|
|
109
164
|
|
|
110
165
|
## 0.0.1
|
|
111
166
|
|
|
112
167
|
### Patch Changes
|
|
113
168
|
|
|
114
|
-
-
|
|
169
|
+
- [#4967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4967)
|
|
170
|
+
[`b443b5a60f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b443b5a60f) - Renamed
|
|
171
|
+
template package
|
package/package.json
CHANGED
|
@@ -1,55 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/visually-hidden",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "A utility that hides content from the screen while retaining readability by screen readers for accessibility.",
|
|
5
|
-
"author": "Atlassian Pty Ltd",
|
|
6
|
-
"license": "Apache-2.0",
|
|
7
5
|
"publishConfig": {
|
|
8
6
|
"registry": "https://registry.npmjs.org/"
|
|
9
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",
|
|
10
17
|
"atlassian": {
|
|
11
18
|
"team": "Design System Team",
|
|
12
19
|
"inPublicMirror": true,
|
|
13
20
|
"releaseModel": "continuous",
|
|
21
|
+
"runReact18": true,
|
|
14
22
|
"website": {
|
|
15
23
|
"name": "Visually hidden",
|
|
16
24
|
"category": "Components"
|
|
17
25
|
}
|
|
18
26
|
},
|
|
19
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
20
|
-
"main": "dist/cjs/index.js",
|
|
21
|
-
"module": "dist/esm/index.js",
|
|
22
|
-
"module:es2019": "dist/es2019/index.js",
|
|
23
|
-
"types": "dist/types/index.d.ts",
|
|
24
|
-
"typesVersions": {
|
|
25
|
-
">=4.5 <4.9": {
|
|
26
|
-
"*": [
|
|
27
|
-
"dist/types-ts4.5/*",
|
|
28
|
-
"dist/types-ts4.5/index.d.ts"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"sideEffects": false,
|
|
33
|
-
"atlaskit:src": "src/index.tsx",
|
|
34
|
-
"af:exports": {
|
|
35
|
-
".": "./src/index.tsx"
|
|
36
|
-
},
|
|
37
27
|
"dependencies": {
|
|
38
28
|
"@babel/runtime": "^7.0.0",
|
|
39
29
|
"@emotion/react": "^11.7.1"
|
|
40
30
|
},
|
|
41
31
|
"peerDependencies": {
|
|
42
|
-
"react": "^16.8.0"
|
|
32
|
+
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
|
|
43
33
|
},
|
|
44
34
|
"devDependencies": {
|
|
45
35
|
"@af/accessibility-testing": "*",
|
|
46
|
-
"@atlaskit/ds-lib": "^2.
|
|
36
|
+
"@atlaskit/ds-lib": "^2.3.0",
|
|
47
37
|
"@atlaskit/ssr": "*",
|
|
48
|
-
"@atlaskit/
|
|
38
|
+
"@atlaskit/toggle": "^13.0.0",
|
|
39
|
+
"@atlaskit/visual-regression": "^0.10.0",
|
|
49
40
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
50
41
|
"@testing-library/react": "^12.1.5",
|
|
51
42
|
"react-dom": "^16.8.0",
|
|
52
|
-
"typescript": "~4.
|
|
43
|
+
"typescript": "~5.4.2",
|
|
53
44
|
"wait-for-expect": "^1.2.0"
|
|
54
45
|
},
|
|
55
46
|
"techstack": {
|
|
@@ -73,6 +64,17 @@
|
|
|
73
64
|
"deprecation": "no-deprecated-imports"
|
|
74
65
|
}
|
|
75
66
|
},
|
|
67
|
+
"typesVersions": {
|
|
68
|
+
">=4.5 <4.9": {
|
|
69
|
+
"*": [
|
|
70
|
+
"dist/types-ts4.5/*",
|
|
71
|
+
"dist/types-ts4.5/index.d.ts"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"af:exports": {
|
|
76
|
+
".": "./src/index.tsx"
|
|
77
|
+
},
|
|
76
78
|
"homepage": "https://atlassian.design/components/visually-hidden/",
|
|
77
79
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
78
|
-
}
|
|
80
|
+
}
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED