@alfalab/core-components-modal 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/Component.desktop.js +3 -3
- package/dist/Component.mobile.js +3 -3
- package/dist/Component.responsive.js +2 -2
- package/dist/components/closer/Component.js +2 -2
- package/dist/components/closer/index.css +11 -5
- package/dist/components/content/Component.desktop.js +2 -2
- package/dist/components/content/Component.js +1 -1
- package/dist/components/content/Component.mobile.js +2 -2
- package/dist/components/content/desktop.css +8 -8
- package/dist/components/content/index.css +3 -3
- package/dist/components/content/mobile.css +3 -3
- package/dist/components/footer/Component.desktop.js +2 -2
- package/dist/components/footer/Component.js +2 -2
- package/dist/components/footer/Component.mobile.js +2 -2
- package/dist/components/footer/desktop.css +9 -9
- package/dist/components/footer/index.css +4 -4
- package/dist/components/footer/layout.css +25 -25
- package/dist/components/footer/mobile.css +3 -3
- package/dist/components/header/Component.desktop.js +2 -2
- package/dist/components/header/Component.js +1 -1
- package/dist/components/header/Component.mobile.js +2 -2
- package/dist/components/header/desktop.css +17 -17
- package/dist/components/header/index.css +15 -15
- package/dist/components/header/mobile.css +3 -3
- package/dist/cssm/components/closer/index.module.css +7 -1
- package/dist/desktop.css +9 -9
- package/dist/desktop.js +2 -2
- package/dist/esm/Component.desktop.js +3 -3
- package/dist/esm/Component.mobile.js +3 -3
- package/dist/esm/Component.responsive.js +2 -2
- package/dist/esm/components/closer/Component.js +2 -2
- package/dist/esm/components/closer/index.css +11 -5
- package/dist/esm/components/content/Component.desktop.js +2 -2
- package/dist/esm/components/content/Component.js +1 -1
- package/dist/esm/components/content/Component.mobile.js +2 -2
- package/dist/esm/components/content/desktop.css +8 -8
- package/dist/esm/components/content/index.css +3 -3
- package/dist/esm/components/content/mobile.css +3 -3
- package/dist/esm/components/footer/Component.desktop.js +2 -2
- package/dist/esm/components/footer/Component.js +2 -2
- package/dist/esm/components/footer/Component.mobile.js +2 -2
- package/dist/esm/components/footer/desktop.css +9 -9
- package/dist/esm/components/footer/index.css +4 -4
- package/dist/esm/components/footer/layout.css +25 -25
- package/dist/esm/components/footer/mobile.css +3 -3
- package/dist/esm/components/header/Component.desktop.js +2 -2
- package/dist/esm/components/header/Component.js +1 -1
- package/dist/esm/components/header/Component.mobile.js +2 -2
- package/dist/esm/components/header/desktop.css +17 -17
- package/dist/esm/components/header/index.css +15 -15
- package/dist/esm/components/header/mobile.css +3 -3
- package/dist/esm/desktop.css +9 -9
- package/dist/esm/desktop.js +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/mobile.css +2 -2
- package/dist/esm/mobile.js +2 -2
- package/dist/esm/responsive.js +2 -2
- package/dist/esm/transitions.css +8 -8
- package/dist/esm/transitions.module-386b448e.js +4 -0
- package/dist/esm/{tslib.es6-c25aba00.d.ts → tslib.es6-242320f2.d.ts} +0 -0
- package/dist/esm/{tslib.es6-c25aba00.js → tslib.es6-242320f2.js} +0 -0
- package/dist/index.js +2 -2
- package/dist/mobile.css +2 -2
- package/dist/mobile.js +2 -2
- package/dist/modern/Component.desktop.js +2 -2
- package/dist/modern/Component.mobile.js +2 -2
- package/dist/modern/Component.responsive.js +1 -1
- package/dist/modern/components/closer/Component.js +1 -1
- package/dist/modern/components/closer/index.css +11 -5
- package/dist/modern/components/content/Component.desktop.js +1 -1
- package/dist/modern/components/content/Component.js +1 -1
- package/dist/modern/components/content/Component.mobile.js +1 -1
- package/dist/modern/components/content/desktop.css +8 -8
- package/dist/modern/components/content/index.css +3 -3
- package/dist/modern/components/content/mobile.css +3 -3
- package/dist/modern/components/footer/Component.desktop.js +1 -1
- package/dist/modern/components/footer/Component.js +2 -2
- package/dist/modern/components/footer/Component.mobile.js +1 -1
- package/dist/modern/components/footer/desktop.css +9 -9
- package/dist/modern/components/footer/index.css +4 -4
- package/dist/modern/components/footer/layout.css +25 -25
- package/dist/modern/components/footer/mobile.css +3 -3
- package/dist/modern/components/header/Component.desktop.js +1 -1
- package/dist/modern/components/header/Component.js +1 -1
- package/dist/modern/components/header/Component.mobile.js +1 -1
- package/dist/modern/components/header/desktop.css +17 -17
- package/dist/modern/components/header/index.css +15 -15
- package/dist/modern/components/header/mobile.css +3 -3
- package/dist/modern/desktop.css +9 -9
- package/dist/modern/desktop.js +1 -1
- package/dist/modern/index.js +1 -1
- package/dist/modern/mobile.css +2 -2
- package/dist/modern/mobile.js +1 -1
- package/dist/modern/responsive.js +1 -1
- package/dist/modern/transitions.css +8 -8
- package/dist/modern/transitions.module-386b448e.js +4 -0
- package/dist/responsive.js +2 -2
- package/dist/transitions.css +8 -8
- package/dist/transitions.module-27d19713.js +6 -0
- package/dist/{tslib.es6-e71a96bd.d.ts → tslib.es6-4834d51a.d.ts} +0 -0
- package/dist/{tslib.es6-e71a96bd.js → tslib.es6-4834d51a.js} +0 -0
- package/package.json +2 -2
- package/dist/esm/transitions.module-b6b7149e.js +0 -4
- package/dist/modern/transitions.module-b6b7149e.js +0 -4
- package/dist/transitions.module-0cb336a7.js +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-modal@5.0.0...@alfalab/core-components-modal@5.0.1) (2022-03-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix modal and bottom-sheet dark mode ([#1043](https://github.com/alfa-laboratory/core-components/issues/1043)) ([cad36a2](https://github.com/alfa-laboratory/core-components/commit/cad36a25b28bfa71296c3dd9dc325eec28b5c241))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [5.0.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-modal@4.2.0...@alfalab/core-components-modal@5.0.0) (2022-03-24)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('./tslib.es6-
|
|
5
|
+
var tslib_es6 = require('./tslib.es6-4834d51a.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal');
|
|
@@ -17,7 +17,7 @@ require('./components/content/Component.js');
|
|
|
17
17
|
var components_content_Component_desktop = require('./components/content/Component.desktop.js');
|
|
18
18
|
require('./components/footer/Component.js');
|
|
19
19
|
var components_footer_Component_desktop = require('./components/footer/Component.desktop.js');
|
|
20
|
-
var transitions_module = require('./transitions.module-
|
|
20
|
+
var transitions_module = require('./transitions.module-27d19713.js');
|
|
21
21
|
|
|
22
22
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
23
23
|
|
|
@@ -25,7 +25,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
25
25
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
26
26
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultLegacy(mergeRefs);
|
|
27
27
|
|
|
28
|
-
var styles = {"wrapper":"
|
|
28
|
+
var styles = {"wrapper":"modal__wrapper_4l1kn","component":"modal__component_4l1kn","fullscreen":"modal__fullscreen_4l1kn","s":"modal__s_4l1kn","m":"modal__m_4l1kn","l":"modal__l_4l1kn","xl":"modal__xl_4l1kn"};
|
|
29
29
|
require('./desktop.css')
|
|
30
30
|
|
|
31
31
|
var ModalDesktopComponent = React.forwardRef(function (_a, ref) {
|
package/dist/Component.mobile.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('./tslib.es6-
|
|
5
|
+
var tslib_es6 = require('./tslib.es6-4834d51a.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal');
|
|
@@ -13,7 +13,7 @@ require('@alfalab/icons-glyph/CrossHeavyMIcon');
|
|
|
13
13
|
var components_closer_Component = require('./components/closer/Component.js');
|
|
14
14
|
require('./components/content/Component.js');
|
|
15
15
|
require('./components/footer/Component.js');
|
|
16
|
-
var transitions_module = require('./transitions.module-
|
|
16
|
+
var transitions_module = require('./transitions.module-27d19713.js');
|
|
17
17
|
require('@alfalab/icons-glyph/CrossMIcon');
|
|
18
18
|
var components_header_Component_mobile = require('./components/header/Component.mobile.js');
|
|
19
19
|
var components_content_Component_mobile = require('./components/content/Component.mobile.js');
|
|
@@ -24,7 +24,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
24
24
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
25
25
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
26
26
|
|
|
27
|
-
var styles = {"component":"
|
|
27
|
+
var styles = {"component":"modal__component_1wxv9"};
|
|
28
28
|
require('./mobile.css')
|
|
29
29
|
|
|
30
30
|
var ModalMobileComponent = React.forwardRef(function (_a, ref) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('./tslib.es6-
|
|
5
|
+
var tslib_es6 = require('./tslib.es6-4834d51a.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -18,7 +18,7 @@ require('./components/content/Component.desktop.js');
|
|
|
18
18
|
require('./components/footer/Component.js');
|
|
19
19
|
require('./components/footer/Component.desktop.js');
|
|
20
20
|
var Component_desktop = require('./Component.desktop.js');
|
|
21
|
-
require('./transitions.module-
|
|
21
|
+
require('./transitions.module-27d19713.js');
|
|
22
22
|
require('@alfalab/icons-glyph/CrossMIcon');
|
|
23
23
|
require('./components/header/Component.mobile.js');
|
|
24
24
|
require('./components/content/Component.mobile.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-4834d51a.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -15,7 +15,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
17
17
|
|
|
18
|
-
var styles = {"closer":"
|
|
18
|
+
var styles = {"closer":"modal__closer_1nic2","button":"modal__button_1nic2","sticky":"modal__sticky_1nic2"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1aw3z */
|
|
2
|
+
:root {
|
|
3
|
+
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
4
|
+
}
|
|
2
5
|
:root {
|
|
3
6
|
|
|
4
7
|
/* Hard */
|
|
@@ -23,7 +26,10 @@
|
|
|
23
26
|
|
|
24
27
|
/* mobile */
|
|
25
28
|
}
|
|
26
|
-
|
|
29
|
+
:root {
|
|
30
|
+
--modal-closer-bg-color: var(--color-light-bg-primary-alpha-40);
|
|
31
|
+
}
|
|
32
|
+
.modal__closer_1nic2 {
|
|
27
33
|
flex-shrink: 0;
|
|
28
34
|
width: 48px;
|
|
29
35
|
height: 48px;
|
|
@@ -32,13 +38,13 @@
|
|
|
32
38
|
align-items: center;
|
|
33
39
|
justify-content: center;
|
|
34
40
|
}
|
|
35
|
-
.
|
|
36
|
-
background:
|
|
41
|
+
.modal__button_1nic2 {
|
|
42
|
+
background: var(--modal-closer-bg-color);
|
|
37
43
|
-webkit-backdrop-filter: blur(10px);
|
|
38
44
|
backdrop-filter: blur(10px);
|
|
39
45
|
border-radius: 50px;
|
|
40
46
|
}
|
|
41
|
-
.
|
|
47
|
+
.modal__sticky_1nic2 {
|
|
42
48
|
position: sticky;
|
|
43
49
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
44
50
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-4834d51a.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
16
16
|
|
|
17
|
-
var styles = {"s":"
|
|
17
|
+
var styles = {"s":"modal__s_1r4mg","m":"modal__m_1r4mg","l":"modal__l_1r4mg","xl":"modal__xl_1r4mg","fullscreen":"modal__fullscreen_1r4mg"};
|
|
18
18
|
require('./desktop.css')
|
|
19
19
|
|
|
20
20
|
var ContentDesktop = function (_a) {
|
|
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
13
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
14
14
|
|
|
15
|
-
var styles = {"content":"
|
|
15
|
+
var styles = {"content":"modal__content_n24k3","flex":"modal__flex_n24k3"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
var Content = function (_a) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-4834d51a.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
16
16
|
|
|
17
|
-
var styles = {"content":"
|
|
17
|
+
var styles = {"content":"modal__content_136qu"};
|
|
18
18
|
require('./mobile.css')
|
|
19
19
|
|
|
20
20
|
var ContentMobile = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: r8e89 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
|
|
25
25
|
/* mobile */
|
|
26
26
|
}
|
|
27
|
-
.
|
|
28
|
-
.
|
|
27
|
+
.modal__s_1r4mg,
|
|
28
|
+
.modal__m_1r4mg {
|
|
29
29
|
padding: var(--modal-s-content-paddings)
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.modal__s_1r4mg:last-child, .modal__m_1r4mg:last-child {
|
|
32
32
|
padding-bottom: var(--modal-s-content-only-bottom-padding);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
35
|
-
.
|
|
36
|
-
.
|
|
34
|
+
.modal__l_1r4mg,
|
|
35
|
+
.modal__xl_1r4mg,
|
|
36
|
+
.modal__fullscreen_1r4mg {
|
|
37
37
|
padding: 0 var(--gap-6xl)
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__l_1r4mg:last-child, .modal__xl_1r4mg:last-child, .modal__fullscreen_1r4mg:last-child {
|
|
40
40
|
padding-bottom: var(--gap-6xl);
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: khcb8 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
|
|
20
20
|
/* mobile */
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.modal__content_n24k3 {
|
|
23
23
|
box-sizing: border-box;
|
|
24
24
|
width: 100%;
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.modal__flex_n24k3 {
|
|
27
27
|
flex: 1 1 auto;
|
|
28
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1sic0 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
/* mobile */
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.modal__content_136qu {
|
|
26
26
|
padding: 0 var(--gap-m)
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__content_136qu:last-child {
|
|
29
29
|
padding-bottom: var(--gap-m);
|
|
30
30
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-4834d51a.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
16
16
|
|
|
17
|
-
var styles = {"footer":"
|
|
17
|
+
var styles = {"footer":"modal__footer_1wszn","sticky":"modal__sticky_1wszn","fullscreen":"modal__fullscreen_1wszn","s":"modal__s_1wszn","m":"modal__m_1wszn","l":"modal__l_1wszn","xl":"modal__xl_1wszn"};
|
|
18
18
|
require('./desktop.css')
|
|
19
19
|
|
|
20
20
|
var FooterDesktop = function (_a) {
|
|
@@ -12,10 +12,10 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
13
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
14
14
|
|
|
15
|
-
var styles = {"footer":"
|
|
15
|
+
var styles = {"footer":"modal__footer_yzfpf","sticky":"modal__sticky_yzfpf","highlighted":"modal__highlighted_yzfpf"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
|
-
var layoutStyles = {"column":"
|
|
18
|
+
var layoutStyles = {"column":"modal__column_tvvw4","gap-16":"modal__gap-16_tvvw4","gap-24":"modal__gap-24_tvvw4","gap-32":"modal__gap-32_tvvw4","start":"modal__start_tvvw4","center":"modal__center_tvvw4","space-between":"modal__space-between_tvvw4"};
|
|
19
19
|
require('./layout.css')
|
|
20
20
|
|
|
21
21
|
var Footer = function (_a) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-4834d51a.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
16
16
|
|
|
17
|
-
var styles = {"footer":"
|
|
17
|
+
var styles = {"footer":"modal__footer_18w5w","sticky":"modal__sticky_18w5w"};
|
|
18
18
|
require('./mobile.css')
|
|
19
19
|
|
|
20
20
|
var FooterMobile = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: e2jxu */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
|
|
32
32
|
/* mobile */
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.modal__footer_1wszn {
|
|
35
35
|
border-bottom-left-radius: var(--modal-border-radius);
|
|
36
36
|
border-bottom-right-radius: var(--modal-border-radius);
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.modal__sticky_1wszn {
|
|
39
39
|
bottom: calc(var(--modal-vertical-padding) * -1)
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.modal__sticky_1wszn.modal__fullscreen_1wszn {
|
|
42
42
|
bottom: 0;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
45
|
-
.
|
|
44
|
+
.modal__s_1wszn,
|
|
45
|
+
.modal__m_1wszn {
|
|
46
46
|
padding: var(--modal-s-footer-paddings);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
49
|
-
.
|
|
50
|
-
.
|
|
48
|
+
.modal__l_1wszn,
|
|
49
|
+
.modal__xl_1wszn,
|
|
50
|
+
.modal__fullscreen_1wszn {
|
|
51
51
|
padding: var(--gap-2xl) var(--gap-6xl) var(--gap-6xl);
|
|
52
52
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: mvz50 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
--color-light-border-primary: #dbdee1;
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
|
|
27
27
|
/* mobile */
|
|
28
28
|
}
|
|
29
|
-
.
|
|
29
|
+
.modal__footer_yzfpf {
|
|
30
30
|
width: 100%;
|
|
31
31
|
box-sizing: border-box;
|
|
32
32
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.modal__sticky_yzfpf {
|
|
35
35
|
background: var(--modal-footer-background);
|
|
36
36
|
position: sticky;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.modal__highlighted_yzfpf {
|
|
39
39
|
background: var(--modal-footer-highlight-background);
|
|
40
40
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ipx50 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -25,60 +25,60 @@
|
|
|
25
25
|
|
|
26
26
|
/* mobile */
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__column_tvvw4 {
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
.modal__column_tvvw4 > * {
|
|
33
33
|
margin-bottom: var(--modal-footer-default-gap);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
36
|
-
.
|
|
35
|
+
.modal__column_tvvw4 > *:last-child,
|
|
36
|
+
.modal__column_tvvw4 > *:only-child {
|
|
37
37
|
margin-bottom: 0;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__column_tvvw4.modal__gap-16_tvvw4 > * {
|
|
40
40
|
margin-bottom: var(--gap-m);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.modal__column_tvvw4.modal__gap-24_tvvw4 > * {
|
|
43
43
|
margin-bottom: var(--gap-xl);
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.modal__column_tvvw4.modal__gap-32_tvvw4 > * {
|
|
46
46
|
margin-bottom: var(--gap-2xl);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.modal__start_tvvw4 {
|
|
49
49
|
justify-content: flex-start;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.modal__center_tvvw4 {
|
|
52
52
|
justify-content: center;
|
|
53
53
|
}
|
|
54
|
-
.modal__space-
|
|
54
|
+
.modal__space-between_tvvw4 {
|
|
55
55
|
justify-content: space-between
|
|
56
56
|
}
|
|
57
|
-
.modal__space-
|
|
57
|
+
.modal__space-between_tvvw4 > * {
|
|
58
58
|
flex: 1;
|
|
59
59
|
}
|
|
60
|
-
.
|
|
61
|
-
.
|
|
62
|
-
.modal__space-
|
|
60
|
+
.modal__start_tvvw4,
|
|
61
|
+
.modal__center_tvvw4,
|
|
62
|
+
.modal__space-between_tvvw4 {
|
|
63
63
|
display: flex
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.modal__start_tvvw4 > *, .modal__center_tvvw4 > *, .modal__space-between_tvvw4 > * {
|
|
66
66
|
margin-right: var(--modal-footer-default-gap);
|
|
67
67
|
}
|
|
68
|
-
.
|
|
69
|
-
.
|
|
70
|
-
.
|
|
71
|
-
.
|
|
72
|
-
.modal__space-
|
|
73
|
-
.modal__space-
|
|
68
|
+
.modal__start_tvvw4 > *:last-child,
|
|
69
|
+
.modal__start_tvvw4 > *:only-child,
|
|
70
|
+
.modal__center_tvvw4 > *:last-child,
|
|
71
|
+
.modal__center_tvvw4 > *:only-child,
|
|
72
|
+
.modal__space-between_tvvw4 > *:last-child,
|
|
73
|
+
.modal__space-between_tvvw4 > *:only-child {
|
|
74
74
|
margin-right: 0;
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.modal__start_tvvw4.modal__gap-16_tvvw4 > *, .modal__center_tvvw4.modal__gap-16_tvvw4 > *, .modal__space-between_tvvw4.modal__gap-16_tvvw4 > * {
|
|
77
77
|
margin-right: var(--gap-m);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.modal__start_tvvw4.modal__gap-24_tvvw4 > *, .modal__center_tvvw4.modal__gap-24_tvvw4 > *, .modal__space-between_tvvw4.modal__gap-24_tvvw4 > * {
|
|
80
80
|
margin-right: var(--gap-xl);
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
.modal__start_tvvw4.modal__gap-32_tvvw4 > *, .modal__center_tvvw4.modal__gap-32_tvvw4 > *, .modal__space-between_tvvw4.modal__gap-32_tvvw4 > * {
|
|
83
83
|
margin-right: var(--gap-2xl);
|
|
84
84
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1iztt */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
/* mobile */
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.modal__footer_18w5w {
|
|
26
26
|
padding: var(--gap-m);
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__sticky_18w5w {
|
|
29
29
|
bottom: 0;
|
|
30
30
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-4834d51a.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -17,7 +17,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
19
19
|
|
|
20
|
-
var styles = {"header":"
|
|
20
|
+
var styles = {"header":"modal__header_lew6e","content":"modal__content_lew6e","s":"modal__s_lew6e","m":"modal__m_lew6e","l":"modal__l_lew6e","xl":"modal__xl_lew6e","fullscreen":"modal__fullscreen_lew6e","hasContent":"modal__hasContent_lew6e","sticky":"modal__sticky_lew6e"};
|
|
21
21
|
require('./desktop.css')
|
|
22
22
|
|
|
23
23
|
var HeaderDesktop = function (_a) {
|
|
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
13
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
14
14
|
|
|
15
|
-
var styles = {"header":"
|
|
15
|
+
var styles = {"header":"modal__header_33dzh","hasContent":"modal__hasContent_33dzh","highlighted":"modal__highlighted_33dzh","sticky":"modal__sticky_33dzh","content":"modal__content_33dzh","title":"modal__title_33dzh","addon":"modal__addon_33dzh","closer":"modal__closer_33dzh","left":"modal__left_33dzh","center":"modal__center_33dzh","right":"modal__right_33dzh","trim":"modal__trim_33dzh"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
var Header = function (_a) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-4834d51a.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -19,7 +19,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
19
19
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
20
20
|
var CrossMIcon__default = /*#__PURE__*/_interopDefaultLegacy(CrossMIcon);
|
|
21
21
|
|
|
22
|
-
var styles = {"sticky":"
|
|
22
|
+
var styles = {"sticky":"modal__sticky_1qd2v","content":"modal__content_1qd2v"};
|
|
23
23
|
require('./mobile.css')
|
|
24
24
|
|
|
25
25
|
var HeaderMobile = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: nlcub */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -43,45 +43,45 @@
|
|
|
43
43
|
|
|
44
44
|
/* mobile */
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.modal__header_lew6e {
|
|
47
47
|
border-top-left-radius: var(--modal-border-radius);
|
|
48
48
|
border-top-right-radius: var(--modal-border-radius);
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.modal__content_lew6e {
|
|
51
51
|
font-weight: var(--modal-header-desktop-font-weight);
|
|
52
52
|
font-family: var(--modal-header-desktop-font-family);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
55
|
-
.
|
|
54
|
+
.modal__s_lew6e .modal__content_lew6e,
|
|
55
|
+
.modal__m_lew6e .modal__content_lew6e {
|
|
56
56
|
padding: var(--modal-s-header-desktop-content-paddings);
|
|
57
57
|
font-size: var(--modal-s-header-desktop-font-size);
|
|
58
58
|
line-height: var(--modal-s-header-desktop-line-height);
|
|
59
59
|
}
|
|
60
|
-
.
|
|
61
|
-
.
|
|
62
|
-
.
|
|
60
|
+
.modal__l_lew6e .modal__content_lew6e,
|
|
61
|
+
.modal__xl_lew6e .modal__content_lew6e,
|
|
62
|
+
.modal__fullscreen_lew6e .modal__content_lew6e {
|
|
63
63
|
padding: var(--modal-l-header-desktop-content-paddings);
|
|
64
64
|
font-size: var(--modal-l-header-desktop-font-size);
|
|
65
65
|
line-height: var(--modal-l-header-desktop-line-height);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
68
|
-
.
|
|
67
|
+
.modal__s_lew6e,
|
|
68
|
+
.modal__m_lew6e {
|
|
69
69
|
padding: var(--modal-s-header-paddings)
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.modal__s_lew6e:not(.modal__hasContent_lew6e), .modal__m_lew6e:not(.modal__hasContent_lew6e) {
|
|
72
72
|
padding-bottom: 0;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
75
|
-
.
|
|
76
|
-
.
|
|
74
|
+
.modal__l_lew6e,
|
|
75
|
+
.modal__xl_lew6e,
|
|
76
|
+
.modal__fullscreen_lew6e {
|
|
77
77
|
padding: var(--gap-xl) var(--gap-xl) var(--gap-m)
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.modal__l_lew6e:not(.modal__hasContent_lew6e), .modal__xl_lew6e:not(.modal__hasContent_lew6e), .modal__fullscreen_lew6e:not(.modal__hasContent_lew6e) {
|
|
80
80
|
padding-bottom: var(--gap-m);
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
.modal__sticky_lew6e {
|
|
83
83
|
top: calc(var(--modal-vertical-padding) * -1)
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
.modal__sticky_lew6e.modal__fullscreen_lew6e {
|
|
86
86
|
top: 0;
|
|
87
87
|
}
|