@entur/travel 5.0.10 → 5.0.13
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 +12 -0
- package/dist/styles.css +90 -90
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.13](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.12...@entur/travel@5.0.13) (2022-08-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/travel
|
|
9
|
+
|
|
10
|
+
## [5.0.12](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.11...@entur/travel@5.0.12) (2022-08-24)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/travel
|
|
13
|
+
|
|
14
|
+
## [5.0.11](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.10...@entur/travel@5.0.11) (2022-08-09)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @entur/travel
|
|
17
|
+
|
|
6
18
|
## [5.0.10](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.9...@entur/travel@5.0.10) (2022-07-05)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
package/dist/styles.css
CHANGED
|
@@ -2,38 +2,87 @@
|
|
|
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-travel-header {
|
|
6
|
+
color: #181c56;
|
|
7
7
|
display: flex;
|
|
8
|
-
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
font-weight: 600;
|
|
10
|
+
line-height: 1.5;
|
|
11
|
+
max-width: 100%;
|
|
9
12
|
}
|
|
10
|
-
.eds-
|
|
11
|
-
|
|
12
|
-
height: 1rem;
|
|
13
|
-
width: 1rem;
|
|
13
|
+
.eds-contrast .eds-travel-header {
|
|
14
|
+
color: #ffffff;
|
|
14
15
|
}
|
|
15
|
-
.eds-
|
|
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;
|
|
33
|
+
}
|
|
34
|
+
.eds-travel-header__to {
|
|
35
|
+
padding-left: calc(4em / 3 + 0.5em);
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
.eds-travel-header__to::before {
|
|
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 {
|
|
16
50
|
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;
|
|
17
55
|
}
|
|
18
|
-
.eds-leg-
|
|
19
|
-
|
|
56
|
+
.eds-leg-line--dotted {
|
|
57
|
+
mask-image: url("./pattern/dotted.svg");
|
|
58
|
+
-webkit-mask-image: url("./pattern/dotted.svg");
|
|
59
|
+
}
|
|
60
|
+
.eds-leg-line--vertical {
|
|
61
|
+
mask-repeat: repeat-y;
|
|
20
62
|
width: 1rem;
|
|
63
|
+
-webkit-mask-repeat: repeat-y;
|
|
21
64
|
}
|
|
22
|
-
.eds-leg-
|
|
23
|
-
|
|
65
|
+
.eds-leg-line--vertical.eds-leg-line--dashed {
|
|
66
|
+
mask-image: url("./pattern/dashed-vertical.svg");
|
|
67
|
+
-webkit-mask-image: url("./pattern/dashed-vertical.svg");
|
|
24
68
|
}
|
|
25
|
-
.eds-leg-
|
|
26
|
-
|
|
69
|
+
.eds-leg-line--vertical.eds-leg-line--wave {
|
|
70
|
+
mask-image: url("./pattern/wave-vertical.svg");
|
|
71
|
+
-webkit-mask-image: url("./pattern/wave-vertical.svg");
|
|
27
72
|
}
|
|
28
|
-
.eds-leg-
|
|
29
|
-
flex-direction: row;
|
|
73
|
+
.eds-leg-line--horizontal {
|
|
30
74
|
height: 1rem;
|
|
75
|
+
mask-repeat: repeat-x;
|
|
76
|
+
min-width: 6.25rem;
|
|
77
|
+
-webkit-mask-repeat: repeat-x;
|
|
31
78
|
}
|
|
32
|
-
.eds-leg-
|
|
33
|
-
|
|
79
|
+
.eds-leg-line--horizontal.eds-leg-line--dashed {
|
|
80
|
+
mask-image: url("./pattern/dashed-horizontal.svg");
|
|
81
|
+
-webkit-mask-image: url("./pattern/dashed-horizontal.svg");
|
|
34
82
|
}
|
|
35
|
-
.eds-leg-
|
|
36
|
-
|
|
83
|
+
.eds-leg-line--horizontal.eds-leg-line--wave {
|
|
84
|
+
mask-image: url("./pattern/wave-horizontal.svg");
|
|
85
|
+
-webkit-mask-image: url("./pattern/wave-horizontal.svg");
|
|
37
86
|
}/* DO NOT CHANGE!*/
|
|
38
87
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
39
88
|
.eds-travel-tag {
|
|
@@ -246,85 +295,36 @@
|
|
|
246
295
|
font-size: 0.875rem;
|
|
247
296
|
}/* DO NOT CHANGE!*/
|
|
248
297
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
249
|
-
.eds-leg-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
-webkit-mask-image: url("./pattern/line.svg");
|
|
254
|
-
-webkit-mask-position: center;
|
|
255
|
-
}
|
|
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;
|
|
262
|
-
width: 1rem;
|
|
263
|
-
-webkit-mask-repeat: repeat-y;
|
|
264
|
-
}
|
|
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");
|
|
268
|
-
}
|
|
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");
|
|
298
|
+
.eds-leg-bone {
|
|
299
|
+
align-items: center;
|
|
300
|
+
display: flex;
|
|
301
|
+
justify-content: space-between;
|
|
272
302
|
}
|
|
273
|
-
.eds-leg-
|
|
303
|
+
.eds-leg-bone__start, .eds-leg-bone__stop {
|
|
304
|
+
border-radius: 50%;
|
|
274
305
|
height: 1rem;
|
|
275
|
-
|
|
276
|
-
min-width: 6.25rem;
|
|
277
|
-
-webkit-mask-repeat: repeat-x;
|
|
306
|
+
width: 1rem;
|
|
278
307
|
}
|
|
279
|
-
.eds-leg-
|
|
280
|
-
|
|
281
|
-
-webkit-mask-image: url("./pattern/dashed-horizontal.svg");
|
|
308
|
+
.eds-leg-bone__line {
|
|
309
|
+
flex-grow: 1;
|
|
282
310
|
}
|
|
283
|
-
.eds-leg-
|
|
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;
|
|
311
|
+
.eds-leg-bone--vertical {
|
|
291
312
|
flex-direction: column;
|
|
292
|
-
|
|
293
|
-
line-height: 1.5;
|
|
294
|
-
max-width: 100%;
|
|
295
|
-
}
|
|
296
|
-
.eds-contrast .eds-travel-header {
|
|
297
|
-
color: #ffffff;
|
|
313
|
+
width: 1rem;
|
|
298
314
|
}
|
|
299
|
-
.eds-
|
|
300
|
-
|
|
315
|
+
.eds-leg-bone--vertical .eds-leg-bone__start {
|
|
316
|
+
margin-bottom: 0.125rem;
|
|
301
317
|
}
|
|
302
|
-
.eds-
|
|
303
|
-
|
|
318
|
+
.eds-leg-bone--vertical .eds-leg-bone__stop {
|
|
319
|
+
margin-top: 0.125rem;
|
|
304
320
|
}
|
|
305
|
-
.eds-
|
|
321
|
+
.eds-leg-bone--horizontal {
|
|
306
322
|
flex-direction: row;
|
|
323
|
+
height: 1rem;
|
|
307
324
|
}
|
|
308
|
-
.eds-
|
|
309
|
-
|
|
310
|
-
overflow: hidden;
|
|
311
|
-
text-overflow: ellipsis;
|
|
312
|
-
white-space: nowrap;
|
|
313
|
-
}
|
|
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;
|
|
325
|
+
.eds-leg-bone--horizontal .eds-leg-bone__start {
|
|
326
|
+
margin-right: 0.125rem;
|
|
320
327
|
}
|
|
321
|
-
.eds-
|
|
322
|
-
|
|
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);
|
|
328
|
+
.eds-leg-bone--horizontal .eds-leg-bone__stop {
|
|
329
|
+
margin-left: 0.125rem;
|
|
330
330
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/travel",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.13",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/travel.esm.js",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"lint": "dts lint"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@entur/icons": "^4.3.
|
|
27
|
-
"@entur/layout": "^2.1.
|
|
28
|
-
"@entur/tokens": "^3.
|
|
29
|
-
"@entur/utils": "^0.4.
|
|
26
|
+
"@entur/icons": "^4.3.3",
|
|
27
|
+
"@entur/layout": "^2.1.10",
|
|
28
|
+
"@entur/tokens": "^3.4.1",
|
|
29
|
+
"@entur/utils": "^0.4.5",
|
|
30
30
|
"classnames": "^2.3.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"rollup-plugin-sass": "^1.2.2"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "8aec781ef750306fdf0c4042edabfad5b33cbdb8"
|
|
40
40
|
}
|