@entur/layout 2.1.4 → 2.1.7
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 +65 -48
- 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.7](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.6...@entur/layout@2.1.7) (2022-06-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/layout
|
|
9
|
+
|
|
10
|
+
## [2.1.6](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.5...@entur/layout@2.1.6) (2022-05-13)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/layout
|
|
13
|
+
|
|
14
|
+
## [2.1.5](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.4...@entur/layout@2.1.5) (2022-04-27)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @entur/layout
|
|
17
|
+
|
|
6
18
|
## [2.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.3...@entur/layout@2.1.4) (2022-02-09)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @entur/layout
|
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,50 +6,8 @@
|
|
|
8
6
|
--primary-label-color: #aeb7e2;
|
|
9
7
|
background-color: var(--primary-background-color);
|
|
10
8
|
color: var(--primary-text-color);
|
|
11
|
-
}
|
|
12
|
-
|
|
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
|
-
appearance: none;
|
|
20
|
-
text-decoration: none;
|
|
21
|
-
color: inherit;
|
|
22
|
-
}
|
|
23
|
-
.eds-contrast .eds-base-card {
|
|
24
|
-
background-color: #292b6a;
|
|
25
|
-
border-color: #54568c;
|
|
26
|
-
box-shadow: 0 0.0625rem 0.1875rem 0 #393d79;
|
|
27
|
-
}/* DO NOT CHANGE!*/
|
|
28
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
29
|
-
.eds-tag {
|
|
30
|
-
background: #e9e9e9;
|
|
31
|
-
color: #181c56;
|
|
32
|
-
display: inline-block;
|
|
33
|
-
min-width: 2rem;
|
|
34
|
-
padding: 0.25rem 0.75rem;
|
|
35
|
-
font-size: 0.875rem;
|
|
36
|
-
line-height: 1.375rem;
|
|
37
|
-
}
|
|
38
|
-
.eds-tag--leading-icon .eds-icon {
|
|
39
|
-
margin-right: 0.5rem;
|
|
40
|
-
}
|
|
41
|
-
.eds-tag--trailing-icon .eds-icon {
|
|
42
|
-
margin-left: 0.5rem;
|
|
43
|
-
}
|
|
44
|
-
.eds-tag--compact {
|
|
45
|
-
font-size: 0.75rem;
|
|
46
|
-
padding: 0.125rem 0.5rem;
|
|
47
|
-
line-height: 1.25rem;
|
|
48
|
-
height: 1.5rem;
|
|
49
|
-
}
|
|
50
|
-
.eds-tag--compact.eds-tag--leading-icon .eds-icon {
|
|
51
|
-
margin-right: 0.25rem;
|
|
52
|
-
}
|
|
53
|
-
.eds-tag--compact.eds-tag--trailing-icon .eds-icon {
|
|
54
|
-
margin-left: 0.25rem;
|
|
9
|
+
}:root {
|
|
10
|
+
--eds-layout: 1;
|
|
55
11
|
}/* DO NOT CHANGE!*/
|
|
56
12
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
57
13
|
/* DO NOT CHANGE!*/
|
|
@@ -162,17 +118,72 @@
|
|
|
162
118
|
font-size: 1rem;
|
|
163
119
|
}/* DO NOT CHANGE!*/
|
|
164
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. */
|
|
139
|
+
.eds-tag {
|
|
140
|
+
background: #e9e9e9;
|
|
141
|
+
color: #181c56;
|
|
142
|
+
display: inline-block;
|
|
143
|
+
min-width: 2rem;
|
|
144
|
+
padding: 0.25rem 0.75rem;
|
|
145
|
+
font-size: 0.875rem;
|
|
146
|
+
line-height: 1.375rem;
|
|
147
|
+
}
|
|
148
|
+
.eds-tag--leading-icon .eds-icon {
|
|
149
|
+
margin-right: 0.5rem;
|
|
150
|
+
}
|
|
151
|
+
.eds-tag--trailing-icon .eds-icon {
|
|
152
|
+
margin-left: 0.5rem;
|
|
153
|
+
}
|
|
154
|
+
.eds-tag--compact {
|
|
155
|
+
font-size: 0.75rem;
|
|
156
|
+
padding: 0.125rem 0.5rem;
|
|
157
|
+
line-height: 1.25rem;
|
|
158
|
+
height: 1.5rem;
|
|
159
|
+
}
|
|
160
|
+
.eds-tag--compact.eds-tag--leading-icon .eds-icon {
|
|
161
|
+
margin-right: 0.25rem;
|
|
162
|
+
}
|
|
163
|
+
.eds-tag--compact.eds-tag--trailing-icon .eds-icon {
|
|
164
|
+
margin-left: 0.25rem;
|
|
165
|
+
}/* DO NOT CHANGE!*/
|
|
166
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
165
167
|
.eds-media-card {
|
|
166
168
|
flex-direction: column;
|
|
167
169
|
overflow: hidden;
|
|
168
170
|
position: relative;
|
|
171
|
+
width: -webkit-fit-content;
|
|
172
|
+
width: -moz-fit-content;
|
|
169
173
|
width: fit-content;
|
|
170
174
|
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
171
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
|
+
}
|
|
172
180
|
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
173
181
|
outline: none;
|
|
174
182
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
175
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
|
+
}
|
|
176
187
|
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
177
188
|
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
178
189
|
}
|
|
@@ -188,6 +199,8 @@
|
|
|
188
199
|
font-weight: 600;
|
|
189
200
|
margin: 0.75rem 0 0.5rem;
|
|
190
201
|
text-align: left;
|
|
202
|
+
width: -webkit-fit-content;
|
|
203
|
+
width: -moz-fit-content;
|
|
191
204
|
width: fit-content;
|
|
192
205
|
position: relative;
|
|
193
206
|
}
|
|
@@ -196,7 +209,9 @@
|
|
|
196
209
|
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
197
210
|
}
|
|
198
211
|
.eds-media-card__text {
|
|
199
|
-
appearance: none;
|
|
212
|
+
-webkit-appearance: none;
|
|
213
|
+
-moz-appearance: none;
|
|
214
|
+
appearance: none;
|
|
200
215
|
cursor: pointer;
|
|
201
216
|
color: inherit;
|
|
202
217
|
display: flex;
|
|
@@ -221,6 +236,8 @@
|
|
|
221
236
|
font-size: 0.75rem;
|
|
222
237
|
min-width: 1.5rem;
|
|
223
238
|
height: 1.5rem;
|
|
239
|
+
width: -webkit-fit-content;
|
|
240
|
+
width: -moz-fit-content;
|
|
224
241
|
width: fit-content;
|
|
225
242
|
line-height: 1rem;
|
|
226
243
|
padding: 2px 8px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/layout",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
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.14",
|
|
31
31
|
"@entur/utils": "^0.4.3",
|
|
32
32
|
"classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@entur/tokens": "^3.3.
|
|
35
|
+
"@entur/tokens": "^3.3.2"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "02c1bc4caad8480d21d8560188ba21b972e3370e"
|
|
38
38
|
}
|