@alfalab/core-components-modal 9.3.10 → 9.3.11
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 +10 -9
- package/components/content/index.css +4 -4
- package/components/content/mobile.css +6 -5
- package/components/controls/Component.js +2 -2
- package/components/controls/index.css +2 -2
- package/components/footer/Component.js +4 -4
- package/components/footer/desktop.css +13 -11
- package/components/footer/index.css +4 -4
- package/components/footer/layout.css +27 -24
- package/components/footer/mobile.css +5 -4
- package/components/header/Component.js +3 -3
- package/components/header/desktop.css +21 -18
- package/components/header/index.css +4 -4
- package/components/header/mobile.css +12 -11
- package/cssm/components/content/desktop.module.css +3 -2
- package/cssm/components/content/mobile.module.css +3 -2
- package/cssm/components/footer/desktop.module.css +4 -2
- package/cssm/components/footer/layout.module.css +10 -7
- package/cssm/components/footer/mobile.module.css +2 -1
- package/cssm/components/header/desktop.module.css +6 -3
- package/cssm/components/header/mobile.module.css +8 -7
- package/cssm/desktop/desktop.module.css +2 -1
- package/desktop/desktop.css +11 -10
- package/esm/Component.js +3 -3
- package/esm/components/content/Component.js +3 -3
- package/esm/components/content/desktop.css +10 -9
- package/esm/components/content/index.css +4 -4
- package/esm/components/content/mobile.css +6 -5
- package/esm/components/controls/Component.js +2 -2
- package/esm/components/controls/index.css +2 -2
- package/esm/components/footer/Component.js +4 -4
- package/esm/components/footer/desktop.css +13 -11
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/layout.css +27 -24
- package/esm/components/footer/mobile.css +5 -4
- package/esm/components/header/Component.js +3 -3
- package/esm/components/header/desktop.css +21 -18
- package/esm/components/header/index.css +4 -4
- package/esm/components/header/mobile.css +12 -11
- package/esm/desktop/desktop.css +11 -10
- package/esm/layout.module-3d1aefad.js +4 -0
- package/esm/mobile/mobile.css +2 -2
- package/esm/transitions.css +8 -8
- package/layout.module-f48c21d7.js +6 -0
- package/mobile/mobile.css +2 -2
- package/modern/Component.js +3 -3
- package/modern/components/content/Component.js +3 -3
- package/modern/components/content/desktop.css +10 -9
- package/modern/components/content/index.css +4 -4
- package/modern/components/content/mobile.css +6 -5
- package/modern/components/controls/Component.js +2 -2
- package/modern/components/controls/index.css +2 -2
- package/modern/components/footer/Component.js +4 -4
- package/modern/components/footer/desktop.css +13 -11
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/layout.css +27 -24
- package/modern/components/footer/mobile.css +5 -4
- package/modern/components/header/Component.js +3 -3
- package/modern/components/header/desktop.css +21 -18
- package/modern/components/header/index.css +4 -4
- package/modern/components/header/mobile.css +12 -11
- package/modern/desktop/desktop.css +11 -10
- package/modern/layout.module-93d7102e.js +4 -0
- package/modern/mobile/mobile.css +2 -2
- package/modern/transitions.css +8 -8
- package/package.json +4 -4
- package/src/components/content/mobile.module.css +2 -2
- package/src/components/footer/layout.module.css +6 -6
- package/src/components/footer/mobile.module.css +1 -1
- package/src/vars.css +12 -12
- package/transitions.css +8 -8
- package/esm/layout.module-95f002db.js +0 -4
- package/layout.module-11b72f97.js +0 -6
- package/modern/layout.module-9269c97b.js +0 -4
package/modern/transitions.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
/* hash: 168cn */
|
|
2
|
+
.modal__appear_19l7u,
|
|
3
|
+
.modal__enter_19l7u {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
8
|
+
.modal__appearActive_19l7u,
|
|
9
|
+
.modal__enterActive_19l7u {
|
|
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_19l7u {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.modal__exitActive_19l7u,
|
|
21
|
+
.modal__exitDone_19l7u {
|
|
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": "9.3.
|
|
3
|
+
"version": "9.3.11",
|
|
4
4
|
"description": "Modal component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"directory": "dist"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@alfalab/core-components-base-modal": "^5.7.
|
|
15
|
-
"@alfalab/core-components-navigation-bar-private": "^0.1.
|
|
14
|
+
"@alfalab/core-components-base-modal": "^5.7.11",
|
|
15
|
+
"@alfalab/core-components-navigation-bar-private": "^0.1.10",
|
|
16
16
|
"@alfalab/core-components-shared": "^0.12.0",
|
|
17
17
|
"@alfalab/core-components-mq": "^4.3.0",
|
|
18
18
|
"classnames": "^2.3.1",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
24
24
|
},
|
|
25
|
-
"themesVersion": "13.0.
|
|
25
|
+
"themesVersion": "13.0.2",
|
|
26
26
|
"varsVersion": "9.11.1"
|
|
27
27
|
}
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
&.gap-16 > *:not(:last-child):not(:only-child) {
|
|
12
|
-
margin-bottom: var(--gap-
|
|
12
|
+
margin-bottom: var(--gap-16);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&.gap-24 > *:not(:last-child):not(:only-child) {
|
|
16
|
-
margin-bottom: var(--gap-
|
|
16
|
+
margin-bottom: var(--gap-24);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
&.gap-32 > *:not(:last-child):not(:only-child) {
|
|
20
|
-
margin-bottom: var(--gap-
|
|
20
|
+
margin-bottom: var(--gap-32);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
&.gap-16 > *:not(:last-child):not(:only-child) {
|
|
50
|
-
margin-right: var(--gap-
|
|
50
|
+
margin-right: var(--gap-16);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&.gap-24 > *:not(:last-child):not(:only-child) {
|
|
54
|
-
margin-right: var(--gap-
|
|
54
|
+
margin-right: var(--gap-24);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
&.gap-32 > *:not(:last-child):not(:only-child) {
|
|
58
|
-
margin-right: var(--gap-
|
|
58
|
+
margin-right: var(--gap-32);
|
|
59
59
|
}
|
|
60
60
|
}
|
package/src/vars.css
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
4
|
--modal-border-radius: var(--border-radius-l);
|
|
5
|
-
--modal-vertical-padding: var(--gap-
|
|
5
|
+
--modal-vertical-padding: var(--gap-40);
|
|
6
6
|
--modal-header-background: var(--color-light-modal-bg-primary);
|
|
7
7
|
--modal-footer-background: var(--color-light-modal-bg-primary);
|
|
8
|
-
--modal-footer-default-gap: var(--gap-
|
|
8
|
+
--modal-footer-default-gap: var(--gap-16);
|
|
9
9
|
|
|
10
10
|
/* sizes */
|
|
11
11
|
--modal-s-width: 500px;
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
|
|
16
16
|
/* paddings */
|
|
17
17
|
--modal-s-header-paddings: 28px 28px 0;
|
|
18
|
-
--modal-s-content-paddings: var(--gap-
|
|
19
|
-
--modal-s-content-only-bottom-padding: var(--gap-
|
|
20
|
-
--modal-s-footer-paddings: var(--gap-
|
|
18
|
+
--modal-s-content-paddings: var(--gap-40) var(--gap-40) 0;
|
|
19
|
+
--modal-s-content-only-bottom-padding: var(--gap-40);
|
|
20
|
+
--modal-s-footer-paddings: var(--gap-24) var(--gap-40) var(--gap-40);
|
|
21
21
|
|
|
22
22
|
/* scroll */
|
|
23
23
|
--modal-header-highlight-background: var(--color-light-modal-bg-primary);
|
|
@@ -26,22 +26,22 @@
|
|
|
26
26
|
--modal-footer-highlight-box-shadow: 0 -1px 0 0 var(--color-light-neutral-300);
|
|
27
27
|
|
|
28
28
|
/* desktop */
|
|
29
|
-
--modal-s-header-desktop-content-paddings: var(--gap-
|
|
29
|
+
--modal-s-header-desktop-content-paddings: var(--gap-12);
|
|
30
30
|
--modal-s-header-desktop-font-size: 22px;
|
|
31
31
|
--modal-s-header-desktop-line-height: 26px;
|
|
32
|
-
--modal-l-header-desktop-content-paddings: 6px var(--gap-
|
|
32
|
+
--modal-l-header-desktop-content-paddings: 6px var(--gap-12) var(--gap-16);
|
|
33
33
|
--modal-l-header-desktop-font-size: 30px;
|
|
34
34
|
--modal-l-header-desktop-line-height: 36px;
|
|
35
35
|
--modal-header-desktop-font-weight: bold;
|
|
36
36
|
--modal-header-desktop-font-family: var(--font-family-system);
|
|
37
37
|
|
|
38
38
|
/* mobile */
|
|
39
|
-
--modal-header-mobile-content-paddings:
|
|
40
|
-
--modal-header-mobile-font-size:
|
|
41
|
-
--modal-header-mobile-line-height:
|
|
39
|
+
--modal-header-mobile-content-paddings: 10px var(--gap-8);
|
|
40
|
+
--modal-header-mobile-font-size: 20px;
|
|
41
|
+
--modal-header-mobile-line-height: 28px;
|
|
42
42
|
--modal-header-mobile-font-family: var(--font-family-system);
|
|
43
|
-
--modal-header-mobile-font-weight:
|
|
43
|
+
--modal-header-mobile-font-weight: 600;
|
|
44
44
|
|
|
45
45
|
/* paddings */
|
|
46
|
-
--modal-header-mobile-paddings: var(--gap-
|
|
46
|
+
--modal-header-mobile-paddings: var(--gap-4) var(--gap-8);
|
|
47
47
|
}
|
package/transitions.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.
|
|
3
|
-
.
|
|
1
|
+
/* hash: 168cn */
|
|
2
|
+
.modal__appear_19l7u,
|
|
3
|
+
.modal__enter_19l7u {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
9
|
-
.
|
|
8
|
+
.modal__appearActive_19l7u,
|
|
9
|
+
.modal__enterActive_19l7u {
|
|
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_19l7u {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
.modal__exitActive_19l7u,
|
|
21
|
+
.modal__exitDone_19l7u {
|
|
22
22
|
opacity: 0;
|
|
23
23
|
transform: translateY(15px);
|
|
24
24
|
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var layoutStyles = {"column":"modal__column_3s9qv","gap-16":"modal__gap-16_3s9qv","gap-24":"modal__gap-24_3s9qv","gap-32":"modal__gap-32_3s9qv","start":"modal__start_3s9qv","center":"modal__center_3s9qv","space-between":"modal__space-between_3s9qv"};
|
|
2
|
-
require('./components/footer/layout.css')
|
|
3
|
-
|
|
4
|
-
export { layoutStyles as l };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var layoutStyles = {"column":"modal__column_3s9qv","gap-16":"modal__gap-16_3s9qv","gap-24":"modal__gap-24_3s9qv","gap-32":"modal__gap-32_3s9qv","start":"modal__start_3s9qv","center":"modal__center_3s9qv","space-between":"modal__space-between_3s9qv"};
|
|
4
|
-
require('./components/footer/layout.css')
|
|
5
|
-
|
|
6
|
-
exports.layoutStyles = layoutStyles;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const layoutStyles = {"column":"modal__column_3s9qv","gap-16":"modal__gap-16_3s9qv","gap-24":"modal__gap-24_3s9qv","gap-32":"modal__gap-32_3s9qv","start":"modal__start_3s9qv","center":"modal__center_3s9qv","space-between":"modal__space-between_3s9qv"};
|
|
2
|
-
require('./components/footer/layout.css')
|
|
3
|
-
|
|
4
|
-
export { layoutStyles as l };
|