@alfalab/core-components-modal 6.1.8 → 6.1.9
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.desktop.js +1 -1
- package/Component.js +4 -4
- package/Component.mobile.js +1 -1
- package/Component.responsive.js +1 -1
- package/components/closer/Component.js +2 -2
- package/components/closer/index.css +14 -15
- package/components/content/Component.js +3 -3
- package/components/content/desktop.css +17 -16
- package/components/content/index.css +12 -7
- package/components/content/mobile.css +12 -9
- package/components/footer/Component.js +4 -4
- package/components/footer/desktop.css +19 -21
- package/components/footer/index.css +13 -11
- package/components/footer/layout.css +34 -45
- package/components/footer/mobile.css +12 -9
- package/components/header/Component.js +4 -4
- package/components/header/desktop.css +27 -36
- package/components/header/index.css +24 -33
- package/components/header/mobile.css +12 -11
- package/cssm/components/closer/index.module.css +13 -14
- package/cssm/components/content/desktop.module.css +13 -12
- package/cssm/components/content/index.module.css +11 -6
- package/cssm/components/content/mobile.module.css +11 -8
- package/cssm/components/footer/desktop.module.css +15 -17
- package/cssm/components/footer/index.module.css +12 -10
- package/cssm/components/footer/layout.module.css +25 -36
- package/cssm/components/footer/mobile.module.css +11 -8
- package/cssm/components/header/desktop.module.css +20 -29
- package/cssm/components/header/index.module.css +23 -32
- package/cssm/components/header/mobile.module.css +11 -10
- package/cssm/desktop.module.css +18 -23
- package/cssm/mobile.module.css +10 -4
- package/cssm/vars.css +9 -2
- package/desktop.css +19 -24
- package/desktop.js +1 -1
- package/esm/Component.desktop.js +1 -1
- package/esm/Component.js +4 -4
- package/esm/Component.mobile.js +1 -1
- package/esm/Component.responsive.js +1 -1
- package/esm/components/closer/Component.js +2 -2
- package/esm/components/closer/index.css +14 -15
- package/esm/components/content/Component.js +3 -3
- package/esm/components/content/desktop.css +17 -16
- package/esm/components/content/index.css +12 -7
- package/esm/components/content/mobile.css +12 -9
- package/esm/components/footer/Component.js +4 -4
- package/esm/components/footer/desktop.css +19 -21
- package/esm/components/footer/index.css +13 -11
- package/esm/components/footer/layout.css +34 -45
- package/esm/components/footer/mobile.css +12 -9
- package/esm/components/header/Component.js +4 -4
- package/esm/components/header/desktop.css +27 -36
- package/esm/components/header/index.css +24 -33
- package/esm/components/header/mobile.css +12 -11
- package/esm/desktop.css +19 -24
- package/esm/desktop.js +1 -1
- package/esm/index.js +1 -1
- package/esm/mobile.css +11 -5
- package/esm/mobile.js +1 -1
- package/esm/responsive.js +1 -1
- package/esm/transitions.css +8 -8
- package/esm/{tslib.es6-4ed2b18d.d.ts → tslib.es6-079b23b6.d.ts} +0 -0
- package/esm/{tslib.es6-4ed2b18d.js → tslib.es6-079b23b6.js} +0 -0
- package/index.js +1 -1
- package/mobile.css +11 -5
- package/mobile.js +1 -1
- package/modern/Component.js +3 -3
- package/modern/components/closer/Component.js +1 -1
- package/modern/components/closer/index.css +14 -15
- package/modern/components/content/Component.js +3 -3
- package/modern/components/content/desktop.css +17 -16
- package/modern/components/content/index.css +12 -7
- package/modern/components/content/mobile.css +12 -9
- package/modern/components/footer/Component.js +4 -4
- package/modern/components/footer/desktop.css +19 -21
- package/modern/components/footer/index.css +13 -11
- package/modern/components/footer/layout.css +34 -45
- package/modern/components/footer/mobile.css +12 -9
- package/modern/components/header/Component.js +3 -3
- package/modern/components/header/desktop.css +27 -36
- package/modern/components/header/index.css +24 -33
- package/modern/components/header/mobile.css +12 -11
- package/modern/desktop.css +19 -24
- package/modern/mobile.css +11 -5
- package/modern/transitions.css +8 -8
- package/package.json +4 -4
- package/responsive.js +1 -1
- package/transitions.css +8 -8
- /package/{tslib.es6-810fa287.d.ts → tslib.es6-9ab4bb88.d.ts} +0 -0
- /package/{tslib.es6-810fa287.js → tslib.es6-9ab4bb88.js} +0 -0
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: l9dbv */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-m: 16px;
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
14
19
|
|
|
15
20
|
/* sizes */
|
|
16
21
|
|
|
@@ -21,10 +26,8 @@
|
|
|
21
26
|
/* desktop */
|
|
22
27
|
|
|
23
28
|
/* mobile */
|
|
24
|
-
}
|
|
25
|
-
.modal__footer_1ggyk {
|
|
29
|
+
} .modal__footer_te7v1 {
|
|
26
30
|
padding: var(--gap-m);
|
|
27
|
-
}
|
|
28
|
-
.modal__sticky_1ggyk {
|
|
31
|
+
} .modal__sticky_te7v1 {
|
|
29
32
|
bottom: 0;
|
|
30
33
|
}
|
|
@@ -13,13 +13,13 @@ const getDataTestId = (dataTestId, element) => {
|
|
|
13
13
|
return dataTestId ? `${dataTestId}${elementPart}` : undefined;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
const desktopStyles = {"header":"
|
|
16
|
+
const desktopStyles = {"header":"modal__header_10rwy","content":"modal__content_10rwy","s":"modal__s_10rwy","m":"modal__m_10rwy","l":"modal__l_10rwy","xl":"modal__xl_10rwy","fullscreen":"modal__fullscreen_10rwy","hasContent":"modal__hasContent_10rwy","sticky":"modal__sticky_10rwy"};
|
|
17
17
|
require('./desktop.css')
|
|
18
18
|
|
|
19
|
-
const styles = {"header":"
|
|
19
|
+
const styles = {"header":"modal__header_1abcs","hasContent":"modal__hasContent_1abcs","highlighted":"modal__highlighted_1abcs","sticky":"modal__sticky_1abcs","content":"modal__content_1abcs","title":"modal__title_1abcs","addon":"modal__addon_1abcs","closer":"modal__closer_1abcs","left":"modal__left_1abcs","center":"modal__center_1abcs","right":"modal__right_1abcs","trim":"modal__trim_1abcs"};
|
|
20
20
|
require('./index.css')
|
|
21
21
|
|
|
22
|
-
const mobileStyles = {"sticky":"
|
|
22
|
+
const mobileStyles = {"sticky":"modal__sticky_a9mmw","content":"modal__content_a9mmw"};
|
|
23
23
|
require('./mobile.css')
|
|
24
24
|
|
|
25
25
|
const Header = ({ className, addonClassName, contentClassName, leftAddons, children, align = 'left', trim = true, title, hasCloser = true, sticky, dataTestId, }) => {
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: vkd7z */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:
|
|
13
|
+
} :root {
|
|
14
|
+
--border-radius-l: 12px;
|
|
15
|
+
} :root {
|
|
11
16
|
--gap-xs: 8px;
|
|
12
17
|
--gap-m: 16px;
|
|
13
18
|
--gap-xl: 24px;
|
|
14
19
|
--gap-3xl: 40px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
20
|
+
} :root {
|
|
17
21
|
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
18
22
|
sans-serif;
|
|
19
|
-
}
|
|
20
|
-
:root {
|
|
21
|
-
--border-radius-l: 12px;
|
|
22
|
-
}
|
|
23
|
-
:root {
|
|
23
|
+
} :root {
|
|
24
|
+
} :root {
|
|
24
25
|
--modal-border-radius: var(--border-radius-l);
|
|
25
26
|
--modal-vertical-padding: var(--gap-3xl);
|
|
26
27
|
|
|
@@ -42,46 +43,36 @@
|
|
|
42
43
|
--modal-header-desktop-font-family: var(--font-family-system);
|
|
43
44
|
|
|
44
45
|
/* mobile */
|
|
45
|
-
}
|
|
46
|
-
.modal__header_2m9gw {
|
|
46
|
+
} .modal__header_10rwy {
|
|
47
47
|
border-top-left-radius: var(--modal-border-radius);
|
|
48
48
|
border-top-right-radius: var(--modal-border-radius);
|
|
49
|
-
}
|
|
50
|
-
.modal__content_2m9gw {
|
|
49
|
+
} .modal__content_10rwy {
|
|
51
50
|
font-weight: var(--modal-header-desktop-font-weight);
|
|
52
51
|
font-family: var(--modal-header-desktop-font-family);
|
|
53
|
-
}
|
|
54
|
-
.
|
|
55
|
-
.modal__m_2m9gw .modal__content_2m9gw {
|
|
52
|
+
} .modal__s_10rwy .modal__content_10rwy,
|
|
53
|
+
.modal__m_10rwy .modal__content_10rwy {
|
|
56
54
|
padding: var(--modal-s-header-desktop-content-paddings);
|
|
57
55
|
font-size: var(--modal-s-header-desktop-font-size);
|
|
58
56
|
line-height: var(--modal-s-header-desktop-line-height);
|
|
59
|
-
}
|
|
60
|
-
.
|
|
61
|
-
.
|
|
62
|
-
.modal__fullscreen_2m9gw .modal__content_2m9gw {
|
|
57
|
+
} .modal__l_10rwy .modal__content_10rwy,
|
|
58
|
+
.modal__xl_10rwy .modal__content_10rwy,
|
|
59
|
+
.modal__fullscreen_10rwy .modal__content_10rwy {
|
|
63
60
|
padding: var(--modal-l-header-desktop-content-paddings);
|
|
64
61
|
font-size: var(--modal-l-header-desktop-font-size);
|
|
65
62
|
line-height: var(--modal-l-header-desktop-line-height);
|
|
66
|
-
}
|
|
67
|
-
.
|
|
68
|
-
.modal__m_2m9gw {
|
|
63
|
+
} .modal__s_10rwy,
|
|
64
|
+
.modal__m_10rwy {
|
|
69
65
|
padding: var(--modal-s-header-paddings)
|
|
70
|
-
}
|
|
71
|
-
.modal__s_2m9gw:not(.modal__hasContent_2m9gw), .modal__m_2m9gw:not(.modal__hasContent_2m9gw) {
|
|
66
|
+
} .modal__s_10rwy:not(.modal__hasContent_10rwy), .modal__m_10rwy:not(.modal__hasContent_10rwy) {
|
|
72
67
|
padding-bottom: 0;
|
|
73
|
-
}
|
|
74
|
-
.
|
|
75
|
-
.
|
|
76
|
-
.modal__fullscreen_2m9gw {
|
|
68
|
+
} .modal__l_10rwy,
|
|
69
|
+
.modal__xl_10rwy,
|
|
70
|
+
.modal__fullscreen_10rwy {
|
|
77
71
|
padding: var(--gap-xl) var(--gap-xl) var(--gap-m)
|
|
78
|
-
}
|
|
79
|
-
.modal__l_2m9gw:not(.modal__hasContent_2m9gw), .modal__xl_2m9gw:not(.modal__hasContent_2m9gw), .modal__fullscreen_2m9gw:not(.modal__hasContent_2m9gw) {
|
|
72
|
+
} .modal__l_10rwy:not(.modal__hasContent_10rwy), .modal__xl_10rwy:not(.modal__hasContent_10rwy), .modal__fullscreen_10rwy:not(.modal__hasContent_10rwy) {
|
|
80
73
|
padding-bottom: var(--gap-m);
|
|
81
|
-
}
|
|
82
|
-
.modal__sticky_2m9gw {
|
|
74
|
+
} .modal__sticky_10rwy {
|
|
83
75
|
top: calc(var(--modal-vertical-padding) * -1)
|
|
84
|
-
}
|
|
85
|
-
.modal__sticky_2m9gw.modal__fullscreen_2m9gw {
|
|
76
|
+
} .modal__sticky_10rwy.modal__fullscreen_10rwy {
|
|
86
77
|
top: 0;
|
|
87
78
|
}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: pknb9 */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-bg-primary: #fff;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
14
19
|
--modal-header-background: var(--color-light-bg-primary);
|
|
15
20
|
|
|
16
21
|
/* sizes */
|
|
@@ -24,62 +29,48 @@
|
|
|
24
29
|
/* desktop */
|
|
25
30
|
|
|
26
31
|
/* mobile */
|
|
27
|
-
}
|
|
28
|
-
.modal__header_1jbvb {
|
|
32
|
+
} .modal__header_1abcs {
|
|
29
33
|
width: 100%;
|
|
30
34
|
box-sizing: border-box;
|
|
31
35
|
display: flex;
|
|
32
36
|
align-items: stretch;
|
|
33
37
|
justify-content: space-between;
|
|
34
38
|
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
35
|
-
}
|
|
36
|
-
.modal__header_1jbvb:not(.modal__hasContent_1jbvb) {
|
|
39
|
+
} .modal__header_1abcs:not(.modal__hasContent_1abcs) {
|
|
37
40
|
pointer-events: none;
|
|
38
|
-
}
|
|
39
|
-
.modal__highlighted_1jbvb {
|
|
41
|
+
} .modal__highlighted_1abcs {
|
|
40
42
|
background: var(--modal-header-highlight-background);
|
|
41
43
|
box-shadow: var(--modal-header-highlight-box-shadow);
|
|
42
|
-
}
|
|
43
|
-
.modal__sticky_1jbvb {
|
|
44
|
+
} .modal__sticky_1abcs {
|
|
44
45
|
position: sticky;
|
|
45
46
|
z-index: 1
|
|
46
|
-
}
|
|
47
|
-
.modal__sticky_1jbvb.modal__hasContent_1jbvb {
|
|
47
|
+
} .modal__sticky_1abcs.modal__hasContent_1abcs {
|
|
48
48
|
background: var(--modal-header-background);
|
|
49
|
-
}
|
|
50
|
-
.modal__content_1jbvb {
|
|
49
|
+
} .modal__content_1abcs {
|
|
51
50
|
flex-grow: 1;
|
|
52
|
-
}
|
|
53
|
-
.modal__title_1jbvb {
|
|
51
|
+
} .modal__title_1abcs {
|
|
54
52
|
word-break: break-word;
|
|
55
|
-
}
|
|
56
|
-
.modal__addon_1jbvb {
|
|
53
|
+
} .modal__addon_1abcs {
|
|
57
54
|
min-width: 48px;
|
|
58
55
|
height: 48px;
|
|
59
56
|
display: flex;
|
|
60
57
|
justify-content: center;
|
|
61
58
|
align-items: center;
|
|
62
59
|
pointer-events: all;
|
|
63
|
-
}
|
|
64
|
-
.modal__closer_1jbvb {
|
|
60
|
+
} .modal__closer_1abcs {
|
|
65
61
|
margin-left: auto;
|
|
66
|
-
}
|
|
67
|
-
.modal__left_1jbvb {
|
|
62
|
+
} .modal__left_1abcs {
|
|
68
63
|
justify-content: flex-start;
|
|
69
64
|
text-align: left;
|
|
70
|
-
}
|
|
71
|
-
.modal__center_1jbvb {
|
|
65
|
+
} .modal__center_1abcs {
|
|
72
66
|
justify-content: center;
|
|
73
67
|
text-align: center;
|
|
74
|
-
}
|
|
75
|
-
.modal__right_1jbvb {
|
|
68
|
+
} .modal__right_1abcs {
|
|
76
69
|
justify-content: flex-end;
|
|
77
70
|
text-align: right;
|
|
78
|
-
}
|
|
79
|
-
.modal__trim_1jbvb {
|
|
71
|
+
} .modal__trim_1abcs {
|
|
80
72
|
overflow: hidden
|
|
81
|
-
}
|
|
82
|
-
.modal__trim_1jbvb .modal__title_1jbvb {
|
|
73
|
+
} .modal__trim_1abcs .modal__title_1abcs {
|
|
83
74
|
overflow: hidden;
|
|
84
75
|
white-space: nowrap;
|
|
85
76
|
text-overflow: ellipsis;
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 12ltd */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-xs: 8px;
|
|
12
16
|
--gap-s: 12px;
|
|
13
17
|
--gap-m: 16px;
|
|
14
|
-
}
|
|
15
|
-
:root {
|
|
18
|
+
} :root {
|
|
16
19
|
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
17
20
|
sans-serif;
|
|
18
|
-
}
|
|
19
|
-
:root {
|
|
21
|
+
} :root {
|
|
22
|
+
} :root {
|
|
20
23
|
|
|
21
24
|
/* sizes */
|
|
22
25
|
|
|
@@ -32,11 +35,9 @@
|
|
|
32
35
|
--modal-header-mobile-line-height: 24px;
|
|
33
36
|
--modal-header-mobile-font-family: var(--font-family-system);
|
|
34
37
|
--modal-header-mobile-font-weight: bold;
|
|
35
|
-
}
|
|
36
|
-
.modal__sticky_tqntf {
|
|
38
|
+
} .modal__sticky_a9mmw {
|
|
37
39
|
top: 0;
|
|
38
|
-
}
|
|
39
|
-
.modal__content_tqntf {
|
|
40
|
+
} .modal__content_a9mmw {
|
|
40
41
|
font-size: var(--modal-header-mobile-font-size);
|
|
41
42
|
line-height: var(--modal-header-mobile-line-height);
|
|
42
43
|
font-family: var(--modal-header-mobile-font-family);
|
package/modern/desktop.css
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: darmm */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
11
|
-
--gap-3xl: 40px;
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
14
|
--border-radius-l: 12px;
|
|
15
|
-
}
|
|
16
|
-
:
|
|
15
|
+
} :root {
|
|
16
|
+
--gap-3xl: 40px;
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
17
20
|
--modal-border-radius: var(--border-radius-l);
|
|
18
21
|
--modal-vertical-padding: var(--gap-3xl);
|
|
19
22
|
|
|
@@ -30,33 +33,25 @@
|
|
|
30
33
|
/* desktop */
|
|
31
34
|
|
|
32
35
|
/* mobile */
|
|
33
|
-
}
|
|
34
|
-
.modal__wrapper_u2qdw {
|
|
36
|
+
} .modal__wrapper_paj31 {
|
|
35
37
|
padding-top: var(--modal-vertical-padding);
|
|
36
38
|
padding-bottom: var(--modal-vertical-padding);
|
|
37
|
-
}
|
|
38
|
-
.modal__component_u2qdw {
|
|
39
|
+
} .modal__component_paj31 {
|
|
39
40
|
width: 100%;
|
|
40
41
|
max-width: 100%;
|
|
41
42
|
border-radius: var(--modal-border-radius);
|
|
42
|
-
}
|
|
43
|
-
.modal__fullscreen_u2qdw {
|
|
43
|
+
} .modal__fullscreen_paj31 {
|
|
44
44
|
padding-top: 0;
|
|
45
45
|
padding-bottom: 0
|
|
46
|
-
}
|
|
47
|
-
.modal__fullscreen_u2qdw .modal__component_u2qdw {
|
|
46
|
+
} .modal__fullscreen_paj31 .modal__component_paj31 {
|
|
48
47
|
flex: 1;
|
|
49
48
|
border-radius: 0;
|
|
50
|
-
}
|
|
51
|
-
.modal__s_u2qdw {
|
|
49
|
+
} .modal__s_paj31 {
|
|
52
50
|
width: var(--modal-s-width);
|
|
53
|
-
}
|
|
54
|
-
.modal__m_u2qdw {
|
|
51
|
+
} .modal__m_paj31 {
|
|
55
52
|
width: var(--modal-m-width);
|
|
56
|
-
}
|
|
57
|
-
.modal__l_u2qdw {
|
|
53
|
+
} .modal__l_paj31 {
|
|
58
54
|
width: var(--modal-l-width);
|
|
59
|
-
}
|
|
60
|
-
.modal__xl_u2qdw {
|
|
55
|
+
} .modal__xl_paj31 {
|
|
61
56
|
width: var(--modal-xl-width);
|
|
62
57
|
}
|
package/modern/mobile.css
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 7901l */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
11
18
|
|
|
12
19
|
/* sizes */
|
|
13
20
|
|
|
@@ -18,8 +25,7 @@
|
|
|
18
25
|
/* desktop */
|
|
19
26
|
|
|
20
27
|
/* mobile */
|
|
21
|
-
}
|
|
22
|
-
.modal__component_nu45w {
|
|
28
|
+
} .modal__component_1sz6y {
|
|
23
29
|
flex: 1;
|
|
24
30
|
width: 100%;
|
|
25
31
|
}
|
package/modern/transitions.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
/* hash: 1a2s0 */
|
|
2
|
+
.modal__appear_10g9m,
|
|
3
|
+
.modal__enter_10g9m {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
8
|
+
.modal__appearActive_10g9m,
|
|
9
|
+
.modal__enterActive_10g9m {
|
|
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_10g9m {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.modal__exitActive_10g9m,
|
|
21
|
+
.modal__exitDone_10g9m {
|
|
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": "6.1.
|
|
3
|
+
"version": "6.1.9",
|
|
4
4
|
"description": "Modal component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"directory": "dist"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@alfalab/core-components-base-modal": "^5.0.
|
|
16
|
+
"@alfalab/core-components-base-modal": "^5.0.8",
|
|
17
17
|
"@alfalab/core-components-button": "^7.0.3",
|
|
18
18
|
"@alfalab/core-components-icon-button": "^6.0.4",
|
|
19
19
|
"@alfalab/core-components-mq": "^4.1.2",
|
|
20
20
|
"@alfalab/icons-glyph": "^2.89.0",
|
|
21
21
|
"classnames": "^2.3.1",
|
|
22
|
-
"react-transition-group": "^4.4.
|
|
22
|
+
"react-transition-group": "^4.4.5"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@types/react-transition-group": "^4.
|
|
25
|
+
"@types/react-transition-group": "^4.4.5"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
package/responsive.js
CHANGED
package/transitions.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
/* hash: 1a2s0 */
|
|
2
|
+
.modal__appear_10g9m,
|
|
3
|
+
.modal__enter_10g9m {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
8
|
+
.modal__appearActive_10g9m,
|
|
9
|
+
.modal__enterActive_10g9m {
|
|
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_10g9m {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.modal__exitActive_10g9m,
|
|
21
|
+
.modal__exitDone_10g9m {
|
|
22
22
|
opacity: 0;
|
|
23
23
|
transform: translateY(15px);
|
|
24
24
|
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
File without changes
|
|
File without changes
|