@entur/travel 5.0.7 → 5.0.10
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 +14 -0
- package/dist/styles.css +91 -95
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.0.10](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.9...@entur/travel@5.0.10) (2022-07-05)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **validation exclamation icon:** fix icon colours for validation exclamation icon in react native ([4e64eb8](https://bitbucket.org/enturas/design-system/commits/4e64eb86fd1b98731b47ac040ce578e8ee0aa956))
|
|
11
|
+
|
|
12
|
+
## [5.0.9](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.8...@entur/travel@5.0.9) (2022-06-24)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @entur/travel
|
|
15
|
+
|
|
16
|
+
## [5.0.8](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.7...@entur/travel@5.0.8) (2022-06-02)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @entur/travel
|
|
19
|
+
|
|
6
20
|
## [5.0.7](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.6...@entur/travel@5.0.7) (2022-05-13)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @entur/travel
|
package/dist/styles.css
CHANGED
|
@@ -2,87 +2,38 @@
|
|
|
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-
|
|
6
|
-
|
|
5
|
+
.eds-leg-bone {
|
|
6
|
+
align-items: center;
|
|
7
7
|
display: flex;
|
|
8
|
-
|
|
9
|
-
font-weight: 600;
|
|
10
|
-
line-height: 1.5;
|
|
11
|
-
max-width: 100%;
|
|
12
|
-
}
|
|
13
|
-
.eds-contrast .eds-travel-header {
|
|
14
|
-
color: #ffffff;
|
|
15
|
-
}
|
|
16
|
-
.eds-travel-header--large {
|
|
17
|
-
font-size: 1.5rem;
|
|
18
|
-
}
|
|
19
|
-
.eds-travel-header--medium {
|
|
20
|
-
font-size: 1rem;
|
|
21
|
-
}
|
|
22
|
-
.eds-travel-header--no-wrap {
|
|
23
|
-
flex-direction: row;
|
|
24
|
-
}
|
|
25
|
-
.eds-travel-header__from, .eds-travel-header__to {
|
|
26
|
-
min-width: 0;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
text-overflow: ellipsis;
|
|
29
|
-
white-space: nowrap;
|
|
30
|
-
}
|
|
31
|
-
.eds-travel-header--no-wrap .eds-travel-header__from {
|
|
32
|
-
margin-right: 0.5em;
|
|
8
|
+
justify-content: space-between;
|
|
33
9
|
}
|
|
34
|
-
.eds-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
.eds-leg-bone__start, .eds-leg-bone__stop {
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
height: 1rem;
|
|
13
|
+
width: 1rem;
|
|
37
14
|
}
|
|
38
|
-
.eds-
|
|
39
|
-
background-color: #ff5959;
|
|
40
|
-
content: "";
|
|
41
|
-
display: block;
|
|
42
|
-
height: calc(1em / 6);
|
|
43
|
-
left: 0;
|
|
44
|
-
position: absolute;
|
|
45
|
-
top: 0.65em;
|
|
46
|
-
width: calc(4em / 3);
|
|
47
|
-
}/* DO NOT CHANGE!*/
|
|
48
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
49
|
-
.eds-leg-line {
|
|
15
|
+
.eds-leg-bone__line {
|
|
50
16
|
flex-grow: 1;
|
|
51
|
-
mask-image: url("./pattern/line.svg");
|
|
52
|
-
mask-position: center;
|
|
53
|
-
-webkit-mask-image: url("./pattern/line.svg");
|
|
54
|
-
-webkit-mask-position: center;
|
|
55
|
-
}
|
|
56
|
-
.eds-leg-line--dotted {
|
|
57
|
-
mask-image: url("./pattern/dotted.svg");
|
|
58
|
-
-webkit-mask-image: url("./pattern/dotted.svg");
|
|
59
17
|
}
|
|
60
|
-
.eds-leg-
|
|
61
|
-
|
|
18
|
+
.eds-leg-bone--vertical {
|
|
19
|
+
flex-direction: column;
|
|
62
20
|
width: 1rem;
|
|
63
|
-
-webkit-mask-repeat: repeat-y;
|
|
64
21
|
}
|
|
65
|
-
.eds-leg-
|
|
66
|
-
|
|
67
|
-
-webkit-mask-image: url("./pattern/dashed-vertical.svg");
|
|
22
|
+
.eds-leg-bone--vertical .eds-leg-bone__start {
|
|
23
|
+
margin-bottom: 0.125rem;
|
|
68
24
|
}
|
|
69
|
-
.eds-leg-
|
|
70
|
-
|
|
71
|
-
-webkit-mask-image: url("./pattern/wave-vertical.svg");
|
|
25
|
+
.eds-leg-bone--vertical .eds-leg-bone__stop {
|
|
26
|
+
margin-top: 0.125rem;
|
|
72
27
|
}
|
|
73
|
-
.eds-leg-
|
|
28
|
+
.eds-leg-bone--horizontal {
|
|
29
|
+
flex-direction: row;
|
|
74
30
|
height: 1rem;
|
|
75
|
-
mask-repeat: repeat-x;
|
|
76
|
-
min-width: 6.25rem;
|
|
77
|
-
-webkit-mask-repeat: repeat-x;
|
|
78
31
|
}
|
|
79
|
-
.eds-leg-
|
|
80
|
-
|
|
81
|
-
-webkit-mask-image: url("./pattern/dashed-horizontal.svg");
|
|
32
|
+
.eds-leg-bone--horizontal .eds-leg-bone__start {
|
|
33
|
+
margin-right: 0.125rem;
|
|
82
34
|
}
|
|
83
|
-
.eds-leg-
|
|
84
|
-
|
|
85
|
-
-webkit-mask-image: url("./pattern/wave-horizontal.svg");
|
|
35
|
+
.eds-leg-bone--horizontal .eds-leg-bone__stop {
|
|
36
|
+
margin-left: 0.125rem;
|
|
86
37
|
}/* DO NOT CHANGE!*/
|
|
87
38
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
88
39
|
.eds-travel-tag {
|
|
@@ -247,15 +198,11 @@
|
|
|
247
198
|
color: #ffca28;
|
|
248
199
|
}
|
|
249
200
|
.eds-travel-tag__alert-exclamation-icon circle {
|
|
250
|
-
|
|
251
|
-
fill-opacity: 1;
|
|
201
|
+
fill: #181c56;
|
|
252
202
|
}
|
|
253
203
|
.eds-contrast .eds-travel-tag__alert-exclamation-icon {
|
|
254
204
|
color: #ffe082;
|
|
255
205
|
}
|
|
256
|
-
.eds-contrast .eds-travel-tag__alert-exclamation-icon circle {
|
|
257
|
-
fill-opacity: 0;
|
|
258
|
-
}
|
|
259
206
|
.eds-travel-tag__alert-error-icon {
|
|
260
207
|
font-size: 0.875rem;
|
|
261
208
|
color: #d31b1b;
|
|
@@ -299,36 +246,85 @@
|
|
|
299
246
|
font-size: 0.875rem;
|
|
300
247
|
}/* DO NOT CHANGE!*/
|
|
301
248
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
302
|
-
.eds-leg-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
249
|
+
.eds-leg-line {
|
|
250
|
+
flex-grow: 1;
|
|
251
|
+
mask-image: url("./pattern/line.svg");
|
|
252
|
+
mask-position: center;
|
|
253
|
+
-webkit-mask-image: url("./pattern/line.svg");
|
|
254
|
+
-webkit-mask-position: center;
|
|
306
255
|
}
|
|
307
|
-
.eds-leg-
|
|
308
|
-
|
|
309
|
-
|
|
256
|
+
.eds-leg-line--dotted {
|
|
257
|
+
mask-image: url("./pattern/dotted.svg");
|
|
258
|
+
-webkit-mask-image: url("./pattern/dotted.svg");
|
|
259
|
+
}
|
|
260
|
+
.eds-leg-line--vertical {
|
|
261
|
+
mask-repeat: repeat-y;
|
|
310
262
|
width: 1rem;
|
|
263
|
+
-webkit-mask-repeat: repeat-y;
|
|
311
264
|
}
|
|
312
|
-
.eds-leg-
|
|
313
|
-
|
|
265
|
+
.eds-leg-line--vertical.eds-leg-line--dashed {
|
|
266
|
+
mask-image: url("./pattern/dashed-vertical.svg");
|
|
267
|
+
-webkit-mask-image: url("./pattern/dashed-vertical.svg");
|
|
314
268
|
}
|
|
315
|
-
.eds-leg-
|
|
269
|
+
.eds-leg-line--vertical.eds-leg-line--wave {
|
|
270
|
+
mask-image: url("./pattern/wave-vertical.svg");
|
|
271
|
+
-webkit-mask-image: url("./pattern/wave-vertical.svg");
|
|
272
|
+
}
|
|
273
|
+
.eds-leg-line--horizontal {
|
|
274
|
+
height: 1rem;
|
|
275
|
+
mask-repeat: repeat-x;
|
|
276
|
+
min-width: 6.25rem;
|
|
277
|
+
-webkit-mask-repeat: repeat-x;
|
|
278
|
+
}
|
|
279
|
+
.eds-leg-line--horizontal.eds-leg-line--dashed {
|
|
280
|
+
mask-image: url("./pattern/dashed-horizontal.svg");
|
|
281
|
+
-webkit-mask-image: url("./pattern/dashed-horizontal.svg");
|
|
282
|
+
}
|
|
283
|
+
.eds-leg-line--horizontal.eds-leg-line--wave {
|
|
284
|
+
mask-image: url("./pattern/wave-horizontal.svg");
|
|
285
|
+
-webkit-mask-image: url("./pattern/wave-horizontal.svg");
|
|
286
|
+
}/* DO NOT CHANGE!*/
|
|
287
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
288
|
+
.eds-travel-header {
|
|
289
|
+
color: #181c56;
|
|
290
|
+
display: flex;
|
|
316
291
|
flex-direction: column;
|
|
317
|
-
|
|
292
|
+
font-weight: 600;
|
|
293
|
+
line-height: 1.5;
|
|
294
|
+
max-width: 100%;
|
|
318
295
|
}
|
|
319
|
-
.eds-
|
|
320
|
-
|
|
296
|
+
.eds-contrast .eds-travel-header {
|
|
297
|
+
color: #ffffff;
|
|
321
298
|
}
|
|
322
|
-
.eds-
|
|
323
|
-
|
|
299
|
+
.eds-travel-header--large {
|
|
300
|
+
font-size: 1.5rem;
|
|
324
301
|
}
|
|
325
|
-
.eds-
|
|
302
|
+
.eds-travel-header--medium {
|
|
303
|
+
font-size: 1rem;
|
|
304
|
+
}
|
|
305
|
+
.eds-travel-header--no-wrap {
|
|
326
306
|
flex-direction: row;
|
|
327
|
-
height: 1rem;
|
|
328
307
|
}
|
|
329
|
-
.eds-
|
|
330
|
-
|
|
308
|
+
.eds-travel-header__from, .eds-travel-header__to {
|
|
309
|
+
min-width: 0;
|
|
310
|
+
overflow: hidden;
|
|
311
|
+
text-overflow: ellipsis;
|
|
312
|
+
white-space: nowrap;
|
|
331
313
|
}
|
|
332
|
-
.eds-
|
|
333
|
-
margin-
|
|
314
|
+
.eds-travel-header--no-wrap .eds-travel-header__from {
|
|
315
|
+
margin-right: 0.5em;
|
|
316
|
+
}
|
|
317
|
+
.eds-travel-header__to {
|
|
318
|
+
padding-left: calc(4em / 3 + 0.5em);
|
|
319
|
+
position: relative;
|
|
320
|
+
}
|
|
321
|
+
.eds-travel-header__to::before {
|
|
322
|
+
background-color: #ff5959;
|
|
323
|
+
content: "";
|
|
324
|
+
display: block;
|
|
325
|
+
height: calc(1em / 6);
|
|
326
|
+
left: 0;
|
|
327
|
+
position: absolute;
|
|
328
|
+
top: 0.65em;
|
|
329
|
+
width: calc(4em / 3);
|
|
334
330
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/travel",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.10",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/travel.esm.js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"lint": "dts lint"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@entur/icons": "^4.
|
|
27
|
-
"@entur/layout": "^2.1.
|
|
26
|
+
"@entur/icons": "^4.3.0",
|
|
27
|
+
"@entur/layout": "^2.1.7",
|
|
28
28
|
"@entur/tokens": "^3.3.2",
|
|
29
29
|
"@entur/utils": "^0.4.3",
|
|
30
30
|
"classnames": "^2.3.1"
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"rollup-plugin-sass": "^1.2.2"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "c58969a2ac3a5429137f84f9fe91888f4c4bcc4b"
|
|
40
40
|
}
|