@alfalab/core-components-modal 2.0.7 → 3.0.2
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 +73 -0
- package/dist/Component.desktop.js +4 -6
- package/dist/Component.mobile.js +4 -6
- 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 +16 -12
- package/dist/components/content/mobile.css +11 -7
- 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 +16 -12
- package/dist/components/footer/layout.css +25 -25
- package/dist/components/footer/mobile.css +11 -7
- 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 +20 -16
- package/dist/components/header/mobile.css +15 -11
- package/dist/cssm/Component.desktop.js +1 -3
- package/dist/cssm/Component.mobile.js +1 -3
- package/dist/desktop.css +8 -8
- package/dist/desktop.js +2 -2
- package/dist/esm/Component.desktop.js +4 -6
- package/dist/esm/Component.mobile.js +4 -6
- 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 +16 -12
- package/dist/esm/components/content/mobile.css +11 -7
- 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 +16 -12
- package/dist/esm/components/footer/layout.css +25 -25
- package/dist/esm/components/footer/mobile.css +11 -7
- 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 +20 -16
- package/dist/esm/components/header/mobile.css +15 -11
- 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-c34fafc2.js +4 -0
- package/dist/esm/{tslib.es6-ebe3bc3b.d.ts → tslib.es6-5b22fba8.d.ts} +0 -0
- package/dist/esm/{tslib.es6-ebe3bc3b.js → tslib.es6-5b22fba8.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 +3 -2
- package/dist/modern/Component.mobile.js +3 -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 +16 -12
- package/dist/modern/components/content/mobile.css +11 -7
- 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 +16 -12
- package/dist/modern/components/footer/layout.css +25 -25
- package/dist/modern/components/footer/mobile.css +11 -7
- 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 +20 -16
- package/dist/modern/components/header/mobile.css +15 -11
- 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-c34fafc2.js +4 -0
- package/dist/responsive.js +2 -2
- package/dist/transitions.css +8 -8
- package/dist/transitions.module-815de616.js +6 -0
- package/dist/{tslib.es6-8c57e210.d.ts → tslib.es6-5b726b20.d.ts} +0 -0
- package/dist/{tslib.es6-8c57e210.js → tslib.es6-5b726b20.js} +0 -0
- package/package.json +3 -3
- package/dist/esm/transitions.module-1ef342f7.js +0 -4
- package/dist/modern/transitions.module-1ef342f7.js +0 -4
- package/dist/transitions.module-22352f4f.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: epks1 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -25,60 +25,60 @@
|
|
|
25
25
|
|
|
26
26
|
/* scroll */
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__column_1d6fi {
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
.modal__column_1d6fi > * {
|
|
33
33
|
margin-bottom: var(--modal-footer-default-gap);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
36
|
-
.
|
|
35
|
+
.modal__column_1d6fi > *:last-child,
|
|
36
|
+
.modal__column_1d6fi > *:only-child {
|
|
37
37
|
margin-bottom: 0;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__column_1d6fi.modal__gap-16_1d6fi > * {
|
|
40
40
|
margin-bottom: var(--gap-m);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.modal__column_1d6fi.modal__gap-24_1d6fi > * {
|
|
43
43
|
margin-bottom: var(--gap-xl);
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.modal__column_1d6fi.modal__gap-32_1d6fi > * {
|
|
46
46
|
margin-bottom: var(--gap-2xl);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.modal__start_1d6fi {
|
|
49
49
|
justify-content: flex-start;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.modal__center_1d6fi {
|
|
52
52
|
justify-content: center;
|
|
53
53
|
}
|
|
54
|
-
.modal__space-
|
|
54
|
+
.modal__space-between_1d6fi {
|
|
55
55
|
justify-content: space-between
|
|
56
56
|
}
|
|
57
|
-
.modal__space-
|
|
57
|
+
.modal__space-between_1d6fi > * {
|
|
58
58
|
flex: 1;
|
|
59
59
|
}
|
|
60
|
-
.
|
|
61
|
-
.
|
|
62
|
-
.modal__space-
|
|
60
|
+
.modal__start_1d6fi,
|
|
61
|
+
.modal__center_1d6fi,
|
|
62
|
+
.modal__space-between_1d6fi {
|
|
63
63
|
display: flex
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.modal__start_1d6fi > *, .modal__center_1d6fi > *, .modal__space-between_1d6fi > * {
|
|
66
66
|
margin-right: var(--modal-footer-default-gap);
|
|
67
67
|
}
|
|
68
|
-
.
|
|
69
|
-
.
|
|
70
|
-
.
|
|
71
|
-
.
|
|
72
|
-
.modal__space-
|
|
73
|
-
.modal__space-
|
|
68
|
+
.modal__start_1d6fi > *:last-child,
|
|
69
|
+
.modal__start_1d6fi > *:only-child,
|
|
70
|
+
.modal__center_1d6fi > *:last-child,
|
|
71
|
+
.modal__center_1d6fi > *:only-child,
|
|
72
|
+
.modal__space-between_1d6fi > *:last-child,
|
|
73
|
+
.modal__space-between_1d6fi > *:only-child {
|
|
74
74
|
margin-right: 0;
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.modal__start_1d6fi.modal__gap-16_1d6fi > *, .modal__center_1d6fi.modal__gap-16_1d6fi > *, .modal__space-between_1d6fi.modal__gap-16_1d6fi > * {
|
|
77
77
|
margin-right: var(--gap-m);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.modal__start_1d6fi.modal__gap-24_1d6fi > *, .modal__center_1d6fi.modal__gap-24_1d6fi > *, .modal__space-between_1d6fi.modal__gap-24_1d6fi > * {
|
|
80
80
|
margin-right: var(--gap-xl);
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
.modal__start_1d6fi.modal__gap-32_1d6fi > *, .modal__center_1d6fi.modal__gap-32_1d6fi > *, .modal__space-between_1d6fi.modal__gap-32_1d6fi > * {
|
|
83
83
|
margin-right: var(--gap-2xl);
|
|
84
84
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1bc9n */
|
|
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_d6q2c {
|
|
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_d6q2c {
|
|
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_d6q2c {
|
|
47
47
|
background: var(--modal-footer-highlight-background);
|
|
48
48
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
49
49
|
}
|
|
@@ -322,6 +322,7 @@
|
|
|
322
322
|
--color-dark-bg-neutral-tint-10: rgb(90, 104, 118);
|
|
323
323
|
--color-dark-bg-neutral-tint-15: rgb(99, 112, 126);
|
|
324
324
|
--color-dark-bg-neutral-tint-30: rgb(127, 137, 149);
|
|
325
|
+
--color-dark-bg-neutral-shade-15: rgb(61, 74, 88);
|
|
325
326
|
--color-dark-bg-primary-alpha-8: rgba(11, 31, 53, 0.08);
|
|
326
327
|
--color-dark-bg-primary-inverted-alpha-3: rgba(255, 255, 255, 0.03);
|
|
327
328
|
--color-dark-bg-primary-inverted-alpha-7: rgba(255, 255, 255, 0.07);
|
|
@@ -329,6 +330,7 @@
|
|
|
329
330
|
--color-dark-bg-primary-inverted-alpha-15: rgba(255, 255, 255, 0.15);
|
|
330
331
|
--color-dark-bg-primary-inverted-alpha-20: rgba(255, 255, 255, 0.2);
|
|
331
332
|
--color-dark-bg-primary-inverted-alpha-40: rgba(255, 255, 255, 0.4);
|
|
333
|
+
--color-dark-bg-primary-inverted-alpha-50: rgba(255, 255, 255, 0.5);
|
|
332
334
|
--color-dark-bg-secondary-inverted-alpha-7: rgba(182, 188, 195, 0.07);
|
|
333
335
|
--color-dark-bg-secondary-inverted-alpha-15: rgba(182, 188, 195, 0.15);
|
|
334
336
|
--color-dark-bg-tertiary-tint-7: rgb(74, 89, 104);
|
|
@@ -383,6 +385,7 @@
|
|
|
383
385
|
--color-light-bg-neutral-shade-10: rgb(197, 200, 203);
|
|
384
386
|
--color-light-bg-neutral-shade-15: rgb(186, 189, 191);
|
|
385
387
|
--color-light-bg-neutral-shade-30: rgb(153, 155, 157);
|
|
388
|
+
--color-light-bg-neutral-tint-15: rgb(224, 227, 230);
|
|
386
389
|
--color-light-bg-primary-alpha-8: rgba(255, 255, 255, 0.08);
|
|
387
390
|
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
388
391
|
--color-light-bg-primary-inverted-alpha-7: rgba(11, 31, 53, 0.07);
|
|
@@ -390,6 +393,7 @@
|
|
|
390
393
|
--color-light-bg-primary-inverted-alpha-15: rgba(11, 31, 53, 0.15);
|
|
391
394
|
--color-light-bg-primary-inverted-alpha-20: rgba(11, 31, 53, 0.2);
|
|
392
395
|
--color-light-bg-primary-inverted-alpha-40: rgba(11, 31, 53, 0.4);
|
|
396
|
+
--color-light-bg-primary-inverted-alpha-50: rgba(11, 31, 53, 0.5);
|
|
393
397
|
--color-light-bg-secondary-inverted-alpha-7: rgba(35, 53, 73, 0.07);
|
|
394
398
|
--color-light-bg-secondary-inverted-alpha-15: rgba(35, 53, 73, 0.15);
|
|
395
399
|
--color-light-bg-tertiary-shade-7: rgb(215, 217, 219);
|
|
@@ -598,13 +602,13 @@
|
|
|
598
602
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
599
603
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
600
604
|
}
|
|
601
|
-
.
|
|
605
|
+
.modal__footer_12dmo {
|
|
602
606
|
|
|
603
607
|
padding: var(--gap-xl) var(--gap-m);
|
|
604
608
|
}
|
|
605
|
-
.
|
|
609
|
+
.modal__highlighted_12dmo {
|
|
606
610
|
}
|
|
607
|
-
.
|
|
611
|
+
.modal__sticky_12dmo {
|
|
608
612
|
|
|
609
613
|
bottom: 0;
|
|
610
614
|
}
|
|
@@ -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-5b726b20.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -16,7 +16,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
16
16
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
17
17
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
18
18
|
|
|
19
|
-
var styles = {"header":"
|
|
19
|
+
var styles = {"header":"modal__header_tljtd modal__header_157wf","s":"modal__s_tljtd","m":"modal__m_tljtd","l":"modal__l_tljtd","fullscreen":"modal__fullscreen_tljtd","sticky":"modal__sticky_tljtd modal__sticky_157wf","highlighted":"modal__highlighted_tljtd modal__highlighted_157wf","content":"modal__content_tljtd modal__content_157wf","title":"modal__title_tljtd modal__title_157wf"};
|
|
20
20
|
require('./desktop.css')
|
|
21
21
|
|
|
22
22
|
var HeaderDesktop = function (_a) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('../../tslib.es6-
|
|
5
|
+
require('../../tslib.es6-5b726b20.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-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-5b726b20.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
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
|
|
|
16
16
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
17
17
|
|
|
18
|
-
var styles = {"header":"
|
|
18
|
+
var styles = {"header":"modal__header_1g8u5 modal__header_157wf","sticky":"modal__sticky_1g8u5 modal__sticky_157wf","highlighted":"modal__highlighted_1g8u5 modal__highlighted_157wf","content":"modal__content_1g8u5 modal__content_157wf","title":"modal__title_1g8u5 modal__title_157wf"};
|
|
19
19
|
require('./mobile.css')
|
|
20
20
|
|
|
21
21
|
var HeaderMobile = function (props) { return React__default['default'].createElement(components_header_Component.Header, tslib_es6.__assign({ styles: styles }, props)); };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: zamxc */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
/* scroll */
|
|
46
46
|
--modal-header-highlight-box-shadow: var(--shadow-s);
|
|
47
47
|
--modal-header-highlight-background: var(--color-light-bg-primary);
|
|
48
|
-
}.
|
|
48
|
+
}.modal__header_157wf {
|
|
49
49
|
width: 100%;
|
|
50
50
|
box-sizing: border-box;
|
|
51
51
|
display: flex;
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
justify-content: flex-end;
|
|
54
54
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
55
55
|
background: var(--modal-header-background);
|
|
56
|
-
}.
|
|
56
|
+
}.modal__highlighted_157wf {
|
|
57
57
|
background: var(--modal-header-highlight-background);
|
|
58
58
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
59
|
-
}.
|
|
59
|
+
}.modal__sticky_157wf {
|
|
60
60
|
position: sticky;
|
|
61
|
-
}.
|
|
61
|
+
}.modal__content_157wf {
|
|
62
62
|
font-size: 24px;
|
|
63
63
|
line-height: 32px;
|
|
64
64
|
font-weight: 500;
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
font-family: var(--font-family-styrene);
|
|
67
67
|
flex-grow: 1;
|
|
68
68
|
margin: var(--gap-xs) var(--gap-m) var(--gap-xs) 0;
|
|
69
|
-
}.
|
|
69
|
+
}.modal__title_157wf {
|
|
70
70
|
word-break: break-word;
|
|
71
71
|
}
|
|
72
72
|
:root {
|
|
@@ -344,6 +344,7 @@
|
|
|
344
344
|
--color-dark-bg-neutral-tint-10: rgb(90, 104, 118);
|
|
345
345
|
--color-dark-bg-neutral-tint-15: rgb(99, 112, 126);
|
|
346
346
|
--color-dark-bg-neutral-tint-30: rgb(127, 137, 149);
|
|
347
|
+
--color-dark-bg-neutral-shade-15: rgb(61, 74, 88);
|
|
347
348
|
--color-dark-bg-primary-alpha-8: rgba(11, 31, 53, 0.08);
|
|
348
349
|
--color-dark-bg-primary-inverted-alpha-3: rgba(255, 255, 255, 0.03);
|
|
349
350
|
--color-dark-bg-primary-inverted-alpha-7: rgba(255, 255, 255, 0.07);
|
|
@@ -351,6 +352,7 @@
|
|
|
351
352
|
--color-dark-bg-primary-inverted-alpha-15: rgba(255, 255, 255, 0.15);
|
|
352
353
|
--color-dark-bg-primary-inverted-alpha-20: rgba(255, 255, 255, 0.2);
|
|
353
354
|
--color-dark-bg-primary-inverted-alpha-40: rgba(255, 255, 255, 0.4);
|
|
355
|
+
--color-dark-bg-primary-inverted-alpha-50: rgba(255, 255, 255, 0.5);
|
|
354
356
|
--color-dark-bg-secondary-inverted-alpha-7: rgba(182, 188, 195, 0.07);
|
|
355
357
|
--color-dark-bg-secondary-inverted-alpha-15: rgba(182, 188, 195, 0.15);
|
|
356
358
|
--color-dark-bg-tertiary-tint-7: rgb(74, 89, 104);
|
|
@@ -405,6 +407,7 @@
|
|
|
405
407
|
--color-light-bg-neutral-shade-10: rgb(197, 200, 203);
|
|
406
408
|
--color-light-bg-neutral-shade-15: rgb(186, 189, 191);
|
|
407
409
|
--color-light-bg-neutral-shade-30: rgb(153, 155, 157);
|
|
410
|
+
--color-light-bg-neutral-tint-15: rgb(224, 227, 230);
|
|
408
411
|
--color-light-bg-primary-alpha-8: rgba(255, 255, 255, 0.08);
|
|
409
412
|
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
410
413
|
--color-light-bg-primary-inverted-alpha-7: rgba(11, 31, 53, 0.07);
|
|
@@ -412,6 +415,7 @@
|
|
|
412
415
|
--color-light-bg-primary-inverted-alpha-15: rgba(11, 31, 53, 0.15);
|
|
413
416
|
--color-light-bg-primary-inverted-alpha-20: rgba(11, 31, 53, 0.2);
|
|
414
417
|
--color-light-bg-primary-inverted-alpha-40: rgba(11, 31, 53, 0.4);
|
|
418
|
+
--color-light-bg-primary-inverted-alpha-50: rgba(11, 31, 53, 0.5);
|
|
415
419
|
--color-light-bg-secondary-inverted-alpha-7: rgba(35, 53, 73, 0.07);
|
|
416
420
|
--color-light-bg-secondary-inverted-alpha-15: rgba(35, 53, 73, 0.15);
|
|
417
421
|
--color-light-bg-tertiary-shade-7: rgb(215, 217, 219);
|
|
@@ -620,33 +624,33 @@
|
|
|
620
624
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
621
625
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
622
626
|
}
|
|
623
|
-
.
|
|
627
|
+
.modal__header_tljtd {
|
|
624
628
|
|
|
625
629
|
min-height: var(--modal-header-min-height);
|
|
626
630
|
border-top-left-radius: var(--modal-border-radius);
|
|
627
631
|
border-top-right-radius: var(--modal-border-radius);
|
|
628
632
|
}
|
|
629
|
-
.
|
|
633
|
+
.modal__s_tljtd {
|
|
630
634
|
padding: var(--modal-s-header-paddings);
|
|
631
635
|
}
|
|
632
|
-
.
|
|
636
|
+
.modal__m_tljtd {
|
|
633
637
|
padding: var(--modal-m-header-paddings);
|
|
634
638
|
}
|
|
635
|
-
.
|
|
636
|
-
.
|
|
639
|
+
.modal__l_tljtd,
|
|
640
|
+
.modal__fullscreen_tljtd {
|
|
637
641
|
min-height: var(--modal-header-l-min-height);
|
|
638
642
|
padding: var(--modal-l-header-paddings);
|
|
639
643
|
}
|
|
640
|
-
.
|
|
644
|
+
.modal__sticky_tljtd {
|
|
641
645
|
|
|
642
646
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
643
647
|
}
|
|
644
|
-
.
|
|
648
|
+
.modal__fullscreen_tljtd {
|
|
645
649
|
top: 0;
|
|
646
650
|
}
|
|
647
|
-
.
|
|
651
|
+
.modal__highlighted_tljtd {
|
|
648
652
|
}
|
|
649
|
-
.
|
|
653
|
+
.modal__content_tljtd {
|
|
650
654
|
}
|
|
651
|
-
.
|
|
655
|
+
.modal__title_tljtd {
|
|
652
656
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: uxh38 */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
/* scroll */
|
|
36
36
|
--modal-header-highlight-box-shadow: var(--shadow-s);
|
|
37
37
|
--modal-header-highlight-background: var(--color-light-bg-primary);
|
|
38
|
-
}.
|
|
38
|
+
}.modal__header_157wf {
|
|
39
39
|
width: 100%;
|
|
40
40
|
box-sizing: border-box;
|
|
41
41
|
display: flex;
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
justify-content: flex-end;
|
|
44
44
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
45
45
|
background: var(--modal-header-background);
|
|
46
|
-
}.
|
|
46
|
+
}.modal__highlighted_157wf {
|
|
47
47
|
background: var(--modal-header-highlight-background);
|
|
48
48
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
49
|
-
}.
|
|
49
|
+
}.modal__sticky_157wf {
|
|
50
50
|
position: sticky;
|
|
51
|
-
}.
|
|
51
|
+
}.modal__content_157wf {
|
|
52
52
|
font-size: 24px;
|
|
53
53
|
line-height: 32px;
|
|
54
54
|
font-weight: 500;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
font-family: var(--font-family-styrene);
|
|
57
57
|
flex-grow: 1;
|
|
58
58
|
margin: var(--gap-xs) var(--gap-m) var(--gap-xs) 0;
|
|
59
|
-
}.
|
|
59
|
+
}.modal__title_157wf {
|
|
60
60
|
word-break: break-word;
|
|
61
61
|
}
|
|
62
62
|
:root {
|
|
@@ -334,6 +334,7 @@
|
|
|
334
334
|
--color-dark-bg-neutral-tint-10: rgb(90, 104, 118);
|
|
335
335
|
--color-dark-bg-neutral-tint-15: rgb(99, 112, 126);
|
|
336
336
|
--color-dark-bg-neutral-tint-30: rgb(127, 137, 149);
|
|
337
|
+
--color-dark-bg-neutral-shade-15: rgb(61, 74, 88);
|
|
337
338
|
--color-dark-bg-primary-alpha-8: rgba(11, 31, 53, 0.08);
|
|
338
339
|
--color-dark-bg-primary-inverted-alpha-3: rgba(255, 255, 255, 0.03);
|
|
339
340
|
--color-dark-bg-primary-inverted-alpha-7: rgba(255, 255, 255, 0.07);
|
|
@@ -341,6 +342,7 @@
|
|
|
341
342
|
--color-dark-bg-primary-inverted-alpha-15: rgba(255, 255, 255, 0.15);
|
|
342
343
|
--color-dark-bg-primary-inverted-alpha-20: rgba(255, 255, 255, 0.2);
|
|
343
344
|
--color-dark-bg-primary-inverted-alpha-40: rgba(255, 255, 255, 0.4);
|
|
345
|
+
--color-dark-bg-primary-inverted-alpha-50: rgba(255, 255, 255, 0.5);
|
|
344
346
|
--color-dark-bg-secondary-inverted-alpha-7: rgba(182, 188, 195, 0.07);
|
|
345
347
|
--color-dark-bg-secondary-inverted-alpha-15: rgba(182, 188, 195, 0.15);
|
|
346
348
|
--color-dark-bg-tertiary-tint-7: rgb(74, 89, 104);
|
|
@@ -395,6 +397,7 @@
|
|
|
395
397
|
--color-light-bg-neutral-shade-10: rgb(197, 200, 203);
|
|
396
398
|
--color-light-bg-neutral-shade-15: rgb(186, 189, 191);
|
|
397
399
|
--color-light-bg-neutral-shade-30: rgb(153, 155, 157);
|
|
400
|
+
--color-light-bg-neutral-tint-15: rgb(224, 227, 230);
|
|
398
401
|
--color-light-bg-primary-alpha-8: rgba(255, 255, 255, 0.08);
|
|
399
402
|
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
400
403
|
--color-light-bg-primary-inverted-alpha-7: rgba(11, 31, 53, 0.07);
|
|
@@ -402,6 +405,7 @@
|
|
|
402
405
|
--color-light-bg-primary-inverted-alpha-15: rgba(11, 31, 53, 0.15);
|
|
403
406
|
--color-light-bg-primary-inverted-alpha-20: rgba(11, 31, 53, 0.2);
|
|
404
407
|
--color-light-bg-primary-inverted-alpha-40: rgba(11, 31, 53, 0.4);
|
|
408
|
+
--color-light-bg-primary-inverted-alpha-50: rgba(11, 31, 53, 0.5);
|
|
405
409
|
--color-light-bg-secondary-inverted-alpha-7: rgba(35, 53, 73, 0.07);
|
|
406
410
|
--color-light-bg-secondary-inverted-alpha-15: rgba(35, 53, 73, 0.15);
|
|
407
411
|
--color-light-bg-tertiary-shade-7: rgb(215, 217, 219);
|
|
@@ -610,7 +614,7 @@
|
|
|
610
614
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
611
615
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
612
616
|
}
|
|
613
|
-
.
|
|
617
|
+
.modal__header_1g8u5 {
|
|
614
618
|
|
|
615
619
|
text-align: center;
|
|
616
620
|
flex-direction: row-reverse;
|
|
@@ -618,13 +622,13 @@
|
|
|
618
622
|
padding-right: var(--gap-4xl);
|
|
619
623
|
padding-left: 0;
|
|
620
624
|
}
|
|
621
|
-
.
|
|
625
|
+
.modal__sticky_1g8u5 {
|
|
622
626
|
|
|
623
627
|
top: 0;
|
|
624
628
|
}
|
|
625
|
-
.
|
|
629
|
+
.modal__highlighted_1g8u5 {
|
|
626
630
|
}
|
|
627
|
-
.
|
|
631
|
+
.modal__content_1g8u5 {
|
|
628
632
|
}
|
|
629
|
-
.
|
|
633
|
+
.modal__title_1g8u5 {
|
|
630
634
|
}
|
|
@@ -50,9 +50,7 @@ var ModalDesktopComponent = React.forwardRef(function (_a, ref) {
|
|
|
50
50
|
}, [fixedPosition, transitionProps]);
|
|
51
51
|
return (React__default['default'].createElement(coreComponentsBaseModal.BaseModal, tslib_es6.__assign({}, restProps, { ref: mergeRefs__default['default']([ref, modalRef]), wrapperClassName: cn__default['default'](styles__default['default'].wrapper, wrapperClassName, (_b = {},
|
|
52
52
|
_b[styles__default['default'].fullscreen] = fullscreen,
|
|
53
|
-
_b)), className: cn__default['default'](styles__default['default'].component, className, !fullscreen && styles__default['default'][size]), backdropProps: {
|
|
54
|
-
invisible: fullscreen,
|
|
55
|
-
}, transitionProps: tslib_es6.__assign(tslib_es6.__assign({ classNames: transitions__default['default'] }, transitionProps), { onEntered: handleEntered }) }), React__default['default'].Children.map(children, function (child) {
|
|
53
|
+
_b)), className: cn__default['default'](styles__default['default'].component, className, !fullscreen && styles__default['default'][size]), backdropProps: tslib_es6.__assign(tslib_es6.__assign({}, restProps.backdropProps), { invisible: fullscreen }), transitionProps: tslib_es6.__assign(tslib_es6.__assign({ classNames: transitions__default['default'] }, transitionProps), { onEntered: handleEntered }) }), React__default['default'].Children.map(children, function (child) {
|
|
56
54
|
return React.isValidElement(child)
|
|
57
55
|
? React.cloneElement(child, { size: child.props.size || size, fullscreen: fullscreen })
|
|
58
56
|
: child;
|
|
@@ -37,9 +37,7 @@ var ModalMobileComponent = React.forwardRef(function (_a, ref) {
|
|
|
37
37
|
['s', '(max-width: 375px)'],
|
|
38
38
|
['m', '(min-width: 376px)'],
|
|
39
39
|
], 's')[0];
|
|
40
|
-
return (React__default['default'].createElement(coreComponentsBaseModal.BaseModal, tslib_es6.__assign({}, restProps, { ref: ref, transitionProps: tslib_es6.__assign({ classNames: transitions__default['default'] }, restProps.transitionProps), className: cn__default['default'](className, styles__default['default'].component), backdropProps: {
|
|
41
|
-
invisible: true,
|
|
42
|
-
} }), React__default['default'].Children.map(children, function (child) {
|
|
40
|
+
return (React__default['default'].createElement(coreComponentsBaseModal.BaseModal, tslib_es6.__assign({}, restProps, { ref: ref, transitionProps: tslib_es6.__assign({ classNames: transitions__default['default'] }, restProps.transitionProps), className: cn__default['default'](className, styles__default['default'].component), backdropProps: tslib_es6.__assign(tslib_es6.__assign({}, restProps.backdropProps), { invisible: true }) }), React__default['default'].Children.map(children, function (child) {
|
|
43
41
|
return React.isValidElement(child)
|
|
44
42
|
? React.cloneElement(child, { size: child.props.size || size, fullscreen: true })
|
|
45
43
|
: child;
|
package/dist/desktop.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ilv5 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -30,29 +30,29 @@
|
|
|
30
30
|
|
|
31
31
|
/* scroll */
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.modal__wrapper_1g6u1 {
|
|
34
34
|
padding-top: var(--modal-vertical-padding);
|
|
35
35
|
padding-bottom: var(--modal-vertical-padding);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.modal__component_1g6u1 {
|
|
38
38
|
width: 100%;
|
|
39
39
|
max-width: 100%;
|
|
40
40
|
border-radius: var(--modal-border-radius);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.modal__fullscreen_1g6u1 {
|
|
43
43
|
padding-top: 0;
|
|
44
44
|
padding-bottom: 0
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.modal__fullscreen_1g6u1 .modal__component_1g6u1 {
|
|
47
47
|
flex: 1;
|
|
48
48
|
border-radius: 0;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.modal__s_1g6u1 {
|
|
51
51
|
width: var(--modal-s-width);
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
.modal__m_1g6u1 {
|
|
54
54
|
width: var(--modal-m-width);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.modal__l_1g6u1 {
|
|
57
57
|
width: var(--modal-l-width);
|
|
58
58
|
}
|
package/dist/desktop.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./tslib.es6-
|
|
5
|
+
require('./tslib.es6-5b726b20.js');
|
|
6
6
|
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-815de616.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-5b22fba8.js';
|
|
2
2
|
import React, { forwardRef, useRef, useCallback, isValidElement, cloneElement } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { BaseModal } from '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -12,9 +12,9 @@ import './components/content/Component.js';
|
|
|
12
12
|
import { ContentDesktop } from './components/content/Component.desktop.js';
|
|
13
13
|
import './components/footer/Component.js';
|
|
14
14
|
import { FooterDesktop } from './components/footer/Component.desktop.js';
|
|
15
|
-
import { t as transitions } from './transitions.module-
|
|
15
|
+
import { t as transitions } from './transitions.module-c34fafc2.js';
|
|
16
16
|
|
|
17
|
-
var styles = {"wrapper":"
|
|
17
|
+
var styles = {"wrapper":"modal__wrapper_1g6u1","component":"modal__component_1g6u1","fullscreen":"modal__fullscreen_1g6u1","s":"modal__s_1g6u1","m":"modal__m_1g6u1","l":"modal__l_1g6u1"};
|
|
18
18
|
require('./desktop.css')
|
|
19
19
|
|
|
20
20
|
var ModalDesktopComponent = forwardRef(function (_a, ref) {
|
|
@@ -35,9 +35,7 @@ var ModalDesktopComponent = forwardRef(function (_a, ref) {
|
|
|
35
35
|
}, [fixedPosition, transitionProps]);
|
|
36
36
|
return (React.createElement(BaseModal, __assign({}, restProps, { ref: mergeRefs([ref, modalRef]), wrapperClassName: cn(styles.wrapper, wrapperClassName, (_b = {},
|
|
37
37
|
_b[styles.fullscreen] = fullscreen,
|
|
38
|
-
_b)), className: cn(styles.component, className, !fullscreen && styles[size]), backdropProps: {
|
|
39
|
-
invisible: fullscreen,
|
|
40
|
-
}, transitionProps: __assign(__assign({ classNames: transitions }, transitionProps), { onEntered: handleEntered }) }), React.Children.map(children, function (child) {
|
|
38
|
+
_b)), className: cn(styles.component, className, !fullscreen && styles[size]), backdropProps: __assign(__assign({}, restProps.backdropProps), { invisible: fullscreen }), transitionProps: __assign(__assign({ classNames: transitions }, transitionProps), { onEntered: handleEntered }) }), React.Children.map(children, function (child) {
|
|
41
39
|
return isValidElement(child)
|
|
42
40
|
? cloneElement(child, { size: child.props.size || size, fullscreen: fullscreen })
|
|
43
41
|
: child;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-5b22fba8.js';
|
|
2
2
|
import React, { forwardRef, isValidElement, cloneElement } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { BaseModal } from '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -8,13 +8,13 @@ import { Closer } from './components/closer/Component.js';
|
|
|
8
8
|
import './components/header/Component.js';
|
|
9
9
|
import './components/content/Component.js';
|
|
10
10
|
import './components/footer/Component.js';
|
|
11
|
-
import { t as transitions } from './transitions.module-
|
|
11
|
+
import { t as transitions } from './transitions.module-c34fafc2.js';
|
|
12
12
|
import { useMedia } from '@alfalab/hooks';
|
|
13
13
|
import { HeaderMobile } from './components/header/Component.mobile.js';
|
|
14
14
|
import { ContentMobile } from './components/content/Component.mobile.js';
|
|
15
15
|
import { FooterMobile } from './components/footer/Component.mobile.js';
|
|
16
16
|
|
|
17
|
-
var styles = {"component":"
|
|
17
|
+
var styles = {"component":"modal__component_1etis"};
|
|
18
18
|
require('./mobile.css')
|
|
19
19
|
|
|
20
20
|
var ModalMobileComponent = forwardRef(function (_a, ref) {
|
|
@@ -23,9 +23,7 @@ var ModalMobileComponent = forwardRef(function (_a, ref) {
|
|
|
23
23
|
['s', '(max-width: 375px)'],
|
|
24
24
|
['m', '(min-width: 376px)'],
|
|
25
25
|
], 's')[0];
|
|
26
|
-
return (React.createElement(BaseModal, __assign({}, restProps, { ref: ref, transitionProps: __assign({ classNames: transitions }, restProps.transitionProps), className: cn(className, styles.component), backdropProps: {
|
|
27
|
-
invisible: true,
|
|
28
|
-
} }), React.Children.map(children, function (child) {
|
|
26
|
+
return (React.createElement(BaseModal, __assign({}, restProps, { ref: ref, transitionProps: __assign({ classNames: transitions }, restProps.transitionProps), className: cn(className, styles.component), backdropProps: __assign(__assign({}, restProps.backdropProps), { invisible: true }) }), React.Children.map(children, function (child) {
|
|
29
27
|
return isValidElement(child)
|
|
30
28
|
? cloneElement(child, { size: child.props.size || size, fullscreen: true })
|
|
31
29
|
: child;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-5b22fba8.js';
|
|
2
2
|
import React, { forwardRef, useMemo, useContext } from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -13,7 +13,7 @@ import './components/content/Component.desktop.js';
|
|
|
13
13
|
import './components/footer/Component.js';
|
|
14
14
|
import './components/footer/Component.desktop.js';
|
|
15
15
|
import { ModalDesktop } from './Component.desktop.js';
|
|
16
|
-
import './transitions.module-
|
|
16
|
+
import './transitions.module-c34fafc2.js';
|
|
17
17
|
import { useMedia } from '@alfalab/hooks';
|
|
18
18
|
import './components/header/Component.mobile.js';
|
|
19
19
|
import './components/content/Component.mobile.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-5b22fba8.js';
|
|
2
2
|
import React, { useContext, useCallback } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
5
5
|
import { ModalContext } from '../../Context.js';
|
|
6
6
|
import { Button } from '@alfalab/core-components-button/dist/esm';
|
|
7
7
|
|
|
8
|
-
var styles = {"closer":"
|
|
8
|
+
var styles = {"closer":"modal__closer_1u0v9","left":"modal__left_1u0v9","right":"modal__right_1u0v9","fullscreen":"modal__fullscreen_1u0v9"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var Closer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ijo5 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
/* scroll */
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.modal__closer_1u0v9 {
|
|
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_1u0v9:hover {
|
|
37
37
|
opacity: 0.7;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__closer_1u0v9:active {
|
|
40
40
|
opacity: 0.5;
|
|
41
41
|
}
|
|
42
|
-
.
|
|
43
|
-
.
|
|
42
|
+
.modal__left_1u0v9,
|
|
43
|
+
.modal__right_1u0v9 {
|
|
44
44
|
position: sticky;
|
|
45
45
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.modal__right_1u0v9 {
|
|
48
48
|
margin-left: auto;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.modal__fullscreen_1u0v9 {
|
|
51
51
|
top: 0;
|
|
52
52
|
}
|