@hh.ru/magritte-ui-full-screen-loader 1.1.13 → 1.1.15
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/FullScreenLoader.js +1 -1
- package/index.css +8 -8
- package/index.mock.d.ts +2 -0
- package/index.mock.js +6 -0
- package/index.mock.js.map +1 -1
- package/package.json +5 -4
package/FullScreenLoader.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Layer } from '@hh.ru/magritte-ui-layer';
|
|
|
10
10
|
import { Loader } from '@hh.ru/magritte-ui-loader';
|
|
11
11
|
import { ThemeWrapper } from '@hh.ru/magritte-ui-theme-wrapper';
|
|
12
12
|
|
|
13
|
-
var styles = {"animation-timeout":"magritte-animation-timeout___aTdGa_1-1-
|
|
13
|
+
var styles = {"animation-timeout":"magritte-animation-timeout___aTdGa_1-1-15","animationTimeout":"magritte-animation-timeout___aTdGa_1-1-15","enter-animation":"magritte-enter-animation___TqSXR_1-1-15","enterAnimation":"magritte-enter-animation___TqSXR_1-1-15","enter-animation-active":"magritte-enter-animation-active___Jfsvw_1-1-15","enterAnimationActive":"magritte-enter-animation-active___Jfsvw_1-1-15","exit-animation":"magritte-exit-animation___6VlKj_1-1-15","exitAnimation":"magritte-exit-animation___6VlKj_1-1-15","exit-animation-active":"magritte-exit-animation-active___VanCA_1-1-15","exitAnimationActive":"magritte-exit-animation-active___VanCA_1-1-15","overlay":"magritte-overlay___YsKtP_1-1-15","loader":"magritte-loader___vx7PF_1-1-15"};
|
|
14
14
|
|
|
15
15
|
const CSS_CLASSES = {
|
|
16
16
|
enter: styles.enterAnimation,
|
package/index.css
CHANGED
|
@@ -13,35 +13,35 @@
|
|
|
13
13
|
.magritte-night-theme{
|
|
14
14
|
--magritte-color-background-constant-secondary-v24-6-0:#343c43;
|
|
15
15
|
}
|
|
16
|
-
.magritte-animation-timeout___aTdGa_1-1-
|
|
16
|
+
.magritte-animation-timeout___aTdGa_1-1-15{
|
|
17
17
|
--enter-animation-duration:0ms;
|
|
18
18
|
--exit-animation-duration:0ms;
|
|
19
19
|
}
|
|
20
20
|
@media (prefers-reduced-motion: no-preference){
|
|
21
|
-
.magritte-animation-timeout___aTdGa_1-1-
|
|
21
|
+
.magritte-animation-timeout___aTdGa_1-1-15{
|
|
22
22
|
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v24-6-0);
|
|
23
23
|
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v24-6-0);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
.magritte-enter-animation___TqSXR_1-1-
|
|
26
|
+
.magritte-enter-animation___TqSXR_1-1-15{
|
|
27
27
|
opacity:0;
|
|
28
28
|
}
|
|
29
|
-
.magritte-enter-animation-active___Jfsvw_1-1-
|
|
29
|
+
.magritte-enter-animation-active___Jfsvw_1-1-15{
|
|
30
30
|
opacity:1;
|
|
31
31
|
transition-property:opacity;
|
|
32
32
|
transition-duration:var(--enter-animation-duration);
|
|
33
33
|
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-v24-6-0);
|
|
34
34
|
}
|
|
35
|
-
.magritte-exit-animation___6VlKj_1-1-
|
|
35
|
+
.magritte-exit-animation___6VlKj_1-1-15{
|
|
36
36
|
opacity:1;
|
|
37
37
|
}
|
|
38
|
-
.magritte-exit-animation-active___VanCA_1-1-
|
|
38
|
+
.magritte-exit-animation-active___VanCA_1-1-15{
|
|
39
39
|
opacity:0;
|
|
40
40
|
transition-property:opacity;
|
|
41
41
|
transition-duration:var(--exit-animation-duration);
|
|
42
42
|
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v24-6-0);
|
|
43
43
|
}
|
|
44
|
-
.magritte-overlay___YsKtP_1-1-
|
|
44
|
+
.magritte-overlay___YsKtP_1-1-15{
|
|
45
45
|
display:flex;
|
|
46
46
|
align-items:center;
|
|
47
47
|
justify-content:center;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
inset:0;
|
|
50
50
|
background-color:var(--magritte-color-background-overlay-v24-6-0);
|
|
51
51
|
}
|
|
52
|
-
.magritte-loader___vx7PF_1-1-
|
|
52
|
+
.magritte-loader___vx7PF_1-1-15{
|
|
53
53
|
background-color:var(--magritte-color-background-constant-secondary-v24-6-0);
|
|
54
54
|
border-radius:28px;
|
|
55
55
|
line-height:0;
|
package/index.mock.d.ts
ADDED
package/index.mock.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import './index.css';
|
|
2
|
+
import { mockComponent } from '@hh.ru/magritte-ui-mock-component';
|
|
2
3
|
|
|
4
|
+
const FullScreenLoader = mockComponent('FullScreenLoader', undefined, {
|
|
5
|
+
withChildren: false,
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
export { FullScreenLoader };
|
|
3
9
|
//# sourceMappingURL=index.mock.js.map
|
package/index.mock.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mock.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.mock.js","sources":["src/index.mock.ts"],"sourcesContent":["import { FC } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport const FullScreenLoader: FC<Record<string, unknown>> = mockComponent('FullScreenLoader', undefined, {\n withChildren: false,\n});\n"],"names":[],"mappings":";;MAIa,gBAAgB,GAAgC,aAAa,CAAC,kBAAkB,EAAE,SAAS,EAAE;AACtG,IAAA,YAAY,EAAE,KAAK;AACtB,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-full-screen-loader",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.15",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@hh.ru/magritte-common-is-server-env": "1.0.8",
|
|
23
|
-
"@hh.ru/magritte-common-modal-helper": "1.3.
|
|
23
|
+
"@hh.ru/magritte-common-modal-helper": "1.3.2",
|
|
24
24
|
"@hh.ru/magritte-design-tokens": "24.6.0",
|
|
25
|
-
"@hh.ru/magritte-ui-layer": "3.2.
|
|
25
|
+
"@hh.ru/magritte-ui-layer": "3.2.4",
|
|
26
26
|
"@hh.ru/magritte-ui-loader": "3.0.3",
|
|
27
|
+
"@hh.ru/magritte-ui-mock-component": "1.1.7",
|
|
27
28
|
"@hh.ru/magritte-ui-theme-wrapper": "1.1.15"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
@@ -35,5 +36,5 @@
|
|
|
35
36
|
"publishConfig": {
|
|
36
37
|
"access": "public"
|
|
37
38
|
},
|
|
38
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "cadaa9dd9ed52159fedbaf7e7111b70cdf6bb05c"
|
|
39
40
|
}
|