@alfalab/core-components-universal-modal 3.2.0 → 3.2.1
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/base-content/index.css +1 -1
- package/components/base-content/index.module.css.js +1 -1
- package/components/base-footer/index.css +3 -3
- package/components/base-footer/index.module.css.js +1 -1
- package/components/base-header/index.css +4 -4
- package/components/base-header/index.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/center-modal/index.css +783 -783
- 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/footer/desktop.css +1 -1
- package/desktop/components/footer/desktop.module.css.js +1 -1
- package/desktop/components/footer/layout.css +9 -9
- package/desktop/components/footer/layout.module.css.js +1 -1
- package/desktop/components/header/desktop.css +5 -5
- package/desktop/components/header/desktop.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 +785 -785
- 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/base-content/index.css +1 -1
- package/esm/components/base-content/index.module.css.js +1 -1
- package/esm/components/base-footer/index.css +3 -3
- package/esm/components/base-footer/index.module.css.js +1 -1
- package/esm/components/base-header/index.css +4 -4
- package/esm/components/base-header/index.module.css.js +1 -1
- package/esm/desktop/components/center-modal/index.css +783 -783
- 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/footer/desktop.css +1 -1
- package/esm/desktop/components/footer/desktop.module.css.js +1 -1
- package/esm/desktop/components/footer/layout.css +9 -9
- package/esm/desktop/components/footer/layout.module.css.js +1 -1
- package/esm/desktop/components/header/desktop.css +5 -5
- package/esm/desktop/components/header/desktop.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 +785 -785
- 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/content/index.css +3 -3
- package/esm/mobile/components/content/index.module.css.js +1 -1
- package/esm/mobile/components/footer/index.css +2 -2
- package/esm/mobile/components/footer/index.module.css.js +1 -1
- package/esm/mobile/components/footer/layout.mobile.css +9 -9
- package/esm/mobile/components/footer/layout.mobile.module.css.js +1 -1
- package/esm/mobile/components/header/index.css +3 -3
- package/esm/mobile/components/header/index.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/content/index.css +3 -3
- package/mobile/components/content/index.module.css.js +1 -1
- package/mobile/components/footer/index.css +2 -2
- package/mobile/components/footer/index.module.css.js +1 -1
- package/mobile/components/footer/layout.mobile.css +9 -9
- package/mobile/components/footer/layout.mobile.module.css.js +1 -1
- package/mobile/components/header/index.css +3 -3
- package/mobile/components/header/index.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/base-content/index.css +1 -1
- package/modern/components/base-content/index.module.css.js +1 -1
- package/modern/components/base-footer/index.css +3 -3
- package/modern/components/base-footer/index.module.css.js +1 -1
- package/modern/components/base-header/index.css +4 -4
- package/modern/components/base-header/index.module.css.js +1 -1
- package/modern/desktop/components/center-modal/index.css +783 -783
- 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/footer/desktop.css +1 -1
- package/modern/desktop/components/footer/desktop.module.css.js +1 -1
- package/modern/desktop/components/footer/layout.css +9 -9
- package/modern/desktop/components/footer/layout.module.css.js +1 -1
- package/modern/desktop/components/header/desktop.css +5 -5
- package/modern/desktop/components/header/desktop.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 +785 -785
- 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/content/index.css +3 -3
- package/modern/mobile/components/content/index.module.css.js +1 -1
- package/modern/mobile/components/footer/index.css +2 -2
- package/modern/mobile/components/footer/index.module.css.js +1 -1
- package/modern/mobile/components/footer/layout.mobile.css +9 -9
- package/modern/mobile/components/footer/layout.mobile.module.css.js +1 -1
- package/modern/mobile/components/header/index.css +3 -3
- package/modern/mobile/components/header/index.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 +2 -2
- package/src/desktop/types/props.ts +2 -0
- package/src/mobile/types/props.ts +2 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"footer":"universal-
|
|
3
|
+
var styles = {"footer":"universal-modal__footer_18zct","sticky":"universal-modal__sticky_18zct"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
--gap-xs: 8px;
|
|
3
3
|
--gap-8: var(--gap-xs);
|
|
4
4
|
}
|
|
5
|
-
.universal-
|
|
5
|
+
.universal-modal__column_e5ig0 {
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
}
|
|
8
|
-
.universal-
|
|
8
|
+
.universal-modal__start_e5ig0 {
|
|
9
9
|
justify-content: flex-start;
|
|
10
10
|
}
|
|
11
|
-
.universal-
|
|
11
|
+
.universal-modal__center_e5ig0 {
|
|
12
12
|
justify-content: center;
|
|
13
13
|
}
|
|
14
|
-
.universal-modal__space-
|
|
14
|
+
.universal-modal__space-between_e5ig0 {
|
|
15
15
|
justify-content: space-between;
|
|
16
16
|
}
|
|
17
|
-
.universal-modal__space-
|
|
17
|
+
.universal-modal__space-between_e5ig0 > * {
|
|
18
18
|
flex: 1;
|
|
19
19
|
}
|
|
20
|
-
.universal-
|
|
21
|
-
.universal-
|
|
22
|
-
.universal-modal__space-
|
|
23
|
-
.universal-
|
|
20
|
+
.universal-modal__start_e5ig0,
|
|
21
|
+
.universal-modal__center_e5ig0,
|
|
22
|
+
.universal-modal__space-between_e5ig0,
|
|
23
|
+
.universal-modal__column_e5ig0 {
|
|
24
24
|
display: flex;
|
|
25
25
|
gap: var(--gap-8);
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './layout.mobile.css';
|
|
2
2
|
|
|
3
|
-
var layoutStylesMobile = {"column":"universal-
|
|
3
|
+
var layoutStylesMobile = {"column":"universal-modal__column_e5ig0","start":"universal-modal__start_e5ig0","center":"universal-modal__center_e5ig0","space-between":"universal-modal__space-between_e5ig0"};
|
|
4
4
|
|
|
5
5
|
export { layoutStylesMobile as default };
|
|
6
6
|
//# sourceMappingURL=layout.mobile.module.css.js.map
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
--font-family-system:
|
|
14
14
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
15
15
|
}
|
|
16
|
-
.universal-
|
|
16
|
+
.universal-modal__header_1wfw8 {
|
|
17
17
|
padding: var(--gap-8) var(--gap-4);
|
|
18
18
|
}
|
|
19
|
-
.universal-
|
|
19
|
+
.universal-modal__content_1wfw8 {
|
|
20
20
|
font-size: 20px;
|
|
21
21
|
line-height: 28px;
|
|
22
22
|
font-weight: 600;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
min-height: 40px;
|
|
26
26
|
justify-content: center;
|
|
27
27
|
}
|
|
28
|
-
.universal-
|
|
28
|
+
.universal-modal__bottomAddons_1wfw8 {
|
|
29
29
|
font-size: 20px;
|
|
30
30
|
line-height: 28px;
|
|
31
31
|
font-weight: 600;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var mobileStyles = {"header":"universal-
|
|
3
|
+
var mobileStyles = {"header":"universal-modal__header_1wfw8","content":"universal-modal__content_1wfw8","bottomAddons":"universal-modal__bottomAddons_1wfw8"};
|
|
4
4
|
|
|
5
5
|
export { mobileStyles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
package/esm/mobile/mobile.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--gap-0: 0px;
|
|
3
3
|
}
|
|
4
|
-
.universal-
|
|
4
|
+
.universal-modal__component_kvehx {
|
|
5
5
|
top: var(--gap-0);
|
|
6
6
|
height: 100%;
|
|
7
7
|
width: 100%;
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
display: flex;
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
}
|
|
14
|
-
.universal-
|
|
14
|
+
.universal-modal__component_kvehx .universal-modal__content_kvehx {
|
|
15
15
|
height: auto;
|
|
16
16
|
}
|
|
17
|
-
.universal-
|
|
17
|
+
.universal-modal__component_kvehx.universal-modal__component_kvehx {
|
|
18
18
|
position: fixed;
|
|
19
19
|
flex: 1;
|
|
20
20
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './mobile.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"universal-
|
|
3
|
+
var styles = {"component":"universal-modal__component_kvehx","content":"universal-modal__content_kvehx"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=mobile.module.css.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.universal-
|
|
2
|
-
.universal-
|
|
1
|
+
.universal-modal__appear_en3bm,
|
|
2
|
+
.universal-modal__enter_en3bm {
|
|
3
3
|
transform: translateX(100%);
|
|
4
4
|
}
|
|
5
|
-
.universal-
|
|
6
|
-
.universal-
|
|
5
|
+
.universal-modal__appearActive_en3bm,
|
|
6
|
+
.universal-modal__enterActive_en3bm {
|
|
7
7
|
transform: translateX(0);
|
|
8
8
|
transition: transform 280ms ease-in-out;
|
|
9
9
|
transition-delay: 80ms;
|
|
10
10
|
}
|
|
11
|
-
.universal-
|
|
11
|
+
.universal-modal__exit_en3bm {
|
|
12
12
|
transform: translateX(0);
|
|
13
13
|
}
|
|
14
|
-
.universal-
|
|
15
|
-
.universal-
|
|
14
|
+
.universal-modal__exitActive_en3bm,
|
|
15
|
+
.universal-modal__exitDone_en3bm {
|
|
16
16
|
transform: translateX(100%);
|
|
17
17
|
transition: transform 280ms ease-in-out;
|
|
18
18
|
}
|
|
@@ -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_en3bm","enter":"universal-modal__enter_en3bm","appearActive":"universal-modal__appearActive_en3bm","enterActive":"universal-modal__enterActive_en3bm","exit":"universal-modal__exit_en3bm","exitActive":"universal-modal__exitActive_en3bm","exitDone":"universal-modal__exitDone_en3bm"};
|
|
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_z54tt,
|
|
2
|
+
.universal-modal__enter_z54tt {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateY(15px);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.universal-
|
|
8
|
-
.universal-
|
|
7
|
+
.universal-modal__appearActive_z54tt,
|
|
8
|
+
.universal-modal__enterActive_z54tt {
|
|
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_z54tt {
|
|
17
17
|
opacity: 1;
|
|
18
18
|
transform: translateY(0);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.universal-
|
|
22
|
-
.universal-
|
|
21
|
+
.universal-modal__exitActive_z54tt,
|
|
22
|
+
.universal-modal__exitDone_z54tt {
|
|
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_z54tt","enter":"universal-modal__enter_z54tt","appearActive":"universal-modal__appearActive_z54tt","enterActive":"universal-modal__enterActive_z54tt","exit":"universal-modal__exit_z54tt","exitActive":"universal-modal__exitActive_z54tt","exitDone":"universal-modal__exitDone_z54tt"};
|
|
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' | 'backdropProps' | 'onClose' | 'disableFocusLock' | 'container'>> {
|
|
6
|
+
export interface UniversalModalMobileProps extends BaseUniversalModalMobileProps, Pick<BaseModalProps, 'open'>, Partial<Pick<BaseModalProps, 'children' | 'dataTestId' | 'className' | 'wrapperClassName' | 'onMount' | 'onUnmount' | 'transitionProps' | 'backdropProps' | 'onClose' | 'disableFocusLock' | 'container' | 'disableAutoFocus'>> {
|
|
7
7
|
}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
--gap-0: 0px;
|
|
4
4
|
--gap-20: var(--gap-l);
|
|
5
5
|
}
|
|
6
|
-
.universal-
|
|
6
|
+
.universal-modal__content_1dqbk {
|
|
7
7
|
padding: var(--gap-20);
|
|
8
8
|
}
|
|
9
|
-
.universal-
|
|
9
|
+
.universal-modal__content_1dqbk.universal-modal__withHeader_1dqbk {
|
|
10
10
|
padding-top: var(--gap-0);
|
|
11
11
|
}
|
|
12
|
-
.universal-
|
|
12
|
+
.universal-modal__content_1dqbk.universal-modal__withFooter_1dqbk {
|
|
13
13
|
padding-bottom: var(--gap-0);
|
|
14
14
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"content":"universal-
|
|
5
|
+
var styles = {"content":"universal-modal__content_1dqbk","withHeader":"universal-modal__withHeader_1dqbk","withFooter":"universal-modal__withFooter_1dqbk"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"footer":"universal-
|
|
5
|
+
var styles = {"footer":"universal-modal__footer_18zct","sticky":"universal-modal__sticky_18zct"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
--gap-xs: 8px;
|
|
3
3
|
--gap-8: var(--gap-xs);
|
|
4
4
|
}
|
|
5
|
-
.universal-
|
|
5
|
+
.universal-modal__column_e5ig0 {
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
}
|
|
8
|
-
.universal-
|
|
8
|
+
.universal-modal__start_e5ig0 {
|
|
9
9
|
justify-content: flex-start;
|
|
10
10
|
}
|
|
11
|
-
.universal-
|
|
11
|
+
.universal-modal__center_e5ig0 {
|
|
12
12
|
justify-content: center;
|
|
13
13
|
}
|
|
14
|
-
.universal-modal__space-
|
|
14
|
+
.universal-modal__space-between_e5ig0 {
|
|
15
15
|
justify-content: space-between;
|
|
16
16
|
}
|
|
17
|
-
.universal-modal__space-
|
|
17
|
+
.universal-modal__space-between_e5ig0 > * {
|
|
18
18
|
flex: 1;
|
|
19
19
|
}
|
|
20
|
-
.universal-
|
|
21
|
-
.universal-
|
|
22
|
-
.universal-modal__space-
|
|
23
|
-
.universal-
|
|
20
|
+
.universal-modal__start_e5ig0,
|
|
21
|
+
.universal-modal__center_e5ig0,
|
|
22
|
+
.universal-modal__space-between_e5ig0,
|
|
23
|
+
.universal-modal__column_e5ig0 {
|
|
24
24
|
display: flex;
|
|
25
25
|
gap: var(--gap-8);
|
|
26
26
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./layout.mobile.css');
|
|
4
4
|
|
|
5
|
-
var layoutStylesMobile = {"column":"universal-
|
|
5
|
+
var layoutStylesMobile = {"column":"universal-modal__column_e5ig0","start":"universal-modal__start_e5ig0","center":"universal-modal__center_e5ig0","space-between":"universal-modal__space-between_e5ig0"};
|
|
6
6
|
|
|
7
7
|
module.exports = layoutStylesMobile;
|
|
8
8
|
//# sourceMappingURL=layout.mobile.module.css.js.map
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
--font-family-system:
|
|
14
14
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
15
15
|
}
|
|
16
|
-
.universal-
|
|
16
|
+
.universal-modal__header_1wfw8 {
|
|
17
17
|
padding: var(--gap-8) var(--gap-4);
|
|
18
18
|
}
|
|
19
|
-
.universal-
|
|
19
|
+
.universal-modal__content_1wfw8 {
|
|
20
20
|
font-size: 20px;
|
|
21
21
|
line-height: 28px;
|
|
22
22
|
font-weight: 600;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
min-height: 40px;
|
|
26
26
|
justify-content: center;
|
|
27
27
|
}
|
|
28
|
-
.universal-
|
|
28
|
+
.universal-modal__bottomAddons_1wfw8 {
|
|
29
29
|
font-size: 20px;
|
|
30
30
|
line-height: 28px;
|
|
31
31
|
font-weight: 600;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var mobileStyles = {"header":"universal-
|
|
5
|
+
var mobileStyles = {"header":"universal-modal__header_1wfw8","content":"universal-modal__content_1wfw8","bottomAddons":"universal-modal__bottomAddons_1wfw8"};
|
|
6
6
|
|
|
7
7
|
module.exports = mobileStyles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
package/mobile/mobile.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--gap-0: 0px;
|
|
3
3
|
}
|
|
4
|
-
.universal-
|
|
4
|
+
.universal-modal__component_kvehx {
|
|
5
5
|
top: var(--gap-0);
|
|
6
6
|
height: 100%;
|
|
7
7
|
width: 100%;
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
display: flex;
|
|
12
12
|
flex-direction: column;
|
|
13
13
|
}
|
|
14
|
-
.universal-
|
|
14
|
+
.universal-modal__component_kvehx .universal-modal__content_kvehx {
|
|
15
15
|
height: auto;
|
|
16
16
|
}
|
|
17
|
-
.universal-
|
|
17
|
+
.universal-modal__component_kvehx.universal-modal__component_kvehx {
|
|
18
18
|
position: fixed;
|
|
19
19
|
flex: 1;
|
|
20
20
|
}
|
|
@@ -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_kvehx","content":"universal-modal__content_kvehx"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=mobile.module.css.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.universal-
|
|
2
|
-
.universal-
|
|
1
|
+
.universal-modal__appear_en3bm,
|
|
2
|
+
.universal-modal__enter_en3bm {
|
|
3
3
|
transform: translateX(100%);
|
|
4
4
|
}
|
|
5
|
-
.universal-
|
|
6
|
-
.universal-
|
|
5
|
+
.universal-modal__appearActive_en3bm,
|
|
6
|
+
.universal-modal__enterActive_en3bm {
|
|
7
7
|
transform: translateX(0);
|
|
8
8
|
transition: transform 280ms ease-in-out;
|
|
9
9
|
transition-delay: 80ms;
|
|
10
10
|
}
|
|
11
|
-
.universal-
|
|
11
|
+
.universal-modal__exit_en3bm {
|
|
12
12
|
transform: translateX(0);
|
|
13
13
|
}
|
|
14
|
-
.universal-
|
|
15
|
-
.universal-
|
|
14
|
+
.universal-modal__exitActive_en3bm,
|
|
15
|
+
.universal-modal__exitDone_en3bm {
|
|
16
16
|
transform: translateX(100%);
|
|
17
17
|
transition: transform 280ms ease-in-out;
|
|
18
18
|
}
|
|
@@ -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_en3bm","enter":"universal-modal__enter_en3bm","appearActive":"universal-modal__appearActive_en3bm","enterActive":"universal-modal__enterActive_en3bm","exit":"universal-modal__exit_en3bm","exitActive":"universal-modal__exitActive_en3bm","exitDone":"universal-modal__exitDone_en3bm"};
|
|
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_z54tt,
|
|
2
|
+
.universal-modal__enter_z54tt {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateY(15px);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.universal-
|
|
8
|
-
.universal-
|
|
7
|
+
.universal-modal__appearActive_z54tt,
|
|
8
|
+
.universal-modal__enterActive_z54tt {
|
|
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_z54tt {
|
|
17
17
|
opacity: 1;
|
|
18
18
|
transform: translateY(0);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.universal-
|
|
22
|
-
.universal-
|
|
21
|
+
.universal-modal__exitActive_z54tt,
|
|
22
|
+
.universal-modal__exitDone_z54tt {
|
|
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_z54tt","enter":"universal-modal__enter_z54tt","appearActive":"universal-modal__appearActive_z54tt","enterActive":"universal-modal__enterActive_z54tt","exit":"universal-modal__exit_z54tt","exitActive":"universal-modal__exitActive_z54tt","exitDone":"universal-modal__exitDone_z54tt"};
|
|
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' | 'backdropProps' | 'onClose' | 'disableFocusLock' | 'container'>> {
|
|
6
|
+
export interface UniversalModalMobileProps extends BaseUniversalModalMobileProps, Pick<BaseModalProps, 'open'>, Partial<Pick<BaseModalProps, 'children' | 'dataTestId' | 'className' | 'wrapperClassName' | 'onMount' | 'onUnmount' | 'transitionProps' | 'backdropProps' | 'onClose' | 'disableFocusLock' | 'container' | 'disableAutoFocus'>> {
|
|
7
7
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
--universal-modal-footer-highlight-background: var(--color-light-modal-bg-primary);
|
|
14
14
|
--universal-modal-footer-highlight-box-shadow: 0 -1px 0 0 var(--color-light-neutral-300);
|
|
15
15
|
}
|
|
16
|
-
.universal-
|
|
16
|
+
.universal-modal__footer_1fluc {
|
|
17
17
|
width: 100%;
|
|
18
18
|
box-sizing: border-box;
|
|
19
19
|
transition:
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
background 0.2s ease;
|
|
22
22
|
padding: var(--gap-16) var(--gap-32) var(--gap-32);
|
|
23
23
|
}
|
|
24
|
-
.universal-
|
|
24
|
+
.universal-modal__sticky_1fluc {
|
|
25
25
|
background: var(--universal-modal-footer-background);
|
|
26
26
|
position: sticky;
|
|
27
27
|
z-index: 1;
|
|
28
28
|
}
|
|
29
|
-
.universal-
|
|
29
|
+
.universal-modal__highlighted_1fluc {
|
|
30
30
|
background: var(--universal-modal-footer-highlight-background);
|
|
31
31
|
box-shadow: var(--universal-modal-footer-highlight-box-shadow);
|
|
32
32
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"footer":"universal-
|
|
3
|
+
const styles = {"footer":"universal-modal__footer_1fluc","sticky":"universal-modal__sticky_1fluc","highlighted":"universal-modal__highlighted_1fluc"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -10,22 +10,22 @@
|
|
|
10
10
|
--universal-modal-header-highlight-background: var(--color-light-modal-bg-primary);
|
|
11
11
|
--universal-modal-header-highlight-box-shadow: 0 1px 0 0 var(--color-light-neutral-300);
|
|
12
12
|
}
|
|
13
|
-
.universal-
|
|
13
|
+
.universal-modal__header_20jy7 {
|
|
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
|
}
|
|
20
|
-
.universal-
|
|
20
|
+
.universal-modal__header_20jy7.universal-modal__highlighted_20jy7 {
|
|
21
21
|
background: var(--universal-modal-header-highlight-background);
|
|
22
22
|
box-shadow: var(--universal-modal-header-highlight-box-shadow);
|
|
23
23
|
}
|
|
24
|
-
.universal-
|
|
24
|
+
.universal-modal__header_20jy7.universal-modal__sticky_20jy7 {
|
|
25
25
|
position: sticky;
|
|
26
26
|
top: var(--gap-0);
|
|
27
27
|
z-index: 1;
|
|
28
28
|
}
|
|
29
|
-
.universal-
|
|
29
|
+
.universal-modal__header_20jy7.universal-modal__sticky_20jy7.universal-modal__hasContent_20jy7 {
|
|
30
30
|
background: var(--universal-modal-header-background);
|
|
31
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"header":"universal-
|
|
3
|
+
const styles = {"header":"universal-modal__header_20jy7","highlighted":"universal-modal__highlighted_20jy7","sticky":"universal-modal__sticky_20jy7","hasContent":"universal-modal__hasContent_20jy7"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|