@entur/layout 2.1.11 → 2.1.12-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 +12 -0
- package/dist/styles.css +81 -81
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.12-RC.0](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.12-alpha.1...@entur/layout@2.1.12-RC.0) (2022-11-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/layout
|
|
9
|
+
|
|
10
|
+
## [2.1.12-alpha.1](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.12-alpha.0...@entur/layout@2.1.12-alpha.1) (2022-10-26)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/layout
|
|
13
|
+
|
|
14
|
+
## [2.1.12-alpha.0](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.11...@entur/layout@2.1.12-alpha.0) (2022-10-20)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @entur/layout
|
|
17
|
+
|
|
6
18
|
## [2.1.10](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.9...@entur/layout@2.1.10) (2022-08-31)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @entur/layout
|
package/dist/styles.css
CHANGED
|
@@ -10,87 +10,6 @@
|
|
|
10
10
|
color: var(--primary-text-color);
|
|
11
11
|
}/* DO NOT CHANGE!*/
|
|
12
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;
|
|
92
|
-
}/* DO NOT CHANGE!*/
|
|
93
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
94
13
|
/* DO NOT CHANGE!*/
|
|
95
14
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
96
15
|
.eds-navigation-card {
|
|
@@ -199,6 +118,24 @@
|
|
|
199
118
|
font-size: 1rem;
|
|
200
119
|
}/* DO NOT CHANGE!*/
|
|
201
120
|
/* 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. */
|
|
202
139
|
.eds-tag {
|
|
203
140
|
background: #e9e9e9;
|
|
204
141
|
color: #181c56;
|
|
@@ -227,6 +164,69 @@
|
|
|
227
164
|
margin-left: 0.25rem;
|
|
228
165
|
}/* DO NOT CHANGE!*/
|
|
229
166
|
/* 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.12-RC.0",
|
|
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.7.0",
|
|
31
|
-
"@entur/utils": "^0.
|
|
30
|
+
"@entur/typography": "^1.7.1-RC.0",
|
|
31
|
+
"@entur/utils": "^0.5.0-RC.0",
|
|
32
32
|
"classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@entur/tokens": "^3.4.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "eb50f5092d80dcdfe5c35bdcd7970e9af29e620a"
|
|
38
38
|
}
|