@entur/alert 0.15.4 → 0.15.6
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/dist/styles.css +45 -45
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -192,6 +192,51 @@
|
|
|
192
192
|
}
|
|
193
193
|
/* DO NOT CHANGE!*/
|
|
194
194
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
195
|
+
.eds-expandable-alert-box .eds-alert-box__content {
|
|
196
|
+
width: 100%;
|
|
197
|
+
}
|
|
198
|
+
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
199
|
+
margin-top: 0.0625rem;
|
|
200
|
+
}
|
|
201
|
+
@media screen and (min-width: 50rem) {
|
|
202
|
+
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
203
|
+
margin-top: -0.375rem;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
207
|
+
margin-top: 0.125rem;
|
|
208
|
+
}
|
|
209
|
+
@media screen and (min-width: 50rem) {
|
|
210
|
+
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
211
|
+
margin-top: 0.125rem;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
.eds-expandable-alert-box__title {
|
|
215
|
+
display: flex;
|
|
216
|
+
justify-content: space-between;
|
|
217
|
+
align-items: baseline;
|
|
218
|
+
}
|
|
219
|
+
.eds-expandable-alert-box__button {
|
|
220
|
+
color: inherit;
|
|
221
|
+
background: none;
|
|
222
|
+
border: none;
|
|
223
|
+
cursor: pointer;
|
|
224
|
+
font-family: inherit;
|
|
225
|
+
font-size: inherit;
|
|
226
|
+
line-height: 1.5rem;
|
|
227
|
+
padding: 0 0.25rem;
|
|
228
|
+
flex-shrink: 0;
|
|
229
|
+
}
|
|
230
|
+
.eds-expandable-alert-box__button:focus {
|
|
231
|
+
outline: 2px solid #181c56;
|
|
232
|
+
outline-offset: 0.125rem;
|
|
233
|
+
}
|
|
234
|
+
.eds-expandable-alert-box__button .eds-icon {
|
|
235
|
+
font-size: 1rem;
|
|
236
|
+
padding-left: 0.25rem;
|
|
237
|
+
}
|
|
238
|
+
/* DO NOT CHANGE!*/
|
|
239
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
195
240
|
.eds-copyable-text,
|
|
196
241
|
.eds-contrast .eds-copyable-text {
|
|
197
242
|
-webkit-appearance: none;
|
|
@@ -247,51 +292,6 @@
|
|
|
247
292
|
.eds-contrast .eds-contrast .eds-copyable-text:focus {
|
|
248
293
|
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
249
294
|
}
|
|
250
|
-
/* DO NOT CHANGE!*/
|
|
251
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
252
|
-
.eds-expandable-alert-box .eds-alert-box__content {
|
|
253
|
-
width: 100%;
|
|
254
|
-
}
|
|
255
|
-
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
256
|
-
margin-top: 0.0625rem;
|
|
257
|
-
}
|
|
258
|
-
@media screen and (min-width: 50rem) {
|
|
259
|
-
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
260
|
-
margin-top: -0.375rem;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
264
|
-
margin-top: 0.125rem;
|
|
265
|
-
}
|
|
266
|
-
@media screen and (min-width: 50rem) {
|
|
267
|
-
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
268
|
-
margin-top: 0.125rem;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
.eds-expandable-alert-box__title {
|
|
272
|
-
display: flex;
|
|
273
|
-
justify-content: space-between;
|
|
274
|
-
align-items: baseline;
|
|
275
|
-
}
|
|
276
|
-
.eds-expandable-alert-box__button {
|
|
277
|
-
color: inherit;
|
|
278
|
-
background: none;
|
|
279
|
-
border: none;
|
|
280
|
-
cursor: pointer;
|
|
281
|
-
font-family: inherit;
|
|
282
|
-
font-size: inherit;
|
|
283
|
-
line-height: 1.5rem;
|
|
284
|
-
padding: 0 0.25rem;
|
|
285
|
-
flex-shrink: 0;
|
|
286
|
-
}
|
|
287
|
-
.eds-expandable-alert-box__button:focus {
|
|
288
|
-
outline: 2px solid #181c56;
|
|
289
|
-
outline-offset: 0.125rem;
|
|
290
|
-
}
|
|
291
|
-
.eds-expandable-alert-box__button .eds-icon {
|
|
292
|
-
font-size: 1rem;
|
|
293
|
-
padding-left: 0.25rem;
|
|
294
|
-
}
|
|
295
295
|
:root {
|
|
296
296
|
--eds-alert: 1;
|
|
297
297
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/alert",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.6",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/alert.esm.js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/button": "^3.1.
|
|
31
|
-
"@entur/expand": "^3.4.
|
|
32
|
-
"@entur/icons": "^6.
|
|
33
|
-
"@entur/tokens": "^3.
|
|
34
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/button": "^3.1.10",
|
|
31
|
+
"@entur/expand": "^3.4.17",
|
|
32
|
+
"@entur/icons": "^6.12.0",
|
|
33
|
+
"@entur/tokens": "^3.11.0",
|
|
34
|
+
"@entur/typography": "^1.8.16",
|
|
35
35
|
"@entur/utils": "^0.9.5",
|
|
36
36
|
"classnames": "^2.3.1",
|
|
37
37
|
"copy-text-to-clipboard": "^2.2"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"node": "16.17.0",
|
|
41
41
|
"yarn": "1.22.19"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "6e557eb43d533d387713194d8b302ccc101bad20"
|
|
44
44
|
}
|