@alfalab/core-components-universal-modal 2.0.3 → 2.0.4
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/components/content/base-content/index.css +1 -1
- package/components/content/base-content/index.module.css.js +1 -1
- package/components/content/desktop/desktop.css +2 -2
- package/components/content/desktop/desktop.module.css.js +1 -1
- package/components/content/mobile/mobile.css +3 -3
- package/components/content/mobile/mobile.module.css.js +1 -1
- package/components/footer/base-footer/index.css +3 -3
- package/components/footer/base-footer/index.module.css.js +1 -1
- package/components/footer/desktop/desktop.css +1 -1
- package/components/footer/desktop/desktop.module.css.js +1 -1
- package/components/footer/desktop/layout.css +9 -9
- package/components/footer/desktop/layout.module.css.js +1 -1
- package/components/footer/mobile/layout.mobile.css +8 -8
- package/components/footer/mobile/layout.mobile.module.css.js +1 -1
- package/components/footer/mobile/mobile.css +2 -2
- package/components/footer/mobile/mobile.module.css.js +1 -1
- package/components/header/base-header/index.css +12 -12
- package/components/header/base-header/index.module.css.js +1 -1
- package/components/header/desktop/desktop.css +8 -8
- package/components/header/desktop/desktop.module.css.js +1 -1
- package/components/header/mobile/mobile.css +4 -4
- package/components/header/mobile/mobile.module.css.js +1 -1
- package/cssm/desktop/types/props.d.ts +1 -1
- package/cssm/mobile/types/props.d.ts +1 -1
- package/desktop/components/buttons/arrow-button/arrow-button.css +1 -1
- package/desktop/components/buttons/arrow-button/arrow-button.module.css.js +1 -1
- package/desktop/components/buttons/cross-button/cross-button.css +1 -1
- package/desktop/components/buttons/cross-button/cross-button.module.css.js +1 -1
- package/desktop/components/center-modal/index.css +521 -521
- package/desktop/components/center-modal/index.module.css.js +1 -1
- package/desktop/components/center-modal/transitions/safari-transitions.css +7 -7
- package/desktop/components/center-modal/transitions/safari-transitions.module.css.js +1 -1
- package/desktop/components/center-modal/transitions/transitions.css +7 -7
- package/desktop/components/center-modal/transitions/transitions.module.css.js +1 -1
- package/desktop/components/modal-content/modal-content.css +4 -4
- package/desktop/components/modal-content/modal-content.module.css.js +1 -1
- package/desktop/components/side-modal/index.css +523 -523
- package/desktop/components/side-modal/index.module.css.js +1 -1
- package/desktop/components/side-modal/transitions/transitions.css +71 -71
- package/desktop/components/side-modal/transitions/transitions.module.css.js +1 -1
- package/desktop/styles/transitions/full-size-backdrop-transitions.css +13 -13
- package/desktop/styles/transitions/full-size-backdrop-transitions.module.css.js +1 -1
- package/desktop/styles/transitions/full-size-vertical-bottom-transitions.css +7 -7
- package/desktop/styles/transitions/full-size-vertical-bottom-transitions.module.css.js +1 -1
- package/desktop/styles/transitions/full-size-vertical-center-transitions.css +7 -7
- package/desktop/styles/transitions/full-size-vertical-center-transitions.module.css.js +1 -1
- package/desktop/styles/transitions/full-size-vertical-top-transitions.css +7 -7
- package/desktop/styles/transitions/full-size-vertical-top-transitions.module.css.js +1 -1
- package/desktop/types/props.d.ts +1 -1
- package/esm/components/content/base-content/index.css +1 -1
- package/esm/components/content/base-content/index.module.css.js +1 -1
- package/esm/components/content/desktop/desktop.css +2 -2
- package/esm/components/content/desktop/desktop.module.css.js +1 -1
- package/esm/components/content/mobile/mobile.css +3 -3
- package/esm/components/content/mobile/mobile.module.css.js +1 -1
- package/esm/components/footer/base-footer/index.css +3 -3
- package/esm/components/footer/base-footer/index.module.css.js +1 -1
- package/esm/components/footer/desktop/desktop.css +1 -1
- package/esm/components/footer/desktop/desktop.module.css.js +1 -1
- package/esm/components/footer/desktop/layout.css +9 -9
- package/esm/components/footer/desktop/layout.module.css.js +1 -1
- package/esm/components/footer/mobile/layout.mobile.css +8 -8
- package/esm/components/footer/mobile/layout.mobile.module.css.js +1 -1
- package/esm/components/footer/mobile/mobile.css +2 -2
- package/esm/components/footer/mobile/mobile.module.css.js +1 -1
- package/esm/components/header/base-header/index.css +12 -12
- package/esm/components/header/base-header/index.module.css.js +1 -1
- package/esm/components/header/desktop/desktop.css +8 -8
- package/esm/components/header/desktop/desktop.module.css.js +1 -1
- package/esm/components/header/mobile/mobile.css +4 -4
- package/esm/components/header/mobile/mobile.module.css.js +1 -1
- package/esm/desktop/components/buttons/arrow-button/arrow-button.css +1 -1
- package/esm/desktop/components/buttons/arrow-button/arrow-button.module.css.js +1 -1
- package/esm/desktop/components/buttons/cross-button/cross-button.css +1 -1
- package/esm/desktop/components/buttons/cross-button/cross-button.module.css.js +1 -1
- package/esm/desktop/components/center-modal/index.css +521 -521
- package/esm/desktop/components/center-modal/index.module.css.js +1 -1
- package/esm/desktop/components/center-modal/transitions/safari-transitions.css +7 -7
- package/esm/desktop/components/center-modal/transitions/safari-transitions.module.css.js +1 -1
- package/esm/desktop/components/center-modal/transitions/transitions.css +7 -7
- package/esm/desktop/components/center-modal/transitions/transitions.module.css.js +1 -1
- package/esm/desktop/components/modal-content/modal-content.css +4 -4
- package/esm/desktop/components/modal-content/modal-content.module.css.js +1 -1
- package/esm/desktop/components/side-modal/index.css +523 -523
- package/esm/desktop/components/side-modal/index.module.css.js +1 -1
- package/esm/desktop/components/side-modal/transitions/transitions.css +71 -71
- package/esm/desktop/components/side-modal/transitions/transitions.module.css.js +1 -1
- package/esm/desktop/styles/transitions/full-size-backdrop-transitions.css +13 -13
- package/esm/desktop/styles/transitions/full-size-backdrop-transitions.module.css.js +1 -1
- package/esm/desktop/styles/transitions/full-size-vertical-bottom-transitions.css +7 -7
- package/esm/desktop/styles/transitions/full-size-vertical-bottom-transitions.module.css.js +1 -1
- package/esm/desktop/styles/transitions/full-size-vertical-center-transitions.css +7 -7
- package/esm/desktop/styles/transitions/full-size-vertical-center-transitions.module.css.js +1 -1
- package/esm/desktop/styles/transitions/full-size-vertical-top-transitions.css +7 -7
- package/esm/desktop/styles/transitions/full-size-vertical-top-transitions.module.css.js +1 -1
- package/esm/desktop/types/props.d.ts +1 -1
- package/esm/mobile/components/buttons/arrow-button/arrow-button.css +2 -2
- package/esm/mobile/components/buttons/arrow-button/arrow-button.module.css.js +1 -1
- package/esm/mobile/components/buttons/cross-button/cross-button.css +2 -2
- package/esm/mobile/components/buttons/cross-button/cross-button.module.css.js +1 -1
- package/esm/mobile/mobile.css +3 -3
- package/esm/mobile/mobile.module.css.js +1 -1
- package/esm/mobile/transitions/right-side-transitions.mobile.css +7 -7
- package/esm/mobile/transitions/right-side-transitions.mobile.module.css.js +1 -1
- package/esm/mobile/transitions/transitions.mobile.css +7 -7
- package/esm/mobile/transitions/transitions.mobile.module.css.js +1 -1
- package/esm/mobile/types/props.d.ts +1 -1
- package/mobile/components/buttons/arrow-button/arrow-button.css +2 -2
- package/mobile/components/buttons/arrow-button/arrow-button.module.css.js +1 -1
- package/mobile/components/buttons/cross-button/cross-button.css +2 -2
- package/mobile/components/buttons/cross-button/cross-button.module.css.js +1 -1
- package/mobile/mobile.css +3 -3
- package/mobile/mobile.module.css.js +1 -1
- package/mobile/transitions/right-side-transitions.mobile.css +7 -7
- package/mobile/transitions/right-side-transitions.mobile.module.css.js +1 -1
- package/mobile/transitions/transitions.mobile.css +7 -7
- package/mobile/transitions/transitions.mobile.module.css.js +1 -1
- package/mobile/types/props.d.ts +1 -1
- package/modern/components/content/base-content/index.css +1 -1
- package/modern/components/content/base-content/index.module.css.js +1 -1
- package/modern/components/content/desktop/desktop.css +2 -2
- package/modern/components/content/desktop/desktop.module.css.js +1 -1
- package/modern/components/content/mobile/mobile.css +3 -3
- package/modern/components/content/mobile/mobile.module.css.js +1 -1
- package/modern/components/footer/base-footer/index.css +3 -3
- package/modern/components/footer/base-footer/index.module.css.js +1 -1
- package/modern/components/footer/desktop/desktop.css +1 -1
- package/modern/components/footer/desktop/desktop.module.css.js +1 -1
- package/modern/components/footer/desktop/layout.css +9 -9
- package/modern/components/footer/desktop/layout.module.css.js +1 -1
- package/modern/components/footer/mobile/layout.mobile.css +8 -8
- package/modern/components/footer/mobile/layout.mobile.module.css.js +1 -1
- package/modern/components/footer/mobile/mobile.css +2 -2
- package/modern/components/footer/mobile/mobile.module.css.js +1 -1
- package/modern/components/header/base-header/index.css +12 -12
- package/modern/components/header/base-header/index.module.css.js +1 -1
- package/modern/components/header/desktop/desktop.css +8 -8
- package/modern/components/header/desktop/desktop.module.css.js +1 -1
- package/modern/components/header/mobile/mobile.css +4 -4
- package/modern/components/header/mobile/mobile.module.css.js +1 -1
- package/modern/desktop/components/buttons/arrow-button/arrow-button.css +1 -1
- package/modern/desktop/components/buttons/arrow-button/arrow-button.module.css.js +1 -1
- package/modern/desktop/components/buttons/cross-button/cross-button.css +1 -1
- package/modern/desktop/components/buttons/cross-button/cross-button.module.css.js +1 -1
- package/modern/desktop/components/center-modal/index.css +521 -521
- package/modern/desktop/components/center-modal/index.module.css.js +1 -1
- package/modern/desktop/components/center-modal/transitions/safari-transitions.css +7 -7
- package/modern/desktop/components/center-modal/transitions/safari-transitions.module.css.js +1 -1
- package/modern/desktop/components/center-modal/transitions/transitions.css +7 -7
- package/modern/desktop/components/center-modal/transitions/transitions.module.css.js +1 -1
- package/modern/desktop/components/modal-content/modal-content.css +4 -4
- package/modern/desktop/components/modal-content/modal-content.module.css.js +1 -1
- package/modern/desktop/components/side-modal/index.css +523 -523
- package/modern/desktop/components/side-modal/index.module.css.js +1 -1
- package/modern/desktop/components/side-modal/transitions/transitions.css +71 -71
- package/modern/desktop/components/side-modal/transitions/transitions.module.css.js +1 -1
- package/modern/desktop/styles/transitions/full-size-backdrop-transitions.css +13 -13
- package/modern/desktop/styles/transitions/full-size-backdrop-transitions.module.css.js +1 -1
- package/modern/desktop/styles/transitions/full-size-vertical-bottom-transitions.css +7 -7
- package/modern/desktop/styles/transitions/full-size-vertical-bottom-transitions.module.css.js +1 -1
- package/modern/desktop/styles/transitions/full-size-vertical-center-transitions.css +7 -7
- package/modern/desktop/styles/transitions/full-size-vertical-center-transitions.module.css.js +1 -1
- package/modern/desktop/styles/transitions/full-size-vertical-top-transitions.css +7 -7
- package/modern/desktop/styles/transitions/full-size-vertical-top-transitions.module.css.js +1 -1
- package/modern/desktop/types/props.d.ts +1 -1
- package/modern/mobile/components/buttons/arrow-button/arrow-button.css +2 -2
- package/modern/mobile/components/buttons/arrow-button/arrow-button.module.css.js +1 -1
- package/modern/mobile/components/buttons/cross-button/cross-button.css +2 -2
- package/modern/mobile/components/buttons/cross-button/cross-button.module.css.js +1 -1
- package/modern/mobile/mobile.css +3 -3
- package/modern/mobile/mobile.module.css.js +1 -1
- package/modern/mobile/transitions/right-side-transitions.mobile.css +7 -7
- package/modern/mobile/transitions/right-side-transitions.mobile.module.css.js +1 -1
- package/modern/mobile/transitions/transitions.mobile.css +7 -7
- package/modern/mobile/transitions/transitions.mobile.module.css.js +1 -1
- package/modern/mobile/types/props.d.ts +1 -1
- package/moderncssm/desktop/types/props.d.ts +1 -1
- package/moderncssm/mobile/types/props.d.ts +1 -1
- package/package.json +1 -1
- package/src/desktop/types/props.ts +1 -0
- package/src/mobile/types/props.ts +1 -0
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
} :root {
|
|
4
4
|
--universal-modal-backdrop-visible-background: var(--color-light-overlay-default);
|
|
5
5
|
--universal-modal-backdrop-hidden-background: transparent;
|
|
6
|
-
} @keyframes universal-
|
|
6
|
+
} @keyframes universal-modal__step_1_1na3m {
|
|
7
7
|
0% {
|
|
8
8
|
opacity: 1;
|
|
9
9
|
}
|
|
10
10
|
100% {
|
|
11
11
|
opacity: 0.5;
|
|
12
12
|
}
|
|
13
|
-
} @keyframes universal-
|
|
13
|
+
} @keyframes universal-modal__step_2_1na3m {
|
|
14
14
|
0% {
|
|
15
15
|
opacity: 0.5;
|
|
16
16
|
}
|
|
@@ -18,22 +18,22 @@
|
|
|
18
18
|
opacity: 0;
|
|
19
19
|
background-color: var(--universal-modal-backdrop-hidden-background);
|
|
20
20
|
}
|
|
21
|
-
} .universal-
|
|
22
|
-
.universal-
|
|
21
|
+
} .universal-modal__appear_1na3m,
|
|
22
|
+
.universal-modal__enter_1na3m {
|
|
23
23
|
background-color: var(--universal-modal-backdrop-hidden-background);
|
|
24
|
-
} .universal-
|
|
25
|
-
.universal-
|
|
26
|
-
.universal-
|
|
27
|
-
.universal-
|
|
24
|
+
} .universal-modal__appearActive_1na3m,
|
|
25
|
+
.universal-modal__enterActive_1na3m,
|
|
26
|
+
.universal-modal__appearDone_1na3m,
|
|
27
|
+
.universal-modal__enterDone_1na3m {
|
|
28
28
|
background-color: var(--universal-modal-backdrop-visible-background);
|
|
29
|
-
} .universal-
|
|
29
|
+
} .universal-modal__exit_1na3m {
|
|
30
30
|
background-color: var(--universal-modal-backdrop-visible-background);
|
|
31
|
-
} .universal-
|
|
31
|
+
} .universal-modal__exitActive_1na3m {
|
|
32
32
|
opacity: 1;
|
|
33
33
|
animation:
|
|
34
|
-
universal-
|
|
35
|
-
universal-
|
|
36
|
-
} .universal-
|
|
34
|
+
universal-modal__step_1_1na3m 200ms cubic-bezier(0, 0, 1, 0),
|
|
35
|
+
universal-modal__step_2_1na3m 200ms cubic-bezier(0, 0, 0, 1) 200ms forwards;
|
|
36
|
+
} .universal-modal__exitDone_1na3m {
|
|
37
37
|
opacity: 0;
|
|
38
38
|
background-color: var(--universal-modal-backdrop-hidden-background);
|
|
39
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './full-size-backdrop-transitions.css';
|
|
2
2
|
|
|
3
|
-
var fullSizeBackdropTransitions = {"appear":"universal-
|
|
3
|
+
var fullSizeBackdropTransitions = {"appear":"universal-modal__appear_1na3m","enter":"universal-modal__enter_1na3m","appearActive":"universal-modal__appearActive_1na3m","enterActive":"universal-modal__enterActive_1na3m","appearDone":"universal-modal__appearDone_1na3m","enterDone":"universal-modal__enterDone_1na3m","exit":"universal-modal__exit_1na3m","exitActive":"universal-modal__exitActive_1na3m","step_1":"universal-modal__step_1_1na3m","step_2":"universal-modal__step_2_1na3m","exitDone":"universal-modal__exitDone_1na3m"};
|
|
4
4
|
|
|
5
5
|
export { fullSizeBackdropTransitions as default };
|
|
6
6
|
//# sourceMappingURL=full-size-backdrop-transitions.module.css.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.universal-
|
|
2
|
-
.universal-
|
|
1
|
+
.universal-modal__appear_xpveb,
|
|
2
|
+
.universal-modal__enter_xpveb {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateY(40px);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.universal-
|
|
8
|
-
.universal-
|
|
7
|
+
.universal-modal__appearActive_xpveb,
|
|
8
|
+
.universal-modal__enterActive_xpveb {
|
|
9
9
|
opacity: 1;
|
|
10
10
|
transform: translateY(0);
|
|
11
11
|
transition:
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
transform 200ms cubic-bezier(0, 0, 0, 1);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.universal-
|
|
16
|
+
.universal-modal__exit_xpveb {
|
|
17
17
|
opacity: 1;
|
|
18
18
|
transform: translateY(0);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.universal-
|
|
22
|
-
.universal-
|
|
21
|
+
.universal-modal__exitActive_xpveb,
|
|
22
|
+
.universal-modal__exitDone_xpveb {
|
|
23
23
|
opacity: 0;
|
|
24
24
|
transform: translateY(40px);
|
|
25
25
|
transition:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './full-size-vertical-bottom-transitions.css';
|
|
2
2
|
|
|
3
|
-
var fullSizeVerticalBottomTransitions = {"appear":"universal-
|
|
3
|
+
var fullSizeVerticalBottomTransitions = {"appear":"universal-modal__appear_xpveb","enter":"universal-modal__enter_xpveb","appearActive":"universal-modal__appearActive_xpveb","enterActive":"universal-modal__enterActive_xpveb","exit":"universal-modal__exit_xpveb","exitActive":"universal-modal__exitActive_xpveb","exitDone":"universal-modal__exitDone_xpveb"};
|
|
4
4
|
|
|
5
5
|
export { fullSizeVerticalBottomTransitions as default };
|
|
6
6
|
//# sourceMappingURL=full-size-vertical-bottom-transitions.module.css.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
.universal-
|
|
2
|
-
.universal-
|
|
1
|
+
.universal-modal__appear_13vns,
|
|
2
|
+
.universal-modal__enter_13vns {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.universal-
|
|
7
|
-
.universal-
|
|
6
|
+
.universal-modal__appearActive_13vns,
|
|
7
|
+
.universal-modal__enterActive_13vns {
|
|
8
8
|
opacity: 1;
|
|
9
9
|
transition: opacity 200ms cubic-bezier(0, 0, 0, 1);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.universal-
|
|
12
|
+
.universal-modal__exit_13vns {
|
|
13
13
|
opacity: 1;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.universal-
|
|
17
|
-
.universal-
|
|
16
|
+
.universal-modal__exitActive_13vns,
|
|
17
|
+
.universal-modal__exitDone_13vns {
|
|
18
18
|
opacity: 0;
|
|
19
19
|
transition: opacity 200ms cubic-bezier(0, 0, 1, 0);
|
|
20
20
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './full-size-vertical-center-transitions.css';
|
|
2
2
|
|
|
3
|
-
var fullSizeVerticalCenterTransitions = {"appear":"universal-
|
|
3
|
+
var fullSizeVerticalCenterTransitions = {"appear":"universal-modal__appear_13vns","enter":"universal-modal__enter_13vns","appearActive":"universal-modal__appearActive_13vns","enterActive":"universal-modal__enterActive_13vns","exit":"universal-modal__exit_13vns","exitActive":"universal-modal__exitActive_13vns","exitDone":"universal-modal__exitDone_13vns"};
|
|
4
4
|
|
|
5
5
|
export { fullSizeVerticalCenterTransitions as default };
|
|
6
6
|
//# sourceMappingURL=full-size-vertical-center-transitions.module.css.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.universal-
|
|
2
|
-
.universal-
|
|
1
|
+
.universal-modal__appear_1lnrr,
|
|
2
|
+
.universal-modal__enter_1lnrr {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateY(-40px);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.universal-
|
|
8
|
-
.universal-
|
|
7
|
+
.universal-modal__appearActive_1lnrr,
|
|
8
|
+
.universal-modal__enterActive_1lnrr {
|
|
9
9
|
opacity: 1;
|
|
10
10
|
transform: translateY(0);
|
|
11
11
|
transition:
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
transform 200ms cubic-bezier(0, 0, 0, 1);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.universal-
|
|
16
|
+
.universal-modal__exit_1lnrr {
|
|
17
17
|
opacity: 1;
|
|
18
18
|
transform: translateY(0);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.universal-
|
|
22
|
-
.universal-
|
|
21
|
+
.universal-modal__exitActive_1lnrr,
|
|
22
|
+
.universal-modal__exitDone_1lnrr {
|
|
23
23
|
opacity: 0;
|
|
24
24
|
transform: translateY(-40px);
|
|
25
25
|
transition:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './full-size-vertical-top-transitions.css';
|
|
2
2
|
|
|
3
|
-
var fullSizeVerticalTopTransitions = {"appear":"universal-
|
|
3
|
+
var fullSizeVerticalTopTransitions = {"appear":"universal-modal__appear_1lnrr","enter":"universal-modal__enter_1lnrr","appearActive":"universal-modal__appearActive_1lnrr","enterActive":"universal-modal__enterActive_1lnrr","exit":"universal-modal__exit_1lnrr","exitActive":"universal-modal__exitActive_1lnrr","exitDone":"universal-modal__exitDone_1lnrr"};
|
|
4
4
|
|
|
5
5
|
export { fullSizeVerticalTopTransitions as default };
|
|
6
6
|
//# sourceMappingURL=full-size-vertical-top-transitions.module.css.js.map
|
|
@@ -37,7 +37,7 @@ export interface BaseUniversalModalProps {
|
|
|
37
37
|
*/
|
|
38
38
|
margin?: TMargin;
|
|
39
39
|
}
|
|
40
|
-
export interface UniversalModalDesktopProps extends BaseUniversalModalProps, Pick<BaseModalProps, 'open'>, Partial<Pick<BaseModalProps, 'children' | 'dataTestId' | 'className' | 'wrapperClassName' | 'onUnmount' | 'transitionProps' | 'backdropProps' | 'disableBackdropClick' | 'onClose'>> {
|
|
40
|
+
export interface UniversalModalDesktopProps extends BaseUniversalModalProps, Pick<BaseModalProps, 'open'>, Partial<Pick<BaseModalProps, 'children' | 'dataTestId' | 'className' | 'wrapperClassName' | 'onUnmount' | 'transitionProps' | 'backdropProps' | 'disableBackdropClick' | 'onClose' | 'disableFocusLock'>> {
|
|
41
41
|
/**
|
|
42
42
|
* Реф контейнера на котором происходит scroll
|
|
43
43
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--color-light-neutral-translucent-700: rgba(4, 4, 21, 0.47);
|
|
3
|
-
} .universal-
|
|
3
|
+
} .universal-modal__button_1pxmf.universal-modal__button_1pxmf {
|
|
4
4
|
padding: 0 7px;
|
|
5
5
|
width: 24px;
|
|
6
6
|
height: 24px;
|
|
7
|
-
} .universal-
|
|
7
|
+
} .universal-modal__icon_1pxmf {
|
|
8
8
|
fill: var(--color-light-neutral-translucent-700);
|
|
9
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './arrow-button.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"button":"universal-
|
|
3
|
+
var styles = {"button":"universal-modal__button_1pxmf","icon":"universal-modal__icon_1pxmf"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=arrow-button.module.css.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--color-light-neutral-translucent-700: rgba(4, 4, 21, 0.47);
|
|
3
|
-
} .universal-
|
|
3
|
+
} .universal-modal__button_qidjg.universal-modal__button_qidjg {
|
|
4
4
|
padding: 0 7px;
|
|
5
5
|
width: 24px;
|
|
6
6
|
height: 24px;
|
|
7
|
-
} .universal-
|
|
7
|
+
} .universal-modal__icon_qidjg {
|
|
8
8
|
fill: var(--color-light-neutral-translucent-700);
|
|
9
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './cross-button.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"button":"universal-
|
|
3
|
+
var styles = {"button":"universal-modal__button_qidjg","icon":"universal-modal__icon_qidjg"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=cross-button.module.css.js.map
|
package/esm/mobile/mobile.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--gap-0: 0px;
|
|
3
|
-
} .universal-
|
|
3
|
+
} .universal-modal__component_ifelu {
|
|
4
4
|
top: var(--gap-0);
|
|
5
5
|
height: 100%;
|
|
6
6
|
width: 100%;
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
max-width: 600px;
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
|
-
} .universal-
|
|
12
|
+
} .universal-modal__component_ifelu .universal-modal__content_ifelu {
|
|
13
13
|
height: auto;
|
|
14
|
-
} .universal-
|
|
14
|
+
} .universal-modal__component_ifelu.universal-modal__component_ifelu {
|
|
15
15
|
position: fixed;
|
|
16
16
|
flex: 1;
|
|
17
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './mobile.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"universal-
|
|
3
|
+
var styles = {"component":"universal-modal__component_ifelu","content":"universal-modal__content_ifelu"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=mobile.module.css.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.universal-
|
|
2
|
-
.universal-
|
|
1
|
+
.universal-modal__appear_1acqq,
|
|
2
|
+
.universal-modal__enter_1acqq {
|
|
3
3
|
transform: translateX(100%);
|
|
4
|
-
} .universal-
|
|
5
|
-
.universal-
|
|
4
|
+
} .universal-modal__appearActive_1acqq,
|
|
5
|
+
.universal-modal__enterActive_1acqq {
|
|
6
6
|
transform: translateX(0);
|
|
7
7
|
transition: transform 280ms ease-in-out;
|
|
8
8
|
transition-delay: 80ms;
|
|
9
|
-
} .universal-
|
|
9
|
+
} .universal-modal__exit_1acqq {
|
|
10
10
|
transform: translateX(0);
|
|
11
|
-
} .universal-
|
|
12
|
-
.universal-
|
|
11
|
+
} .universal-modal__exitActive_1acqq,
|
|
12
|
+
.universal-modal__exitDone_1acqq {
|
|
13
13
|
transform: translateX(100%);
|
|
14
14
|
transition: transform 280ms ease-in-out;
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './right-side-transitions.mobile.css';
|
|
2
2
|
|
|
3
|
-
var rightSideTransitions = {"appear":"universal-
|
|
3
|
+
var rightSideTransitions = {"appear":"universal-modal__appear_1acqq","enter":"universal-modal__enter_1acqq","appearActive":"universal-modal__appearActive_1acqq","enterActive":"universal-modal__enterActive_1acqq","exit":"universal-modal__exit_1acqq","exitActive":"universal-modal__exitActive_1acqq","exitDone":"universal-modal__exitDone_1acqq"};
|
|
4
4
|
|
|
5
5
|
export { rightSideTransitions as default };
|
|
6
6
|
//# sourceMappingURL=right-side-transitions.mobile.module.css.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.universal-
|
|
2
|
-
.universal-
|
|
1
|
+
.universal-modal__appear_1cy7f,
|
|
2
|
+
.universal-modal__enter_1cy7f {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateY(15px);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.universal-
|
|
8
|
-
.universal-
|
|
7
|
+
.universal-modal__appearActive_1cy7f,
|
|
8
|
+
.universal-modal__enterActive_1cy7f {
|
|
9
9
|
opacity: 1;
|
|
10
10
|
transform: translateY(0);
|
|
11
11
|
transition:
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
transform 200ms ease-in;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.universal-
|
|
16
|
+
.universal-modal__exit_1cy7f {
|
|
17
17
|
opacity: 1;
|
|
18
18
|
transform: translateY(0);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.universal-
|
|
22
|
-
.universal-
|
|
21
|
+
.universal-modal__exitActive_1cy7f,
|
|
22
|
+
.universal-modal__exitDone_1cy7f {
|
|
23
23
|
opacity: 0;
|
|
24
24
|
transform: translateY(15px);
|
|
25
25
|
transition:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './transitions.mobile.css';
|
|
2
2
|
|
|
3
|
-
var transitions = {"appear":"universal-
|
|
3
|
+
var transitions = {"appear":"universal-modal__appear_1cy7f","enter":"universal-modal__enter_1cy7f","appearActive":"universal-modal__appearActive_1cy7f","enterActive":"universal-modal__enterActive_1cy7f","exit":"universal-modal__exit_1cy7f","exitActive":"universal-modal__exitActive_1cy7f","exitDone":"universal-modal__exitDone_1cy7f"};
|
|
4
4
|
|
|
5
5
|
export { transitions as default };
|
|
6
6
|
//# sourceMappingURL=transitions.mobile.module.css.js.map
|
|
@@ -3,5 +3,5 @@ export interface BaseUniversalModalMobileProps {
|
|
|
3
3
|
/** Сторона с которой будет появляться модальное окно */
|
|
4
4
|
appearance?: 'bottom' | 'right';
|
|
5
5
|
}
|
|
6
|
-
export interface UniversalModalMobileProps extends BaseUniversalModalMobileProps, Pick<BaseModalProps, 'open'>, Partial<Pick<BaseModalProps, 'children' | 'dataTestId' | 'className' | 'wrapperClassName' | 'onUnmount' | 'transitionProps' | 'onClose'>> {
|
|
6
|
+
export interface UniversalModalMobileProps extends BaseUniversalModalMobileProps, Pick<BaseModalProps, 'open'>, Partial<Pick<BaseModalProps, 'children' | 'dataTestId' | 'className' | 'wrapperClassName' | 'onUnmount' | 'transitionProps' | 'onClose' | 'disableFocusLock'>> {
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--color-light-neutral-translucent-700: rgba(4, 4, 21, 0.47);
|
|
3
|
-
} .universal-
|
|
3
|
+
} .universal-modal__button_1pxmf.universal-modal__button_1pxmf {
|
|
4
4
|
padding: 0 7px;
|
|
5
5
|
width: 24px;
|
|
6
6
|
height: 24px;
|
|
7
|
-
} .universal-
|
|
7
|
+
} .universal-modal__icon_1pxmf {
|
|
8
8
|
fill: var(--color-light-neutral-translucent-700);
|
|
9
9
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./arrow-button.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"button":"universal-
|
|
5
|
+
var styles = {"button":"universal-modal__button_1pxmf","icon":"universal-modal__icon_1pxmf"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=arrow-button.module.css.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--color-light-neutral-translucent-700: rgba(4, 4, 21, 0.47);
|
|
3
|
-
} .universal-
|
|
3
|
+
} .universal-modal__button_qidjg.universal-modal__button_qidjg {
|
|
4
4
|
padding: 0 7px;
|
|
5
5
|
width: 24px;
|
|
6
6
|
height: 24px;
|
|
7
|
-
} .universal-
|
|
7
|
+
} .universal-modal__icon_qidjg {
|
|
8
8
|
fill: var(--color-light-neutral-translucent-700);
|
|
9
9
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./cross-button.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"button":"universal-
|
|
5
|
+
var styles = {"button":"universal-modal__button_qidjg","icon":"universal-modal__icon_qidjg"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=cross-button.module.css.js.map
|
package/mobile/mobile.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--gap-0: 0px;
|
|
3
|
-
} .universal-
|
|
3
|
+
} .universal-modal__component_ifelu {
|
|
4
4
|
top: var(--gap-0);
|
|
5
5
|
height: 100%;
|
|
6
6
|
width: 100%;
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
max-width: 600px;
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
|
-
} .universal-
|
|
12
|
+
} .universal-modal__component_ifelu .universal-modal__content_ifelu {
|
|
13
13
|
height: auto;
|
|
14
|
-
} .universal-
|
|
14
|
+
} .universal-modal__component_ifelu.universal-modal__component_ifelu {
|
|
15
15
|
position: fixed;
|
|
16
16
|
flex: 1;
|
|
17
17
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./mobile.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"universal-
|
|
5
|
+
var styles = {"component":"universal-modal__component_ifelu","content":"universal-modal__content_ifelu"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=mobile.module.css.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.universal-
|
|
2
|
-
.universal-
|
|
1
|
+
.universal-modal__appear_1acqq,
|
|
2
|
+
.universal-modal__enter_1acqq {
|
|
3
3
|
transform: translateX(100%);
|
|
4
|
-
} .universal-
|
|
5
|
-
.universal-
|
|
4
|
+
} .universal-modal__appearActive_1acqq,
|
|
5
|
+
.universal-modal__enterActive_1acqq {
|
|
6
6
|
transform: translateX(0);
|
|
7
7
|
transition: transform 280ms ease-in-out;
|
|
8
8
|
transition-delay: 80ms;
|
|
9
|
-
} .universal-
|
|
9
|
+
} .universal-modal__exit_1acqq {
|
|
10
10
|
transform: translateX(0);
|
|
11
|
-
} .universal-
|
|
12
|
-
.universal-
|
|
11
|
+
} .universal-modal__exitActive_1acqq,
|
|
12
|
+
.universal-modal__exitDone_1acqq {
|
|
13
13
|
transform: translateX(100%);
|
|
14
14
|
transition: transform 280ms ease-in-out;
|
|
15
15
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./right-side-transitions.mobile.css');
|
|
4
4
|
|
|
5
|
-
var rightSideTransitions = {"appear":"universal-
|
|
5
|
+
var rightSideTransitions = {"appear":"universal-modal__appear_1acqq","enter":"universal-modal__enter_1acqq","appearActive":"universal-modal__appearActive_1acqq","enterActive":"universal-modal__enterActive_1acqq","exit":"universal-modal__exit_1acqq","exitActive":"universal-modal__exitActive_1acqq","exitDone":"universal-modal__exitDone_1acqq"};
|
|
6
6
|
|
|
7
7
|
module.exports = rightSideTransitions;
|
|
8
8
|
//# sourceMappingURL=right-side-transitions.mobile.module.css.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.universal-
|
|
2
|
-
.universal-
|
|
1
|
+
.universal-modal__appear_1cy7f,
|
|
2
|
+
.universal-modal__enter_1cy7f {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateY(15px);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.universal-
|
|
8
|
-
.universal-
|
|
7
|
+
.universal-modal__appearActive_1cy7f,
|
|
8
|
+
.universal-modal__enterActive_1cy7f {
|
|
9
9
|
opacity: 1;
|
|
10
10
|
transform: translateY(0);
|
|
11
11
|
transition:
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
transform 200ms ease-in;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.universal-
|
|
16
|
+
.universal-modal__exit_1cy7f {
|
|
17
17
|
opacity: 1;
|
|
18
18
|
transform: translateY(0);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.universal-
|
|
22
|
-
.universal-
|
|
21
|
+
.universal-modal__exitActive_1cy7f,
|
|
22
|
+
.universal-modal__exitDone_1cy7f {
|
|
23
23
|
opacity: 0;
|
|
24
24
|
transform: translateY(15px);
|
|
25
25
|
transition:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./transitions.mobile.css');
|
|
4
4
|
|
|
5
|
-
var transitions = {"appear":"universal-
|
|
5
|
+
var transitions = {"appear":"universal-modal__appear_1cy7f","enter":"universal-modal__enter_1cy7f","appearActive":"universal-modal__appearActive_1cy7f","enterActive":"universal-modal__enterActive_1cy7f","exit":"universal-modal__exit_1cy7f","exitActive":"universal-modal__exitActive_1cy7f","exitDone":"universal-modal__exitDone_1cy7f"};
|
|
6
6
|
|
|
7
7
|
module.exports = transitions;
|
|
8
8
|
//# sourceMappingURL=transitions.mobile.module.css.js.map
|
package/mobile/types/props.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ export interface BaseUniversalModalMobileProps {
|
|
|
3
3
|
/** Сторона с которой будет появляться модальное окно */
|
|
4
4
|
appearance?: 'bottom' | 'right';
|
|
5
5
|
}
|
|
6
|
-
export interface UniversalModalMobileProps extends BaseUniversalModalMobileProps, Pick<BaseModalProps, 'open'>, Partial<Pick<BaseModalProps, 'children' | 'dataTestId' | 'className' | 'wrapperClassName' | 'onUnmount' | 'transitionProps' | 'onClose'>> {
|
|
6
|
+
export interface UniversalModalMobileProps extends BaseUniversalModalMobileProps, Pick<BaseModalProps, 'open'>, Partial<Pick<BaseModalProps, 'children' | 'dataTestId' | 'className' | 'wrapperClassName' | 'onUnmount' | 'transitionProps' | 'onClose' | 'disableFocusLock'>> {
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--gap-0: 0px;
|
|
3
|
-
} .universal-
|
|
3
|
+
} .universal-modal__content_n89t2.universal-modal__withHeader_n89t2 {
|
|
4
4
|
padding-top: var(--gap-0);
|
|
5
|
-
} .universal-
|
|
5
|
+
} .universal-modal__content_n89t2.universal-modal__withFooter_n89t2 {
|
|
6
6
|
padding-bottom: var(--gap-0);
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './desktop.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"content":"universal-
|
|
3
|
+
const styles = {"content":"universal-modal__content_n89t2","withHeader":"universal-modal__withHeader_n89t2","withFooter":"universal-modal__withFooter_n89t2"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=desktop.module.css.js.map
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
--gap-0: 0px;
|
|
5
5
|
--gap-16: var(--gap-m);
|
|
6
6
|
--gap-20: var(--gap-l);
|
|
7
|
-
} .universal-
|
|
7
|
+
} .universal-modal__content_1ca7m {
|
|
8
8
|
padding: var(--gap-16);
|
|
9
|
-
} .universal-
|
|
9
|
+
} .universal-modal__content_1ca7m.universal-modal__withHeader_1ca7m {
|
|
10
10
|
padding-top: var(--gap-0);
|
|
11
|
-
} .universal-
|
|
11
|
+
} .universal-modal__content_1ca7m.universal-modal__withFooter_1ca7m {
|
|
12
12
|
padding-bottom: var(--gap-20);
|
|
13
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './mobile.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"content":"universal-
|
|
3
|
+
const styles = {"content":"universal-modal__content_1ca7m","withHeader":"universal-modal__withHeader_1ca7m","withFooter":"universal-modal__withFooter_1ca7m"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=mobile.module.css.js.map
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
--universal-modal-footer-background: var(--color-light-modal-bg-primary);
|
|
11
11
|
--universal-modal-footer-highlight-background: var(--color-light-modal-bg-primary);
|
|
12
12
|
--universal-modal-footer-highlight-box-shadow: 0 -1px 0 0 var(--color-light-neutral-300);
|
|
13
|
-
} .universal-
|
|
13
|
+
} .universal-modal__footer_8yf03 {
|
|
14
14
|
width: 100%;
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
transition:
|
|
17
17
|
box-shadow 0.2s ease,
|
|
18
18
|
background 0.2s ease;
|
|
19
19
|
padding: var(--gap-16) var(--gap-32) var(--gap-32);
|
|
20
|
-
} .universal-
|
|
20
|
+
} .universal-modal__sticky_8yf03 {
|
|
21
21
|
background: var(--universal-modal-footer-background);
|
|
22
22
|
position: sticky;
|
|
23
23
|
z-index: 1;
|
|
24
|
-
} .universal-
|
|
24
|
+
} .universal-modal__highlighted_8yf03 {
|
|
25
25
|
background: var(--universal-modal-footer-highlight-background);
|
|
26
26
|
box-shadow: var(--universal-modal-footer-highlight-box-shadow);
|
|
27
27
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"footer":"universal-
|
|
3
|
+
const styles = {"footer":"universal-modal__footer_8yf03","sticky":"universal-modal__sticky_8yf03","highlighted":"universal-modal__highlighted_8yf03"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|