@alfalab/core-components-modal 9.3.1 → 9.3.3
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/Component.js +4 -3
- package/Component.responsive.js +1 -0
- package/components/content/Component.js +3 -3
- package/components/content/desktop.css +7 -7
- package/components/content/index.css +4 -4
- package/components/content/mobile.css +3 -3
- package/components/controls/Component.js +2 -2
- package/components/controls/index.css +2 -2
- package/components/footer/Component.js +4 -4
- package/components/footer/desktop.css +9 -9
- package/components/footer/index.css +4 -4
- package/components/footer/layout.css +17 -17
- package/components/footer/mobile.css +3 -3
- package/components/header/Component.js +3 -3
- package/components/header/desktop.css +15 -15
- package/components/header/index.css +4 -4
- package/components/header/mobile.css +4 -4
- package/cssm/Component.js +1 -0
- package/cssm/Component.responsive.js +1 -0
- package/desktop/desktop.css +9 -9
- package/esm/Component.js +4 -3
- package/esm/Component.responsive.js +1 -0
- package/esm/components/content/Component.js +3 -3
- package/esm/components/content/desktop.css +7 -7
- package/esm/components/content/index.css +4 -4
- package/esm/components/content/mobile.css +3 -3
- package/esm/components/controls/Component.js +2 -2
- package/esm/components/controls/index.css +2 -2
- package/esm/components/footer/Component.js +4 -4
- package/esm/components/footer/desktop.css +9 -9
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/layout.css +17 -17
- package/esm/components/footer/mobile.css +3 -3
- package/esm/components/header/Component.js +3 -3
- package/esm/components/header/desktop.css +15 -15
- package/esm/components/header/index.css +4 -4
- package/esm/components/header/mobile.css +4 -4
- package/esm/desktop/desktop.css +9 -9
- package/esm/layout.module-ccf01cec.js +4 -0
- package/esm/mobile/mobile.css +2 -2
- package/esm/transitions.css +8 -8
- package/layout.module-28a03c4b.js +6 -0
- package/mobile/mobile.css +2 -2
- package/modern/Component.js +4 -3
- package/modern/Component.responsive.js +1 -0
- package/modern/components/content/Component.js +3 -3
- package/modern/components/content/desktop.css +7 -7
- package/modern/components/content/index.css +4 -4
- package/modern/components/content/mobile.css +3 -3
- package/modern/components/controls/Component.js +2 -2
- package/modern/components/controls/index.css +2 -2
- package/modern/components/footer/Component.js +4 -4
- package/modern/components/footer/desktop.css +9 -9
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/layout.css +17 -17
- package/modern/components/footer/mobile.css +3 -3
- package/modern/components/header/Component.js +3 -3
- package/modern/components/header/desktop.css +15 -15
- package/modern/components/header/index.css +4 -4
- package/modern/components/header/mobile.css +4 -4
- package/modern/desktop/desktop.css +9 -9
- package/modern/layout.module-b86240a4.js +4 -0
- package/modern/mobile/mobile.css +2 -2
- package/modern/transitions.css +8 -8
- package/package.json +3 -3
- package/src/Component.responsive.tsx +2 -0
- package/src/Component.tsx +2 -0
- package/transitions.css +8 -8
- package/esm/layout.module-a471bb3d.js +0 -4
- package/layout.module-14d54635.js +0 -6
- package/modern/layout.module-256056c6.js +0 -4
package/Component.js
CHANGED
|
@@ -16,13 +16,13 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
16
16
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
17
17
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
18
18
|
|
|
19
|
-
var desktopStyles = {"wrapper":"
|
|
19
|
+
var desktopStyles = {"wrapper":"modal__wrapper_1umgx","component":"modal__component_1umgx","fullscreen":"modal__fullscreen_1umgx","size-500":"modal__size-500_1umgx","size-600":"modal__size-600_1umgx","size-800":"modal__size-800_1umgx","size-1140":"modal__size-1140_1umgx"};
|
|
20
20
|
require('./desktop/desktop.css')
|
|
21
21
|
|
|
22
|
-
var mobileStyles = {"component":"
|
|
22
|
+
var mobileStyles = {"component":"modal__component_7mm6k"};
|
|
23
23
|
require('./mobile/mobile.css')
|
|
24
24
|
|
|
25
|
-
var transitions = {"appear":"
|
|
25
|
+
var transitions = {"appear":"modal__appear_1iw1k","enter":"modal__enter_1iw1k","appearActive":"modal__appearActive_1iw1k","enterActive":"modal__enterActive_1iw1k","exit":"modal__exit_1iw1k","exitActive":"modal__exitActive_1iw1k","exitDone":"modal__exitDone_1iw1k"};
|
|
26
26
|
require('./transitions.css')
|
|
27
27
|
|
|
28
28
|
var Modal = React.forwardRef(function (_a, ref) {
|
|
@@ -63,5 +63,6 @@ var Modal = React.forwardRef(function (_a, ref) {
|
|
|
63
63
|
return (React__default.default.createElement(ResponsiveContext.ResponsiveContext.Provider, { value: contextValue },
|
|
64
64
|
React__default.default.createElement(coreComponentsBaseModal.BaseModal, tslib.__assign({}, restProps, baseModalProps, { dataTestId: dataTestId }), children)));
|
|
65
65
|
});
|
|
66
|
+
Modal.displayName = 'Modal';
|
|
66
67
|
|
|
67
68
|
exports.Modal = Modal;
|
package/Component.responsive.js
CHANGED
|
@@ -26,5 +26,6 @@ var ModalResponsive = Object.assign(ModalResponsiveComponent, {
|
|
|
26
26
|
Footer: components_footer_Component.Footer,
|
|
27
27
|
Controls: components_controls_Component.Controls,
|
|
28
28
|
});
|
|
29
|
+
ModalResponsiveComponent.displayName = 'ModalResponsiveComponent';
|
|
29
30
|
|
|
30
31
|
exports.ModalResponsive = ModalResponsive;
|
|
@@ -14,13 +14,13 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
16
16
|
|
|
17
|
-
var desktopStyles = {"size-500":"modal__size-
|
|
17
|
+
var desktopStyles = {"size-500":"modal__size-500_1nqj8","size-600":"modal__size-600_1nqj8","size-800":"modal__size-800_1nqj8","size-1140":"modal__size-1140_1nqj8","fullscreen":"modal__fullscreen_1nqj8"};
|
|
18
18
|
require('./desktop.css')
|
|
19
19
|
|
|
20
|
-
var styles = {"content":"
|
|
20
|
+
var styles = {"content":"modal__content_g0x5h","withHeader":"modal__withHeader_g0x5h","flex":"modal__flex_g0x5h"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
|
-
var mobileStyles = {"content":"
|
|
23
|
+
var mobileStyles = {"content":"modal__content_gm1g3"};
|
|
24
24
|
require('./mobile.css')
|
|
25
25
|
|
|
26
26
|
var Content = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 9bjm0 */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
/* mobile */
|
|
31
31
|
|
|
32
32
|
/* paddings */
|
|
33
|
-
} .modal__size-
|
|
34
|
-
.modal__size-
|
|
35
|
-
.modal__size-
|
|
36
|
-
.modal__size-
|
|
37
|
-
.
|
|
33
|
+
} .modal__size-500_1nqj8,
|
|
34
|
+
.modal__size-600_1nqj8,
|
|
35
|
+
.modal__size-800_1nqj8,
|
|
36
|
+
.modal__size-1140_1nqj8,
|
|
37
|
+
.modal__fullscreen_1nqj8 {
|
|
38
38
|
padding: var(--modal-s-content-paddings)
|
|
39
|
-
} .modal__size-
|
|
39
|
+
} .modal__size-500_1nqj8:last-child, .modal__size-600_1nqj8:last-child, .modal__size-800_1nqj8:last-child, .modal__size-1140_1nqj8:last-child, .modal__fullscreen_1nqj8:last-child {
|
|
40
40
|
padding-bottom: var(--modal-s-content-only-bottom-padding);
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1hikr */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
/* mobile */
|
|
28
28
|
|
|
29
29
|
/* paddings */
|
|
30
|
-
} .
|
|
30
|
+
} .modal__content_g0x5h {
|
|
31
31
|
position: relative;
|
|
32
32
|
box-sizing: border-box;
|
|
33
33
|
width: 100%;
|
|
34
34
|
z-index: 0
|
|
35
|
-
} .
|
|
35
|
+
} .modal__content_g0x5h.modal__withHeader_g0x5h {
|
|
36
36
|
padding-top: 0;
|
|
37
|
-
} .
|
|
37
|
+
} .modal__flex_g0x5h {
|
|
38
38
|
flex: 1;
|
|
39
39
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 17mzy */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
/* mobile */
|
|
29
29
|
|
|
30
30
|
/* paddings */
|
|
31
|
-
} .
|
|
31
|
+
} .modal__content_gm1g3 {
|
|
32
32
|
padding: var(--gap-m) var(--gap-m) 0
|
|
33
|
-
} .
|
|
33
|
+
} .modal__content_gm1g3:last-child {
|
|
34
34
|
padding-bottom: var(--gap-m);
|
|
35
35
|
}
|
|
@@ -6,14 +6,14 @@ var React = require('react');
|
|
|
6
6
|
var cn = require('classnames');
|
|
7
7
|
var coreComponentsShared = require('@alfalab/core-components-shared');
|
|
8
8
|
var ResponsiveContext = require('../../ResponsiveContext.js');
|
|
9
|
-
var layout_module = require('../../layout.module-
|
|
9
|
+
var layout_module = require('../../layout.module-28a03c4b.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
12
12
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"component":"
|
|
16
|
+
var styles = {"component":"modal__component_ccrv5"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Controls = function (_a) {
|
|
@@ -8,20 +8,20 @@ var coreComponentsShared = require('@alfalab/core-components-shared');
|
|
|
8
8
|
var consts = require('../../consts.js');
|
|
9
9
|
var Context = require('../../Context.js');
|
|
10
10
|
var ResponsiveContext = require('../../ResponsiveContext.js');
|
|
11
|
-
var layout_module = require('../../layout.module-
|
|
11
|
+
var layout_module = require('../../layout.module-28a03c4b.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
14
14
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
17
17
|
|
|
18
|
-
var desktopStyles = {"footer":"
|
|
18
|
+
var desktopStyles = {"footer":"modal__footer_qgxyy","sticky":"modal__sticky_qgxyy","fullscreen":"modal__fullscreen_qgxyy","size-500":"modal__size-500_qgxyy","size-600":"modal__size-600_qgxyy","size-800":"modal__size-800_qgxyy","size-1140":"modal__size-1140_qgxyy"};
|
|
19
19
|
require('./desktop.css')
|
|
20
20
|
|
|
21
|
-
var styles = {"footer":"
|
|
21
|
+
var styles = {"footer":"modal__footer_1vbma","sticky":"modal__sticky_1vbma","highlighted":"modal__highlighted_1vbma"};
|
|
22
22
|
require('./index.css')
|
|
23
23
|
|
|
24
|
-
var mobileStyles = {"footer":"
|
|
24
|
+
var mobileStyles = {"footer":"modal__footer_15uwy","sticky":"modal__sticky_15uwy"};
|
|
25
25
|
require('./mobile.css')
|
|
26
26
|
|
|
27
27
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dnvq */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
/* mobile */
|
|
34
34
|
|
|
35
35
|
/* paddings */
|
|
36
|
-
} .
|
|
36
|
+
} .modal__footer_qgxyy {
|
|
37
37
|
border-bottom-left-radius: var(--modal-border-radius);
|
|
38
38
|
border-bottom-right-radius: var(--modal-border-radius);
|
|
39
|
-
} .
|
|
39
|
+
} .modal__sticky_qgxyy {
|
|
40
40
|
bottom: calc(var(--modal-vertical-padding) * -1)
|
|
41
|
-
} .
|
|
41
|
+
} .modal__sticky_qgxyy.modal__fullscreen_qgxyy {
|
|
42
42
|
bottom: 0;
|
|
43
|
-
} .modal__size-
|
|
44
|
-
.modal__size-
|
|
45
|
-
.modal__size-
|
|
46
|
-
.modal__size-
|
|
47
|
-
.
|
|
43
|
+
} .modal__size-500_qgxyy,
|
|
44
|
+
.modal__size-600_qgxyy,
|
|
45
|
+
.modal__size-800_qgxyy,
|
|
46
|
+
.modal__size-1140_qgxyy,
|
|
47
|
+
.modal__fullscreen_qgxyy {
|
|
48
48
|
padding: var(--modal-s-footer-paddings);
|
|
49
49
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1xi3u */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-modal-bg-primary: #fff;
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
/* mobile */
|
|
33
33
|
|
|
34
34
|
/* paddings */
|
|
35
|
-
} .
|
|
35
|
+
} .modal__footer_1vbma {
|
|
36
36
|
width: 100%;
|
|
37
37
|
box-sizing: border-box;
|
|
38
38
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
39
|
-
} .
|
|
39
|
+
} .modal__sticky_1vbma {
|
|
40
40
|
background: var(--modal-footer-background);
|
|
41
41
|
position: sticky;
|
|
42
|
-
} .
|
|
42
|
+
} .modal__highlighted_1vbma {
|
|
43
43
|
background: var(--modal-footer-highlight-background);
|
|
44
44
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
45
45
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1poxn */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -31,35 +31,35 @@
|
|
|
31
31
|
/* mobile */
|
|
32
32
|
|
|
33
33
|
/* paddings */
|
|
34
|
-
} .
|
|
34
|
+
} .modal__column_1mky9 {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column
|
|
37
|
-
} .
|
|
37
|
+
} .modal__column_1mky9 > *:not(:last-child):not(:only-child) {
|
|
38
38
|
margin-bottom: var(--modal-footer-default-gap);
|
|
39
|
-
} .
|
|
39
|
+
} .modal__column_1mky9.modal__gap-16_1mky9 > *:not(:last-child):not(:only-child) {
|
|
40
40
|
margin-bottom: var(--gap-m);
|
|
41
|
-
} .
|
|
41
|
+
} .modal__column_1mky9.modal__gap-24_1mky9 > *:not(:last-child):not(:only-child) {
|
|
42
42
|
margin-bottom: var(--gap-xl);
|
|
43
|
-
} .
|
|
43
|
+
} .modal__column_1mky9.modal__gap-32_1mky9 > *:not(:last-child):not(:only-child) {
|
|
44
44
|
margin-bottom: var(--gap-2xl);
|
|
45
|
-
} .
|
|
45
|
+
} .modal__start_1mky9 {
|
|
46
46
|
justify-content: flex-start;
|
|
47
|
-
} .
|
|
47
|
+
} .modal__center_1mky9 {
|
|
48
48
|
justify-content: center;
|
|
49
|
-
} .modal__space-
|
|
49
|
+
} .modal__space-between_1mky9 {
|
|
50
50
|
justify-content: space-between
|
|
51
|
-
} .modal__space-
|
|
51
|
+
} .modal__space-between_1mky9 > * {
|
|
52
52
|
flex: 1;
|
|
53
|
-
} .
|
|
54
|
-
.
|
|
55
|
-
.modal__space-
|
|
53
|
+
} .modal__start_1mky9,
|
|
54
|
+
.modal__center_1mky9,
|
|
55
|
+
.modal__space-between_1mky9 {
|
|
56
56
|
display: flex
|
|
57
|
-
} .
|
|
57
|
+
} .modal__start_1mky9 > *:not(:last-child):not(:only-child), .modal__center_1mky9 > *:not(:last-child):not(:only-child), .modal__space-between_1mky9 > *:not(:last-child):not(:only-child) {
|
|
58
58
|
margin-right: var(--modal-footer-default-gap);
|
|
59
|
-
} .
|
|
59
|
+
} .modal__start_1mky9.modal__gap-16_1mky9 > *:not(:last-child):not(:only-child), .modal__center_1mky9.modal__gap-16_1mky9 > *:not(:last-child):not(:only-child), .modal__space-between_1mky9.modal__gap-16_1mky9 > *:not(:last-child):not(:only-child) {
|
|
60
60
|
margin-right: var(--gap-m);
|
|
61
|
-
} .
|
|
61
|
+
} .modal__start_1mky9.modal__gap-24_1mky9 > *:not(:last-child):not(:only-child), .modal__center_1mky9.modal__gap-24_1mky9 > *:not(:last-child):not(:only-child), .modal__space-between_1mky9.modal__gap-24_1mky9 > *:not(:last-child):not(:only-child) {
|
|
62
62
|
margin-right: var(--gap-xl);
|
|
63
|
-
} .
|
|
63
|
+
} .modal__start_1mky9.modal__gap-32_1mky9 > *:not(:last-child):not(:only-child), .modal__center_1mky9.modal__gap-32_1mky9 > *:not(:last-child):not(:only-child), .modal__space-between_1mky9.modal__gap-32_1mky9 > *:not(:last-child):not(:only-child) {
|
|
64
64
|
margin-right: var(--gap-2xl);
|
|
65
65
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 18zlj */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
/* mobile */
|
|
29
29
|
|
|
30
30
|
/* paddings */
|
|
31
|
-
} .
|
|
31
|
+
} .modal__footer_15uwy {
|
|
32
32
|
padding: var(--gap-m);
|
|
33
|
-
} .
|
|
33
|
+
} .modal__sticky_15uwy {
|
|
34
34
|
bottom: 0;
|
|
35
35
|
}
|
|
@@ -16,13 +16,13 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
16
16
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
17
17
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
18
18
|
|
|
19
|
-
var desktopStyles = {"header":"
|
|
19
|
+
var desktopStyles = {"header":"modal__header_1ttl0","content":"modal__content_1ttl0","size-500":"modal__size-500_1ttl0","size-600":"modal__size-600_1ttl0","size-800":"modal__size-800_1ttl0","size-1140":"modal__size-1140_1ttl0","fullscreen":"modal__fullscreen_1ttl0","sticky":"modal__sticky_1ttl0"};
|
|
20
20
|
require('./desktop.css')
|
|
21
21
|
|
|
22
|
-
var styles = {"highlighted":"
|
|
22
|
+
var styles = {"highlighted":"modal__highlighted_1f570","sticky":"modal__sticky_1f570","hasContent":"modal__hasContent_1f570"};
|
|
23
23
|
require('./index.css')
|
|
24
24
|
|
|
25
|
-
var mobileStyles = {"header":"
|
|
25
|
+
var mobileStyles = {"header":"modal__header_1k5wm","sticky":"modal__sticky_1k5wm","content":"modal__content_1k5wm"};
|
|
26
26
|
require('./mobile.css')
|
|
27
27
|
|
|
28
28
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: g1ltz */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -44,31 +44,31 @@
|
|
|
44
44
|
/* mobile */
|
|
45
45
|
|
|
46
46
|
/* paddings */
|
|
47
|
-
} .
|
|
47
|
+
} .modal__header_1ttl0 {
|
|
48
48
|
border-top-left-radius: var(--modal-border-radius);
|
|
49
49
|
border-top-right-radius: var(--modal-border-radius);
|
|
50
|
-
} .
|
|
50
|
+
} .modal__content_1ttl0 {
|
|
51
51
|
font-weight: var(--modal-header-desktop-font-weight);
|
|
52
52
|
font-family: var(--modal-header-desktop-font-family);
|
|
53
|
-
} .modal__size-
|
|
54
|
-
.modal__size-
|
|
53
|
+
} .modal__size-500_1ttl0 .modal__content_1ttl0,
|
|
54
|
+
.modal__size-600_1ttl0 .modal__content_1ttl0 {
|
|
55
55
|
padding: var(--modal-s-header-desktop-content-paddings);
|
|
56
56
|
font-size: var(--modal-s-header-desktop-font-size);
|
|
57
57
|
line-height: var(--modal-s-header-desktop-line-height);
|
|
58
|
-
} .modal__size-
|
|
59
|
-
.modal__size-
|
|
60
|
-
.
|
|
58
|
+
} .modal__size-800_1ttl0 .modal__content_1ttl0,
|
|
59
|
+
.modal__size-1140_1ttl0 .modal__content_1ttl0,
|
|
60
|
+
.modal__fullscreen_1ttl0 .modal__content_1ttl0 {
|
|
61
61
|
padding: var(--modal-l-header-desktop-content-paddings);
|
|
62
62
|
font-size: var(--modal-l-header-desktop-font-size);
|
|
63
63
|
line-height: var(--modal-l-header-desktop-line-height);
|
|
64
|
-
} .modal__size-
|
|
65
|
-
.modal__size-
|
|
66
|
-
.modal__size-
|
|
67
|
-
.modal__size-
|
|
68
|
-
.
|
|
64
|
+
} .modal__size-500_1ttl0,
|
|
65
|
+
.modal__size-600_1ttl0,
|
|
66
|
+
.modal__size-800_1ttl0,
|
|
67
|
+
.modal__size-1140_1ttl0,
|
|
68
|
+
.modal__fullscreen_1ttl0 {
|
|
69
69
|
padding: var(--modal-s-header-paddings);
|
|
70
|
-
} .
|
|
70
|
+
} .modal__sticky_1ttl0 {
|
|
71
71
|
top: calc(var(--modal-vertical-padding) * -1)
|
|
72
|
-
} .
|
|
72
|
+
} .modal__sticky_1ttl0.modal__fullscreen_1ttl0 {
|
|
73
73
|
top: 0;
|
|
74
74
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 142k1 */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-modal-bg-primary: #fff;
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
/* mobile */
|
|
33
33
|
|
|
34
34
|
/* paddings */
|
|
35
|
-
} .
|
|
35
|
+
} .modal__highlighted_1f570 {
|
|
36
36
|
background: var(--modal-header-highlight-background);
|
|
37
37
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
38
|
-
} .
|
|
38
|
+
} .modal__sticky_1f570 {
|
|
39
39
|
position: sticky;
|
|
40
40
|
z-index: 1
|
|
41
|
-
} .
|
|
41
|
+
} .modal__sticky_1f570.modal__hasContent_1f570 {
|
|
42
42
|
background: var(--modal-header-background);
|
|
43
43
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1xdyt */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
|
|
39
39
|
/* paddings */
|
|
40
40
|
--modal-header-mobile-paddings: var(--gap-2xs) var(--gap-xs);
|
|
41
|
-
} .
|
|
41
|
+
} .modal__header_1k5wm {
|
|
42
42
|
padding: var(--modal-header-mobile-paddings);
|
|
43
|
-
} .
|
|
43
|
+
} .modal__sticky_1k5wm {
|
|
44
44
|
top: 0;
|
|
45
|
-
} .
|
|
45
|
+
} .modal__content_1k5wm {
|
|
46
46
|
font-size: var(--modal-header-mobile-font-size);
|
|
47
47
|
line-height: var(--modal-header-mobile-line-height);
|
|
48
48
|
font-family: var(--modal-header-mobile-font-family);
|
package/cssm/Component.js
CHANGED
|
@@ -60,5 +60,6 @@ var Modal = React.forwardRef(function (_a, ref) {
|
|
|
60
60
|
return (React__default.default.createElement(ResponsiveContext.ResponsiveContext.Provider, { value: contextValue },
|
|
61
61
|
React__default.default.createElement(coreComponentsBaseModal.BaseModal, tslib.__assign({}, restProps, baseModalProps, { dataTestId: dataTestId }), children)));
|
|
62
62
|
});
|
|
63
|
+
Modal.displayName = 'Modal';
|
|
63
64
|
|
|
64
65
|
exports.Modal = Modal;
|
|
@@ -26,5 +26,6 @@ var ModalResponsive = Object.assign(ModalResponsiveComponent, {
|
|
|
26
26
|
Footer: components_footer_Component.Footer,
|
|
27
27
|
Controls: components_controls_Component.Controls,
|
|
28
28
|
});
|
|
29
|
+
ModalResponsiveComponent.displayName = 'ModalResponsiveComponent';
|
|
29
30
|
|
|
30
31
|
exports.ModalResponsive = ModalResponsive;
|
package/desktop/desktop.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: b9o68 */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -35,25 +35,25 @@
|
|
|
35
35
|
/* mobile */
|
|
36
36
|
|
|
37
37
|
/* paddings */
|
|
38
|
-
} .
|
|
38
|
+
} .modal__wrapper_1umgx {
|
|
39
39
|
padding-top: var(--modal-vertical-padding);
|
|
40
40
|
padding-bottom: var(--modal-vertical-padding);
|
|
41
|
-
} .
|
|
41
|
+
} .modal__component_1umgx {
|
|
42
42
|
width: 100%;
|
|
43
43
|
max-width: 100%;
|
|
44
44
|
border-radius: var(--modal-border-radius);
|
|
45
|
-
} .
|
|
45
|
+
} .modal__fullscreen_1umgx {
|
|
46
46
|
padding-top: 0;
|
|
47
47
|
padding-bottom: 0
|
|
48
|
-
} .
|
|
48
|
+
} .modal__fullscreen_1umgx .modal__component_1umgx {
|
|
49
49
|
flex: 1;
|
|
50
50
|
border-radius: 0;
|
|
51
|
-
} .modal__size-
|
|
51
|
+
} .modal__size-500_1umgx {
|
|
52
52
|
width: var(--modal-s-width);
|
|
53
|
-
} .modal__size-
|
|
53
|
+
} .modal__size-600_1umgx {
|
|
54
54
|
width: var(--modal-m-width);
|
|
55
|
-
} .modal__size-
|
|
55
|
+
} .modal__size-800_1umgx {
|
|
56
56
|
width: var(--modal-l-width);
|
|
57
|
-
} .modal__size-
|
|
57
|
+
} .modal__size-1140_1umgx {
|
|
58
58
|
width: var(--modal-xl-width);
|
|
59
59
|
}
|
package/esm/Component.js
CHANGED
|
@@ -6,13 +6,13 @@ import { BaseModal } from '@alfalab/core-components-base-modal/esm';
|
|
|
6
6
|
import { SIZE_TO_CLASSNAME_MAP } from './consts.js';
|
|
7
7
|
import { ResponsiveContext } from './ResponsiveContext.js';
|
|
8
8
|
|
|
9
|
-
var desktopStyles = {"wrapper":"
|
|
9
|
+
var desktopStyles = {"wrapper":"modal__wrapper_1umgx","component":"modal__component_1umgx","fullscreen":"modal__fullscreen_1umgx","size-500":"modal__size-500_1umgx","size-600":"modal__size-600_1umgx","size-800":"modal__size-800_1umgx","size-1140":"modal__size-1140_1umgx"};
|
|
10
10
|
require('./desktop/desktop.css')
|
|
11
11
|
|
|
12
|
-
var mobileStyles = {"component":"
|
|
12
|
+
var mobileStyles = {"component":"modal__component_7mm6k"};
|
|
13
13
|
require('./mobile/mobile.css')
|
|
14
14
|
|
|
15
|
-
var transitions = {"appear":"
|
|
15
|
+
var transitions = {"appear":"modal__appear_1iw1k","enter":"modal__enter_1iw1k","appearActive":"modal__appearActive_1iw1k","enterActive":"modal__enterActive_1iw1k","exit":"modal__exit_1iw1k","exitActive":"modal__exitActive_1iw1k","exitDone":"modal__exitDone_1iw1k"};
|
|
16
16
|
require('./transitions.css')
|
|
17
17
|
|
|
18
18
|
var Modal = forwardRef(function (_a, ref) {
|
|
@@ -53,5 +53,6 @@ var Modal = forwardRef(function (_a, ref) {
|
|
|
53
53
|
return (React.createElement(ResponsiveContext.Provider, { value: contextValue },
|
|
54
54
|
React.createElement(BaseModal, __assign({}, restProps, baseModalProps, { dataTestId: dataTestId }), children)));
|
|
55
55
|
});
|
|
56
|
+
Modal.displayName = 'Modal';
|
|
56
57
|
|
|
57
58
|
export { Modal };
|
|
@@ -5,13 +5,13 @@ import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
|
|
|
5
5
|
import { ModalContext } from '../../Context.js';
|
|
6
6
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
7
7
|
|
|
8
|
-
var desktopStyles = {"size-500":"modal__size-
|
|
8
|
+
var desktopStyles = {"size-500":"modal__size-500_1nqj8","size-600":"modal__size-600_1nqj8","size-800":"modal__size-800_1nqj8","size-1140":"modal__size-1140_1nqj8","fullscreen":"modal__fullscreen_1nqj8"};
|
|
9
9
|
require('./desktop.css')
|
|
10
10
|
|
|
11
|
-
var styles = {"content":"
|
|
11
|
+
var styles = {"content":"modal__content_g0x5h","withHeader":"modal__withHeader_g0x5h","flex":"modal__flex_g0x5h"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
|
-
var mobileStyles = {"content":"
|
|
14
|
+
var mobileStyles = {"content":"modal__content_gm1g3"};
|
|
15
15
|
require('./mobile.css')
|
|
16
16
|
|
|
17
17
|
var Content = function (_a) {
|