@alfalab/core-components-bottom-sheet 6.16.0 → 6.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/component.js +1 -1
- package/components/footer/Component.js +1 -1
- package/components/footer/index.css +33 -29
- package/components/header/Component.js +1 -1
- package/components/header/index.css +22 -18
- package/cssm/components/footer/index.module.css +7 -3
- package/cssm/components/header/index.module.css +9 -5
- package/cssm/index.module.css +10 -6
- package/cssm/vars.css +6 -2
- package/esm/component.js +1 -1
- package/esm/components/footer/Component.js +1 -1
- package/esm/components/footer/index.css +33 -29
- package/esm/components/header/Component.js +1 -1
- package/esm/components/header/index.css +22 -18
- package/esm/index.css +55 -51
- package/index.css +55 -51
- package/modern/component.js +1 -1
- package/modern/components/footer/Component.js +1 -1
- package/modern/components/footer/index.css +33 -29
- package/modern/components/header/Component.js +1 -1
- package/modern/components/header/index.css +22 -18
- package/modern/index.css +55 -51
- package/package.json +7 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: grxyn */
|
|
2
2
|
: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 */ /* 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 */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */ /* 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 */
|
|
@@ -11,11 +11,15 @@
|
|
|
11
11
|
/* Up */
|
|
12
12
|
|
|
13
13
|
/* Hard up */
|
|
14
|
-
} :root {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
--gap-
|
|
14
|
+
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
15
|
+
|
|
16
|
+
/* новые значения, используйте их */
|
|
17
|
+
} :root { /* deprecated */
|
|
18
|
+
--gap-2xs: 4px; /* deprecated */
|
|
19
|
+
--gap-xs: 8px; /* deprecated */
|
|
20
|
+
--gap-s: 12px; /* 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 */
|
|
21
|
+
|
|
22
|
+
/* новые значения, используйте их */
|
|
19
23
|
} :root {
|
|
20
24
|
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
21
25
|
sans-serif;
|
|
@@ -30,42 +34,42 @@
|
|
|
30
34
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
31
35
|
|
|
32
36
|
/* footer */
|
|
33
|
-
} .bottom-
|
|
37
|
+
} .bottom-sheet__headerWrapper_iayhz {
|
|
34
38
|
padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
|
|
35
39
|
border-top-left-radius: inherit;
|
|
36
40
|
border-top-right-radius: inherit;
|
|
37
41
|
z-index: 1;
|
|
38
|
-
} .bottom-
|
|
42
|
+
} .bottom-sheet__hasContent_iayhz {
|
|
39
43
|
background-color: inherit;
|
|
40
|
-
} .bottom-
|
|
44
|
+
} .bottom-sheet__header_iayhz {
|
|
41
45
|
display: flex;
|
|
42
|
-
} .bottom-
|
|
46
|
+
} .bottom-sheet__sticky_iayhz {
|
|
43
47
|
position: sticky;
|
|
44
48
|
top: 0;
|
|
45
|
-
} .bottom-
|
|
49
|
+
} .bottom-sheet__highlighted_iayhz {
|
|
46
50
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
47
|
-
} .bottom-
|
|
51
|
+
} .bottom-sheet__justifyEnd_iayhz {
|
|
48
52
|
justify-content: flex-end;
|
|
49
|
-
} .bottom-
|
|
53
|
+
} .bottom-sheet__addon_iayhz {
|
|
50
54
|
display: flex;
|
|
51
55
|
justify-content: center;
|
|
52
56
|
align-items: center;
|
|
53
57
|
min-width: 48px;
|
|
54
58
|
height: 48px;
|
|
55
|
-
} .bottom-
|
|
59
|
+
} .bottom-sheet__addonFixed_iayhz {
|
|
56
60
|
position: fixed;
|
|
57
|
-
} .bottom-
|
|
61
|
+
} .bottom-sheet__title_iayhz {
|
|
58
62
|
padding: var(--gap-s) var(--gap-xs);
|
|
59
63
|
width: 100%;
|
|
60
64
|
font-size: var(--bottom-sheet-title-font-size);
|
|
61
65
|
font-weight: var(--bottom-sheet-title-font-weight);
|
|
62
66
|
line-height: var(--bottom-sheet-title-line-height);
|
|
63
67
|
font-family: var(--bottom-sheet-title-font-family);
|
|
64
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__titleCenter_iayhz {
|
|
65
69
|
text-align: center;
|
|
66
|
-
} .bottom-
|
|
70
|
+
} .bottom-sheet__titleLeft_iayhz {
|
|
67
71
|
text-align: left;
|
|
68
|
-
} .bottom-
|
|
72
|
+
} .bottom-sheet__trimTitle_iayhz {
|
|
69
73
|
white-space: nowrap;
|
|
70
74
|
overflow: hidden;
|
|
71
75
|
text-overflow: ellipsis;
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15do9 */
|
|
2
2
|
: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 */ /* 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 */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-modal-bg-primary: #fff;
|
|
@@ -35,12 +35,16 @@
|
|
|
35
35
|
/* Up */
|
|
36
36
|
|
|
37
37
|
/* Hard up */
|
|
38
|
-
} :root {
|
|
39
|
-
--border-radius-xl: 16px;
|
|
40
|
-
--border-radius-xxl: 20px;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
39
|
+
--border-radius-xl: 16px; /* deprecated */
|
|
40
|
+
--border-radius-xxl: 20px; /* deprecated */ /* deprecated */
|
|
41
|
+
|
|
42
|
+
/* новые значения, используйте их */
|
|
43
|
+
} :root { /* deprecated */
|
|
44
|
+
--gap-2xs: 4px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
45
|
+
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
46
|
+
|
|
47
|
+
/* новые значения, используйте их */
|
|
44
48
|
} :root {
|
|
45
49
|
} :root {
|
|
46
50
|
} :root {
|
|
@@ -52,25 +56,25 @@
|
|
|
52
56
|
/* header */
|
|
53
57
|
|
|
54
58
|
/* footer */
|
|
55
|
-
} .bottom-
|
|
59
|
+
} .bottom-sheet__modal_1r78m {
|
|
56
60
|
bottom: 0;
|
|
57
61
|
width: 100%;
|
|
58
62
|
max-width: 600px;
|
|
59
63
|
pointer-events: none;
|
|
60
64
|
touch-action: none;
|
|
61
|
-
} .bottom-
|
|
65
|
+
} .bottom-sheet__modal_1r78m.bottom-sheet__modal_1r78m {
|
|
62
66
|
background-color: transparent;
|
|
63
67
|
position: fixed;
|
|
64
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__wrapper_1r78m {
|
|
65
69
|
transform: translateY(100%);
|
|
66
70
|
pointer-events: none;
|
|
67
71
|
touch-action: none;
|
|
68
72
|
border-top-right-radius: var(--bottom-sheet-top-radius);
|
|
69
73
|
border-top-left-radius: var(--bottom-sheet-top-radius);
|
|
70
74
|
transition: border-radius 0.3s ease;
|
|
71
|
-
} .bottom-
|
|
75
|
+
} .bottom-sheet__fullscreen_1r78m {
|
|
72
76
|
border-radius: 0;
|
|
73
|
-
} .bottom-
|
|
77
|
+
} .bottom-sheet__component_1r78m {
|
|
74
78
|
position: relative;
|
|
75
79
|
display: flex;
|
|
76
80
|
flex-direction: column;
|
|
@@ -78,9 +82,9 @@
|
|
|
78
82
|
background-color: var(--color-light-modal-bg-primary);
|
|
79
83
|
pointer-events: all;
|
|
80
84
|
box-shadow: var(--bottom-sheet-shadow);
|
|
81
|
-
} .bottom-
|
|
85
|
+
} .bottom-sheet__withTransition_1r78m {
|
|
82
86
|
transition: var(--bottom-sheet-out-transition);
|
|
83
|
-
} .bottom-
|
|
87
|
+
} .bottom-sheet__scrollableContainer_1r78m {
|
|
84
88
|
overflow: auto;
|
|
85
89
|
display: flex;
|
|
86
90
|
flex-direction: column;
|
|
@@ -89,7 +93,7 @@
|
|
|
89
93
|
background-color: inherit;
|
|
90
94
|
border-radius: inherit;
|
|
91
95
|
overscroll-behavior: contain;
|
|
92
|
-
} .bottom-
|
|
96
|
+
} .bottom-sheet__marker_1r78m {
|
|
93
97
|
position: fixed;
|
|
94
98
|
top: var(--gap-2xs);
|
|
95
99
|
right: 0;
|
|
@@ -97,11 +101,11 @@
|
|
|
97
101
|
z-index: 1000;
|
|
98
102
|
width: 36px;
|
|
99
103
|
margin: 0 auto;
|
|
100
|
-
} .bottom-
|
|
104
|
+
} .bottom-sheet__defaultMarker_1r78m {
|
|
101
105
|
height: 4px;
|
|
102
106
|
border-radius: var(--border-radius-xxl);
|
|
103
107
|
background-color: var(--color-light-neutral-translucent-300);
|
|
104
|
-
} .bottom-
|
|
108
|
+
} .bottom-sheet__content_1r78m {
|
|
105
109
|
position: relative;
|
|
106
110
|
z-index: 0;
|
|
107
111
|
display: flex;
|
|
@@ -111,75 +115,75 @@
|
|
|
111
115
|
color: var(--color-light-text-primary);
|
|
112
116
|
background-color: inherit;
|
|
113
117
|
border-radius: inherit;
|
|
114
|
-
} .bottom-
|
|
118
|
+
} .bottom-sheet__noHeader_1r78m {
|
|
115
119
|
padding-top: var(--gap-m);
|
|
116
|
-
} .bottom-
|
|
120
|
+
} .bottom-sheet__noFooter_1r78m {
|
|
117
121
|
padding-bottom: var(--gap-m);
|
|
118
|
-
} .bottom-
|
|
122
|
+
} .bottom-sheet__scrollLocked_1r78m {
|
|
119
123
|
overflow: hidden;
|
|
120
|
-
} .bottom-
|
|
124
|
+
} .bottom-sheet__hiddenScrollbar_1r78m {
|
|
121
125
|
scrollbar-width: none
|
|
122
|
-
} .bottom-
|
|
126
|
+
} .bottom-sheet__hiddenScrollbar_1r78m::-webkit-scrollbar {
|
|
123
127
|
width: 0;
|
|
124
128
|
height: 0;
|
|
125
|
-
} .bottom-
|
|
129
|
+
} .bottom-sheet__disabledPointerEvents_1r78m {
|
|
126
130
|
pointer-events: none;
|
|
127
|
-
} .bottom-
|
|
131
|
+
} .bottom-sheet__appear_1r78m .bottom-sheet__wrapper_1r78m, .bottom-sheet__enter_1r78m .bottom-sheet__wrapper_1r78m {
|
|
128
132
|
transition: none;
|
|
129
|
-
} .bottom-
|
|
133
|
+
} .bottom-sheet__appearActive_1r78m .bottom-sheet__wrapper_1r78m, .bottom-sheet__enterActive_1r78m .bottom-sheet__wrapper_1r78m {
|
|
130
134
|
transition: var(--bottom-sheet-in-transition);
|
|
131
135
|
transform: translateY(0);
|
|
132
|
-
} .bottom-
|
|
136
|
+
} .bottom-sheet__enterDone_1r78m .bottom-sheet__wrapper_1r78m, .bottom-sheet__appearDone_1r78m .bottom-sheet__wrapper_1r78m {
|
|
133
137
|
transform: translateY(0);
|
|
134
|
-
} .bottom-
|
|
138
|
+
} .bottom-sheet__exit_1r78m .bottom-sheet__wrapper_1r78m {
|
|
135
139
|
transform: translateY(0);
|
|
136
|
-
} .bottom-
|
|
140
|
+
} .bottom-sheet__exitActive_1r78m .bottom-sheet__wrapper_1r78m {
|
|
137
141
|
transition: var(--bottom-sheet-out-transition);
|
|
138
142
|
transform: translateY(100%);
|
|
139
|
-
} .bottom-
|
|
143
|
+
} .bottom-sheet__safeAreaBottom_1r78m {
|
|
140
144
|
padding-bottom: env(safe-area-inset-bottom);
|
|
141
|
-
} .bottom-sheet__background-
|
|
145
|
+
} .bottom-sheet__background-accent_1r78m {
|
|
142
146
|
background-color: var(--color-light-bg-accent);
|
|
143
|
-
} .bottom-sheet__background-
|
|
147
|
+
} .bottom-sheet__background-info_1r78m {
|
|
144
148
|
background-color: var(--color-light-bg-info);
|
|
145
|
-
} .bottom-sheet__background-attention-
|
|
149
|
+
} .bottom-sheet__background-attention-muted_1r78m {
|
|
146
150
|
background-color: var(--color-light-bg-attention-muted);
|
|
147
|
-
} .bottom-sheet__background-positive-
|
|
151
|
+
} .bottom-sheet__background-positive-muted_1r78m {
|
|
148
152
|
background-color: var(--color-light-bg-positive-muted);
|
|
149
|
-
} .bottom-sheet__background-negative-
|
|
153
|
+
} .bottom-sheet__background-negative-muted_1r78m {
|
|
150
154
|
background-color: var(--color-light-bg-negative-muted);
|
|
151
|
-
} .bottom-sheet__background-
|
|
155
|
+
} .bottom-sheet__background-primary_1r78m {
|
|
152
156
|
background-color: var(--color-light-bg-primary);
|
|
153
|
-
} .bottom-sheet__background-primary-
|
|
157
|
+
} .bottom-sheet__background-primary-inverted_1r78m {
|
|
154
158
|
background-color: var(--color-light-bg-primary-inverted);
|
|
155
|
-
} .bottom-sheet__background-
|
|
159
|
+
} .bottom-sheet__background-secondary_1r78m {
|
|
156
160
|
background-color: var(--color-light-bg-secondary);
|
|
157
|
-
} .bottom-sheet__background-secondary-
|
|
161
|
+
} .bottom-sheet__background-secondary-inverted_1r78m {
|
|
158
162
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
159
|
-
} .bottom-sheet__background-
|
|
163
|
+
} .bottom-sheet__background-tertiary_1r78m {
|
|
160
164
|
background-color: var(--color-light-bg-tertiary);
|
|
161
|
-
} .bottom-sheet__background-tertiary-
|
|
165
|
+
} .bottom-sheet__background-tertiary-inverted_1r78m {
|
|
162
166
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
163
|
-
} .bottom-sheet__background-
|
|
167
|
+
} .bottom-sheet__background-quaternary_1r78m {
|
|
164
168
|
background-color: var(--color-light-bg-quaternary);
|
|
165
|
-
} .bottom-sheet__background-quaternary-
|
|
169
|
+
} .bottom-sheet__background-quaternary-inverted_1r78m {
|
|
166
170
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
167
|
-
} .bottom-sheet__background-specialbg-
|
|
171
|
+
} .bottom-sheet__background-specialbg-component_1r78m {
|
|
168
172
|
background-color: var(--color-light-specialbg-component);
|
|
169
|
-
} .bottom-sheet__background-specialbg-component-
|
|
173
|
+
} .bottom-sheet__background-specialbg-component-inverted_1r78m {
|
|
170
174
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
171
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
175
|
+
} .bottom-sheet__background-specialbg-primary-grouped_1r78m {
|
|
172
176
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
173
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
177
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_1r78m {
|
|
174
178
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
175
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
179
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_1r78m {
|
|
176
180
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
177
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
181
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_1r78m {
|
|
178
182
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
179
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
183
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_1r78m {
|
|
180
184
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
181
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
185
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_1r78m {
|
|
182
186
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
183
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
187
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1r78m {
|
|
184
188
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
185
189
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15do9 */
|
|
2
2
|
: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 */ /* 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 */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-modal-bg-primary: #fff;
|
|
@@ -35,12 +35,16 @@
|
|
|
35
35
|
/* Up */
|
|
36
36
|
|
|
37
37
|
/* Hard up */
|
|
38
|
-
} :root {
|
|
39
|
-
--border-radius-xl: 16px;
|
|
40
|
-
--border-radius-xxl: 20px;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
39
|
+
--border-radius-xl: 16px; /* deprecated */
|
|
40
|
+
--border-radius-xxl: 20px; /* deprecated */ /* deprecated */
|
|
41
|
+
|
|
42
|
+
/* новые значения, используйте их */
|
|
43
|
+
} :root { /* deprecated */
|
|
44
|
+
--gap-2xs: 4px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
45
|
+
--gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
46
|
+
|
|
47
|
+
/* новые значения, используйте их */
|
|
44
48
|
} :root {
|
|
45
49
|
} :root {
|
|
46
50
|
} :root {
|
|
@@ -52,25 +56,25 @@
|
|
|
52
56
|
/* header */
|
|
53
57
|
|
|
54
58
|
/* footer */
|
|
55
|
-
} .bottom-
|
|
59
|
+
} .bottom-sheet__modal_1r78m {
|
|
56
60
|
bottom: 0;
|
|
57
61
|
width: 100%;
|
|
58
62
|
max-width: 600px;
|
|
59
63
|
pointer-events: none;
|
|
60
64
|
touch-action: none;
|
|
61
|
-
} .bottom-
|
|
65
|
+
} .bottom-sheet__modal_1r78m.bottom-sheet__modal_1r78m {
|
|
62
66
|
background-color: transparent;
|
|
63
67
|
position: fixed;
|
|
64
|
-
} .bottom-
|
|
68
|
+
} .bottom-sheet__wrapper_1r78m {
|
|
65
69
|
transform: translateY(100%);
|
|
66
70
|
pointer-events: none;
|
|
67
71
|
touch-action: none;
|
|
68
72
|
border-top-right-radius: var(--bottom-sheet-top-radius);
|
|
69
73
|
border-top-left-radius: var(--bottom-sheet-top-radius);
|
|
70
74
|
transition: border-radius 0.3s ease;
|
|
71
|
-
} .bottom-
|
|
75
|
+
} .bottom-sheet__fullscreen_1r78m {
|
|
72
76
|
border-radius: 0;
|
|
73
|
-
} .bottom-
|
|
77
|
+
} .bottom-sheet__component_1r78m {
|
|
74
78
|
position: relative;
|
|
75
79
|
display: flex;
|
|
76
80
|
flex-direction: column;
|
|
@@ -78,9 +82,9 @@
|
|
|
78
82
|
background-color: var(--color-light-modal-bg-primary);
|
|
79
83
|
pointer-events: all;
|
|
80
84
|
box-shadow: var(--bottom-sheet-shadow);
|
|
81
|
-
} .bottom-
|
|
85
|
+
} .bottom-sheet__withTransition_1r78m {
|
|
82
86
|
transition: var(--bottom-sheet-out-transition);
|
|
83
|
-
} .bottom-
|
|
87
|
+
} .bottom-sheet__scrollableContainer_1r78m {
|
|
84
88
|
overflow: auto;
|
|
85
89
|
display: flex;
|
|
86
90
|
flex-direction: column;
|
|
@@ -89,7 +93,7 @@
|
|
|
89
93
|
background-color: inherit;
|
|
90
94
|
border-radius: inherit;
|
|
91
95
|
overscroll-behavior: contain;
|
|
92
|
-
} .bottom-
|
|
96
|
+
} .bottom-sheet__marker_1r78m {
|
|
93
97
|
position: fixed;
|
|
94
98
|
top: var(--gap-2xs);
|
|
95
99
|
right: 0;
|
|
@@ -97,11 +101,11 @@
|
|
|
97
101
|
z-index: 1000;
|
|
98
102
|
width: 36px;
|
|
99
103
|
margin: 0 auto;
|
|
100
|
-
} .bottom-
|
|
104
|
+
} .bottom-sheet__defaultMarker_1r78m {
|
|
101
105
|
height: 4px;
|
|
102
106
|
border-radius: var(--border-radius-xxl);
|
|
103
107
|
background-color: var(--color-light-neutral-translucent-300);
|
|
104
|
-
} .bottom-
|
|
108
|
+
} .bottom-sheet__content_1r78m {
|
|
105
109
|
position: relative;
|
|
106
110
|
z-index: 0;
|
|
107
111
|
display: flex;
|
|
@@ -111,75 +115,75 @@
|
|
|
111
115
|
color: var(--color-light-text-primary);
|
|
112
116
|
background-color: inherit;
|
|
113
117
|
border-radius: inherit;
|
|
114
|
-
} .bottom-
|
|
118
|
+
} .bottom-sheet__noHeader_1r78m {
|
|
115
119
|
padding-top: var(--gap-m);
|
|
116
|
-
} .bottom-
|
|
120
|
+
} .bottom-sheet__noFooter_1r78m {
|
|
117
121
|
padding-bottom: var(--gap-m);
|
|
118
|
-
} .bottom-
|
|
122
|
+
} .bottom-sheet__scrollLocked_1r78m {
|
|
119
123
|
overflow: hidden;
|
|
120
|
-
} .bottom-
|
|
124
|
+
} .bottom-sheet__hiddenScrollbar_1r78m {
|
|
121
125
|
scrollbar-width: none
|
|
122
|
-
} .bottom-
|
|
126
|
+
} .bottom-sheet__hiddenScrollbar_1r78m::-webkit-scrollbar {
|
|
123
127
|
width: 0;
|
|
124
128
|
height: 0;
|
|
125
|
-
} .bottom-
|
|
129
|
+
} .bottom-sheet__disabledPointerEvents_1r78m {
|
|
126
130
|
pointer-events: none;
|
|
127
|
-
} .bottom-
|
|
131
|
+
} .bottom-sheet__appear_1r78m .bottom-sheet__wrapper_1r78m, .bottom-sheet__enter_1r78m .bottom-sheet__wrapper_1r78m {
|
|
128
132
|
transition: none;
|
|
129
|
-
} .bottom-
|
|
133
|
+
} .bottom-sheet__appearActive_1r78m .bottom-sheet__wrapper_1r78m, .bottom-sheet__enterActive_1r78m .bottom-sheet__wrapper_1r78m {
|
|
130
134
|
transition: var(--bottom-sheet-in-transition);
|
|
131
135
|
transform: translateY(0);
|
|
132
|
-
} .bottom-
|
|
136
|
+
} .bottom-sheet__enterDone_1r78m .bottom-sheet__wrapper_1r78m, .bottom-sheet__appearDone_1r78m .bottom-sheet__wrapper_1r78m {
|
|
133
137
|
transform: translateY(0);
|
|
134
|
-
} .bottom-
|
|
138
|
+
} .bottom-sheet__exit_1r78m .bottom-sheet__wrapper_1r78m {
|
|
135
139
|
transform: translateY(0);
|
|
136
|
-
} .bottom-
|
|
140
|
+
} .bottom-sheet__exitActive_1r78m .bottom-sheet__wrapper_1r78m {
|
|
137
141
|
transition: var(--bottom-sheet-out-transition);
|
|
138
142
|
transform: translateY(100%);
|
|
139
|
-
} .bottom-
|
|
143
|
+
} .bottom-sheet__safeAreaBottom_1r78m {
|
|
140
144
|
padding-bottom: env(safe-area-inset-bottom);
|
|
141
|
-
} .bottom-sheet__background-
|
|
145
|
+
} .bottom-sheet__background-accent_1r78m {
|
|
142
146
|
background-color: var(--color-light-bg-accent);
|
|
143
|
-
} .bottom-sheet__background-
|
|
147
|
+
} .bottom-sheet__background-info_1r78m {
|
|
144
148
|
background-color: var(--color-light-bg-info);
|
|
145
|
-
} .bottom-sheet__background-attention-
|
|
149
|
+
} .bottom-sheet__background-attention-muted_1r78m {
|
|
146
150
|
background-color: var(--color-light-bg-attention-muted);
|
|
147
|
-
} .bottom-sheet__background-positive-
|
|
151
|
+
} .bottom-sheet__background-positive-muted_1r78m {
|
|
148
152
|
background-color: var(--color-light-bg-positive-muted);
|
|
149
|
-
} .bottom-sheet__background-negative-
|
|
153
|
+
} .bottom-sheet__background-negative-muted_1r78m {
|
|
150
154
|
background-color: var(--color-light-bg-negative-muted);
|
|
151
|
-
} .bottom-sheet__background-
|
|
155
|
+
} .bottom-sheet__background-primary_1r78m {
|
|
152
156
|
background-color: var(--color-light-bg-primary);
|
|
153
|
-
} .bottom-sheet__background-primary-
|
|
157
|
+
} .bottom-sheet__background-primary-inverted_1r78m {
|
|
154
158
|
background-color: var(--color-light-bg-primary-inverted);
|
|
155
|
-
} .bottom-sheet__background-
|
|
159
|
+
} .bottom-sheet__background-secondary_1r78m {
|
|
156
160
|
background-color: var(--color-light-bg-secondary);
|
|
157
|
-
} .bottom-sheet__background-secondary-
|
|
161
|
+
} .bottom-sheet__background-secondary-inverted_1r78m {
|
|
158
162
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
159
|
-
} .bottom-sheet__background-
|
|
163
|
+
} .bottom-sheet__background-tertiary_1r78m {
|
|
160
164
|
background-color: var(--color-light-bg-tertiary);
|
|
161
|
-
} .bottom-sheet__background-tertiary-
|
|
165
|
+
} .bottom-sheet__background-tertiary-inverted_1r78m {
|
|
162
166
|
background-color: var(--color-light-bg-tertiary-inverted);
|
|
163
|
-
} .bottom-sheet__background-
|
|
167
|
+
} .bottom-sheet__background-quaternary_1r78m {
|
|
164
168
|
background-color: var(--color-light-bg-quaternary);
|
|
165
|
-
} .bottom-sheet__background-quaternary-
|
|
169
|
+
} .bottom-sheet__background-quaternary-inverted_1r78m {
|
|
166
170
|
background-color: var(--color-light-bg-quaternary-inverted);
|
|
167
|
-
} .bottom-sheet__background-specialbg-
|
|
171
|
+
} .bottom-sheet__background-specialbg-component_1r78m {
|
|
168
172
|
background-color: var(--color-light-specialbg-component);
|
|
169
|
-
} .bottom-sheet__background-specialbg-component-
|
|
173
|
+
} .bottom-sheet__background-specialbg-component-inverted_1r78m {
|
|
170
174
|
background-color: var(--color-light-specialbg-component-inverted);
|
|
171
|
-
} .bottom-sheet__background-specialbg-primary-
|
|
175
|
+
} .bottom-sheet__background-specialbg-primary-grouped_1r78m {
|
|
172
176
|
background-color: var(--color-light-specialbg-primary-grouped);
|
|
173
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
177
|
+
} .bottom-sheet__background-specialbg-secondary-grouped_1r78m {
|
|
174
178
|
background-color: var(--color-light-specialbg-secondary-grouped);
|
|
175
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
179
|
+
} .bottom-sheet__background-specialbg-tertiary-grouped_1r78m {
|
|
176
180
|
background-color: var(--color-light-specialbg-tertiary-grouped);
|
|
177
|
-
} .bottom-sheet__background-specialbg-secondary-
|
|
181
|
+
} .bottom-sheet__background-specialbg-secondary-transparent_1r78m {
|
|
178
182
|
background-color: var(--color-light-specialbg-secondary-transparent);
|
|
179
|
-
} .bottom-sheet__background-specialbg-secondary-transparent-
|
|
183
|
+
} .bottom-sheet__background-specialbg-secondary-transparent-inverted_1r78m {
|
|
180
184
|
background-color: var(--color-light-specialbg-secondary-transparent-inverted);
|
|
181
|
-
} .bottom-sheet__background-specialbg-tertiary-
|
|
185
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent_1r78m {
|
|
182
186
|
background-color: var(--color-light-specialbg-tertiary-transparent);
|
|
183
|
-
} .bottom-sheet__background-specialbg-tertiary-transparent-
|
|
187
|
+
} .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1r78m {
|
|
184
188
|
background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
|
|
185
189
|
}
|
package/modern/component.js
CHANGED
|
@@ -12,7 +12,7 @@ import { horizontalDirections } from './consts/swipeConsts.js';
|
|
|
12
12
|
import { useVisibleViewportSize } from './hooks/use-visualviewport-size.js';
|
|
13
13
|
import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VELOCITY, CLOSE_OFFSET } from './utils.js';
|
|
14
14
|
|
|
15
|
-
const styles = {"modal":"bottom-
|
|
15
|
+
const styles = {"modal":"bottom-sheet__modal_1r78m","wrapper":"bottom-sheet__wrapper_1r78m","fullscreen":"bottom-sheet__fullscreen_1r78m","component":"bottom-sheet__component_1r78m","withTransition":"bottom-sheet__withTransition_1r78m","scrollableContainer":"bottom-sheet__scrollableContainer_1r78m","marker":"bottom-sheet__marker_1r78m","defaultMarker":"bottom-sheet__defaultMarker_1r78m","content":"bottom-sheet__content_1r78m","noHeader":"bottom-sheet__noHeader_1r78m","noFooter":"bottom-sheet__noFooter_1r78m","scrollLocked":"bottom-sheet__scrollLocked_1r78m","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_1r78m","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_1r78m","appear":"bottom-sheet__appear_1r78m","enter":"bottom-sheet__enter_1r78m","appearActive":"bottom-sheet__appearActive_1r78m","enterActive":"bottom-sheet__enterActive_1r78m","enterDone":"bottom-sheet__enterDone_1r78m","appearDone":"bottom-sheet__appearDone_1r78m","exit":"bottom-sheet__exit_1r78m","exitActive":"bottom-sheet__exitActive_1r78m","safeAreaBottom":"bottom-sheet__safeAreaBottom_1r78m","background-accent":"bottom-sheet__background-accent_1r78m","background-info":"bottom-sheet__background-info_1r78m","background-attention-muted":"bottom-sheet__background-attention-muted_1r78m","background-positive-muted":"bottom-sheet__background-positive-muted_1r78m","background-negative-muted":"bottom-sheet__background-negative-muted_1r78m","background-primary":"bottom-sheet__background-primary_1r78m","background-primary-inverted":"bottom-sheet__background-primary-inverted_1r78m","background-secondary":"bottom-sheet__background-secondary_1r78m","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1r78m","background-tertiary":"bottom-sheet__background-tertiary_1r78m","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1r78m","background-quaternary":"bottom-sheet__background-quaternary_1r78m","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1r78m","background-specialbg-component":"bottom-sheet__background-specialbg-component_1r78m","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1r78m","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1r78m","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1r78m","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1r78m","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1r78m","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1r78m","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1r78m","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1r78m"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
const { isNil } = fnUtils;
|
|
@@ -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/modern';
|
|
4
4
|
|
|
5
|
-
const styles = {"footer":"bottom-
|
|
5
|
+
const styles = {"footer":"bottom-sheet__footer_1g0bh","sticky":"bottom-sheet__sticky_1g0bh","highlighted":"bottom-sheet__highlighted_1g0bh","background-accent":"bottom-sheet__background-accent_1g0bh","background-info":"bottom-sheet__background-info_1g0bh","background-attention-muted":"bottom-sheet__background-attention-muted_1g0bh","background-positive-muted":"bottom-sheet__background-positive-muted_1g0bh","background-negative-muted":"bottom-sheet__background-negative-muted_1g0bh","background-primary":"bottom-sheet__background-primary_1g0bh","background-primary-inverted":"bottom-sheet__background-primary-inverted_1g0bh","background-secondary":"bottom-sheet__background-secondary_1g0bh","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1g0bh","background-tertiary":"bottom-sheet__background-tertiary_1g0bh","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1g0bh","background-quaternary":"bottom-sheet__background-quaternary_1g0bh","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1g0bh","background-specialbg-component":"bottom-sheet__background-specialbg-component_1g0bh","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1g0bh","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1g0bh","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1g0bh","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1g0bh","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1g0bh","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1g0bh","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1g0bh","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1g0bh"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Footer = ({ children, className, sticky, dataTestId }) => {
|