@alfalab/core-components-bottom-sheet 6.12.0 → 6.13.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/component.js +1 -1
- package/components/footer/Component.js +1 -1
- package/components/footer/index.css +31 -30
- package/components/header/Component.js +1 -1
- package/components/header/index.css +15 -15
- package/cssm/components/footer/index.module.css +5 -4
- package/cssm/components/header/index.module.css +2 -2
- package/cssm/index.module.css +4 -3
- package/cssm/types.d.ts +2 -1
- package/esm/component.js +1 -1
- package/esm/components/footer/Component.js +1 -1
- package/esm/components/footer/index.css +31 -30
- package/esm/components/header/Component.js +1 -1
- package/esm/components/header/index.css +15 -15
- package/esm/index.css +48 -47
- package/esm/types.d.ts +2 -1
- package/index.css +48 -47
- package/modern/component.js +1 -1
- package/modern/components/footer/Component.js +1 -1
- package/modern/components/footer/index.css +31 -30
- package/modern/components/header/Component.js +1 -1
- package/modern/components/header/index.css +15 -15
- package/modern/index.css +48 -47
- package/modern/types.d.ts +2 -1
- package/package.json +4 -4
- package/src/components/footer/index.module.css +1 -1
- package/src/index.module.css +2 -2
- package/src/types.ts +2 -1
- package/src/vars.css +3 -3
- package/types.d.ts +2 -1
package/component.js
CHANGED
|
@@ -23,7 +23,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
23
23
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
24
24
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
25
25
|
|
|
26
|
-
var styles = {"modal":"bottom-
|
|
26
|
+
var styles = {"modal":"bottom-sheet__modal_1g9ix","wrapper":"bottom-sheet__wrapper_1g9ix","fullscreen":"bottom-sheet__fullscreen_1g9ix","component":"bottom-sheet__component_1g9ix","withTransition":"bottom-sheet__withTransition_1g9ix","scrollableContainer":"bottom-sheet__scrollableContainer_1g9ix","marker":"bottom-sheet__marker_1g9ix","defaultMarker":"bottom-sheet__defaultMarker_1g9ix","content":"bottom-sheet__content_1g9ix","noHeader":"bottom-sheet__noHeader_1g9ix","noFooter":"bottom-sheet__noFooter_1g9ix","scrollLocked":"bottom-sheet__scrollLocked_1g9ix","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_1g9ix","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_1g9ix","appear":"bottom-sheet__appear_1g9ix","enter":"bottom-sheet__enter_1g9ix","appearActive":"bottom-sheet__appearActive_1g9ix","enterActive":"bottom-sheet__enterActive_1g9ix","enterDone":"bottom-sheet__enterDone_1g9ix","appearDone":"bottom-sheet__appearDone_1g9ix","exit":"bottom-sheet__exit_1g9ix","exitActive":"bottom-sheet__exitActive_1g9ix","background-accent":"bottom-sheet__background-accent_1g9ix","background-info":"bottom-sheet__background-info_1g9ix","background-attention-muted":"bottom-sheet__background-attention-muted_1g9ix","background-positive-muted":"bottom-sheet__background-positive-muted_1g9ix","background-negative-muted":"bottom-sheet__background-negative-muted_1g9ix","background-primary":"bottom-sheet__background-primary_1g9ix","background-primary-inverted":"bottom-sheet__background-primary-inverted_1g9ix","background-secondary":"bottom-sheet__background-secondary_1g9ix","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1g9ix","background-tertiary":"bottom-sheet__background-tertiary_1g9ix","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1g9ix","background-quaternary":"bottom-sheet__background-quaternary_1g9ix","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1g9ix","background-specialbg-component":"bottom-sheet__background-specialbg-component_1g9ix","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1g9ix","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1g9ix","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1g9ix","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1g9ix","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1g9ix","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1g9ix","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1g9ix","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1g9ix"};
|
|
27
27
|
require('./index.css')
|
|
28
28
|
|
|
29
29
|
var isNil = coreComponentsShared.fnUtils.isNil;
|
|
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
13
13
|
|
|
14
|
-
var styles = {"footer":"bottom-
|
|
14
|
+
var styles = {"footer":"bottom-sheet__footer_yeh29","sticky":"bottom-sheet__sticky_yeh29","highlighted":"bottom-sheet__highlighted_yeh29","background-accent":"bottom-sheet__background-accent_yeh29","background-info":"bottom-sheet__background-info_yeh29","background-attention-muted":"bottom-sheet__background-attention-muted_yeh29","background-positive-muted":"bottom-sheet__background-positive-muted_yeh29","background-negative-muted":"bottom-sheet__background-negative-muted_yeh29","background-primary":"bottom-sheet__background-primary_yeh29","background-primary-inverted":"bottom-sheet__background-primary-inverted_yeh29","background-secondary":"bottom-sheet__background-secondary_yeh29","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_yeh29","background-tertiary":"bottom-sheet__background-tertiary_yeh29","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_yeh29","background-quaternary":"bottom-sheet__background-quaternary_yeh29","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_yeh29","background-specialbg-component":"bottom-sheet__background-specialbg-component_yeh29","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_yeh29","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_yeh29","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_yeh29","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_yeh29","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_yeh29","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_yeh29","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_yeh29","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_yeh29"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1cora */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
--color-light-bg-secondary-inverted: #1c1c1e;
|
|
15
15
|
--color-light-bg-tertiary: #e7e8ea;
|
|
16
16
|
--color-light-bg-tertiary-inverted: #27272a;
|
|
17
|
-
--color-light-
|
|
17
|
+
--color-light-modal-bg-primary: #fff;
|
|
18
|
+
--color-light-neutral-300: #e7e8eb;
|
|
18
19
|
--color-light-specialbg-component: rgba(11, 31, 53, 0.07);
|
|
19
20
|
--color-light-specialbg-component-inverted: rgba(255, 255, 255, 0.1);
|
|
20
21
|
--color-light-specialbg-primary-grouped: #f2f3f5;
|
|
@@ -43,60 +44,60 @@
|
|
|
43
44
|
/* header */
|
|
44
45
|
|
|
45
46
|
/* footer */
|
|
46
|
-
--bottom-sheet-footer-border-top: 1px solid var(--color-light-
|
|
47
|
-
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
48
|
-
} .bottom-
|
|
47
|
+
--bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
|
|
48
|
+
--bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
|
|
49
|
+
} .bottom-sheet__footer_yeh29 {
|
|
49
50
|
padding: var(--gap-m) var(--gap-m);
|
|
50
|
-
background-color: var(--color-light-bg-primary);
|
|
51
|
-
} .bottom-
|
|
51
|
+
background-color: var(--color-light-modal-bg-primary);
|
|
52
|
+
} .bottom-sheet__sticky_yeh29 {
|
|
52
53
|
position: sticky;
|
|
53
54
|
bottom: 0;
|
|
54
55
|
z-index: 1;
|
|
55
|
-
} .bottom-
|
|
56
|
+
} .bottom-sheet__highlighted_yeh29 {
|
|
56
57
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
57
58
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
58
|
-
} .bottom-sheet__background-
|
|
59
|
+
} .bottom-sheet__background-accent_yeh29 {
|
|
59
60
|
background-color: var(--color-light-bg-accent);
|
|
60
|
-
} .bottom-sheet__background-
|
|
61
|
+
} .bottom-sheet__background-info_yeh29 {
|
|
61
62
|
background-color: var(--color-light-bg-info);
|
|
62
|
-
} .bottom-sheet__background-attention-
|
|
63
|
+
} .bottom-sheet__background-attention-muted_yeh29 {
|
|
63
64
|
background-color: var(--color-light-bg-attention-muted);
|
|
64
|
-
} .bottom-sheet__background-positive-
|
|
65
|
+
} .bottom-sheet__background-positive-muted_yeh29 {
|
|
65
66
|
background-color: var(--color-light-bg-positive-muted);
|
|
66
|
-
} .bottom-sheet__background-negative-
|
|
67
|
+
} .bottom-sheet__background-negative-muted_yeh29 {
|
|
67
68
|
background-color: var(--color-light-bg-negative-muted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
69
|
+
} .bottom-sheet__background-primary_yeh29 {
|
|
69
70
|
background-color: var(--color-light-bg-primary);
|
|
70
|
-
} .bottom-sheet__background-primary-
|
|
71
|
+
} .bottom-sheet__background-primary-inverted_yeh29 {
|
|
71
72
|
background-color: var(--color-light-bg-primary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
73
|
+
} .bottom-sheet__background-secondary_yeh29 {
|
|
73
74
|
background-color: var(--color-light-bg-secondary);
|
|
74
|
-
} .bottom-sheet__background-secondary-
|
|
75
|
+
} .bottom-sheet__background-secondary-inverted_yeh29 {
|
|
75
76
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
77
|
+
} .bottom-sheet__background-tertiary_yeh29 {
|
|
77
78
|
background-color: var(--color-light-bg-tertiary);
|
|
78
|
-
} .bottom-sheet__background-tertiary-
|
|
79
|
+
} .bottom-sheet__background-tertiary-inverted_yeh29 {
|
|
79
80
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
80
|
-
} .bottom-sheet__background-
|
|
81
|
+
} .bottom-sheet__background-quaternary_yeh29 {
|
|
81
82
|
background-color: var(--color-light-bg-quaternary);
|
|
82
|
-
} .bottom-sheet__background-quaternary-
|
|
83
|
+
} .bottom-sheet__background-quaternary-inverted_yeh29 {
|
|
83
84
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-
|
|
85
|
+
} .bottom-sheet__background-specialbg-component_yeh29 {
|
|
85
86
|
background-color: var(--color-light-specialbg-component);
|
|
86
|
-
} .bottom-sheet__background-specialbg-component-
|
|
87
|
+
} .bottom-sheet__background-specialbg-component-inverted_yeh29 {
|
|
87
88
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
88
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
89
|
+
} .bottom-sheet__background-specialbg-primary-grouped_yeh29 {
|
|
89
90
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
91
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_yeh29 {
|
|
91
92
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
92
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
93
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_yeh29 {
|
|
93
94
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
94
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
95
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_yeh29 {
|
|
95
96
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
96
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
97
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_yeh29 {
|
|
97
98
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
98
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
99
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_yeh29 {
|
|
99
100
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
100
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
101
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_yeh29 {
|
|
101
102
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
102
103
|
}
|
|
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"headerWrapper":"bottom-
|
|
16
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_14e0t","hasContent":"bottom-sheet__hasContent_14e0t","header":"bottom-sheet__header_14e0t","sticky":"bottom-sheet__sticky_14e0t","highlighted":"bottom-sheet__highlighted_14e0t","justifyEnd":"bottom-sheet__justifyEnd_14e0t","addon":"bottom-sheet__addon_14e0t","addonFixed":"bottom-sheet__addonFixed_14e0t","title":"bottom-sheet__title_14e0t","titleCenter":"bottom-sheet__titleCenter_14e0t","titleLeft":"bottom-sheet__titleLeft_14e0t","trimTitle":"bottom-sheet__trimTitle_14e0t"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Header = function (_a) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dlfo */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
--color-light-
|
|
4
|
+
--color-light-neutral-300: #e7e8eb; /* 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 */
|
|
5
5
|
} :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 */
|
|
6
6
|
} :root {
|
|
7
7
|
} :root {
|
|
@@ -23,49 +23,49 @@
|
|
|
23
23
|
} :root {
|
|
24
24
|
|
|
25
25
|
/* header */
|
|
26
|
-
--bottom-sheet-header-border-bottom: 1px solid var(--color-light-
|
|
26
|
+
--bottom-sheet-header-border-bottom: 1px solid var(--color-light-neutral-300);
|
|
27
27
|
--bottom-sheet-title-font-size: 18px;
|
|
28
28
|
--bottom-sheet-title-font-weight: 700;
|
|
29
29
|
--bottom-sheet-title-line-height: 24px;
|
|
30
30
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
31
31
|
|
|
32
32
|
/* footer */
|
|
33
|
-
} .bottom-
|
|
33
|
+
} .bottom-sheet__headerWrapper_14e0t {
|
|
34
34
|
padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
|
|
35
35
|
border-top-left-radius: inherit;
|
|
36
36
|
border-top-right-radius: inherit;
|
|
37
37
|
z-index: 1;
|
|
38
|
-
} .bottom-
|
|
38
|
+
} .bottom-sheet__hasContent_14e0t {
|
|
39
39
|
background-color: inherit;
|
|
40
|
-
} .bottom-
|
|
40
|
+
} .bottom-sheet__header_14e0t {
|
|
41
41
|
display: flex;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__sticky_14e0t {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
45
|
-
} .bottom-
|
|
45
|
+
} .bottom-sheet__highlighted_14e0t {
|
|
46
46
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__justifyEnd_14e0t {
|
|
48
48
|
justify-content: flex-end;
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__addon_14e0t {
|
|
50
50
|
display: flex;
|
|
51
51
|
justify-content: center;
|
|
52
52
|
align-items: center;
|
|
53
53
|
min-width: 48px;
|
|
54
54
|
height: 48px;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__addonFixed_14e0t {
|
|
56
56
|
position: fixed;
|
|
57
|
-
} .bottom-
|
|
57
|
+
} .bottom-sheet__title_14e0t {
|
|
58
58
|
padding: var(--gap-s) var(--gap-xs);
|
|
59
59
|
width: 100%;
|
|
60
60
|
font-size: var(--bottom-sheet-title-font-size);
|
|
61
61
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
62
62
|
line-height: var(--bottom-sheet-title-line-height);
|
|
63
63
|
font-family: var(--bottom-sheet-title-font-family);
|
|
64
|
-
} .bottom-
|
|
64
|
+
} .bottom-sheet__titleCenter_14e0t {
|
|
65
65
|
text-align: center;
|
|
66
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__titleLeft_14e0t {
|
|
67
67
|
text-align: left;
|
|
68
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__trimTitle_14e0t {
|
|
69
69
|
white-space: nowrap;
|
|
70
70
|
overflow: hidden;
|
|
71
71
|
text-overflow: ellipsis;
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
--color-light-bg-secondary-inverted: #1c1c1e;
|
|
14
14
|
--color-light-bg-tertiary: #e7e8ea;
|
|
15
15
|
--color-light-bg-tertiary-inverted: #27272a;
|
|
16
|
-
--color-light-
|
|
16
|
+
--color-light-modal-bg-primary: #fff;
|
|
17
|
+
--color-light-neutral-300: #e7e8eb;
|
|
17
18
|
--color-light-specialbg-component: rgba(11, 31, 53, 0.07);
|
|
18
19
|
--color-light-specialbg-component-inverted: rgba(255, 255, 255, 0.1);
|
|
19
20
|
--color-light-specialbg-primary-grouped: #f2f3f5;
|
|
@@ -42,11 +43,11 @@
|
|
|
42
43
|
/* header */
|
|
43
44
|
|
|
44
45
|
/* footer */
|
|
45
|
-
--bottom-sheet-footer-border-top: 1px solid var(--color-light-
|
|
46
|
-
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
46
|
+
--bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
|
|
47
|
+
--bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
|
|
47
48
|
} .footer {
|
|
48
49
|
padding: var(--gap-m) var(--gap-m);
|
|
49
|
-
background-color: var(--color-light-bg-primary);
|
|
50
|
+
background-color: var(--color-light-modal-bg-primary);
|
|
50
51
|
} .sticky {
|
|
51
52
|
position: sticky;
|
|
52
53
|
bottom: 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
} /* deprecated */ :root {
|
|
3
|
-
--color-light-
|
|
3
|
+
--color-light-neutral-300: #e7e8eb; /* 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 */
|
|
5
5
|
} :root {
|
|
6
6
|
} :root {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
} :root {
|
|
23
23
|
|
|
24
24
|
/* header */
|
|
25
|
-
--bottom-sheet-header-border-bottom: 1px solid var(--color-light-
|
|
25
|
+
--bottom-sheet-header-border-bottom: 1px solid var(--color-light-neutral-300);
|
|
26
26
|
--bottom-sheet-title-font-size: 18px;
|
|
27
27
|
--bottom-sheet-title-font-weight: 700;
|
|
28
28
|
--bottom-sheet-title-line-height: 24px;
|
package/cssm/index.module.css
CHANGED
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
--color-light-bg-secondary-inverted: #1c1c1e;
|
|
14
14
|
--color-light-bg-tertiary: #e7e8ea;
|
|
15
15
|
--color-light-bg-tertiary-inverted: #27272a;
|
|
16
|
-
--color-light-
|
|
16
|
+
--color-light-modal-bg-primary: #fff;
|
|
17
|
+
--color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
|
|
17
18
|
--color-light-specialbg-component: rgba(11, 31, 53, 0.07);
|
|
18
19
|
--color-light-specialbg-component-inverted: rgba(255, 255, 255, 0.1);
|
|
19
20
|
--color-light-specialbg-primary-grouped: #f2f3f5;
|
|
@@ -73,7 +74,7 @@
|
|
|
73
74
|
display: flex;
|
|
74
75
|
flex-direction: column;
|
|
75
76
|
border-radius: inherit;
|
|
76
|
-
background-color: var(--color-light-bg-primary);
|
|
77
|
+
background-color: var(--color-light-modal-bg-primary);
|
|
77
78
|
pointer-events: all;
|
|
78
79
|
box-shadow: var(--bottom-sheet-shadow);
|
|
79
80
|
} .withTransition {
|
|
@@ -98,7 +99,7 @@
|
|
|
98
99
|
} .defaultMarker {
|
|
99
100
|
height: 4px;
|
|
100
101
|
border-radius: var(--border-radius-xxl);
|
|
101
|
-
background-color: var(--color-light-
|
|
102
|
+
background-color: var(--color-light-neutral-translucent-300);
|
|
102
103
|
} .content {
|
|
103
104
|
position: relative;
|
|
104
105
|
z-index: 0;
|
package/cssm/types.d.ts
CHANGED
|
@@ -102,7 +102,8 @@ type BottomSheetProps = {
|
|
|
102
102
|
*/
|
|
103
103
|
transitionProps?: Partial<TransitionProps>;
|
|
104
104
|
/**
|
|
105
|
-
* Идентификатор для систем автоматизированного
|
|
105
|
+
* Идентификатор для систем автоматизированного тестирования.
|
|
106
|
+
* Для заголовка используется модификатор -header
|
|
106
107
|
*/
|
|
107
108
|
dataTestId?: string;
|
|
108
109
|
/**
|
package/esm/component.js
CHANGED
|
@@ -13,7 +13,7 @@ import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VE
|
|
|
13
13
|
import '@alfalab/core-components-navigation-bar/esm';
|
|
14
14
|
import '@alfalab/core-components-backdrop/esm';
|
|
15
15
|
|
|
16
|
-
var styles = {"modal":"bottom-
|
|
16
|
+
var styles = {"modal":"bottom-sheet__modal_1g9ix","wrapper":"bottom-sheet__wrapper_1g9ix","fullscreen":"bottom-sheet__fullscreen_1g9ix","component":"bottom-sheet__component_1g9ix","withTransition":"bottom-sheet__withTransition_1g9ix","scrollableContainer":"bottom-sheet__scrollableContainer_1g9ix","marker":"bottom-sheet__marker_1g9ix","defaultMarker":"bottom-sheet__defaultMarker_1g9ix","content":"bottom-sheet__content_1g9ix","noHeader":"bottom-sheet__noHeader_1g9ix","noFooter":"bottom-sheet__noFooter_1g9ix","scrollLocked":"bottom-sheet__scrollLocked_1g9ix","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_1g9ix","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_1g9ix","appear":"bottom-sheet__appear_1g9ix","enter":"bottom-sheet__enter_1g9ix","appearActive":"bottom-sheet__appearActive_1g9ix","enterActive":"bottom-sheet__enterActive_1g9ix","enterDone":"bottom-sheet__enterDone_1g9ix","appearDone":"bottom-sheet__appearDone_1g9ix","exit":"bottom-sheet__exit_1g9ix","exitActive":"bottom-sheet__exitActive_1g9ix","background-accent":"bottom-sheet__background-accent_1g9ix","background-info":"bottom-sheet__background-info_1g9ix","background-attention-muted":"bottom-sheet__background-attention-muted_1g9ix","background-positive-muted":"bottom-sheet__background-positive-muted_1g9ix","background-negative-muted":"bottom-sheet__background-negative-muted_1g9ix","background-primary":"bottom-sheet__background-primary_1g9ix","background-primary-inverted":"bottom-sheet__background-primary-inverted_1g9ix","background-secondary":"bottom-sheet__background-secondary_1g9ix","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1g9ix","background-tertiary":"bottom-sheet__background-tertiary_1g9ix","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1g9ix","background-quaternary":"bottom-sheet__background-quaternary_1g9ix","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1g9ix","background-specialbg-component":"bottom-sheet__background-specialbg-component_1g9ix","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1g9ix","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1g9ix","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1g9ix","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1g9ix","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1g9ix","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1g9ix","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1g9ix","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1g9ix"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var isNil = fnUtils.isNil;
|
|
@@ -2,7 +2,7 @@ import React, { useContext, useEffect } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
|
|
4
4
|
|
|
5
|
-
var styles = {"footer":"bottom-
|
|
5
|
+
var styles = {"footer":"bottom-sheet__footer_yeh29","sticky":"bottom-sheet__sticky_yeh29","highlighted":"bottom-sheet__highlighted_yeh29","background-accent":"bottom-sheet__background-accent_yeh29","background-info":"bottom-sheet__background-info_yeh29","background-attention-muted":"bottom-sheet__background-attention-muted_yeh29","background-positive-muted":"bottom-sheet__background-positive-muted_yeh29","background-negative-muted":"bottom-sheet__background-negative-muted_yeh29","background-primary":"bottom-sheet__background-primary_yeh29","background-primary-inverted":"bottom-sheet__background-primary-inverted_yeh29","background-secondary":"bottom-sheet__background-secondary_yeh29","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_yeh29","background-tertiary":"bottom-sheet__background-tertiary_yeh29","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_yeh29","background-quaternary":"bottom-sheet__background-quaternary_yeh29","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_yeh29","background-specialbg-component":"bottom-sheet__background-specialbg-component_yeh29","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_yeh29","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_yeh29","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_yeh29","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_yeh29","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_yeh29","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_yeh29","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_yeh29","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_yeh29"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1cora */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-accent: #ef3124;
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
--color-light-bg-secondary-inverted: #1c1c1e;
|
|
15
15
|
--color-light-bg-tertiary: #e7e8ea;
|
|
16
16
|
--color-light-bg-tertiary-inverted: #27272a;
|
|
17
|
-
--color-light-
|
|
17
|
+
--color-light-modal-bg-primary: #fff;
|
|
18
|
+
--color-light-neutral-300: #e7e8eb;
|
|
18
19
|
--color-light-specialbg-component: rgba(11, 31, 53, 0.07);
|
|
19
20
|
--color-light-specialbg-component-inverted: rgba(255, 255, 255, 0.1);
|
|
20
21
|
--color-light-specialbg-primary-grouped: #f2f3f5;
|
|
@@ -43,60 +44,60 @@
|
|
|
43
44
|
/* header */
|
|
44
45
|
|
|
45
46
|
/* footer */
|
|
46
|
-
--bottom-sheet-footer-border-top: 1px solid var(--color-light-
|
|
47
|
-
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
48
|
-
} .bottom-
|
|
47
|
+
--bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
|
|
48
|
+
--bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
|
|
49
|
+
} .bottom-sheet__footer_yeh29 {
|
|
49
50
|
padding: var(--gap-m) var(--gap-m);
|
|
50
|
-
background-color: var(--color-light-bg-primary);
|
|
51
|
-
} .bottom-
|
|
51
|
+
background-color: var(--color-light-modal-bg-primary);
|
|
52
|
+
} .bottom-sheet__sticky_yeh29 {
|
|
52
53
|
position: sticky;
|
|
53
54
|
bottom: 0;
|
|
54
55
|
z-index: 1;
|
|
55
|
-
} .bottom-
|
|
56
|
+
} .bottom-sheet__highlighted_yeh29 {
|
|
56
57
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
57
58
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
58
|
-
} .bottom-sheet__background-
|
|
59
|
+
} .bottom-sheet__background-accent_yeh29 {
|
|
59
60
|
background-color: var(--color-light-bg-accent);
|
|
60
|
-
} .bottom-sheet__background-
|
|
61
|
+
} .bottom-sheet__background-info_yeh29 {
|
|
61
62
|
background-color: var(--color-light-bg-info);
|
|
62
|
-
} .bottom-sheet__background-attention-
|
|
63
|
+
} .bottom-sheet__background-attention-muted_yeh29 {
|
|
63
64
|
background-color: var(--color-light-bg-attention-muted);
|
|
64
|
-
} .bottom-sheet__background-positive-
|
|
65
|
+
} .bottom-sheet__background-positive-muted_yeh29 {
|
|
65
66
|
background-color: var(--color-light-bg-positive-muted);
|
|
66
|
-
} .bottom-sheet__background-negative-
|
|
67
|
+
} .bottom-sheet__background-negative-muted_yeh29 {
|
|
67
68
|
background-color: var(--color-light-bg-negative-muted);
|
|
68
|
-
} .bottom-sheet__background-
|
|
69
|
+
} .bottom-sheet__background-primary_yeh29 {
|
|
69
70
|
background-color: var(--color-light-bg-primary);
|
|
70
|
-
} .bottom-sheet__background-primary-
|
|
71
|
+
} .bottom-sheet__background-primary-inverted_yeh29 {
|
|
71
72
|
background-color: var(--color-light-bg-primary-inverted);
|
|
72
|
-
} .bottom-sheet__background-
|
|
73
|
+
} .bottom-sheet__background-secondary_yeh29 {
|
|
73
74
|
background-color: var(--color-light-bg-secondary);
|
|
74
|
-
} .bottom-sheet__background-secondary-
|
|
75
|
+
} .bottom-sheet__background-secondary-inverted_yeh29 {
|
|
75
76
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
76
|
-
} .bottom-sheet__background-
|
|
77
|
+
} .bottom-sheet__background-tertiary_yeh29 {
|
|
77
78
|
background-color: var(--color-light-bg-tertiary);
|
|
78
|
-
} .bottom-sheet__background-tertiary-
|
|
79
|
+
} .bottom-sheet__background-tertiary-inverted_yeh29 {
|
|
79
80
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
80
|
-
} .bottom-sheet__background-
|
|
81
|
+
} .bottom-sheet__background-quaternary_yeh29 {
|
|
81
82
|
background-color: var(--color-light-bg-quaternary);
|
|
82
|
-
} .bottom-sheet__background-quaternary-
|
|
83
|
+
} .bottom-sheet__background-quaternary-inverted_yeh29 {
|
|
83
84
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
84
|
-
} .bottom-sheet__background-specialbg-
|
|
85
|
+
} .bottom-sheet__background-specialbg-component_yeh29 {
|
|
85
86
|
background-color: var(--color-light-specialbg-component);
|
|
86
|
-
} .bottom-sheet__background-specialbg-component-
|
|
87
|
+
} .bottom-sheet__background-specialbg-component-inverted_yeh29 {
|
|
87
88
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
88
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
89
|
+
} .bottom-sheet__background-specialbg-primary-grouped_yeh29 {
|
|
89
90
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
90
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
91
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_yeh29 {
|
|
91
92
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
92
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
93
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_yeh29 {
|
|
93
94
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
94
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
95
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_yeh29 {
|
|
95
96
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
96
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
97
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_yeh29 {
|
|
97
98
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
98
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
99
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_yeh29 {
|
|
99
100
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
100
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
101
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_yeh29 {
|
|
101
102
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
102
103
|
}
|
|
@@ -4,7 +4,7 @@ import cn from 'classnames';
|
|
|
4
4
|
import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
|
|
5
5
|
import { NavigationBar } from '@alfalab/core-components-navigation-bar/esm';
|
|
6
6
|
|
|
7
|
-
var styles = {"headerWrapper":"bottom-
|
|
7
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_14e0t","hasContent":"bottom-sheet__hasContent_14e0t","header":"bottom-sheet__header_14e0t","sticky":"bottom-sheet__sticky_14e0t","highlighted":"bottom-sheet__highlighted_14e0t","justifyEnd":"bottom-sheet__justifyEnd_14e0t","addon":"bottom-sheet__addon_14e0t","addonFixed":"bottom-sheet__addonFixed_14e0t","title":"bottom-sheet__title_14e0t","titleCenter":"bottom-sheet__titleCenter_14e0t","titleLeft":"bottom-sheet__titleLeft_14e0t","trimTitle":"bottom-sheet__trimTitle_14e0t"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Header = function (_a) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dlfo */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
--color-light-
|
|
4
|
+
--color-light-neutral-300: #e7e8eb; /* 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 */
|
|
5
5
|
} :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 */
|
|
6
6
|
} :root {
|
|
7
7
|
} :root {
|
|
@@ -23,49 +23,49 @@
|
|
|
23
23
|
} :root {
|
|
24
24
|
|
|
25
25
|
/* header */
|
|
26
|
-
--bottom-sheet-header-border-bottom: 1px solid var(--color-light-
|
|
26
|
+
--bottom-sheet-header-border-bottom: 1px solid var(--color-light-neutral-300);
|
|
27
27
|
--bottom-sheet-title-font-size: 18px;
|
|
28
28
|
--bottom-sheet-title-font-weight: 700;
|
|
29
29
|
--bottom-sheet-title-line-height: 24px;
|
|
30
30
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
31
31
|
|
|
32
32
|
/* footer */
|
|
33
|
-
} .bottom-
|
|
33
|
+
} .bottom-sheet__headerWrapper_14e0t {
|
|
34
34
|
padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
|
|
35
35
|
border-top-left-radius: inherit;
|
|
36
36
|
border-top-right-radius: inherit;
|
|
37
37
|
z-index: 1;
|
|
38
|
-
} .bottom-
|
|
38
|
+
} .bottom-sheet__hasContent_14e0t {
|
|
39
39
|
background-color: inherit;
|
|
40
|
-
} .bottom-
|
|
40
|
+
} .bottom-sheet__header_14e0t {
|
|
41
41
|
display: flex;
|
|
42
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__sticky_14e0t {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
45
|
-
} .bottom-
|
|
45
|
+
} .bottom-sheet__highlighted_14e0t {
|
|
46
46
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
47
|
-
} .bottom-
|
|
47
|
+
} .bottom-sheet__justifyEnd_14e0t {
|
|
48
48
|
justify-content: flex-end;
|
|
49
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__addon_14e0t {
|
|
50
50
|
display: flex;
|
|
51
51
|
justify-content: center;
|
|
52
52
|
align-items: center;
|
|
53
53
|
min-width: 48px;
|
|
54
54
|
height: 48px;
|
|
55
|
-
} .bottom-
|
|
55
|
+
} .bottom-sheet__addonFixed_14e0t {
|
|
56
56
|
position: fixed;
|
|
57
|
-
} .bottom-
|
|
57
|
+
} .bottom-sheet__title_14e0t {
|
|
58
58
|
padding: var(--gap-s) var(--gap-xs);
|
|
59
59
|
width: 100%;
|
|
60
60
|
font-size: var(--bottom-sheet-title-font-size);
|
|
61
61
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
62
62
|
line-height: var(--bottom-sheet-title-line-height);
|
|
63
63
|
font-family: var(--bottom-sheet-title-font-family);
|
|
64
|
-
} .bottom-
|
|
64
|
+
} .bottom-sheet__titleCenter_14e0t {
|
|
65
65
|
text-align: center;
|
|
66
|
-
} .bottom-
|
|
66
|
+
} .bottom-sheet__titleLeft_14e0t {
|
|
67
67
|
text-align: left;
|
|
68
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__trimTitle_14e0t {
|
|
69
69
|
white-space: nowrap;
|
|
70
70
|
overflow: hidden;
|
|
71
71
|
text-overflow: ellipsis;
|