@alfalab/core-components-modal 4.0.5 → 4.1.0
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 +27 -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 +14 -12
- package/dist/components/content/mobile.css +9 -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 +14 -12
- package/dist/components/footer/layout.css +25 -25
- package/dist/components/footer/mobile.css +9 -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 +18 -16
- package/dist/components/header/mobile.css +13 -11
- 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 +14 -12
- package/dist/esm/components/content/mobile.css +9 -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 +14 -12
- package/dist/esm/components/footer/layout.css +25 -25
- package/dist/esm/components/footer/mobile.css +9 -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 +18 -16
- package/dist/esm/components/header/mobile.css +13 -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-602ea4ef.js +4 -0
- package/dist/esm/{tslib.es6-44154213.d.ts → tslib.es6-75e2f0f0.d.ts} +0 -0
- package/dist/esm/{tslib.es6-44154213.js → tslib.es6-75e2f0f0.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 +14 -12
- package/dist/modern/components/content/mobile.css +9 -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 +14 -12
- package/dist/modern/components/footer/layout.css +25 -25
- package/dist/modern/components/footer/mobile.css +9 -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 +18 -16
- package/dist/modern/components/header/mobile.css +13 -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-602ea4ef.js +4 -0
- package/dist/responsive.js +2 -2
- package/dist/transitions.css +8 -8
- package/dist/transitions.module-336e79fe.js +6 -0
- package/dist/{tslib.es6-33bab17e.d.ts → tslib.es6-ae9d9dce.d.ts} +0 -0
- package/dist/{tslib.es6-33bab17e.js → tslib.es6-ae9d9dce.js} +0 -0
- package/package.json +4 -4
- package/dist/esm/transitions.module-027dd21d.js +0 -4
- package/dist/modern/transitions.module-027dd21d.js +0 -4
- package/dist/transitions.module-ac51ff87.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1l8sb */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -25,60 +25,60 @@
|
|
|
25
25
|
|
|
26
26
|
/* scroll */
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
.modal__column_1xjwa {
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
.modal__column_1xjwa > * {
|
|
33
33
|
margin-bottom: var(--modal-footer-default-gap);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
36
|
-
.
|
|
35
|
+
.modal__column_1xjwa > *:last-child,
|
|
36
|
+
.modal__column_1xjwa > *:only-child {
|
|
37
37
|
margin-bottom: 0;
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.modal__column_1xjwa.modal__gap-16_1xjwa > * {
|
|
40
40
|
margin-bottom: var(--gap-m);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.modal__column_1xjwa.modal__gap-24_1xjwa > * {
|
|
43
43
|
margin-bottom: var(--gap-xl);
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.modal__column_1xjwa.modal__gap-32_1xjwa > * {
|
|
46
46
|
margin-bottom: var(--gap-2xl);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.modal__start_1xjwa {
|
|
49
49
|
justify-content: flex-start;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.modal__center_1xjwa {
|
|
52
52
|
justify-content: center;
|
|
53
53
|
}
|
|
54
|
-
.modal__space-
|
|
54
|
+
.modal__space-between_1xjwa {
|
|
55
55
|
justify-content: space-between
|
|
56
56
|
}
|
|
57
|
-
.modal__space-
|
|
57
|
+
.modal__space-between_1xjwa > * {
|
|
58
58
|
flex: 1;
|
|
59
59
|
}
|
|
60
|
-
.
|
|
61
|
-
.
|
|
62
|
-
.modal__space-
|
|
60
|
+
.modal__start_1xjwa,
|
|
61
|
+
.modal__center_1xjwa,
|
|
62
|
+
.modal__space-between_1xjwa {
|
|
63
63
|
display: flex
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.modal__start_1xjwa > *, .modal__center_1xjwa > *, .modal__space-between_1xjwa > * {
|
|
66
66
|
margin-right: var(--modal-footer-default-gap);
|
|
67
67
|
}
|
|
68
|
-
.
|
|
69
|
-
.
|
|
70
|
-
.
|
|
71
|
-
.
|
|
72
|
-
.modal__space-
|
|
73
|
-
.modal__space-
|
|
68
|
+
.modal__start_1xjwa > *:last-child,
|
|
69
|
+
.modal__start_1xjwa > *:only-child,
|
|
70
|
+
.modal__center_1xjwa > *:last-child,
|
|
71
|
+
.modal__center_1xjwa > *:only-child,
|
|
72
|
+
.modal__space-between_1xjwa > *:last-child,
|
|
73
|
+
.modal__space-between_1xjwa > *:only-child {
|
|
74
74
|
margin-right: 0;
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.modal__start_1xjwa.modal__gap-16_1xjwa > *, .modal__center_1xjwa.modal__gap-16_1xjwa > *, .modal__space-between_1xjwa.modal__gap-16_1xjwa > * {
|
|
77
77
|
margin-right: var(--gap-m);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.modal__start_1xjwa.modal__gap-24_1xjwa > *, .modal__center_1xjwa.modal__gap-24_1xjwa > *, .modal__space-between_1xjwa.modal__gap-24_1xjwa > * {
|
|
80
80
|
margin-right: var(--gap-xl);
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
.modal__start_1xjwa.modal__gap-32_1xjwa > *, .modal__center_1xjwa.modal__gap-32_1xjwa > *, .modal__space-between_1xjwa.modal__gap-32_1xjwa > * {
|
|
83
83
|
margin-right: var(--gap-2xl);
|
|
84
84
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ro5p */
|
|
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_3mc22 {
|
|
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_3mc22 {
|
|
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_3mc22 {
|
|
47
47
|
background: var(--modal-footer-highlight-background);
|
|
48
48
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
49
49
|
}
|
|
@@ -346,6 +346,7 @@
|
|
|
346
346
|
--color-dark-graphic-primary-alpha-30: rgba(255, 255, 255, 0.3);
|
|
347
347
|
--color-dark-graphic-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
348
348
|
--color-dark-graphic-primary-alpha-50: rgba(255, 255, 255, 0.5);
|
|
349
|
+
--color-dark-graphic-primary-shade-15: rgb(217, 217, 217);
|
|
349
350
|
--color-dark-graphic-primary-shade-30: rgb(179, 179, 179);
|
|
350
351
|
--color-dark-graphic-primary-shade-50: rgb(128, 128, 128);
|
|
351
352
|
--color-dark-graphic-primary-tint-10: rgb(255, 255, 255);
|
|
@@ -409,6 +410,7 @@
|
|
|
409
410
|
--color-light-graphic-primary-alpha-30: rgba(11, 31, 53, 0.3);
|
|
410
411
|
--color-light-graphic-primary-alpha-40: rgba(11, 31, 53, 0.4);
|
|
411
412
|
--color-light-graphic-primary-alpha-50: rgba(11, 31, 53, 0.5);
|
|
413
|
+
--color-light-graphic-primary-tint-15: rgb(48, 65, 83);
|
|
412
414
|
--color-light-graphic-primary-tint-30: rgb(84, 98, 114);
|
|
413
415
|
--color-light-graphic-primary-tint-50: rgb(133, 143, 154);
|
|
414
416
|
--color-light-graphic-primary-shade-10: rgb(10, 28, 48);
|
|
@@ -602,13 +604,13 @@
|
|
|
602
604
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
603
605
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
604
606
|
}
|
|
605
|
-
.
|
|
607
|
+
.modal__footer_1usq0 {
|
|
606
608
|
|
|
607
609
|
padding: var(--gap-xl) var(--gap-m);
|
|
608
610
|
}
|
|
609
|
-
.
|
|
611
|
+
.modal__highlighted_1usq0 {
|
|
610
612
|
}
|
|
611
|
-
.
|
|
613
|
+
.modal__sticky_1usq0 {
|
|
612
614
|
|
|
613
615
|
bottom: 0;
|
|
614
616
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-75e2f0f0.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -7,7 +7,7 @@ import '@alfalab/core-components-button/dist/esm';
|
|
|
7
7
|
import '../closer/Component.js';
|
|
8
8
|
import { Header } from './Component.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"header":"
|
|
10
|
+
var styles = {"header":"modal__header_df06s modal__header_1u4m1","s":"modal__s_df06s","m":"modal__m_df06s","l":"modal__l_df06s","fullscreen":"modal__fullscreen_df06s","sticky":"modal__sticky_df06s modal__sticky_1u4m1","highlighted":"modal__highlighted_df06s modal__highlighted_1u4m1","content":"modal__content_df06s modal__content_1u4m1","title":"modal__title_df06s modal__title_1u4m1"};
|
|
11
11
|
require('./desktop.css')
|
|
12
12
|
|
|
13
13
|
var HeaderDesktop = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-75e2f0f0.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -7,7 +7,7 @@ import '@alfalab/core-components-button/dist/esm';
|
|
|
7
7
|
import '../closer/Component.js';
|
|
8
8
|
import { Header } from './Component.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"header":"
|
|
10
|
+
var styles = {"header":"modal__header_1mqiy modal__header_1u4m1","sticky":"modal__sticky_1mqiy modal__sticky_1u4m1","highlighted":"modal__highlighted_1mqiy modal__highlighted_1u4m1","content":"modal__content_1mqiy modal__content_1u4m1","title":"modal__title_1mqiy modal__title_1u4m1"};
|
|
11
11
|
require('./mobile.css')
|
|
12
12
|
|
|
13
13
|
var HeaderMobile = function (props) { return React.createElement(Header, __assign({ styles: styles }, props)); };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1c3i9 */
|
|
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_1u4m1 {
|
|
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_1u4m1 {
|
|
57
57
|
background: var(--modal-header-highlight-background);
|
|
58
58
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
59
|
-
}.
|
|
59
|
+
}.modal__sticky_1u4m1 {
|
|
60
60
|
position: sticky;
|
|
61
|
-
}.
|
|
61
|
+
}.modal__content_1u4m1 {
|
|
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_1u4m1 {
|
|
70
70
|
word-break: break-word;
|
|
71
71
|
}
|
|
72
72
|
:root {
|
|
@@ -368,6 +368,7 @@
|
|
|
368
368
|
--color-dark-graphic-primary-alpha-30: rgba(255, 255, 255, 0.3);
|
|
369
369
|
--color-dark-graphic-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
370
370
|
--color-dark-graphic-primary-alpha-50: rgba(255, 255, 255, 0.5);
|
|
371
|
+
--color-dark-graphic-primary-shade-15: rgb(217, 217, 217);
|
|
371
372
|
--color-dark-graphic-primary-shade-30: rgb(179, 179, 179);
|
|
372
373
|
--color-dark-graphic-primary-shade-50: rgb(128, 128, 128);
|
|
373
374
|
--color-dark-graphic-primary-tint-10: rgb(255, 255, 255);
|
|
@@ -431,6 +432,7 @@
|
|
|
431
432
|
--color-light-graphic-primary-alpha-30: rgba(11, 31, 53, 0.3);
|
|
432
433
|
--color-light-graphic-primary-alpha-40: rgba(11, 31, 53, 0.4);
|
|
433
434
|
--color-light-graphic-primary-alpha-50: rgba(11, 31, 53, 0.5);
|
|
435
|
+
--color-light-graphic-primary-tint-15: rgb(48, 65, 83);
|
|
434
436
|
--color-light-graphic-primary-tint-30: rgb(84, 98, 114);
|
|
435
437
|
--color-light-graphic-primary-tint-50: rgb(133, 143, 154);
|
|
436
438
|
--color-light-graphic-primary-shade-10: rgb(10, 28, 48);
|
|
@@ -624,33 +626,33 @@
|
|
|
624
626
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
625
627
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
626
628
|
}
|
|
627
|
-
.
|
|
629
|
+
.modal__header_df06s {
|
|
628
630
|
|
|
629
631
|
min-height: var(--modal-header-min-height);
|
|
630
632
|
border-top-left-radius: var(--modal-border-radius);
|
|
631
633
|
border-top-right-radius: var(--modal-border-radius);
|
|
632
634
|
}
|
|
633
|
-
.
|
|
635
|
+
.modal__s_df06s {
|
|
634
636
|
padding: var(--modal-s-header-paddings);
|
|
635
637
|
}
|
|
636
|
-
.
|
|
638
|
+
.modal__m_df06s {
|
|
637
639
|
padding: var(--modal-m-header-paddings);
|
|
638
640
|
}
|
|
639
|
-
.
|
|
640
|
-
.
|
|
641
|
+
.modal__l_df06s,
|
|
642
|
+
.modal__fullscreen_df06s {
|
|
641
643
|
min-height: var(--modal-header-l-min-height);
|
|
642
644
|
padding: var(--modal-l-header-paddings);
|
|
643
645
|
}
|
|
644
|
-
.
|
|
646
|
+
.modal__sticky_df06s {
|
|
645
647
|
|
|
646
648
|
top: calc(var(--modal-vertical-padding) * -1);
|
|
647
649
|
}
|
|
648
|
-
.
|
|
650
|
+
.modal__fullscreen_df06s {
|
|
649
651
|
top: 0;
|
|
650
652
|
}
|
|
651
|
-
.
|
|
653
|
+
.modal__highlighted_df06s {
|
|
652
654
|
}
|
|
653
|
-
.
|
|
655
|
+
.modal__content_df06s {
|
|
654
656
|
}
|
|
655
|
-
.
|
|
657
|
+
.modal__title_df06s {
|
|
656
658
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 14nz6 */
|
|
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_1u4m1 {
|
|
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_1u4m1 {
|
|
47
47
|
background: var(--modal-header-highlight-background);
|
|
48
48
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
49
|
-
}.
|
|
49
|
+
}.modal__sticky_1u4m1 {
|
|
50
50
|
position: sticky;
|
|
51
|
-
}.
|
|
51
|
+
}.modal__content_1u4m1 {
|
|
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_1u4m1 {
|
|
60
60
|
word-break: break-word;
|
|
61
61
|
}
|
|
62
62
|
:root {
|
|
@@ -358,6 +358,7 @@
|
|
|
358
358
|
--color-dark-graphic-primary-alpha-30: rgba(255, 255, 255, 0.3);
|
|
359
359
|
--color-dark-graphic-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
360
360
|
--color-dark-graphic-primary-alpha-50: rgba(255, 255, 255, 0.5);
|
|
361
|
+
--color-dark-graphic-primary-shade-15: rgb(217, 217, 217);
|
|
361
362
|
--color-dark-graphic-primary-shade-30: rgb(179, 179, 179);
|
|
362
363
|
--color-dark-graphic-primary-shade-50: rgb(128, 128, 128);
|
|
363
364
|
--color-dark-graphic-primary-tint-10: rgb(255, 255, 255);
|
|
@@ -421,6 +422,7 @@
|
|
|
421
422
|
--color-light-graphic-primary-alpha-30: rgba(11, 31, 53, 0.3);
|
|
422
423
|
--color-light-graphic-primary-alpha-40: rgba(11, 31, 53, 0.4);
|
|
423
424
|
--color-light-graphic-primary-alpha-50: rgba(11, 31, 53, 0.5);
|
|
425
|
+
--color-light-graphic-primary-tint-15: rgb(48, 65, 83);
|
|
424
426
|
--color-light-graphic-primary-tint-30: rgb(84, 98, 114);
|
|
425
427
|
--color-light-graphic-primary-tint-50: rgb(133, 143, 154);
|
|
426
428
|
--color-light-graphic-primary-shade-10: rgb(10, 28, 48);
|
|
@@ -614,7 +616,7 @@
|
|
|
614
616
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
615
617
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
616
618
|
}
|
|
617
|
-
.
|
|
619
|
+
.modal__header_1mqiy {
|
|
618
620
|
|
|
619
621
|
text-align: center;
|
|
620
622
|
flex-direction: row-reverse;
|
|
@@ -622,13 +624,13 @@
|
|
|
622
624
|
padding-right: var(--gap-4xl);
|
|
623
625
|
padding-left: 0;
|
|
624
626
|
}
|
|
625
|
-
.
|
|
627
|
+
.modal__sticky_1mqiy {
|
|
626
628
|
|
|
627
629
|
top: 0;
|
|
628
630
|
}
|
|
629
|
-
.
|
|
631
|
+
.modal__highlighted_1mqiy {
|
|
630
632
|
}
|
|
631
|
-
.
|
|
633
|
+
.modal__content_1mqiy {
|
|
632
634
|
}
|
|
633
|
-
.
|
|
635
|
+
.modal__title_1mqiy {
|
|
634
636
|
}
|
package/dist/esm/desktop.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1fgr1 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -30,29 +30,29 @@
|
|
|
30
30
|
|
|
31
31
|
/* scroll */
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.modal__wrapper_155wd {
|
|
34
34
|
padding-top: var(--modal-vertical-padding);
|
|
35
35
|
padding-bottom: var(--modal-vertical-padding);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.modal__component_155wd {
|
|
38
38
|
width: 100%;
|
|
39
39
|
max-width: 100%;
|
|
40
40
|
border-radius: var(--modal-border-radius);
|
|
41
41
|
}
|
|
42
|
-
.
|
|
42
|
+
.modal__fullscreen_155wd {
|
|
43
43
|
padding-top: 0;
|
|
44
44
|
padding-bottom: 0
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.modal__fullscreen_155wd .modal__component_155wd {
|
|
47
47
|
flex: 1;
|
|
48
48
|
border-radius: 0;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.modal__s_155wd {
|
|
51
51
|
width: var(--modal-s-width);
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
.modal__m_155wd {
|
|
54
54
|
width: var(--modal-m-width);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.modal__l_155wd {
|
|
57
57
|
width: var(--modal-l-width);
|
|
58
58
|
}
|
package/dist/esm/desktop.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-75e2f0f0.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -13,4 +13,4 @@ import './components/content/Component.desktop.js';
|
|
|
13
13
|
import './components/footer/Component.js';
|
|
14
14
|
import './components/footer/Component.desktop.js';
|
|
15
15
|
export { ModalDesktop } from './Component.desktop.js';
|
|
16
|
-
import './transitions.module-
|
|
16
|
+
import './transitions.module-602ea4ef.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-75e2f0f0.js';
|
|
2
2
|
import '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 './Component.desktop.js';
|
|
16
|
-
import './transitions.module-
|
|
16
|
+
import './transitions.module-602ea4ef.js';
|
|
17
17
|
import '@alfalab/hooks';
|
|
18
18
|
import './components/header/Component.mobile.js';
|
|
19
19
|
import './components/content/Component.mobile.js';
|
package/dist/esm/mobile.css
CHANGED
package/dist/esm/mobile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-75e2f0f0.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-base-modal/dist/esm';
|
|
@@ -8,7 +8,7 @@ import './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 './transitions.module-
|
|
11
|
+
import './transitions.module-602ea4ef.js';
|
|
12
12
|
import '@alfalab/hooks';
|
|
13
13
|
import './components/header/Component.mobile.js';
|
|
14
14
|
import './components/content/Component.mobile.js';
|
package/dist/esm/responsive.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-75e2f0f0.js';
|
|
2
2
|
import '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 './Component.desktop.js';
|
|
16
|
-
import './transitions.module-
|
|
16
|
+
import './transitions.module-602ea4ef.js';
|
|
17
17
|
import '@alfalab/hooks';
|
|
18
18
|
import './components/header/Component.mobile.js';
|
|
19
19
|
import './components/content/Component.mobile.js';
|
package/dist/esm/transitions.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
/* hash: 1050y */
|
|
2
|
+
.modal__appear_1mmp2,
|
|
3
|
+
.modal__enter_1mmp2 {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
8
|
+
.modal__appearActive_1mmp2,
|
|
9
|
+
.modal__enterActive_1mmp2 {
|
|
10
10
|
opacity: 1;
|
|
11
11
|
transform: translateY(0);
|
|
12
12
|
transition: opacity 200ms ease-in, transform 200ms ease-in;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.
|
|
15
|
+
.modal__exit_1mmp2 {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.modal__exitActive_1mmp2,
|
|
21
|
+
.modal__exitDone_1mmp2 {
|
|
22
22
|
opacity: 0;
|
|
23
23
|
transform: translateY(15px);
|
|
24
24
|
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var transitions = {"appear":"modal__appear_1mmp2","enter":"modal__enter_1mmp2","appearActive":"modal__appearActive_1mmp2","enterActive":"modal__enterActive_1mmp2","exit":"modal__exit_1mmp2","exitActive":"modal__exitActive_1mmp2","exitDone":"modal__exitDone_1mmp2"};
|
|
2
|
+
require('./transitions.css')
|
|
3
|
+
|
|
4
|
+
export { transitions as t };
|
|
File without changes
|
|
File without changes
|
package/dist/index.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-ae9d9dce.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
|
require('./Component.desktop.js');
|
|
20
|
-
require('./transitions.module-
|
|
20
|
+
require('./transitions.module-336e79fe.js');
|
|
21
21
|
require('@alfalab/hooks');
|
|
22
22
|
require('./components/header/Component.mobile.js');
|
|
23
23
|
require('./components/content/Component.mobile.js');
|
package/dist/mobile.css
CHANGED
package/dist/mobile.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-ae9d9dce.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-base-modal');
|
|
@@ -12,7 +12,7 @@ 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
|
-
require('./transitions.module-
|
|
15
|
+
require('./transitions.module-336e79fe.js');
|
|
16
16
|
require('@alfalab/hooks');
|
|
17
17
|
require('./components/header/Component.mobile.js');
|
|
18
18
|
require('./components/content/Component.mobile.js');
|
|
@@ -11,9 +11,9 @@ import './components/content/Component.js';
|
|
|
11
11
|
import { ContentDesktop } from './components/content/Component.desktop.js';
|
|
12
12
|
import './components/footer/Component.js';
|
|
13
13
|
import { FooterDesktop } from './components/footer/Component.desktop.js';
|
|
14
|
-
import { t as transitions } from './transitions.module-
|
|
14
|
+
import { t as transitions } from './transitions.module-602ea4ef.js';
|
|
15
15
|
|
|
16
|
-
var styles = {"wrapper":"
|
|
16
|
+
var styles = {"wrapper":"modal__wrapper_155wd","component":"modal__component_155wd","fullscreen":"modal__fullscreen_155wd","s":"modal__s_155wd","m":"modal__m_155wd","l":"modal__l_155wd"};
|
|
17
17
|
require('./desktop.css')
|
|
18
18
|
|
|
19
19
|
const ModalDesktopComponent = forwardRef(({ size = 's', fixedPosition, fullscreen, children, className, wrapperClassName, transitionProps = {}, ...restProps }, ref) => {
|
|
@@ -7,13 +7,13 @@ import { Closer } from './components/closer/Component.js';
|
|
|
7
7
|
import './components/header/Component.js';
|
|
8
8
|
import './components/content/Component.js';
|
|
9
9
|
import './components/footer/Component.js';
|
|
10
|
-
import { t as transitions } from './transitions.module-
|
|
10
|
+
import { t as transitions } from './transitions.module-602ea4ef.js';
|
|
11
11
|
import { useMedia } from '@alfalab/hooks';
|
|
12
12
|
import { HeaderMobile } from './components/header/Component.mobile.js';
|
|
13
13
|
import { ContentMobile } from './components/content/Component.mobile.js';
|
|
14
14
|
import { FooterMobile } from './components/footer/Component.mobile.js';
|
|
15
15
|
|
|
16
|
-
var styles = {"component":"
|
|
16
|
+
var styles = {"component":"modal__component_17zgd"};
|
|
17
17
|
require('./mobile.css')
|
|
18
18
|
|
|
19
19
|
const ModalMobileComponent = forwardRef(({ children, className, ...restProps }, ref) => {
|
|
@@ -12,7 +12,7 @@ import './components/content/Component.desktop.js';
|
|
|
12
12
|
import './components/footer/Component.js';
|
|
13
13
|
import './components/footer/Component.desktop.js';
|
|
14
14
|
import { ModalDesktop } from './Component.desktop.js';
|
|
15
|
-
import './transitions.module-
|
|
15
|
+
import './transitions.module-602ea4ef.js';
|
|
16
16
|
import { useMedia } from '@alfalab/hooks';
|
|
17
17
|
import './components/header/Component.mobile.js';
|
|
18
18
|
import './components/content/Component.mobile.js';
|
|
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
|
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
5
|
import { Button } from '@alfalab/core-components-button/dist/modern';
|
|
6
6
|
|
|
7
|
-
var styles = {"closer":"
|
|
7
|
+
var styles = {"closer":"modal__closer_p22te","left":"modal__left_p22te","right":"modal__right_p22te","fullscreen":"modal__fullscreen_p22te"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Closer = ({ className, fullscreen, align, ...restProps }) => {
|