@entur/layout 2.1.24 → 2.1.26

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.
Files changed (2) hide show
  1. package/dist/styles.css +62 -62
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -12,6 +12,68 @@
12
12
  }
13
13
  /* DO NOT CHANGE!*/
14
14
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
15
+ .eds-media-card {
16
+ flex-direction: column;
17
+ overflow: hidden;
18
+ position: relative;
19
+ width: -moz-fit-content;
20
+ width: fit-content;
21
+ transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
22
+ }
23
+ .eds-media-card:focus, .eds-media-card[focus-within] {
24
+ outline: none;
25
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
26
+ }
27
+ .eds-media-card:focus, .eds-media-card:focus-within {
28
+ outline: none;
29
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
30
+ }
31
+ .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
32
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
33
+ }
34
+ .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
35
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
36
+ }
37
+ .eds-contrast .eds-media-card {
38
+ background-color: #292b6a;
39
+ }
40
+ .eds-media-card__media {
41
+ transition: transform 0.2s ease-in-out;
42
+ }
43
+ .eds-media-card__title {
44
+ font-size: 1.5rem;
45
+ line-height: 1.875rem;
46
+ font-weight: 600;
47
+ margin: 0.75rem 0 0.5rem;
48
+ text-align: left;
49
+ width: -moz-fit-content;
50
+ width: fit-content;
51
+ position: relative;
52
+ }
53
+ .eds-media-card:hover {
54
+ transform: translateY(-0.25rem);
55
+ box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
56
+ }
57
+ .eds-media-card__text {
58
+ -webkit-appearance: none;
59
+ -moz-appearance: none;
60
+ appearance: none;
61
+ cursor: pointer;
62
+ color: inherit;
63
+ display: flex;
64
+ flex-direction: column;
65
+ text-decoration: none;
66
+ padding: 1.25rem 2rem 0;
67
+ }
68
+ .eds-media-card__text:focus {
69
+ outline: none;
70
+ }
71
+ .eds-media-card__arrow-icon {
72
+ align-self: flex-end;
73
+ margin: 1rem 0 1.5rem;
74
+ }
75
+ /* DO NOT CHANGE!*/
76
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
15
77
  /* DO NOT CHANGE!*/
16
78
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
17
79
  .eds-navigation-card {
@@ -140,68 +202,6 @@
140
202
  }
141
203
  /* DO NOT CHANGE!*/
142
204
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
143
- .eds-media-card {
144
- flex-direction: column;
145
- overflow: hidden;
146
- position: relative;
147
- width: -moz-fit-content;
148
- width: fit-content;
149
- transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
150
- }
151
- .eds-media-card:focus, .eds-media-card[focus-within] {
152
- outline: none;
153
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
154
- }
155
- .eds-media-card:focus, .eds-media-card:focus-within {
156
- outline: none;
157
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
158
- }
159
- .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
160
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
161
- }
162
- .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
163
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
164
- }
165
- .eds-contrast .eds-media-card {
166
- background-color: #292b6a;
167
- }
168
- .eds-media-card__media {
169
- transition: transform 0.2s ease-in-out;
170
- }
171
- .eds-media-card__title {
172
- font-size: 1.5rem;
173
- line-height: 1.875rem;
174
- font-weight: 600;
175
- margin: 0.75rem 0 0.5rem;
176
- text-align: left;
177
- width: -moz-fit-content;
178
- width: fit-content;
179
- position: relative;
180
- }
181
- .eds-media-card:hover {
182
- transform: translateY(-0.25rem);
183
- box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
184
- }
185
- .eds-media-card__text {
186
- -webkit-appearance: none;
187
- -moz-appearance: none;
188
- appearance: none;
189
- cursor: pointer;
190
- color: inherit;
191
- display: flex;
192
- flex-direction: column;
193
- text-decoration: none;
194
- padding: 1.25rem 2rem 0;
195
- }
196
- .eds-media-card__text:focus {
197
- outline: none;
198
- }
199
- .eds-media-card__arrow-icon {
200
- align-self: flex-end;
201
- margin: 1rem 0 1.5rem;
202
- }
203
- /* DO NOT CHANGE!*/
204
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
205
205
  .eds-tag {
206
206
  background: #e9e9e9;
207
207
  color: #181c56;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.1.24",
3
+ "version": "2.1.26",
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": "^6.0.1",
30
+ "@entur/icons": "^6.1.0",
31
31
  "@entur/tokens": "^3.8.1",
32
- "@entur/typography": "^1.7.12",
33
- "@entur/utils": "^0.5.5",
32
+ "@entur/typography": "^1.7.13",
33
+ "@entur/utils": "^0.6.0",
34
34
  "classnames": "^2.3.1"
35
35
  },
36
- "gitHead": "1e78a655ffc4c4ca80d8e54495768282dc374201"
36
+ "gitHead": "a3edbb9069b9bd125919df8984b23628a1040cf4"
37
37
  }