@entur/layout 2.1.49 → 2.1.50

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 +81 -81
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -1,86 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-media-card {
4
- flex-direction: column;
5
- overflow: hidden;
6
- position: relative;
7
- width: -moz-fit-content;
8
- width: fit-content;
9
- transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
10
- }
11
- .eds-media-card:focus, .eds-media-card[focus-within] {
12
- outline: none;
13
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
14
- }
15
- .eds-media-card:focus, .eds-media-card:focus-within {
16
- outline: none;
17
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
18
- }
19
- .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
20
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
21
- }
22
- .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
23
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
24
- }
25
- .eds-contrast .eds-media-card {
26
- background-color: #292b6a;
27
- }
28
- .eds-media-card__media {
29
- transition: transform 0.2s ease-in-out;
30
- }
31
- .eds-media-card__title {
32
- font-size: 1.5rem;
33
- line-height: 1.875rem;
34
- font-weight: 600;
35
- margin: 0.75rem 0 0.5rem;
36
- text-align: left;
37
- width: -moz-fit-content;
38
- width: fit-content;
39
- position: relative;
40
- }
41
- .eds-media-card:hover {
42
- transform: translateY(-0.25rem);
43
- box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
44
- }
45
- .eds-media-card__text {
46
- -webkit-appearance: none;
47
- -moz-appearance: none;
48
- appearance: none;
49
- cursor: pointer;
50
- color: inherit;
51
- display: flex;
52
- flex-direction: column;
53
- text-decoration: none;
54
- padding: 1.25rem 2rem 0;
55
- }
56
- .eds-media-card__text:focus {
57
- outline: none;
58
- }
59
- .eds-media-card__arrow-icon {
60
- align-self: flex-end;
61
- margin: 1rem 0 1.5rem;
62
- }
63
- /* DO NOT CHANGE!*/
64
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
65
- .eds-base-card {
66
- display: flex;
67
- box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
68
- border: 0.0625rem solid #e9e9e9;
69
- border-radius: 0.25rem;
70
- align-items: center;
71
- -webkit-appearance: none;
72
- -moz-appearance: none;
73
- appearance: none;
74
- text-decoration: none;
75
- color: inherit;
76
- }
77
- .eds-contrast .eds-base-card {
78
- background-color: #292b6a;
79
- border-color: #54568c;
80
- box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
81
- }
82
- /* DO NOT CHANGE!*/
83
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
84
3
  .eds-navigation-card {
85
4
  display: flex;
86
5
  flex-direction: column;
@@ -188,6 +107,87 @@
188
107
  }
189
108
  /* DO NOT CHANGE!*/
190
109
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
110
+ .eds-base-card {
111
+ display: flex;
112
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
113
+ border: 0.0625rem solid #e9e9e9;
114
+ border-radius: 0.25rem;
115
+ align-items: center;
116
+ -webkit-appearance: none;
117
+ -moz-appearance: none;
118
+ appearance: none;
119
+ text-decoration: none;
120
+ color: inherit;
121
+ }
122
+ .eds-contrast .eds-base-card {
123
+ background-color: #292b6a;
124
+ border-color: #54568c;
125
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
126
+ }
127
+ /* DO NOT CHANGE!*/
128
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
129
+ .eds-media-card {
130
+ flex-direction: column;
131
+ overflow: hidden;
132
+ position: relative;
133
+ width: -moz-fit-content;
134
+ width: fit-content;
135
+ transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
136
+ }
137
+ .eds-media-card:focus, .eds-media-card[focus-within] {
138
+ outline: none;
139
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
140
+ }
141
+ .eds-media-card:focus, .eds-media-card:focus-within {
142
+ outline: none;
143
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
144
+ }
145
+ .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
146
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
147
+ }
148
+ .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
149
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
150
+ }
151
+ .eds-contrast .eds-media-card {
152
+ background-color: #292b6a;
153
+ }
154
+ .eds-media-card__media {
155
+ transition: transform 0.2s ease-in-out;
156
+ }
157
+ .eds-media-card__title {
158
+ font-size: 1.5rem;
159
+ line-height: 1.875rem;
160
+ font-weight: 600;
161
+ margin: 0.75rem 0 0.5rem;
162
+ text-align: left;
163
+ width: -moz-fit-content;
164
+ width: fit-content;
165
+ position: relative;
166
+ }
167
+ .eds-media-card:hover {
168
+ transform: translateY(-0.25rem);
169
+ box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
170
+ }
171
+ .eds-media-card__text {
172
+ -webkit-appearance: none;
173
+ -moz-appearance: none;
174
+ appearance: none;
175
+ cursor: pointer;
176
+ color: inherit;
177
+ display: flex;
178
+ flex-direction: column;
179
+ text-decoration: none;
180
+ padding: 1.25rem 2rem 0;
181
+ }
182
+ .eds-media-card__text:focus {
183
+ outline: none;
184
+ }
185
+ .eds-media-card__arrow-icon {
186
+ align-self: flex-end;
187
+ margin: 1rem 0 1.5rem;
188
+ }
189
+ /* DO NOT CHANGE!*/
190
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
191
  .eds-badge {
192
192
  display: flex;
193
193
  justify-content: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.1.49",
3
+ "version": "2.1.50",
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.12.0",
31
- "@entur/tokens": "^3.11.0",
32
- "@entur/typography": "^1.8.16",
30
+ "@entur/icons": "^6.12.1",
31
+ "@entur/tokens": "^3.11.1",
32
+ "@entur/typography": "^1.8.17",
33
33
  "@entur/utils": "^0.9.5",
34
34
  "classnames": "^2.3.1"
35
35
  },
36
- "gitHead": "6e557eb43d533d387713194d8b302ccc101bad20"
36
+ "gitHead": "3fc001a78ef085d8fd22bb8aa245ec488214de72"
37
37
  }