@alfalab/core-components-modal 9.2.3 → 9.2.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/Component.js +3 -3
- 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/desktop/desktop.css +9 -9
- package/esm/Component.js +3 -3
- 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-95a81cec.js +4 -0
- package/esm/mobile/mobile.css +2 -2
- package/esm/transitions.css +8 -8
- package/layout.module-7688fd0c.js +6 -0
- package/mobile/mobile.css +2 -2
- package/modern/Component.js +3 -3
- 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-5b92887c.js +4 -0
- package/modern/mobile/mobile.css +2 -2
- package/modern/transitions.css +8 -8
- package/package.json +2 -2
- package/transitions.css +8 -8
- package/esm/layout.module-c5c16c04.js +0 -4
- package/layout.module-5b464412.js +0 -6
- package/modern/layout.module-a523c52f.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_sd1i6","component":"modal__component_sd1i6","fullscreen":"modal__fullscreen_sd1i6","size-500":"modal__size-500_sd1i6","size-600":"modal__size-600_sd1i6","size-800":"modal__size-800_sd1i6","size-1140":"modal__size-1140_sd1i6"};
|
|
20
20
|
require('./desktop/desktop.css')
|
|
21
21
|
|
|
22
|
-
var mobileStyles = {"component":"
|
|
22
|
+
var mobileStyles = {"component":"modal__component_1yaqx"};
|
|
23
23
|
require('./mobile/mobile.css')
|
|
24
24
|
|
|
25
|
-
var transitions = {"appear":"
|
|
25
|
+
var transitions = {"appear":"modal__appear_dtmx2","enter":"modal__enter_dtmx2","appearActive":"modal__appearActive_dtmx2","enterActive":"modal__enterActive_dtmx2","exit":"modal__exit_dtmx2","exitActive":"modal__exitActive_dtmx2","exitDone":"modal__exitDone_dtmx2"};
|
|
26
26
|
require('./transitions.css')
|
|
27
27
|
|
|
28
28
|
var Modal = React.forwardRef(function (_a, ref) {
|
|
@@ -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_trtug","size-600":"modal__size-600_trtug","size-800":"modal__size-800_trtug","size-1140":"modal__size-1140_trtug","fullscreen":"modal__fullscreen_trtug"};
|
|
18
18
|
require('./desktop.css')
|
|
19
19
|
|
|
20
|
-
var styles = {"content":"
|
|
20
|
+
var styles = {"content":"modal__content_1rzge","withHeader":"modal__withHeader_1rzge","flex":"modal__flex_1rzge"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
|
-
var mobileStyles = {"content":"
|
|
23
|
+
var mobileStyles = {"content":"modal__content_10lgn"};
|
|
24
24
|
require('./mobile.css')
|
|
25
25
|
|
|
26
26
|
var Content = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: plk1h */
|
|
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_trtug,
|
|
34
|
+
.modal__size-600_trtug,
|
|
35
|
+
.modal__size-800_trtug,
|
|
36
|
+
.modal__size-1140_trtug,
|
|
37
|
+
.modal__fullscreen_trtug {
|
|
38
38
|
padding: var(--modal-s-content-paddings)
|
|
39
|
-
} .modal__size-
|
|
39
|
+
} .modal__size-500_trtug:last-child, .modal__size-600_trtug:last-child, .modal__size-800_trtug:last-child, .modal__size-1140_trtug:last-child, .modal__fullscreen_trtug:last-child {
|
|
40
40
|
padding-bottom: var(--modal-s-content-only-bottom-padding);
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 7tp79 */
|
|
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_1rzge {
|
|
31
31
|
position: relative;
|
|
32
32
|
box-sizing: border-box;
|
|
33
33
|
width: 100%;
|
|
34
34
|
z-index: 0
|
|
35
|
-
} .
|
|
35
|
+
} .modal__content_1rzge.modal__withHeader_1rzge {
|
|
36
36
|
padding-top: 0;
|
|
37
|
-
} .
|
|
37
|
+
} .modal__flex_1rzge {
|
|
38
38
|
flex: 1;
|
|
39
39
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1p3n6 */
|
|
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_10lgn {
|
|
32
32
|
padding: var(--gap-m) var(--gap-m) 0
|
|
33
|
-
} .
|
|
33
|
+
} .modal__content_10lgn: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-7688fd0c.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_1kic4"};
|
|
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-7688fd0c.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_i3yo5","sticky":"modal__sticky_i3yo5","fullscreen":"modal__fullscreen_i3yo5","size-500":"modal__size-500_i3yo5","size-600":"modal__size-600_i3yo5","size-800":"modal__size-800_i3yo5","size-1140":"modal__size-1140_i3yo5"};
|
|
19
19
|
require('./desktop.css')
|
|
20
20
|
|
|
21
|
-
var styles = {"footer":"
|
|
21
|
+
var styles = {"footer":"modal__footer_1g2ie","sticky":"modal__sticky_1g2ie","highlighted":"modal__highlighted_1g2ie"};
|
|
22
22
|
require('./index.css')
|
|
23
23
|
|
|
24
|
-
var mobileStyles = {"footer":"
|
|
24
|
+
var mobileStyles = {"footer":"modal__footer_a91to","sticky":"modal__sticky_a91to"};
|
|
25
25
|
require('./mobile.css')
|
|
26
26
|
|
|
27
27
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 3z06d */
|
|
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_i3yo5 {
|
|
37
37
|
border-bottom-left-radius: var(--modal-border-radius);
|
|
38
38
|
border-bottom-right-radius: var(--modal-border-radius);
|
|
39
|
-
} .
|
|
39
|
+
} .modal__sticky_i3yo5 {
|
|
40
40
|
bottom: calc(var(--modal-vertical-padding) * -1)
|
|
41
|
-
} .
|
|
41
|
+
} .modal__sticky_i3yo5.modal__fullscreen_i3yo5 {
|
|
42
42
|
bottom: 0;
|
|
43
|
-
} .modal__size-
|
|
44
|
-
.modal__size-
|
|
45
|
-
.modal__size-
|
|
46
|
-
.modal__size-
|
|
47
|
-
.
|
|
43
|
+
} .modal__size-500_i3yo5,
|
|
44
|
+
.modal__size-600_i3yo5,
|
|
45
|
+
.modal__size-800_i3yo5,
|
|
46
|
+
.modal__size-1140_i3yo5,
|
|
47
|
+
.modal__fullscreen_i3yo5 {
|
|
48
48
|
padding: var(--modal-s-footer-paddings);
|
|
49
49
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: nt8aq */
|
|
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_1g2ie {
|
|
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_1g2ie {
|
|
40
40
|
background: var(--modal-footer-background);
|
|
41
41
|
position: sticky;
|
|
42
|
-
} .
|
|
42
|
+
} .modal__highlighted_1g2ie {
|
|
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: g023f */
|
|
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_17bud {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column
|
|
37
|
-
} .
|
|
37
|
+
} .modal__column_17bud > *:not(:last-child):not(:only-child) {
|
|
38
38
|
margin-bottom: var(--modal-footer-default-gap);
|
|
39
|
-
} .
|
|
39
|
+
} .modal__column_17bud.modal__gap-16_17bud > *:not(:last-child):not(:only-child) {
|
|
40
40
|
margin-bottom: var(--gap-m);
|
|
41
|
-
} .
|
|
41
|
+
} .modal__column_17bud.modal__gap-24_17bud > *:not(:last-child):not(:only-child) {
|
|
42
42
|
margin-bottom: var(--gap-xl);
|
|
43
|
-
} .
|
|
43
|
+
} .modal__column_17bud.modal__gap-32_17bud > *:not(:last-child):not(:only-child) {
|
|
44
44
|
margin-bottom: var(--gap-2xl);
|
|
45
|
-
} .
|
|
45
|
+
} .modal__start_17bud {
|
|
46
46
|
justify-content: flex-start;
|
|
47
|
-
} .
|
|
47
|
+
} .modal__center_17bud {
|
|
48
48
|
justify-content: center;
|
|
49
|
-
} .modal__space-
|
|
49
|
+
} .modal__space-between_17bud {
|
|
50
50
|
justify-content: space-between
|
|
51
|
-
} .modal__space-
|
|
51
|
+
} .modal__space-between_17bud > * {
|
|
52
52
|
flex: 1;
|
|
53
|
-
} .
|
|
54
|
-
.
|
|
55
|
-
.modal__space-
|
|
53
|
+
} .modal__start_17bud,
|
|
54
|
+
.modal__center_17bud,
|
|
55
|
+
.modal__space-between_17bud {
|
|
56
56
|
display: flex
|
|
57
|
-
} .
|
|
57
|
+
} .modal__start_17bud > *:not(:last-child):not(:only-child), .modal__center_17bud > *:not(:last-child):not(:only-child), .modal__space-between_17bud > *:not(:last-child):not(:only-child) {
|
|
58
58
|
margin-right: var(--modal-footer-default-gap);
|
|
59
|
-
} .
|
|
59
|
+
} .modal__start_17bud.modal__gap-16_17bud > *:not(:last-child):not(:only-child), .modal__center_17bud.modal__gap-16_17bud > *:not(:last-child):not(:only-child), .modal__space-between_17bud.modal__gap-16_17bud > *:not(:last-child):not(:only-child) {
|
|
60
60
|
margin-right: var(--gap-m);
|
|
61
|
-
} .
|
|
61
|
+
} .modal__start_17bud.modal__gap-24_17bud > *:not(:last-child):not(:only-child), .modal__center_17bud.modal__gap-24_17bud > *:not(:last-child):not(:only-child), .modal__space-between_17bud.modal__gap-24_17bud > *:not(:last-child):not(:only-child) {
|
|
62
62
|
margin-right: var(--gap-xl);
|
|
63
|
-
} .
|
|
63
|
+
} .modal__start_17bud.modal__gap-32_17bud > *:not(:last-child):not(:only-child), .modal__center_17bud.modal__gap-32_17bud > *:not(:last-child):not(:only-child), .modal__space-between_17bud.modal__gap-32_17bud > *:not(:last-child):not(:only-child) {
|
|
64
64
|
margin-right: var(--gap-2xl);
|
|
65
65
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1qg8r */
|
|
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_a91to {
|
|
32
32
|
padding: var(--gap-m);
|
|
33
|
-
} .
|
|
33
|
+
} .modal__sticky_a91to {
|
|
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_16ifv","content":"modal__content_16ifv","size-500":"modal__size-500_16ifv","size-600":"modal__size-600_16ifv","size-800":"modal__size-800_16ifv","size-1140":"modal__size-1140_16ifv","fullscreen":"modal__fullscreen_16ifv","sticky":"modal__sticky_16ifv"};
|
|
20
20
|
require('./desktop.css')
|
|
21
21
|
|
|
22
|
-
var styles = {"highlighted":"
|
|
22
|
+
var styles = {"highlighted":"modal__highlighted_yq6hi","sticky":"modal__sticky_yq6hi","hasContent":"modal__hasContent_yq6hi"};
|
|
23
23
|
require('./index.css')
|
|
24
24
|
|
|
25
|
-
var mobileStyles = {"header":"
|
|
25
|
+
var mobileStyles = {"header":"modal__header_1xhrk","sticky":"modal__sticky_1xhrk","content":"modal__content_1xhrk"};
|
|
26
26
|
require('./mobile.css')
|
|
27
27
|
|
|
28
28
|
var Header = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15dub */
|
|
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_16ifv {
|
|
48
48
|
border-top-left-radius: var(--modal-border-radius);
|
|
49
49
|
border-top-right-radius: var(--modal-border-radius);
|
|
50
|
-
} .
|
|
50
|
+
} .modal__content_16ifv {
|
|
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_16ifv .modal__content_16ifv,
|
|
54
|
+
.modal__size-600_16ifv .modal__content_16ifv {
|
|
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_16ifv .modal__content_16ifv,
|
|
59
|
+
.modal__size-1140_16ifv .modal__content_16ifv,
|
|
60
|
+
.modal__fullscreen_16ifv .modal__content_16ifv {
|
|
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_16ifv,
|
|
65
|
+
.modal__size-600_16ifv,
|
|
66
|
+
.modal__size-800_16ifv,
|
|
67
|
+
.modal__size-1140_16ifv,
|
|
68
|
+
.modal__fullscreen_16ifv {
|
|
69
69
|
padding: var(--modal-s-header-paddings);
|
|
70
|
-
} .
|
|
70
|
+
} .modal__sticky_16ifv {
|
|
71
71
|
top: calc(var(--modal-vertical-padding) * -1)
|
|
72
|
-
} .
|
|
72
|
+
} .modal__sticky_16ifv.modal__fullscreen_16ifv {
|
|
73
73
|
top: 0;
|
|
74
74
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1tesi */
|
|
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_yq6hi {
|
|
36
36
|
background: var(--modal-header-highlight-background);
|
|
37
37
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
38
|
-
} .
|
|
38
|
+
} .modal__sticky_yq6hi {
|
|
39
39
|
position: sticky;
|
|
40
40
|
z-index: 1
|
|
41
|
-
} .
|
|
41
|
+
} .modal__sticky_yq6hi.modal__hasContent_yq6hi {
|
|
42
42
|
background: var(--modal-header-background);
|
|
43
43
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: fthz7 */
|
|
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_1xhrk {
|
|
42
42
|
padding: var(--modal-header-mobile-paddings);
|
|
43
|
-
} .
|
|
43
|
+
} .modal__sticky_1xhrk {
|
|
44
44
|
top: 0;
|
|
45
|
-
} .
|
|
45
|
+
} .modal__content_1xhrk {
|
|
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/desktop/desktop.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: sqbe7 */
|
|
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_sd1i6 {
|
|
39
39
|
padding-top: var(--modal-vertical-padding);
|
|
40
40
|
padding-bottom: var(--modal-vertical-padding);
|
|
41
|
-
} .
|
|
41
|
+
} .modal__component_sd1i6 {
|
|
42
42
|
width: 100%;
|
|
43
43
|
max-width: 100%;
|
|
44
44
|
border-radius: var(--modal-border-radius);
|
|
45
|
-
} .
|
|
45
|
+
} .modal__fullscreen_sd1i6 {
|
|
46
46
|
padding-top: 0;
|
|
47
47
|
padding-bottom: 0
|
|
48
|
-
} .
|
|
48
|
+
} .modal__fullscreen_sd1i6 .modal__component_sd1i6 {
|
|
49
49
|
flex: 1;
|
|
50
50
|
border-radius: 0;
|
|
51
|
-
} .modal__size-
|
|
51
|
+
} .modal__size-500_sd1i6 {
|
|
52
52
|
width: var(--modal-s-width);
|
|
53
|
-
} .modal__size-
|
|
53
|
+
} .modal__size-600_sd1i6 {
|
|
54
54
|
width: var(--modal-m-width);
|
|
55
|
-
} .modal__size-
|
|
55
|
+
} .modal__size-800_sd1i6 {
|
|
56
56
|
width: var(--modal-l-width);
|
|
57
|
-
} .modal__size-
|
|
57
|
+
} .modal__size-1140_sd1i6 {
|
|
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_sd1i6","component":"modal__component_sd1i6","fullscreen":"modal__fullscreen_sd1i6","size-500":"modal__size-500_sd1i6","size-600":"modal__size-600_sd1i6","size-800":"modal__size-800_sd1i6","size-1140":"modal__size-1140_sd1i6"};
|
|
10
10
|
require('./desktop/desktop.css')
|
|
11
11
|
|
|
12
|
-
var mobileStyles = {"component":"
|
|
12
|
+
var mobileStyles = {"component":"modal__component_1yaqx"};
|
|
13
13
|
require('./mobile/mobile.css')
|
|
14
14
|
|
|
15
|
-
var transitions = {"appear":"
|
|
15
|
+
var transitions = {"appear":"modal__appear_dtmx2","enter":"modal__enter_dtmx2","appearActive":"modal__appearActive_dtmx2","enterActive":"modal__enterActive_dtmx2","exit":"modal__exit_dtmx2","exitActive":"modal__exitActive_dtmx2","exitDone":"modal__exitDone_dtmx2"};
|
|
16
16
|
require('./transitions.css')
|
|
17
17
|
|
|
18
18
|
var Modal = forwardRef(function (_a, ref) {
|
|
@@ -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_trtug","size-600":"modal__size-600_trtug","size-800":"modal__size-800_trtug","size-1140":"modal__size-1140_trtug","fullscreen":"modal__fullscreen_trtug"};
|
|
9
9
|
require('./desktop.css')
|
|
10
10
|
|
|
11
|
-
var styles = {"content":"
|
|
11
|
+
var styles = {"content":"modal__content_1rzge","withHeader":"modal__withHeader_1rzge","flex":"modal__flex_1rzge"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
|
-
var mobileStyles = {"content":"
|
|
14
|
+
var mobileStyles = {"content":"modal__content_10lgn"};
|
|
15
15
|
require('./mobile.css')
|
|
16
16
|
|
|
17
17
|
var Content = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: plk1h */
|
|
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_trtug,
|
|
34
|
+
.modal__size-600_trtug,
|
|
35
|
+
.modal__size-800_trtug,
|
|
36
|
+
.modal__size-1140_trtug,
|
|
37
|
+
.modal__fullscreen_trtug {
|
|
38
38
|
padding: var(--modal-s-content-paddings)
|
|
39
|
-
} .modal__size-
|
|
39
|
+
} .modal__size-500_trtug:last-child, .modal__size-600_trtug:last-child, .modal__size-800_trtug:last-child, .modal__size-1140_trtug:last-child, .modal__fullscreen_trtug:last-child {
|
|
40
40
|
padding-bottom: var(--modal-s-content-only-bottom-padding);
|
|
41
41
|
}
|