@atlaskit/visually-hidden 1.2.3 → 1.2.5
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 +29 -17
- package/dist/cjs/visually-hidden.js +1 -2
- package/package.json +26 -31
- package/report.api.md +14 -1
- 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,64 +1,76 @@
|
|
|
1
1
|
# @atlaskit/visually-hidden
|
|
2
2
|
|
|
3
|
+
## 1.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
|
+
|
|
9
|
+
## 1.2.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
14
|
+
|
|
3
15
|
## 1.2.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
19
|
+
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935) [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
8
20
|
|
|
9
21
|
## 1.2.2
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
25
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
14
26
|
|
|
15
27
|
## 1.2.1
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
31
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
20
32
|
|
|
21
33
|
## 1.2.0
|
|
22
34
|
|
|
23
35
|
### Minor Changes
|
|
24
36
|
|
|
25
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
37
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
26
38
|
|
|
27
39
|
## 1.1.2
|
|
28
40
|
|
|
29
41
|
### Patch Changes
|
|
30
42
|
|
|
31
|
-
- [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
43
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303) [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
32
44
|
|
|
33
45
|
## 1.1.1
|
|
34
46
|
|
|
35
47
|
### Patch Changes
|
|
36
48
|
|
|
37
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
49
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
38
50
|
|
|
39
51
|
## 1.1.0
|
|
40
52
|
|
|
41
53
|
### Minor Changes
|
|
42
54
|
|
|
43
|
-
- [`86b6aecec17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/86b6aecec17) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
55
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`86b6aecec17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/86b6aecec17) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
44
56
|
|
|
45
57
|
## 1.0.2
|
|
46
58
|
|
|
47
59
|
### Patch Changes
|
|
48
60
|
|
|
49
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
61
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
50
62
|
|
|
51
63
|
## 1.0.1
|
|
52
64
|
|
|
53
65
|
### Patch Changes
|
|
54
66
|
|
|
55
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
67
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
56
68
|
|
|
57
69
|
## 1.0.0
|
|
58
70
|
|
|
59
71
|
### Major Changes
|
|
60
72
|
|
|
61
|
-
- [`08ce7935675`](https://bitbucket.org/atlassian/atlassian-frontend/commits/08ce7935675) - Update `@atlaskit/visually-hidden` to v1. No breaking changes from previous version.
|
|
73
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`08ce7935675`](https://bitbucket.org/atlassian/atlassian-frontend/commits/08ce7935675) - Update `@atlaskit/visually-hidden` to v1. No breaking changes from previous version.
|
|
62
74
|
|
|
63
75
|
`@atlaskit/visually-hidden` now exposes an additional `id` prop. This prop is exposed to allow consumers to pair the component with the
|
|
64
76
|
`aria-describedby` HTML attribute.
|
|
@@ -67,37 +79,37 @@
|
|
|
67
79
|
|
|
68
80
|
### Patch Changes
|
|
69
81
|
|
|
70
|
-
- [`248133ff889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/248133ff889) - Fixes the name of the entrypoint in package.json
|
|
82
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`248133ff889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/248133ff889) - Fixes the name of the entrypoint in package.json
|
|
71
83
|
|
|
72
84
|
## 0.1.1
|
|
73
85
|
|
|
74
86
|
### Patch Changes
|
|
75
87
|
|
|
76
|
-
- [`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) - Internal wiring up to the tokens techstack, no code changes.
|
|
88
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`cd34d8ca8ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd34d8ca8ea) - Internal wiring up to the tokens techstack, no code changes.
|
|
77
89
|
|
|
78
90
|
## 0.1.0
|
|
79
91
|
|
|
80
92
|
### Minor Changes
|
|
81
93
|
|
|
82
|
-
- [`4a26bfd6414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a26bfd6414) - Initial release of the visually hidden component. This component should be used as an accessbility tool to wrap content for screen readers that would otherwise not be relevant in the natural flow of the page.
|
|
94
|
+
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`4a26bfd6414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a26bfd6414) - Initial release of the visually hidden component. This component should be used as an accessbility tool to wrap content for screen readers that would otherwise not be relevant in the natural flow of the page.
|
|
83
95
|
|
|
84
96
|
## 0.0.4
|
|
85
97
|
|
|
86
98
|
### Patch Changes
|
|
87
99
|
|
|
88
|
-
- [`229b32842b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/229b32842b5) - Fix .npmignore and tsconfig.json for **tests**
|
|
100
|
+
- [#8306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8306) [`229b32842b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/229b32842b5) - Fix .npmignore and tsconfig.json for **tests**
|
|
89
101
|
|
|
90
102
|
## 0.0.3
|
|
91
103
|
|
|
92
104
|
### Patch Changes
|
|
93
105
|
|
|
94
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
106
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
95
107
|
|
|
96
108
|
## 0.0.2
|
|
97
109
|
|
|
98
110
|
### Patch Changes
|
|
99
111
|
|
|
100
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
112
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
101
113
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
102
114
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
103
115
|
|
|
@@ -105,4 +117,4 @@
|
|
|
105
117
|
|
|
106
118
|
### Patch Changes
|
|
107
119
|
|
|
108
|
-
- [`b443b5a60f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b443b5a60f) - Renamed template package
|
|
120
|
+
- [#4967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4967) [`b443b5a60f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b443b5a60f) - Renamed template package
|
package/package.json
CHANGED
|
@@ -1,38 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/visually-hidden",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
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
|
},
|
|
10
|
-
"atlassian": {
|
|
11
|
-
"team": "Design System Team",
|
|
12
|
-
"inPublicMirror": true,
|
|
13
|
-
"releaseModel": "scheduled",
|
|
14
|
-
"website": {
|
|
15
|
-
"name": "Visually hidden",
|
|
16
|
-
"category": "Components"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
8
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
|
+
"author": "Atlassian Pty Ltd",
|
|
10
|
+
"license": "Apache-2.0",
|
|
20
11
|
"main": "dist/cjs/index.js",
|
|
21
12
|
"module": "dist/esm/index.js",
|
|
22
13
|
"module:es2019": "dist/es2019/index.js",
|
|
23
14
|
"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
15
|
"sideEffects": false,
|
|
33
16
|
"atlaskit:src": "src/index.tsx",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
17
|
+
"atlassian": {
|
|
18
|
+
"team": "Design System Team",
|
|
19
|
+
"inPublicMirror": true,
|
|
20
|
+
"releaseModel": "continuous",
|
|
21
|
+
"website": {
|
|
22
|
+
"name": "Visually hidden",
|
|
23
|
+
"category": "Components"
|
|
24
|
+
}
|
|
36
25
|
},
|
|
37
26
|
"dependencies": {
|
|
38
27
|
"@babel/runtime": "^7.0.0",
|
|
@@ -42,19 +31,14 @@
|
|
|
42
31
|
"react": "^16.8.0"
|
|
43
32
|
},
|
|
44
33
|
"devDependencies": {
|
|
45
|
-
"@
|
|
46
|
-
"@atlaskit/docs": "*",
|
|
34
|
+
"@af/accessibility-testing": "*",
|
|
47
35
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
48
|
-
"@atlaskit/section-message": "^6.4.0",
|
|
49
36
|
"@atlaskit/ssr": "*",
|
|
50
|
-
"@atlaskit/
|
|
51
|
-
"@atlaskit/tokens": "^1.4.0",
|
|
52
|
-
"@atlaskit/visual-regression": "^0.8.0",
|
|
53
|
-
"@atlaskit/webdriver-runner": "*",
|
|
37
|
+
"@atlaskit/visual-regression": "^0.10.0",
|
|
54
38
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
55
39
|
"@testing-library/react": "^12.1.5",
|
|
56
40
|
"react-dom": "^16.8.0",
|
|
57
|
-
"typescript": "~4.
|
|
41
|
+
"typescript": "~5.4.2",
|
|
58
42
|
"wait-for-expect": "^1.2.0"
|
|
59
43
|
},
|
|
60
44
|
"techstack": {
|
|
@@ -78,6 +62,17 @@
|
|
|
78
62
|
"deprecation": "no-deprecated-imports"
|
|
79
63
|
}
|
|
80
64
|
},
|
|
65
|
+
"typesVersions": {
|
|
66
|
+
">=4.5 <4.9": {
|
|
67
|
+
"*": [
|
|
68
|
+
"dist/types-ts4.5/*",
|
|
69
|
+
"dist/types-ts4.5/index.d.ts"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"af:exports": {
|
|
74
|
+
".": "./src/index.tsx"
|
|
75
|
+
},
|
|
81
76
|
"homepage": "https://atlassian.design/components/visually-hidden/",
|
|
82
77
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
83
|
-
}
|
|
78
|
+
}
|
package/report.api.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
### Table of contents
|
|
9
9
|
|
|
10
10
|
- [Main Entry Types](#main-entry-types)
|
|
11
|
+
- [Peer Dependencies](#peer-dependencies)
|
|
11
12
|
|
|
12
13
|
### Main Entry Types
|
|
13
14
|
|
|
@@ -23,13 +24,25 @@ export default VisuallyHidden;
|
|
|
23
24
|
|
|
24
25
|
// @public (undocumented)
|
|
25
26
|
export type VisuallyHiddenProps = {
|
|
26
|
-
testId?: string;
|
|
27
27
|
children: ReactNode;
|
|
28
28
|
role?: string;
|
|
29
29
|
id?: string;
|
|
30
|
+
testId?: string;
|
|
30
31
|
};
|
|
31
32
|
|
|
32
33
|
// (No @packageDocumentation comment for this package)
|
|
33
34
|
```
|
|
34
35
|
|
|
35
36
|
<!--SECTION END: Main Entry Types-->
|
|
37
|
+
|
|
38
|
+
### Peer Dependencies
|
|
39
|
+
|
|
40
|
+
<!--SECTION START: Peer Dependencies-->
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"react": "^16.8.0"
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
<!--SECTION END: Peer Dependencies-->
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED