@entur/alert 0.16.12 → 0.16.13
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 +61 -61
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,66 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-toast-container {
|
|
4
|
-
position: fixed;
|
|
5
|
-
z-index: 50;
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: flex-end;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
}
|
|
10
|
-
.eds-toast-container--bottom-right {
|
|
11
|
-
bottom: 1.5rem;
|
|
12
|
-
right: 1.5rem;
|
|
13
|
-
left: 1.5rem;
|
|
14
|
-
}
|
|
15
|
-
.eds-toast-container--top-right {
|
|
16
|
-
top: 1.5rem;
|
|
17
|
-
right: 1.5rem;
|
|
18
|
-
left: 1.5rem;
|
|
19
|
-
}
|
|
20
|
-
.eds-toast-container > * + * {
|
|
21
|
-
margin-top: 1rem;
|
|
22
|
-
}
|
|
23
|
-
@media screen and (min-width: 50rem) {
|
|
24
|
-
.eds-toast-container {
|
|
25
|
-
left: auto;
|
|
26
|
-
left: initial;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@keyframes bounceInRight {
|
|
31
|
-
from, 60%, 75%, 90%, to {
|
|
32
|
-
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
33
|
-
}
|
|
34
|
-
from {
|
|
35
|
-
opacity: 0;
|
|
36
|
-
transform: translate3d(3000px, 0, 0) scaleX(3);
|
|
37
|
-
}
|
|
38
|
-
60% {
|
|
39
|
-
opacity: 1;
|
|
40
|
-
transform: translate3d(-25px, 0, 0) scaleX(1);
|
|
41
|
-
}
|
|
42
|
-
75% {
|
|
43
|
-
transform: translate3d(10px, 0, 0) scaleX(0.98);
|
|
44
|
-
}
|
|
45
|
-
90% {
|
|
46
|
-
transform: translate3d(-5px, 0, 0) scaleX(0.995);
|
|
47
|
-
}
|
|
48
|
-
to {
|
|
49
|
-
transform: translate3d(0, 0, 0);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
@keyframes bounceOutRight {
|
|
53
|
-
20% {
|
|
54
|
-
opacity: 1;
|
|
55
|
-
transform: translate3d(-20px, 0, 0) scaleX(0.9);
|
|
56
|
-
}
|
|
57
|
-
to {
|
|
58
|
-
opacity: 0;
|
|
59
|
-
transform: translate3d(2000px, 0, 0) scaleX(2);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
/* DO NOT CHANGE!*/
|
|
63
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
64
3
|
.eds-alert-box {
|
|
65
4
|
border: 0.0625rem solid transparent;
|
|
66
5
|
border-radius: 0.25rem;
|
|
@@ -225,6 +164,67 @@
|
|
|
225
164
|
}
|
|
226
165
|
/* DO NOT CHANGE!*/
|
|
227
166
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
167
|
+
.eds-toast-container {
|
|
168
|
+
position: fixed;
|
|
169
|
+
z-index: 50;
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: flex-end;
|
|
172
|
+
flex-direction: column;
|
|
173
|
+
}
|
|
174
|
+
.eds-toast-container--bottom-right {
|
|
175
|
+
bottom: 1.5rem;
|
|
176
|
+
right: 1.5rem;
|
|
177
|
+
left: 1.5rem;
|
|
178
|
+
}
|
|
179
|
+
.eds-toast-container--top-right {
|
|
180
|
+
top: 1.5rem;
|
|
181
|
+
right: 1.5rem;
|
|
182
|
+
left: 1.5rem;
|
|
183
|
+
}
|
|
184
|
+
.eds-toast-container > * + * {
|
|
185
|
+
margin-top: 1rem;
|
|
186
|
+
}
|
|
187
|
+
@media screen and (min-width: 50rem) {
|
|
188
|
+
.eds-toast-container {
|
|
189
|
+
left: auto;
|
|
190
|
+
left: initial;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@keyframes bounceInRight {
|
|
195
|
+
from, 60%, 75%, 90%, to {
|
|
196
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
197
|
+
}
|
|
198
|
+
from {
|
|
199
|
+
opacity: 0;
|
|
200
|
+
transform: translate3d(3000px, 0, 0) scaleX(3);
|
|
201
|
+
}
|
|
202
|
+
60% {
|
|
203
|
+
opacity: 1;
|
|
204
|
+
transform: translate3d(-25px, 0, 0) scaleX(1);
|
|
205
|
+
}
|
|
206
|
+
75% {
|
|
207
|
+
transform: translate3d(10px, 0, 0) scaleX(0.98);
|
|
208
|
+
}
|
|
209
|
+
90% {
|
|
210
|
+
transform: translate3d(-5px, 0, 0) scaleX(0.995);
|
|
211
|
+
}
|
|
212
|
+
to {
|
|
213
|
+
transform: translate3d(0, 0, 0);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
@keyframes bounceOutRight {
|
|
217
|
+
20% {
|
|
218
|
+
opacity: 1;
|
|
219
|
+
transform: translate3d(-20px, 0, 0) scaleX(0.9);
|
|
220
|
+
}
|
|
221
|
+
to {
|
|
222
|
+
opacity: 0;
|
|
223
|
+
transform: translate3d(2000px, 0, 0) scaleX(2);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
/* DO NOT CHANGE!*/
|
|
227
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
228
228
|
.eds-copyable-text,
|
|
229
229
|
.eds-contrast .eds-copyable-text {
|
|
230
230
|
-webkit-appearance: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/alert",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.13",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/alert.esm.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/button": "^3.2.
|
|
31
|
-
"@entur/expand": "^3.5.
|
|
32
|
-
"@entur/icons": "^7.
|
|
33
|
-
"@entur/tokens": "^3.
|
|
34
|
-
"@entur/tooltip": "^3.0.
|
|
35
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/button": "^3.2.29",
|
|
31
|
+
"@entur/expand": "^3.5.18",
|
|
32
|
+
"@entur/icons": "^7.1.0",
|
|
33
|
+
"@entur/tokens": "^3.16.0",
|
|
34
|
+
"@entur/tooltip": "^3.0.1",
|
|
35
|
+
"@entur/typography": "^1.8.42",
|
|
36
36
|
"@entur/utils": "^0.11.1",
|
|
37
37
|
"classnames": "^2.3.1",
|
|
38
38
|
"copy-text-to-clipboard": "^2.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "0003528fef45ca9117e13c3282804da3f0cdea2f"
|
|
41
41
|
}
|