@entur/modal 1.6.8 → 1.6.9
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 +54 -54
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -2,60 +2,6 @@
|
|
|
2
2
|
--eds-modal: 1;
|
|
3
3
|
}/* DO NOT CHANGE!*/
|
|
4
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
-
@-webkit-keyframes slideFromRight {
|
|
6
|
-
from {
|
|
7
|
-
box-shadow: none;
|
|
8
|
-
transform: translateX(100%);
|
|
9
|
-
}
|
|
10
|
-
to {
|
|
11
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
12
|
-
transform: 0;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
@keyframes slideFromRight {
|
|
16
|
-
from {
|
|
17
|
-
box-shadow: none;
|
|
18
|
-
transform: translateX(100%);
|
|
19
|
-
}
|
|
20
|
-
to {
|
|
21
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
22
|
-
transform: 0;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
.eds-drawer {
|
|
26
|
-
-webkit-animation: slideFromRight forwards ease-out 0.1s;
|
|
27
|
-
animation: slideFromRight forwards ease-out 0.1s;
|
|
28
|
-
background: #ebebf1;
|
|
29
|
-
bottom: 0;
|
|
30
|
-
padding: 1.5rem;
|
|
31
|
-
position: fixed;
|
|
32
|
-
right: 0;
|
|
33
|
-
top: 0;
|
|
34
|
-
max-width: 100%;
|
|
35
|
-
min-width: 20rem;
|
|
36
|
-
width: 25vw;
|
|
37
|
-
z-index: 40;
|
|
38
|
-
overflow-y: auto;
|
|
39
|
-
}
|
|
40
|
-
.eds-contrast .eds-drawer {
|
|
41
|
-
background: #292b6a;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.eds-drawer__close-button {
|
|
45
|
-
margin: 0;
|
|
46
|
-
position: absolute;
|
|
47
|
-
top: 1.5rem;
|
|
48
|
-
right: 1.5rem;
|
|
49
|
-
}
|
|
50
|
-
.eds-drawer__close-button:focus {
|
|
51
|
-
outline-offset: 0.125rem;
|
|
52
|
-
outline: none;
|
|
53
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
54
|
-
}
|
|
55
|
-
.eds-contrast .eds-drawer__close-button:focus {
|
|
56
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
57
|
-
}/* DO NOT CHANGE!*/
|
|
58
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
59
5
|
:root {
|
|
60
6
|
--reach-dialog: 1;
|
|
61
7
|
}
|
|
@@ -191,4 +137,58 @@
|
|
|
191
137
|
top: 0%;
|
|
192
138
|
opacity: 1;
|
|
193
139
|
}
|
|
140
|
+
}/* DO NOT CHANGE!*/
|
|
141
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
142
|
+
@-webkit-keyframes slideFromRight {
|
|
143
|
+
from {
|
|
144
|
+
box-shadow: none;
|
|
145
|
+
transform: translateX(100%);
|
|
146
|
+
}
|
|
147
|
+
to {
|
|
148
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
149
|
+
transform: 0;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
@keyframes slideFromRight {
|
|
153
|
+
from {
|
|
154
|
+
box-shadow: none;
|
|
155
|
+
transform: translateX(100%);
|
|
156
|
+
}
|
|
157
|
+
to {
|
|
158
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
159
|
+
transform: 0;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
.eds-drawer {
|
|
163
|
+
-webkit-animation: slideFromRight forwards ease-out 0.1s;
|
|
164
|
+
animation: slideFromRight forwards ease-out 0.1s;
|
|
165
|
+
background: #ebebf1;
|
|
166
|
+
bottom: 0;
|
|
167
|
+
padding: 1.5rem;
|
|
168
|
+
position: fixed;
|
|
169
|
+
right: 0;
|
|
170
|
+
top: 0;
|
|
171
|
+
max-width: 100%;
|
|
172
|
+
min-width: 20rem;
|
|
173
|
+
width: 25vw;
|
|
174
|
+
z-index: 40;
|
|
175
|
+
overflow-y: auto;
|
|
176
|
+
}
|
|
177
|
+
.eds-contrast .eds-drawer {
|
|
178
|
+
background: #292b6a;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.eds-drawer__close-button {
|
|
182
|
+
margin: 0;
|
|
183
|
+
position: absolute;
|
|
184
|
+
top: 1.5rem;
|
|
185
|
+
right: 1.5rem;
|
|
186
|
+
}
|
|
187
|
+
.eds-drawer__close-button:focus {
|
|
188
|
+
outline-offset: 0.125rem;
|
|
189
|
+
outline: none;
|
|
190
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
191
|
+
}
|
|
192
|
+
.eds-contrast .eds-drawer__close-button:focus {
|
|
193
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
194
194
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/modal",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.9",
|
|
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": "^2.10.
|
|
30
|
+
"@entur/a11y": "^0.2.49",
|
|
31
|
+
"@entur/button": "^2.10.4",
|
|
32
32
|
"@entur/icons": "^4.3.3",
|
|
33
|
-
"@entur/layout": "^2.1.
|
|
33
|
+
"@entur/layout": "^2.1.11",
|
|
34
34
|
"@entur/tokens": "^3.4.1",
|
|
35
|
-
"@entur/typography": "^1.
|
|
35
|
+
"@entur/typography": "^1.7.0",
|
|
36
36
|
"@entur/utils": "^0.4.5",
|
|
37
37
|
"@reach/dialog": "^0.16.0",
|
|
38
38
|
"classnames": "^2.3.1",
|
|
39
39
|
"react-focus-lock": "^2.5.2"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "c1318d134c4097efd550872cabf41b1e67940eae"
|
|
42
42
|
}
|