@entur/layout 2.1.21 → 2.1.23
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 +73 -67
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
--eds-layout: 1;
|
|
3
|
-
}/* DO NOT CHANGE!*/
|
|
1
|
+
/* DO NOT CHANGE!*/
|
|
4
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
3
|
.eds-contrast {
|
|
6
4
|
--primary-background-color: #181c56;
|
|
@@ -8,68 +6,11 @@
|
|
|
8
6
|
--primary-label-color: #aeb7e2;
|
|
9
7
|
background-color: var(--primary-background-color);
|
|
10
8
|
color: var(--primary-text-color);
|
|
11
|
-
}/* DO NOT CHANGE!*/
|
|
12
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
13
|
-
.eds-media-card {
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
position: relative;
|
|
17
|
-
width: -moz-fit-content;
|
|
18
|
-
width: fit-content;
|
|
19
|
-
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
20
|
-
}
|
|
21
|
-
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
22
|
-
outline: none;
|
|
23
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
24
|
-
}
|
|
25
|
-
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
26
|
-
outline: none;
|
|
27
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
28
|
-
}
|
|
29
|
-
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
30
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
31
9
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
.eds-contrast .eds-media-card {
|
|
36
|
-
background-color: #292b6a;
|
|
37
|
-
}
|
|
38
|
-
.eds-media-card__media {
|
|
39
|
-
transition: transform 0.2s ease-in-out;
|
|
40
|
-
}
|
|
41
|
-
.eds-media-card__title {
|
|
42
|
-
font-size: 1.5rem;
|
|
43
|
-
line-height: 1.875rem;
|
|
44
|
-
font-weight: 600;
|
|
45
|
-
margin: 0.75rem 0 0.5rem;
|
|
46
|
-
text-align: left;
|
|
47
|
-
width: -moz-fit-content;
|
|
48
|
-
width: fit-content;
|
|
49
|
-
position: relative;
|
|
50
|
-
}
|
|
51
|
-
.eds-media-card:hover {
|
|
52
|
-
transform: translateY(-0.25rem);
|
|
53
|
-
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
54
|
-
}
|
|
55
|
-
.eds-media-card__text {
|
|
56
|
-
-webkit-appearance: none;
|
|
57
|
-
-moz-appearance: none;
|
|
58
|
-
appearance: none;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
color: inherit;
|
|
61
|
-
display: flex;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
text-decoration: none;
|
|
64
|
-
padding: 1.25rem 2rem 0;
|
|
65
|
-
}
|
|
66
|
-
.eds-media-card__text:focus {
|
|
67
|
-
outline: none;
|
|
10
|
+
:root {
|
|
11
|
+
--eds-layout: 1;
|
|
68
12
|
}
|
|
69
|
-
|
|
70
|
-
align-self: flex-end;
|
|
71
|
-
margin: 1rem 0 1.5rem;
|
|
72
|
-
}/* DO NOT CHANGE!*/
|
|
13
|
+
/* DO NOT CHANGE!*/
|
|
73
14
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
74
15
|
.eds-base-card {
|
|
75
16
|
display: flex;
|
|
@@ -87,7 +28,8 @@
|
|
|
87
28
|
background-color: #292b6a;
|
|
88
29
|
border-color: #54568c;
|
|
89
30
|
box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
|
|
90
|
-
}
|
|
31
|
+
}
|
|
32
|
+
/* DO NOT CHANGE!*/
|
|
91
33
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
92
34
|
/* DO NOT CHANGE!*/
|
|
93
35
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -195,7 +137,8 @@
|
|
|
195
137
|
}
|
|
196
138
|
.eds-navigation-card__external--compact {
|
|
197
139
|
font-size: 1rem;
|
|
198
|
-
}
|
|
140
|
+
}
|
|
141
|
+
/* DO NOT CHANGE!*/
|
|
199
142
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
200
143
|
.eds-tag {
|
|
201
144
|
background: #e9e9e9;
|
|
@@ -223,7 +166,70 @@
|
|
|
223
166
|
}
|
|
224
167
|
.eds-tag--compact.eds-tag--trailing-icon .eds-icon {
|
|
225
168
|
margin-left: 0.25rem;
|
|
226
|
-
}
|
|
169
|
+
}
|
|
170
|
+
/* DO NOT CHANGE!*/
|
|
171
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
172
|
+
.eds-media-card {
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
overflow: hidden;
|
|
175
|
+
position: relative;
|
|
176
|
+
width: -moz-fit-content;
|
|
177
|
+
width: fit-content;
|
|
178
|
+
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
179
|
+
}
|
|
180
|
+
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
181
|
+
outline: none;
|
|
182
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
183
|
+
}
|
|
184
|
+
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
185
|
+
outline: none;
|
|
186
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
187
|
+
}
|
|
188
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
189
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
190
|
+
}
|
|
191
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
192
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
193
|
+
}
|
|
194
|
+
.eds-contrast .eds-media-card {
|
|
195
|
+
background-color: #292b6a;
|
|
196
|
+
}
|
|
197
|
+
.eds-media-card__media {
|
|
198
|
+
transition: transform 0.2s ease-in-out;
|
|
199
|
+
}
|
|
200
|
+
.eds-media-card__title {
|
|
201
|
+
font-size: 1.5rem;
|
|
202
|
+
line-height: 1.875rem;
|
|
203
|
+
font-weight: 600;
|
|
204
|
+
margin: 0.75rem 0 0.5rem;
|
|
205
|
+
text-align: left;
|
|
206
|
+
width: -moz-fit-content;
|
|
207
|
+
width: fit-content;
|
|
208
|
+
position: relative;
|
|
209
|
+
}
|
|
210
|
+
.eds-media-card:hover {
|
|
211
|
+
transform: translateY(-0.25rem);
|
|
212
|
+
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
213
|
+
}
|
|
214
|
+
.eds-media-card__text {
|
|
215
|
+
-webkit-appearance: none;
|
|
216
|
+
-moz-appearance: none;
|
|
217
|
+
appearance: none;
|
|
218
|
+
cursor: pointer;
|
|
219
|
+
color: inherit;
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
text-decoration: none;
|
|
223
|
+
padding: 1.25rem 2rem 0;
|
|
224
|
+
}
|
|
225
|
+
.eds-media-card__text:focus {
|
|
226
|
+
outline: none;
|
|
227
|
+
}
|
|
228
|
+
.eds-media-card__arrow-icon {
|
|
229
|
+
align-self: flex-end;
|
|
230
|
+
margin: 1rem 0 1.5rem;
|
|
231
|
+
}
|
|
232
|
+
/* DO NOT CHANGE!*/
|
|
227
233
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
228
234
|
.eds-badge {
|
|
229
235
|
display: flex;
|
|
@@ -384,4 +390,4 @@
|
|
|
384
390
|
height: 0.625rem;
|
|
385
391
|
width: 0.625rem;
|
|
386
392
|
border-radius: 50%;
|
|
387
|
-
}
|
|
393
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/layout",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.23",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/layout.esm.js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/icons": "^
|
|
30
|
+
"@entur/icons": "^6.0.0",
|
|
31
31
|
"@entur/tokens": "^3.8.0",
|
|
32
|
-
"@entur/typography": "^1.7.
|
|
32
|
+
"@entur/typography": "^1.7.11",
|
|
33
33
|
"@entur/utils": "^0.5.5",
|
|
34
34
|
"classnames": "^2.3.1"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "48cdba2e353c9311d52550a98c6b025deb7b8270"
|
|
37
37
|
}
|