@entur/layout 2.1.38 → 2.1.40

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 +51 -51
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -1,6 +1,3 @@
1
- :root {
2
- --eds-layout: 1;
3
- }
4
1
  /* DO NOT CHANGE!*/
5
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
6
3
  .eds-contrast {
@@ -10,6 +7,9 @@
10
7
  background-color: var(--primary-background-color);
11
8
  color: var(--primary-text-color);
12
9
  }
10
+ :root {
11
+ --eds-layout: 1;
12
+ }
13
13
  /* DO NOT CHANGE!*/
14
14
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
15
15
  /* DO NOT CHANGE!*/
@@ -121,6 +121,54 @@
121
121
  }
122
122
  /* DO NOT CHANGE!*/
123
123
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
124
+ .eds-base-card {
125
+ display: flex;
126
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
127
+ border: 0.0625rem solid #e9e9e9;
128
+ border-radius: 0.25rem;
129
+ align-items: center;
130
+ -webkit-appearance: none;
131
+ -moz-appearance: none;
132
+ appearance: none;
133
+ text-decoration: none;
134
+ color: inherit;
135
+ }
136
+ .eds-contrast .eds-base-card {
137
+ background-color: #292b6a;
138
+ border-color: #54568c;
139
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
140
+ }
141
+ /* DO NOT CHANGE!*/
142
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
143
+ .eds-tag {
144
+ background: #e9e9e9;
145
+ color: #181c56;
146
+ display: inline-block;
147
+ min-width: 2rem;
148
+ padding: 0.25rem 0.75rem;
149
+ font-size: 0.875rem;
150
+ line-height: 1.375rem;
151
+ }
152
+ .eds-tag--leading-icon .eds-icon {
153
+ margin-right: 0.5rem;
154
+ }
155
+ .eds-tag--trailing-icon .eds-icon {
156
+ margin-left: 0.5rem;
157
+ }
158
+ .eds-tag--compact {
159
+ font-size: 0.75rem;
160
+ padding: 0.125rem 0.5rem;
161
+ line-height: 1.25rem;
162
+ height: 1.5rem;
163
+ }
164
+ .eds-tag--compact.eds-tag--leading-icon .eds-icon {
165
+ margin-right: 0.25rem;
166
+ }
167
+ .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
168
+ margin-left: 0.25rem;
169
+ }
170
+ /* DO NOT CHANGE!*/
171
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
124
172
  .eds-media-card {
125
173
  flex-direction: column;
126
174
  overflow: hidden;
@@ -183,54 +231,6 @@
183
231
  }
184
232
  /* DO NOT CHANGE!*/
185
233
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
186
- .eds-base-card {
187
- display: flex;
188
- box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
189
- border: 0.0625rem solid #e9e9e9;
190
- border-radius: 0.25rem;
191
- align-items: center;
192
- -webkit-appearance: none;
193
- -moz-appearance: none;
194
- appearance: none;
195
- text-decoration: none;
196
- color: inherit;
197
- }
198
- .eds-contrast .eds-base-card {
199
- background-color: #292b6a;
200
- border-color: #54568c;
201
- box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
202
- }
203
- /* DO NOT CHANGE!*/
204
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
205
- .eds-tag {
206
- background: #e9e9e9;
207
- color: #181c56;
208
- display: inline-block;
209
- min-width: 2rem;
210
- padding: 0.25rem 0.75rem;
211
- font-size: 0.875rem;
212
- line-height: 1.375rem;
213
- }
214
- .eds-tag--leading-icon .eds-icon {
215
- margin-right: 0.5rem;
216
- }
217
- .eds-tag--trailing-icon .eds-icon {
218
- margin-left: 0.5rem;
219
- }
220
- .eds-tag--compact {
221
- font-size: 0.75rem;
222
- padding: 0.125rem 0.5rem;
223
- line-height: 1.25rem;
224
- height: 1.5rem;
225
- }
226
- .eds-tag--compact.eds-tag--leading-icon .eds-icon {
227
- margin-right: 0.25rem;
228
- }
229
- .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
230
- margin-left: 0.25rem;
231
- }
232
- /* DO NOT CHANGE!*/
233
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
234
234
  .eds-badge {
235
235
  display: flex;
236
236
  justify-content: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.1.38",
3
+ "version": "2.1.40",
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.4.1",
30
+ "@entur/icons": "^6.4.2",
31
31
  "@entur/tokens": "^3.10.0",
32
- "@entur/typography": "^1.8.5",
33
- "@entur/utils": "^0.9.3",
32
+ "@entur/typography": "^1.8.7",
33
+ "@entur/utils": "^0.9.4",
34
34
  "classnames": "^2.3.1"
35
35
  },
36
- "gitHead": "113113f32a331fcd5f01d20e2c47ae2f2b73b93e"
36
+ "gitHead": "0da1a9e2532f60cc1a456a79ad3aa689514ca2c7"
37
37
  }