@alfalab/core-components-bottom-sheet 6.4.2 → 6.6.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.
Files changed (52) hide show
  1. package/component.js +102 -56
  2. package/components/footer/Component.js +1 -1
  3. package/components/footer/index.css +26 -26
  4. package/components/header/Component.d.ts +1 -0
  5. package/components/header/Component.js +4 -5
  6. package/components/header/index.css +13 -13
  7. package/cssm/component.js +101 -55
  8. package/cssm/components/header/Component.d.ts +1 -0
  9. package/cssm/components/header/Component.js +3 -4
  10. package/cssm/index.js +1 -0
  11. package/cssm/index.module.css +3 -0
  12. package/cssm/types.d.ts +37 -1
  13. package/cssm/utils.d.ts +3 -3
  14. package/cssm/utils.js +4 -4
  15. package/esm/component.js +103 -57
  16. package/esm/components/footer/Component.js +1 -1
  17. package/esm/components/footer/index.css +26 -26
  18. package/esm/components/header/Component.d.ts +1 -0
  19. package/esm/components/header/Component.js +4 -5
  20. package/esm/components/header/index.css +13 -13
  21. package/esm/index.css +44 -41
  22. package/esm/index.js +1 -0
  23. package/esm/types.d.ts +37 -1
  24. package/esm/utils.d.ts +3 -3
  25. package/esm/utils.js +4 -4
  26. package/index.css +44 -41
  27. package/index.js +1 -0
  28. package/modern/component.js +91 -45
  29. package/modern/components/footer/Component.js +1 -1
  30. package/modern/components/footer/index.css +26 -26
  31. package/modern/components/header/Component.d.ts +1 -0
  32. package/modern/components/header/Component.js +4 -5
  33. package/modern/components/header/index.css +13 -13
  34. package/modern/index.css +44 -41
  35. package/modern/index.js +1 -0
  36. package/modern/types.d.ts +37 -1
  37. package/modern/utils.d.ts +3 -3
  38. package/modern/utils.js +3 -4
  39. package/package.json +5 -4
  40. package/src/component.tsx +572 -0
  41. package/src/components/footer/Component.tsx +42 -0
  42. package/src/components/footer/index.module.css +24 -0
  43. package/src/components/header/Component.tsx +54 -0
  44. package/src/components/header/index.module.css +72 -0
  45. package/src/components/swipeable-backdrop/Component.tsx +41 -0
  46. package/src/index.module.css +136 -0
  47. package/src/index.ts +3 -0
  48. package/src/types.ts +318 -0
  49. package/src/utils.ts +30 -0
  50. package/types.d.ts +37 -1
  51. package/utils.d.ts +3 -3
  52. package/utils.js +4 -4
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1rth5 */
1
+ /* hash: 1fqan */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-accent: #ef3124;
@@ -45,20 +45,23 @@
45
45
  } :root {
46
46
  --bottom-sheet-in-transition: transform 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
47
47
  --bottom-sheet-out-transition: transform 0.3s ease;
48
- } .bottom-sheet__modal_7sflj {
48
+ } .bottom-sheet__modal_1vjtp {
49
49
  background-color: transparent;
50
50
  position: fixed;
51
51
  bottom: 0;
52
52
  width: 100%;
53
53
  max-width: 600px;
54
54
  pointer-events: none;
55
- } .bottom-sheet__wrapper_7sflj {
55
+ } .bottom-sheet__wrapper_1vjtp {
56
56
  transform: translateY(100%);
57
57
  overflow: hidden;
58
58
  pointer-events: none;
59
59
  border-top-right-radius: var(--border-radius-xl);
60
60
  border-top-left-radius: var(--border-radius-xl);
61
- } .bottom-sheet__component_7sflj {
61
+ transition: border-radius 0.3s ease;
62
+ } .bottom-sheet__fullscreen_1vjtp {
63
+ border-radius: 0;
64
+ } .bottom-sheet__component_1vjtp {
62
65
  overflow: hidden;
63
66
  position: relative;
64
67
  display: flex;
@@ -66,16 +69,16 @@
66
69
  border-radius: inherit;
67
70
  background-color: var(--color-light-bg-primary);
68
71
  pointer-events: all;
69
- } .bottom-sheet__withTransition_7sflj {
72
+ } .bottom-sheet__withTransition_1vjtp {
70
73
  transition: var(--bottom-sheet-out-transition);
71
- } .bottom-sheet__scrollableContainer_7sflj {
74
+ } .bottom-sheet__scrollableContainer_1vjtp {
72
75
  overflow: auto;
73
76
  display: flex;
74
77
  flex-direction: column;
75
78
  position: relative;
76
79
  height: 100%;
77
80
  background-color: inherit;
78
- } .bottom-sheet__marker_7sflj {
81
+ } .bottom-sheet__marker_1vjtp {
79
82
  position: fixed;
80
83
  top: var(--gap-2xs);
81
84
  left: 50%;
@@ -85,7 +88,7 @@
85
88
  transform: translateX(-50%);
86
89
  background-color: var(--color-light-graphic-quaternary);
87
90
  z-index: 1000;
88
- } .bottom-sheet__content_7sflj {
91
+ } .bottom-sheet__content_1vjtp {
89
92
  position: relative;
90
93
  z-index: 0;
91
94
  display: flex;
@@ -94,73 +97,73 @@
94
97
  padding: 0 var(--gap-m);
95
98
  color: var(--color-light-text-primary);
96
99
  background-color: inherit;
97
- } .bottom-sheet__noHeader_7sflj {
100
+ } .bottom-sheet__noHeader_1vjtp {
98
101
  padding-top: var(--gap-m);
99
- } .bottom-sheet__noFooter_7sflj {
102
+ } .bottom-sheet__noFooter_1vjtp {
100
103
  padding-bottom: var(--gap-m);
101
- } .bottom-sheet__scrollLocked_7sflj {
104
+ } .bottom-sheet__scrollLocked_1vjtp {
102
105
  overflow: hidden;
103
- } .bottom-sheet__hiddenScrollbar_7sflj {
106
+ } .bottom-sheet__hiddenScrollbar_1vjtp {
104
107
  scrollbar-width: none
105
- } .bottom-sheet__hiddenScrollbar_7sflj::-webkit-scrollbar {
108
+ } .bottom-sheet__hiddenScrollbar_1vjtp::-webkit-scrollbar {
106
109
  width: 0;
107
110
  height: 0;
108
- } .bottom-sheet__disabledPointerEvents_7sflj {
111
+ } .bottom-sheet__disabledPointerEvents_1vjtp {
109
112
  pointer-events: none;
110
- } .bottom-sheet__appear_7sflj .bottom-sheet__wrapper_7sflj, .bottom-sheet__enter_7sflj .bottom-sheet__wrapper_7sflj {
113
+ } .bottom-sheet__appear_1vjtp .bottom-sheet__wrapper_1vjtp, .bottom-sheet__enter_1vjtp .bottom-sheet__wrapper_1vjtp {
111
114
  transition: none;
112
- } .bottom-sheet__appearActive_7sflj .bottom-sheet__wrapper_7sflj, .bottom-sheet__enterActive_7sflj .bottom-sheet__wrapper_7sflj {
115
+ } .bottom-sheet__appearActive_1vjtp .bottom-sheet__wrapper_1vjtp, .bottom-sheet__enterActive_1vjtp .bottom-sheet__wrapper_1vjtp {
113
116
  transition: var(--bottom-sheet-in-transition);
114
117
  transform: translateY(0);
115
- } .bottom-sheet__enterDone_7sflj .bottom-sheet__wrapper_7sflj, .bottom-sheet__appearDone_7sflj .bottom-sheet__wrapper_7sflj {
118
+ } .bottom-sheet__enterDone_1vjtp .bottom-sheet__wrapper_1vjtp, .bottom-sheet__appearDone_1vjtp .bottom-sheet__wrapper_1vjtp {
116
119
  transform: translateY(0);
117
- } .bottom-sheet__exit_7sflj .bottom-sheet__wrapper_7sflj {
120
+ } .bottom-sheet__exit_1vjtp .bottom-sheet__wrapper_1vjtp {
118
121
  transform: translateY(0);
119
- } .bottom-sheet__exitActive_7sflj .bottom-sheet__wrapper_7sflj {
122
+ } .bottom-sheet__exitActive_1vjtp .bottom-sheet__wrapper_1vjtp {
120
123
  transition: var(--bottom-sheet-out-transition);
121
124
  transform: translateY(100%);
122
- } .bottom-sheet__background-accent_7sflj {
125
+ } .bottom-sheet__background-accent_1vjtp {
123
126
  background-color: var(--color-light-bg-accent);
124
- } .bottom-sheet__background-info_7sflj {
127
+ } .bottom-sheet__background-info_1vjtp {
125
128
  background-color: var(--color-light-bg-info);
126
- } .bottom-sheet__background-attention-muted_7sflj {
129
+ } .bottom-sheet__background-attention-muted_1vjtp {
127
130
  background-color: var(--color-light-bg-attention-muted);
128
- } .bottom-sheet__background-positive-muted_7sflj {
131
+ } .bottom-sheet__background-positive-muted_1vjtp {
129
132
  background-color: var(--color-light-bg-positive-muted);
130
- } .bottom-sheet__background-negative-muted_7sflj {
133
+ } .bottom-sheet__background-negative-muted_1vjtp {
131
134
  background-color: var(--color-light-bg-negative-muted);
132
- } .bottom-sheet__background-primary_7sflj {
135
+ } .bottom-sheet__background-primary_1vjtp {
133
136
  background-color: var(--color-light-bg-primary);
134
- } .bottom-sheet__background-primary-inverted_7sflj {
137
+ } .bottom-sheet__background-primary-inverted_1vjtp {
135
138
  background-color: var(--color-light-bg-primary-inverted);
136
- } .bottom-sheet__background-secondary_7sflj {
139
+ } .bottom-sheet__background-secondary_1vjtp {
137
140
  background-color: var(--color-light-bg-secondary);
138
- } .bottom-sheet__background-secondary-inverted_7sflj {
141
+ } .bottom-sheet__background-secondary-inverted_1vjtp {
139
142
  background-color: var(--color-light-bg-secondary-inverted);
140
- } .bottom-sheet__background-tertiary_7sflj {
143
+ } .bottom-sheet__background-tertiary_1vjtp {
141
144
  background-color: var(--color-light-bg-tertiary);
142
- } .bottom-sheet__background-tertiary-inverted_7sflj {
145
+ } .bottom-sheet__background-tertiary-inverted_1vjtp {
143
146
  background-color: var(--color-light-bg-tertiary-inverted);
144
- } .bottom-sheet__background-quaternary_7sflj {
147
+ } .bottom-sheet__background-quaternary_1vjtp {
145
148
  background-color: var(--color-light-bg-quaternary);
146
- } .bottom-sheet__background-quaternary-inverted_7sflj {
149
+ } .bottom-sheet__background-quaternary-inverted_1vjtp {
147
150
  background-color: var(--color-light-bg-quaternary-inverted);
148
- } .bottom-sheet__background-specialbg-component_7sflj {
151
+ } .bottom-sheet__background-specialbg-component_1vjtp {
149
152
  background-color: var(--color-light-specialbg-component);
150
- } .bottom-sheet__background-specialbg-component-inverted_7sflj {
153
+ } .bottom-sheet__background-specialbg-component-inverted_1vjtp {
151
154
  background-color: var(--color-light-specialbg-component-inverted);
152
- } .bottom-sheet__background-specialbg-primary-grouped_7sflj {
155
+ } .bottom-sheet__background-specialbg-primary-grouped_1vjtp {
153
156
  background-color: var(--color-light-specialbg-primary-grouped);
154
- } .bottom-sheet__background-specialbg-secondary-grouped_7sflj {
157
+ } .bottom-sheet__background-specialbg-secondary-grouped_1vjtp {
155
158
  background-color: var(--color-light-specialbg-secondary-grouped);
156
- } .bottom-sheet__background-specialbg-tertiary-grouped_7sflj {
159
+ } .bottom-sheet__background-specialbg-tertiary-grouped_1vjtp {
157
160
  background-color: var(--color-light-specialbg-tertiary-grouped);
158
- } .bottom-sheet__background-specialbg-secondary-transparent_7sflj {
161
+ } .bottom-sheet__background-specialbg-secondary-transparent_1vjtp {
159
162
  background-color: var(--color-light-specialbg-secondary-transparent);
160
- } .bottom-sheet__background-specialbg-secondary-transparent-inverted_7sflj {
163
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_1vjtp {
161
164
  background-color: var(--color-light-specialbg-secondary-transparent-inverted);
162
- } .bottom-sheet__background-specialbg-tertiary-transparent_7sflj {
165
+ } .bottom-sheet__background-specialbg-tertiary-transparent_1vjtp {
163
166
  background-color: var(--color-light-specialbg-tertiary-transparent);
164
- } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_7sflj {
167
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1vjtp {
165
168
  background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
166
169
  }
package/esm/index.js CHANGED
@@ -7,6 +7,7 @@ import 'react-merge-refs';
7
7
  import 'react-swipeable';
8
8
  import 'classnames';
9
9
  import '@alfalab/core-components-base-modal/esm';
10
+ import '@alfalab/core-components-shared/esm';
10
11
  import './components/footer/Component.js';
11
12
  import './components/header/Component.js';
12
13
  import '@alfalab/core-components-navigation-bar/esm';
package/esm/types.d.ts CHANGED
@@ -105,6 +105,14 @@ type BottomSheetProps = {
105
105
  * @default true
106
106
  */
107
107
  swipeable?: boolean;
108
+ /**
109
+ * Будет ли свайпаться контент
110
+ */
111
+ swipeableContent?: boolean;
112
+ /**
113
+ * Порог свайпа
114
+ */
115
+ swipeThreshold?: number;
108
116
  /**
109
117
  * Слот слева
110
118
  */
@@ -207,6 +215,26 @@ type BottomSheetProps = {
207
215
  * Скрыть скроллбар внутри шторки
208
216
  */
209
217
  hideScrollbar?: boolean;
218
+ /**
219
+ * Верхний отступ шторки, если она открыта на максимальную высоту
220
+ */
221
+ headerOffset?: number;
222
+ /**
223
+ * Содержимое bottom-sheet всегда в DOM
224
+ */
225
+ keepMounted?: boolean;
226
+ /**
227
+ * Отключает автоматический перевод фокуса на bottom-sheet при открытии
228
+ */
229
+ disableAutoFocus?: boolean;
230
+ /**
231
+ * Отключает восстановление фокуса на предыдущем элементе после закрытия bottom-sheet
232
+ */
233
+ disableRestoreFocus?: boolean;
234
+ /**
235
+ * Отключает вызов `onClose` при нажатии Escape
236
+ */
237
+ disableEscapeKeyDown?: boolean;
210
238
  /**
211
239
  * Обработчик закрытия
212
240
  */
@@ -216,8 +244,16 @@ type BottomSheetProps = {
216
244
  */
217
245
  onBack?: () => void;
218
246
  /**
219
- * Вызывается после притягивания к одной из `magneticAreas`
247
+ * Вызывается в начале анимации притягивания к одной из `magneticAreas`
220
248
  */
221
249
  onMagnetize?: (index: number) => void;
250
+ /**
251
+ * Вызывается после окончания анимации притягивания
252
+ */
253
+ onMagnetizeEnd?: () => void;
254
+ /**
255
+ * Вызывается при изменении положения шторки
256
+ */
257
+ onOffsetChange?: (offset: number, percent: number) => void;
222
258
  };
223
259
  export { BottomSheetTitleAlign, BottomSheetProps };
package/esm/utils.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  declare const TIMEOUT = 500;
2
2
  declare const SWIPE_VELOCITY = 0.4;
3
3
  declare const MARKER_HEIGHT = 24;
4
- declare const HEADER_OFFSET = 24;
5
4
  declare const CLOSE_OFFSET = 0.2;
6
5
  declare const SCROLL_OFFSET = 1;
7
- declare const convertPercentToNumber: (value: string | number, fullHeight: number) => number;
8
- export { TIMEOUT, SWIPE_VELOCITY, MARKER_HEIGHT, HEADER_OFFSET, CLOSE_OFFSET, SCROLL_OFFSET, convertPercentToNumber };
6
+ declare const HEADER_OFFSET = 24;
7
+ declare const convertPercentToNumber: (value: string | number, fullHeight: number, headerOffset?: number) => number;
8
+ export { TIMEOUT, SWIPE_VELOCITY, MARKER_HEIGHT, CLOSE_OFFSET, SCROLL_OFFSET, HEADER_OFFSET, convertPercentToNumber };
package/esm/utils.js CHANGED
@@ -1,12 +1,12 @@
1
1
  var TIMEOUT = 500;
2
2
  var SWIPE_VELOCITY = 0.4;
3
3
  var MARKER_HEIGHT = 24;
4
- /* Верхний отступ шторки, если она открыта на максимальную высоту */
5
- var HEADER_OFFSET = 24;
6
4
  var CLOSE_OFFSET = 0.2;
7
5
  var SCROLL_OFFSET = 1;
8
- var convertPercentToNumber = function (value, fullHeight) {
9
- var maxHeight = fullHeight - HEADER_OFFSET;
6
+ var HEADER_OFFSET = 24;
7
+ var convertPercentToNumber = function (value, fullHeight, headerOffset) {
8
+ if (headerOffset === void 0) { headerOffset = HEADER_OFFSET; }
9
+ var maxHeight = fullHeight - headerOffset;
10
10
  if (typeof value === 'string') {
11
11
  var percent = parseFloat(value) / 100;
12
12
  if (percent < 0) {
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1rth5 */
1
+ /* hash: 1fqan */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-accent: #ef3124;
@@ -45,20 +45,23 @@
45
45
  } :root {
46
46
  --bottom-sheet-in-transition: transform 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
47
47
  --bottom-sheet-out-transition: transform 0.3s ease;
48
- } .bottom-sheet__modal_7sflj {
48
+ } .bottom-sheet__modal_1vjtp {
49
49
  background-color: transparent;
50
50
  position: fixed;
51
51
  bottom: 0;
52
52
  width: 100%;
53
53
  max-width: 600px;
54
54
  pointer-events: none;
55
- } .bottom-sheet__wrapper_7sflj {
55
+ } .bottom-sheet__wrapper_1vjtp {
56
56
  transform: translateY(100%);
57
57
  overflow: hidden;
58
58
  pointer-events: none;
59
59
  border-top-right-radius: var(--border-radius-xl);
60
60
  border-top-left-radius: var(--border-radius-xl);
61
- } .bottom-sheet__component_7sflj {
61
+ transition: border-radius 0.3s ease;
62
+ } .bottom-sheet__fullscreen_1vjtp {
63
+ border-radius: 0;
64
+ } .bottom-sheet__component_1vjtp {
62
65
  overflow: hidden;
63
66
  position: relative;
64
67
  display: flex;
@@ -66,16 +69,16 @@
66
69
  border-radius: inherit;
67
70
  background-color: var(--color-light-bg-primary);
68
71
  pointer-events: all;
69
- } .bottom-sheet__withTransition_7sflj {
72
+ } .bottom-sheet__withTransition_1vjtp {
70
73
  transition: var(--bottom-sheet-out-transition);
71
- } .bottom-sheet__scrollableContainer_7sflj {
74
+ } .bottom-sheet__scrollableContainer_1vjtp {
72
75
  overflow: auto;
73
76
  display: flex;
74
77
  flex-direction: column;
75
78
  position: relative;
76
79
  height: 100%;
77
80
  background-color: inherit;
78
- } .bottom-sheet__marker_7sflj {
81
+ } .bottom-sheet__marker_1vjtp {
79
82
  position: fixed;
80
83
  top: var(--gap-2xs);
81
84
  left: 50%;
@@ -85,7 +88,7 @@
85
88
  transform: translateX(-50%);
86
89
  background-color: var(--color-light-graphic-quaternary);
87
90
  z-index: 1000;
88
- } .bottom-sheet__content_7sflj {
91
+ } .bottom-sheet__content_1vjtp {
89
92
  position: relative;
90
93
  z-index: 0;
91
94
  display: flex;
@@ -94,73 +97,73 @@
94
97
  padding: 0 var(--gap-m);
95
98
  color: var(--color-light-text-primary);
96
99
  background-color: inherit;
97
- } .bottom-sheet__noHeader_7sflj {
100
+ } .bottom-sheet__noHeader_1vjtp {
98
101
  padding-top: var(--gap-m);
99
- } .bottom-sheet__noFooter_7sflj {
102
+ } .bottom-sheet__noFooter_1vjtp {
100
103
  padding-bottom: var(--gap-m);
101
- } .bottom-sheet__scrollLocked_7sflj {
104
+ } .bottom-sheet__scrollLocked_1vjtp {
102
105
  overflow: hidden;
103
- } .bottom-sheet__hiddenScrollbar_7sflj {
106
+ } .bottom-sheet__hiddenScrollbar_1vjtp {
104
107
  scrollbar-width: none
105
- } .bottom-sheet__hiddenScrollbar_7sflj::-webkit-scrollbar {
108
+ } .bottom-sheet__hiddenScrollbar_1vjtp::-webkit-scrollbar {
106
109
  width: 0;
107
110
  height: 0;
108
- } .bottom-sheet__disabledPointerEvents_7sflj {
111
+ } .bottom-sheet__disabledPointerEvents_1vjtp {
109
112
  pointer-events: none;
110
- } .bottom-sheet__appear_7sflj .bottom-sheet__wrapper_7sflj, .bottom-sheet__enter_7sflj .bottom-sheet__wrapper_7sflj {
113
+ } .bottom-sheet__appear_1vjtp .bottom-sheet__wrapper_1vjtp, .bottom-sheet__enter_1vjtp .bottom-sheet__wrapper_1vjtp {
111
114
  transition: none;
112
- } .bottom-sheet__appearActive_7sflj .bottom-sheet__wrapper_7sflj, .bottom-sheet__enterActive_7sflj .bottom-sheet__wrapper_7sflj {
115
+ } .bottom-sheet__appearActive_1vjtp .bottom-sheet__wrapper_1vjtp, .bottom-sheet__enterActive_1vjtp .bottom-sheet__wrapper_1vjtp {
113
116
  transition: var(--bottom-sheet-in-transition);
114
117
  transform: translateY(0);
115
- } .bottom-sheet__enterDone_7sflj .bottom-sheet__wrapper_7sflj, .bottom-sheet__appearDone_7sflj .bottom-sheet__wrapper_7sflj {
118
+ } .bottom-sheet__enterDone_1vjtp .bottom-sheet__wrapper_1vjtp, .bottom-sheet__appearDone_1vjtp .bottom-sheet__wrapper_1vjtp {
116
119
  transform: translateY(0);
117
- } .bottom-sheet__exit_7sflj .bottom-sheet__wrapper_7sflj {
120
+ } .bottom-sheet__exit_1vjtp .bottom-sheet__wrapper_1vjtp {
118
121
  transform: translateY(0);
119
- } .bottom-sheet__exitActive_7sflj .bottom-sheet__wrapper_7sflj {
122
+ } .bottom-sheet__exitActive_1vjtp .bottom-sheet__wrapper_1vjtp {
120
123
  transition: var(--bottom-sheet-out-transition);
121
124
  transform: translateY(100%);
122
- } .bottom-sheet__background-accent_7sflj {
125
+ } .bottom-sheet__background-accent_1vjtp {
123
126
  background-color: var(--color-light-bg-accent);
124
- } .bottom-sheet__background-info_7sflj {
127
+ } .bottom-sheet__background-info_1vjtp {
125
128
  background-color: var(--color-light-bg-info);
126
- } .bottom-sheet__background-attention-muted_7sflj {
129
+ } .bottom-sheet__background-attention-muted_1vjtp {
127
130
  background-color: var(--color-light-bg-attention-muted);
128
- } .bottom-sheet__background-positive-muted_7sflj {
131
+ } .bottom-sheet__background-positive-muted_1vjtp {
129
132
  background-color: var(--color-light-bg-positive-muted);
130
- } .bottom-sheet__background-negative-muted_7sflj {
133
+ } .bottom-sheet__background-negative-muted_1vjtp {
131
134
  background-color: var(--color-light-bg-negative-muted);
132
- } .bottom-sheet__background-primary_7sflj {
135
+ } .bottom-sheet__background-primary_1vjtp {
133
136
  background-color: var(--color-light-bg-primary);
134
- } .bottom-sheet__background-primary-inverted_7sflj {
137
+ } .bottom-sheet__background-primary-inverted_1vjtp {
135
138
  background-color: var(--color-light-bg-primary-inverted);
136
- } .bottom-sheet__background-secondary_7sflj {
139
+ } .bottom-sheet__background-secondary_1vjtp {
137
140
  background-color: var(--color-light-bg-secondary);
138
- } .bottom-sheet__background-secondary-inverted_7sflj {
141
+ } .bottom-sheet__background-secondary-inverted_1vjtp {
139
142
  background-color: var(--color-light-bg-secondary-inverted);
140
- } .bottom-sheet__background-tertiary_7sflj {
143
+ } .bottom-sheet__background-tertiary_1vjtp {
141
144
  background-color: var(--color-light-bg-tertiary);
142
- } .bottom-sheet__background-tertiary-inverted_7sflj {
145
+ } .bottom-sheet__background-tertiary-inverted_1vjtp {
143
146
  background-color: var(--color-light-bg-tertiary-inverted);
144
- } .bottom-sheet__background-quaternary_7sflj {
147
+ } .bottom-sheet__background-quaternary_1vjtp {
145
148
  background-color: var(--color-light-bg-quaternary);
146
- } .bottom-sheet__background-quaternary-inverted_7sflj {
149
+ } .bottom-sheet__background-quaternary-inverted_1vjtp {
147
150
  background-color: var(--color-light-bg-quaternary-inverted);
148
- } .bottom-sheet__background-specialbg-component_7sflj {
151
+ } .bottom-sheet__background-specialbg-component_1vjtp {
149
152
  background-color: var(--color-light-specialbg-component);
150
- } .bottom-sheet__background-specialbg-component-inverted_7sflj {
153
+ } .bottom-sheet__background-specialbg-component-inverted_1vjtp {
151
154
  background-color: var(--color-light-specialbg-component-inverted);
152
- } .bottom-sheet__background-specialbg-primary-grouped_7sflj {
155
+ } .bottom-sheet__background-specialbg-primary-grouped_1vjtp {
153
156
  background-color: var(--color-light-specialbg-primary-grouped);
154
- } .bottom-sheet__background-specialbg-secondary-grouped_7sflj {
157
+ } .bottom-sheet__background-specialbg-secondary-grouped_1vjtp {
155
158
  background-color: var(--color-light-specialbg-secondary-grouped);
156
- } .bottom-sheet__background-specialbg-tertiary-grouped_7sflj {
159
+ } .bottom-sheet__background-specialbg-tertiary-grouped_1vjtp {
157
160
  background-color: var(--color-light-specialbg-tertiary-grouped);
158
- } .bottom-sheet__background-specialbg-secondary-transparent_7sflj {
161
+ } .bottom-sheet__background-specialbg-secondary-transparent_1vjtp {
159
162
  background-color: var(--color-light-specialbg-secondary-transparent);
160
- } .bottom-sheet__background-specialbg-secondary-transparent-inverted_7sflj {
163
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_1vjtp {
161
164
  background-color: var(--color-light-specialbg-secondary-transparent-inverted);
162
- } .bottom-sheet__background-specialbg-tertiary-transparent_7sflj {
165
+ } .bottom-sheet__background-specialbg-tertiary-transparent_1vjtp {
163
166
  background-color: var(--color-light-specialbg-tertiary-transparent);
164
- } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_7sflj {
167
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1vjtp {
165
168
  background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
166
169
  }
package/index.js CHANGED
@@ -11,6 +11,7 @@ require('react-merge-refs');
11
11
  require('react-swipeable');
12
12
  require('classnames');
13
13
  require('@alfalab/core-components-base-modal');
14
+ require('@alfalab/core-components-shared');
14
15
  require('./components/footer/Component.js');
15
16
  require('./components/header/Component.js');
16
17
  require('@alfalab/core-components-navigation-bar');