@alfalab/core-components-bottom-sheet 6.5.0 → 6.6.1

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 +30 -10
  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 +30 -10
  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 +90 -44
  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 +30 -10
  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 +30 -10
  51. package/utils.d.ts +3 -3
  52. package/utils.js +4 -4
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1eiy8 */
1
+ /* hash: x87uh */
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_1ttf0 {
48
+ } .bottom-sheet__modal_1qfi2 {
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_1ttf0 {
55
+ } .bottom-sheet__wrapper_1qfi2 {
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_1ttf0 {
61
+ transition: border-radius 0.3s ease;
62
+ } .bottom-sheet__fullscreen_1qfi2 {
63
+ border-radius: 0;
64
+ } .bottom-sheet__component_1qfi2 {
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_1ttf0 {
72
+ } .bottom-sheet__withTransition_1qfi2 {
70
73
  transition: var(--bottom-sheet-out-transition);
71
- } .bottom-sheet__scrollableContainer_1ttf0 {
74
+ } .bottom-sheet__scrollableContainer_1qfi2 {
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_1ttf0 {
81
+ } .bottom-sheet__marker_1qfi2 {
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_1ttf0 {
91
+ } .bottom-sheet__content_1qfi2 {
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_1ttf0 {
100
+ } .bottom-sheet__noHeader_1qfi2 {
98
101
  padding-top: var(--gap-m);
99
- } .bottom-sheet__noFooter_1ttf0 {
102
+ } .bottom-sheet__noFooter_1qfi2 {
100
103
  padding-bottom: var(--gap-m);
101
- } .bottom-sheet__scrollLocked_1ttf0 {
104
+ } .bottom-sheet__scrollLocked_1qfi2 {
102
105
  overflow: hidden;
103
- } .bottom-sheet__hiddenScrollbar_1ttf0 {
106
+ } .bottom-sheet__hiddenScrollbar_1qfi2 {
104
107
  scrollbar-width: none
105
- } .bottom-sheet__hiddenScrollbar_1ttf0::-webkit-scrollbar {
108
+ } .bottom-sheet__hiddenScrollbar_1qfi2::-webkit-scrollbar {
106
109
  width: 0;
107
110
  height: 0;
108
- } .bottom-sheet__disabledPointerEvents_1ttf0 {
111
+ } .bottom-sheet__disabledPointerEvents_1qfi2 {
109
112
  pointer-events: none;
110
- } .bottom-sheet__appear_1ttf0 .bottom-sheet__wrapper_1ttf0, .bottom-sheet__enter_1ttf0 .bottom-sheet__wrapper_1ttf0 {
113
+ } .bottom-sheet__appear_1qfi2 .bottom-sheet__wrapper_1qfi2, .bottom-sheet__enter_1qfi2 .bottom-sheet__wrapper_1qfi2 {
111
114
  transition: none;
112
- } .bottom-sheet__appearActive_1ttf0 .bottom-sheet__wrapper_1ttf0, .bottom-sheet__enterActive_1ttf0 .bottom-sheet__wrapper_1ttf0 {
115
+ } .bottom-sheet__appearActive_1qfi2 .bottom-sheet__wrapper_1qfi2, .bottom-sheet__enterActive_1qfi2 .bottom-sheet__wrapper_1qfi2 {
113
116
  transition: var(--bottom-sheet-in-transition);
114
117
  transform: translateY(0);
115
- } .bottom-sheet__enterDone_1ttf0 .bottom-sheet__wrapper_1ttf0, .bottom-sheet__appearDone_1ttf0 .bottom-sheet__wrapper_1ttf0 {
118
+ } .bottom-sheet__enterDone_1qfi2 .bottom-sheet__wrapper_1qfi2, .bottom-sheet__appearDone_1qfi2 .bottom-sheet__wrapper_1qfi2 {
116
119
  transform: translateY(0);
117
- } .bottom-sheet__exit_1ttf0 .bottom-sheet__wrapper_1ttf0 {
120
+ } .bottom-sheet__exit_1qfi2 .bottom-sheet__wrapper_1qfi2 {
118
121
  transform: translateY(0);
119
- } .bottom-sheet__exitActive_1ttf0 .bottom-sheet__wrapper_1ttf0 {
122
+ } .bottom-sheet__exitActive_1qfi2 .bottom-sheet__wrapper_1qfi2 {
120
123
  transition: var(--bottom-sheet-out-transition);
121
124
  transform: translateY(100%);
122
- } .bottom-sheet__background-accent_1ttf0 {
125
+ } .bottom-sheet__background-accent_1qfi2 {
123
126
  background-color: var(--color-light-bg-accent);
124
- } .bottom-sheet__background-info_1ttf0 {
127
+ } .bottom-sheet__background-info_1qfi2 {
125
128
  background-color: var(--color-light-bg-info);
126
- } .bottom-sheet__background-attention-muted_1ttf0 {
129
+ } .bottom-sheet__background-attention-muted_1qfi2 {
127
130
  background-color: var(--color-light-bg-attention-muted);
128
- } .bottom-sheet__background-positive-muted_1ttf0 {
131
+ } .bottom-sheet__background-positive-muted_1qfi2 {
129
132
  background-color: var(--color-light-bg-positive-muted);
130
- } .bottom-sheet__background-negative-muted_1ttf0 {
133
+ } .bottom-sheet__background-negative-muted_1qfi2 {
131
134
  background-color: var(--color-light-bg-negative-muted);
132
- } .bottom-sheet__background-primary_1ttf0 {
135
+ } .bottom-sheet__background-primary_1qfi2 {
133
136
  background-color: var(--color-light-bg-primary);
134
- } .bottom-sheet__background-primary-inverted_1ttf0 {
137
+ } .bottom-sheet__background-primary-inverted_1qfi2 {
135
138
  background-color: var(--color-light-bg-primary-inverted);
136
- } .bottom-sheet__background-secondary_1ttf0 {
139
+ } .bottom-sheet__background-secondary_1qfi2 {
137
140
  background-color: var(--color-light-bg-secondary);
138
- } .bottom-sheet__background-secondary-inverted_1ttf0 {
141
+ } .bottom-sheet__background-secondary-inverted_1qfi2 {
139
142
  background-color: var(--color-light-bg-secondary-inverted);
140
- } .bottom-sheet__background-tertiary_1ttf0 {
143
+ } .bottom-sheet__background-tertiary_1qfi2 {
141
144
  background-color: var(--color-light-bg-tertiary);
142
- } .bottom-sheet__background-tertiary-inverted_1ttf0 {
145
+ } .bottom-sheet__background-tertiary-inverted_1qfi2 {
143
146
  background-color: var(--color-light-bg-tertiary-inverted);
144
- } .bottom-sheet__background-quaternary_1ttf0 {
147
+ } .bottom-sheet__background-quaternary_1qfi2 {
145
148
  background-color: var(--color-light-bg-quaternary);
146
- } .bottom-sheet__background-quaternary-inverted_1ttf0 {
149
+ } .bottom-sheet__background-quaternary-inverted_1qfi2 {
147
150
  background-color: var(--color-light-bg-quaternary-inverted);
148
- } .bottom-sheet__background-specialbg-component_1ttf0 {
151
+ } .bottom-sheet__background-specialbg-component_1qfi2 {
149
152
  background-color: var(--color-light-specialbg-component);
150
- } .bottom-sheet__background-specialbg-component-inverted_1ttf0 {
153
+ } .bottom-sheet__background-specialbg-component-inverted_1qfi2 {
151
154
  background-color: var(--color-light-specialbg-component-inverted);
152
- } .bottom-sheet__background-specialbg-primary-grouped_1ttf0 {
155
+ } .bottom-sheet__background-specialbg-primary-grouped_1qfi2 {
153
156
  background-color: var(--color-light-specialbg-primary-grouped);
154
- } .bottom-sheet__background-specialbg-secondary-grouped_1ttf0 {
157
+ } .bottom-sheet__background-specialbg-secondary-grouped_1qfi2 {
155
158
  background-color: var(--color-light-specialbg-secondary-grouped);
156
- } .bottom-sheet__background-specialbg-tertiary-grouped_1ttf0 {
159
+ } .bottom-sheet__background-specialbg-tertiary-grouped_1qfi2 {
157
160
  background-color: var(--color-light-specialbg-tertiary-grouped);
158
- } .bottom-sheet__background-specialbg-secondary-transparent_1ttf0 {
161
+ } .bottom-sheet__background-specialbg-secondary-transparent_1qfi2 {
159
162
  background-color: var(--color-light-specialbg-secondary-transparent);
160
- } .bottom-sheet__background-specialbg-secondary-transparent-inverted_1ttf0 {
163
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_1qfi2 {
161
164
  background-color: var(--color-light-specialbg-secondary-transparent-inverted);
162
- } .bottom-sheet__background-specialbg-tertiary-transparent_1ttf0 {
165
+ } .bottom-sheet__background-specialbg-tertiary-transparent_1qfi2 {
163
166
  background-color: var(--color-light-specialbg-tertiary-transparent);
164
- } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1ttf0 {
167
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1qfi2 {
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
  */
@@ -208,17 +216,9 @@ type BottomSheetProps = {
208
216
  */
209
217
  hideScrollbar?: boolean;
210
218
  /**
211
- * Обработчик закрытия
212
- */
213
- onClose: () => void;
214
- /**
215
- * Обработчик нажатия на стрелку назад
219
+ * Верхний отступ шторки, если она открыта на максимальную высоту
216
220
  */
217
- onBack?: () => void;
218
- /**
219
- * Вызывается после притягивания к одной из `magneticAreas`
220
- */
221
- onMagnetize?: (index: number) => void;
221
+ headerOffset?: number;
222
222
  /**
223
223
  * Содержимое bottom-sheet всегда в DOM
224
224
  */
@@ -235,5 +235,25 @@ type BottomSheetProps = {
235
235
  * Отключает вызов `onClose` при нажатии Escape
236
236
  */
237
237
  disableEscapeKeyDown?: boolean;
238
+ /**
239
+ * Обработчик закрытия
240
+ */
241
+ onClose: () => void;
242
+ /**
243
+ * Обработчик нажатия на стрелку назад
244
+ */
245
+ onBack?: () => void;
246
+ /**
247
+ * Вызывается в начале анимации притягивания к одной из `magneticAreas`
248
+ */
249
+ onMagnetize?: (index: number) => void;
250
+ /**
251
+ * Вызывается после окончания анимации притягивания
252
+ */
253
+ onMagnetizeEnd?: () => void;
254
+ /**
255
+ * Вызывается при изменении положения шторки
256
+ */
257
+ onOffsetChange?: (offset: number, percent: number) => void;
238
258
  };
239
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: 1eiy8 */
1
+ /* hash: x87uh */
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_1ttf0 {
48
+ } .bottom-sheet__modal_1qfi2 {
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_1ttf0 {
55
+ } .bottom-sheet__wrapper_1qfi2 {
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_1ttf0 {
61
+ transition: border-radius 0.3s ease;
62
+ } .bottom-sheet__fullscreen_1qfi2 {
63
+ border-radius: 0;
64
+ } .bottom-sheet__component_1qfi2 {
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_1ttf0 {
72
+ } .bottom-sheet__withTransition_1qfi2 {
70
73
  transition: var(--bottom-sheet-out-transition);
71
- } .bottom-sheet__scrollableContainer_1ttf0 {
74
+ } .bottom-sheet__scrollableContainer_1qfi2 {
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_1ttf0 {
81
+ } .bottom-sheet__marker_1qfi2 {
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_1ttf0 {
91
+ } .bottom-sheet__content_1qfi2 {
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_1ttf0 {
100
+ } .bottom-sheet__noHeader_1qfi2 {
98
101
  padding-top: var(--gap-m);
99
- } .bottom-sheet__noFooter_1ttf0 {
102
+ } .bottom-sheet__noFooter_1qfi2 {
100
103
  padding-bottom: var(--gap-m);
101
- } .bottom-sheet__scrollLocked_1ttf0 {
104
+ } .bottom-sheet__scrollLocked_1qfi2 {
102
105
  overflow: hidden;
103
- } .bottom-sheet__hiddenScrollbar_1ttf0 {
106
+ } .bottom-sheet__hiddenScrollbar_1qfi2 {
104
107
  scrollbar-width: none
105
- } .bottom-sheet__hiddenScrollbar_1ttf0::-webkit-scrollbar {
108
+ } .bottom-sheet__hiddenScrollbar_1qfi2::-webkit-scrollbar {
106
109
  width: 0;
107
110
  height: 0;
108
- } .bottom-sheet__disabledPointerEvents_1ttf0 {
111
+ } .bottom-sheet__disabledPointerEvents_1qfi2 {
109
112
  pointer-events: none;
110
- } .bottom-sheet__appear_1ttf0 .bottom-sheet__wrapper_1ttf0, .bottom-sheet__enter_1ttf0 .bottom-sheet__wrapper_1ttf0 {
113
+ } .bottom-sheet__appear_1qfi2 .bottom-sheet__wrapper_1qfi2, .bottom-sheet__enter_1qfi2 .bottom-sheet__wrapper_1qfi2 {
111
114
  transition: none;
112
- } .bottom-sheet__appearActive_1ttf0 .bottom-sheet__wrapper_1ttf0, .bottom-sheet__enterActive_1ttf0 .bottom-sheet__wrapper_1ttf0 {
115
+ } .bottom-sheet__appearActive_1qfi2 .bottom-sheet__wrapper_1qfi2, .bottom-sheet__enterActive_1qfi2 .bottom-sheet__wrapper_1qfi2 {
113
116
  transition: var(--bottom-sheet-in-transition);
114
117
  transform: translateY(0);
115
- } .bottom-sheet__enterDone_1ttf0 .bottom-sheet__wrapper_1ttf0, .bottom-sheet__appearDone_1ttf0 .bottom-sheet__wrapper_1ttf0 {
118
+ } .bottom-sheet__enterDone_1qfi2 .bottom-sheet__wrapper_1qfi2, .bottom-sheet__appearDone_1qfi2 .bottom-sheet__wrapper_1qfi2 {
116
119
  transform: translateY(0);
117
- } .bottom-sheet__exit_1ttf0 .bottom-sheet__wrapper_1ttf0 {
120
+ } .bottom-sheet__exit_1qfi2 .bottom-sheet__wrapper_1qfi2 {
118
121
  transform: translateY(0);
119
- } .bottom-sheet__exitActive_1ttf0 .bottom-sheet__wrapper_1ttf0 {
122
+ } .bottom-sheet__exitActive_1qfi2 .bottom-sheet__wrapper_1qfi2 {
120
123
  transition: var(--bottom-sheet-out-transition);
121
124
  transform: translateY(100%);
122
- } .bottom-sheet__background-accent_1ttf0 {
125
+ } .bottom-sheet__background-accent_1qfi2 {
123
126
  background-color: var(--color-light-bg-accent);
124
- } .bottom-sheet__background-info_1ttf0 {
127
+ } .bottom-sheet__background-info_1qfi2 {
125
128
  background-color: var(--color-light-bg-info);
126
- } .bottom-sheet__background-attention-muted_1ttf0 {
129
+ } .bottom-sheet__background-attention-muted_1qfi2 {
127
130
  background-color: var(--color-light-bg-attention-muted);
128
- } .bottom-sheet__background-positive-muted_1ttf0 {
131
+ } .bottom-sheet__background-positive-muted_1qfi2 {
129
132
  background-color: var(--color-light-bg-positive-muted);
130
- } .bottom-sheet__background-negative-muted_1ttf0 {
133
+ } .bottom-sheet__background-negative-muted_1qfi2 {
131
134
  background-color: var(--color-light-bg-negative-muted);
132
- } .bottom-sheet__background-primary_1ttf0 {
135
+ } .bottom-sheet__background-primary_1qfi2 {
133
136
  background-color: var(--color-light-bg-primary);
134
- } .bottom-sheet__background-primary-inverted_1ttf0 {
137
+ } .bottom-sheet__background-primary-inverted_1qfi2 {
135
138
  background-color: var(--color-light-bg-primary-inverted);
136
- } .bottom-sheet__background-secondary_1ttf0 {
139
+ } .bottom-sheet__background-secondary_1qfi2 {
137
140
  background-color: var(--color-light-bg-secondary);
138
- } .bottom-sheet__background-secondary-inverted_1ttf0 {
141
+ } .bottom-sheet__background-secondary-inverted_1qfi2 {
139
142
  background-color: var(--color-light-bg-secondary-inverted);
140
- } .bottom-sheet__background-tertiary_1ttf0 {
143
+ } .bottom-sheet__background-tertiary_1qfi2 {
141
144
  background-color: var(--color-light-bg-tertiary);
142
- } .bottom-sheet__background-tertiary-inverted_1ttf0 {
145
+ } .bottom-sheet__background-tertiary-inverted_1qfi2 {
143
146
  background-color: var(--color-light-bg-tertiary-inverted);
144
- } .bottom-sheet__background-quaternary_1ttf0 {
147
+ } .bottom-sheet__background-quaternary_1qfi2 {
145
148
  background-color: var(--color-light-bg-quaternary);
146
- } .bottom-sheet__background-quaternary-inverted_1ttf0 {
149
+ } .bottom-sheet__background-quaternary-inverted_1qfi2 {
147
150
  background-color: var(--color-light-bg-quaternary-inverted);
148
- } .bottom-sheet__background-specialbg-component_1ttf0 {
151
+ } .bottom-sheet__background-specialbg-component_1qfi2 {
149
152
  background-color: var(--color-light-specialbg-component);
150
- } .bottom-sheet__background-specialbg-component-inverted_1ttf0 {
153
+ } .bottom-sheet__background-specialbg-component-inverted_1qfi2 {
151
154
  background-color: var(--color-light-specialbg-component-inverted);
152
- } .bottom-sheet__background-specialbg-primary-grouped_1ttf0 {
155
+ } .bottom-sheet__background-specialbg-primary-grouped_1qfi2 {
153
156
  background-color: var(--color-light-specialbg-primary-grouped);
154
- } .bottom-sheet__background-specialbg-secondary-grouped_1ttf0 {
157
+ } .bottom-sheet__background-specialbg-secondary-grouped_1qfi2 {
155
158
  background-color: var(--color-light-specialbg-secondary-grouped);
156
- } .bottom-sheet__background-specialbg-tertiary-grouped_1ttf0 {
159
+ } .bottom-sheet__background-specialbg-tertiary-grouped_1qfi2 {
157
160
  background-color: var(--color-light-specialbg-tertiary-grouped);
158
- } .bottom-sheet__background-specialbg-secondary-transparent_1ttf0 {
161
+ } .bottom-sheet__background-specialbg-secondary-transparent_1qfi2 {
159
162
  background-color: var(--color-light-specialbg-secondary-transparent);
160
- } .bottom-sheet__background-specialbg-secondary-transparent-inverted_1ttf0 {
163
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_1qfi2 {
161
164
  background-color: var(--color-light-specialbg-secondary-transparent-inverted);
162
- } .bottom-sheet__background-specialbg-tertiary-transparent_1ttf0 {
165
+ } .bottom-sheet__background-specialbg-tertiary-transparent_1qfi2 {
163
166
  background-color: var(--color-light-specialbg-tertiary-transparent);
164
- } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1ttf0 {
167
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1qfi2 {
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');