@alfalab/core-components-modal 7.0.11 → 7.0.13
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/Component.js +3 -3
- package/components/content/Component.js +3 -3
- package/components/content/desktop.css +7 -7
- package/components/content/index.css +4 -4
- package/components/content/mobile.css +3 -3
- package/components/footer/Component.js +5 -4
- package/components/footer/desktop.css +9 -9
- package/components/footer/index.css +4 -4
- package/components/footer/layout.css +33 -25
- package/components/footer/mobile.css +3 -3
- package/components/header/Component.js +3 -3
- package/components/header/desktop.css +15 -15
- package/components/header/index.css +4 -4
- package/components/header/mobile.css +4 -4
- package/cssm/components/footer/Component.js +1 -0
- package/cssm/components/footer/layout.module.css +8 -0
- package/desktop.css +9 -9
- package/esm/Component.js +3 -3
- package/esm/components/content/Component.js +3 -3
- package/esm/components/content/desktop.css +7 -7
- package/esm/components/content/index.css +4 -4
- package/esm/components/content/mobile.css +3 -3
- package/esm/components/footer/Component.js +5 -4
- package/esm/components/footer/desktop.css +9 -9
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/layout.css +33 -25
- package/esm/components/footer/mobile.css +3 -3
- package/esm/components/header/Component.js +3 -3
- package/esm/components/header/desktop.css +15 -15
- package/esm/components/header/index.css +4 -4
- package/esm/components/header/mobile.css +4 -4
- package/esm/desktop.css +9 -9
- package/esm/mobile.css +2 -2
- package/esm/transitions.css +8 -8
- package/mobile.css +2 -2
- package/modern/Component.js +3 -3
- package/modern/components/content/Component.js +3 -3
- package/modern/components/content/desktop.css +7 -7
- package/modern/components/content/index.css +4 -4
- package/modern/components/content/mobile.css +3 -3
- package/modern/components/footer/Component.js +5 -4
- package/modern/components/footer/desktop.css +9 -9
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/layout.css +33 -25
- package/modern/components/footer/mobile.css +3 -3
- package/modern/components/header/Component.js +3 -3
- package/modern/components/header/desktop.css +15 -15
- package/modern/components/header/index.css +4 -4
- package/modern/components/header/mobile.css +4 -4
- package/modern/desktop.css +9 -9
- package/modern/mobile.css +2 -2
- package/modern/transitions.css +8 -8
- package/package.json +3 -3
- package/transitions.css +8 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: brsbu */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-primary: #fff;
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
/* mobile */
|
|
33
33
|
|
|
34
34
|
/* paddings */
|
|
35
|
-
} .
|
|
35
|
+
} .modal__footer_1z0o1 {
|
|
36
36
|
width: 100%;
|
|
37
37
|
box-sizing: border-box;
|
|
38
38
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
39
|
-
} .
|
|
39
|
+
} .modal__sticky_1z0o1 {
|
|
40
40
|
background: var(--modal-footer-background);
|
|
41
41
|
position: sticky;
|
|
42
|
-
} .
|
|
42
|
+
} .modal__highlighted_1z0o1 {
|
|
43
43
|
background: var(--modal-footer-highlight-background);
|
|
44
44
|
box-shadow: var(--modal-footer-highlight-box-shadow);
|
|
45
45
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1f4ge */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -31,45 +31,53 @@
|
|
|
31
31
|
/* mobile */
|
|
32
32
|
|
|
33
33
|
/* paddings */
|
|
34
|
-
} .
|
|
34
|
+
} .modal__column_fthmu {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column
|
|
37
|
-
} .
|
|
37
|
+
} .modal__column_fthmu > * {
|
|
38
38
|
margin-bottom: var(--modal-footer-default-gap);
|
|
39
|
-
} .
|
|
40
|
-
.
|
|
39
|
+
} .modal__column_fthmu > *:last-child,
|
|
40
|
+
.modal__column_fthmu > *:only-child {
|
|
41
41
|
margin-bottom: 0;
|
|
42
|
-
} .
|
|
42
|
+
} .modal__column_fthmu.modal__gap-16_fthmu > * {
|
|
43
43
|
margin-bottom: var(--gap-m);
|
|
44
|
-
} .
|
|
44
|
+
} .modal__column_fthmu.modal__gap-24_fthmu > * {
|
|
45
45
|
margin-bottom: var(--gap-xl);
|
|
46
|
-
} .
|
|
46
|
+
} .modal__column_fthmu.modal__gap-32_fthmu > * {
|
|
47
47
|
margin-bottom: var(--gap-2xl);
|
|
48
|
-
} .
|
|
48
|
+
} .modal__column-mobile_fthmu {
|
|
49
|
+
flex-direction: column-reverse
|
|
50
|
+
} .modal__column-mobile_fthmu > * {
|
|
51
|
+
margin-bottom: 0;
|
|
52
|
+
} .modal__column-mobile_fthmu > *:last-child {
|
|
53
|
+
margin-bottom: var(--modal-footer-default-gap);
|
|
54
|
+
} .modal__column-mobile_fthmu > *:only-child {
|
|
55
|
+
margin-bottom: 0;
|
|
56
|
+
} .modal__start_fthmu {
|
|
49
57
|
justify-content: flex-start;
|
|
50
|
-
} .
|
|
58
|
+
} .modal__center_fthmu {
|
|
51
59
|
justify-content: center;
|
|
52
|
-
} .modal__space-
|
|
60
|
+
} .modal__space-between_fthmu {
|
|
53
61
|
justify-content: space-between
|
|
54
|
-
} .modal__space-
|
|
62
|
+
} .modal__space-between_fthmu > * {
|
|
55
63
|
flex: 1;
|
|
56
|
-
} .
|
|
57
|
-
.
|
|
58
|
-
.modal__space-
|
|
64
|
+
} .modal__start_fthmu,
|
|
65
|
+
.modal__center_fthmu,
|
|
66
|
+
.modal__space-between_fthmu {
|
|
59
67
|
display: flex
|
|
60
|
-
} .
|
|
68
|
+
} .modal__start_fthmu > *, .modal__center_fthmu > *, .modal__space-between_fthmu > * {
|
|
61
69
|
margin-right: var(--modal-footer-default-gap);
|
|
62
|
-
} .
|
|
63
|
-
.
|
|
64
|
-
.
|
|
65
|
-
.
|
|
66
|
-
.modal__space-
|
|
67
|
-
.modal__space-
|
|
70
|
+
} .modal__start_fthmu > *:last-child,
|
|
71
|
+
.modal__start_fthmu > *:only-child,
|
|
72
|
+
.modal__center_fthmu > *:last-child,
|
|
73
|
+
.modal__center_fthmu > *:only-child,
|
|
74
|
+
.modal__space-between_fthmu > *:last-child,
|
|
75
|
+
.modal__space-between_fthmu > *:only-child {
|
|
68
76
|
margin-right: 0;
|
|
69
|
-
} .
|
|
77
|
+
} .modal__start_fthmu.modal__gap-16_fthmu > *, .modal__center_fthmu.modal__gap-16_fthmu > *, .modal__space-between_fthmu.modal__gap-16_fthmu > * {
|
|
70
78
|
margin-right: var(--gap-m);
|
|
71
|
-
} .
|
|
79
|
+
} .modal__start_fthmu.modal__gap-24_fthmu > *, .modal__center_fthmu.modal__gap-24_fthmu > *, .modal__space-between_fthmu.modal__gap-24_fthmu > * {
|
|
72
80
|
margin-right: var(--gap-xl);
|
|
73
|
-
} .
|
|
81
|
+
} .modal__start_fthmu.modal__gap-32_fthmu > *, .modal__center_fthmu.modal__gap-32_fthmu > *, .modal__space-between_fthmu.modal__gap-32_fthmu > * {
|
|
74
82
|
margin-right: var(--gap-2xl);
|
|
75
83
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: esysp */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
/* mobile */
|
|
29
29
|
|
|
30
30
|
/* paddings */
|
|
31
|
-
} .
|
|
31
|
+
} .modal__footer_1tcsy {
|
|
32
32
|
padding: var(--gap-m);
|
|
33
|
-
} .
|
|
33
|
+
} .modal__sticky_1tcsy {
|
|
34
34
|
bottom: 0;
|
|
35
35
|
}
|
|
@@ -5,13 +5,13 @@ import { ModalContext } from '../../Context.js';
|
|
|
5
5
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
6
6
|
import '@alfalab/core-components-base-modal/modern';
|
|
7
7
|
|
|
8
|
-
const desktopStyles = {"header":"
|
|
8
|
+
const desktopStyles = {"header":"modal__header_lb23l","content":"modal__content_lb23l","s":"modal__s_lb23l","m":"modal__m_lb23l","l":"modal__l_lb23l","xl":"modal__xl_lb23l","fullscreen":"modal__fullscreen_lb23l","sticky":"modal__sticky_lb23l"};
|
|
9
9
|
require('./desktop.css')
|
|
10
10
|
|
|
11
|
-
const styles = {"highlighted":"
|
|
11
|
+
const styles = {"highlighted":"modal__highlighted_11i9n","sticky":"modal__sticky_11i9n","hasContent":"modal__hasContent_11i9n"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
|
-
const mobileStyles = {"header":"
|
|
14
|
+
const mobileStyles = {"header":"modal__header_dox3l","sticky":"modal__sticky_dox3l","content":"modal__content_dox3l"};
|
|
15
15
|
require('./mobile.css')
|
|
16
16
|
|
|
17
17
|
const Header = ({ className, sticky, title, children, contentClassName, hasCloser = true, ...restProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: anu7s */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -44,31 +44,31 @@
|
|
|
44
44
|
/* mobile */
|
|
45
45
|
|
|
46
46
|
/* paddings */
|
|
47
|
-
} .
|
|
47
|
+
} .modal__header_lb23l {
|
|
48
48
|
border-top-left-radius: var(--modal-border-radius);
|
|
49
49
|
border-top-right-radius: var(--modal-border-radius);
|
|
50
|
-
} .
|
|
50
|
+
} .modal__content_lb23l {
|
|
51
51
|
font-weight: var(--modal-header-desktop-font-weight);
|
|
52
52
|
font-family: var(--modal-header-desktop-font-family);
|
|
53
|
-
} .
|
|
54
|
-
.
|
|
53
|
+
} .modal__s_lb23l .modal__content_lb23l,
|
|
54
|
+
.modal__m_lb23l .modal__content_lb23l {
|
|
55
55
|
padding: var(--modal-s-header-desktop-content-paddings);
|
|
56
56
|
font-size: var(--modal-s-header-desktop-font-size);
|
|
57
57
|
line-height: var(--modal-s-header-desktop-line-height);
|
|
58
|
-
} .
|
|
59
|
-
.
|
|
60
|
-
.
|
|
58
|
+
} .modal__l_lb23l .modal__content_lb23l,
|
|
59
|
+
.modal__xl_lb23l .modal__content_lb23l,
|
|
60
|
+
.modal__fullscreen_lb23l .modal__content_lb23l {
|
|
61
61
|
padding: var(--modal-l-header-desktop-content-paddings);
|
|
62
62
|
font-size: var(--modal-l-header-desktop-font-size);
|
|
63
63
|
line-height: var(--modal-l-header-desktop-line-height);
|
|
64
|
-
} .
|
|
65
|
-
.
|
|
66
|
-
.
|
|
67
|
-
.
|
|
68
|
-
.
|
|
64
|
+
} .modal__s_lb23l,
|
|
65
|
+
.modal__m_lb23l,
|
|
66
|
+
.modal__l_lb23l,
|
|
67
|
+
.modal__xl_lb23l,
|
|
68
|
+
.modal__fullscreen_lb23l {
|
|
69
69
|
padding: var(--modal-s-header-paddings);
|
|
70
|
-
} .
|
|
70
|
+
} .modal__sticky_lb23l {
|
|
71
71
|
top: calc(var(--modal-vertical-padding) * -1)
|
|
72
|
-
} .
|
|
72
|
+
} .modal__sticky_lb23l.modal__fullscreen_lb23l {
|
|
73
73
|
top: 0;
|
|
74
74
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: jhjb7 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-primary: #fff;
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
/* mobile */
|
|
33
33
|
|
|
34
34
|
/* paddings */
|
|
35
|
-
} .
|
|
35
|
+
} .modal__highlighted_11i9n {
|
|
36
36
|
background: var(--modal-header-highlight-background);
|
|
37
37
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
38
|
-
} .
|
|
38
|
+
} .modal__sticky_11i9n {
|
|
39
39
|
position: sticky;
|
|
40
40
|
z-index: 1
|
|
41
|
-
} .
|
|
41
|
+
} .modal__sticky_11i9n.modal__hasContent_11i9n {
|
|
42
42
|
background: var(--modal-header-background);
|
|
43
43
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1rp75 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
|
|
39
39
|
/* paddings */
|
|
40
40
|
--modal-header-mobile-paddings: var(--gap-2xs) var(--gap-xs);
|
|
41
|
-
} .
|
|
41
|
+
} .modal__header_dox3l {
|
|
42
42
|
padding: var(--modal-header-mobile-paddings);
|
|
43
|
-
} .
|
|
43
|
+
} .modal__sticky_dox3l {
|
|
44
44
|
top: 0;
|
|
45
|
-
} .
|
|
45
|
+
} .modal__content_dox3l {
|
|
46
46
|
font-size: var(--modal-header-mobile-font-size);
|
|
47
47
|
line-height: var(--modal-header-mobile-line-height);
|
|
48
48
|
font-family: var(--modal-header-mobile-font-family);
|
package/modern/desktop.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1m3e1 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -35,25 +35,25 @@
|
|
|
35
35
|
/* mobile */
|
|
36
36
|
|
|
37
37
|
/* paddings */
|
|
38
|
-
} .
|
|
38
|
+
} .modal__wrapper_e9axt {
|
|
39
39
|
padding-top: var(--modal-vertical-padding);
|
|
40
40
|
padding-bottom: var(--modal-vertical-padding);
|
|
41
|
-
} .
|
|
41
|
+
} .modal__component_e9axt {
|
|
42
42
|
width: 100%;
|
|
43
43
|
max-width: 100%;
|
|
44
44
|
border-radius: var(--modal-border-radius);
|
|
45
|
-
} .
|
|
45
|
+
} .modal__fullscreen_e9axt {
|
|
46
46
|
padding-top: 0;
|
|
47
47
|
padding-bottom: 0
|
|
48
|
-
} .
|
|
48
|
+
} .modal__fullscreen_e9axt .modal__component_e9axt {
|
|
49
49
|
flex: 1;
|
|
50
50
|
border-radius: 0;
|
|
51
|
-
} .
|
|
51
|
+
} .modal__s_e9axt {
|
|
52
52
|
width: var(--modal-s-width);
|
|
53
|
-
} .
|
|
53
|
+
} .modal__m_e9axt {
|
|
54
54
|
width: var(--modal-m-width);
|
|
55
|
-
} .
|
|
55
|
+
} .modal__l_e9axt {
|
|
56
56
|
width: var(--modal-l-width);
|
|
57
|
-
} .
|
|
57
|
+
} .modal__xl_e9axt {
|
|
58
58
|
width: var(--modal-xl-width);
|
|
59
59
|
}
|
package/modern/mobile.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15l5y */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
/* mobile */
|
|
28
28
|
|
|
29
29
|
/* paddings */
|
|
30
|
-
} .
|
|
30
|
+
} .modal__component_us2lm {
|
|
31
31
|
flex: 1;
|
|
32
32
|
width: 100%;
|
|
33
33
|
max-width: 600px;
|
package/modern/transitions.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
/* hash: b7vmz */
|
|
2
|
+
.modal__appear_6bvsi,
|
|
3
|
+
.modal__enter_6bvsi {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
8
|
+
.modal__appearActive_6bvsi,
|
|
9
|
+
.modal__enterActive_6bvsi {
|
|
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_6bvsi {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.modal__exitActive_6bvsi,
|
|
21
|
+
.modal__exitDone_6bvsi {
|
|
22
22
|
opacity: 0;
|
|
23
23
|
transform: translateY(15px);
|
|
24
24
|
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-modal",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.13",
|
|
4
4
|
"description": "Modal component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"directory": "dist"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@alfalab/core-components-base-modal": "^5.
|
|
18
|
-
"@alfalab/core-components-navigation-bar": "^0.3.
|
|
17
|
+
"@alfalab/core-components-base-modal": "^5.2.0",
|
|
18
|
+
"@alfalab/core-components-navigation-bar": "^0.3.5",
|
|
19
19
|
"@alfalab/hooks": "^1.13.0",
|
|
20
20
|
"classnames": "^2.3.1",
|
|
21
21
|
"react-merge-refs": "^1.1.0",
|
package/transitions.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
/* hash: b7vmz */
|
|
2
|
+
.modal__appear_6bvsi,
|
|
3
|
+
.modal__enter_6bvsi {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
8
|
+
.modal__appearActive_6bvsi,
|
|
9
|
+
.modal__enterActive_6bvsi {
|
|
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_6bvsi {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.modal__exitActive_6bvsi,
|
|
21
|
+
.modal__exitDone_6bvsi {
|
|
22
22
|
opacity: 0;
|
|
23
23
|
transform: translateY(15px);
|
|
24
24
|
transition: opacity 200ms ease-out, transform 200ms ease-out;
|