@entur/travel 5.0.21 → 5.0.23
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 +442 -0
- package/dist/styles.css +73 -73
- package/dist/travel.cjs.development.js +82 -41
- package/dist/travel.cjs.development.js.map +1 -1
- package/dist/travel.cjs.production.min.js.map +1 -1
- package/dist/travel.esm.js +82 -41
- package/dist/travel.esm.js.map +1 -1
- package/package.json +11 -16
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,442 @@
|
|
|
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
|
+
## [5.0.23](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.22...@entur/travel@5.0.23) (2023-01-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/travel
|
|
9
|
+
|
|
10
|
+
## [5.0.22](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.19...@entur/travel@5.0.22) (2022-12-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/travel
|
|
13
|
+
|
|
14
|
+
## [5.0.21](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.20...@entur/travel@5.0.21) (2022-11-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @entur/travel
|
|
17
|
+
|
|
18
|
+
## [5.0.20](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.19...@entur/travel@5.0.20) (2022-10-31)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @entur/travel
|
|
21
|
+
|
|
22
|
+
## [5.0.19](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.18...@entur/travel@5.0.19) (2022-10-31)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @entur/travel
|
|
25
|
+
|
|
26
|
+
## [5.0.18](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.17...@entur/travel@5.0.18) (2022-10-31)
|
|
27
|
+
|
|
28
|
+
**Note:** Version bump only for package @entur/travel
|
|
29
|
+
|
|
30
|
+
## [5.0.17](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.16...@entur/travel@5.0.17) (2022-10-20)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @entur/travel
|
|
33
|
+
|
|
34
|
+
## [5.0.16](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.15...@entur/travel@5.0.16) (2022-10-20)
|
|
35
|
+
|
|
36
|
+
**Note:** Version bump only for package @entur/travel
|
|
37
|
+
|
|
38
|
+
## [5.0.15](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.14...@entur/travel@5.0.15) (2022-10-12)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @entur/travel
|
|
41
|
+
|
|
42
|
+
## [5.0.13](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.12...@entur/travel@5.0.13) (2022-08-31)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @entur/travel
|
|
45
|
+
|
|
46
|
+
## [5.0.12](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.11...@entur/travel@5.0.12) (2022-08-24)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @entur/travel
|
|
49
|
+
|
|
50
|
+
## [5.0.11](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.10...@entur/travel@5.0.11) (2022-08-09)
|
|
51
|
+
|
|
52
|
+
**Note:** Version bump only for package @entur/travel
|
|
53
|
+
|
|
54
|
+
## [5.0.10](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.9...@entur/travel@5.0.10) (2022-07-05)
|
|
55
|
+
|
|
56
|
+
### Bug Fixes
|
|
57
|
+
|
|
58
|
+
- **validation exclamation icon:** fix icon colours for validation exclamation icon in react native ([4e64eb8](https://bitbucket.org/enturas/design-system/commits/4e64eb86fd1b98731b47ac040ce578e8ee0aa956))
|
|
59
|
+
|
|
60
|
+
## [5.0.9](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.8...@entur/travel@5.0.9) (2022-06-24)
|
|
61
|
+
|
|
62
|
+
**Note:** Version bump only for package @entur/travel
|
|
63
|
+
|
|
64
|
+
## [5.0.8](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.7...@entur/travel@5.0.8) (2022-06-02)
|
|
65
|
+
|
|
66
|
+
**Note:** Version bump only for package @entur/travel
|
|
67
|
+
|
|
68
|
+
## [5.0.7](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.6...@entur/travel@5.0.7) (2022-05-13)
|
|
69
|
+
|
|
70
|
+
**Note:** Version bump only for package @entur/travel
|
|
71
|
+
|
|
72
|
+
## [5.0.6](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.5...@entur/travel@5.0.6) (2022-05-04)
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
- **validation exclamation icon:** fix incorrect exclamation mark color for non-contrast validation ([22deff9](https://bitbucket.org/enturas/design-system/commits/22deff9cac4f867a26a14ec51197f1c3be13d403))
|
|
77
|
+
|
|
78
|
+
## [5.0.5](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.4...@entur/travel@5.0.5) (2022-04-27)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @entur/travel
|
|
81
|
+
|
|
82
|
+
## [5.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.3...@entur/travel@5.0.4) (2022-04-20)
|
|
83
|
+
|
|
84
|
+
**Note:** Version bump only for package @entur/travel
|
|
85
|
+
|
|
86
|
+
## [5.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.2...@entur/travel@5.0.3) (2022-04-19)
|
|
87
|
+
|
|
88
|
+
**Note:** Version bump only for package @entur/travel
|
|
89
|
+
|
|
90
|
+
## [5.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.1...@entur/travel@5.0.2) (2022-03-01)
|
|
91
|
+
|
|
92
|
+
**Note:** Version bump only for package @entur/travel
|
|
93
|
+
|
|
94
|
+
## [5.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.0...@entur/travel@5.0.1) (2022-02-09)
|
|
95
|
+
|
|
96
|
+
**Note:** Version bump only for package @entur/travel
|
|
97
|
+
|
|
98
|
+
# [5.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.14...@entur/travel@5.0.0) (2022-01-05)
|
|
99
|
+
|
|
100
|
+
### Bug Fixes
|
|
101
|
+
|
|
102
|
+
- **travel tag:** fix 'warning' and 'error' alert prop being swapped, and colors in contrast ([0a08fb3](https://bitbucket.org/enturas/design-system/commits/0a08fb37ec70b0a19cea2fd96a2a5b39295fe5e5))
|
|
103
|
+
|
|
104
|
+
### Features
|
|
105
|
+
|
|
106
|
+
- **travel tag:** add label and labelPlacement props ([8f63a0b](https://bitbucket.org/enturas/design-system/commits/8f63a0bc23c16523fc976a1566ec3c8dec22dd48))
|
|
107
|
+
- **travel tag:** add transport icon automatically based on transport prop ([42a191a](https://bitbucket.org/enturas/design-system/commits/42a191a2962f34696f2cfcb42c943e60c2738f4b))
|
|
108
|
+
|
|
109
|
+
### BREAKING CHANGES
|
|
110
|
+
|
|
111
|
+
- **travel tag:** If both an icon and transport prop is provided in previous code, you will now get two icos. Remove
|
|
112
|
+
the child Icon to fix
|
|
113
|
+
- **travel tag:** alert prop options 'warning' and 'error' has been swapped and will now display the correct icon
|
|
114
|
+
|
|
115
|
+
## [4.2.14](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.13...@entur/travel@4.2.14) (2021-11-17)
|
|
116
|
+
|
|
117
|
+
**Note:** Version bump only for package @entur/travel
|
|
118
|
+
|
|
119
|
+
## [4.2.13](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.12...@entur/travel@4.2.13) (2021-10-18)
|
|
120
|
+
|
|
121
|
+
### Bug Fixes
|
|
122
|
+
|
|
123
|
+
- **travel tag:** fix focus styling for close button ([d9ec26e](https://bitbucket.org/enturas/design-system/commits/d9ec26ea68ba9962a233291eb5e58920efab99b1))
|
|
124
|
+
|
|
125
|
+
## [4.2.12](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.11...@entur/travel@4.2.12) (2021-09-23)
|
|
126
|
+
|
|
127
|
+
**Note:** Version bump only for package @entur/travel
|
|
128
|
+
|
|
129
|
+
## [4.2.11](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.10...@entur/travel@4.2.11) (2021-09-13)
|
|
130
|
+
|
|
131
|
+
**Note:** Version bump only for package @entur/travel
|
|
132
|
+
|
|
133
|
+
## [4.2.10](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.9...@entur/travel@4.2.10) (2021-09-07)
|
|
134
|
+
|
|
135
|
+
### Bug Fixes
|
|
136
|
+
|
|
137
|
+
- fix lint warnings and improve typings of components ([6ba0455](https://bitbucket.org/enturas/design-system/commits/6ba045500191242edfd179c7439922dbe140949e))
|
|
138
|
+
- utilize reworked focus token ([586758f](https://bitbucket.org/enturas/design-system/commits/586758fc86eb5aa52116c63c14ef033eb2e8b12f))
|
|
139
|
+
|
|
140
|
+
## [4.2.9](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.8...@entur/travel@4.2.9) (2021-07-16)
|
|
141
|
+
|
|
142
|
+
**Note:** Version bump only for package @entur/travel
|
|
143
|
+
|
|
144
|
+
## [4.2.8](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.7...@entur/travel@4.2.8) (2021-06-25)
|
|
145
|
+
|
|
146
|
+
### Bug Fixes
|
|
147
|
+
|
|
148
|
+
- update dependencies ([997708c](https://bitbucket.org/enturas/design-system/commits/997708c2cd74b42af272e7d26b935f572fc52879))
|
|
149
|
+
|
|
150
|
+
## [4.2.7](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.6...@entur/travel@4.2.7) (2021-06-04)
|
|
151
|
+
|
|
152
|
+
**Note:** Version bump only for package @entur/travel
|
|
153
|
+
|
|
154
|
+
## [4.2.6](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.5...@entur/travel@4.2.6) (2021-05-19)
|
|
155
|
+
|
|
156
|
+
**Note:** Version bump only for package @entur/travel
|
|
157
|
+
|
|
158
|
+
## [4.2.5](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.4...@entur/travel@4.2.5) (2021-05-05)
|
|
159
|
+
|
|
160
|
+
**Note:** Version bump only for package @entur/travel
|
|
161
|
+
|
|
162
|
+
## [4.2.4](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.3...@entur/travel@4.2.4) (2021-04-23)
|
|
163
|
+
|
|
164
|
+
### Bug Fixes
|
|
165
|
+
|
|
166
|
+
- utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
|
|
167
|
+
|
|
168
|
+
## [4.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.2...@entur/travel@4.2.3) (2021-04-09)
|
|
169
|
+
|
|
170
|
+
**Note:** Version bump only for package @entur/travel
|
|
171
|
+
|
|
172
|
+
## [4.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.1...@entur/travel@4.2.2) (2021-03-02)
|
|
173
|
+
|
|
174
|
+
**Note:** Version bump only for package @entur/travel
|
|
175
|
+
|
|
176
|
+
## [4.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.2.0...@entur/travel@4.2.1) (2021-02-17)
|
|
177
|
+
|
|
178
|
+
**Note:** Version bump only for package @entur/travel
|
|
179
|
+
|
|
180
|
+
# [4.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.10...@entur/travel@4.2.0) (2021-01-29)
|
|
181
|
+
|
|
182
|
+
### Bug Fixes
|
|
183
|
+
|
|
184
|
+
- **travelheader:** fixed wrong spacing between from and to labels ([e5c15e5](https://bitbucket.org/enturas/design-system/commits/e5c15e5e3bd4480943c1220c303110482e530ee8))
|
|
185
|
+
|
|
186
|
+
### Features
|
|
187
|
+
|
|
188
|
+
- **travelheader:** added support for inline mode ([f779541](https://bitbucket.org/enturas/design-system/commits/f7795415c5004f9d4c143d77677684673c641906))
|
|
189
|
+
|
|
190
|
+
## [4.1.10](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.9...@entur/travel@4.1.10) (2021-01-20)
|
|
191
|
+
|
|
192
|
+
**Note:** Version bump only for package @entur/travel
|
|
193
|
+
|
|
194
|
+
## [4.1.9](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.8...@entur/travel@4.1.9) (2021-01-13)
|
|
195
|
+
|
|
196
|
+
### Bug Fixes
|
|
197
|
+
|
|
198
|
+
- transpose grey colors for updated color tokens ([d6a444c](https://bitbucket.org/enturas/design-system/commits/d6a444c2c37339b9bac0702738ed52693367d344))
|
|
199
|
+
|
|
200
|
+
## [4.1.8](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.7...@entur/travel@4.1.8) (2021-01-05)
|
|
201
|
+
|
|
202
|
+
**Note:** Version bump only for package @entur/travel
|
|
203
|
+
|
|
204
|
+
## [4.1.7](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.6...@entur/travel@4.1.7) (2020-12-04)
|
|
205
|
+
|
|
206
|
+
### Bug Fixes
|
|
207
|
+
|
|
208
|
+
- **travel header:** more inclusive typing for to and from ([35bd772](https://bitbucket.org/enturas/design-system/commits/35bd772812fe0e8c7a7310ff5191a89de4709a29))
|
|
209
|
+
|
|
210
|
+
## [4.1.6](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.5...@entur/travel@4.1.6) (2020-11-05)
|
|
211
|
+
|
|
212
|
+
**Note:** Version bump only for package @entur/travel
|
|
213
|
+
|
|
214
|
+
## [4.1.5](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.4...@entur/travel@4.1.5) (2020-10-23)
|
|
215
|
+
|
|
216
|
+
**Note:** Version bump only for package @entur/travel
|
|
217
|
+
|
|
218
|
+
## [4.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.3...@entur/travel@4.1.4) (2020-10-16)
|
|
219
|
+
|
|
220
|
+
**Note:** Version bump only for package @entur/travel
|
|
221
|
+
|
|
222
|
+
## [4.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.2...@entur/travel@4.1.3) (2020-10-09)
|
|
223
|
+
|
|
224
|
+
**Note:** Version bump only for package @entur/travel
|
|
225
|
+
|
|
226
|
+
## [4.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.1...@entur/travel@4.1.2) (2020-09-25)
|
|
227
|
+
|
|
228
|
+
**Note:** Version bump only for package @entur/travel
|
|
229
|
+
|
|
230
|
+
## [4.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.1.0...@entur/travel@4.1.1) (2020-09-14)
|
|
231
|
+
|
|
232
|
+
**Note:** Version bump only for package @entur/travel
|
|
233
|
+
|
|
234
|
+
# [4.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.12...@entur/travel@4.1.0) (2020-09-02)
|
|
235
|
+
|
|
236
|
+
### Bug Fixes
|
|
237
|
+
|
|
238
|
+
- **travel header:** shift font size for new token ([d4602e7](https://bitbucket.org/enturas/design-system/commits/d4602e7817cadd574a3dfc4895145bfd389f9932))
|
|
239
|
+
- **travel leg:** add error message in console if no transport ([e60c74d](https://bitbucket.org/enturas/design-system/commits/e60c74df18cccc10602387501716ac888a435fdf))
|
|
240
|
+
- **travel leg:** remove strict error if undefined transport ([b00a11c](https://bitbucket.org/enturas/design-system/commits/b00a11c14d479337f0cdb1c5022b87f9ed6fef29))
|
|
241
|
+
- **travel tag:** make transport prop optional ([64b7140](https://bitbucket.org/enturas/design-system/commits/64b71409fa5ab9fc496a54430d81ebf4428e1e03))
|
|
242
|
+
- **travel tag:** shift font size for new token ([0ecfd78](https://bitbucket.org/enturas/design-system/commits/0ecfd78dfb25cba3a924dd88186885722e1c830d))
|
|
243
|
+
|
|
244
|
+
### Features
|
|
245
|
+
|
|
246
|
+
- **travel tag:** add transport prop for travel tag ([3b32a13](https://bitbucket.org/enturas/design-system/commits/3b32a130f4bb91cbef05385b7c1d11b9aa8b8575))
|
|
247
|
+
|
|
248
|
+
## [4.0.12](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.11...@entur/travel@4.0.12) (2020-08-26)
|
|
249
|
+
|
|
250
|
+
**Note:** Version bump only for package @entur/travel
|
|
251
|
+
|
|
252
|
+
## [4.0.11](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.10...@entur/travel@4.0.11) (2020-08-19)
|
|
253
|
+
|
|
254
|
+
**Note:** Version bump only for package @entur/travel
|
|
255
|
+
|
|
256
|
+
## [4.0.10](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.9...@entur/travel@4.0.10) (2020-08-11)
|
|
257
|
+
|
|
258
|
+
### Bug Fixes
|
|
259
|
+
|
|
260
|
+
- **travelleg:** support for for TravelLeg view of transport=car ([e9edda4](https://bitbucket.org/enturas/design-system/commits/e9edda49a875a9aace13ad8d5596deb34fe80e2e))
|
|
261
|
+
|
|
262
|
+
## [4.0.9](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.8...@entur/travel@4.0.9) (2020-07-24)
|
|
263
|
+
|
|
264
|
+
**Note:** Version bump only for package @entur/travel
|
|
265
|
+
|
|
266
|
+
## [4.0.8](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.7...@entur/travel@4.0.8) (2020-07-22)
|
|
267
|
+
|
|
268
|
+
**Note:** Version bump only for package @entur/travel
|
|
269
|
+
|
|
270
|
+
## [4.0.7](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.6...@entur/travel@4.0.7) (2020-07-16)
|
|
271
|
+
|
|
272
|
+
**Note:** Version bump only for package @entur/travel
|
|
273
|
+
|
|
274
|
+
## [4.0.6](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.5...@entur/travel@4.0.6) (2020-07-13)
|
|
275
|
+
|
|
276
|
+
**Note:** Version bump only for package @entur/travel
|
|
277
|
+
|
|
278
|
+
## [4.0.5](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.4...@entur/travel@4.0.5) (2020-07-09)
|
|
279
|
+
|
|
280
|
+
**Note:** Version bump only for package @entur/travel
|
|
281
|
+
|
|
282
|
+
## [4.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.3...@entur/travel@4.0.4) (2020-07-03)
|
|
283
|
+
|
|
284
|
+
**Note:** Version bump only for package @entur/travel
|
|
285
|
+
|
|
286
|
+
## [4.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.2...@entur/travel@4.0.3) (2020-06-17)
|
|
287
|
+
|
|
288
|
+
**Note:** Version bump only for package @entur/travel
|
|
289
|
+
|
|
290
|
+
## [4.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.1...@entur/travel@4.0.2) (2020-05-27)
|
|
291
|
+
|
|
292
|
+
**Note:** Version bump only for package @entur/travel
|
|
293
|
+
|
|
294
|
+
## [4.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/travel@4.0.0...@entur/travel@4.0.1) (2020-05-26)
|
|
295
|
+
|
|
296
|
+
**Note:** Version bump only for package @entur/travel
|
|
297
|
+
|
|
298
|
+
# [4.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/travel@3.0.0...@entur/travel@4.0.0) (2020-05-20)
|
|
299
|
+
|
|
300
|
+
### Code Refactoring
|
|
301
|
+
|
|
302
|
+
- **travelleg:** update plane to air ([a297451](https://bitbucket.org/enturas/design-system/commits/a29745104ee8f4a8285659ecba2e864bf21a25c7))
|
|
303
|
+
|
|
304
|
+
### BREAKING CHANGES
|
|
305
|
+
|
|
306
|
+
- **travelleg:** plane -> air to follow the netex standard
|
|
307
|
+
|
|
308
|
+
# [3.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/travel@2.0.2...@entur/travel@3.0.0) (2020-04-27)
|
|
309
|
+
|
|
310
|
+
### Code Refactoring
|
|
311
|
+
|
|
312
|
+
- **travelleg:** follow the netex standard ([1424edc](https://bitbucket.org/enturas/design-system/commits/1424edc181d2b8519ffafc5c13f4a1640c4b4a9b))
|
|
313
|
+
|
|
314
|
+
### BREAKING CHANGES
|
|
315
|
+
|
|
316
|
+
- **travelleg:** transport options in travelleg: train, ferry and walk renamed to rail, water and foot to follow the
|
|
317
|
+
netex standard
|
|
318
|
+
|
|
319
|
+
## [2.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/travel@2.0.1...@entur/travel@2.0.2) (2020-04-23)
|
|
320
|
+
|
|
321
|
+
### Bug Fixes
|
|
322
|
+
|
|
323
|
+
- updated to use new focus styling where applicable ([d0a52c0](https://bitbucket.org/enturas/design-system/commits/d0a52c096b673c6647070a90dd79bef9003ee0ad))
|
|
324
|
+
|
|
325
|
+
## [2.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/travel@2.0.0...@entur/travel@2.0.1) (2020-04-08)
|
|
326
|
+
|
|
327
|
+
**Note:** Version bump only for package @entur/travel
|
|
328
|
+
|
|
329
|
+
# [2.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.11...@entur/travel@2.0.0) (2020-03-25)
|
|
330
|
+
|
|
331
|
+
### Bug Fixes
|
|
332
|
+
|
|
333
|
+
- adjust spacing in traveltag ([d844ec1](https://bitbucket.org/enturas/design-system/commits/d844ec1eb3fc2c8f95a94382d998402bd43bb9e5))
|
|
334
|
+
- improve contrast support for traveltag ([5178e0e](https://bitbucket.org/enturas/design-system/commits/5178e0e3735dcd879a4a9af0485e154e5287813b))
|
|
335
|
+
|
|
336
|
+
### Features
|
|
337
|
+
|
|
338
|
+
- add alert prop for traveltag ([6b8925c](https://bitbucket.org/enturas/design-system/commits/6b8925ce693a58db64b943099ffbd47e0b8a42ad))
|
|
339
|
+
|
|
340
|
+
### BREAKING CHANGES
|
|
341
|
+
|
|
342
|
+
- traveltags no longer need the inline prop on icons
|
|
343
|
+
|
|
344
|
+
# [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.11...@entur/travel@1.0.0) (2020-03-25)
|
|
345
|
+
|
|
346
|
+
### Bug Fixes
|
|
347
|
+
|
|
348
|
+
- adjust spacing in traveltag ([d844ec1](https://bitbucket.org/enturas/design-system/commits/d844ec1eb3fc2c8f95a94382d998402bd43bb9e5))
|
|
349
|
+
- improve contrast support for traveltag ([5178e0e](https://bitbucket.org/enturas/design-system/commits/5178e0e3735dcd879a4a9af0485e154e5287813b))
|
|
350
|
+
|
|
351
|
+
### Features
|
|
352
|
+
|
|
353
|
+
- add alert prop for traveltag ([6b8925c](https://bitbucket.org/enturas/design-system/commits/6b8925ce693a58db64b943099ffbd47e0b8a42ad))
|
|
354
|
+
|
|
355
|
+
### BREAKING CHANGES
|
|
356
|
+
|
|
357
|
+
- traveltags no longer need the inline prop on icons
|
|
358
|
+
|
|
359
|
+
## [0.3.11](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.10...@entur/travel@0.3.11) (2020-03-20)
|
|
360
|
+
|
|
361
|
+
**Note:** Version bump only for package @entur/travel
|
|
362
|
+
|
|
363
|
+
## [0.3.10](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.9...@entur/travel@0.3.10) (2020-03-18)
|
|
364
|
+
|
|
365
|
+
**Note:** Version bump only for package @entur/travel
|
|
366
|
+
|
|
367
|
+
## [0.3.9](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.8...@entur/travel@0.3.9) (2020-03-05)
|
|
368
|
+
|
|
369
|
+
**Note:** Version bump only for package @entur/travel
|
|
370
|
+
|
|
371
|
+
## [0.3.8](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.7...@entur/travel@0.3.8) (2020-02-26)
|
|
372
|
+
|
|
373
|
+
**Note:** Version bump only for package @entur/travel
|
|
374
|
+
|
|
375
|
+
## [0.3.7](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.6...@entur/travel@0.3.7) (2020-02-20)
|
|
376
|
+
|
|
377
|
+
**Note:** Version bump only for package @entur/travel
|
|
378
|
+
|
|
379
|
+
## [0.3.6](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.5...@entur/travel@0.3.6) (2020-02-14)
|
|
380
|
+
|
|
381
|
+
**Note:** Version bump only for package @entur/travel
|
|
382
|
+
|
|
383
|
+
## [0.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.4...@entur/travel@0.3.5) (2020-02-12)
|
|
384
|
+
|
|
385
|
+
### Bug Fixes
|
|
386
|
+
|
|
387
|
+
- fix missing type for spreading of props ([0e5beba](https://bitbucket.org/enturas/design-system/commits/0e5beba82ea7dde39915cd626e665aa6c15dafbf))
|
|
388
|
+
|
|
389
|
+
## [0.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.3...@entur/travel@0.3.4) (2020-02-10)
|
|
390
|
+
|
|
391
|
+
**Note:** Version bump only for package @entur/travel
|
|
392
|
+
|
|
393
|
+
## [0.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.2...@entur/travel@0.3.3) (2020-02-05)
|
|
394
|
+
|
|
395
|
+
**Note:** Version bump only for package @entur/travel
|
|
396
|
+
|
|
397
|
+
## [0.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.1...@entur/travel@0.3.2) (2020-02-05)
|
|
398
|
+
|
|
399
|
+
### Bug Fixes
|
|
400
|
+
|
|
401
|
+
- remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
|
|
402
|
+
|
|
403
|
+
## [0.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.3.0...@entur/travel@0.3.1) (2020-01-28)
|
|
404
|
+
|
|
405
|
+
**Note:** Version bump only for package @entur/travel
|
|
406
|
+
|
|
407
|
+
# [0.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.2.2...@entur/travel@0.3.0) (2020-01-27)
|
|
408
|
+
|
|
409
|
+
### Bug Fixes
|
|
410
|
+
|
|
411
|
+
- **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
|
|
412
|
+
- adding walk transport and fix contrast detection ([05e5e9f](https://bitbucket.org/enturas/design-system/commits/05e5e9f10d4d562118f94593b773f624b077201e))
|
|
413
|
+
- fix styling for legline and legbone ([85489f3](https://bitbucket.org/enturas/design-system/commits/85489f35a3995d308791453c7dd5b1a4862b4082))
|
|
414
|
+
|
|
415
|
+
### Features
|
|
416
|
+
|
|
417
|
+
- add new components legbone and legline ([01e7592](https://bitbucket.org/enturas/design-system/commits/01e75923e98d70f4ec86bd73718b9dc8bc72644f))
|
|
418
|
+
- add travelleg component ([54e5504](https://bitbucket.org/enturas/design-system/commits/54e55040bae2b21a22d2e9b9952ed140b9409e5b))
|
|
419
|
+
|
|
420
|
+
## [0.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.2.1...@entur/travel@0.2.2) (2020-01-14)
|
|
421
|
+
|
|
422
|
+
### Bug Fixes
|
|
423
|
+
|
|
424
|
+
- fix regressions due to merge conflict ([d14529c](https://bitbucket.org/enturas/design-system/commits/d14529c21d3cd3d7592960e2f0b4efbba650a6ad))
|
|
425
|
+
|
|
426
|
+
## [0.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/travel@0.2.0...@entur/travel@0.2.1) (2020-01-13)
|
|
427
|
+
|
|
428
|
+
**Note:** Version bump only for package @entur/travel
|
|
429
|
+
|
|
430
|
+
# 0.2.0 (2020-01-10)
|
|
431
|
+
|
|
432
|
+
### Bug Fixes
|
|
433
|
+
|
|
434
|
+
- add documentation about travelheader props ([18715d4](https://bitbucket.org/enturas/design-system/commits/18715d48e639049c42fbcec26fb990dd7f3bcde2))
|
|
435
|
+
- add font weight and refactor styles alphabetically ([ed6fcc6](https://bitbucket.org/enturas/design-system/commits/ed6fcc6dd01c950e0528849d57fa6c5043857b65))
|
|
436
|
+
- adding travel package ([c3f04ac](https://bitbucket.org/enturas/design-system/commits/c3f04ac89e4c45dd03418c07277462f663bd27c7))
|
|
437
|
+
- correct color for close-icon in contrast ([f7e2595](https://bitbucket.org/enturas/design-system/commits/f7e2595829fd73fdbe4c3ab20a0a1eedd1258a5a))
|
|
438
|
+
|
|
439
|
+
### Features
|
|
440
|
+
|
|
441
|
+
- add travelheader component ([b7b9366](https://bitbucket.org/enturas/design-system/commits/b7b93668ffd447acc7ed7b4cfe7f5609dc54e827))
|
|
442
|
+
- add traveltag component ([016787e](https://bitbucket.org/enturas/design-system/commits/016787ebf20018fe79606f11efc05c88050f49be))
|
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,79 @@
|
|
|
2
2
|
--eds-travel: 1;
|
|
3
3
|
}/* DO NOT CHANGE!*/
|
|
4
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
+
.eds-leg-line {
|
|
6
|
+
flex-grow: 1;
|
|
7
|
+
mask-image: url("./pattern/line.svg");
|
|
8
|
+
mask-position: center;
|
|
9
|
+
-webkit-mask-image: url("./pattern/line.svg");
|
|
10
|
+
-webkit-mask-position: center;
|
|
11
|
+
}
|
|
12
|
+
.eds-leg-line--dotted {
|
|
13
|
+
mask-image: url("./pattern/dotted.svg");
|
|
14
|
+
-webkit-mask-image: url("./pattern/dotted.svg");
|
|
15
|
+
}
|
|
16
|
+
.eds-leg-line--vertical {
|
|
17
|
+
mask-repeat: repeat-y;
|
|
18
|
+
width: 1rem;
|
|
19
|
+
-webkit-mask-repeat: repeat-y;
|
|
20
|
+
}
|
|
21
|
+
.eds-leg-line--vertical.eds-leg-line--dashed {
|
|
22
|
+
mask-image: url("./pattern/dashed-vertical.svg");
|
|
23
|
+
-webkit-mask-image: url("./pattern/dashed-vertical.svg");
|
|
24
|
+
}
|
|
25
|
+
.eds-leg-line--vertical.eds-leg-line--wave {
|
|
26
|
+
mask-image: url("./pattern/wave-vertical.svg");
|
|
27
|
+
-webkit-mask-image: url("./pattern/wave-vertical.svg");
|
|
28
|
+
}
|
|
29
|
+
.eds-leg-line--horizontal {
|
|
30
|
+
height: 1rem;
|
|
31
|
+
mask-repeat: repeat-x;
|
|
32
|
+
min-width: 6.25rem;
|
|
33
|
+
-webkit-mask-repeat: repeat-x;
|
|
34
|
+
}
|
|
35
|
+
.eds-leg-line--horizontal.eds-leg-line--dashed {
|
|
36
|
+
mask-image: url("./pattern/dashed-horizontal.svg");
|
|
37
|
+
-webkit-mask-image: url("./pattern/dashed-horizontal.svg");
|
|
38
|
+
}
|
|
39
|
+
.eds-leg-line--horizontal.eds-leg-line--wave {
|
|
40
|
+
mask-image: url("./pattern/wave-horizontal.svg");
|
|
41
|
+
-webkit-mask-image: url("./pattern/wave-horizontal.svg");
|
|
42
|
+
}/* DO NOT CHANGE!*/
|
|
43
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
44
|
+
.eds-leg-bone {
|
|
45
|
+
align-items: center;
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
}
|
|
49
|
+
.eds-leg-bone__start, .eds-leg-bone__stop {
|
|
50
|
+
border-radius: 50%;
|
|
51
|
+
height: 1rem;
|
|
52
|
+
width: 1rem;
|
|
53
|
+
}
|
|
54
|
+
.eds-leg-bone__line {
|
|
55
|
+
flex-grow: 1;
|
|
56
|
+
}
|
|
57
|
+
.eds-leg-bone--vertical {
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
width: 1rem;
|
|
60
|
+
}
|
|
61
|
+
.eds-leg-bone--vertical .eds-leg-bone__start {
|
|
62
|
+
margin-bottom: 0.125rem;
|
|
63
|
+
}
|
|
64
|
+
.eds-leg-bone--vertical .eds-leg-bone__stop {
|
|
65
|
+
margin-top: 0.125rem;
|
|
66
|
+
}
|
|
67
|
+
.eds-leg-bone--horizontal {
|
|
68
|
+
flex-direction: row;
|
|
69
|
+
height: 1rem;
|
|
70
|
+
}
|
|
71
|
+
.eds-leg-bone--horizontal .eds-leg-bone__start {
|
|
72
|
+
margin-right: 0.125rem;
|
|
73
|
+
}
|
|
74
|
+
.eds-leg-bone--horizontal .eds-leg-bone__stop {
|
|
75
|
+
margin-left: 0.125rem;
|
|
76
|
+
}/* DO NOT CHANGE!*/
|
|
77
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
78
|
.eds-travel-header {
|
|
6
79
|
color: #181c56;
|
|
7
80
|
display: flex;
|
|
@@ -254,77 +327,4 @@
|
|
|
254
327
|
.eds-travel-tag__label--bottom {
|
|
255
328
|
margin-top: 0.125rem;
|
|
256
329
|
font-size: 0.875rem;
|
|
257
|
-
}/* DO NOT CHANGE!*/
|
|
258
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
259
|
-
.eds-leg-bone {
|
|
260
|
-
align-items: center;
|
|
261
|
-
display: flex;
|
|
262
|
-
justify-content: space-between;
|
|
263
|
-
}
|
|
264
|
-
.eds-leg-bone__start, .eds-leg-bone__stop {
|
|
265
|
-
border-radius: 50%;
|
|
266
|
-
height: 1rem;
|
|
267
|
-
width: 1rem;
|
|
268
|
-
}
|
|
269
|
-
.eds-leg-bone__line {
|
|
270
|
-
flex-grow: 1;
|
|
271
|
-
}
|
|
272
|
-
.eds-leg-bone--vertical {
|
|
273
|
-
flex-direction: column;
|
|
274
|
-
width: 1rem;
|
|
275
|
-
}
|
|
276
|
-
.eds-leg-bone--vertical .eds-leg-bone__start {
|
|
277
|
-
margin-bottom: 0.125rem;
|
|
278
|
-
}
|
|
279
|
-
.eds-leg-bone--vertical .eds-leg-bone__stop {
|
|
280
|
-
margin-top: 0.125rem;
|
|
281
|
-
}
|
|
282
|
-
.eds-leg-bone--horizontal {
|
|
283
|
-
flex-direction: row;
|
|
284
|
-
height: 1rem;
|
|
285
|
-
}
|
|
286
|
-
.eds-leg-bone--horizontal .eds-leg-bone__start {
|
|
287
|
-
margin-right: 0.125rem;
|
|
288
|
-
}
|
|
289
|
-
.eds-leg-bone--horizontal .eds-leg-bone__stop {
|
|
290
|
-
margin-left: 0.125rem;
|
|
291
|
-
}/* DO NOT CHANGE!*/
|
|
292
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
293
|
-
.eds-leg-line {
|
|
294
|
-
flex-grow: 1;
|
|
295
|
-
mask-image: url("./pattern/line.svg");
|
|
296
|
-
mask-position: center;
|
|
297
|
-
-webkit-mask-image: url("./pattern/line.svg");
|
|
298
|
-
-webkit-mask-position: center;
|
|
299
|
-
}
|
|
300
|
-
.eds-leg-line--dotted {
|
|
301
|
-
mask-image: url("./pattern/dotted.svg");
|
|
302
|
-
-webkit-mask-image: url("./pattern/dotted.svg");
|
|
303
|
-
}
|
|
304
|
-
.eds-leg-line--vertical {
|
|
305
|
-
mask-repeat: repeat-y;
|
|
306
|
-
width: 1rem;
|
|
307
|
-
-webkit-mask-repeat: repeat-y;
|
|
308
|
-
}
|
|
309
|
-
.eds-leg-line--vertical.eds-leg-line--dashed {
|
|
310
|
-
mask-image: url("./pattern/dashed-vertical.svg");
|
|
311
|
-
-webkit-mask-image: url("./pattern/dashed-vertical.svg");
|
|
312
|
-
}
|
|
313
|
-
.eds-leg-line--vertical.eds-leg-line--wave {
|
|
314
|
-
mask-image: url("./pattern/wave-vertical.svg");
|
|
315
|
-
-webkit-mask-image: url("./pattern/wave-vertical.svg");
|
|
316
|
-
}
|
|
317
|
-
.eds-leg-line--horizontal {
|
|
318
|
-
height: 1rem;
|
|
319
|
-
mask-repeat: repeat-x;
|
|
320
|
-
min-width: 6.25rem;
|
|
321
|
-
-webkit-mask-repeat: repeat-x;
|
|
322
|
-
}
|
|
323
|
-
.eds-leg-line--horizontal.eds-leg-line--dashed {
|
|
324
|
-
mask-image: url("./pattern/dashed-horizontal.svg");
|
|
325
|
-
-webkit-mask-image: url("./pattern/dashed-horizontal.svg");
|
|
326
|
-
}
|
|
327
|
-
.eds-leg-line--horizontal.eds-leg-line--wave {
|
|
328
|
-
mask-image: url("./pattern/wave-horizontal.svg");
|
|
329
|
-
-webkit-mask-image: url("./pattern/wave-horizontal.svg");
|
|
330
330
|
}
|