@entur/menu 4.1.16-beta.3 → 4.1.17
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 +662 -0
- package/dist/styles.css +192 -192
- package/package.json +15 -21
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,662 @@
|
|
|
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
|
+
## [4.1.17](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.16...@entur/menu@4.1.17) (2022-10-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/menu
|
|
9
|
+
|
|
10
|
+
## [4.1.16](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.15...@entur/menu@4.1.16) (2022-10-31)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/menu
|
|
13
|
+
|
|
14
|
+
## [4.1.15](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.14...@entur/menu@4.1.15) (2022-10-20)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @entur/menu
|
|
17
|
+
|
|
18
|
+
## [4.1.14](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.13...@entur/menu@4.1.14) (2022-10-20)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @entur/menu
|
|
21
|
+
|
|
22
|
+
## [4.1.13](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.12...@entur/menu@4.1.13) (2022-10-12)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @entur/menu
|
|
25
|
+
|
|
26
|
+
## [4.1.12](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.11...@entur/menu@4.1.12) (2022-10-05)
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
- **menu:** add missing warning about styles from @entur/a11y ([bd7265f](https://bitbucket.org/enturas/design-system/commits/bd7265feab5a96039847b72728e203ae92f7e9a2))
|
|
31
|
+
|
|
32
|
+
## [4.1.10](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.9...@entur/menu@4.1.10) (2022-09-02)
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
- **collapsible side navigation:** add descriptive aria-label to open/close side navigation button ([a6a5faf](https://bitbucket.org/enturas/design-system/commits/a6a5faf697123ca350e2c6df8e12bb4f27fdc7ad))
|
|
37
|
+
- **side navigation:** add descriptive label for side navigation group ([bd35115](https://bitbucket.org/enturas/design-system/commits/bd351153e651e042aff04c7616ac2af4cc18901d))
|
|
38
|
+
- **side navigation item:** add aria-current=page to active side navigation item ([6b8f499](https://bitbucket.org/enturas/design-system/commits/6b8f499184ee69c6d5dc1505a8dc866691ee577a))
|
|
39
|
+
- **side navigation item:** add descriptive aria-label to side navigation item when icon is used ([0757134](https://bitbucket.org/enturas/design-system/commits/0757134121d9e78e401b3a05c277e7da67280486))
|
|
40
|
+
- **side navigation item:** add not-allowed cursor style to disabled navigation items ([a071782](https://bitbucket.org/enturas/design-system/commits/a07178257a9ce41b37f162314b48674f77351197))
|
|
41
|
+
- **Stepper:** add more descriptive labels for screenreaders ([5077da7](https://bitbucket.org/enturas/design-system/commits/5077da73d4add7e244641026dab49ba4f49d1125))
|
|
42
|
+
|
|
43
|
+
## [4.1.9](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.8...@entur/menu@4.1.9) (2022-08-31)
|
|
44
|
+
|
|
45
|
+
**Note:** Version bump only for package @entur/menu
|
|
46
|
+
|
|
47
|
+
## [4.1.8](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.7...@entur/menu@4.1.8) (2022-08-31)
|
|
48
|
+
|
|
49
|
+
### Bug Fixes
|
|
50
|
+
|
|
51
|
+
- **pagination:** add more descriptive screen reader texts to pagintion ([7673059](https://bitbucket.org/enturas/design-system/commits/7673059920e94c75ff4e15c24feced7557a59676))
|
|
52
|
+
|
|
53
|
+
## [4.1.7](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.6...@entur/menu@4.1.7) (2022-08-24)
|
|
54
|
+
|
|
55
|
+
### Bug Fixes
|
|
56
|
+
|
|
57
|
+
- add parameter and return types ([861b878](https://bitbucket.org/enturas/design-system/commits/861b8782b1fae34242d64371a8af7887ac545df6))
|
|
58
|
+
|
|
59
|
+
## [4.1.6](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.5...@entur/menu@4.1.6) (2022-08-09)
|
|
60
|
+
|
|
61
|
+
**Note:** Version bump only for package @entur/menu
|
|
62
|
+
|
|
63
|
+
## [4.1.5](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.4...@entur/menu@4.1.5) (2022-07-05)
|
|
64
|
+
|
|
65
|
+
**Note:** Version bump only for package @entur/menu
|
|
66
|
+
|
|
67
|
+
## [4.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.3...@entur/menu@4.1.4) (2022-06-28)
|
|
68
|
+
|
|
69
|
+
**Note:** Version bump only for package @entur/menu
|
|
70
|
+
|
|
71
|
+
## [4.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.2...@entur/menu@4.1.3) (2022-06-24)
|
|
72
|
+
|
|
73
|
+
**Note:** Version bump only for package @entur/menu
|
|
74
|
+
|
|
75
|
+
## [4.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.1...@entur/menu@4.1.2) (2022-06-02)
|
|
76
|
+
|
|
77
|
+
**Note:** Version bump only for package @entur/menu
|
|
78
|
+
|
|
79
|
+
## [4.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.0...@entur/menu@4.1.1) (2022-05-13)
|
|
80
|
+
|
|
81
|
+
### Bug Fixes
|
|
82
|
+
|
|
83
|
+
- **pagination:** fix lint errors for react hooks ([937c18e](https://bitbucket.org/enturas/design-system/commits/937c18ea4e595b520024af7d42944d612b5b471d))
|
|
84
|
+
|
|
85
|
+
# [4.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.10...@entur/menu@4.1.0) (2022-05-04)
|
|
86
|
+
|
|
87
|
+
### Features
|
|
88
|
+
|
|
89
|
+
- **pagination:** change how page entries are displayed and make pagination wrap on smaller screens ([ce27211](https://bitbucket.org/enturas/design-system/commits/ce27211aa2970f517eac3127a926215485236c5e))
|
|
90
|
+
|
|
91
|
+
## [4.0.10](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.9...@entur/menu@4.0.10) (2022-04-27)
|
|
92
|
+
|
|
93
|
+
**Note:** Version bump only for package @entur/menu
|
|
94
|
+
|
|
95
|
+
## [4.0.9](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.8...@entur/menu@4.0.9) (2022-04-20)
|
|
96
|
+
|
|
97
|
+
**Note:** Version bump only for package @entur/menu
|
|
98
|
+
|
|
99
|
+
## [4.0.8](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.7...@entur/menu@4.0.8) (2022-04-19)
|
|
100
|
+
|
|
101
|
+
**Note:** Version bump only for package @entur/menu
|
|
102
|
+
|
|
103
|
+
## [4.0.7](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.6...@entur/menu@4.0.7) (2022-03-01)
|
|
104
|
+
|
|
105
|
+
**Note:** Version bump only for package @entur/menu
|
|
106
|
+
|
|
107
|
+
## [4.0.6](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.5...@entur/menu@4.0.6) (2022-02-09)
|
|
108
|
+
|
|
109
|
+
**Note:** Version bump only for package @entur/menu
|
|
110
|
+
|
|
111
|
+
## [4.0.5](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.4...@entur/menu@4.0.5) (2021-11-17)
|
|
112
|
+
|
|
113
|
+
**Note:** Version bump only for package @entur/menu
|
|
114
|
+
|
|
115
|
+
## [4.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.3...@entur/menu@4.0.4) (2021-10-18)
|
|
116
|
+
|
|
117
|
+
### Bug Fixes
|
|
118
|
+
|
|
119
|
+
- **pagination:** improve focus styling ([0e42eca](https://bitbucket.org/enturas/design-system/commits/0e42eca9f5afcf94c7d4170b0d0df50ce8540ffc))
|
|
120
|
+
|
|
121
|
+
## [4.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.2...@entur/menu@4.0.3) (2021-09-23)
|
|
122
|
+
|
|
123
|
+
### Bug Fixes
|
|
124
|
+
|
|
125
|
+
- **sidenavigation:** fix focus styling for components ([755ddf8](https://bitbucket.org/enturas/design-system/commits/755ddf8393020eaadacaddcb33077d573365e652))
|
|
126
|
+
|
|
127
|
+
## [4.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.1...@entur/menu@4.0.2) (2021-09-13)
|
|
128
|
+
|
|
129
|
+
### Bug Fixes
|
|
130
|
+
|
|
131
|
+
- **overflowmenu:** fix position bug in flex-box environments ([a244c91](https://bitbucket.org/enturas/design-system/commits/a244c91547ec227db97675d60936b3de81925a5d))
|
|
132
|
+
- **overflowmenu item:** center align content properly ([fba5b6f](https://bitbucket.org/enturas/design-system/commits/fba5b6f10fde5aa82eec992d8a4f4e70c3f8d8b3))
|
|
133
|
+
|
|
134
|
+
## [4.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.0.0...@entur/menu@4.0.1) (2021-09-07)
|
|
135
|
+
|
|
136
|
+
### Bug Fixes
|
|
137
|
+
|
|
138
|
+
- fix lint warnings ([c4d620e](https://bitbucket.org/enturas/design-system/commits/c4d620ebc008527beb22dd2cd553799cb053960c))
|
|
139
|
+
- update dependencies ([3dfc73e](https://bitbucket.org/enturas/design-system/commits/3dfc73eaf90d0fccdb041adfe98c8a26ada0c47a))
|
|
140
|
+
- utilize reworked focus token ([586758f](https://bitbucket.org/enturas/design-system/commits/586758fc86eb5aa52116c63c14ef033eb2e8b12f))
|
|
141
|
+
|
|
142
|
+
# [4.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.6.6...@entur/menu@4.0.0) (2021-08-13)
|
|
143
|
+
|
|
144
|
+
### Bug Fixes
|
|
145
|
+
|
|
146
|
+
- **stepper:** make interactive prop false by default ([e6a89a3](https://bitbucket.org/enturas/design-system/commits/e6a89a33ae348f43e7fe2821f86159f0d6cfb09d))
|
|
147
|
+
|
|
148
|
+
### Features
|
|
149
|
+
|
|
150
|
+
- **overflow menu:** add position prop for component ([58254ab](https://bitbucket.org/enturas/design-system/commits/58254ab10b1385a175318ebc4ed5cf829b5dbd95))
|
|
151
|
+
|
|
152
|
+
### BREAKING CHANGES
|
|
153
|
+
|
|
154
|
+
- **stepper:** interactive prop has flipped is default state.
|
|
155
|
+
if not provided, add interactive={true} to your component
|
|
156
|
+
|
|
157
|
+
## [3.6.6](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.6.5...@entur/menu@3.6.6) (2021-07-16)
|
|
158
|
+
|
|
159
|
+
### Bug Fixes
|
|
160
|
+
|
|
161
|
+
- **pagination:** add small right margin to results label ([0a810c1](https://bitbucket.org/enturas/design-system/commits/0a810c1f134675713078643038df2caf88b39baa))
|
|
162
|
+
|
|
163
|
+
## [3.6.5](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.6.4...@entur/menu@3.6.5) (2021-06-25)
|
|
164
|
+
|
|
165
|
+
### Bug Fixes
|
|
166
|
+
|
|
167
|
+
- update dependencies ([eabf934](https://bitbucket.org/enturas/design-system/commits/eabf934928ed4fdb56153c02620871bc3f2e5e6e))
|
|
168
|
+
|
|
169
|
+
## [3.6.4](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.6.3...@entur/menu@3.6.4) (2021-06-04)
|
|
170
|
+
|
|
171
|
+
**Note:** Version bump only for package @entur/menu
|
|
172
|
+
|
|
173
|
+
## [3.6.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.6.2...@entur/menu@3.6.3) (2021-05-19)
|
|
174
|
+
|
|
175
|
+
**Note:** Version bump only for package @entur/menu
|
|
176
|
+
|
|
177
|
+
## [3.6.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.6.1...@entur/menu@3.6.2) (2021-05-05)
|
|
178
|
+
|
|
179
|
+
**Note:** Version bump only for package @entur/menu
|
|
180
|
+
|
|
181
|
+
## [3.6.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.6.0...@entur/menu@3.6.1) (2021-04-23)
|
|
182
|
+
|
|
183
|
+
### Bug Fixes
|
|
184
|
+
|
|
185
|
+
- utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
|
|
186
|
+
|
|
187
|
+
# [3.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.5.6...@entur/menu@3.6.0) (2021-04-09)
|
|
188
|
+
|
|
189
|
+
### Features
|
|
190
|
+
|
|
191
|
+
- **overflowmenu:** add disabled prop ([34b1431](https://bitbucket.org/enturas/design-system/commits/34b1431d20019b9fc066494492b49b34a745edc1))
|
|
192
|
+
|
|
193
|
+
## [3.5.6](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.5.5...@entur/menu@3.5.6) (2021-03-02)
|
|
194
|
+
|
|
195
|
+
### Bug Fixes
|
|
196
|
+
|
|
197
|
+
- **overflowmenu:** remove portal usage ([b3353dc](https://bitbucket.org/enturas/design-system/commits/b3353dcb810df388a30a215e86995f1f3e33e297))
|
|
198
|
+
|
|
199
|
+
## [3.5.5](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.5.4...@entur/menu@3.5.5) (2021-02-17)
|
|
200
|
+
|
|
201
|
+
### Bug Fixes
|
|
202
|
+
|
|
203
|
+
- **polymorphism:** update polymorphism dependency ([dc4c31d](https://bitbucket.org/enturas/design-system/commits/dc4c31d8e891a46c1f0c1fbd0a6a026c1638accc))
|
|
204
|
+
- add entur button to dependencies ([5ed4e89](https://bitbucket.org/enturas/design-system/commits/5ed4e89fedc0c2a4f5ac4ff17f3cb0d091e345eb))
|
|
205
|
+
|
|
206
|
+
## [3.5.4](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.5.3...@entur/menu@3.5.4) (2021-01-29)
|
|
207
|
+
|
|
208
|
+
### Bug Fixes
|
|
209
|
+
|
|
210
|
+
- **pagination:** update styling for active pagination page ([691dd0a](https://bitbucket.org/enturas/design-system/commits/691dd0af5ed6917398f2cb0b5453d5d97ec4a46d))
|
|
211
|
+
- **topnavigationitem:** add styling for hover state ([f245e65](https://bitbucket.org/enturas/design-system/commits/f245e65ea5f53deb83460737c99582ed2c19d633))
|
|
212
|
+
|
|
213
|
+
## [3.5.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.5.2...@entur/menu@3.5.3) (2021-01-20)
|
|
214
|
+
|
|
215
|
+
**Note:** Version bump only for package @entur/menu
|
|
216
|
+
|
|
217
|
+
## [3.5.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.5.1...@entur/menu@3.5.2) (2021-01-13)
|
|
218
|
+
|
|
219
|
+
### Bug Fixes
|
|
220
|
+
|
|
221
|
+
- transpose grey colors for updated color tokens ([d6a444c](https://bitbucket.org/enturas/design-system/commits/d6a444c2c37339b9bac0702738ed52693367d344))
|
|
222
|
+
- update dependency ([ced744f](https://bitbucket.org/enturas/design-system/commits/ced744f939ad05d530a483340dc33f6085d100ec))
|
|
223
|
+
|
|
224
|
+
## [3.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.5.0...@entur/menu@3.5.1) (2021-01-05)
|
|
225
|
+
|
|
226
|
+
**Note:** Version bump only for package @entur/menu
|
|
227
|
+
|
|
228
|
+
# [3.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.4.2...@entur/menu@3.5.0) (2020-12-04)
|
|
229
|
+
|
|
230
|
+
### Bug Fixes
|
|
231
|
+
|
|
232
|
+
- **overflowmenu:** improve typings ([3a96a84](https://bitbucket.org/enturas/design-system/commits/3a96a843c3cc74a510f9b4ff8e3e83cb7f9c18ed))
|
|
233
|
+
- **overflowmenu:** increase z index ([5493a9f](https://bitbucket.org/enturas/design-system/commits/5493a9fcadf73522dab5d1c2900d52ea11b7f965))
|
|
234
|
+
|
|
235
|
+
### Features
|
|
236
|
+
|
|
237
|
+
- **breadcrumb:** add support for polymorphic component typing ([ebea507](https://bitbucket.org/enturas/design-system/commits/ebea507f73d37055151731ca4ca55d345a43a160))
|
|
238
|
+
- **sidenavigation:** add support for polymorphic component typing ([4913760](https://bitbucket.org/enturas/design-system/commits/491376061de45dd03fb0be3568cce63b700a39a2))
|
|
239
|
+
- **topnavigationitem:** add support for polymorphic typings ([b188349](https://bitbucket.org/enturas/design-system/commits/b18834915b5b8dd4f7859749fc4229aad3e11937))
|
|
240
|
+
|
|
241
|
+
## [3.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.4.1...@entur/menu@3.4.2) (2020-11-10)
|
|
242
|
+
|
|
243
|
+
**Note:** Version bump only for package @entur/menu
|
|
244
|
+
|
|
245
|
+
## [3.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.4.0...@entur/menu@3.4.1) (2020-11-05)
|
|
246
|
+
|
|
247
|
+
**Note:** Version bump only for package @entur/menu
|
|
248
|
+
|
|
249
|
+
# [3.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.3.0...@entur/menu@3.4.0) (2020-10-28)
|
|
250
|
+
|
|
251
|
+
### Bug Fixes
|
|
252
|
+
|
|
253
|
+
- **sidenavigationitem:** adjust height ([cc3c7d8](https://bitbucket.org/enturas/design-system/commits/cc3c7d85ff1e87fbf650d1dfc70efd8a7d025afc))
|
|
254
|
+
|
|
255
|
+
### Features
|
|
256
|
+
|
|
257
|
+
- **pagination:** add prop for resultsPerPage label ([b58f936](https://bitbucket.org/enturas/design-system/commits/b58f93634a04216d4d2a278b3e21a648ec154e00))
|
|
258
|
+
|
|
259
|
+
# [3.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.2.0...@entur/menu@3.3.0) (2020-10-23)
|
|
260
|
+
|
|
261
|
+
### Bug Fixes
|
|
262
|
+
|
|
263
|
+
- **breadcrumb:** add underline for breadcrumb items ([b9012cd](https://bitbucket.org/enturas/design-system/commits/b9012cdd3780b825858e3a9e5fec938c8b7fbe48))
|
|
264
|
+
|
|
265
|
+
### Features
|
|
266
|
+
|
|
267
|
+
- **paginnation:** add showingresultslabel prop ([63cf5a1](https://bitbucket.org/enturas/design-system/commits/63cf5a14f79020e47f7395aa87fc182ba4a4136e))
|
|
268
|
+
|
|
269
|
+
# [3.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.1.4...@entur/menu@3.2.0) (2020-10-16)
|
|
270
|
+
|
|
271
|
+
### Bug Fixes
|
|
272
|
+
|
|
273
|
+
- **overflowmenu:** adjust height of menu items ([a00bac0](https://bitbucket.org/enturas/design-system/commits/a00bac0909e07c626b9d4ea8c117bb541a77d519))
|
|
274
|
+
|
|
275
|
+
### Features
|
|
276
|
+
|
|
277
|
+
- **pagination:** add hide next/prev button prop ([9e148e3](https://bitbucket.org/enturas/design-system/commits/9e148e3f4edbb72a78656f02ecfc98d55ca96287))
|
|
278
|
+
|
|
279
|
+
## [3.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.1.3...@entur/menu@3.1.4) (2020-10-09)
|
|
280
|
+
|
|
281
|
+
**Note:** Version bump only for package @entur/menu
|
|
282
|
+
|
|
283
|
+
## [3.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.1.2...@entur/menu@3.1.3) (2020-09-25)
|
|
284
|
+
|
|
285
|
+
**Note:** Version bump only for package @entur/menu
|
|
286
|
+
|
|
287
|
+
## [3.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.1.1...@entur/menu@3.1.2) (2020-09-14)
|
|
288
|
+
|
|
289
|
+
### Bug Fixes
|
|
290
|
+
|
|
291
|
+
- **collapsiblesidenavigation:** remove auto closing of menu group ([180081e](https://bitbucket.org/enturas/design-system/commits/180081e22f8b872fb9902849d37835c4e2f463fc))
|
|
292
|
+
|
|
293
|
+
## [3.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.1.0...@entur/menu@3.1.1) (2020-09-10)
|
|
294
|
+
|
|
295
|
+
### Bug Fixes
|
|
296
|
+
|
|
297
|
+
- **collapsiblesidenavigation:** improve collapse functionality ([619f352](https://bitbucket.org/enturas/design-system/commits/619f3523396ecc09ec0099eae2322a662978eda9))
|
|
298
|
+
- **sidenavigation:** adjust border-color and position ([63a151a](https://bitbucket.org/enturas/design-system/commits/63a151a54ac98cd458c07d1cefcf21eabfb6275a))
|
|
299
|
+
|
|
300
|
+
# [3.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.0.5...@entur/menu@3.1.0) (2020-09-02)
|
|
301
|
+
|
|
302
|
+
### Bug Fixes
|
|
303
|
+
|
|
304
|
+
- **pagination:** fix width for pagination with high pagecount ([d01d44d](https://bitbucket.org/enturas/design-system/commits/d01d44d7a64032f476adeb5c2d8e6de2d857d59a))
|
|
305
|
+
- **pagination:** shift font size for new token ([5538ff3](https://bitbucket.org/enturas/design-system/commits/5538ff30ed226e123fee5be6b2c036499b824f3c))
|
|
306
|
+
- **stepper:** fix stepper arrow edge ([0e37499](https://bitbucket.org/enturas/design-system/commits/0e37499bdd7da55d768f9f4f6e5ea720c0530713))
|
|
307
|
+
|
|
308
|
+
### Features
|
|
309
|
+
|
|
310
|
+
- **stepper:** add prop showstepperindex ([48b3f25](https://bitbucket.org/enturas/design-system/commits/48b3f256691e377b719ae1250b76af16f12b6445))
|
|
311
|
+
|
|
312
|
+
## [3.0.5](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.0.4...@entur/menu@3.0.5) (2020-08-26)
|
|
313
|
+
|
|
314
|
+
**Note:** Version bump only for package @entur/menu
|
|
315
|
+
|
|
316
|
+
## [3.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.0.3...@entur/menu@3.0.4) (2020-08-19)
|
|
317
|
+
|
|
318
|
+
**Note:** Version bump only for package @entur/menu
|
|
319
|
+
|
|
320
|
+
## [3.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.0.2...@entur/menu@3.0.3) (2020-08-14)
|
|
321
|
+
|
|
322
|
+
**Note:** Version bump only for package @entur/menu
|
|
323
|
+
|
|
324
|
+
## [3.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.0.1...@entur/menu@3.0.2) (2020-08-11)
|
|
325
|
+
|
|
326
|
+
### Bug Fixes
|
|
327
|
+
|
|
328
|
+
- **sidenavigation:** adjust fontweight and margin for sidenavigation ([8f9618b](https://bitbucket.org/enturas/design-system/commits/8f9618b4ba82edc6d53dff62ae6a07128594d757))
|
|
329
|
+
|
|
330
|
+
## [3.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@3.0.0...@entur/menu@3.0.1) (2020-07-24)
|
|
331
|
+
|
|
332
|
+
### Bug Fixes
|
|
333
|
+
|
|
334
|
+
- **pagination:** improve prop description ([64e7cd4](https://bitbucket.org/enturas/design-system/commits/64e7cd47381f99715b0ab95deb6a4a1ce4836a1e))
|
|
335
|
+
|
|
336
|
+
# [3.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@2.0.0...@entur/menu@3.0.0) (2020-07-22)
|
|
337
|
+
|
|
338
|
+
### Bug Fixes
|
|
339
|
+
|
|
340
|
+
- **breadcrumb:** fix padding between breadcrumb items ([357625a](https://bitbucket.org/enturas/design-system/commits/357625a4f2a321df247e240590f3bd5a2be4ef45))
|
|
341
|
+
- **pagination:** fix event bubbling on submit in pagination input ([2823526](https://bitbucket.org/enturas/design-system/commits/2823526ef5e2899f664bc6e92b64a336d223f2c6))
|
|
342
|
+
- **pagination:** fix last page result count ([d49974d](https://bitbucket.org/enturas/design-system/commits/d49974de499008235a89a1cfb1a6f4942e8230a5))
|
|
343
|
+
- **sidenavigation:** fix unwanted margin on svgs in sidenavigation ([1c2ccdd](https://bitbucket.org/enturas/design-system/commits/1c2ccdde654e2865a56874c08edf1eedba8079ae))
|
|
344
|
+
|
|
345
|
+
### Features
|
|
346
|
+
|
|
347
|
+
- **pagination:** add numberOfResults prop ([e723b09](https://bitbucket.org/enturas/design-system/commits/e723b0927ea5459a28bfba9fcc3ee40dedb7875d))
|
|
348
|
+
|
|
349
|
+
### BREAKING CHANGES
|
|
350
|
+
|
|
351
|
+
- **pagination:** numberOfResults is now required if you are using resultsPerPage functionality of Pagination
|
|
352
|
+
|
|
353
|
+
# [2.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.6.2...@entur/menu@2.0.0) (2020-07-16)
|
|
354
|
+
|
|
355
|
+
### Bug Fixes
|
|
356
|
+
|
|
357
|
+
- add collapsible behaviour in navigationgroup ([02cfe8e](https://bitbucket.org/enturas/design-system/commits/02cfe8ebd6f30b7dfe2303e37d7c33d003c72f07))
|
|
358
|
+
- optimize styling for collapsible side navigation ([f2a83f8](https://bitbucket.org/enturas/design-system/commits/f2a83f8e500aa92c0b7b796a3e0669e8ac932d62))
|
|
359
|
+
|
|
360
|
+
### Features
|
|
361
|
+
|
|
362
|
+
- add collapsibleSideNavigation component ([4c59dc1](https://bitbucket.org/enturas/design-system/commits/4c59dc187345a768c3f9037d1819e523fb9bd188))
|
|
363
|
+
- add icon prop for sidenavigationitem ([a82f0c3](https://bitbucket.org/enturas/design-system/commits/a82f0c3333df8147ab454a513c8d8fd881982992))
|
|
364
|
+
- sidenavigation is white by default ([b7a880d](https://bitbucket.org/enturas/design-system/commits/b7a880d8bd8ec126fe2f0ce8dfc9a5a90c483be2))
|
|
365
|
+
|
|
366
|
+
### BREAKING CHANGES
|
|
367
|
+
|
|
368
|
+
- is now non-contrast by default. wrap sidenavigation in Contrast to get "old" styling
|
|
369
|
+
|
|
370
|
+
## [1.6.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.6.1...@entur/menu@1.6.2) (2020-07-13)
|
|
371
|
+
|
|
372
|
+
**Note:** Version bump only for package @entur/menu
|
|
373
|
+
|
|
374
|
+
## [1.6.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.6.0...@entur/menu@1.6.1) (2020-07-09)
|
|
375
|
+
|
|
376
|
+
### Bug Fixes
|
|
377
|
+
|
|
378
|
+
- remove cursor pointer if stepper is non interactive ([b966b6c](https://bitbucket.org/enturas/design-system/commits/b966b6c61286707ab29058a21b8dd0ebaead6bd5))
|
|
379
|
+
|
|
380
|
+
# [1.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.5.5...@entur/menu@1.6.0) (2020-07-03)
|
|
381
|
+
|
|
382
|
+
### Bug Fixes
|
|
383
|
+
|
|
384
|
+
- fix link styling for breadcrumb ([94d2115](https://bitbucket.org/enturas/design-system/commits/94d2115213867144388c26c86e6612e026b4532b))
|
|
385
|
+
- fix offset arrow in stepper ([db8d790](https://bitbucket.org/enturas/design-system/commits/db8d7907de4618eb92f3c7f7502a5d4d64cdb16b))
|
|
386
|
+
- new styling and implementation of stepper component ([ff72140](https://bitbucket.org/enturas/design-system/commits/ff72140dd8848a9bd1db353ad9137b8a9d3151d9))
|
|
387
|
+
- overflowmenu contrast styling similar to normal styling ([6d671ed](https://bitbucket.org/enturas/design-system/commits/6d671ed9ee456c72475dfa266f037423b4a93c13))
|
|
388
|
+
- update dependency for overflowmenu ([fd9f1cb](https://bitbucket.org/enturas/design-system/commits/fd9f1cb09a97bbde33a0088c55c26c252429a675))
|
|
389
|
+
|
|
390
|
+
### Features
|
|
391
|
+
|
|
392
|
+
- add forwardref for sidenavigationitem ([26d0a17](https://bitbucket.org/enturas/design-system/commits/26d0a17aaccd9b11146ee2247bdedfa30b82de32))
|
|
393
|
+
- add interactive prop to stepper ([6f0b0f8](https://bitbucket.org/enturas/design-system/commits/6f0b0f800a7104133c9d665181ec89cf37abbc2c))
|
|
394
|
+
|
|
395
|
+
## [1.5.5](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.5.4...@entur/menu@1.5.5) (2020-06-17)
|
|
396
|
+
|
|
397
|
+
### Bug Fixes
|
|
398
|
+
|
|
399
|
+
- add aria label to pagination input ([545a25e](https://bitbucket.org/enturas/design-system/commits/545a25e84e960ebc3365ac3e938f86d1a2f49b71))
|
|
400
|
+
|
|
401
|
+
## [1.5.4](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.5.3...@entur/menu@1.5.4) (2020-05-27)
|
|
402
|
+
|
|
403
|
+
**Note:** Version bump only for package @entur/menu
|
|
404
|
+
|
|
405
|
+
## [1.5.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.5.2...@entur/menu@1.5.3) (2020-05-26)
|
|
406
|
+
|
|
407
|
+
**Note:** Version bump only for package @entur/menu
|
|
408
|
+
|
|
409
|
+
## [1.5.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.5.1...@entur/menu@1.5.2) (2020-05-20)
|
|
410
|
+
|
|
411
|
+
### Bug Fixes
|
|
412
|
+
|
|
413
|
+
- use the expand arrow component instead of icon ([44e955a](https://bitbucket.org/enturas/design-system/commits/44e955a636f0c42b72e19029c75c6324f90c5ac3))
|
|
414
|
+
|
|
415
|
+
## [1.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.5.0...@entur/menu@1.5.1) (2020-04-27)
|
|
416
|
+
|
|
417
|
+
**Note:** Version bump only for package @entur/menu
|
|
418
|
+
|
|
419
|
+
# [1.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.4.0...@entur/menu@1.5.0) (2020-04-23)
|
|
420
|
+
|
|
421
|
+
### Bug Fixes
|
|
422
|
+
|
|
423
|
+
- updated to use new focus styling where applicable ([d0a52c0](https://bitbucket.org/enturas/design-system/commits/d0a52c096b673c6647070a90dd79bef9003ee0ad))
|
|
424
|
+
|
|
425
|
+
### Features
|
|
426
|
+
|
|
427
|
+
- add results functionality for pagination component ([b6fe497](https://bitbucket.org/enturas/design-system/commits/b6fe497ade85aec18307bf4a7cb5fa7281b0be46))
|
|
428
|
+
|
|
429
|
+
# [1.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.3.5...@entur/menu@1.4.0) (2020-04-08)
|
|
430
|
+
|
|
431
|
+
### Features
|
|
432
|
+
|
|
433
|
+
- **overflow menu:** add overflowmenu components ([37cb99d](https://bitbucket.org/enturas/design-system/commits/37cb99da557c5c806c6c10631743608a7f57fe5f))
|
|
434
|
+
|
|
435
|
+
## [1.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.3.3...@entur/menu@1.3.5) (2020-03-25)
|
|
436
|
+
|
|
437
|
+
**Note:** Version bump only for package @entur/menu
|
|
438
|
+
|
|
439
|
+
## [1.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.3.3...@entur/menu@1.3.4) (2020-03-25)
|
|
440
|
+
|
|
441
|
+
**Note:** Version bump only for package @entur/menu
|
|
442
|
+
|
|
443
|
+
## [1.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.3.2...@entur/menu@1.3.3) (2020-03-20)
|
|
444
|
+
|
|
445
|
+
**Note:** Version bump only for package @entur/menu
|
|
446
|
+
|
|
447
|
+
## [1.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.3.1...@entur/menu@1.3.2) (2020-03-18)
|
|
448
|
+
|
|
449
|
+
### Bug Fixes
|
|
450
|
+
|
|
451
|
+
- react elementtype on breadcrumb item "as" prop ([fbb869c](https://bitbucket.org/enturas/design-system/commits/fbb869c4ffb9a53e246dc4c18270deb11a4d4999))
|
|
452
|
+
|
|
453
|
+
## [1.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.3.0...@entur/menu@1.3.1) (2020-03-05)
|
|
454
|
+
|
|
455
|
+
### Bug Fixes
|
|
456
|
+
|
|
457
|
+
- fix padding for nested menu items ([8019a13](https://bitbucket.org/enturas/design-system/commits/8019a13dad1728e491dbd637373d01acf8b1229b))
|
|
458
|
+
|
|
459
|
+
# [1.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.11...@entur/menu@1.3.0) (2020-02-26)
|
|
460
|
+
|
|
461
|
+
### Features
|
|
462
|
+
|
|
463
|
+
- **stepper:** add stepper ([e07ffed](https://bitbucket.org/enturas/design-system/commits/e07ffedafb3a83dbf34fae45f32ae3f3b62c655a))
|
|
464
|
+
|
|
465
|
+
## [1.2.11](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.10...@entur/menu@1.2.11) (2020-02-20)
|
|
466
|
+
|
|
467
|
+
**Note:** Version bump only for package @entur/menu
|
|
468
|
+
|
|
469
|
+
## [1.2.10](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.9...@entur/menu@1.2.10) (2020-02-14)
|
|
470
|
+
|
|
471
|
+
**Note:** Version bump only for package @entur/menu
|
|
472
|
+
|
|
473
|
+
## [1.2.9](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.8...@entur/menu@1.2.9) (2020-02-12)
|
|
474
|
+
|
|
475
|
+
**Note:** Version bump only for package @entur/menu
|
|
476
|
+
|
|
477
|
+
## [1.2.8](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.7...@entur/menu@1.2.8) (2020-02-10)
|
|
478
|
+
|
|
479
|
+
**Note:** Version bump only for package @entur/menu
|
|
480
|
+
|
|
481
|
+
## [1.2.7](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.6...@entur/menu@1.2.7) (2020-02-05)
|
|
482
|
+
|
|
483
|
+
### Bug Fixes
|
|
484
|
+
|
|
485
|
+
- increasing padding left on side navigation items, and increasing max width ([6bf7ce6](https://bitbucket.org/enturas/design-system/commits/6bf7ce6b277996fffd9085b72f23225bf1213496))
|
|
486
|
+
- remove 'inline' on icon on side navigation group ([525370f](https://bitbucket.org/enturas/design-system/commits/525370f349d1acaf5b2b2b8b59ece9ff28d61c4c))
|
|
487
|
+
- remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
|
|
488
|
+
|
|
489
|
+
## [1.2.6](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.5...@entur/menu@1.2.6) (2020-01-28)
|
|
490
|
+
|
|
491
|
+
**Note:** Version bump only for package @entur/menu
|
|
492
|
+
|
|
493
|
+
## [1.2.5](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.4...@entur/menu@1.2.5) (2020-01-27)
|
|
494
|
+
|
|
495
|
+
### Bug Fixes
|
|
496
|
+
|
|
497
|
+
- **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
|
|
498
|
+
|
|
499
|
+
## [1.2.4](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.3...@entur/menu@1.2.4) (2020-01-20)
|
|
500
|
+
|
|
501
|
+
### Bug Fixes
|
|
502
|
+
|
|
503
|
+
- **Pagination:** fix bug where low page counts didn't work ([5b564d8](https://bitbucket.org/enturas/design-system/commits/5b564d882afe33dab27b737328de1510c1cd5b1f))
|
|
504
|
+
- **Pagination:** make ellipsisisisis less clickable ([f63f241](https://bitbucket.org/enturas/design-system/commits/f63f24150f059214dfa776a2d1c18def8ff85b5a))
|
|
505
|
+
- **Pagination:** show number when ellipsis is a single number ([7bd8048](https://bitbucket.org/enturas/design-system/commits/7bd80482d3cfb6be927851007b5e98c0b6ddc2b8))
|
|
506
|
+
- **Pagination:** show two neighbors instead of one ([e426962](https://bitbucket.org/enturas/design-system/commits/e42696249bc2318d9a6babe95ee30700d845d42d))
|
|
507
|
+
|
|
508
|
+
## [1.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.2...@entur/menu@1.2.3) (2020-01-14)
|
|
509
|
+
|
|
510
|
+
**Note:** Version bump only for package @entur/menu
|
|
511
|
+
|
|
512
|
+
## [1.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.1...@entur/menu@1.2.2) (2020-01-13)
|
|
513
|
+
|
|
514
|
+
**Note:** Version bump only for package @entur/menu
|
|
515
|
+
|
|
516
|
+
## [1.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.2.0...@entur/menu@1.2.1) (2020-01-08)
|
|
517
|
+
|
|
518
|
+
### Bug Fixes
|
|
519
|
+
|
|
520
|
+
- warn in development if the developer have forgotten the CSS ([e5c30fc](https://bitbucket.org/enturas/design-system/commits/e5c30fc08624ef22c02773892778abd92205c6b0))
|
|
521
|
+
|
|
522
|
+
# [1.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.1.0...@entur/menu@1.2.0) (2020-01-06)
|
|
523
|
+
|
|
524
|
+
### Bug Fixes
|
|
525
|
+
|
|
526
|
+
- **Pagination:** fix ios safari bug with small prev/next buttons ([c3c06d4](https://bitbucket.org/enturas/design-system/commits/c3c06d408e994a14d94d1536da86111327e55fbb))
|
|
527
|
+
- **Pagination:** make each pagination page text unselectable ([746fc7a](https://bitbucket.org/enturas/design-system/commits/746fc7ab6a2e6348a0a5e03f4c8c0000f9ed75b2))
|
|
528
|
+
|
|
529
|
+
### Features
|
|
530
|
+
|
|
531
|
+
- **BreadcrumbNavigation, BreadcrumbItem:** create new components for composing breadcrumbs together ([37c3e5e](https://bitbucket.org/enturas/design-system/commits/37c3e5e897d222d65e0ce51fceae9693788a0f0f))
|
|
532
|
+
- **Breadcrumbs:** add new component - Breadcrumbs ([0ee248d](https://bitbucket.org/enturas/design-system/commits/0ee248d7ac936904eaf9dbc324197d4bb44b498e))
|
|
533
|
+
|
|
534
|
+
# [1.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.0.3...@entur/menu@1.1.0) (2019-12-20)
|
|
535
|
+
|
|
536
|
+
### Features
|
|
537
|
+
|
|
538
|
+
- **Pagination:** add new component - Pagination ([bc6d042](https://bitbucket.org/enturas/design-system/commits/bc6d0427041a784a42ae028ebffc6271e5ab5a67))
|
|
539
|
+
- **Pagination:** add support for showInput ([588d9f3](https://bitbucket.org/enturas/design-system/commits/588d9f31c769298e1b6d8d2aee3c97b5e308b4fe))
|
|
540
|
+
|
|
541
|
+
## [1.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.0.2...@entur/menu@1.0.3) (2019-12-10)
|
|
542
|
+
|
|
543
|
+
### Bug Fixes
|
|
544
|
+
|
|
545
|
+
- **border left:** fixing skewed left border on active item ([fd69f56](https://bitbucket.org/enturas/design-system/commits/fd69f565355ad8e61bdb70b001a5393d866dc599))
|
|
546
|
+
- **disabled sidemenu:** spreading props on component if SideNavigationItem is disabled ([0a4125a](https://bitbucket.org/enturas/design-system/commits/0a4125a503a1cade6dfd8df5ae5beeed132d5b32))
|
|
547
|
+
- **disabled sidemenuitem:** proper props spread, and aria-disabled label ([15a578d](https://bitbucket.org/enturas/design-system/commits/15a578d1872c14cccf4a8d19ee3e018d511caf8a))
|
|
548
|
+
- adding default prop as part of documentation ([1ef7510](https://bitbucket.org/enturas/design-system/commits/1ef75107362f6262429d7fe31519b4353eccc8de))
|
|
549
|
+
|
|
550
|
+
## [1.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.0.1...@entur/menu@1.0.2) (2019-11-29)
|
|
551
|
+
|
|
552
|
+
**Note:** Version bump only for package @entur/menu
|
|
553
|
+
|
|
554
|
+
## [1.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@1.0.0...@entur/menu@1.0.1) (2019-11-28)
|
|
555
|
+
|
|
556
|
+
### Bug Fixes
|
|
557
|
+
|
|
558
|
+
- **SideNavigationGroup:** reduce vertical padding between elements ([3a4131a](https://bitbucket.org/enturas/design-system/commits/3a4131a957634a46dcd29870cb301542fecdb6dc))
|
|
559
|
+
|
|
560
|
+
# [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@0.5.0...@entur/menu@1.0.0) (2019-11-22)
|
|
561
|
+
|
|
562
|
+
### Bug Fixes
|
|
563
|
+
|
|
564
|
+
- **Menu:** fix issue where an empty menu was rendered ([360d3b0](https://bitbucket.org/enturas/design-system/commits/360d3b03a2803981b9f9c44565a05c0a4467c7f1))
|
|
565
|
+
|
|
566
|
+
### Code Refactoring
|
|
567
|
+
|
|
568
|
+
- **Menu, MenuItem, MenuGroup:** rename to SideNavigation, -Item and -Group ([61fd869](https://bitbucket.org/enturas/design-system/commits/61fd8698b9c32eaeae4e9521237609b09201dac9))
|
|
569
|
+
- **NavBarItem:** rename to TopNavigationItem ([56a219c](https://bitbucket.org/enturas/design-system/commits/56a219c8f58137c34e72878fa1672ec99a1338ad))
|
|
570
|
+
|
|
571
|
+
### Features
|
|
572
|
+
|
|
573
|
+
- **MenuItem:** require MenuItems to be links ([caa5798](https://bitbucket.org/enturas/design-system/commits/caa57987f134322f33249d109286e4ae109ff1cf))
|
|
574
|
+
- **types:** exporting all public types for public components ([4a277ab](https://bitbucket.org/enturas/design-system/commits/4a277ab266fdb32a6760821a07b1c6cc716bac85))
|
|
575
|
+
|
|
576
|
+
### BREAKING CHANGES
|
|
577
|
+
|
|
578
|
+
- **NavBarItem:** NavBarItem is renamed to TopNavigationItem, but maintains the same API
|
|
579
|
+
- **Menu, MenuItem, MenuGroup:** Menu, MenuItem and MenuGroup is renamed, but maintains the same APIs
|
|
580
|
+
- **MenuItem:** MenuItem now needs to be a link to a landing page
|
|
581
|
+
|
|
582
|
+
# [0.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@0.4.2...@entur/menu@0.5.0) (2019-11-18)
|
|
583
|
+
|
|
584
|
+
### Bug Fixes
|
|
585
|
+
|
|
586
|
+
- add explicit import of expand styling ([a90e9ed](https://bitbucket.org/enturas/design-system/commits/a90e9ed06ddf3dae6a225c7a05923978844292b4))
|
|
587
|
+
- add missing type="button" to sub menu togglers ([2a47e90](https://bitbucket.org/enturas/design-system/commits/2a47e90fd72d03db17a2b5d656546266fdc0574b))
|
|
588
|
+
- ignore as prop on MenuItems with sub menus ([56c5216](https://bitbucket.org/enturas/design-system/commits/56c5216d21dffc00220f1bb9ed52d6ad9655341a))
|
|
589
|
+
- make sure the typography is correct for all menus ([b4fc9ce](https://bitbucket.org/enturas/design-system/commits/b4fc9ce120cbf0dcf0ffef67356cf80891a5a7ca))
|
|
590
|
+
- verify that a child element is an entur menu the correct way ([a3e766f](https://bitbucket.org/enturas/design-system/commits/a3e766fba398891bc664fac54bada81d1352d40b))
|
|
591
|
+
|
|
592
|
+
### Features
|
|
593
|
+
|
|
594
|
+
- adding new component -> NavBarItem ([70d3af0](https://bitbucket.org/enturas/design-system/commits/70d3af0d02c1847596354242ddc293212b311e4a))
|
|
595
|
+
|
|
596
|
+
## [0.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@0.4.1...@entur/menu@0.4.2) (2019-11-14)
|
|
597
|
+
|
|
598
|
+
### Bug Fixes
|
|
599
|
+
|
|
600
|
+
- **docs:** fix bug in sidebar for when the menu prop is a string ([ea2f2d9](https://bitbucket.org/enturas/design-system/commits/ea2f2d987f8fee90b6af40c94953dc773f9eaccf))
|
|
601
|
+
- add missing dependencies to dependency arrays ([15f1e81](https://bitbucket.org/enturas/design-system/commits/15f1e81f5a3dfea3e60453195379d392e6d536a0))
|
|
602
|
+
- **css classnames:** fixing naming collisions with CSS classes ([a93ca43](https://bitbucket.org/enturas/design-system/commits/a93ca435d3a01d61d8f02694a672686b9e943a66))
|
|
603
|
+
|
|
604
|
+
## [0.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@0.4.0...@entur/menu@0.4.1) (2019-11-07)
|
|
605
|
+
|
|
606
|
+
**Note:** Version bump only for package @entur/menu
|
|
607
|
+
|
|
608
|
+
# [0.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@0.3.1...@entur/menu@0.4.0) (2019-11-06)
|
|
609
|
+
|
|
610
|
+
### Bug Fixes
|
|
611
|
+
|
|
612
|
+
- **MenuGroup:** add 1 px letter spacing to menu group label ([93b46fa](https://bitbucket.org/enturas/design-system/commits/93b46fa034d96d5bda22a4a279ad2563c3d8e34b))
|
|
613
|
+
- **MenuGroup:** add margin between menu groups ([3bd10ff](https://bitbucket.org/enturas/design-system/commits/3bd10ffcf84712f119f50165a753a43444ea209d))
|
|
614
|
+
|
|
615
|
+
### Features
|
|
616
|
+
|
|
617
|
+
- add new component MenuGroup ([1f5b6f1](https://bitbucket.org/enturas/design-system/commits/1f5b6f1a2f40146a22e71cc6f71e3157f6a7ab9c))
|
|
618
|
+
|
|
619
|
+
## [0.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@0.3.0...@entur/menu@0.3.1) (2019-11-04)
|
|
620
|
+
|
|
621
|
+
### Bug Fixes
|
|
622
|
+
|
|
623
|
+
- **Menu:** make sub menu detection work more consistently ([096538e](https://bitbucket.org/enturas/design-system/commits/096538e83714261398379e56d31704a59c7324fc))
|
|
624
|
+
|
|
625
|
+
# [0.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@0.2.3...@entur/menu@0.3.0) (2019-10-30)
|
|
626
|
+
|
|
627
|
+
### Bug Fixes
|
|
628
|
+
|
|
629
|
+
- migrate to latest version of space tokens ([4330496](https://bitbucket.org/enturas/design-system/commits/4330496e269bf628f7b9b7aec75f704800201101))
|
|
630
|
+
- update all packages to use new tokens ([4847835](https://bitbucket.org/enturas/design-system/commits/48478359b0e562ba828e06d9b5c57239316805c2))
|
|
631
|
+
|
|
632
|
+
### Features
|
|
633
|
+
|
|
634
|
+
- **MenuItem:** add new prop forceExpandSubMenus ([c6c307d](https://bitbucket.org/enturas/design-system/commits/c6c307d045838c1d938da5bf162baa5cda300c5b))
|
|
635
|
+
|
|
636
|
+
## [0.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@0.2.2...@entur/menu@0.2.3) (2019-10-22)
|
|
637
|
+
|
|
638
|
+
**Note:** Version bump only for package @entur/menu
|
|
639
|
+
|
|
640
|
+
## [0.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/menu@0.2.1...@entur/menu@0.2.2) (2019-10-11)
|
|
641
|
+
|
|
642
|
+
### Bug Fixes
|
|
643
|
+
|
|
644
|
+
- **menu:** set max-width for menus on desktop ([476b56e](https://bitbucket.org/enturas/design-system/commits/476b56e))
|
|
645
|
+
|
|
646
|
+
## [0.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/menu@0.2.0...@entur/menu@0.2.1) (2019-10-07)
|
|
647
|
+
|
|
648
|
+
### Bug Fixes
|
|
649
|
+
|
|
650
|
+
- **menu:** lock React version to 16.9.x ([9d6fc2b](https://bitbucket.org/enturas/design-system/commits/9d6fc2b))
|
|
651
|
+
- **menu:** make icons show up in the correct place and color ([6b54369](https://bitbucket.org/enturas/design-system/commits/6b54369))
|
|
652
|
+
|
|
653
|
+
# 0.2.0 (2019-09-25)
|
|
654
|
+
|
|
655
|
+
### Bug Fixes
|
|
656
|
+
|
|
657
|
+
- add explicit dependency on classnames package ([8f491ac](https://bitbucket.org/enturas/design-system/commits/8f491ac))
|
|
658
|
+
- make sure disabled links are actually disabled ([645ffed](https://bitbucket.org/enturas/design-system/commits/645ffed))
|
|
659
|
+
|
|
660
|
+
### Features
|
|
661
|
+
|
|
662
|
+
- add a new package "menu" ([24365ff](https://bitbucket.org/enturas/design-system/commits/24365ff))
|
package/dist/styles.css
CHANGED
|
@@ -3,58 +3,167 @@
|
|
|
3
3
|
--reach-menu-button: 1;
|
|
4
4
|
}/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
-
.eds-
|
|
7
|
-
|
|
8
|
-
margin: 0;
|
|
9
|
-
padding: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.eds-breadcrumb__item {
|
|
6
|
+
.eds-top-navigation-item {
|
|
7
|
+
--show-active-line: 0;
|
|
13
8
|
display: inline-block;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
color: inherit;
|
|
11
|
+
text-decoration: none;
|
|
12
|
+
position: relative;
|
|
13
|
+
padding: 1rem;
|
|
14
|
+
min-width: 5rem;
|
|
15
|
+
width: -webkit-fit-content;
|
|
16
|
+
width: -moz-fit-content;
|
|
17
|
+
width: fit-content;
|
|
18
|
+
text-align: center;
|
|
19
|
+
font-family: inherit;
|
|
20
|
+
font-size: 1rem;
|
|
21
|
+
font-weight: 600;
|
|
14
22
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
23
|
+
.eds-top-navigation-item::after {
|
|
24
|
+
content: "";
|
|
25
|
+
display: block;
|
|
26
|
+
bottom: 1rem;
|
|
27
|
+
height: 0.1875rem;
|
|
28
|
+
width: 0;
|
|
29
|
+
margin: 0 auto;
|
|
30
|
+
opacity: var(--show-active-line);
|
|
31
|
+
background: #ff5959;
|
|
32
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
18
33
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
24
|
-
background-repeat: no-repeat;
|
|
25
|
-
background-size: 100% 0.125rem;
|
|
26
|
-
background-position: 0 100%;
|
|
34
|
+
.eds-top-navigation-item:focus {
|
|
35
|
+
outline-offset: 0.125rem;
|
|
36
|
+
outline: none;
|
|
37
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
27
38
|
}
|
|
28
|
-
.eds-contrast .eds-
|
|
29
|
-
|
|
39
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
40
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
30
41
|
}
|
|
31
|
-
.eds-
|
|
32
|
-
-
|
|
33
|
-
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
42
|
+
.eds-top-navigation-item:hover {
|
|
43
|
+
--show-active-line: 1;
|
|
34
44
|
}
|
|
35
|
-
.eds-
|
|
45
|
+
.eds-top-navigation-item:hover::after {
|
|
46
|
+
width: 2rem;
|
|
47
|
+
}
|
|
48
|
+
.eds-top-navigation-item--active {
|
|
49
|
+
--show-active-line: 1;
|
|
50
|
+
}
|
|
51
|
+
.eds-top-navigation-item--active::after {
|
|
52
|
+
width: 2rem;
|
|
53
|
+
}/* DO NOT CHANGE!*/
|
|
54
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
55
|
+
.eds-stepper {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
}
|
|
59
|
+
.eds-stepper__item__container {
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
font-family: inherit;
|
|
62
|
+
text-transform: none;
|
|
63
|
+
-webkit-appearance: none;
|
|
64
|
+
-moz-appearance: none;
|
|
65
|
+
appearance: none;
|
|
66
|
+
background: none;
|
|
67
|
+
border: none;
|
|
68
|
+
margin: 0;
|
|
69
|
+
padding: 0;
|
|
70
|
+
align-items: inherit;
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-grow: 1;
|
|
73
|
+
flex-basis: 0;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
margin-left: 0.25rem;
|
|
76
|
+
}
|
|
77
|
+
.eds-stepper__item__container--non-interactive {
|
|
78
|
+
cursor: default;
|
|
79
|
+
}
|
|
80
|
+
.eds-stepper__item__container:focus {
|
|
81
|
+
outline-offset: 0.125rem;
|
|
36
82
|
outline: none;
|
|
37
83
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
38
|
-
outline-offset: 0.125rem;
|
|
39
84
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
background-size: 0% 0.125rem;
|
|
43
|
-
}
|
|
44
|
-
to {
|
|
45
|
-
background-size: 100% 0.125rem;
|
|
46
|
-
}
|
|
85
|
+
.eds-contrast .eds-stepper__item__container:focus {
|
|
86
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
47
87
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
background-size: 0% 0.125rem;
|
|
51
|
-
}
|
|
52
|
-
to {
|
|
53
|
-
background-size: 100% 0.125rem;
|
|
54
|
-
}
|
|
88
|
+
.eds-stepper__item__container:first-child {
|
|
89
|
+
margin-left: 0;
|
|
55
90
|
}
|
|
56
|
-
.eds-
|
|
91
|
+
.eds-stepper__item__label {
|
|
92
|
+
cursor: inherit;
|
|
93
|
+
flex-grow: 1;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
text-align: center;
|
|
96
|
+
font-size: 0.875rem;
|
|
97
|
+
padding: 0.25rem 1rem;
|
|
98
|
+
}
|
|
99
|
+
.eds-stepper__item__label--active {
|
|
57
100
|
font-weight: 600;
|
|
101
|
+
}
|
|
102
|
+
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
103
|
+
color: #181c56;
|
|
104
|
+
}
|
|
105
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
106
|
+
color: #ffffff;
|
|
107
|
+
}
|
|
108
|
+
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
109
|
+
color: #181c56;
|
|
110
|
+
}
|
|
111
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
112
|
+
color: #ffffff;
|
|
113
|
+
}
|
|
114
|
+
.eds-stepper__item__square {
|
|
115
|
+
height: 0.5rem;
|
|
116
|
+
}
|
|
117
|
+
.eds-stepper__item__square--active {
|
|
118
|
+
color: inherit;
|
|
119
|
+
background: #e9e9e9;
|
|
120
|
+
position: relative;
|
|
121
|
+
}
|
|
122
|
+
.eds-stepper__item__square--active:before {
|
|
123
|
+
background: #181c56;
|
|
124
|
+
content: "";
|
|
125
|
+
position: absolute;
|
|
126
|
+
right: calc(50% - 0.2rem);
|
|
127
|
+
border-radius: 0.0625rem;
|
|
128
|
+
bottom: 0.0625rem;
|
|
129
|
+
width: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
130
|
+
height: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
131
|
+
transform: rotate(45deg);
|
|
132
|
+
}
|
|
133
|
+
.eds-contrast .eds-stepper__item__square--active:before {
|
|
134
|
+
border-left-color: #aeb7e2;
|
|
135
|
+
border-left-color: #aeb7e2;
|
|
136
|
+
}
|
|
137
|
+
.eds-stepper__item__square--active:after {
|
|
138
|
+
content: "";
|
|
139
|
+
position: absolute;
|
|
140
|
+
left: 0;
|
|
141
|
+
bottom: 0;
|
|
142
|
+
width: 50%;
|
|
143
|
+
height: 0.5rem;
|
|
144
|
+
background: #181c56;
|
|
145
|
+
}
|
|
146
|
+
.eds-contrast .eds-stepper__item__square--active:after {
|
|
147
|
+
background: #aeb7e2;
|
|
148
|
+
}
|
|
149
|
+
.eds-contrast .eds-stepper__item__square--active {
|
|
150
|
+
background: #aeb7e2;
|
|
151
|
+
background: #393d79;
|
|
152
|
+
}
|
|
153
|
+
.eds-stepper__item__square--inactive {
|
|
154
|
+
color: #656782;
|
|
155
|
+
background: #e9e9e9;
|
|
156
|
+
}
|
|
157
|
+
.eds-contrast .eds-stepper__item__square--inactive {
|
|
158
|
+
color: #aeb7e2;
|
|
159
|
+
background: #393d79;
|
|
160
|
+
}
|
|
161
|
+
.eds-stepper__item__square--has-been {
|
|
162
|
+
color: inherit;
|
|
163
|
+
background: #181c56;
|
|
164
|
+
}
|
|
165
|
+
.eds-contrast .eds-stepper__item__square--has-been {
|
|
166
|
+
background: #aeb7e2;
|
|
58
167
|
}/* DO NOT CHANGE!*/
|
|
59
168
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
60
169
|
/* DO NOT CHANGE!*/
|
|
@@ -276,53 +385,58 @@
|
|
|
276
385
|
outline: 2px solid #ffffff;
|
|
277
386
|
}/* DO NOT CHANGE!*/
|
|
278
387
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
279
|
-
.eds-
|
|
280
|
-
|
|
388
|
+
.eds-breadcrumb {
|
|
389
|
+
list-style: none;
|
|
390
|
+
margin: 0;
|
|
391
|
+
padding: 0;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.eds-breadcrumb__item {
|
|
281
395
|
display: inline-block;
|
|
282
|
-
|
|
283
|
-
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.eds-breadcrumb__separator {
|
|
399
|
+
margin: 0 0.25rem 0 0.25rem;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.eds-breadcrumb__link {
|
|
284
403
|
text-decoration: none;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
width: fit-content;
|
|
291
|
-
text-align: center;
|
|
292
|
-
font-family: inherit;
|
|
293
|
-
font-size: 1rem;
|
|
294
|
-
font-weight: 600;
|
|
404
|
+
color: inherit;
|
|
405
|
+
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
406
|
+
background-repeat: no-repeat;
|
|
407
|
+
background-size: 100% 0.125rem;
|
|
408
|
+
background-position: 0 100%;
|
|
295
409
|
}
|
|
296
|
-
.eds-
|
|
297
|
-
|
|
298
|
-
display: block;
|
|
299
|
-
bottom: 1rem;
|
|
300
|
-
height: 0.1875rem;
|
|
301
|
-
width: 0;
|
|
302
|
-
margin: 0 auto;
|
|
303
|
-
opacity: var(--show-active-line);
|
|
304
|
-
background: #ff5959;
|
|
305
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
410
|
+
.eds-contrast .eds-breadcrumb__link {
|
|
411
|
+
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
306
412
|
}
|
|
307
|
-
.eds-
|
|
308
|
-
|
|
413
|
+
.eds-breadcrumb__link:hover {
|
|
414
|
+
-webkit-animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
415
|
+
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
416
|
+
}
|
|
417
|
+
.eds-breadcrumb__link:focus {
|
|
309
418
|
outline: none;
|
|
310
419
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
420
|
+
outline-offset: 0.125rem;
|
|
311
421
|
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
width: 2rem;
|
|
422
|
+
@-webkit-keyframes eds-breadcrumb-underline {
|
|
423
|
+
from {
|
|
424
|
+
background-size: 0% 0.125rem;
|
|
425
|
+
}
|
|
426
|
+
to {
|
|
427
|
+
background-size: 100% 0.125rem;
|
|
428
|
+
}
|
|
320
429
|
}
|
|
321
|
-
|
|
322
|
-
|
|
430
|
+
@keyframes eds-breadcrumb-underline {
|
|
431
|
+
from {
|
|
432
|
+
background-size: 0% 0.125rem;
|
|
433
|
+
}
|
|
434
|
+
to {
|
|
435
|
+
background-size: 100% 0.125rem;
|
|
436
|
+
}
|
|
323
437
|
}
|
|
324
|
-
.eds-
|
|
325
|
-
|
|
438
|
+
.eds-breadcrumb__link--current {
|
|
439
|
+
font-weight: 600;
|
|
326
440
|
}/* DO NOT CHANGE!*/
|
|
327
441
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
328
442
|
.eds-overflow-menu__item {
|
|
@@ -422,120 +536,6 @@
|
|
|
422
536
|
right: calc(100% - 2rem);
|
|
423
537
|
}/* DO NOT CHANGE!*/
|
|
424
538
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
425
|
-
.eds-stepper {
|
|
426
|
-
display: flex;
|
|
427
|
-
flex-direction: row;
|
|
428
|
-
}
|
|
429
|
-
.eds-stepper__item__container {
|
|
430
|
-
cursor: pointer;
|
|
431
|
-
font-family: inherit;
|
|
432
|
-
text-transform: none;
|
|
433
|
-
-webkit-appearance: none;
|
|
434
|
-
-moz-appearance: none;
|
|
435
|
-
appearance: none;
|
|
436
|
-
background: none;
|
|
437
|
-
border: none;
|
|
438
|
-
margin: 0;
|
|
439
|
-
padding: 0;
|
|
440
|
-
align-items: inherit;
|
|
441
|
-
display: flex;
|
|
442
|
-
flex-grow: 1;
|
|
443
|
-
flex-basis: 0;
|
|
444
|
-
flex-direction: column;
|
|
445
|
-
margin-left: 0.25rem;
|
|
446
|
-
}
|
|
447
|
-
.eds-stepper__item__container--non-interactive {
|
|
448
|
-
cursor: default;
|
|
449
|
-
}
|
|
450
|
-
.eds-stepper__item__container:focus {
|
|
451
|
-
outline-offset: 0.125rem;
|
|
452
|
-
outline: none;
|
|
453
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
454
|
-
}
|
|
455
|
-
.eds-contrast .eds-stepper__item__container:focus {
|
|
456
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
457
|
-
}
|
|
458
|
-
.eds-stepper__item__container:first-child {
|
|
459
|
-
margin-left: 0;
|
|
460
|
-
}
|
|
461
|
-
.eds-stepper__item__label {
|
|
462
|
-
cursor: inherit;
|
|
463
|
-
flex-grow: 1;
|
|
464
|
-
flex-direction: column;
|
|
465
|
-
text-align: center;
|
|
466
|
-
font-size: 0.875rem;
|
|
467
|
-
padding: 0.25rem 1rem;
|
|
468
|
-
}
|
|
469
|
-
.eds-stepper__item__label--active {
|
|
470
|
-
font-weight: 600;
|
|
471
|
-
}
|
|
472
|
-
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
473
|
-
color: #181c56;
|
|
474
|
-
}
|
|
475
|
-
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
476
|
-
color: #ffffff;
|
|
477
|
-
}
|
|
478
|
-
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
479
|
-
color: #181c56;
|
|
480
|
-
}
|
|
481
|
-
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
482
|
-
color: #ffffff;
|
|
483
|
-
}
|
|
484
|
-
.eds-stepper__item__square {
|
|
485
|
-
height: 0.5rem;
|
|
486
|
-
}
|
|
487
|
-
.eds-stepper__item__square--active {
|
|
488
|
-
color: inherit;
|
|
489
|
-
background: #e9e9e9;
|
|
490
|
-
position: relative;
|
|
491
|
-
}
|
|
492
|
-
.eds-stepper__item__square--active:before {
|
|
493
|
-
background: #181c56;
|
|
494
|
-
content: "";
|
|
495
|
-
position: absolute;
|
|
496
|
-
right: calc(50% - 0.2rem);
|
|
497
|
-
border-radius: 0.0625rem;
|
|
498
|
-
bottom: 0.0625rem;
|
|
499
|
-
width: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
500
|
-
height: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
501
|
-
transform: rotate(45deg);
|
|
502
|
-
}
|
|
503
|
-
.eds-contrast .eds-stepper__item__square--active:before {
|
|
504
|
-
border-left-color: #aeb7e2;
|
|
505
|
-
border-left-color: #aeb7e2;
|
|
506
|
-
}
|
|
507
|
-
.eds-stepper__item__square--active:after {
|
|
508
|
-
content: "";
|
|
509
|
-
position: absolute;
|
|
510
|
-
left: 0;
|
|
511
|
-
bottom: 0;
|
|
512
|
-
width: 50%;
|
|
513
|
-
height: 0.5rem;
|
|
514
|
-
background: #181c56;
|
|
515
|
-
}
|
|
516
|
-
.eds-contrast .eds-stepper__item__square--active:after {
|
|
517
|
-
background: #aeb7e2;
|
|
518
|
-
}
|
|
519
|
-
.eds-contrast .eds-stepper__item__square--active {
|
|
520
|
-
background: #aeb7e2;
|
|
521
|
-
background: #393d79;
|
|
522
|
-
}
|
|
523
|
-
.eds-stepper__item__square--inactive {
|
|
524
|
-
color: #656782;
|
|
525
|
-
background: #e9e9e9;
|
|
526
|
-
}
|
|
527
|
-
.eds-contrast .eds-stepper__item__square--inactive {
|
|
528
|
-
color: #aeb7e2;
|
|
529
|
-
background: #393d79;
|
|
530
|
-
}
|
|
531
|
-
.eds-stepper__item__square--has-been {
|
|
532
|
-
color: inherit;
|
|
533
|
-
background: #181c56;
|
|
534
|
-
}
|
|
535
|
-
.eds-contrast .eds-stepper__item__square--has-been {
|
|
536
|
-
background: #aeb7e2;
|
|
537
|
-
}/* DO NOT CHANGE!*/
|
|
538
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
539
539
|
.eds-pagination {
|
|
540
540
|
align-items: center;
|
|
541
541
|
display: flex;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.17",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -17,32 +17,26 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "
|
|
21
|
-
"start": "
|
|
22
|
-
"test": "
|
|
23
|
-
"lint": "
|
|
20
|
+
"build": "dts build",
|
|
21
|
+
"start": "dts watch --noClean",
|
|
22
|
+
"test": "dts test --env=jsdom",
|
|
23
|
+
"lint": "dts lint"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@entur/a11y": "^0.2.
|
|
27
|
-
"@entur/button": "^2.10.
|
|
28
|
-
"@entur/expand": "^3.3.
|
|
29
|
-
"@entur/icons": "^5.
|
|
30
|
-
"@entur/layout": "^2.1.
|
|
31
|
-
"@entur/tokens": "^3.4.
|
|
32
|
-
"@entur/typography": "^1.7.
|
|
33
|
-
"@entur/utils": "^0.4.
|
|
26
|
+
"@entur/a11y": "^0.2.49",
|
|
27
|
+
"@entur/button": "^2.10.4",
|
|
28
|
+
"@entur/expand": "^3.3.25",
|
|
29
|
+
"@entur/icons": "^5.2.1",
|
|
30
|
+
"@entur/layout": "^2.1.11",
|
|
31
|
+
"@entur/tokens": "^3.4.1",
|
|
32
|
+
"@entur/typography": "^1.7.0",
|
|
33
|
+
"@entur/utils": "^0.4.5",
|
|
34
34
|
"@reach/menu-button": "^0.16.1",
|
|
35
|
-
"classnames": "^2.3.1"
|
|
36
|
-
"react-is": "^16.8.0"
|
|
35
|
+
"classnames": "^2.3.1"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
39
38
|
"react": ">=16.8.0",
|
|
40
39
|
"react-dom": ">=16.8.0"
|
|
41
40
|
},
|
|
42
|
-
"
|
|
43
|
-
"dts-cli": "^1.1.6",
|
|
44
|
-
"jest-watch-typeahead": "^2.2.0",
|
|
45
|
-
"ts-jest": "^27.0.0"
|
|
46
|
-
},
|
|
47
|
-
"gitHead": "89c8eee86c247794134c34484a205e0f7f65d0a5"
|
|
41
|
+
"gitHead": "09829f0914d2ee5740f584cfd2be4d9d2b5fc18a"
|
|
48
42
|
}
|