@entur/modal 1.7.61-beta.0 → 1.7.61
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
|
@@ -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
|
}
|
|
@@ -146,6 +108,44 @@
|
|
|
146
108
|
}
|
|
147
109
|
/* DO NOT CHANGE!*/
|
|
148
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
|
+
}
|
|
147
|
+
/* DO NOT CHANGE!*/
|
|
148
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
149
149
|
/* DO NOT CHANGE!*/
|
|
150
150
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
151
151
|
/* DO NOT CHANGE!*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/modal",
|
|
3
|
-
"version": "1.7.61
|
|
3
|
+
"version": "1.7.61",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/modal.esm.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^3.3.1
|
|
32
|
-
"@entur/icons": "^7.
|
|
33
|
-
"@entur/layout": "^2.4.1
|
|
34
|
-
"@entur/tokens": "^3.17.
|
|
35
|
-
"@entur/typography": "^1.9.1
|
|
30
|
+
"@entur/a11y": "^0.2.96",
|
|
31
|
+
"@entur/button": "^3.3.1",
|
|
32
|
+
"@entur/icons": "^7.6.1",
|
|
33
|
+
"@entur/layout": "^2.4.1",
|
|
34
|
+
"@entur/tokens": "^3.17.6",
|
|
35
|
+
"@entur/typography": "^1.9.1",
|
|
36
36
|
"@entur/utils": "^0.12.2",
|
|
37
37
|
"@reach/dialog": "^0.16.0",
|
|
38
38
|
"classnames": "^2.3.1",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"dts-cli": "2.0.5"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "d7798b768ab73d677162cebcf3edd58680dc626f"
|
|
45
45
|
}
|