@entur/travel 5.0.14 → 5.0.16-RC.0
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 +16 -0
- package/dist/styles.css +90 -90
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.16-RC.0](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.16-alpha.1...@entur/travel@5.0.16-RC.0) (2022-11-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/travel
|
|
9
|
+
|
|
10
|
+
## [5.0.16-alpha.1](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.16-alpha.0...@entur/travel@5.0.16-alpha.1) (2022-10-26)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/travel
|
|
13
|
+
|
|
14
|
+
## [5.0.16-alpha.0](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.15...@entur/travel@5.0.16-alpha.0) (2022-10-20)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @entur/travel
|
|
17
|
+
|
|
18
|
+
## [5.0.15](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.14...@entur/travel@5.0.15) (2022-10-12)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @entur/travel
|
|
21
|
+
|
|
6
22
|
## [5.0.13](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.12...@entur/travel@5.0.13) (2022-08-31)
|
|
7
23
|
|
|
8
24
|
**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
17
|
}
|
|
56
|
-
.eds-leg-
|
|
57
|
-
|
|
58
|
-
-webkit-mask-image: url("./pattern/dotted.svg");
|
|
59
|
-
}
|
|
60
|
-
.eds-leg-line--vertical {
|
|
61
|
-
mask-repeat: repeat-y;
|
|
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 {
|
|
@@ -295,36 +246,85 @@
|
|
|
295
246
|
font-size: 0.875rem;
|
|
296
247
|
}/* DO NOT CHANGE!*/
|
|
297
248
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
298
|
-
.eds-leg-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
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;
|
|
302
255
|
}
|
|
303
|
-
.eds-leg-
|
|
304
|
-
|
|
305
|
-
|
|
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;
|
|
306
262
|
width: 1rem;
|
|
263
|
+
-webkit-mask-repeat: repeat-y;
|
|
307
264
|
}
|
|
308
|
-
.eds-leg-
|
|
309
|
-
|
|
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");
|
|
310
268
|
}
|
|
311
|
-
.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;
|
|
312
291
|
flex-direction: column;
|
|
313
|
-
|
|
292
|
+
font-weight: 600;
|
|
293
|
+
line-height: 1.5;
|
|
294
|
+
max-width: 100%;
|
|
314
295
|
}
|
|
315
|
-
.eds-
|
|
316
|
-
|
|
296
|
+
.eds-contrast .eds-travel-header {
|
|
297
|
+
color: #ffffff;
|
|
317
298
|
}
|
|
318
|
-
.eds-
|
|
319
|
-
|
|
299
|
+
.eds-travel-header--large {
|
|
300
|
+
font-size: 1.5rem;
|
|
320
301
|
}
|
|
321
|
-
.eds-
|
|
302
|
+
.eds-travel-header--medium {
|
|
303
|
+
font-size: 1rem;
|
|
304
|
+
}
|
|
305
|
+
.eds-travel-header--no-wrap {
|
|
322
306
|
flex-direction: row;
|
|
323
|
-
height: 1rem;
|
|
324
307
|
}
|
|
325
|
-
.eds-
|
|
326
|
-
|
|
308
|
+
.eds-travel-header__from, .eds-travel-header__to {
|
|
309
|
+
min-width: 0;
|
|
310
|
+
overflow: hidden;
|
|
311
|
+
text-overflow: ellipsis;
|
|
312
|
+
white-space: nowrap;
|
|
327
313
|
}
|
|
328
|
-
.eds-
|
|
329
|
-
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);
|
|
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.16-RC.0",
|
|
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": "^
|
|
27
|
-
"@entur/layout": "^2.1.
|
|
26
|
+
"@entur/icons": "^5.0.1-RC.0",
|
|
27
|
+
"@entur/layout": "^2.1.12-RC.0",
|
|
28
28
|
"@entur/tokens": "^3.4.1",
|
|
29
|
-
"@entur/utils": "^0.
|
|
29
|
+
"@entur/utils": "^0.5.0-RC.0",
|
|
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": "eb50f5092d80dcdfe5c35bdcd7970e9af29e620a"
|
|
40
40
|
}
|