@entur/layout 2.3.22 → 2.4.0-beta.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/dist/styles.css +57 -57
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1,27 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-base-card {
|
|
4
|
-
display: flex;
|
|
5
|
-
box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
|
|
6
|
-
background-color: var(--components-layout-card-standard-fill-default);
|
|
7
|
-
border: 0.0625rem solid var(--components-layout-card-standard-border-default);
|
|
8
|
-
color: var(--components-layout-card-standard-text);
|
|
9
|
-
border-radius: 0.25rem;
|
|
10
|
-
align-items: center;
|
|
11
|
-
-webkit-appearance: none;
|
|
12
|
-
-moz-appearance: none;
|
|
13
|
-
appearance: none;
|
|
14
|
-
-webkit-text-decoration: none;
|
|
15
|
-
text-decoration: none;
|
|
16
|
-
}
|
|
17
|
-
.eds-contrast .eds-base-card {
|
|
18
|
-
background-color: var(--components-layout-card-contrast-fill-default);
|
|
19
|
-
border-color: var(--components-layout-card-contrast-border-default);
|
|
20
|
-
box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
|
|
21
|
-
color: var(--components-layout-card-contrast-text);
|
|
22
|
-
}
|
|
23
|
-
/* DO NOT CHANGE!*/
|
|
24
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
25
3
|
.eds-navigation-card {
|
|
26
4
|
display: flex;
|
|
27
5
|
flex-direction: column;
|
|
@@ -56,12 +34,12 @@
|
|
|
56
34
|
.eds-navigation-card:hover .eds-navigation-card__title:after {
|
|
57
35
|
width: 100%;
|
|
58
36
|
}
|
|
59
|
-
.eds-navigation-card:focus {
|
|
37
|
+
.eds-navigation-card:focus-visible {
|
|
60
38
|
outline: 2px solid #181c56;
|
|
61
39
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
62
40
|
outline-offset: 0.125rem;
|
|
63
41
|
}
|
|
64
|
-
.eds-contrast .eds-navigation-card:focus {
|
|
42
|
+
.eds-contrast .eds-navigation-card:focus-visible {
|
|
65
43
|
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
66
44
|
}
|
|
67
45
|
.eds-navigation-card__title-icon {
|
|
@@ -117,6 +95,28 @@
|
|
|
117
95
|
}
|
|
118
96
|
/* DO NOT CHANGE!*/
|
|
119
97
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
98
|
+
.eds-base-card {
|
|
99
|
+
display: flex;
|
|
100
|
+
box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
|
|
101
|
+
background-color: var(--components-layout-card-standard-fill-default);
|
|
102
|
+
border: 0.0625rem solid var(--components-layout-card-standard-border-default);
|
|
103
|
+
color: var(--components-layout-card-standard-text);
|
|
104
|
+
border-radius: 0.25rem;
|
|
105
|
+
align-items: center;
|
|
106
|
+
-webkit-appearance: none;
|
|
107
|
+
-moz-appearance: none;
|
|
108
|
+
appearance: none;
|
|
109
|
+
-webkit-text-decoration: none;
|
|
110
|
+
text-decoration: none;
|
|
111
|
+
}
|
|
112
|
+
.eds-contrast .eds-base-card {
|
|
113
|
+
background-color: var(--components-layout-card-contrast-fill-default);
|
|
114
|
+
border-color: var(--components-layout-card-contrast-border-default);
|
|
115
|
+
box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
|
|
116
|
+
color: var(--components-layout-card-contrast-text);
|
|
117
|
+
}
|
|
118
|
+
/* DO NOT CHANGE!*/
|
|
119
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
120
120
|
.eds-media-card {
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
overflow: hidden;
|
|
@@ -129,12 +129,12 @@
|
|
|
129
129
|
.eds-contrast .eds-media-card {
|
|
130
130
|
background-color: var(--components-layout-card-contrast-fill-default);
|
|
131
131
|
}
|
|
132
|
-
.eds-media-card:
|
|
132
|
+
.eds-media-card:has(:focus-visible) {
|
|
133
133
|
outline: 2px solid #181c56;
|
|
134
134
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
135
135
|
outline-offset: 0.125rem;
|
|
136
136
|
}
|
|
137
|
-
.eds-contrast .eds-media-card:
|
|
137
|
+
.eds-contrast .eds-media-card:has(:focus-visible) {
|
|
138
138
|
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
139
139
|
}
|
|
140
140
|
.eds-media-card:hover {
|
|
@@ -384,37 +384,6 @@
|
|
|
384
384
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
385
385
|
/* DO NOT CHANGE!*/
|
|
386
386
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
387
|
-
.eds-tag {
|
|
388
|
-
background: #e9e9e9;
|
|
389
|
-
color: #181c56;
|
|
390
|
-
display: inline-block;
|
|
391
|
-
min-width: 2rem;
|
|
392
|
-
padding: 0.25rem 0.75rem;
|
|
393
|
-
font-size: 0.875rem;
|
|
394
|
-
line-height: 1.375rem;
|
|
395
|
-
}
|
|
396
|
-
.eds-tag--leading-icon .eds-icon {
|
|
397
|
-
margin-right: 0.5rem;
|
|
398
|
-
}
|
|
399
|
-
.eds-tag--trailing-icon .eds-icon {
|
|
400
|
-
margin-left: 0.5rem;
|
|
401
|
-
}
|
|
402
|
-
.eds-tag--compact {
|
|
403
|
-
font-size: 0.75rem;
|
|
404
|
-
padding: 0.125rem 0.5rem;
|
|
405
|
-
line-height: 1.25rem;
|
|
406
|
-
height: 1.5rem;
|
|
407
|
-
}
|
|
408
|
-
.eds-tag--compact.eds-tag--leading-icon .eds-icon {
|
|
409
|
-
margin-right: 0.25rem;
|
|
410
|
-
}
|
|
411
|
-
.eds-tag--compact.eds-tag--trailing-icon .eds-icon {
|
|
412
|
-
margin-left: 0.25rem;
|
|
413
|
-
}
|
|
414
|
-
/* DO NOT CHANGE!*/
|
|
415
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
416
|
-
/* DO NOT CHANGE!*/
|
|
417
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
418
387
|
/* DO NOT CHANGE!*/
|
|
419
388
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
420
389
|
[data-color-mode=light],
|
|
@@ -710,3 +679,34 @@
|
|
|
710
679
|
:root {
|
|
711
680
|
--eds-layout: 1;
|
|
712
681
|
}
|
|
682
|
+
/* DO NOT CHANGE!*/
|
|
683
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
684
|
+
.eds-tag {
|
|
685
|
+
background: #e9e9e9;
|
|
686
|
+
color: #181c56;
|
|
687
|
+
display: inline-block;
|
|
688
|
+
min-width: 2rem;
|
|
689
|
+
padding: 0.25rem 0.75rem;
|
|
690
|
+
font-size: 0.875rem;
|
|
691
|
+
line-height: 1.375rem;
|
|
692
|
+
}
|
|
693
|
+
.eds-tag--leading-icon .eds-icon {
|
|
694
|
+
margin-right: 0.5rem;
|
|
695
|
+
}
|
|
696
|
+
.eds-tag--trailing-icon .eds-icon {
|
|
697
|
+
margin-left: 0.5rem;
|
|
698
|
+
}
|
|
699
|
+
.eds-tag--compact {
|
|
700
|
+
font-size: 0.75rem;
|
|
701
|
+
padding: 0.125rem 0.5rem;
|
|
702
|
+
line-height: 1.25rem;
|
|
703
|
+
height: 1.5rem;
|
|
704
|
+
}
|
|
705
|
+
.eds-tag--compact.eds-tag--leading-icon .eds-icon {
|
|
706
|
+
margin-right: 0.25rem;
|
|
707
|
+
}
|
|
708
|
+
.eds-tag--compact.eds-tag--trailing-icon .eds-icon {
|
|
709
|
+
margin-left: 0.25rem;
|
|
710
|
+
}
|
|
711
|
+
/* DO NOT CHANGE!*/
|
|
712
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/layout",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/layout.esm.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/icons": "^7.6.0",
|
|
31
31
|
"@entur/tokens": "^3.17.5",
|
|
32
|
-
"@entur/typography": "^1.
|
|
32
|
+
"@entur/typography": "^1.9.0-beta.0",
|
|
33
33
|
"@entur/utils": "^0.12.2",
|
|
34
34
|
"classnames": "^2.3.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"dts-cli": "2.0.5"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "6ee621529704e08c9814cda206da98c37a9f0689"
|
|
40
40
|
}
|