@alfalab/core-components-bottom-sheet 6.6.2 → 6.7.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.
@@ -1,4 +1,4 @@
1
- /* hash: ryjb2 */
1
+ /* hash: ald0e */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-secondary: #e9e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -27,42 +27,42 @@
27
27
  --bottom-sheet-title-font-weight: 700;
28
28
  --bottom-sheet-title-line-height: 24px;
29
29
  --bottom-sheet-title-font-family: var(--font-family-system);
30
- } .bottom-sheet__headerWrapper_1x9qh {
30
+ } .bottom-sheet__headerWrapper_1g7lc {
31
31
  padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
32
32
  border-top-right-radius: var(--border-radius-xl);
33
33
  border-top-left-radius: var(--border-radius-xl);
34
34
  z-index: 1;
35
- } .bottom-sheet__hasContent_1x9qh {
35
+ } .bottom-sheet__hasContent_1g7lc {
36
36
  background-color: inherit;
37
- } .bottom-sheet__header_1x9qh {
37
+ } .bottom-sheet__header_1g7lc {
38
38
  display: flex;
39
- } .bottom-sheet__sticky_1x9qh {
39
+ } .bottom-sheet__sticky_1g7lc {
40
40
  position: sticky;
41
41
  top: 0;
42
- } .bottom-sheet__highlighted_1x9qh {
42
+ } .bottom-sheet__highlighted_1g7lc {
43
43
  border-bottom: var(--bottom-sheet-header-border-bottom);
44
- } .bottom-sheet__justifyEnd_1x9qh {
44
+ } .bottom-sheet__justifyEnd_1g7lc {
45
45
  justify-content: flex-end;
46
- } .bottom-sheet__addon_1x9qh {
46
+ } .bottom-sheet__addon_1g7lc {
47
47
  display: flex;
48
48
  justify-content: center;
49
49
  align-items: center;
50
50
  min-width: 48px;
51
51
  height: 48px;
52
- } .bottom-sheet__addonFixed_1x9qh {
52
+ } .bottom-sheet__addonFixed_1g7lc {
53
53
  position: fixed;
54
- } .bottom-sheet__title_1x9qh {
54
+ } .bottom-sheet__title_1g7lc {
55
55
  padding: var(--gap-s) var(--gap-xs);
56
56
  width: 100%;
57
57
  font-size: var(--bottom-sheet-title-font-size);
58
58
  font-weight: var(--bottom-sheet-title-font-weight);
59
59
  line-height: var(--bottom-sheet-title-line-height);
60
60
  font-family: var(--bottom-sheet-title-font-family);
61
- } .bottom-sheet__titleCenter_1x9qh {
61
+ } .bottom-sheet__titleCenter_1g7lc {
62
62
  text-align: center;
63
- } .bottom-sheet__titleLeft_1x9qh {
63
+ } .bottom-sheet__titleLeft_1g7lc {
64
64
  text-align: left;
65
- } .bottom-sheet__trimTitle_1x9qh {
65
+ } .bottom-sheet__trimTitle_1g7lc {
66
66
  white-space: nowrap;
67
67
  overflow: hidden;
68
68
  text-overflow: ellipsis;
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: ibgfh */
1
+ /* hash: qytmj */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-accent: #ef3124;
@@ -45,50 +45,51 @@
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_w9b6i {
48
+ } .bottom-sheet__modal_6oydx {
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_w9b6i {
55
+ } .bottom-sheet__wrapper_6oydx {
56
56
  transform: translateY(100%);
57
- overflow: hidden;
58
57
  pointer-events: none;
59
58
  border-top-right-radius: var(--border-radius-xl);
60
59
  border-top-left-radius: var(--border-radius-xl);
61
60
  transition: border-radius 0.3s ease;
62
- } .bottom-sheet__fullscreen_w9b6i {
61
+ } .bottom-sheet__fullscreen_6oydx {
63
62
  border-radius: 0;
64
- } .bottom-sheet__component_w9b6i {
65
- overflow: hidden;
63
+ } .bottom-sheet__component_6oydx {
66
64
  position: relative;
67
65
  display: flex;
68
66
  flex-direction: column;
69
67
  border-radius: inherit;
70
68
  background-color: var(--color-light-bg-primary);
71
69
  pointer-events: all;
72
- } .bottom-sheet__withTransition_w9b6i {
70
+ } .bottom-sheet__withTransition_6oydx {
73
71
  transition: var(--bottom-sheet-out-transition);
74
- } .bottom-sheet__scrollableContainer_w9b6i {
72
+ } .bottom-sheet__scrollableContainer_6oydx {
75
73
  overflow: auto;
76
74
  display: flex;
77
75
  flex-direction: column;
78
76
  position: relative;
79
77
  height: 100%;
80
78
  background-color: inherit;
81
- } .bottom-sheet__marker_w9b6i {
79
+ border-radius: inherit;
80
+ } .bottom-sheet__marker_6oydx {
82
81
  position: fixed;
83
82
  top: var(--gap-2xs);
84
- left: 50%;
83
+ right: 0;
84
+ left: 0;
85
+ z-index: 1000;
85
86
  width: 36px;
87
+ margin: 0 auto;
88
+ } .bottom-sheet__defaultMarker_6oydx {
86
89
  height: 4px;
87
90
  border-radius: var(--border-radius-xxl);
88
- transform: translateX(-50%);
89
91
  background-color: var(--color-light-graphic-quaternary);
90
- z-index: 1000;
91
- } .bottom-sheet__content_w9b6i {
92
+ } .bottom-sheet__content_6oydx {
92
93
  position: relative;
93
94
  z-index: 0;
94
95
  display: flex;
@@ -97,73 +98,73 @@
97
98
  padding: 0 var(--gap-m);
98
99
  color: var(--color-light-text-primary);
99
100
  background-color: inherit;
100
- } .bottom-sheet__noHeader_w9b6i {
101
+ } .bottom-sheet__noHeader_6oydx {
101
102
  padding-top: var(--gap-m);
102
- } .bottom-sheet__noFooter_w9b6i {
103
+ } .bottom-sheet__noFooter_6oydx {
103
104
  padding-bottom: var(--gap-m);
104
- } .bottom-sheet__scrollLocked_w9b6i {
105
+ } .bottom-sheet__scrollLocked_6oydx {
105
106
  overflow: hidden;
106
- } .bottom-sheet__hiddenScrollbar_w9b6i {
107
+ } .bottom-sheet__hiddenScrollbar_6oydx {
107
108
  scrollbar-width: none
108
- } .bottom-sheet__hiddenScrollbar_w9b6i::-webkit-scrollbar {
109
+ } .bottom-sheet__hiddenScrollbar_6oydx::-webkit-scrollbar {
109
110
  width: 0;
110
111
  height: 0;
111
- } .bottom-sheet__disabledPointerEvents_w9b6i {
112
+ } .bottom-sheet__disabledPointerEvents_6oydx {
112
113
  pointer-events: none;
113
- } .bottom-sheet__appear_w9b6i .bottom-sheet__wrapper_w9b6i, .bottom-sheet__enter_w9b6i .bottom-sheet__wrapper_w9b6i {
114
+ } .bottom-sheet__appear_6oydx .bottom-sheet__wrapper_6oydx, .bottom-sheet__enter_6oydx .bottom-sheet__wrapper_6oydx {
114
115
  transition: none;
115
- } .bottom-sheet__appearActive_w9b6i .bottom-sheet__wrapper_w9b6i, .bottom-sheet__enterActive_w9b6i .bottom-sheet__wrapper_w9b6i {
116
+ } .bottom-sheet__appearActive_6oydx .bottom-sheet__wrapper_6oydx, .bottom-sheet__enterActive_6oydx .bottom-sheet__wrapper_6oydx {
116
117
  transition: var(--bottom-sheet-in-transition);
117
118
  transform: translateY(0);
118
- } .bottom-sheet__enterDone_w9b6i .bottom-sheet__wrapper_w9b6i, .bottom-sheet__appearDone_w9b6i .bottom-sheet__wrapper_w9b6i {
119
+ } .bottom-sheet__enterDone_6oydx .bottom-sheet__wrapper_6oydx, .bottom-sheet__appearDone_6oydx .bottom-sheet__wrapper_6oydx {
119
120
  transform: translateY(0);
120
- } .bottom-sheet__exit_w9b6i .bottom-sheet__wrapper_w9b6i {
121
+ } .bottom-sheet__exit_6oydx .bottom-sheet__wrapper_6oydx {
121
122
  transform: translateY(0);
122
- } .bottom-sheet__exitActive_w9b6i .bottom-sheet__wrapper_w9b6i {
123
+ } .bottom-sheet__exitActive_6oydx .bottom-sheet__wrapper_6oydx {
123
124
  transition: var(--bottom-sheet-out-transition);
124
125
  transform: translateY(100%);
125
- } .bottom-sheet__background-accent_w9b6i {
126
+ } .bottom-sheet__background-accent_6oydx {
126
127
  background-color: var(--color-light-bg-accent);
127
- } .bottom-sheet__background-info_w9b6i {
128
+ } .bottom-sheet__background-info_6oydx {
128
129
  background-color: var(--color-light-bg-info);
129
- } .bottom-sheet__background-attention-muted_w9b6i {
130
+ } .bottom-sheet__background-attention-muted_6oydx {
130
131
  background-color: var(--color-light-bg-attention-muted);
131
- } .bottom-sheet__background-positive-muted_w9b6i {
132
+ } .bottom-sheet__background-positive-muted_6oydx {
132
133
  background-color: var(--color-light-bg-positive-muted);
133
- } .bottom-sheet__background-negative-muted_w9b6i {
134
+ } .bottom-sheet__background-negative-muted_6oydx {
134
135
  background-color: var(--color-light-bg-negative-muted);
135
- } .bottom-sheet__background-primary_w9b6i {
136
+ } .bottom-sheet__background-primary_6oydx {
136
137
  background-color: var(--color-light-bg-primary);
137
- } .bottom-sheet__background-primary-inverted_w9b6i {
138
+ } .bottom-sheet__background-primary-inverted_6oydx {
138
139
  background-color: var(--color-light-bg-primary-inverted);
139
- } .bottom-sheet__background-secondary_w9b6i {
140
+ } .bottom-sheet__background-secondary_6oydx {
140
141
  background-color: var(--color-light-bg-secondary);
141
- } .bottom-sheet__background-secondary-inverted_w9b6i {
142
+ } .bottom-sheet__background-secondary-inverted_6oydx {
142
143
  background-color: var(--color-light-bg-secondary-inverted);
143
- } .bottom-sheet__background-tertiary_w9b6i {
144
+ } .bottom-sheet__background-tertiary_6oydx {
144
145
  background-color: var(--color-light-bg-tertiary);
145
- } .bottom-sheet__background-tertiary-inverted_w9b6i {
146
+ } .bottom-sheet__background-tertiary-inverted_6oydx {
146
147
  background-color: var(--color-light-bg-tertiary-inverted);
147
- } .bottom-sheet__background-quaternary_w9b6i {
148
+ } .bottom-sheet__background-quaternary_6oydx {
148
149
  background-color: var(--color-light-bg-quaternary);
149
- } .bottom-sheet__background-quaternary-inverted_w9b6i {
150
+ } .bottom-sheet__background-quaternary-inverted_6oydx {
150
151
  background-color: var(--color-light-bg-quaternary-inverted);
151
- } .bottom-sheet__background-specialbg-component_w9b6i {
152
+ } .bottom-sheet__background-specialbg-component_6oydx {
152
153
  background-color: var(--color-light-specialbg-component);
153
- } .bottom-sheet__background-specialbg-component-inverted_w9b6i {
154
+ } .bottom-sheet__background-specialbg-component-inverted_6oydx {
154
155
  background-color: var(--color-light-specialbg-component-inverted);
155
- } .bottom-sheet__background-specialbg-primary-grouped_w9b6i {
156
+ } .bottom-sheet__background-specialbg-primary-grouped_6oydx {
156
157
  background-color: var(--color-light-specialbg-primary-grouped);
157
- } .bottom-sheet__background-specialbg-secondary-grouped_w9b6i {
158
+ } .bottom-sheet__background-specialbg-secondary-grouped_6oydx {
158
159
  background-color: var(--color-light-specialbg-secondary-grouped);
159
- } .bottom-sheet__background-specialbg-tertiary-grouped_w9b6i {
160
+ } .bottom-sheet__background-specialbg-tertiary-grouped_6oydx {
160
161
  background-color: var(--color-light-specialbg-tertiary-grouped);
161
- } .bottom-sheet__background-specialbg-secondary-transparent_w9b6i {
162
+ } .bottom-sheet__background-specialbg-secondary-transparent_6oydx {
162
163
  background-color: var(--color-light-specialbg-secondary-transparent);
163
- } .bottom-sheet__background-specialbg-secondary-transparent-inverted_w9b6i {
164
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_6oydx {
164
165
  background-color: var(--color-light-specialbg-secondary-transparent-inverted);
165
- } .bottom-sheet__background-specialbg-tertiary-transparent_w9b6i {
166
+ } .bottom-sheet__background-specialbg-tertiary-transparent_6oydx {
166
167
  background-color: var(--color-light-specialbg-tertiary-transparent);
167
- } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_w9b6i {
168
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_6oydx {
168
169
  background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
169
170
  }
package/esm/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react-transition-group" />
2
- import { HTMLAttributes, ReactNode, RefObject } from 'react';
2
+ import { HTMLAttributes, ReactElement, ReactNode, RefObject } from 'react';
3
3
  import { TransitionProps } from 'react-transition-group/Transition';
4
4
  import { BaseModalProps } from "@alfalab/core-components-base-modal";
5
5
  import { NavigationBarProps } from "@alfalab/core-components-navigation-bar";
@@ -88,6 +88,14 @@ type BottomSheetProps = {
88
88
  * Дополнительный класс для обертки модального окна
89
89
  */
90
90
  modalWrapperClassName?: string;
91
+ /**
92
+ * Дополнительный класс для маркера
93
+ */
94
+ swipeableMarkerClassName?: string;
95
+ /**
96
+ * Кастомный маркер
97
+ */
98
+ swipeableMarker?: ReactElement;
91
99
  /**
92
100
  * TransitionProps, прокидываются в компонент CSSTransitionProps.
93
101
  */
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: ibgfh */
1
+ /* hash: qytmj */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-accent: #ef3124;
@@ -45,50 +45,51 @@
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_w9b6i {
48
+ } .bottom-sheet__modal_6oydx {
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_w9b6i {
55
+ } .bottom-sheet__wrapper_6oydx {
56
56
  transform: translateY(100%);
57
- overflow: hidden;
58
57
  pointer-events: none;
59
58
  border-top-right-radius: var(--border-radius-xl);
60
59
  border-top-left-radius: var(--border-radius-xl);
61
60
  transition: border-radius 0.3s ease;
62
- } .bottom-sheet__fullscreen_w9b6i {
61
+ } .bottom-sheet__fullscreen_6oydx {
63
62
  border-radius: 0;
64
- } .bottom-sheet__component_w9b6i {
65
- overflow: hidden;
63
+ } .bottom-sheet__component_6oydx {
66
64
  position: relative;
67
65
  display: flex;
68
66
  flex-direction: column;
69
67
  border-radius: inherit;
70
68
  background-color: var(--color-light-bg-primary);
71
69
  pointer-events: all;
72
- } .bottom-sheet__withTransition_w9b6i {
70
+ } .bottom-sheet__withTransition_6oydx {
73
71
  transition: var(--bottom-sheet-out-transition);
74
- } .bottom-sheet__scrollableContainer_w9b6i {
72
+ } .bottom-sheet__scrollableContainer_6oydx {
75
73
  overflow: auto;
76
74
  display: flex;
77
75
  flex-direction: column;
78
76
  position: relative;
79
77
  height: 100%;
80
78
  background-color: inherit;
81
- } .bottom-sheet__marker_w9b6i {
79
+ border-radius: inherit;
80
+ } .bottom-sheet__marker_6oydx {
82
81
  position: fixed;
83
82
  top: var(--gap-2xs);
84
- left: 50%;
83
+ right: 0;
84
+ left: 0;
85
+ z-index: 1000;
85
86
  width: 36px;
87
+ margin: 0 auto;
88
+ } .bottom-sheet__defaultMarker_6oydx {
86
89
  height: 4px;
87
90
  border-radius: var(--border-radius-xxl);
88
- transform: translateX(-50%);
89
91
  background-color: var(--color-light-graphic-quaternary);
90
- z-index: 1000;
91
- } .bottom-sheet__content_w9b6i {
92
+ } .bottom-sheet__content_6oydx {
92
93
  position: relative;
93
94
  z-index: 0;
94
95
  display: flex;
@@ -97,73 +98,73 @@
97
98
  padding: 0 var(--gap-m);
98
99
  color: var(--color-light-text-primary);
99
100
  background-color: inherit;
100
- } .bottom-sheet__noHeader_w9b6i {
101
+ } .bottom-sheet__noHeader_6oydx {
101
102
  padding-top: var(--gap-m);
102
- } .bottom-sheet__noFooter_w9b6i {
103
+ } .bottom-sheet__noFooter_6oydx {
103
104
  padding-bottom: var(--gap-m);
104
- } .bottom-sheet__scrollLocked_w9b6i {
105
+ } .bottom-sheet__scrollLocked_6oydx {
105
106
  overflow: hidden;
106
- } .bottom-sheet__hiddenScrollbar_w9b6i {
107
+ } .bottom-sheet__hiddenScrollbar_6oydx {
107
108
  scrollbar-width: none
108
- } .bottom-sheet__hiddenScrollbar_w9b6i::-webkit-scrollbar {
109
+ } .bottom-sheet__hiddenScrollbar_6oydx::-webkit-scrollbar {
109
110
  width: 0;
110
111
  height: 0;
111
- } .bottom-sheet__disabledPointerEvents_w9b6i {
112
+ } .bottom-sheet__disabledPointerEvents_6oydx {
112
113
  pointer-events: none;
113
- } .bottom-sheet__appear_w9b6i .bottom-sheet__wrapper_w9b6i, .bottom-sheet__enter_w9b6i .bottom-sheet__wrapper_w9b6i {
114
+ } .bottom-sheet__appear_6oydx .bottom-sheet__wrapper_6oydx, .bottom-sheet__enter_6oydx .bottom-sheet__wrapper_6oydx {
114
115
  transition: none;
115
- } .bottom-sheet__appearActive_w9b6i .bottom-sheet__wrapper_w9b6i, .bottom-sheet__enterActive_w9b6i .bottom-sheet__wrapper_w9b6i {
116
+ } .bottom-sheet__appearActive_6oydx .bottom-sheet__wrapper_6oydx, .bottom-sheet__enterActive_6oydx .bottom-sheet__wrapper_6oydx {
116
117
  transition: var(--bottom-sheet-in-transition);
117
118
  transform: translateY(0);
118
- } .bottom-sheet__enterDone_w9b6i .bottom-sheet__wrapper_w9b6i, .bottom-sheet__appearDone_w9b6i .bottom-sheet__wrapper_w9b6i {
119
+ } .bottom-sheet__enterDone_6oydx .bottom-sheet__wrapper_6oydx, .bottom-sheet__appearDone_6oydx .bottom-sheet__wrapper_6oydx {
119
120
  transform: translateY(0);
120
- } .bottom-sheet__exit_w9b6i .bottom-sheet__wrapper_w9b6i {
121
+ } .bottom-sheet__exit_6oydx .bottom-sheet__wrapper_6oydx {
121
122
  transform: translateY(0);
122
- } .bottom-sheet__exitActive_w9b6i .bottom-sheet__wrapper_w9b6i {
123
+ } .bottom-sheet__exitActive_6oydx .bottom-sheet__wrapper_6oydx {
123
124
  transition: var(--bottom-sheet-out-transition);
124
125
  transform: translateY(100%);
125
- } .bottom-sheet__background-accent_w9b6i {
126
+ } .bottom-sheet__background-accent_6oydx {
126
127
  background-color: var(--color-light-bg-accent);
127
- } .bottom-sheet__background-info_w9b6i {
128
+ } .bottom-sheet__background-info_6oydx {
128
129
  background-color: var(--color-light-bg-info);
129
- } .bottom-sheet__background-attention-muted_w9b6i {
130
+ } .bottom-sheet__background-attention-muted_6oydx {
130
131
  background-color: var(--color-light-bg-attention-muted);
131
- } .bottom-sheet__background-positive-muted_w9b6i {
132
+ } .bottom-sheet__background-positive-muted_6oydx {
132
133
  background-color: var(--color-light-bg-positive-muted);
133
- } .bottom-sheet__background-negative-muted_w9b6i {
134
+ } .bottom-sheet__background-negative-muted_6oydx {
134
135
  background-color: var(--color-light-bg-negative-muted);
135
- } .bottom-sheet__background-primary_w9b6i {
136
+ } .bottom-sheet__background-primary_6oydx {
136
137
  background-color: var(--color-light-bg-primary);
137
- } .bottom-sheet__background-primary-inverted_w9b6i {
138
+ } .bottom-sheet__background-primary-inverted_6oydx {
138
139
  background-color: var(--color-light-bg-primary-inverted);
139
- } .bottom-sheet__background-secondary_w9b6i {
140
+ } .bottom-sheet__background-secondary_6oydx {
140
141
  background-color: var(--color-light-bg-secondary);
141
- } .bottom-sheet__background-secondary-inverted_w9b6i {
142
+ } .bottom-sheet__background-secondary-inverted_6oydx {
142
143
  background-color: var(--color-light-bg-secondary-inverted);
143
- } .bottom-sheet__background-tertiary_w9b6i {
144
+ } .bottom-sheet__background-tertiary_6oydx {
144
145
  background-color: var(--color-light-bg-tertiary);
145
- } .bottom-sheet__background-tertiary-inverted_w9b6i {
146
+ } .bottom-sheet__background-tertiary-inverted_6oydx {
146
147
  background-color: var(--color-light-bg-tertiary-inverted);
147
- } .bottom-sheet__background-quaternary_w9b6i {
148
+ } .bottom-sheet__background-quaternary_6oydx {
148
149
  background-color: var(--color-light-bg-quaternary);
149
- } .bottom-sheet__background-quaternary-inverted_w9b6i {
150
+ } .bottom-sheet__background-quaternary-inverted_6oydx {
150
151
  background-color: var(--color-light-bg-quaternary-inverted);
151
- } .bottom-sheet__background-specialbg-component_w9b6i {
152
+ } .bottom-sheet__background-specialbg-component_6oydx {
152
153
  background-color: var(--color-light-specialbg-component);
153
- } .bottom-sheet__background-specialbg-component-inverted_w9b6i {
154
+ } .bottom-sheet__background-specialbg-component-inverted_6oydx {
154
155
  background-color: var(--color-light-specialbg-component-inverted);
155
- } .bottom-sheet__background-specialbg-primary-grouped_w9b6i {
156
+ } .bottom-sheet__background-specialbg-primary-grouped_6oydx {
156
157
  background-color: var(--color-light-specialbg-primary-grouped);
157
- } .bottom-sheet__background-specialbg-secondary-grouped_w9b6i {
158
+ } .bottom-sheet__background-specialbg-secondary-grouped_6oydx {
158
159
  background-color: var(--color-light-specialbg-secondary-grouped);
159
- } .bottom-sheet__background-specialbg-tertiary-grouped_w9b6i {
160
+ } .bottom-sheet__background-specialbg-tertiary-grouped_6oydx {
160
161
  background-color: var(--color-light-specialbg-tertiary-grouped);
161
- } .bottom-sheet__background-specialbg-secondary-transparent_w9b6i {
162
+ } .bottom-sheet__background-specialbg-secondary-transparent_6oydx {
162
163
  background-color: var(--color-light-specialbg-secondary-transparent);
163
- } .bottom-sheet__background-specialbg-secondary-transparent-inverted_w9b6i {
164
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_6oydx {
164
165
  background-color: var(--color-light-specialbg-secondary-transparent-inverted);
165
- } .bottom-sheet__background-specialbg-tertiary-transparent_w9b6i {
166
+ } .bottom-sheet__background-specialbg-tertiary-transparent_6oydx {
166
167
  background-color: var(--color-light-specialbg-tertiary-transparent);
167
- } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_w9b6i {
168
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_6oydx {
168
169
  background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
169
170
  }
@@ -12,10 +12,10 @@ import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VE
12
12
  import '@alfalab/core-components-navigation-bar/modern';
13
13
  import '@alfalab/core-components-backdrop/modern';
14
14
 
15
- const styles = {"modal":"bottom-sheet__modal_w9b6i","wrapper":"bottom-sheet__wrapper_w9b6i","fullscreen":"bottom-sheet__fullscreen_w9b6i","component":"bottom-sheet__component_w9b6i","withTransition":"bottom-sheet__withTransition_w9b6i","scrollableContainer":"bottom-sheet__scrollableContainer_w9b6i","marker":"bottom-sheet__marker_w9b6i","content":"bottom-sheet__content_w9b6i","noHeader":"bottom-sheet__noHeader_w9b6i","noFooter":"bottom-sheet__noFooter_w9b6i","scrollLocked":"bottom-sheet__scrollLocked_w9b6i","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_w9b6i","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_w9b6i","appear":"bottom-sheet__appear_w9b6i","enter":"bottom-sheet__enter_w9b6i","appearActive":"bottom-sheet__appearActive_w9b6i","enterActive":"bottom-sheet__enterActive_w9b6i","enterDone":"bottom-sheet__enterDone_w9b6i","appearDone":"bottom-sheet__appearDone_w9b6i","exit":"bottom-sheet__exit_w9b6i","exitActive":"bottom-sheet__exitActive_w9b6i","background-accent":"bottom-sheet__background-accent_w9b6i","background-info":"bottom-sheet__background-info_w9b6i","background-attention-muted":"bottom-sheet__background-attention-muted_w9b6i","background-positive-muted":"bottom-sheet__background-positive-muted_w9b6i","background-negative-muted":"bottom-sheet__background-negative-muted_w9b6i","background-primary":"bottom-sheet__background-primary_w9b6i","background-primary-inverted":"bottom-sheet__background-primary-inverted_w9b6i","background-secondary":"bottom-sheet__background-secondary_w9b6i","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_w9b6i","background-tertiary":"bottom-sheet__background-tertiary_w9b6i","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_w9b6i","background-quaternary":"bottom-sheet__background-quaternary_w9b6i","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_w9b6i","background-specialbg-component":"bottom-sheet__background-specialbg-component_w9b6i","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_w9b6i","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_w9b6i","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_w9b6i","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_w9b6i","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_w9b6i","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_w9b6i","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_w9b6i","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_w9b6i"};
15
+ const styles = {"modal":"bottom-sheet__modal_6oydx","wrapper":"bottom-sheet__wrapper_6oydx","fullscreen":"bottom-sheet__fullscreen_6oydx","component":"bottom-sheet__component_6oydx","withTransition":"bottom-sheet__withTransition_6oydx","scrollableContainer":"bottom-sheet__scrollableContainer_6oydx","marker":"bottom-sheet__marker_6oydx","defaultMarker":"bottom-sheet__defaultMarker_6oydx","content":"bottom-sheet__content_6oydx","noHeader":"bottom-sheet__noHeader_6oydx","noFooter":"bottom-sheet__noFooter_6oydx","scrollLocked":"bottom-sheet__scrollLocked_6oydx","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_6oydx","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_6oydx","appear":"bottom-sheet__appear_6oydx","enter":"bottom-sheet__enter_6oydx","appearActive":"bottom-sheet__appearActive_6oydx","enterActive":"bottom-sheet__enterActive_6oydx","enterDone":"bottom-sheet__enterDone_6oydx","appearDone":"bottom-sheet__appearDone_6oydx","exit":"bottom-sheet__exit_6oydx","exitActive":"bottom-sheet__exitActive_6oydx","background-accent":"bottom-sheet__background-accent_6oydx","background-info":"bottom-sheet__background-info_6oydx","background-attention-muted":"bottom-sheet__background-attention-muted_6oydx","background-positive-muted":"bottom-sheet__background-positive-muted_6oydx","background-negative-muted":"bottom-sheet__background-negative-muted_6oydx","background-primary":"bottom-sheet__background-primary_6oydx","background-primary-inverted":"bottom-sheet__background-primary-inverted_6oydx","background-secondary":"bottom-sheet__background-secondary_6oydx","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_6oydx","background-tertiary":"bottom-sheet__background-tertiary_6oydx","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_6oydx","background-quaternary":"bottom-sheet__background-quaternary_6oydx","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_6oydx","background-specialbg-component":"bottom-sheet__background-specialbg-component_6oydx","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_6oydx","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_6oydx","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_6oydx","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_6oydx","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_6oydx","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_6oydx","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_6oydx","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_6oydx"};
16
16
  require('./index.css')
17
17
 
18
- const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundColor, titleSize = 'default', subtitle, actionButton, contentClassName, containerClassName, containerProps, headerClassName, footerClassName, addonClassName, closerClassName, backerClassName, modalClassName, modalWrapperClassName, className, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign = 'left', trimTitle, stickyHeader, stickyFooter = true, initialHeight = 'default', hideOverlay, hideScrollbar, hideHeader, disableOverlayClick, disableBlockingScroll, disableFocusLock, children, zIndex, transitionProps = {}, magneticAreas: magneticAreasProp, initialActiveAreaIndex, dataTestId, swipeable = true, swipeableContent = true, swipeThreshold = 5, scrollLocked: scrollLockedProp, backdropProps, scrollableContainerRef = () => null, bottomSheetInstanceRef, sheetContainerRef = () => null, headerOffset = 24, onClose, onBack, onMagnetize, disableRestoreFocus, disableAutoFocus, disableEscapeKeyDown, keepMounted, onMagnetizeEnd, onOffsetChange, }, ref) => {
18
+ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundColor, titleSize = 'default', subtitle, actionButton, contentClassName, containerClassName, containerProps, headerClassName, footerClassName, addonClassName, closerClassName, backerClassName, modalClassName, modalWrapperClassName, className, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign = 'left', trimTitle, stickyHeader, stickyFooter = true, initialHeight = 'default', hideOverlay, hideScrollbar, hideHeader, disableOverlayClick, disableBlockingScroll, disableFocusLock, children, zIndex, transitionProps = {}, magneticAreas: magneticAreasProp, initialActiveAreaIndex, dataTestId, swipeable = true, swipeableContent = true, swipeThreshold = 5, scrollLocked: scrollLockedProp, backdropProps, scrollableContainerRef = () => null, bottomSheetInstanceRef, sheetContainerRef = () => null, headerOffset = 24, onClose, onBack, onMagnetize, disableRestoreFocus, disableAutoFocus, disableEscapeKeyDown, keepMounted, onMagnetizeEnd, onOffsetChange, swipeableMarker, swipeableMarkerClassName, }, ref) => {
19
19
  const hasInitialIdx = initialActiveAreaIndex !== undefined;
20
20
  const fullHeight = use100vh() || 0;
21
21
  // Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
@@ -295,6 +295,15 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
295
295
  height: !isFirstRender && initialHeight === 'full' ? `${lastMagneticArea}px` : 'unset',
296
296
  maxHeight: isFirstRender ? 0 : `${lastMagneticArea}px`,
297
297
  });
298
+ const renderMarker = () => {
299
+ if (swipeable) {
300
+ if (swipeableMarker) {
301
+ return (React.createElement("div", { className: cn(styles.marker, swipeableMarkerClassName) }, swipeableMarker));
302
+ }
303
+ return (React.createElement("div", { className: cn(styles.marker, styles.defaultMarker, swipeableMarkerClassName) }));
304
+ }
305
+ return null;
306
+ };
298
307
  const bgClassName = backgroundColor && styles[`background-${backgroundColor}`];
299
308
  return (React.createElement(BaseModal, { open: open, ref: ref, container: container, dataTestId: dataTestId, zIndex: zIndex, onClose: onClose, usePortal: usePortal, scrollHandler: scrollableContainer, Backdrop: SwipeableBackdrop, backdropProps: {
300
309
  ...backdropProps,
@@ -323,11 +332,11 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
323
332
  ...getSwipeStyles(),
324
333
  ...getHeightStyles(),
325
334
  }, ...sheetSwipeableHandlers, ref: mergeRefs([sheetRef, sheetContainerRef, sheetSwipeableHandlers.ref]), onTransitionEnd: handleTransitionEnd },
335
+ renderMarker(),
326
336
  React.createElement("div", { ...containerProps, className: cn(styles.scrollableContainer, containerProps?.className, containerClassName, {
327
337
  [styles.scrollLocked]: scrollLockedProp || swipingInProgress,
328
338
  [styles.hiddenScrollbar]: hideScrollbar,
329
339
  }), ref: mergeRefs([scrollableContainer, scrollableContainerRef]) },
330
- swipeable && React.createElement("div", { className: cn(styles.marker) }),
331
340
  !hideHeader && !emptyHeader && React.createElement(Header, { ...headerProps }),
332
341
  React.createElement("div", { ref: contentRef, className: cn(styles.content, contentClassName, {
333
342
  [styles.noHeader]: hideHeader || emptyHeader,
@@ -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-sheet__footer_1ra6p","sticky":"bottom-sheet__sticky_1ra6p","highlighted":"bottom-sheet__highlighted_1ra6p","background-accent":"bottom-sheet__background-accent_1ra6p","background-info":"bottom-sheet__background-info_1ra6p","background-attention-muted":"bottom-sheet__background-attention-muted_1ra6p","background-positive-muted":"bottom-sheet__background-positive-muted_1ra6p","background-negative-muted":"bottom-sheet__background-negative-muted_1ra6p","background-primary":"bottom-sheet__background-primary_1ra6p","background-primary-inverted":"bottom-sheet__background-primary-inverted_1ra6p","background-secondary":"bottom-sheet__background-secondary_1ra6p","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_1ra6p","background-tertiary":"bottom-sheet__background-tertiary_1ra6p","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_1ra6p","background-quaternary":"bottom-sheet__background-quaternary_1ra6p","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_1ra6p","background-specialbg-component":"bottom-sheet__background-specialbg-component_1ra6p","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_1ra6p","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_1ra6p","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_1ra6p","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_1ra6p","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_1ra6p","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_1ra6p","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_1ra6p","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_1ra6p"};
5
+ const styles = {"footer":"bottom-sheet__footer_walol","sticky":"bottom-sheet__sticky_walol","highlighted":"bottom-sheet__highlighted_walol","background-accent":"bottom-sheet__background-accent_walol","background-info":"bottom-sheet__background-info_walol","background-attention-muted":"bottom-sheet__background-attention-muted_walol","background-positive-muted":"bottom-sheet__background-positive-muted_walol","background-negative-muted":"bottom-sheet__background-negative-muted_walol","background-primary":"bottom-sheet__background-primary_walol","background-primary-inverted":"bottom-sheet__background-primary-inverted_walol","background-secondary":"bottom-sheet__background-secondary_walol","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_walol","background-tertiary":"bottom-sheet__background-tertiary_walol","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_walol","background-quaternary":"bottom-sheet__background-quaternary_walol","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_walol","background-specialbg-component":"bottom-sheet__background-specialbg-component_walol","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_walol","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_walol","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_walol","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_walol","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_walol","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_walol","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_walol","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_walol"};
6
6
  require('./index.css')
7
7
 
8
8
  const Footer = ({ children, className, sticky }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 5ef5b */
1
+ /* hash: 1n2cw */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-accent: #ef3124;
@@ -41,58 +41,58 @@
41
41
  } :root {
42
42
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
43
43
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
44
- } .bottom-sheet__footer_1ra6p {
44
+ } .bottom-sheet__footer_walol {
45
45
  padding: var(--gap-m) var(--gap-m);
46
46
  background-color: var(--color-light-bg-primary);
47
- } .bottom-sheet__sticky_1ra6p {
47
+ } .bottom-sheet__sticky_walol {
48
48
  position: sticky;
49
49
  bottom: 0;
50
50
  z-index: 1;
51
- } .bottom-sheet__highlighted_1ra6p {
51
+ } .bottom-sheet__highlighted_walol {
52
52
  border-top: var(--bottom-sheet-footer-border-top);
53
53
  background-color: var(--bottom-sheet-footer-background-color);
54
- } .bottom-sheet__background-accent_1ra6p {
54
+ } .bottom-sheet__background-accent_walol {
55
55
  background-color: var(--color-light-bg-accent);
56
- } .bottom-sheet__background-info_1ra6p {
56
+ } .bottom-sheet__background-info_walol {
57
57
  background-color: var(--color-light-bg-info);
58
- } .bottom-sheet__background-attention-muted_1ra6p {
58
+ } .bottom-sheet__background-attention-muted_walol {
59
59
  background-color: var(--color-light-bg-attention-muted);
60
- } .bottom-sheet__background-positive-muted_1ra6p {
60
+ } .bottom-sheet__background-positive-muted_walol {
61
61
  background-color: var(--color-light-bg-positive-muted);
62
- } .bottom-sheet__background-negative-muted_1ra6p {
62
+ } .bottom-sheet__background-negative-muted_walol {
63
63
  background-color: var(--color-light-bg-negative-muted);
64
- } .bottom-sheet__background-primary_1ra6p {
64
+ } .bottom-sheet__background-primary_walol {
65
65
  background-color: var(--color-light-bg-primary);
66
- } .bottom-sheet__background-primary-inverted_1ra6p {
66
+ } .bottom-sheet__background-primary-inverted_walol {
67
67
  background-color: var(--color-light-bg-primary-inverted);
68
- } .bottom-sheet__background-secondary_1ra6p {
68
+ } .bottom-sheet__background-secondary_walol {
69
69
  background-color: var(--color-light-bg-secondary);
70
- } .bottom-sheet__background-secondary-inverted_1ra6p {
70
+ } .bottom-sheet__background-secondary-inverted_walol {
71
71
  background-color: var(--color-light-bg-secondary-inverted);
72
- } .bottom-sheet__background-tertiary_1ra6p {
72
+ } .bottom-sheet__background-tertiary_walol {
73
73
  background-color: var(--color-light-bg-tertiary);
74
- } .bottom-sheet__background-tertiary-inverted_1ra6p {
74
+ } .bottom-sheet__background-tertiary-inverted_walol {
75
75
  background-color: var(--color-light-bg-tertiary-inverted);
76
- } .bottom-sheet__background-quaternary_1ra6p {
76
+ } .bottom-sheet__background-quaternary_walol {
77
77
  background-color: var(--color-light-bg-quaternary);
78
- } .bottom-sheet__background-quaternary-inverted_1ra6p {
78
+ } .bottom-sheet__background-quaternary-inverted_walol {
79
79
  background-color: var(--color-light-bg-quaternary-inverted);
80
- } .bottom-sheet__background-specialbg-component_1ra6p {
80
+ } .bottom-sheet__background-specialbg-component_walol {
81
81
  background-color: var(--color-light-specialbg-component);
82
- } .bottom-sheet__background-specialbg-component-inverted_1ra6p {
82
+ } .bottom-sheet__background-specialbg-component-inverted_walol {
83
83
  background-color: var(--color-light-specialbg-component-inverted);
84
- } .bottom-sheet__background-specialbg-primary-grouped_1ra6p {
84
+ } .bottom-sheet__background-specialbg-primary-grouped_walol {
85
85
  background-color: var(--color-light-specialbg-primary-grouped);
86
- } .bottom-sheet__background-specialbg-secondary-grouped_1ra6p {
86
+ } .bottom-sheet__background-specialbg-secondary-grouped_walol {
87
87
  background-color: var(--color-light-specialbg-secondary-grouped);
88
- } .bottom-sheet__background-specialbg-tertiary-grouped_1ra6p {
88
+ } .bottom-sheet__background-specialbg-tertiary-grouped_walol {
89
89
  background-color: var(--color-light-specialbg-tertiary-grouped);
90
- } .bottom-sheet__background-specialbg-secondary-transparent_1ra6p {
90
+ } .bottom-sheet__background-specialbg-secondary-transparent_walol {
91
91
  background-color: var(--color-light-specialbg-secondary-transparent);
92
- } .bottom-sheet__background-specialbg-secondary-transparent-inverted_1ra6p {
92
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_walol {
93
93
  background-color: var(--color-light-specialbg-secondary-transparent-inverted);
94
- } .bottom-sheet__background-specialbg-tertiary-transparent_1ra6p {
94
+ } .bottom-sheet__background-specialbg-tertiary-transparent_walol {
95
95
  background-color: var(--color-light-specialbg-tertiary-transparent);
96
- } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1ra6p {
96
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_walol {
97
97
  background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
98
98
  }
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { BaseModalContext } from '@alfalab/core-components-base-modal/modern';
4
4
  import { NavigationBar } from '@alfalab/core-components-navigation-bar/modern';
5
5
 
6
- const styles = {"headerWrapper":"bottom-sheet__headerWrapper_1x9qh","hasContent":"bottom-sheet__hasContent_1x9qh","header":"bottom-sheet__header_1x9qh","sticky":"bottom-sheet__sticky_1x9qh","highlighted":"bottom-sheet__highlighted_1x9qh","justifyEnd":"bottom-sheet__justifyEnd_1x9qh","addon":"bottom-sheet__addon_1x9qh","addonFixed":"bottom-sheet__addonFixed_1x9qh","title":"bottom-sheet__title_1x9qh","titleCenter":"bottom-sheet__titleCenter_1x9qh","titleLeft":"bottom-sheet__titleLeft_1x9qh","trimTitle":"bottom-sheet__trimTitle_1x9qh"};
6
+ const styles = {"headerWrapper":"bottom-sheet__headerWrapper_1g7lc","hasContent":"bottom-sheet__hasContent_1g7lc","header":"bottom-sheet__header_1g7lc","sticky":"bottom-sheet__sticky_1g7lc","highlighted":"bottom-sheet__highlighted_1g7lc","justifyEnd":"bottom-sheet__justifyEnd_1g7lc","addon":"bottom-sheet__addon_1g7lc","addonFixed":"bottom-sheet__addonFixed_1g7lc","title":"bottom-sheet__title_1g7lc","titleCenter":"bottom-sheet__titleCenter_1g7lc","titleLeft":"bottom-sheet__titleLeft_1g7lc","trimTitle":"bottom-sheet__trimTitle_1g7lc"};
7
7
  require('./index.css')
8
8
 
9
9
  const Header = ({ className, sticky, headerRef, headerOffset, title, children, ...restProps }) => {