@entur/a11y 0.2.50-beta.3 → 0.2.50
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 +231 -0
- package/dist/styles.css +10 -10
- package/package.json +8 -11
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [0.2.50](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.49...@entur/a11y@0.2.50) (2022-10-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/a11y
|
|
9
|
+
|
|
10
|
+
## [0.2.48](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.47...@entur/a11y@0.2.48) (2022-08-31)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/a11y
|
|
13
|
+
|
|
14
|
+
## [0.2.47](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.46...@entur/a11y@0.2.47) (2022-08-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @entur/a11y
|
|
17
|
+
|
|
18
|
+
## [0.2.46](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.45...@entur/a11y@0.2.46) (2022-08-09)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @entur/a11y
|
|
21
|
+
|
|
22
|
+
## [0.2.45](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.44...@entur/a11y@0.2.45) (2022-06-02)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @entur/a11y
|
|
25
|
+
|
|
26
|
+
## [0.2.44](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.43...@entur/a11y@0.2.44) (2022-05-13)
|
|
27
|
+
|
|
28
|
+
**Note:** Version bump only for package @entur/a11y
|
|
29
|
+
|
|
30
|
+
## [0.2.43](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.42...@entur/a11y@0.2.43) (2022-04-27)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @entur/a11y
|
|
33
|
+
|
|
34
|
+
## [0.2.42](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.41...@entur/a11y@0.2.42) (2022-02-09)
|
|
35
|
+
|
|
36
|
+
**Note:** Version bump only for package @entur/a11y
|
|
37
|
+
|
|
38
|
+
## [0.2.41](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.40...@entur/a11y@0.2.41) (2021-11-17)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @entur/a11y
|
|
41
|
+
|
|
42
|
+
## [0.2.40](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.39...@entur/a11y@0.2.40) (2021-09-23)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @entur/a11y
|
|
45
|
+
|
|
46
|
+
## [0.2.39](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.38...@entur/a11y@0.2.39) (2021-09-07)
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
- utilize reworked focus token ([586758f](https://bitbucket.org/enturas/design-system/commits/586758fc86eb5aa52116c63c14ef033eb2e8b12f))
|
|
51
|
+
|
|
52
|
+
## [0.2.38](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.37...@entur/a11y@0.2.38) (2021-06-25)
|
|
53
|
+
|
|
54
|
+
**Note:** Version bump only for package @entur/a11y
|
|
55
|
+
|
|
56
|
+
## [0.2.37](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.36...@entur/a11y@0.2.37) (2021-04-23)
|
|
57
|
+
|
|
58
|
+
### Bug Fixes
|
|
59
|
+
|
|
60
|
+
- utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
|
|
61
|
+
- **skiptocontent:** increase z index ([fc40d22](https://bitbucket.org/enturas/design-system/commits/fc40d228cd4a303bffc2a176cfc75d2dde6c4f21))
|
|
62
|
+
|
|
63
|
+
## [0.2.36](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.35...@entur/a11y@0.2.36) (2021-03-02)
|
|
64
|
+
|
|
65
|
+
**Note:** Version bump only for package @entur/a11y
|
|
66
|
+
|
|
67
|
+
## [0.2.35](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.34...@entur/a11y@0.2.35) (2021-02-17)
|
|
68
|
+
|
|
69
|
+
**Note:** Version bump only for package @entur/a11y
|
|
70
|
+
|
|
71
|
+
## [0.2.34](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.33...@entur/a11y@0.2.34) (2021-01-20)
|
|
72
|
+
|
|
73
|
+
**Note:** Version bump only for package @entur/a11y
|
|
74
|
+
|
|
75
|
+
## [0.2.33](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.32...@entur/a11y@0.2.33) (2021-01-13)
|
|
76
|
+
|
|
77
|
+
**Note:** Version bump only for package @entur/a11y
|
|
78
|
+
|
|
79
|
+
## [0.2.32](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.31...@entur/a11y@0.2.32) (2021-01-05)
|
|
80
|
+
|
|
81
|
+
**Note:** Version bump only for package @entur/a11y
|
|
82
|
+
|
|
83
|
+
## [0.2.31](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.30...@entur/a11y@0.2.31) (2020-12-04)
|
|
84
|
+
|
|
85
|
+
**Note:** Version bump only for package @entur/a11y
|
|
86
|
+
|
|
87
|
+
## [0.2.30](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.29...@entur/a11y@0.2.30) (2020-10-23)
|
|
88
|
+
|
|
89
|
+
**Note:** Version bump only for package @entur/a11y
|
|
90
|
+
|
|
91
|
+
## [0.2.29](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.28...@entur/a11y@0.2.29) (2020-10-09)
|
|
92
|
+
|
|
93
|
+
**Note:** Version bump only for package @entur/a11y
|
|
94
|
+
|
|
95
|
+
## [0.2.28](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.27...@entur/a11y@0.2.28) (2020-09-14)
|
|
96
|
+
|
|
97
|
+
**Note:** Version bump only for package @entur/a11y
|
|
98
|
+
|
|
99
|
+
## [0.2.27](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.26...@entur/a11y@0.2.27) (2020-09-02)
|
|
100
|
+
|
|
101
|
+
**Note:** Version bump only for package @entur/a11y
|
|
102
|
+
|
|
103
|
+
## [0.2.26](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.25...@entur/a11y@0.2.26) (2020-08-19)
|
|
104
|
+
|
|
105
|
+
**Note:** Version bump only for package @entur/a11y
|
|
106
|
+
|
|
107
|
+
## [0.2.25](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.24...@entur/a11y@0.2.25) (2020-08-11)
|
|
108
|
+
|
|
109
|
+
**Note:** Version bump only for package @entur/a11y
|
|
110
|
+
|
|
111
|
+
## [0.2.24](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.23...@entur/a11y@0.2.24) (2020-07-03)
|
|
112
|
+
|
|
113
|
+
**Note:** Version bump only for package @entur/a11y
|
|
114
|
+
|
|
115
|
+
## [0.2.23](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.22...@entur/a11y@0.2.23) (2020-06-17)
|
|
116
|
+
|
|
117
|
+
**Note:** Version bump only for package @entur/a11y
|
|
118
|
+
|
|
119
|
+
## [0.2.22](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.21...@entur/a11y@0.2.22) (2020-05-27)
|
|
120
|
+
|
|
121
|
+
**Note:** Version bump only for package @entur/a11y
|
|
122
|
+
|
|
123
|
+
## [0.2.21](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.20...@entur/a11y@0.2.21) (2020-05-26)
|
|
124
|
+
|
|
125
|
+
**Note:** Version bump only for package @entur/a11y
|
|
126
|
+
|
|
127
|
+
## [0.2.20](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.19...@entur/a11y@0.2.20) (2020-05-20)
|
|
128
|
+
|
|
129
|
+
**Note:** Version bump only for package @entur/a11y
|
|
130
|
+
|
|
131
|
+
## [0.2.19](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.18...@entur/a11y@0.2.19) (2020-04-27)
|
|
132
|
+
|
|
133
|
+
**Note:** Version bump only for package @entur/a11y
|
|
134
|
+
|
|
135
|
+
## [0.2.18](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.17...@entur/a11y@0.2.18) (2020-04-23)
|
|
136
|
+
|
|
137
|
+
### Bug Fixes
|
|
138
|
+
|
|
139
|
+
- updated to use new focus styling where applicable ([d0a52c0](https://bitbucket.org/enturas/design-system/commits/d0a52c096b673c6647070a90dd79bef9003ee0ad))
|
|
140
|
+
|
|
141
|
+
## [0.2.17](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.16...@entur/a11y@0.2.17) (2020-03-20)
|
|
142
|
+
|
|
143
|
+
**Note:** Version bump only for package @entur/a11y
|
|
144
|
+
|
|
145
|
+
## [0.2.16](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.15...@entur/a11y@0.2.16) (2020-03-18)
|
|
146
|
+
|
|
147
|
+
**Note:** Version bump only for package @entur/a11y
|
|
148
|
+
|
|
149
|
+
## [0.2.15](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.14...@entur/a11y@0.2.15) (2020-02-20)
|
|
150
|
+
|
|
151
|
+
**Note:** Version bump only for package @entur/a11y
|
|
152
|
+
|
|
153
|
+
## [0.2.14](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.13...@entur/a11y@0.2.14) (2020-02-14)
|
|
154
|
+
|
|
155
|
+
**Note:** Version bump only for package @entur/a11y
|
|
156
|
+
|
|
157
|
+
## [0.2.13](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.12...@entur/a11y@0.2.13) (2020-02-10)
|
|
158
|
+
|
|
159
|
+
**Note:** Version bump only for package @entur/a11y
|
|
160
|
+
|
|
161
|
+
## [0.2.12](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.11...@entur/a11y@0.2.12) (2020-02-05)
|
|
162
|
+
|
|
163
|
+
### Bug Fixes
|
|
164
|
+
|
|
165
|
+
- remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
|
|
166
|
+
|
|
167
|
+
## [0.2.11](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.10...@entur/a11y@0.2.11) (2020-01-28)
|
|
168
|
+
|
|
169
|
+
**Note:** Version bump only for package @entur/a11y
|
|
170
|
+
|
|
171
|
+
## [0.2.10](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.9...@entur/a11y@0.2.10) (2020-01-27)
|
|
172
|
+
|
|
173
|
+
### Bug Fixes
|
|
174
|
+
|
|
175
|
+
- **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
|
|
176
|
+
|
|
177
|
+
## [0.2.9](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.8...@entur/a11y@0.2.9) (2020-01-20)
|
|
178
|
+
|
|
179
|
+
**Note:** Version bump only for package @entur/a11y
|
|
180
|
+
|
|
181
|
+
## [0.2.8](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.7...@entur/a11y@0.2.8) (2020-01-14)
|
|
182
|
+
|
|
183
|
+
**Note:** Version bump only for package @entur/a11y
|
|
184
|
+
|
|
185
|
+
## [0.2.7](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.6...@entur/a11y@0.2.7) (2020-01-13)
|
|
186
|
+
|
|
187
|
+
**Note:** Version bump only for package @entur/a11y
|
|
188
|
+
|
|
189
|
+
## [0.2.6](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.5...@entur/a11y@0.2.6) (2020-01-08)
|
|
190
|
+
|
|
191
|
+
### Bug Fixes
|
|
192
|
+
|
|
193
|
+
- warn in development if the developer have forgotten the CSS ([e5c30fc](https://bitbucket.org/enturas/design-system/commits/e5c30fc08624ef22c02773892778abd92205c6b0))
|
|
194
|
+
|
|
195
|
+
## [0.2.5](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.4...@entur/a11y@0.2.5) (2020-01-06)
|
|
196
|
+
|
|
197
|
+
**Note:** Version bump only for package @entur/a11y
|
|
198
|
+
|
|
199
|
+
## [0.2.4](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.3...@entur/a11y@0.2.4) (2019-12-17)
|
|
200
|
+
|
|
201
|
+
### Bug Fixes
|
|
202
|
+
|
|
203
|
+
- **VisuallyHidden:** make as prop optional ([d272e4d](https://bitbucket.org/enturas/design-system/commits/d272e4d32bcf954f164e99c5b90aa5aabf98c365))
|
|
204
|
+
|
|
205
|
+
## [0.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.2...@entur/a11y@0.2.3) (2019-12-10)
|
|
206
|
+
|
|
207
|
+
### Bug Fixes
|
|
208
|
+
|
|
209
|
+
- **SkipToContent:** make sure the SkipToContent line is hidden on all screens ([c5a87db](https://bitbucket.org/enturas/design-system/commits/c5a87dbf0bb35d8d86503abe9624db97a9060a41))
|
|
210
|
+
|
|
211
|
+
## [0.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.1...@entur/a11y@0.2.2) (2019-12-10)
|
|
212
|
+
|
|
213
|
+
### Bug Fixes
|
|
214
|
+
|
|
215
|
+
- adding default prop as part of documentation ([1ef7510](https://bitbucket.org/enturas/design-system/commits/1ef75107362f6262429d7fe31519b4353eccc8de))
|
|
216
|
+
- improving visuallyhidden by spreading props ([fb6ef99](https://bitbucket.org/enturas/design-system/commits/fb6ef995457a3921156114569ed4cac545566d58))
|
|
217
|
+
|
|
218
|
+
## [0.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/a11y@0.2.0...@entur/a11y@0.2.1) (2019-11-29)
|
|
219
|
+
|
|
220
|
+
**Note:** Version bump only for package @entur/a11y
|
|
221
|
+
|
|
222
|
+
# 0.2.0 (2019-11-22)
|
|
223
|
+
|
|
224
|
+
### Bug Fixes
|
|
225
|
+
|
|
226
|
+
- **SkipToContent:** make sure the SkipToContent doesn't show up when using the modal ([c227e2a](https://bitbucket.org/enturas/design-system/commits/c227e2a8224f2c8b12513fc17ca931c9c3596453))
|
|
227
|
+
|
|
228
|
+
### Features
|
|
229
|
+
|
|
230
|
+
- **types:** exporting all public types for public components ([4a277ab](https://bitbucket.org/enturas/design-system/commits/4a277ab266fdb32a6760821a07b1c6cc716bac85))
|
|
231
|
+
- add new package @entur/a11y ([9f54a30](https://bitbucket.org/enturas/design-system/commits/9f54a3030cc133fa4968cd654b062a29cd411309))
|
package/dist/styles.css
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--eds-a11y: 1;
|
|
3
|
-
}.eds-visually-hidden {
|
|
4
|
-
display: block;
|
|
5
|
-
border: 0;
|
|
6
|
-
clip: rect(0 0 0 0);
|
|
7
|
-
height: 1px;
|
|
8
|
-
width: 1px;
|
|
9
|
-
margin: -1px;
|
|
10
|
-
padding: 0;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
position: absolute;
|
|
13
3
|
}/* DO NOT CHANGE!*/
|
|
14
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
15
5
|
.eds-skip-to-content {
|
|
@@ -35,4 +25,14 @@
|
|
|
35
25
|
outline: none;
|
|
36
26
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
37
27
|
outline-offset: 0.125rem;
|
|
28
|
+
}.eds-visually-hidden {
|
|
29
|
+
display: block;
|
|
30
|
+
border: 0;
|
|
31
|
+
clip: rect(0 0 0 0);
|
|
32
|
+
height: 1px;
|
|
33
|
+
width: 1px;
|
|
34
|
+
margin: -1px;
|
|
35
|
+
padding: 0;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
position: absolute;
|
|
38
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/a11y",
|
|
3
|
-
"version": "0.2.50
|
|
3
|
+
"version": "0.2.50",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/a11y.esm.js",
|
|
@@ -17,21 +17,18 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"start": "
|
|
21
|
-
"build": "
|
|
22
|
-
"lint": "
|
|
20
|
+
"start": "dts watch --noClean",
|
|
21
|
+
"build": "dts build",
|
|
22
|
+
"lint": "dts lint"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": ">=16.8.0",
|
|
26
26
|
"react-dom": ">=16.8.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@entur/tokens": "^3.4.
|
|
30
|
-
"@entur/typography": "^1.7.1
|
|
31
|
-
"@entur/utils": "^0.4.6
|
|
29
|
+
"@entur/tokens": "^3.4.1",
|
|
30
|
+
"@entur/typography": "^1.7.1",
|
|
31
|
+
"@entur/utils": "^0.4.6"
|
|
32
32
|
},
|
|
33
|
-
"
|
|
34
|
-
"dts-cli": "^1.1.6"
|
|
35
|
-
},
|
|
36
|
-
"gitHead": "89c8eee86c247794134c34484a205e0f7f65d0a5"
|
|
33
|
+
"gitHead": "11fde5ffbfd805773572c3a7d999d63f2733e0c7"
|
|
37
34
|
}
|