@entur/modal 1.7.33 → 1.7.35
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 +38 -38
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -106,6 +106,44 @@
|
|
|
106
106
|
opacity: 1;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
+
/* DO NOT CHANGE!*/
|
|
110
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
111
|
+
.eds-drawer {
|
|
112
|
+
animation: slideFromRight forwards ease-out 0.1s;
|
|
113
|
+
background-color: var(--components-modal-drawer-standard-background);
|
|
114
|
+
color: var(--components-modal-drawer-standard-text);
|
|
115
|
+
bottom: 0;
|
|
116
|
+
padding: 1.5rem;
|
|
117
|
+
position: fixed;
|
|
118
|
+
right: 0;
|
|
119
|
+
top: 0;
|
|
120
|
+
max-width: 100%;
|
|
121
|
+
min-width: 20rem;
|
|
122
|
+
width: 25vw;
|
|
123
|
+
z-index: 40;
|
|
124
|
+
overflow-y: auto;
|
|
125
|
+
}
|
|
126
|
+
.eds-contrast .eds-drawer {
|
|
127
|
+
background-color: var(--components-modal-drawer-contrast-background);
|
|
128
|
+
color: var(--components-modal-drawer-contrast-text);
|
|
129
|
+
}
|
|
130
|
+
.eds-drawer__close-button {
|
|
131
|
+
margin: 0;
|
|
132
|
+
position: absolute;
|
|
133
|
+
top: 1.5rem;
|
|
134
|
+
right: 1.5rem;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@keyframes slideFromRight {
|
|
138
|
+
from {
|
|
139
|
+
box-shadow: none;
|
|
140
|
+
transform: translateX(100%);
|
|
141
|
+
}
|
|
142
|
+
to {
|
|
143
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
144
|
+
transform: 0;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
109
147
|
@import "~@entur/tokens/dist/primitive.css";
|
|
110
148
|
@import "~@entur/tokens/dist/semantic.css";
|
|
111
149
|
/* DO NOT CHANGE!*/
|
|
@@ -409,41 +447,3 @@
|
|
|
409
447
|
:root {
|
|
410
448
|
--eds-modal: 1;
|
|
411
449
|
}
|
|
412
|
-
/* DO NOT CHANGE!*/
|
|
413
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
414
|
-
.eds-drawer {
|
|
415
|
-
animation: slideFromRight forwards ease-out 0.1s;
|
|
416
|
-
background-color: var(--components-modal-drawer-standard-background);
|
|
417
|
-
color: var(--components-modal-drawer-standard-text);
|
|
418
|
-
bottom: 0;
|
|
419
|
-
padding: 1.5rem;
|
|
420
|
-
position: fixed;
|
|
421
|
-
right: 0;
|
|
422
|
-
top: 0;
|
|
423
|
-
max-width: 100%;
|
|
424
|
-
min-width: 20rem;
|
|
425
|
-
width: 25vw;
|
|
426
|
-
z-index: 40;
|
|
427
|
-
overflow-y: auto;
|
|
428
|
-
}
|
|
429
|
-
.eds-contrast .eds-drawer {
|
|
430
|
-
background-color: var(--components-modal-drawer-contrast-background);
|
|
431
|
-
color: var(--components-modal-drawer-contrast-text);
|
|
432
|
-
}
|
|
433
|
-
.eds-drawer__close-button {
|
|
434
|
-
margin: 0;
|
|
435
|
-
position: absolute;
|
|
436
|
-
top: 1.5rem;
|
|
437
|
-
right: 1.5rem;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
@keyframes slideFromRight {
|
|
441
|
-
from {
|
|
442
|
-
box-shadow: none;
|
|
443
|
-
transform: translateX(100%);
|
|
444
|
-
}
|
|
445
|
-
to {
|
|
446
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
447
|
-
transform: 0;
|
|
448
|
-
}
|
|
449
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/modal",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.35",
|
|
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.
|
|
32
|
-
"@entur/icons": "^6.15.
|
|
33
|
-
"@entur/layout": "^2.2.
|
|
34
|
-
"@entur/tokens": "^3.13.
|
|
35
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/a11y": "^0.2.78",
|
|
31
|
+
"@entur/button": "^3.2.14",
|
|
32
|
+
"@entur/icons": "^6.15.3",
|
|
33
|
+
"@entur/layout": "^2.2.3",
|
|
34
|
+
"@entur/tokens": "^3.13.2",
|
|
35
|
+
"@entur/typography": "^1.8.27",
|
|
36
36
|
"@entur/utils": "^0.10.0",
|
|
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": "427e66ba68d33b8d1839714a48517b52afd5c2db"
|
|
42
42
|
}
|