@entur/modal 1.7.48-beta.0 → 1.7.48
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 +41 -41
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,43 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-drawer {
|
|
4
|
-
animation: slideFromRight forwards ease-out 0.1s;
|
|
5
|
-
background-color: var(--components-modal-drawer-standard-background);
|
|
6
|
-
color: var(--components-modal-drawer-standard-text);
|
|
7
|
-
bottom: 0;
|
|
8
|
-
padding: 1.5rem;
|
|
9
|
-
position: fixed;
|
|
10
|
-
right: 0;
|
|
11
|
-
top: 0;
|
|
12
|
-
max-width: 100%;
|
|
13
|
-
min-width: 20rem;
|
|
14
|
-
width: 25vw;
|
|
15
|
-
z-index: 40;
|
|
16
|
-
overflow-y: auto;
|
|
17
|
-
}
|
|
18
|
-
.eds-contrast .eds-drawer {
|
|
19
|
-
background-color: var(--components-modal-drawer-contrast-background);
|
|
20
|
-
color: var(--components-modal-drawer-contrast-text);
|
|
21
|
-
}
|
|
22
|
-
.eds-drawer__close-button {
|
|
23
|
-
margin: 0;
|
|
24
|
-
position: absolute;
|
|
25
|
-
top: 1.5rem;
|
|
26
|
-
right: 1.5rem;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@keyframes slideFromRight {
|
|
30
|
-
from {
|
|
31
|
-
box-shadow: none;
|
|
32
|
-
transform: translateX(100%);
|
|
33
|
-
}
|
|
34
|
-
to {
|
|
35
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
36
|
-
transform: 0;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
/* DO NOT CHANGE!*/
|
|
40
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
41
3
|
:root {
|
|
42
4
|
--reach-dialog: 1;
|
|
43
5
|
}
|
|
@@ -262,8 +224,8 @@
|
|
|
262
224
|
--basecolors-shape-accent: #e5e5e9;
|
|
263
225
|
--basecolors-shape-bicycle-contrast: #4db295;
|
|
264
226
|
--basecolors-shape-bicycle-default: #4db295;
|
|
265
|
-
--basecolors-shape-bus-contrast: #
|
|
266
|
-
--basecolors-shape-bus-default: #
|
|
227
|
+
--basecolors-shape-bus-contrast: #ef7398;
|
|
228
|
+
--basecolors-shape-bus-default: #ef7398;
|
|
267
229
|
--basecolors-shape-cableway-contrast: #b898e5;
|
|
268
230
|
--basecolors-shape-cableway-default: #b898e5;
|
|
269
231
|
--basecolors-shape-disabled: #b6b8ba;
|
|
@@ -306,7 +268,7 @@
|
|
|
306
268
|
--basecolors-stroke-highlight: #ff9494;
|
|
307
269
|
--basecolors-stroke-light: #b3b4bd;
|
|
308
270
|
--basecolors-stroke-subdued: #81828f;
|
|
309
|
-
--basecolors-stroke-subduedalt: #
|
|
271
|
+
--basecolors-stroke-subduedalt: #949699;
|
|
310
272
|
--basecolors-text-accent: #e5e5e9;
|
|
311
273
|
--basecolors-text-disabled: #b6b8ba;
|
|
312
274
|
--basecolors-text-disabledalt: #b6b8ba;
|
|
@@ -319,3 +281,41 @@
|
|
|
319
281
|
:root {
|
|
320
282
|
--eds-modal: 1;
|
|
321
283
|
}
|
|
284
|
+
/* DO NOT CHANGE!*/
|
|
285
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
286
|
+
.eds-drawer {
|
|
287
|
+
animation: slideFromRight forwards ease-out 0.1s;
|
|
288
|
+
background-color: var(--components-modal-drawer-standard-background);
|
|
289
|
+
color: var(--components-modal-drawer-standard-text);
|
|
290
|
+
bottom: 0;
|
|
291
|
+
padding: 1.5rem;
|
|
292
|
+
position: fixed;
|
|
293
|
+
right: 0;
|
|
294
|
+
top: 0;
|
|
295
|
+
max-width: 100%;
|
|
296
|
+
min-width: 20rem;
|
|
297
|
+
width: 25vw;
|
|
298
|
+
z-index: 40;
|
|
299
|
+
overflow-y: auto;
|
|
300
|
+
}
|
|
301
|
+
.eds-contrast .eds-drawer {
|
|
302
|
+
background-color: var(--components-modal-drawer-contrast-background);
|
|
303
|
+
color: var(--components-modal-drawer-contrast-text);
|
|
304
|
+
}
|
|
305
|
+
.eds-drawer__close-button {
|
|
306
|
+
margin: 0;
|
|
307
|
+
position: absolute;
|
|
308
|
+
top: 1.5rem;
|
|
309
|
+
right: 1.5rem;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@keyframes slideFromRight {
|
|
313
|
+
from {
|
|
314
|
+
box-shadow: none;
|
|
315
|
+
transform: translateX(100%);
|
|
316
|
+
}
|
|
317
|
+
to {
|
|
318
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
319
|
+
transform: 0;
|
|
320
|
+
}
|
|
321
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/modal",
|
|
3
|
-
"version": "1.7.48
|
|
3
|
+
"version": "1.7.48",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/modal.esm.js",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^3.2.27
|
|
32
|
-
"@entur/icons": "^
|
|
33
|
-
"@entur/layout": "^2.3.11
|
|
34
|
-
"@entur/tokens": "^3.15.
|
|
35
|
-
"@entur/typography": "^1.8.40
|
|
30
|
+
"@entur/a11y": "^0.2.87",
|
|
31
|
+
"@entur/button": "^3.2.27",
|
|
32
|
+
"@entur/icons": "^6.18.1",
|
|
33
|
+
"@entur/layout": "^2.3.11",
|
|
34
|
+
"@entur/tokens": "^3.15.2",
|
|
35
|
+
"@entur/typography": "^1.8.40",
|
|
36
36
|
"@entur/utils": "^0.11.1",
|
|
37
37
|
"@reach/dialog": "^0.16.0",
|
|
38
38
|
"classnames": "^2.3.1",
|
|
39
39
|
"react-focus-lock": "^2.9.1"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "4d4f7939fb1c9b936e07dd321b7faa3e12476b3d"
|
|
42
42
|
}
|