@entur/layout 2.1.7 → 2.1.8
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 +4 -0
- package/dist/styles.css +84 -84
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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
|
+
## [2.1.8](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.7...@entur/layout@2.1.8) (2022-08-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/layout
|
|
9
|
+
|
|
6
10
|
## [2.1.7](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.6...@entur/layout@2.1.7) (2022-06-02)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/layout
|
package/dist/styles.css
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
:root {
|
|
2
|
+
--eds-layout: 1;
|
|
3
|
+
}/* DO NOT CHANGE!*/
|
|
2
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
5
|
.eds-contrast {
|
|
4
6
|
--primary-background-color: #181c56;
|
|
@@ -6,8 +8,87 @@
|
|
|
6
8
|
--primary-label-color: #aeb7e2;
|
|
7
9
|
background-color: var(--primary-background-color);
|
|
8
10
|
color: var(--primary-text-color);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
+
}/* DO NOT CHANGE!*/
|
|
12
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
13
|
+
.eds-base-card {
|
|
14
|
+
display: flex;
|
|
15
|
+
box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
|
|
16
|
+
border: 0.0625rem solid #e9e9e9;
|
|
17
|
+
border-radius: 0.25rem;
|
|
18
|
+
align-items: center;
|
|
19
|
+
-webkit-appearance: none;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
appearance: none;
|
|
22
|
+
text-decoration: none;
|
|
23
|
+
color: inherit;
|
|
24
|
+
}
|
|
25
|
+
.eds-contrast .eds-base-card {
|
|
26
|
+
background-color: #292b6a;
|
|
27
|
+
border-color: #54568c;
|
|
28
|
+
box-shadow: 0 0.0625rem 0.1875rem 0 #393d79;
|
|
29
|
+
}/* DO NOT CHANGE!*/
|
|
30
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
31
|
+
.eds-media-card {
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
position: relative;
|
|
35
|
+
width: -webkit-fit-content;
|
|
36
|
+
width: -moz-fit-content;
|
|
37
|
+
width: fit-content;
|
|
38
|
+
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
39
|
+
}
|
|
40
|
+
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
41
|
+
outline: none;
|
|
42
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
43
|
+
}
|
|
44
|
+
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
45
|
+
outline: none;
|
|
46
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
47
|
+
}
|
|
48
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
49
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
50
|
+
}
|
|
51
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
52
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
53
|
+
}
|
|
54
|
+
.eds-contrast .eds-media-card {
|
|
55
|
+
background-color: #292b6a;
|
|
56
|
+
}
|
|
57
|
+
.eds-media-card__media {
|
|
58
|
+
transition: transform 0.2s ease-in-out;
|
|
59
|
+
}
|
|
60
|
+
.eds-media-card__title {
|
|
61
|
+
font-size: 1.5rem;
|
|
62
|
+
line-height: 1.875rem;
|
|
63
|
+
font-weight: 600;
|
|
64
|
+
margin: 0.75rem 0 0.5rem;
|
|
65
|
+
text-align: left;
|
|
66
|
+
width: -webkit-fit-content;
|
|
67
|
+
width: -moz-fit-content;
|
|
68
|
+
width: fit-content;
|
|
69
|
+
position: relative;
|
|
70
|
+
}
|
|
71
|
+
.eds-media-card:hover {
|
|
72
|
+
transform: translateY(-0.25rem);
|
|
73
|
+
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
74
|
+
}
|
|
75
|
+
.eds-media-card__text {
|
|
76
|
+
-webkit-appearance: none;
|
|
77
|
+
-moz-appearance: none;
|
|
78
|
+
appearance: none;
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
color: inherit;
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
text-decoration: none;
|
|
84
|
+
padding: 1.25rem 2rem 0;
|
|
85
|
+
}
|
|
86
|
+
.eds-media-card__text:focus {
|
|
87
|
+
outline: none;
|
|
88
|
+
}
|
|
89
|
+
.eds-media-card__arrow-icon {
|
|
90
|
+
align-self: flex-end;
|
|
91
|
+
margin: 1rem 0 1.5rem;
|
|
11
92
|
}/* DO NOT CHANGE!*/
|
|
12
93
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
13
94
|
/* DO NOT CHANGE!*/
|
|
@@ -118,24 +199,6 @@
|
|
|
118
199
|
font-size: 1rem;
|
|
119
200
|
}/* DO NOT CHANGE!*/
|
|
120
201
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
121
|
-
.eds-base-card {
|
|
122
|
-
display: flex;
|
|
123
|
-
box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
|
|
124
|
-
border: 0.0625rem solid #e9e9e9;
|
|
125
|
-
border-radius: 0.25rem;
|
|
126
|
-
align-items: center;
|
|
127
|
-
-webkit-appearance: none;
|
|
128
|
-
-moz-appearance: none;
|
|
129
|
-
appearance: none;
|
|
130
|
-
text-decoration: none;
|
|
131
|
-
color: inherit;
|
|
132
|
-
}
|
|
133
|
-
.eds-contrast .eds-base-card {
|
|
134
|
-
background-color: #292b6a;
|
|
135
|
-
border-color: #54568c;
|
|
136
|
-
box-shadow: 0 0.0625rem 0.1875rem 0 #393d79;
|
|
137
|
-
}/* DO NOT CHANGE!*/
|
|
138
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
139
202
|
.eds-tag {
|
|
140
203
|
background: #e9e9e9;
|
|
141
204
|
color: #181c56;
|
|
@@ -164,69 +227,6 @@
|
|
|
164
227
|
margin-left: 0.25rem;
|
|
165
228
|
}/* DO NOT CHANGE!*/
|
|
166
229
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
167
|
-
.eds-media-card {
|
|
168
|
-
flex-direction: column;
|
|
169
|
-
overflow: hidden;
|
|
170
|
-
position: relative;
|
|
171
|
-
width: -webkit-fit-content;
|
|
172
|
-
width: -moz-fit-content;
|
|
173
|
-
width: fit-content;
|
|
174
|
-
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
175
|
-
}
|
|
176
|
-
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
177
|
-
outline: none;
|
|
178
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
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-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
185
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
186
|
-
}
|
|
187
|
-
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
188
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
189
|
-
}
|
|
190
|
-
.eds-contrast .eds-media-card {
|
|
191
|
-
background-color: #292b6a;
|
|
192
|
-
}
|
|
193
|
-
.eds-media-card__media {
|
|
194
|
-
transition: transform 0.2s ease-in-out;
|
|
195
|
-
}
|
|
196
|
-
.eds-media-card__title {
|
|
197
|
-
font-size: 1.5rem;
|
|
198
|
-
line-height: 1.875rem;
|
|
199
|
-
font-weight: 600;
|
|
200
|
-
margin: 0.75rem 0 0.5rem;
|
|
201
|
-
text-align: left;
|
|
202
|
-
width: -webkit-fit-content;
|
|
203
|
-
width: -moz-fit-content;
|
|
204
|
-
width: fit-content;
|
|
205
|
-
position: relative;
|
|
206
|
-
}
|
|
207
|
-
.eds-media-card:hover {
|
|
208
|
-
transform: translateY(-0.25rem);
|
|
209
|
-
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
210
|
-
}
|
|
211
|
-
.eds-media-card__text {
|
|
212
|
-
-webkit-appearance: none;
|
|
213
|
-
-moz-appearance: none;
|
|
214
|
-
appearance: none;
|
|
215
|
-
cursor: pointer;
|
|
216
|
-
color: inherit;
|
|
217
|
-
display: flex;
|
|
218
|
-
flex-direction: column;
|
|
219
|
-
text-decoration: none;
|
|
220
|
-
padding: 1.25rem 2rem 0;
|
|
221
|
-
}
|
|
222
|
-
.eds-media-card__text:focus {
|
|
223
|
-
outline: none;
|
|
224
|
-
}
|
|
225
|
-
.eds-media-card__arrow-icon {
|
|
226
|
-
align-self: flex-end;
|
|
227
|
-
margin: 1rem 0 1.5rem;
|
|
228
|
-
}/* DO NOT CHANGE!*/
|
|
229
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
230
230
|
.eds-badge {
|
|
231
231
|
display: flex;
|
|
232
232
|
justify-content: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/layout",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/layout.esm.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/typography": "^1.6.
|
|
30
|
+
"@entur/typography": "^1.6.15",
|
|
31
31
|
"@entur/utils": "^0.4.3",
|
|
32
32
|
"classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@entur/tokens": "^3.
|
|
35
|
+
"@entur/tokens": "^3.4.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "82b89b2f52c8530f8d930edfdc507c809ec85f7c"
|
|
38
38
|
}
|