@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: 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
|
}
|
package/dist/esm/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/esm/desktop.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-5b22fba8.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-c34fafc2.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-5b22fba8.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-c34fafc2.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-5b22fba8.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-c34fafc2.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-5b22fba8.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-c34fafc2.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: 18wln */
|
|
2
|
+
.modal__appear_odi84,
|
|
3
|
+
.modal__enter_odi84 {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
8
|
+
.modal__appearActive_odi84,
|
|
9
|
+
.modal__enterActive_odi84 {
|
|
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_odi84 {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.modal__exitActive_odi84,
|
|
21
|
+
.modal__exitDone_odi84 {
|
|
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_odi84","enter":"modal__enter_odi84","appearActive":"modal__appearActive_odi84","enterActive":"modal__enterActive_odi84","exit":"modal__exit_odi84","exitActive":"modal__exitActive_odi84","exitDone":"modal__exitDone_odi84"};
|
|
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-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
|
require('./Component.desktop.js');
|
|
20
|
-
require('./transitions.module-
|
|
20
|
+
require('./transitions.module-815de616.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-5b726b20.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-815de616.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-c34fafc2.js';
|
|
15
15
|
|
|
16
|
-
var styles = {"wrapper":"
|
|
16
|
+
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"};
|
|
17
17
|
require('./desktop.css')
|
|
18
18
|
|
|
19
19
|
const ModalDesktopComponent = forwardRef(({ size = 's', fixedPosition, fullscreen, children, className, wrapperClassName, transitionProps = {}, ...restProps }, ref) => {
|
|
@@ -33,6 +33,7 @@ const ModalDesktopComponent = forwardRef(({ size = 's', fixedPosition, fullscree
|
|
|
33
33
|
return (React.createElement(BaseModal, Object.assign({}, restProps, { ref: mergeRefs([ref, modalRef]), wrapperClassName: cn(styles.wrapper, wrapperClassName, {
|
|
34
34
|
[styles.fullscreen]: fullscreen,
|
|
35
35
|
}), className: cn(styles.component, className, !fullscreen && styles[size]), backdropProps: {
|
|
36
|
+
...restProps.backdropProps,
|
|
36
37
|
invisible: fullscreen,
|
|
37
38
|
}, transitionProps: {
|
|
38
39
|
classNames: transitions,
|
|
@@ -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-c34fafc2.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_1etis"};
|
|
17
17
|
require('./mobile.css')
|
|
18
18
|
|
|
19
19
|
const ModalMobileComponent = forwardRef(({ children, className, ...restProps }, ref) => {
|
|
@@ -25,6 +25,7 @@ const ModalMobileComponent = forwardRef(({ children, className, ...restProps },
|
|
|
25
25
|
classNames: transitions,
|
|
26
26
|
...restProps.transitionProps,
|
|
27
27
|
}, className: cn(className, styles.component), backdropProps: {
|
|
28
|
+
...restProps.backdropProps,
|
|
28
29
|
invisible: true,
|
|
29
30
|
} }), React.Children.map(children, child => isValidElement(child)
|
|
30
31
|
? cloneElement(child, { size: child.props.size || size, fullscreen: true })
|
|
@@ -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-c34fafc2.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_1u0v9","left":"modal__left_1u0v9","right":"modal__right_1u0v9","fullscreen":"modal__fullscreen_1u0v9"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Closer = ({ className, fullscreen, align, ...restProps }) => {
|
|
@@ -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
|
}
|
|
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
|
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Content } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"content":"
|
|
7
|
+
var styles = {"content":"modal__content_a7uv8 modal__content_b8m8c","flex":"modal__flex_a7uv8 modal__flex_b8m8c","s":"modal__s_a7uv8","m":"modal__m_a7uv8","l":"modal__l_a7uv8","fullscreen":"modal__fullscreen_a7uv8"};
|
|
8
8
|
require('./desktop.css')
|
|
9
9
|
|
|
10
10
|
const ContentDesktop = ({ size, className, fullscreen, ...restProps }) => (React.createElement(Content, Object.assign({ className: cn(className, size && styles[size], fullscreen && styles.fullscreen), styles: styles }, restProps)));
|
|
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
|
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Content } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"content":"
|
|
7
|
+
var styles = {"content":"modal__content_7zet4 modal__content_b8m8c","flex":"modal__flex_7zet4 modal__flex_b8m8c"};
|
|
8
8
|
require('./mobile.css')
|
|
9
9
|
|
|
10
10
|
const ContentMobile = props => (React.createElement(Content, Object.assign({ styles: styles }, props)));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 4z9d4 */
|
|
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_b8m8c {
|
|
38
38
|
box-sizing: border-box;
|
|
39
39
|
width: 100%
|
|
40
|
-
}.
|
|
40
|
+
}.modal__content_b8m8c:first-child {
|
|
41
41
|
padding-top: var(--modal-content-no-header-top-padding);
|
|
42
|
-
}.
|
|
42
|
+
}.modal__content_b8m8c:last-child {
|
|
43
43
|
padding-bottom: var(--modal-content-no-footer-bottom-padding);
|
|
44
|
-
}.
|
|
44
|
+
}.modal__flex_b8m8c {
|
|
45
45
|
flex: 1 1 auto;
|
|
46
46
|
}
|
|
47
47
|
:root {
|
|
@@ -319,6 +319,7 @@
|
|
|
319
319
|
--color-dark-bg-neutral-tint-10: rgb(90, 104, 118);
|
|
320
320
|
--color-dark-bg-neutral-tint-15: rgb(99, 112, 126);
|
|
321
321
|
--color-dark-bg-neutral-tint-30: rgb(127, 137, 149);
|
|
322
|
+
--color-dark-bg-neutral-shade-15: rgb(61, 74, 88);
|
|
322
323
|
--color-dark-bg-primary-alpha-8: rgba(11, 31, 53, 0.08);
|
|
323
324
|
--color-dark-bg-primary-inverted-alpha-3: rgba(255, 255, 255, 0.03);
|
|
324
325
|
--color-dark-bg-primary-inverted-alpha-7: rgba(255, 255, 255, 0.07);
|
|
@@ -326,6 +327,7 @@
|
|
|
326
327
|
--color-dark-bg-primary-inverted-alpha-15: rgba(255, 255, 255, 0.15);
|
|
327
328
|
--color-dark-bg-primary-inverted-alpha-20: rgba(255, 255, 255, 0.2);
|
|
328
329
|
--color-dark-bg-primary-inverted-alpha-40: rgba(255, 255, 255, 0.4);
|
|
330
|
+
--color-dark-bg-primary-inverted-alpha-50: rgba(255, 255, 255, 0.5);
|
|
329
331
|
--color-dark-bg-secondary-inverted-alpha-7: rgba(182, 188, 195, 0.07);
|
|
330
332
|
--color-dark-bg-secondary-inverted-alpha-15: rgba(182, 188, 195, 0.15);
|
|
331
333
|
--color-dark-bg-tertiary-tint-7: rgb(74, 89, 104);
|
|
@@ -380,6 +382,7 @@
|
|
|
380
382
|
--color-light-bg-neutral-shade-10: rgb(197, 200, 203);
|
|
381
383
|
--color-light-bg-neutral-shade-15: rgb(186, 189, 191);
|
|
382
384
|
--color-light-bg-neutral-shade-30: rgb(153, 155, 157);
|
|
385
|
+
--color-light-bg-neutral-tint-15: rgb(224, 227, 230);
|
|
383
386
|
--color-light-bg-primary-alpha-8: rgba(255, 255, 255, 0.08);
|
|
384
387
|
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
385
388
|
--color-light-bg-primary-inverted-alpha-7: rgba(11, 31, 53, 0.07);
|
|
@@ -387,6 +390,7 @@
|
|
|
387
390
|
--color-light-bg-primary-inverted-alpha-15: rgba(11, 31, 53, 0.15);
|
|
388
391
|
--color-light-bg-primary-inverted-alpha-20: rgba(11, 31, 53, 0.2);
|
|
389
392
|
--color-light-bg-primary-inverted-alpha-40: rgba(11, 31, 53, 0.4);
|
|
393
|
+
--color-light-bg-primary-inverted-alpha-50: rgba(11, 31, 53, 0.5);
|
|
390
394
|
--color-light-bg-secondary-inverted-alpha-7: rgba(35, 53, 73, 0.07);
|
|
391
395
|
--color-light-bg-secondary-inverted-alpha-15: rgba(35, 53, 73, 0.15);
|
|
392
396
|
--color-light-bg-tertiary-shade-7: rgb(215, 217, 219);
|
|
@@ -595,20 +599,20 @@
|
|
|
595
599
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
596
600
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
597
601
|
}
|
|
598
|
-
.
|
|
602
|
+
.modal__content_a7uv8 {
|
|
599
603
|
}
|
|
600
|
-
.
|
|
604
|
+
.modal__flex_a7uv8 {
|
|
601
605
|
}
|
|
602
|
-
.
|
|
606
|
+
.modal__s_a7uv8 {
|
|
603
607
|
padding: var(--modal-s-content-paddings);
|
|
604
608
|
}
|
|
605
|
-
.
|
|
609
|
+
.modal__m_a7uv8 {
|
|
606
610
|
padding: var(--modal-m-content-paddings);
|
|
607
611
|
}
|
|
608
|
-
.
|
|
609
|
-
.
|
|
612
|
+
.modal__l_a7uv8,
|
|
613
|
+
.modal__fullscreen_a7uv8 {
|
|
610
614
|
padding: var(--modal-l-content-paddings)
|
|
611
615
|
}
|
|
612
|
-
.
|
|
616
|
+
.modal__l_a7uv8:last-child, .modal__fullscreen_a7uv8:last-child {
|
|
613
617
|
padding-bottom: var(--modal-l-content-no-footer-bottom-padding);
|
|
614
618
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: jplhy */
|
|
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_b8m8c {
|
|
34
34
|
box-sizing: border-box;
|
|
35
35
|
width: 100%
|
|
36
|
-
}.
|
|
36
|
+
}.modal__content_b8m8c:first-child {
|
|
37
37
|
padding-top: var(--modal-content-no-header-top-padding);
|
|
38
|
-
}.
|
|
38
|
+
}.modal__content_b8m8c:last-child {
|
|
39
39
|
padding-bottom: var(--modal-content-no-footer-bottom-padding);
|
|
40
|
-
}.
|
|
40
|
+
}.modal__flex_b8m8c {
|
|
41
41
|
flex: 1 1 auto;
|
|
42
42
|
}
|
|
43
43
|
:root {
|
|
@@ -315,6 +315,7 @@
|
|
|
315
315
|
--color-dark-bg-neutral-tint-10: rgb(90, 104, 118);
|
|
316
316
|
--color-dark-bg-neutral-tint-15: rgb(99, 112, 126);
|
|
317
317
|
--color-dark-bg-neutral-tint-30: rgb(127, 137, 149);
|
|
318
|
+
--color-dark-bg-neutral-shade-15: rgb(61, 74, 88);
|
|
318
319
|
--color-dark-bg-primary-alpha-8: rgba(11, 31, 53, 0.08);
|
|
319
320
|
--color-dark-bg-primary-inverted-alpha-3: rgba(255, 255, 255, 0.03);
|
|
320
321
|
--color-dark-bg-primary-inverted-alpha-7: rgba(255, 255, 255, 0.07);
|
|
@@ -322,6 +323,7 @@
|
|
|
322
323
|
--color-dark-bg-primary-inverted-alpha-15: rgba(255, 255, 255, 0.15);
|
|
323
324
|
--color-dark-bg-primary-inverted-alpha-20: rgba(255, 255, 255, 0.2);
|
|
324
325
|
--color-dark-bg-primary-inverted-alpha-40: rgba(255, 255, 255, 0.4);
|
|
326
|
+
--color-dark-bg-primary-inverted-alpha-50: rgba(255, 255, 255, 0.5);
|
|
325
327
|
--color-dark-bg-secondary-inverted-alpha-7: rgba(182, 188, 195, 0.07);
|
|
326
328
|
--color-dark-bg-secondary-inverted-alpha-15: rgba(182, 188, 195, 0.15);
|
|
327
329
|
--color-dark-bg-tertiary-tint-7: rgb(74, 89, 104);
|
|
@@ -376,6 +378,7 @@
|
|
|
376
378
|
--color-light-bg-neutral-shade-10: rgb(197, 200, 203);
|
|
377
379
|
--color-light-bg-neutral-shade-15: rgb(186, 189, 191);
|
|
378
380
|
--color-light-bg-neutral-shade-30: rgb(153, 155, 157);
|
|
381
|
+
--color-light-bg-neutral-tint-15: rgb(224, 227, 230);
|
|
379
382
|
--color-light-bg-primary-alpha-8: rgba(255, 255, 255, 0.08);
|
|
380
383
|
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
381
384
|
--color-light-bg-primary-inverted-alpha-7: rgba(11, 31, 53, 0.07);
|
|
@@ -383,6 +386,7 @@
|
|
|
383
386
|
--color-light-bg-primary-inverted-alpha-15: rgba(11, 31, 53, 0.15);
|
|
384
387
|
--color-light-bg-primary-inverted-alpha-20: rgba(11, 31, 53, 0.2);
|
|
385
388
|
--color-light-bg-primary-inverted-alpha-40: rgba(11, 31, 53, 0.4);
|
|
389
|
+
--color-light-bg-primary-inverted-alpha-50: rgba(11, 31, 53, 0.5);
|
|
386
390
|
--color-light-bg-secondary-inverted-alpha-7: rgba(35, 53, 73, 0.07);
|
|
387
391
|
--color-light-bg-secondary-inverted-alpha-15: rgba(35, 53, 73, 0.15);
|
|
388
392
|
--color-light-bg-tertiary-shade-7: rgb(215, 217, 219);
|
|
@@ -591,9 +595,9 @@
|
|
|
591
595
|
--modal-footer-highlight-box-shadow: var(--shadow-s-up);
|
|
592
596
|
--modal-footer-highlight-background: var(--color-light-bg-primary);
|
|
593
597
|
}
|
|
594
|
-
.
|
|
598
|
+
.modal__content_7zet4 {
|
|
595
599
|
|
|
596
600
|
padding: 0 var(--gap-m) 0;
|
|
597
601
|
}
|
|
598
|
-
.
|
|
602
|
+
.modal__flex_7zet4 {
|
|
599
603
|
}
|
|
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
|
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Footer } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"footer":"
|
|
7
|
+
var styles = {"footer":"modal__footer_h2f7c modal__footer_d6q2c","highlighted":"modal__highlighted_h2f7c modal__highlighted_d6q2c","sticky":"modal__sticky_h2f7c modal__sticky_d6q2c","fullscreen":"modal__fullscreen_h2f7c","s":"modal__s_h2f7c","m":"modal__m_h2f7c","l":"modal__l_h2f7c"};
|
|
8
8
|
require('./desktop.css')
|
|
9
9
|
|
|
10
10
|
const FooterDesktop = ({ size, className, fullscreen, ...restProps }) => (React.createElement(Footer, Object.assign({ className: cn(className, size && styles[size], fullscreen && styles.fullscreen), styles: styles }, restProps)));
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
5
|
|
|
6
|
-
var layoutStyles = {"column":"
|
|
6
|
+
var layoutStyles = {"column":"modal__column_1d6fi","gap-16":"modal__gap-16_1d6fi","gap-24":"modal__gap-24_1d6fi","gap-32":"modal__gap-32_1d6fi","start":"modal__start_1d6fi","center":"modal__center_1d6fi","space-between":"modal__space-between_1d6fi"};
|
|
7
7
|
require('./layout.css')
|
|
8
8
|
|
|
9
9
|
const Footer = ({ children, className, sticky, layout = 'start', gap, styles, }) => {
|
|
@@ -4,7 +4,7 @@ import '@alfalab/core-components-base-modal/dist/modern';
|
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Footer } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"footer":"
|
|
7
|
+
var styles = {"footer":"modal__footer_12dmo modal__footer_d6q2c","highlighted":"modal__highlighted_12dmo modal__highlighted_d6q2c","sticky":"modal__sticky_12dmo modal__sticky_d6q2c"};
|
|
8
8
|
require('./mobile.css')
|
|
9
9
|
|
|
10
10
|
const FooterMobile = props => React.createElement(Footer, Object.assign({ styles: styles }, props));
|