@alfalab/core-components-modal 4.0.1 → 4.0.5
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 +32 -0
- package/dist/Component.desktop.js +3 -3
- package/dist/Component.mobile.js +3 -3
- package/dist/Component.responsive.d.ts +3 -3
- package/dist/Component.responsive.js +2 -2
- package/dist/components/closer/Component.js +2 -2
- package/dist/components/closer/index.css +8 -8
- package/dist/components/content/Component.desktop.js +2 -2
- package/dist/components/content/Component.mobile.js +2 -2
- package/dist/components/content/desktop.css +12 -19
- package/dist/components/content/mobile.css +7 -14
- package/dist/components/footer/Component.desktop.js +2 -2
- package/dist/components/footer/Component.js +1 -1
- package/dist/components/footer/Component.mobile.js +2 -2
- package/dist/components/footer/desktop.css +12 -19
- package/dist/components/footer/layout.css +25 -25
- package/dist/components/footer/mobile.css +7 -14
- 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 +16 -23
- package/dist/components/header/mobile.css +11 -18
- package/dist/desktop.css +8 -8
- 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 +8 -8
- package/dist/esm/components/content/Component.desktop.js +2 -2
- package/dist/esm/components/content/Component.mobile.js +2 -2
- package/dist/esm/components/content/desktop.css +12 -19
- package/dist/esm/components/content/mobile.css +7 -14
- package/dist/esm/components/footer/Component.desktop.js +2 -2
- package/dist/esm/components/footer/Component.js +1 -1
- package/dist/esm/components/footer/Component.mobile.js +2 -2
- package/dist/esm/components/footer/desktop.css +12 -19
- package/dist/esm/components/footer/layout.css +25 -25
- package/dist/esm/components/footer/mobile.css +7 -14
- 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 +16 -23
- package/dist/esm/components/header/mobile.css +11 -18
- package/dist/esm/desktop.css +8 -8
- 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-027dd21d.js +4 -0
- package/dist/esm/{tslib.es6-5d3a812f.d.ts → tslib.es6-44154213.d.ts} +0 -0
- package/dist/esm/{tslib.es6-5d3a812f.js → tslib.es6-44154213.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 +8 -8
- package/dist/modern/components/content/Component.desktop.js +1 -1
- package/dist/modern/components/content/Component.mobile.js +1 -1
- package/dist/modern/components/content/desktop.css +12 -19
- package/dist/modern/components/content/mobile.css +7 -14
- package/dist/modern/components/footer/Component.desktop.js +1 -1
- package/dist/modern/components/footer/Component.js +1 -1
- package/dist/modern/components/footer/Component.mobile.js +1 -1
- package/dist/modern/components/footer/desktop.css +12 -19
- package/dist/modern/components/footer/layout.css +25 -25
- package/dist/modern/components/footer/mobile.css +7 -14
- package/dist/modern/components/header/Component.desktop.js +1 -1
- package/dist/modern/components/header/Component.mobile.js +1 -1
- package/dist/modern/components/header/desktop.css +16 -23
- package/dist/modern/components/header/mobile.css +11 -18
- package/dist/modern/desktop.css +8 -8
- 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-027dd21d.js +4 -0
- package/dist/responsive.js +2 -2
- package/dist/transitions.css +8 -8
- package/dist/transitions.module-ac51ff87.js +6 -0
- package/dist/{tslib.es6-810343ad.d.ts → tslib.es6-33bab17e.d.ts} +0 -0
- package/dist/{tslib.es6-810343ad.js → tslib.es6-33bab17e.js} +0 -0
- package/package.json +4 -4
- package/dist/esm/transitions.module-4c2889a7.js +0 -4
- package/dist/modern/transitions.module-4c2889a7.js +0 -4
- package/dist/transitions.module-ad7c107c.js +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
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
|
+
## [4.0.5](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-modal@4.0.4...@alfalab/core-components-modal@4.0.5) (2022-02-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-modal
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.0.4](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-modal@4.0.3...@alfalab/core-components-modal@4.0.4) (2022-02-02)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @alfalab/core-components-modal
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [4.0.3](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-modal@4.0.2...@alfalab/core-components-modal@4.0.3) (2022-01-17)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @alfalab/core-components-modal
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [4.0.2](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-modal@4.0.1...@alfalab/core-components-modal@4.0.2) (2021-12-29)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @alfalab/core-components-modal
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
## [4.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-modal@4.0.0...@alfalab/core-components-modal@4.0.1) (2021-12-14)
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package @alfalab/core-components-modal
|
|
@@ -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-33bab17e.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal');
|
|
@@ -16,7 +16,7 @@ require('./components/content/Component.js');
|
|
|
16
16
|
var components_content_Component_desktop = require('./components/content/Component.desktop.js');
|
|
17
17
|
require('./components/footer/Component.js');
|
|
18
18
|
var components_footer_Component_desktop = require('./components/footer/Component.desktop.js');
|
|
19
|
-
var transitions_module = require('./transitions.module-
|
|
19
|
+
var transitions_module = require('./transitions.module-ac51ff87.js');
|
|
20
20
|
|
|
21
21
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
24
24
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
25
25
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultLegacy(mergeRefs);
|
|
26
26
|
|
|
27
|
-
var styles = {"wrapper":"
|
|
27
|
+
var styles = {"wrapper":"modal__wrapper_118yl","component":"modal__component_118yl","fullscreen":"modal__fullscreen_118yl","s":"modal__s_118yl","m":"modal__m_118yl","l":"modal__l_118yl"};
|
|
28
28
|
require('./desktop.css')
|
|
29
29
|
|
|
30
30
|
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-33bab17e.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal');
|
|
@@ -12,7 +12,7 @@ var components_closer_Component = require('./components/closer/Component.js');
|
|
|
12
12
|
require('./components/header/Component.js');
|
|
13
13
|
require('./components/content/Component.js');
|
|
14
14
|
require('./components/footer/Component.js');
|
|
15
|
-
var transitions_module = require('./transitions.module-
|
|
15
|
+
var transitions_module = require('./transitions.module-ac51ff87.js');
|
|
16
16
|
var hooks = require('@alfalab/hooks');
|
|
17
17
|
var components_header_Component_mobile = require('./components/header/Component.mobile.js');
|
|
18
18
|
var components_content_Component_mobile = require('./components/content/Component.mobile.js');
|
|
@@ -23,7 +23,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
23
23
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
24
24
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
25
25
|
|
|
26
|
-
var styles = {"component":"
|
|
26
|
+
var styles = {"component":"modal__component_89hle"};
|
|
27
27
|
require('./mobile.css')
|
|
28
28
|
|
|
29
29
|
var ModalMobileComponent = React.forwardRef(function (_a, ref) {
|
|
@@ -11,9 +11,9 @@ declare const ModalResponsive: React.ForwardRefExoticComponent<import("packages/
|
|
|
11
11
|
fixedPosition?: boolean | undefined;
|
|
12
12
|
hasCloser?: boolean | undefined;
|
|
13
13
|
} & React.RefAttributes<HTMLDivElement>> & {
|
|
14
|
-
Header: React.FC<import("./components/header/Component
|
|
15
|
-
Content: React.FC<import("./components/content/Component
|
|
16
|
-
Footer: React.FC<import("./components/footer/Component
|
|
14
|
+
Header: React.FC<import("./components/header/Component").HeaderProps> | React.FC<import("./components/header/Component.desktop").HeaderDesktopProps>;
|
|
15
|
+
Content: React.FC<import("./components/content/Component").ContentProps> | React.FC<import("./components/content/Component.desktop").ContentDesktopProps>;
|
|
16
|
+
Footer: React.FC<import("./components/footer/Component").FooterProps> | React.FC<import("./components/footer/Component.desktop").FooterDesktopProps>;
|
|
17
17
|
Closer: React.FC<import("./components/closer/Component").CloserProps>;
|
|
18
18
|
};
|
|
19
19
|
export { ModalResponsiveProps, ModalResponsive };
|
|
@@ -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-33bab17e.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -17,7 +17,7 @@ require('./components/content/Component.desktop.js');
|
|
|
17
17
|
require('./components/footer/Component.js');
|
|
18
18
|
require('./components/footer/Component.desktop.js');
|
|
19
19
|
var Component_desktop = require('./Component.desktop.js');
|
|
20
|
-
require('./transitions.module-
|
|
20
|
+
require('./transitions.module-ac51ff87.js');
|
|
21
21
|
var hooks = require('@alfalab/hooks');
|
|
22
22
|
require('./components/header/Component.mobile.js');
|
|
23
23
|
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-33bab17e.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 = {"closer":"
|
|
17
|
+
var styles = {"closer":"modal__closer_10llz","left":"modal__left_10llz","right":"modal__right_10llz","fullscreen":"modal__fullscreen_10llz"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var Closer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ck37 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
/* scroll */
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.modal__closer_10llz {
|
|
28
28
|
width: 48px;
|
|
29
29
|
height: 48px;
|
|
30
30
|
background-image: var(--modal-closer-icon);
|
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
flex-shrink: 0;
|
|
34
34
|
transition: opacity 0.2s ease-out
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.modal__closer_10llz:hover {
|
|
37
37
|
opacity: 0.7;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__closer_10llz:active {
|
|
40
40
|
opacity: 0.5;
|
|
41
41
|
}
|
|
42
|
-
.
|
|
43
|
-
.
|
|
42
|
+
.modal__left_10llz,
|
|
43
|
+
.modal__right_10llz {
|
|
44
44
|
position: sticky;
|
|
45
45
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.modal__right_10llz {
|
|
48
48
|
margin-left: auto;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.modal__fullscreen_10llz {
|
|
51
51
|
top: 0;
|
|
52
52
|
}
|
|
@@ -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-33bab17e.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_15vhe modal__content_1f199","flex":"modal__flex_15vhe modal__flex_1f199","s":"modal__s_15vhe","m":"modal__m_15vhe","l":"modal__l_15vhe","fullscreen":"modal__fullscreen_15vhe"};
|
|
18
18
|
require('./desktop.css')
|
|
19
19
|
|
|
20
20
|
var ContentDesktop = 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-33bab17e.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -13,7 +13,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
15
|
|
|
16
|
-
var styles = {"content":"
|
|
16
|
+
var styles = {"content":"modal__content_c0ucj modal__content_1f199","flex":"modal__flex_c0ucj modal__flex_1f199"};
|
|
17
17
|
require('./mobile.css')
|
|
18
18
|
|
|
19
19
|
var ContentMobile = function (props) { return (React__default['default'].createElement(components_content_Component.Content, tslib_es6.__assign({ styles: styles }, props))); };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: gzomm */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
/* sticky */
|
|
35
35
|
|
|
36
36
|
/* scroll */
|
|
37
|
-
}.
|
|
37
|
+
}.modal__content_1f199 {
|
|
38
38
|
box-sizing: border-box;
|
|
39
39
|
width: 100%
|
|
40
|
-
}.
|
|
40
|
+
}.modal__content_1f199:first-child {
|
|
41
41
|
padding-top: var(--modal-content-no-header-top-padding);
|
|
42
|
-
}.
|
|
42
|
+
}.modal__content_1f199:last-child {
|
|
43
43
|
padding-bottom: var(--modal-content-no-footer-bottom-padding);
|
|
44
|
-
}.
|
|
44
|
+
}.modal__flex_1f199 {
|
|
45
45
|
flex: 1 1 auto;
|
|
46
46
|
}
|
|
47
47
|
:root {
|
|
@@ -162,19 +162,12 @@
|
|
|
162
162
|
--color-static-status-purple: #673ab7;
|
|
163
163
|
--color-static-status-red: #d91d0b;
|
|
164
164
|
--color-static-status-teal: #219187;
|
|
165
|
-
--color-static-status-blue-tint-90: rgb(230, 242, 255);
|
|
166
165
|
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
167
|
-
--color-static-status-green-tint-90: rgb(231, 246, 239);
|
|
168
166
|
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
169
|
-
--color-static-status-grey-tint-90: rgb(240, 242, 243);
|
|
170
167
|
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
171
|
-
--color-static-status-orange-tint-90: rgb(252, 240, 230);
|
|
172
168
|
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
173
|
-
--color-static-status-purple-tint-90: rgb(240, 235, 248);
|
|
174
169
|
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
175
|
-
--color-static-status-red-tint-90: rgb(251, 232, 231);
|
|
176
170
|
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
177
|
-
--color-static-status-teal-tint-90: rgb(233, 244, 243);
|
|
178
171
|
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
179
172
|
}
|
|
180
173
|
:root {
|
|
@@ -606,20 +599,20 @@
|
|
|
606
599
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
607
600
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
608
601
|
}
|
|
609
|
-
.
|
|
602
|
+
.modal__content_15vhe {
|
|
610
603
|
}
|
|
611
|
-
.
|
|
604
|
+
.modal__flex_15vhe {
|
|
612
605
|
}
|
|
613
|
-
.
|
|
606
|
+
.modal__s_15vhe {
|
|
614
607
|
padding: var(--modal-s-content-paddings);
|
|
615
608
|
}
|
|
616
|
-
.
|
|
609
|
+
.modal__m_15vhe {
|
|
617
610
|
padding: var(--modal-m-content-paddings);
|
|
618
611
|
}
|
|
619
|
-
.
|
|
620
|
-
.
|
|
612
|
+
.modal__l_15vhe,
|
|
613
|
+
.modal__fullscreen_15vhe {
|
|
621
614
|
padding: var(--modal-l-content-paddings)
|
|
622
615
|
}
|
|
623
|
-
.
|
|
616
|
+
.modal__l_15vhe:last-child, .modal__fullscreen_15vhe:last-child {
|
|
624
617
|
padding-bottom: var(--modal-l-content-no-footer-bottom-padding);
|
|
625
618
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: vesbq */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
/* sticky */
|
|
31
31
|
|
|
32
32
|
/* scroll */
|
|
33
|
-
}.
|
|
33
|
+
}.modal__content_1f199 {
|
|
34
34
|
box-sizing: border-box;
|
|
35
35
|
width: 100%
|
|
36
|
-
}.
|
|
36
|
+
}.modal__content_1f199:first-child {
|
|
37
37
|
padding-top: var(--modal-content-no-header-top-padding);
|
|
38
|
-
}.
|
|
38
|
+
}.modal__content_1f199:last-child {
|
|
39
39
|
padding-bottom: var(--modal-content-no-footer-bottom-padding);
|
|
40
|
-
}.
|
|
40
|
+
}.modal__flex_1f199 {
|
|
41
41
|
flex: 1 1 auto;
|
|
42
42
|
}
|
|
43
43
|
:root {
|
|
@@ -158,19 +158,12 @@
|
|
|
158
158
|
--color-static-status-purple: #673ab7;
|
|
159
159
|
--color-static-status-red: #d91d0b;
|
|
160
160
|
--color-static-status-teal: #219187;
|
|
161
|
-
--color-static-status-blue-tint-90: rgb(230, 242, 255);
|
|
162
161
|
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
163
|
-
--color-static-status-green-tint-90: rgb(231, 246, 239);
|
|
164
162
|
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
165
|
-
--color-static-status-grey-tint-90: rgb(240, 242, 243);
|
|
166
163
|
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
167
|
-
--color-static-status-orange-tint-90: rgb(252, 240, 230);
|
|
168
164
|
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
169
|
-
--color-static-status-purple-tint-90: rgb(240, 235, 248);
|
|
170
165
|
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
171
|
-
--color-static-status-red-tint-90: rgb(251, 232, 231);
|
|
172
166
|
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
173
|
-
--color-static-status-teal-tint-90: rgb(233, 244, 243);
|
|
174
167
|
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
175
168
|
}
|
|
176
169
|
:root {
|
|
@@ -602,9 +595,9 @@
|
|
|
602
595
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
603
596
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
604
597
|
}
|
|
605
|
-
.
|
|
598
|
+
.modal__content_c0ucj {
|
|
606
599
|
|
|
607
600
|
padding: 0 var(--gap-m) 0;
|
|
608
601
|
}
|
|
609
|
-
.
|
|
602
|
+
.modal__flex_c0ucj {
|
|
610
603
|
}
|
|
@@ -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-33bab17e.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_1izrd modal__footer_mi4zw","highlighted":"modal__highlighted_1izrd modal__highlighted_mi4zw","sticky":"modal__sticky_1izrd modal__sticky_mi4zw","fullscreen":"modal__fullscreen_1izrd","s":"modal__s_1izrd","m":"modal__m_1izrd","l":"modal__l_1izrd"};
|
|
18
18
|
require('./desktop.css')
|
|
19
19
|
|
|
20
20
|
var FooterDesktop = 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 layoutStyles = {"column":"
|
|
15
|
+
var layoutStyles = {"column":"modal__column_ppltf","gap-16":"modal__gap-16_ppltf","gap-24":"modal__gap-24_ppltf","gap-32":"modal__gap-32_ppltf","start":"modal__start_ppltf","center":"modal__center_ppltf","space-between":"modal__space-between_ppltf"};
|
|
16
16
|
require('./layout.css')
|
|
17
17
|
|
|
18
18
|
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-33bab17e.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -13,7 +13,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
15
|
|
|
16
|
-
var styles = {"footer":"
|
|
16
|
+
var styles = {"footer":"modal__footer_1s6ab modal__footer_mi4zw","highlighted":"modal__highlighted_1s6ab modal__highlighted_mi4zw","sticky":"modal__sticky_1s6ab modal__sticky_mi4zw"};
|
|
17
17
|
require('./mobile.css')
|
|
18
18
|
|
|
19
19
|
var FooterMobile = function (props) { return React__default['default'].createElement(components_footer_Component.Footer, tslib_es6.__assign({ styles: styles }, props)); };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: fxlfm */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
/* scroll */
|
|
43
43
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
44
44
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
45
|
-
}.
|
|
45
|
+
}.modal__footer_mi4zw {
|
|
46
46
|
width: 100%;
|
|
47
47
|
box-sizing: border-box;
|
|
48
48
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
49
49
|
background: var(--modal-header-background);
|
|
50
|
-
}.
|
|
50
|
+
}.modal__sticky_mi4zw {
|
|
51
51
|
background: var(--modal-footer-sticky-background);
|
|
52
52
|
box-shadow: var(--modal-footer-sticky-box-shadow);
|
|
53
53
|
position: sticky;
|
|
54
|
-
}.
|
|
54
|
+
}.modal__highlighted_mi4zw {
|
|
55
55
|
background: var(--modal-footer-highlight-background);
|
|
56
56
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
57
57
|
}
|
|
@@ -173,19 +173,12 @@
|
|
|
173
173
|
--color-static-status-purple: #673ab7;
|
|
174
174
|
--color-static-status-red: #d91d0b;
|
|
175
175
|
--color-static-status-teal: #219187;
|
|
176
|
-
--color-static-status-blue-tint-90: rgb(230, 242, 255);
|
|
177
176
|
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
178
|
-
--color-static-status-green-tint-90: rgb(231, 246, 239);
|
|
179
177
|
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
180
|
-
--color-static-status-grey-tint-90: rgb(240, 242, 243);
|
|
181
178
|
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
182
|
-
--color-static-status-orange-tint-90: rgb(252, 240, 230);
|
|
183
179
|
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
184
|
-
--color-static-status-purple-tint-90: rgb(240, 235, 248);
|
|
185
180
|
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
186
|
-
--color-static-status-red-tint-90: rgb(251, 232, 231);
|
|
187
181
|
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
188
|
-
--color-static-status-teal-tint-90: rgb(233, 244, 243);
|
|
189
182
|
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
190
183
|
}
|
|
191
184
|
:root {
|
|
@@ -617,27 +610,27 @@
|
|
|
617
610
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
618
611
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
619
612
|
}
|
|
620
|
-
.
|
|
613
|
+
.modal__footer_1izrd {
|
|
621
614
|
|
|
622
615
|
border-bottom-left-radius: var(--modal-border-radius);
|
|
623
616
|
border-bottom-right-radius: var(--modal-border-radius);
|
|
624
617
|
}
|
|
625
|
-
.
|
|
618
|
+
.modal__highlighted_1izrd {
|
|
626
619
|
}
|
|
627
|
-
.
|
|
620
|
+
.modal__sticky_1izrd {
|
|
628
621
|
|
|
629
622
|
bottom: calc(var(--modal-vertical-padding) * -1);
|
|
630
623
|
}
|
|
631
|
-
.
|
|
624
|
+
.modal__fullscreen_1izrd {
|
|
632
625
|
bottom: 0;
|
|
633
626
|
}
|
|
634
|
-
.
|
|
627
|
+
.modal__s_1izrd {
|
|
635
628
|
padding: var(--modal-s-footer-paddings);
|
|
636
629
|
}
|
|
637
|
-
.
|
|
630
|
+
.modal__m_1izrd {
|
|
638
631
|
padding: var(--modal-m-footer-paddings);
|
|
639
632
|
}
|
|
640
|
-
.
|
|
641
|
-
.
|
|
633
|
+
.modal__l_1izrd,
|
|
634
|
+
.modal__fullscreen_1izrd {
|
|
642
635
|
padding: var(--modal-l-footer-paddings);
|
|
643
636
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: kkymr */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -25,60 +25,60 @@
|
|
|
25
25
|
|
|
26
26
|
/* scroll */
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__column_ppltf {
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
.modal__column_ppltf > * {
|
|
33
33
|
margin-bottom: var(--modal-footer-default-gap);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
36
|
-
.
|
|
35
|
+
.modal__column_ppltf > *:last-child,
|
|
36
|
+
.modal__column_ppltf > *:only-child {
|
|
37
37
|
margin-bottom: 0;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__column_ppltf.modal__gap-16_ppltf > * {
|
|
40
40
|
margin-bottom: var(--gap-m);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.modal__column_ppltf.modal__gap-24_ppltf > * {
|
|
43
43
|
margin-bottom: var(--gap-xl);
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.modal__column_ppltf.modal__gap-32_ppltf > * {
|
|
46
46
|
margin-bottom: var(--gap-2xl);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.modal__start_ppltf {
|
|
49
49
|
justify-content: flex-start;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.modal__center_ppltf {
|
|
52
52
|
justify-content: center;
|
|
53
53
|
}
|
|
54
|
-
.modal__space-
|
|
54
|
+
.modal__space-between_ppltf {
|
|
55
55
|
justify-content: space-between
|
|
56
56
|
}
|
|
57
|
-
.modal__space-
|
|
57
|
+
.modal__space-between_ppltf > * {
|
|
58
58
|
flex: 1;
|
|
59
59
|
}
|
|
60
|
-
.
|
|
61
|
-
.
|
|
62
|
-
.modal__space-
|
|
60
|
+
.modal__start_ppltf,
|
|
61
|
+
.modal__center_ppltf,
|
|
62
|
+
.modal__space-between_ppltf {
|
|
63
63
|
display: flex
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.modal__start_ppltf > *, .modal__center_ppltf > *, .modal__space-between_ppltf > * {
|
|
66
66
|
margin-right: var(--modal-footer-default-gap);
|
|
67
67
|
}
|
|
68
|
-
.
|
|
69
|
-
.
|
|
70
|
-
.
|
|
71
|
-
.
|
|
72
|
-
.modal__space-
|
|
73
|
-
.modal__space-
|
|
68
|
+
.modal__start_ppltf > *:last-child,
|
|
69
|
+
.modal__start_ppltf > *:only-child,
|
|
70
|
+
.modal__center_ppltf > *:last-child,
|
|
71
|
+
.modal__center_ppltf > *:only-child,
|
|
72
|
+
.modal__space-between_ppltf > *:last-child,
|
|
73
|
+
.modal__space-between_ppltf > *:only-child {
|
|
74
74
|
margin-right: 0;
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.modal__start_ppltf.modal__gap-16_ppltf > *, .modal__center_ppltf.modal__gap-16_ppltf > *, .modal__space-between_ppltf.modal__gap-16_ppltf > * {
|
|
77
77
|
margin-right: var(--gap-m);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.modal__start_ppltf.modal__gap-24_ppltf > *, .modal__center_ppltf.modal__gap-24_ppltf > *, .modal__space-between_ppltf.modal__gap-24_ppltf > * {
|
|
80
80
|
margin-right: var(--gap-xl);
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
.modal__start_ppltf.modal__gap-32_ppltf > *, .modal__center_ppltf.modal__gap-32_ppltf > *, .modal__space-between_ppltf.modal__gap-32_ppltf > * {
|
|
83
83
|
margin-right: var(--gap-2xl);
|
|
84
84
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1hbul */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
/* scroll */
|
|
35
35
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
36
36
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
37
|
-
}.
|
|
37
|
+
}.modal__footer_mi4zw {
|
|
38
38
|
width: 100%;
|
|
39
39
|
box-sizing: border-box;
|
|
40
40
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
41
41
|
background: var(--modal-header-background);
|
|
42
|
-
}.
|
|
42
|
+
}.modal__sticky_mi4zw {
|
|
43
43
|
background: var(--modal-footer-sticky-background);
|
|
44
44
|
box-shadow: var(--modal-footer-sticky-box-shadow);
|
|
45
45
|
position: sticky;
|
|
46
|
-
}.
|
|
46
|
+
}.modal__highlighted_mi4zw {
|
|
47
47
|
background: var(--modal-footer-highlight-background);
|
|
48
48
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
49
49
|
}
|
|
@@ -165,19 +165,12 @@
|
|
|
165
165
|
--color-static-status-purple: #673ab7;
|
|
166
166
|
--color-static-status-red: #d91d0b;
|
|
167
167
|
--color-static-status-teal: #219187;
|
|
168
|
-
--color-static-status-blue-tint-90: rgb(230, 242, 255);
|
|
169
168
|
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
170
|
-
--color-static-status-green-tint-90: rgb(231, 246, 239);
|
|
171
169
|
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
172
|
-
--color-static-status-grey-tint-90: rgb(240, 242, 243);
|
|
173
170
|
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
174
|
-
--color-static-status-orange-tint-90: rgb(252, 240, 230);
|
|
175
171
|
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
176
|
-
--color-static-status-purple-tint-90: rgb(240, 235, 248);
|
|
177
172
|
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
178
|
-
--color-static-status-red-tint-90: rgb(251, 232, 231);
|
|
179
173
|
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
180
|
-
--color-static-status-teal-tint-90: rgb(233, 244, 243);
|
|
181
174
|
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
182
175
|
}
|
|
183
176
|
:root {
|
|
@@ -609,13 +602,13 @@
|
|
|
609
602
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
610
603
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
611
604
|
}
|
|
612
|
-
.
|
|
605
|
+
.modal__footer_1s6ab {
|
|
613
606
|
|
|
614
607
|
padding: var(--gap-xl) var(--gap-m);
|
|
615
608
|
}
|
|
616
|
-
.
|
|
609
|
+
.modal__highlighted_1s6ab {
|
|
617
610
|
}
|
|
618
|
-
.
|
|
611
|
+
.modal__sticky_1s6ab {
|
|
619
612
|
|
|
620
613
|
bottom: 0;
|
|
621
614
|
}
|