@entur/travel 5.0.16-alpha.0 → 5.0.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 +5 -1
- package/dist/styles.css +83 -83
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
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.
|
|
6
|
+
## [5.0.17](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.16...@entur/travel@5.0.17) (2022-10-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/travel
|
|
9
|
+
|
|
10
|
+
## [5.0.16](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.15...@entur/travel@5.0.16) (2022-10-20)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/travel
|
|
9
13
|
|
package/dist/styles.css
CHANGED
|
@@ -36,89 +36,6 @@
|
|
|
36
36
|
margin-left: 0.125rem;
|
|
37
37
|
}/* DO NOT CHANGE!*/
|
|
38
38
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
39
|
-
.eds-travel-header {
|
|
40
|
-
color: #181c56;
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
font-weight: 600;
|
|
44
|
-
line-height: 1.5;
|
|
45
|
-
max-width: 100%;
|
|
46
|
-
}
|
|
47
|
-
.eds-contrast .eds-travel-header {
|
|
48
|
-
color: #ffffff;
|
|
49
|
-
}
|
|
50
|
-
.eds-travel-header--large {
|
|
51
|
-
font-size: 1.5rem;
|
|
52
|
-
}
|
|
53
|
-
.eds-travel-header--medium {
|
|
54
|
-
font-size: 1rem;
|
|
55
|
-
}
|
|
56
|
-
.eds-travel-header--no-wrap {
|
|
57
|
-
flex-direction: row;
|
|
58
|
-
}
|
|
59
|
-
.eds-travel-header__from, .eds-travel-header__to {
|
|
60
|
-
min-width: 0;
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
text-overflow: ellipsis;
|
|
63
|
-
white-space: nowrap;
|
|
64
|
-
}
|
|
65
|
-
.eds-travel-header--no-wrap .eds-travel-header__from {
|
|
66
|
-
margin-right: 0.5em;
|
|
67
|
-
}
|
|
68
|
-
.eds-travel-header__to {
|
|
69
|
-
padding-left: calc(4em / 3 + 0.5em);
|
|
70
|
-
position: relative;
|
|
71
|
-
}
|
|
72
|
-
.eds-travel-header__to::before {
|
|
73
|
-
background-color: #ff5959;
|
|
74
|
-
content: "";
|
|
75
|
-
display: block;
|
|
76
|
-
height: calc(1em / 6);
|
|
77
|
-
left: 0;
|
|
78
|
-
position: absolute;
|
|
79
|
-
top: 0.65em;
|
|
80
|
-
width: calc(4em / 3);
|
|
81
|
-
}/* DO NOT CHANGE!*/
|
|
82
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
83
|
-
.eds-leg-line {
|
|
84
|
-
flex-grow: 1;
|
|
85
|
-
mask-image: url("./pattern/line.svg");
|
|
86
|
-
mask-position: center;
|
|
87
|
-
-webkit-mask-image: url("./pattern/line.svg");
|
|
88
|
-
-webkit-mask-position: center;
|
|
89
|
-
}
|
|
90
|
-
.eds-leg-line--dotted {
|
|
91
|
-
mask-image: url("./pattern/dotted.svg");
|
|
92
|
-
-webkit-mask-image: url("./pattern/dotted.svg");
|
|
93
|
-
}
|
|
94
|
-
.eds-leg-line--vertical {
|
|
95
|
-
mask-repeat: repeat-y;
|
|
96
|
-
width: 1rem;
|
|
97
|
-
-webkit-mask-repeat: repeat-y;
|
|
98
|
-
}
|
|
99
|
-
.eds-leg-line--vertical.eds-leg-line--dashed {
|
|
100
|
-
mask-image: url("./pattern/dashed-vertical.svg");
|
|
101
|
-
-webkit-mask-image: url("./pattern/dashed-vertical.svg");
|
|
102
|
-
}
|
|
103
|
-
.eds-leg-line--vertical.eds-leg-line--wave {
|
|
104
|
-
mask-image: url("./pattern/wave-vertical.svg");
|
|
105
|
-
-webkit-mask-image: url("./pattern/wave-vertical.svg");
|
|
106
|
-
}
|
|
107
|
-
.eds-leg-line--horizontal {
|
|
108
|
-
height: 1rem;
|
|
109
|
-
mask-repeat: repeat-x;
|
|
110
|
-
min-width: 6.25rem;
|
|
111
|
-
-webkit-mask-repeat: repeat-x;
|
|
112
|
-
}
|
|
113
|
-
.eds-leg-line--horizontal.eds-leg-line--dashed {
|
|
114
|
-
mask-image: url("./pattern/dashed-horizontal.svg");
|
|
115
|
-
-webkit-mask-image: url("./pattern/dashed-horizontal.svg");
|
|
116
|
-
}
|
|
117
|
-
.eds-leg-line--horizontal.eds-leg-line--wave {
|
|
118
|
-
mask-image: url("./pattern/wave-horizontal.svg");
|
|
119
|
-
-webkit-mask-image: url("./pattern/wave-horizontal.svg");
|
|
120
|
-
}/* DO NOT CHANGE!*/
|
|
121
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
122
39
|
.eds-travel-tag {
|
|
123
40
|
background-color: #e9e9e9;
|
|
124
41
|
border-radius: 0.25rem;
|
|
@@ -327,4 +244,87 @@
|
|
|
327
244
|
.eds-travel-tag__label--bottom {
|
|
328
245
|
margin-top: 0.125rem;
|
|
329
246
|
font-size: 0.875rem;
|
|
247
|
+
}/* DO NOT CHANGE!*/
|
|
248
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
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;
|
|
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");
|
|
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;
|
|
291
|
+
flex-direction: column;
|
|
292
|
+
font-weight: 600;
|
|
293
|
+
line-height: 1.5;
|
|
294
|
+
max-width: 100%;
|
|
295
|
+
}
|
|
296
|
+
.eds-contrast .eds-travel-header {
|
|
297
|
+
color: #ffffff;
|
|
298
|
+
}
|
|
299
|
+
.eds-travel-header--large {
|
|
300
|
+
font-size: 1.5rem;
|
|
301
|
+
}
|
|
302
|
+
.eds-travel-header--medium {
|
|
303
|
+
font-size: 1rem;
|
|
304
|
+
}
|
|
305
|
+
.eds-travel-header--no-wrap {
|
|
306
|
+
flex-direction: row;
|
|
307
|
+
}
|
|
308
|
+
.eds-travel-header__from, .eds-travel-header__to {
|
|
309
|
+
min-width: 0;
|
|
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;
|
|
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);
|
|
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.17",
|
|
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": "^5.
|
|
27
|
-
"@entur/layout": "^2.1.
|
|
26
|
+
"@entur/icons": "^5.1.1",
|
|
27
|
+
"@entur/layout": "^2.1.11",
|
|
28
28
|
"@entur/tokens": "^3.4.1",
|
|
29
|
-
"@entur/utils": "^0.4.
|
|
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": "77a4311927a9215106a9aae13c6e92e5f0f7f614"
|
|
40
40
|
}
|