@atlaskit/visually-hidden 1.2.5 → 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.
Files changed (2) hide show
  1. package/CHANGELOG.md +74 -23
  2. package/package.json +5 -3
package/CHANGELOG.md CHANGED
@@ -1,120 +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
+
3
11
  ## 1.2.5
4
12
 
5
13
  ### Patch Changes
6
14
 
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`
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`
8
18
 
9
19
  ## 1.2.4
10
20
 
11
21
  ### Patch Changes
12
22
 
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.
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.
14
27
 
15
28
  ## 1.2.3
16
29
 
17
30
  ### Patch Changes
18
31
 
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.
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.
20
36
 
21
37
  ## 1.2.2
22
38
 
23
39
  ### Patch Changes
24
40
 
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
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
26
44
 
27
45
  ## 1.2.1
28
46
 
29
47
  ### Patch Changes
30
48
 
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`
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`
32
52
 
33
53
  ## 1.2.0
34
54
 
35
55
  ### Minor Changes
36
56
 
37
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
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
38
60
 
39
61
  ## 1.1.2
40
62
 
41
63
  ### Patch Changes
42
64
 
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.
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.
44
68
 
45
69
  ## 1.1.1
46
70
 
47
71
  ### Patch Changes
48
72
 
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`
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`
50
76
 
51
77
  ## 1.1.0
52
78
 
53
79
  ### Minor Changes
54
80
 
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.
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.
56
84
 
57
85
  ## 1.0.2
58
86
 
59
87
  ### Patch Changes
60
88
 
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`.
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`.
62
92
 
63
93
  ## 1.0.1
64
94
 
65
95
  ### Patch Changes
66
96
 
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
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
68
100
 
69
101
  ## 1.0.0
70
102
 
71
103
  ### Major Changes
72
104
 
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.
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.
74
108
 
75
- `@atlaskit/visually-hidden` now exposes an additional `id` prop. This prop is exposed to allow consumers to pair the component with the
76
- `aria-describedby` HTML attribute.
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.
77
111
 
78
112
  ## 0.1.2
79
113
 
80
114
  ### Patch Changes
81
115
 
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
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
83
119
 
84
120
  ## 0.1.1
85
121
 
86
122
  ### Patch Changes
87
123
 
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.
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.
89
127
 
90
128
  ## 0.1.0
91
129
 
92
130
  ### Minor Changes
93
131
 
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.
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.
95
137
 
96
138
  ## 0.0.4
97
139
 
98
140
  ### Patch Changes
99
141
 
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**
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**
101
145
 
102
146
  ## 0.0.3
103
147
 
104
148
  ### Patch Changes
105
149
 
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
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
107
153
 
108
154
  ## 0.0.2
109
155
 
110
156
  ### Patch Changes
111
157
 
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.
113
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
114
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
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.
115
164
 
116
165
  ## 0.0.1
117
166
 
118
167
  ### Patch Changes
119
168
 
120
- - [#4967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4967) [`b443b5a60f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b443b5a60f) - Renamed template package
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/visually-hidden",
3
- "version": "1.2.5",
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
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -18,6 +18,7 @@
18
18
  "team": "Design System Team",
19
19
  "inPublicMirror": true,
20
20
  "releaseModel": "continuous",
21
+ "runReact18": true,
21
22
  "website": {
22
23
  "name": "Visually hidden",
23
24
  "category": "Components"
@@ -28,12 +29,13 @@
28
29
  "@emotion/react": "^11.7.1"
29
30
  },
30
31
  "peerDependencies": {
31
- "react": "^16.8.0"
32
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
32
33
  },
33
34
  "devDependencies": {
34
35
  "@af/accessibility-testing": "*",
35
- "@atlaskit/ds-lib": "^2.2.0",
36
+ "@atlaskit/ds-lib": "^2.3.0",
36
37
  "@atlaskit/ssr": "*",
38
+ "@atlaskit/toggle": "^13.0.0",
37
39
  "@atlaskit/visual-regression": "^0.10.0",
38
40
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
39
41
  "@testing-library/react": "^12.1.5",