@alfalab/core-components-modal 6.1.7 → 6.1.9
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.desktop.js +1 -1
- package/Component.js +4 -4
- package/Component.mobile.js +1 -1
- package/Component.responsive.js +1 -1
- package/components/closer/Component.js +2 -2
- package/components/closer/index.css +14 -15
- package/components/content/Component.js +3 -3
- package/components/content/desktop.css +17 -16
- package/components/content/index.css +12 -7
- package/components/content/mobile.css +12 -9
- package/components/footer/Component.js +4 -4
- package/components/footer/desktop.css +19 -21
- package/components/footer/index.css +13 -11
- package/components/footer/layout.css +34 -45
- package/components/footer/mobile.css +12 -9
- package/components/header/Component.js +4 -4
- package/components/header/desktop.css +27 -36
- package/components/header/index.css +24 -33
- package/components/header/mobile.css +12 -11
- package/cssm/components/closer/index.module.css +13 -14
- package/cssm/components/content/desktop.module.css +13 -12
- package/cssm/components/content/index.module.css +11 -6
- package/cssm/components/content/mobile.module.css +11 -8
- package/cssm/components/footer/desktop.module.css +15 -17
- package/cssm/components/footer/index.module.css +12 -10
- package/cssm/components/footer/layout.module.css +25 -36
- package/cssm/components/footer/mobile.module.css +11 -8
- package/cssm/components/header/desktop.module.css +20 -29
- package/cssm/components/header/index.module.css +23 -32
- package/cssm/components/header/mobile.module.css +11 -10
- package/cssm/desktop.module.css +18 -23
- package/cssm/mobile.module.css +10 -4
- package/cssm/vars.css +9 -2
- package/desktop.css +19 -24
- package/desktop.js +1 -1
- package/esm/Component.desktop.js +1 -1
- package/esm/Component.js +4 -4
- package/esm/Component.mobile.js +1 -1
- package/esm/Component.responsive.js +1 -1
- package/esm/components/closer/Component.js +2 -2
- package/esm/components/closer/index.css +14 -15
- package/esm/components/content/Component.js +3 -3
- package/esm/components/content/desktop.css +17 -16
- package/esm/components/content/index.css +12 -7
- package/esm/components/content/mobile.css +12 -9
- package/esm/components/footer/Component.js +4 -4
- package/esm/components/footer/desktop.css +19 -21
- package/esm/components/footer/index.css +13 -11
- package/esm/components/footer/layout.css +34 -45
- package/esm/components/footer/mobile.css +12 -9
- package/esm/components/header/Component.js +4 -4
- package/esm/components/header/desktop.css +27 -36
- package/esm/components/header/index.css +24 -33
- package/esm/components/header/mobile.css +12 -11
- package/esm/desktop.css +19 -24
- package/esm/desktop.js +1 -1
- package/esm/index.js +1 -1
- package/esm/mobile.css +11 -5
- package/esm/mobile.js +1 -1
- package/esm/responsive.js +1 -1
- package/esm/transitions.css +8 -8
- package/esm/{tslib.es6-92d173b3.d.ts → tslib.es6-079b23b6.d.ts} +0 -0
- package/esm/{tslib.es6-92d173b3.js → tslib.es6-079b23b6.js} +0 -0
- package/index.js +1 -1
- package/mobile.css +11 -5
- package/mobile.js +1 -1
- package/modern/Component.js +3 -3
- package/modern/components/closer/Component.js +1 -1
- package/modern/components/closer/index.css +14 -15
- package/modern/components/content/Component.js +3 -3
- package/modern/components/content/desktop.css +17 -16
- package/modern/components/content/index.css +12 -7
- package/modern/components/content/mobile.css +12 -9
- package/modern/components/footer/Component.js +4 -4
- package/modern/components/footer/desktop.css +19 -21
- package/modern/components/footer/index.css +13 -11
- package/modern/components/footer/layout.css +34 -45
- package/modern/components/footer/mobile.css +12 -9
- package/modern/components/header/Component.js +3 -3
- package/modern/components/header/desktop.css +27 -36
- package/modern/components/header/index.css +24 -33
- package/modern/components/header/mobile.css +12 -11
- package/modern/desktop.css +19 -24
- package/modern/mobile.css +11 -5
- package/modern/transitions.css +8 -8
- package/package.json +5 -5
- package/responsive.js +1 -1
- package/transitions.css +8 -8
- /package/{tslib.es6-1b3490ba.d.ts → tslib.es6-9ab4bb88.d.ts} +0 -0
- /package/{tslib.es6-1b3490ba.js → tslib.es6-9ab4bb88.js} +0 -0
package/Component.desktop.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-9ab4bb88.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var components_closer_Component = require('./components/closer/Component.js');
|
|
6
6
|
var components_content_Component = require('./components/content/Component.js');
|
package/Component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-9ab4bb88.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var mergeRefs = require('react-merge-refs');
|
|
6
6
|
var cn = require('classnames');
|
|
@@ -13,13 +13,13 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
13
13
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var desktopStyles = {"wrapper":"
|
|
16
|
+
var desktopStyles = {"wrapper":"modal__wrapper_paj31","component":"modal__component_paj31","fullscreen":"modal__fullscreen_paj31","s":"modal__s_paj31","m":"modal__m_paj31","l":"modal__l_paj31","xl":"modal__xl_paj31"};
|
|
17
17
|
require('./desktop.css')
|
|
18
18
|
|
|
19
|
-
var mobileStyles = {"component":"
|
|
19
|
+
var mobileStyles = {"component":"modal__component_1sz6y"};
|
|
20
20
|
require('./mobile.css')
|
|
21
21
|
|
|
22
|
-
var transitions = {"appear":"
|
|
22
|
+
var transitions = {"appear":"modal__appear_10g9m","enter":"modal__enter_10g9m","appearActive":"modal__appearActive_10g9m","enterActive":"modal__enterActive_10g9m","exit":"modal__exit_10g9m","exitActive":"modal__exitActive_10g9m","exitDone":"modal__exitDone_10g9m"};
|
|
23
23
|
require('./transitions.css')
|
|
24
24
|
|
|
25
25
|
var Modal = React.forwardRef(function (_a, ref) {
|
package/Component.mobile.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-9ab4bb88.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var components_closer_Component = require('./components/closer/Component.js');
|
|
6
6
|
var components_content_Component = require('./components/content/Component.js');
|
package/Component.responsive.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-9ab4bb88.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var hooks = require('@alfalab/hooks');
|
|
6
6
|
var components_closer_Component = require('./components/closer/Component.js');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-9ab4bb88.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
|
|
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"closer":"
|
|
16
|
+
var styles = {"closer":"modal__closer_111nj","button":"modal__button_111nj","sticky":"modal__sticky_111nj"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 9lgf5 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
14
16
|
--gap-3xl: 40px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
17
20
|
--modal-vertical-padding: var(--gap-3xl);
|
|
18
21
|
|
|
19
22
|
/* sizes */
|
|
@@ -25,11 +28,9 @@
|
|
|
25
28
|
/* desktop */
|
|
26
29
|
|
|
27
30
|
/* mobile */
|
|
28
|
-
}
|
|
29
|
-
:root {
|
|
31
|
+
} :root {
|
|
30
32
|
--modal-closer-bg-color: var(--color-light-bg-primary-alpha-40);
|
|
31
|
-
}
|
|
32
|
-
.modal__closer_tzoiy {
|
|
33
|
+
} .modal__closer_111nj {
|
|
33
34
|
flex-shrink: 0;
|
|
34
35
|
width: 48px;
|
|
35
36
|
height: 48px;
|
|
@@ -37,14 +38,12 @@
|
|
|
37
38
|
display: flex;
|
|
38
39
|
align-items: center;
|
|
39
40
|
justify-content: center;
|
|
40
|
-
}
|
|
41
|
-
.modal__button_tzoiy {
|
|
41
|
+
} .modal__button_111nj {
|
|
42
42
|
background: var(--modal-closer-bg-color);
|
|
43
43
|
-webkit-backdrop-filter: blur(10px);
|
|
44
44
|
backdrop-filter: blur(10px);
|
|
45
45
|
border-radius: 50px;
|
|
46
|
-
}
|
|
47
|
-
.modal__sticky_tzoiy {
|
|
46
|
+
} .modal__sticky_111nj {
|
|
48
47
|
position: sticky;
|
|
49
48
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
50
49
|
}
|
|
@@ -11,13 +11,13 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
13
13
|
|
|
14
|
-
var desktopStyles = {"s":"
|
|
14
|
+
var desktopStyles = {"s":"modal__s_1ymbg","m":"modal__m_1ymbg","l":"modal__l_1ymbg","xl":"modal__xl_1ymbg","fullscreen":"modal__fullscreen_1ymbg"};
|
|
15
15
|
require('./desktop.css')
|
|
16
16
|
|
|
17
|
-
var styles = {"content":"
|
|
17
|
+
var styles = {"content":"modal__content_2ovk2","flex":"modal__flex_2ovk2"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
|
-
var mobileStyles = {"content":"
|
|
20
|
+
var mobileStyles = {"content":"modal__content_vcp1c"};
|
|
21
21
|
require('./mobile.css')
|
|
22
22
|
|
|
23
23
|
var Content = function (_a) {
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: jhs5y */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-6xl: 72px;
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
14
19
|
|
|
15
20
|
/* sizes */
|
|
16
21
|
|
|
@@ -23,19 +28,15 @@
|
|
|
23
28
|
/* desktop */
|
|
24
29
|
|
|
25
30
|
/* mobile */
|
|
26
|
-
}
|
|
27
|
-
.
|
|
28
|
-
.modal__m_1kr1w {
|
|
31
|
+
} .modal__s_1ymbg,
|
|
32
|
+
.modal__m_1ymbg {
|
|
29
33
|
padding: var(--modal-s-content-paddings)
|
|
30
|
-
}
|
|
31
|
-
.modal__s_1kr1w:last-child, .modal__m_1kr1w:last-child {
|
|
34
|
+
} .modal__s_1ymbg:last-child, .modal__m_1ymbg:last-child {
|
|
32
35
|
padding-bottom: var(--modal-s-content-only-bottom-padding);
|
|
33
|
-
}
|
|
34
|
-
.
|
|
35
|
-
.
|
|
36
|
-
.modal__fullscreen_1kr1w {
|
|
36
|
+
} .modal__l_1ymbg,
|
|
37
|
+
.modal__xl_1ymbg,
|
|
38
|
+
.modal__fullscreen_1ymbg {
|
|
37
39
|
padding: 0 var(--gap-6xl)
|
|
38
|
-
}
|
|
39
|
-
.modal__l_1kr1w:last-child, .modal__xl_1kr1w:last-child, .modal__fullscreen_1kr1w:last-child {
|
|
40
|
+
} .modal__l_1ymbg:last-child, .modal__xl_1ymbg:last-child, .modal__fullscreen_1ymbg:last-child {
|
|
40
41
|
padding-bottom: var(--gap-6xl);
|
|
41
42
|
}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1e0lo */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
11
18
|
|
|
12
19
|
/* sizes */
|
|
13
20
|
|
|
@@ -18,11 +25,9 @@
|
|
|
18
25
|
/* desktop */
|
|
19
26
|
|
|
20
27
|
/* mobile */
|
|
21
|
-
}
|
|
22
|
-
.modal__content_gok0e {
|
|
28
|
+
} .modal__content_2ovk2 {
|
|
23
29
|
box-sizing: border-box;
|
|
24
30
|
width: 100%;
|
|
25
|
-
}
|
|
26
|
-
.modal__flex_gok0e {
|
|
31
|
+
} .modal__flex_2ovk2 {
|
|
27
32
|
flex: 1;
|
|
28
33
|
}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 19mqa */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-m: 16px;
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
14
19
|
|
|
15
20
|
/* sizes */
|
|
16
21
|
|
|
@@ -21,10 +26,8 @@
|
|
|
21
26
|
/* desktop */
|
|
22
27
|
|
|
23
28
|
/* mobile */
|
|
24
|
-
}
|
|
25
|
-
.modal__content_19uka {
|
|
29
|
+
} .modal__content_vcp1c {
|
|
26
30
|
padding: 0 var(--gap-m)
|
|
27
|
-
}
|
|
28
|
-
.modal__content_19uka:last-child {
|
|
31
|
+
} .modal__content_vcp1c:last-child {
|
|
29
32
|
padding-bottom: var(--gap-m);
|
|
30
33
|
}
|
|
@@ -11,16 +11,16 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
13
13
|
|
|
14
|
-
var desktopStyles = {"footer":"
|
|
14
|
+
var desktopStyles = {"footer":"modal__footer_1qa3q","sticky":"modal__sticky_1qa3q","fullscreen":"modal__fullscreen_1qa3q","s":"modal__s_1qa3q","m":"modal__m_1qa3q","l":"modal__l_1qa3q","xl":"modal__xl_1qa3q"};
|
|
15
15
|
require('./desktop.css')
|
|
16
16
|
|
|
17
|
-
var styles = {"footer":"
|
|
17
|
+
var styles = {"footer":"modal__footer_1kbht","sticky":"modal__sticky_1kbht","highlighted":"modal__highlighted_1kbht"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
|
-
var layoutStyles = {"column":"
|
|
20
|
+
var layoutStyles = {"column":"modal__column_nczz1","gap-16":"modal__gap-16_nczz1","gap-24":"modal__gap-24_nczz1","gap-32":"modal__gap-32_nczz1","start":"modal__start_nczz1","center":"modal__center_nczz1","space-between":"modal__space-between_nczz1"};
|
|
21
21
|
require('./layout.css')
|
|
22
22
|
|
|
23
|
-
var mobileStyles = {"footer":"
|
|
23
|
+
var mobileStyles = {"footer":"modal__footer_te7v1","sticky":"modal__sticky_te7v1"};
|
|
24
24
|
require('./mobile.css')
|
|
25
25
|
|
|
26
26
|
var Footer = function (_a) {
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: o9zy7 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:
|
|
13
|
+
} :root {
|
|
14
|
+
--border-radius-l: 12px;
|
|
15
|
+
} :root {
|
|
11
16
|
--gap-xl: 24px;
|
|
12
17
|
--gap-2xl: 32px;
|
|
13
18
|
--gap-3xl: 40px;
|
|
14
19
|
--gap-6xl: 72px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
:root {
|
|
20
|
+
} :root {
|
|
21
|
+
} :root {
|
|
22
|
+
} :root {
|
|
20
23
|
--modal-border-radius: var(--border-radius-l);
|
|
21
24
|
--modal-vertical-padding: var(--gap-3xl);
|
|
22
25
|
|
|
@@ -30,23 +33,18 @@
|
|
|
30
33
|
/* desktop */
|
|
31
34
|
|
|
32
35
|
/* mobile */
|
|
33
|
-
}
|
|
34
|
-
.modal__footer_rzt9i {
|
|
36
|
+
} .modal__footer_1qa3q {
|
|
35
37
|
border-bottom-left-radius: var(--modal-border-radius);
|
|
36
38
|
border-bottom-right-radius: var(--modal-border-radius);
|
|
37
|
-
}
|
|
38
|
-
.modal__sticky_rzt9i {
|
|
39
|
+
} .modal__sticky_1qa3q {
|
|
39
40
|
bottom: calc(var(--modal-vertical-padding) * -1)
|
|
40
|
-
}
|
|
41
|
-
.modal__sticky_rzt9i.modal__fullscreen_rzt9i {
|
|
41
|
+
} .modal__sticky_1qa3q.modal__fullscreen_1qa3q {
|
|
42
42
|
bottom: 0;
|
|
43
|
-
}
|
|
44
|
-
.
|
|
45
|
-
.modal__m_rzt9i {
|
|
43
|
+
} .modal__s_1qa3q,
|
|
44
|
+
.modal__m_1qa3q {
|
|
46
45
|
padding: var(--modal-s-footer-paddings);
|
|
47
|
-
}
|
|
48
|
-
.
|
|
49
|
-
.
|
|
50
|
-
.modal__fullscreen_rzt9i {
|
|
46
|
+
} .modal__l_1qa3q,
|
|
47
|
+
.modal__xl_1qa3q,
|
|
48
|
+
.modal__fullscreen_1qa3q {
|
|
51
49
|
padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
|
|
52
50
|
}
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1uunr */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-bg-primary: #fff;
|
|
4
5
|
--color-light-border-primary: #dbdee1;
|
|
5
|
-
}
|
|
6
|
-
:root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
8
|
+
} :root {
|
|
7
9
|
|
|
8
10
|
/* Hard */
|
|
9
11
|
|
|
10
12
|
/* Up */
|
|
11
13
|
|
|
12
14
|
/* Hard up */
|
|
13
|
-
}
|
|
14
|
-
:root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
15
20
|
--modal-footer-background: var(--color-light-bg-primary);
|
|
16
21
|
|
|
17
22
|
/* sizes */
|
|
@@ -25,17 +30,14 @@
|
|
|
25
30
|
/* desktop */
|
|
26
31
|
|
|
27
32
|
/* mobile */
|
|
28
|
-
}
|
|
29
|
-
.modal__footer_1t7dd {
|
|
33
|
+
} .modal__footer_1kbht {
|
|
30
34
|
width: 100%;
|
|
31
35
|
box-sizing: border-box;
|
|
32
36
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
33
|
-
}
|
|
34
|
-
.modal__sticky_1t7dd {
|
|
37
|
+
} .modal__sticky_1kbht {
|
|
35
38
|
background: var(--modal-footer-background);
|
|
36
39
|
position: sticky;
|
|
37
|
-
}
|
|
38
|
-
.modal__highlighted_1t7dd {
|
|
40
|
+
} .modal__highlighted_1kbht {
|
|
39
41
|
background: var(--modal-footer-highlight-background);
|
|
40
42
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
41
43
|
}
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1qolr */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-m: 16px;
|
|
12
16
|
--gap-xl: 24px;
|
|
13
17
|
--gap-2xl: 32px;
|
|
14
|
-
}
|
|
15
|
-
:root {
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
20
|
+
} :root {
|
|
16
21
|
--modal-footer-default-gap: var(--gap-m);
|
|
17
22
|
|
|
18
23
|
/* sizes */
|
|
@@ -24,61 +29,45 @@
|
|
|
24
29
|
/* desktop */
|
|
25
30
|
|
|
26
31
|
/* mobile */
|
|
27
|
-
}
|
|
28
|
-
.modal__column_1o3tk {
|
|
32
|
+
} .modal__column_nczz1 {
|
|
29
33
|
display: flex;
|
|
30
34
|
flex-direction: column
|
|
31
|
-
}
|
|
32
|
-
.modal__column_1o3tk > * {
|
|
35
|
+
} .modal__column_nczz1 > * {
|
|
33
36
|
margin-bottom: var(--modal-footer-default-gap);
|
|
34
|
-
}
|
|
35
|
-
.
|
|
36
|
-
.modal__column_1o3tk > *:only-child {
|
|
37
|
+
} .modal__column_nczz1 > *:last-child,
|
|
38
|
+
.modal__column_nczz1 > *:only-child {
|
|
37
39
|
margin-bottom: 0;
|
|
38
|
-
}
|
|
39
|
-
.modal__column_1o3tk.modal__gap-16_1o3tk > * {
|
|
40
|
+
} .modal__column_nczz1.modal__gap-16_nczz1 > * {
|
|
40
41
|
margin-bottom: var(--gap-m);
|
|
41
|
-
}
|
|
42
|
-
.modal__column_1o3tk.modal__gap-24_1o3tk > * {
|
|
42
|
+
} .modal__column_nczz1.modal__gap-24_nczz1 > * {
|
|
43
43
|
margin-bottom: var(--gap-xl);
|
|
44
|
-
}
|
|
45
|
-
.modal__column_1o3tk.modal__gap-32_1o3tk > * {
|
|
44
|
+
} .modal__column_nczz1.modal__gap-32_nczz1 > * {
|
|
46
45
|
margin-bottom: var(--gap-2xl);
|
|
47
|
-
}
|
|
48
|
-
.modal__start_1o3tk {
|
|
46
|
+
} .modal__start_nczz1 {
|
|
49
47
|
justify-content: flex-start;
|
|
50
|
-
}
|
|
51
|
-
.modal__center_1o3tk {
|
|
48
|
+
} .modal__center_nczz1 {
|
|
52
49
|
justify-content: center;
|
|
53
|
-
}
|
|
54
|
-
.modal__space-between_1o3tk {
|
|
50
|
+
} .modal__space-between_nczz1 {
|
|
55
51
|
justify-content: space-between
|
|
56
|
-
}
|
|
57
|
-
.modal__space-between_1o3tk > * {
|
|
52
|
+
} .modal__space-between_nczz1 > * {
|
|
58
53
|
flex: 1;
|
|
59
|
-
}
|
|
60
|
-
.
|
|
61
|
-
.
|
|
62
|
-
.modal__space-between_1o3tk {
|
|
54
|
+
} .modal__start_nczz1,
|
|
55
|
+
.modal__center_nczz1,
|
|
56
|
+
.modal__space-between_nczz1 {
|
|
63
57
|
display: flex
|
|
64
|
-
}
|
|
65
|
-
.modal__start_1o3tk > *, .modal__center_1o3tk > *, .modal__space-between_1o3tk > * {
|
|
58
|
+
} .modal__start_nczz1 > *, .modal__center_nczz1 > *, .modal__space-between_nczz1 > * {
|
|
66
59
|
margin-right: var(--modal-footer-default-gap);
|
|
67
|
-
}
|
|
68
|
-
.
|
|
69
|
-
.
|
|
70
|
-
.
|
|
71
|
-
.
|
|
72
|
-
.modal__space-
|
|
73
|
-
.modal__space-between_1o3tk > *:only-child {
|
|
60
|
+
} .modal__start_nczz1 > *:last-child,
|
|
61
|
+
.modal__start_nczz1 > *:only-child,
|
|
62
|
+
.modal__center_nczz1 > *:last-child,
|
|
63
|
+
.modal__center_nczz1 > *:only-child,
|
|
64
|
+
.modal__space-between_nczz1 > *:last-child,
|
|
65
|
+
.modal__space-between_nczz1 > *:only-child {
|
|
74
66
|
margin-right: 0;
|
|
75
|
-
}
|
|
76
|
-
.modal__start_1o3tk.modal__gap-16_1o3tk > *, .modal__center_1o3tk.modal__gap-16_1o3tk > *, .modal__space-between_1o3tk.modal__gap-16_1o3tk > * {
|
|
67
|
+
} .modal__start_nczz1.modal__gap-16_nczz1 > *, .modal__center_nczz1.modal__gap-16_nczz1 > *, .modal__space-between_nczz1.modal__gap-16_nczz1 > * {
|
|
77
68
|
margin-right: var(--gap-m);
|
|
78
|
-
}
|
|
79
|
-
.modal__start_1o3tk.modal__gap-24_1o3tk > *, .modal__center_1o3tk.modal__gap-24_1o3tk > *, .modal__space-between_1o3tk.modal__gap-24_1o3tk > * {
|
|
69
|
+
} .modal__start_nczz1.modal__gap-24_nczz1 > *, .modal__center_nczz1.modal__gap-24_nczz1 > *, .modal__space-between_nczz1.modal__gap-24_nczz1 > * {
|
|
80
70
|
margin-right: var(--gap-xl);
|
|
81
|
-
}
|
|
82
|
-
.modal__start_1o3tk.modal__gap-32_1o3tk > *, .modal__center_1o3tk.modal__gap-32_1o3tk > *, .modal__space-between_1o3tk.modal__gap-32_1o3tk > * {
|
|
71
|
+
} .modal__start_nczz1.modal__gap-32_nczz1 > *, .modal__center_nczz1.modal__gap-32_nczz1 > *, .modal__space-between_nczz1.modal__gap-32_nczz1 > * {
|
|
83
72
|
margin-right: var(--gap-2xl);
|
|
84
73
|
}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: l9dbv */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-m: 16px;
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
14
19
|
|
|
15
20
|
/* sizes */
|
|
16
21
|
|
|
@@ -21,10 +26,8 @@
|
|
|
21
26
|
/* desktop */
|
|
22
27
|
|
|
23
28
|
/* mobile */
|
|
24
|
-
}
|
|
25
|
-
.modal__footer_10g6v {
|
|
29
|
+
} .modal__footer_te7v1 {
|
|
26
30
|
padding: var(--gap-m);
|
|
27
|
-
}
|
|
28
|
-
.modal__sticky_10g6v {
|
|
31
|
+
} .modal__sticky_te7v1 {
|
|
29
32
|
bottom: 0;
|
|
30
33
|
}
|
|
@@ -7,7 +7,7 @@ var Context = require('../../Context.js');
|
|
|
7
7
|
var ResponsiveContext = require('../../ResponsiveContext.js');
|
|
8
8
|
var components_closer_Component = require('../closer/Component.js');
|
|
9
9
|
require('@alfalab/core-components-base-modal');
|
|
10
|
-
require('../../tslib.es6-
|
|
10
|
+
require('../../tslib.es6-9ab4bb88.js');
|
|
11
11
|
require('@alfalab/core-components-icon-button');
|
|
12
12
|
require('@alfalab/icons-glyph/CrossHeavyMIcon');
|
|
13
13
|
|
|
@@ -21,13 +21,13 @@ var getDataTestId = function (dataTestId, element) {
|
|
|
21
21
|
return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
var desktopStyles = {"header":"
|
|
24
|
+
var desktopStyles = {"header":"modal__header_10rwy","content":"modal__content_10rwy","s":"modal__s_10rwy","m":"modal__m_10rwy","l":"modal__l_10rwy","xl":"modal__xl_10rwy","fullscreen":"modal__fullscreen_10rwy","hasContent":"modal__hasContent_10rwy","sticky":"modal__sticky_10rwy"};
|
|
25
25
|
require('./desktop.css')
|
|
26
26
|
|
|
27
|
-
var styles = {"header":"
|
|
27
|
+
var styles = {"header":"modal__header_1abcs","hasContent":"modal__hasContent_1abcs","highlighted":"modal__highlighted_1abcs","sticky":"modal__sticky_1abcs","content":"modal__content_1abcs","title":"modal__title_1abcs","addon":"modal__addon_1abcs","closer":"modal__closer_1abcs","left":"modal__left_1abcs","center":"modal__center_1abcs","right":"modal__right_1abcs","trim":"modal__trim_1abcs"};
|
|
28
28
|
require('./index.css')
|
|
29
29
|
|
|
30
|
-
var mobileStyles = {"sticky":"
|
|
30
|
+
var mobileStyles = {"sticky":"modal__sticky_a9mmw","content":"modal__content_a9mmw"};
|
|
31
31
|
require('./mobile.css')
|
|
32
32
|
|
|
33
33
|
var Header = function (_a) {
|