@entur/modal 1.7.7 → 1.7.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 +44 -44
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -3,50 +3,6 @@
|
|
|
3
3
|
}
|
|
4
4
|
/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
-
@keyframes slideFromRight {
|
|
7
|
-
from {
|
|
8
|
-
box-shadow: none;
|
|
9
|
-
transform: translateX(100%);
|
|
10
|
-
}
|
|
11
|
-
to {
|
|
12
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
13
|
-
transform: 0;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
.eds-drawer {
|
|
17
|
-
animation: slideFromRight forwards ease-out 0.1s;
|
|
18
|
-
background: #ebebf1;
|
|
19
|
-
bottom: 0;
|
|
20
|
-
padding: 1.5rem;
|
|
21
|
-
position: fixed;
|
|
22
|
-
right: 0;
|
|
23
|
-
top: 0;
|
|
24
|
-
max-width: 100%;
|
|
25
|
-
min-width: 20rem;
|
|
26
|
-
width: 25vw;
|
|
27
|
-
z-index: 40;
|
|
28
|
-
overflow-y: auto;
|
|
29
|
-
}
|
|
30
|
-
.eds-contrast .eds-drawer {
|
|
31
|
-
background: #292b6a;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.eds-drawer__close-button {
|
|
35
|
-
margin: 0;
|
|
36
|
-
position: absolute;
|
|
37
|
-
top: 1.5rem;
|
|
38
|
-
right: 1.5rem;
|
|
39
|
-
}
|
|
40
|
-
.eds-drawer__close-button:focus {
|
|
41
|
-
outline-offset: 0.125rem;
|
|
42
|
-
outline: none;
|
|
43
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
44
|
-
}
|
|
45
|
-
.eds-contrast .eds-drawer__close-button:focus {
|
|
46
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
47
|
-
}
|
|
48
|
-
/* DO NOT CHANGE!*/
|
|
49
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
50
6
|
:root {
|
|
51
7
|
--reach-dialog: 1;
|
|
52
8
|
}
|
|
@@ -169,3 +125,47 @@
|
|
|
169
125
|
opacity: 1;
|
|
170
126
|
}
|
|
171
127
|
}
|
|
128
|
+
/* DO NOT CHANGE!*/
|
|
129
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
130
|
+
@keyframes slideFromRight {
|
|
131
|
+
from {
|
|
132
|
+
box-shadow: none;
|
|
133
|
+
transform: translateX(100%);
|
|
134
|
+
}
|
|
135
|
+
to {
|
|
136
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
137
|
+
transform: 0;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
.eds-drawer {
|
|
141
|
+
animation: slideFromRight forwards ease-out 0.1s;
|
|
142
|
+
background: #ebebf1;
|
|
143
|
+
bottom: 0;
|
|
144
|
+
padding: 1.5rem;
|
|
145
|
+
position: fixed;
|
|
146
|
+
right: 0;
|
|
147
|
+
top: 0;
|
|
148
|
+
max-width: 100%;
|
|
149
|
+
min-width: 20rem;
|
|
150
|
+
width: 25vw;
|
|
151
|
+
z-index: 40;
|
|
152
|
+
overflow-y: auto;
|
|
153
|
+
}
|
|
154
|
+
.eds-contrast .eds-drawer {
|
|
155
|
+
background: #292b6a;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.eds-drawer__close-button {
|
|
159
|
+
margin: 0;
|
|
160
|
+
position: absolute;
|
|
161
|
+
top: 1.5rem;
|
|
162
|
+
right: 1.5rem;
|
|
163
|
+
}
|
|
164
|
+
.eds-drawer__close-button:focus {
|
|
165
|
+
outline-offset: 0.125rem;
|
|
166
|
+
outline: none;
|
|
167
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
168
|
+
}
|
|
169
|
+
.eds-contrast .eds-drawer__close-button:focus {
|
|
170
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
171
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/modal",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.9",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/modal.esm.js",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.68",
|
|
31
|
-
"@entur/button": "^3.0
|
|
32
|
-
"@entur/icons": "^6.4.
|
|
33
|
-
"@entur/layout": "^2.1.
|
|
31
|
+
"@entur/button": "^3.1.0",
|
|
32
|
+
"@entur/icons": "^6.4.2",
|
|
33
|
+
"@entur/layout": "^2.1.39",
|
|
34
34
|
"@entur/tokens": "^3.10.0",
|
|
35
|
-
"@entur/typography": "^1.8.
|
|
35
|
+
"@entur/typography": "^1.8.6",
|
|
36
36
|
"@entur/utils": "^0.9.3",
|
|
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": "5fcad4b449082b80b796ab52e68f178977f2eba7"
|
|
42
42
|
}
|