@hh.ru/magritte-ui-alert 4.0.52 → 4.0.53
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/Alert.js +1 -1
- package/index.css +15 -15
- package/package.json +3 -3
package/Alert.js
CHANGED
|
@@ -15,7 +15,7 @@ import { Layer } from '@hh.ru/magritte-ui-layer';
|
|
|
15
15
|
import { Placeholder } from '@hh.ru/magritte-ui-placeholder';
|
|
16
16
|
import { ThemeWrapper } from '@hh.ru/magritte-ui-theme-wrapper';
|
|
17
17
|
|
|
18
|
-
var styles = {"animation-timeout":"magritte-animation-timeout___cwIwT_4-0-
|
|
18
|
+
var styles = {"animation-timeout":"magritte-animation-timeout___cwIwT_4-0-53","animationTimeout":"magritte-animation-timeout___cwIwT_4-0-53","enter-animation-active":"magritte-enter-animation-active___Qti02_4-0-53","enterAnimationActive":"magritte-enter-animation-active___Qti02_4-0-53","exit-animation-active":"magritte-exit-animation-active___deHqY_4-0-53","exitAnimationActive":"magritte-exit-animation-active___deHqY_4-0-53","opacity-animation":"magritte-opacity-animation___m7RYi_4-0-53","opacityAnimation":"magritte-opacity-animation___m7RYi_4-0-53","enter-animation":"magritte-enter-animation___CbUHN_4-0-53","enterAnimation":"magritte-enter-animation___CbUHN_4-0-53","exit-animation":"magritte-exit-animation___d2AJ4_4-0-53","exitAnimation":"magritte-exit-animation___d2AJ4_4-0-53","overlay":"magritte-overlay___hMlKJ_4-0-53","mobile-container":"magritte-mobile-container___dQRCl_4-0-53","mobileContainer":"magritte-mobile-container___dQRCl_4-0-53","desktop-container":"magritte-desktop-container___26vkq_4-0-53","desktopContainer":"magritte-desktop-container___26vkq_4-0-53","main":"magritte-main___iCU-E_4-0-53"};
|
|
19
19
|
|
|
20
20
|
const OPACITY_ANIMATION_CLASSES = {
|
|
21
21
|
enter: classnames(styles.opacityAnimation, styles.enterAnimation),
|
package/index.css
CHANGED
|
@@ -12,42 +12,42 @@
|
|
|
12
12
|
--magritte-color-background-primary-v25-0-1:#1B1B1B;
|
|
13
13
|
--magritte-color-component-_overlay-background-content-v25-0-1:#262626ad;
|
|
14
14
|
}
|
|
15
|
-
.magritte-animation-timeout___cwIwT_4-0-
|
|
15
|
+
.magritte-animation-timeout___cwIwT_4-0-53{
|
|
16
16
|
--enter-animation-duration:0ms;
|
|
17
17
|
--exit-animation-duration:0ms;
|
|
18
18
|
}
|
|
19
19
|
@media (prefers-reduced-motion: no-preference){
|
|
20
|
-
.magritte-animation-timeout___cwIwT_4-0-
|
|
20
|
+
.magritte-animation-timeout___cwIwT_4-0-53{
|
|
21
21
|
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v25-0-1);
|
|
22
22
|
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v25-0-1);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
.magritte-enter-animation-active___Qti02_4-0-
|
|
25
|
+
.magritte-enter-animation-active___Qti02_4-0-53{
|
|
26
26
|
transition-property:transform, opacity;
|
|
27
27
|
transition-duration:var(--enter-animation-duration);
|
|
28
28
|
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v25-0-1);
|
|
29
29
|
}
|
|
30
|
-
.magritte-exit-animation-active___deHqY_4-0-
|
|
30
|
+
.magritte-exit-animation-active___deHqY_4-0-53{
|
|
31
31
|
transition-property:transform, opacity;
|
|
32
32
|
transition-duration:var(--exit-animation-duration);
|
|
33
33
|
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v25-0-1);
|
|
34
34
|
}
|
|
35
|
-
.magritte-opacity-animation___m7RYi_4-0-
|
|
35
|
+
.magritte-opacity-animation___m7RYi_4-0-53{
|
|
36
36
|
pointer-events:none;
|
|
37
37
|
}
|
|
38
|
-
.magritte-opacity-animation___m7RYi_4-0-
|
|
38
|
+
.magritte-opacity-animation___m7RYi_4-0-53.magritte-enter-animation___CbUHN_4-0-53{
|
|
39
39
|
opacity:0;
|
|
40
40
|
}
|
|
41
|
-
.magritte-opacity-animation___m7RYi_4-0-
|
|
41
|
+
.magritte-opacity-animation___m7RYi_4-0-53.magritte-enter-animation-active___Qti02_4-0-53{
|
|
42
42
|
opacity:1;
|
|
43
43
|
}
|
|
44
|
-
.magritte-opacity-animation___m7RYi_4-0-
|
|
44
|
+
.magritte-opacity-animation___m7RYi_4-0-53.magritte-exit-animation___d2AJ4_4-0-53{
|
|
45
45
|
opacity:1;
|
|
46
46
|
}
|
|
47
|
-
.magritte-opacity-animation___m7RYi_4-0-
|
|
47
|
+
.magritte-opacity-animation___m7RYi_4-0-53.magritte-exit-animation-active___deHqY_4-0-53{
|
|
48
48
|
opacity:0;
|
|
49
49
|
}
|
|
50
|
-
.magritte-overlay___hMlKJ_4-0-
|
|
50
|
+
.magritte-overlay___hMlKJ_4-0-53{
|
|
51
51
|
display:flex;
|
|
52
52
|
align-items:center;
|
|
53
53
|
justify-content:center;
|
|
@@ -55,20 +55,20 @@
|
|
|
55
55
|
inset:0;
|
|
56
56
|
background-color:var(--magritte-color-component-_overlay-background-content-v25-0-1);
|
|
57
57
|
}
|
|
58
|
-
.magritte-mobile-container___dQRCl_4-0-
|
|
59
|
-
.magritte-desktop-container___26vkq_4-0-
|
|
58
|
+
.magritte-mobile-container___dQRCl_4-0-53,
|
|
59
|
+
.magritte-desktop-container___26vkq_4-0-53{
|
|
60
60
|
background-color:var(--magritte-color-background-primary-v25-0-1);
|
|
61
61
|
border-radius:24px;
|
|
62
62
|
}
|
|
63
|
-
.magritte-mobile-container___dQRCl_4-0-
|
|
63
|
+
.magritte-mobile-container___dQRCl_4-0-53{
|
|
64
64
|
position:fixed;
|
|
65
65
|
inset:auto 12px 16px;
|
|
66
66
|
max-width:400px;
|
|
67
67
|
margin:auto;
|
|
68
68
|
}
|
|
69
|
-
.magritte-desktop-container___26vkq_4-0-
|
|
69
|
+
.magritte-desktop-container___26vkq_4-0-53{
|
|
70
70
|
width:400px;
|
|
71
71
|
}
|
|
72
|
-
.magritte-main___iCU-E_4-0-
|
|
72
|
+
.magritte-main___iCU-E_4-0-53{
|
|
73
73
|
padding:32px 12px 12px;
|
|
74
74
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-alert",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.53",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@hh.ru/magritte-internal-layer-name": "3.4.1",
|
|
30
30
|
"@hh.ru/magritte-ui-breakpoint": "6.1.1",
|
|
31
31
|
"@hh.ru/magritte-ui-layer": "3.2.7",
|
|
32
|
-
"@hh.ru/magritte-ui-placeholder": "11.1.
|
|
32
|
+
"@hh.ru/magritte-ui-placeholder": "11.1.44",
|
|
33
33
|
"@hh.ru/magritte-ui-theme-wrapper": "1.1.25"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "bbe87c835b11aa2cbb455ff84d2979834e0bd01e"
|
|
45
45
|
}
|