@entur/layout 2.1.6 → 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 +4 -0
- package/dist/styles.css +108 -108
- package/package.json +3 -3
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.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
|
+
|
|
6
10
|
## [2.1.6](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.5...@entur/layout@2.1.6) (2022-05-13)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/layout
|
package/dist/styles.css
CHANGED
|
@@ -10,6 +10,114 @@
|
|
|
10
10
|
--eds-layout: 1;
|
|
11
11
|
}/* DO NOT CHANGE!*/
|
|
12
12
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
13
|
+
/* DO NOT CHANGE!*/
|
|
14
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
15
|
+
.eds-navigation-card {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
text-align: center;
|
|
19
|
+
padding: 1.5rem;
|
|
20
|
+
position: relative;
|
|
21
|
+
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
22
|
+
}
|
|
23
|
+
.eds-navigation-card__title {
|
|
24
|
+
font-size: 1.5rem;
|
|
25
|
+
line-height: 1.875rem;
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
margin: 0.5rem 0 1rem;
|
|
28
|
+
}
|
|
29
|
+
.eds-navigation-card__title:after {
|
|
30
|
+
content: "";
|
|
31
|
+
display: block;
|
|
32
|
+
bottom: 1rem;
|
|
33
|
+
height: 0.1875rem;
|
|
34
|
+
width: 2rem;
|
|
35
|
+
margin: 0 auto;
|
|
36
|
+
opacity: var(--show-active-line);
|
|
37
|
+
background: #ff5959;
|
|
38
|
+
transition: width 0.2s ease-in-out;
|
|
39
|
+
}
|
|
40
|
+
.eds-navigation-card:before {
|
|
41
|
+
content: " ";
|
|
42
|
+
position: absolute;
|
|
43
|
+
display: block;
|
|
44
|
+
top: 0;
|
|
45
|
+
left: 0;
|
|
46
|
+
right: 0;
|
|
47
|
+
bottom: 0;
|
|
48
|
+
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
49
|
+
transition: opacity 0.2s ease-in-out;
|
|
50
|
+
opacity: 0;
|
|
51
|
+
border-radius: 0.25rem;
|
|
52
|
+
}
|
|
53
|
+
.eds-contrast .eds-navigation-card:before {
|
|
54
|
+
box-shadow: 0 0.125rem 1rem 0 #393d79;
|
|
55
|
+
}
|
|
56
|
+
.eds-navigation-card:hover {
|
|
57
|
+
transform: translateY(-0.25rem);
|
|
58
|
+
}
|
|
59
|
+
.eds-navigation-card:hover:before {
|
|
60
|
+
opacity: 1;
|
|
61
|
+
}
|
|
62
|
+
.eds-navigation-card:hover .eds-navigation-card__title:after {
|
|
63
|
+
width: 100%;
|
|
64
|
+
}
|
|
65
|
+
.eds-navigation-card:focus {
|
|
66
|
+
outline: none;
|
|
67
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
68
|
+
}
|
|
69
|
+
.eds-contrast .eds-navigation-card:focus {
|
|
70
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
71
|
+
}
|
|
72
|
+
.eds-navigation-card__title-icon {
|
|
73
|
+
display: flex;
|
|
74
|
+
font-size: 2rem;
|
|
75
|
+
padding: 0.75rem;
|
|
76
|
+
}
|
|
77
|
+
.eds-navigation-card__title-icon-compact {
|
|
78
|
+
position: relative;
|
|
79
|
+
top: 0.1em;
|
|
80
|
+
margin-right: 1.5rem;
|
|
81
|
+
}
|
|
82
|
+
.eds-navigation-card__arrow-icon {
|
|
83
|
+
margin-top: 0.5rem;
|
|
84
|
+
}
|
|
85
|
+
.eds-navigation-card--compact {
|
|
86
|
+
flex-direction: row;
|
|
87
|
+
justify-content: space-between;
|
|
88
|
+
padding: 0 2rem;
|
|
89
|
+
}
|
|
90
|
+
@media screen and (min-width: 50rem) {
|
|
91
|
+
.eds-navigation-card--compact {
|
|
92
|
+
padding: 1rem 2.5rem;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
.eds-navigation-card--compact .eds-navigation-card__title {
|
|
96
|
+
margin: 0;
|
|
97
|
+
padding: 1rem 0;
|
|
98
|
+
}
|
|
99
|
+
.eds-navigation-card--compact .eds-navigation-card__title:after {
|
|
100
|
+
display: none;
|
|
101
|
+
}
|
|
102
|
+
.eds-navigation-card--compact .eds-navigation-card__arrow-icon {
|
|
103
|
+
margin-top: 0rem;
|
|
104
|
+
}
|
|
105
|
+
.eds-navigation-card__compact-icon {
|
|
106
|
+
position: absolute;
|
|
107
|
+
right: 2rem;
|
|
108
|
+
top: 2rem;
|
|
109
|
+
font-size: 1rem;
|
|
110
|
+
}
|
|
111
|
+
.eds-navigation-card__external--not-compact {
|
|
112
|
+
position: absolute;
|
|
113
|
+
top: 1.25rem;
|
|
114
|
+
right: 1.25rem;
|
|
115
|
+
color: #656782;
|
|
116
|
+
}
|
|
117
|
+
.eds-navigation-card__external--compact {
|
|
118
|
+
font-size: 1rem;
|
|
119
|
+
}/* DO NOT CHANGE!*/
|
|
120
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
13
121
|
.eds-base-card {
|
|
14
122
|
display: flex;
|
|
15
123
|
box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
|
|
@@ -119,114 +227,6 @@
|
|
|
119
227
|
margin: 1rem 0 1.5rem;
|
|
120
228
|
}/* DO NOT CHANGE!*/
|
|
121
229
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
122
|
-
/* DO NOT CHANGE!*/
|
|
123
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
124
|
-
.eds-navigation-card {
|
|
125
|
-
display: flex;
|
|
126
|
-
flex-direction: column;
|
|
127
|
-
text-align: center;
|
|
128
|
-
padding: 1.5rem;
|
|
129
|
-
position: relative;
|
|
130
|
-
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
131
|
-
}
|
|
132
|
-
.eds-navigation-card__title {
|
|
133
|
-
font-size: 1.5rem;
|
|
134
|
-
line-height: 1.875rem;
|
|
135
|
-
font-weight: 600;
|
|
136
|
-
margin: 0.5rem 0 1rem;
|
|
137
|
-
}
|
|
138
|
-
.eds-navigation-card__title:after {
|
|
139
|
-
content: "";
|
|
140
|
-
display: block;
|
|
141
|
-
bottom: 1rem;
|
|
142
|
-
height: 0.1875rem;
|
|
143
|
-
width: 2rem;
|
|
144
|
-
margin: 0 auto;
|
|
145
|
-
opacity: var(--show-active-line);
|
|
146
|
-
background: #ff5959;
|
|
147
|
-
transition: width 0.2s ease-in-out;
|
|
148
|
-
}
|
|
149
|
-
.eds-navigation-card:before {
|
|
150
|
-
content: " ";
|
|
151
|
-
position: absolute;
|
|
152
|
-
display: block;
|
|
153
|
-
top: 0;
|
|
154
|
-
left: 0;
|
|
155
|
-
right: 0;
|
|
156
|
-
bottom: 0;
|
|
157
|
-
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
158
|
-
transition: opacity 0.2s ease-in-out;
|
|
159
|
-
opacity: 0;
|
|
160
|
-
border-radius: 0.25rem;
|
|
161
|
-
}
|
|
162
|
-
.eds-contrast .eds-navigation-card:before {
|
|
163
|
-
box-shadow: 0 0.125rem 1rem 0 #393d79;
|
|
164
|
-
}
|
|
165
|
-
.eds-navigation-card:hover {
|
|
166
|
-
transform: translateY(-0.25rem);
|
|
167
|
-
}
|
|
168
|
-
.eds-navigation-card:hover:before {
|
|
169
|
-
opacity: 1;
|
|
170
|
-
}
|
|
171
|
-
.eds-navigation-card:hover .eds-navigation-card__title:after {
|
|
172
|
-
width: 100%;
|
|
173
|
-
}
|
|
174
|
-
.eds-navigation-card:focus {
|
|
175
|
-
outline: none;
|
|
176
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
177
|
-
}
|
|
178
|
-
.eds-contrast .eds-navigation-card:focus {
|
|
179
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
180
|
-
}
|
|
181
|
-
.eds-navigation-card__title-icon {
|
|
182
|
-
display: flex;
|
|
183
|
-
font-size: 2rem;
|
|
184
|
-
padding: 0.75rem;
|
|
185
|
-
}
|
|
186
|
-
.eds-navigation-card__title-icon-compact {
|
|
187
|
-
position: relative;
|
|
188
|
-
top: 0.1em;
|
|
189
|
-
margin-right: 1.5rem;
|
|
190
|
-
}
|
|
191
|
-
.eds-navigation-card__arrow-icon {
|
|
192
|
-
margin-top: 0.5rem;
|
|
193
|
-
}
|
|
194
|
-
.eds-navigation-card--compact {
|
|
195
|
-
flex-direction: row;
|
|
196
|
-
justify-content: space-between;
|
|
197
|
-
padding: 0 2rem;
|
|
198
|
-
}
|
|
199
|
-
@media screen and (min-width: 50rem) {
|
|
200
|
-
.eds-navigation-card--compact {
|
|
201
|
-
padding: 1rem 2.5rem;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
.eds-navigation-card--compact .eds-navigation-card__title {
|
|
205
|
-
margin: 0;
|
|
206
|
-
padding: 1rem 0;
|
|
207
|
-
}
|
|
208
|
-
.eds-navigation-card--compact .eds-navigation-card__title:after {
|
|
209
|
-
display: none;
|
|
210
|
-
}
|
|
211
|
-
.eds-navigation-card--compact .eds-navigation-card__arrow-icon {
|
|
212
|
-
margin-top: 0rem;
|
|
213
|
-
}
|
|
214
|
-
.eds-navigation-card__compact-icon {
|
|
215
|
-
position: absolute;
|
|
216
|
-
right: 2rem;
|
|
217
|
-
top: 2rem;
|
|
218
|
-
font-size: 1rem;
|
|
219
|
-
}
|
|
220
|
-
.eds-navigation-card__external--not-compact {
|
|
221
|
-
position: absolute;
|
|
222
|
-
top: 1.25rem;
|
|
223
|
-
right: 1.25rem;
|
|
224
|
-
color: #656782;
|
|
225
|
-
}
|
|
226
|
-
.eds-navigation-card__external--compact {
|
|
227
|
-
font-size: 1rem;
|
|
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.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
35
|
"@entur/tokens": "^3.3.2"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "02c1bc4caad8480d21d8560188ba21b972e3370e"
|
|
38
38
|
}
|