@alfalab/core-components-bottom-sheet 6.16.2 → 6.16.3

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 CHANGED
@@ -23,7 +23,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
23
23
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
24
24
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
25
25
 
26
- var styles = {"modal":"bottom-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"};
26
+ var styles = {"modal":"bottom-sheet__modal_3cuam","wrapper":"bottom-sheet__wrapper_3cuam","fullscreen":"bottom-sheet__fullscreen_3cuam","component":"bottom-sheet__component_3cuam","withTransition":"bottom-sheet__withTransition_3cuam","scrollableContainer":"bottom-sheet__scrollableContainer_3cuam","marker":"bottom-sheet__marker_3cuam","defaultMarker":"bottom-sheet__defaultMarker_3cuam","content":"bottom-sheet__content_3cuam","noHeader":"bottom-sheet__noHeader_3cuam","noFooter":"bottom-sheet__noFooter_3cuam","scrollLocked":"bottom-sheet__scrollLocked_3cuam","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_3cuam","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_3cuam","appear":"bottom-sheet__appear_3cuam","enter":"bottom-sheet__enter_3cuam","appearActive":"bottom-sheet__appearActive_3cuam","enterActive":"bottom-sheet__enterActive_3cuam","enterDone":"bottom-sheet__enterDone_3cuam","appearDone":"bottom-sheet__appearDone_3cuam","exit":"bottom-sheet__exit_3cuam","exitActive":"bottom-sheet__exitActive_3cuam","safeAreaBottom":"bottom-sheet__safeAreaBottom_3cuam","background-accent":"bottom-sheet__background-accent_3cuam","background-info":"bottom-sheet__background-info_3cuam","background-attention-muted":"bottom-sheet__background-attention-muted_3cuam","background-positive-muted":"bottom-sheet__background-positive-muted_3cuam","background-negative-muted":"bottom-sheet__background-negative-muted_3cuam","background-primary":"bottom-sheet__background-primary_3cuam","background-primary-inverted":"bottom-sheet__background-primary-inverted_3cuam","background-secondary":"bottom-sheet__background-secondary_3cuam","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_3cuam","background-tertiary":"bottom-sheet__background-tertiary_3cuam","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_3cuam","background-quaternary":"bottom-sheet__background-quaternary_3cuam","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_3cuam","background-specialbg-component":"bottom-sheet__background-specialbg-component_3cuam","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_3cuam","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_3cuam","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_3cuam","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_3cuam","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_3cuam","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_3cuam","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_3cuam","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_3cuam"};
27
27
  require('./index.css')
28
28
 
29
29
  var isNil = coreComponentsShared.fnUtils.isNil;
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles = {"footer":"bottom-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"};
14
+ var styles = {"footer":"bottom-sheet__footer_ffvh5","sticky":"bottom-sheet__sticky_ffvh5","highlighted":"bottom-sheet__highlighted_ffvh5","background-accent":"bottom-sheet__background-accent_ffvh5","background-info":"bottom-sheet__background-info_ffvh5","background-attention-muted":"bottom-sheet__background-attention-muted_ffvh5","background-positive-muted":"bottom-sheet__background-positive-muted_ffvh5","background-negative-muted":"bottom-sheet__background-negative-muted_ffvh5","background-primary":"bottom-sheet__background-primary_ffvh5","background-primary-inverted":"bottom-sheet__background-primary-inverted_ffvh5","background-secondary":"bottom-sheet__background-secondary_ffvh5","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_ffvh5","background-tertiary":"bottom-sheet__background-tertiary_ffvh5","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_ffvh5","background-quaternary":"bottom-sheet__background-quaternary_ffvh5","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_ffvh5","background-specialbg-component":"bottom-sheet__background-specialbg-component_ffvh5","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_ffvh5","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_ffvh5","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_ffvh5","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_ffvh5","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_ffvh5","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_ffvh5","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_ffvh5","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_ffvh5"};
15
15
  require('./index.css')
16
16
 
17
17
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: fv9kv */
1
+ /* hash: 18vez */
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;
@@ -41,6 +41,7 @@
41
41
  --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 */
42
42
 
43
43
  /* новые значения, используйте их */
44
+ --gap-16: var(--gap-m);
44
45
  } :root {
45
46
  } :root {
46
47
  } :root {
@@ -50,58 +51,58 @@
50
51
  /* footer */
51
52
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
52
53
  --bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
53
- } .bottom-sheet__footer_1g0bh {
54
- padding: var(--gap-m) var(--gap-m);
54
+ } .bottom-sheet__footer_ffvh5 {
55
+ padding: var(--gap-16) var(--gap-16);
55
56
  background-color: var(--color-light-modal-bg-primary);
56
- } .bottom-sheet__sticky_1g0bh {
57
+ } .bottom-sheet__sticky_ffvh5 {
57
58
  position: sticky;
58
59
  bottom: 0;
59
60
  z-index: 1;
60
- } .bottom-sheet__highlighted_1g0bh {
61
+ } .bottom-sheet__highlighted_ffvh5 {
61
62
  border-top: var(--bottom-sheet-footer-border-top);
62
63
  background-color: var(--bottom-sheet-footer-background-color);
63
- } .bottom-sheet__background-accent_1g0bh {
64
+ } .bottom-sheet__background-accent_ffvh5 {
64
65
  background-color: var(--color-light-bg-accent);
65
- } .bottom-sheet__background-info_1g0bh {
66
+ } .bottom-sheet__background-info_ffvh5 {
66
67
  background-color: var(--color-light-bg-info);
67
- } .bottom-sheet__background-attention-muted_1g0bh {
68
+ } .bottom-sheet__background-attention-muted_ffvh5 {
68
69
  background-color: var(--color-light-bg-attention-muted);
69
- } .bottom-sheet__background-positive-muted_1g0bh {
70
+ } .bottom-sheet__background-positive-muted_ffvh5 {
70
71
  background-color: var(--color-light-bg-positive-muted);
71
- } .bottom-sheet__background-negative-muted_1g0bh {
72
+ } .bottom-sheet__background-negative-muted_ffvh5 {
72
73
  background-color: var(--color-light-bg-negative-muted);
73
- } .bottom-sheet__background-primary_1g0bh {
74
+ } .bottom-sheet__background-primary_ffvh5 {
74
75
  background-color: var(--color-light-bg-primary);
75
- } .bottom-sheet__background-primary-inverted_1g0bh {
76
+ } .bottom-sheet__background-primary-inverted_ffvh5 {
76
77
  background-color: var(--color-light-bg-primary-inverted);
77
- } .bottom-sheet__background-secondary_1g0bh {
78
+ } .bottom-sheet__background-secondary_ffvh5 {
78
79
  background-color: var(--color-light-bg-secondary);
79
- } .bottom-sheet__background-secondary-inverted_1g0bh {
80
+ } .bottom-sheet__background-secondary-inverted_ffvh5 {
80
81
  background-color: var(--color-light-bg-secondary-inverted);
81
- } .bottom-sheet__background-tertiary_1g0bh {
82
+ } .bottom-sheet__background-tertiary_ffvh5 {
82
83
  background-color: var(--color-light-bg-tertiary);
83
- } .bottom-sheet__background-tertiary-inverted_1g0bh {
84
+ } .bottom-sheet__background-tertiary-inverted_ffvh5 {
84
85
  background-color: var(--color-light-bg-tertiary-inverted);
85
- } .bottom-sheet__background-quaternary_1g0bh {
86
+ } .bottom-sheet__background-quaternary_ffvh5 {
86
87
  background-color: var(--color-light-bg-quaternary);
87
- } .bottom-sheet__background-quaternary-inverted_1g0bh {
88
+ } .bottom-sheet__background-quaternary-inverted_ffvh5 {
88
89
  background-color: var(--color-light-bg-quaternary-inverted);
89
- } .bottom-sheet__background-specialbg-component_1g0bh {
90
+ } .bottom-sheet__background-specialbg-component_ffvh5 {
90
91
  background-color: var(--color-light-specialbg-component);
91
- } .bottom-sheet__background-specialbg-component-inverted_1g0bh {
92
+ } .bottom-sheet__background-specialbg-component-inverted_ffvh5 {
92
93
  background-color: var(--color-light-specialbg-component-inverted);
93
- } .bottom-sheet__background-specialbg-primary-grouped_1g0bh {
94
+ } .bottom-sheet__background-specialbg-primary-grouped_ffvh5 {
94
95
  background-color: var(--color-light-specialbg-primary-grouped);
95
- } .bottom-sheet__background-specialbg-secondary-grouped_1g0bh {
96
+ } .bottom-sheet__background-specialbg-secondary-grouped_ffvh5 {
96
97
  background-color: var(--color-light-specialbg-secondary-grouped);
97
- } .bottom-sheet__background-specialbg-tertiary-grouped_1g0bh {
98
+ } .bottom-sheet__background-specialbg-tertiary-grouped_ffvh5 {
98
99
  background-color: var(--color-light-specialbg-tertiary-grouped);
99
- } .bottom-sheet__background-specialbg-secondary-transparent_1g0bh {
100
+ } .bottom-sheet__background-specialbg-secondary-transparent_ffvh5 {
100
101
  background-color: var(--color-light-specialbg-secondary-transparent);
101
- } .bottom-sheet__background-specialbg-secondary-transparent-inverted_1g0bh {
102
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_ffvh5 {
102
103
  background-color: var(--color-light-specialbg-secondary-transparent-inverted);
103
- } .bottom-sheet__background-specialbg-tertiary-transparent_1g0bh {
104
+ } .bottom-sheet__background-specialbg-tertiary-transparent_ffvh5 {
104
105
  background-color: var(--color-light-specialbg-tertiary-transparent);
105
- } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1g0bh {
106
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_ffvh5 {
106
107
  background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
107
108
  }
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"headerWrapper":"bottom-sheet__headerWrapper_iayhz","hasContent":"bottom-sheet__hasContent_iayhz","header":"bottom-sheet__header_iayhz","sticky":"bottom-sheet__sticky_iayhz","highlighted":"bottom-sheet__highlighted_iayhz","justifyEnd":"bottom-sheet__justifyEnd_iayhz","addon":"bottom-sheet__addon_iayhz","addonFixed":"bottom-sheet__addonFixed_iayhz","title":"bottom-sheet__title_iayhz","titleCenter":"bottom-sheet__titleCenter_iayhz","titleLeft":"bottom-sheet__titleLeft_iayhz","trimTitle":"bottom-sheet__trimTitle_iayhz"};
16
+ var styles = {"headerWrapper":"bottom-sheet__headerWrapper_c0279","hasContent":"bottom-sheet__hasContent_c0279","header":"bottom-sheet__header_c0279","sticky":"bottom-sheet__sticky_c0279","highlighted":"bottom-sheet__highlighted_c0279","justifyEnd":"bottom-sheet__justifyEnd_c0279","addon":"bottom-sheet__addon_c0279","addonFixed":"bottom-sheet__addonFixed_c0279","title":"bottom-sheet__title_c0279","titleCenter":"bottom-sheet__titleCenter_c0279","titleLeft":"bottom-sheet__titleLeft_c0279","trimTitle":"bottom-sheet__trimTitle_c0279"};
17
17
  require('./index.css')
18
18
 
19
19
  var Header = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: grxyn */
1
+ /* hash: h2imv */
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 */
@@ -20,6 +20,9 @@
20
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
21
 
22
22
  /* новые значения, используйте их */
23
+ --gap-4: var(--gap-2xs);
24
+ --gap-8: var(--gap-xs);
25
+ --gap-12: var(--gap-s);
23
26
  } :root {
24
27
  --font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
25
28
  sans-serif;
@@ -28,48 +31,48 @@
28
31
 
29
32
  /* header */
30
33
  --bottom-sheet-header-border-bottom: 1px solid var(--color-light-neutral-300);
31
- --bottom-sheet-title-font-size: 18px;
32
- --bottom-sheet-title-font-weight: 700;
33
- --bottom-sheet-title-line-height: 24px;
34
+ --bottom-sheet-title-font-size: 20px;
35
+ --bottom-sheet-title-font-weight: 600;
36
+ --bottom-sheet-title-line-height: 28px;
34
37
  --bottom-sheet-title-font-family: var(--font-family-system);
35
38
 
36
39
  /* footer */
37
- } .bottom-sheet__headerWrapper_iayhz {
38
- padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
40
+ } .bottom-sheet__headerWrapper_c0279 {
41
+ padding: var(--gap-12) var(--gap-8) var(--gap-4);
39
42
  border-top-left-radius: inherit;
40
43
  border-top-right-radius: inherit;
41
44
  z-index: 1;
42
- } .bottom-sheet__hasContent_iayhz {
45
+ } .bottom-sheet__hasContent_c0279 {
43
46
  background-color: inherit;
44
- } .bottom-sheet__header_iayhz {
47
+ } .bottom-sheet__header_c0279 {
45
48
  display: flex;
46
- } .bottom-sheet__sticky_iayhz {
49
+ } .bottom-sheet__sticky_c0279 {
47
50
  position: sticky;
48
51
  top: 0;
49
- } .bottom-sheet__highlighted_iayhz {
52
+ } .bottom-sheet__highlighted_c0279 {
50
53
  border-bottom: var(--bottom-sheet-header-border-bottom);
51
- } .bottom-sheet__justifyEnd_iayhz {
54
+ } .bottom-sheet__justifyEnd_c0279 {
52
55
  justify-content: flex-end;
53
- } .bottom-sheet__addon_iayhz {
56
+ } .bottom-sheet__addon_c0279 {
54
57
  display: flex;
55
58
  justify-content: center;
56
59
  align-items: center;
57
60
  min-width: 48px;
58
61
  height: 48px;
59
- } .bottom-sheet__addonFixed_iayhz {
62
+ } .bottom-sheet__addonFixed_c0279 {
60
63
  position: fixed;
61
- } .bottom-sheet__title_iayhz {
62
- padding: var(--gap-s) var(--gap-xs);
64
+ } .bottom-sheet__title_c0279 {
65
+ padding: 10px var(--gap-8);
63
66
  width: 100%;
64
67
  font-size: var(--bottom-sheet-title-font-size);
65
68
  font-weight: var(--bottom-sheet-title-font-weight);
66
69
  line-height: var(--bottom-sheet-title-line-height);
67
70
  font-family: var(--bottom-sheet-title-font-family);
68
- } .bottom-sheet__titleCenter_iayhz {
71
+ } .bottom-sheet__titleCenter_c0279 {
69
72
  text-align: center;
70
- } .bottom-sheet__titleLeft_iayhz {
73
+ } .bottom-sheet__titleLeft_c0279 {
71
74
  text-align: left;
72
- } .bottom-sheet__trimTitle_iayhz {
75
+ } .bottom-sheet__trimTitle_c0279 {
73
76
  white-space: nowrap;
74
77
  overflow: hidden;
75
78
  text-overflow: ellipsis;
@@ -40,6 +40,7 @@
40
40
  --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 */
41
41
 
42
42
  /* новые значения, используйте их */
43
+ --gap-16: var(--gap-m);
43
44
  } :root {
44
45
  } :root {
45
46
  } :root {
@@ -50,7 +51,7 @@
50
51
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
51
52
  --bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
52
53
  } .footer {
53
- padding: var(--gap-m) var(--gap-m);
54
+ padding: var(--gap-16) var(--gap-16);
54
55
  background-color: var(--color-light-modal-bg-primary);
55
56
  } .sticky {
56
57
  position: sticky;
@@ -19,6 +19,9 @@
19
19
  --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 */
20
20
 
21
21
  /* новые значения, используйте их */
22
+ --gap-4: var(--gap-2xs);
23
+ --gap-8: var(--gap-xs);
24
+ --gap-12: var(--gap-s);
22
25
  } :root {
23
26
  --font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
24
27
  sans-serif;
@@ -27,14 +30,14 @@
27
30
 
28
31
  /* header */
29
32
  --bottom-sheet-header-border-bottom: 1px solid var(--color-light-neutral-300);
30
- --bottom-sheet-title-font-size: 18px;
31
- --bottom-sheet-title-font-weight: 700;
32
- --bottom-sheet-title-line-height: 24px;
33
+ --bottom-sheet-title-font-size: 20px;
34
+ --bottom-sheet-title-font-weight: 600;
35
+ --bottom-sheet-title-line-height: 28px;
33
36
  --bottom-sheet-title-font-family: var(--font-family-system);
34
37
 
35
38
  /* footer */
36
39
  } .headerWrapper {
37
- padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
40
+ padding: var(--gap-12) var(--gap-8) var(--gap-4);
38
41
  border-top-left-radius: inherit;
39
42
  border-top-right-radius: inherit;
40
43
  z-index: 1;
@@ -58,7 +61,7 @@
58
61
  } .addonFixed {
59
62
  position: fixed;
60
63
  } .title {
61
- padding: var(--gap-s) var(--gap-xs);
64
+ padding: 10px var(--gap-8);
62
65
  width: 100%;
63
66
  font-size: var(--bottom-sheet-title-font-size);
64
67
  font-weight: var(--bottom-sheet-title-font-weight);
@@ -44,6 +44,8 @@
44
44
  --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 */
45
45
 
46
46
  /* новые значения, используйте их */
47
+ --gap-4: var(--gap-2xs);
48
+ --gap-16: var(--gap-m);
47
49
  } :root {
48
50
  } :root {
49
51
  } :root {
@@ -94,7 +96,7 @@
94
96
  overscroll-behavior: contain;
95
97
  } .marker {
96
98
  position: fixed;
97
- top: var(--gap-2xs);
99
+ top: var(--gap-4);
98
100
  right: 0;
99
101
  left: 0;
100
102
  z-index: 1000;
@@ -110,14 +112,14 @@
110
112
  display: flex;
111
113
  flex-direction: column;
112
114
  flex: 1;
113
- padding: 0 var(--gap-m);
115
+ padding: 0 var(--gap-16);
114
116
  color: var(--color-light-text-primary);
115
117
  background-color: inherit;
116
118
  border-radius: inherit;
117
119
  } .noHeader {
118
- padding-top: var(--gap-m);
120
+ padding-top: var(--gap-16);
119
121
  } .noFooter {
120
- padding-bottom: var(--gap-m);
122
+ padding-bottom: var(--gap-16);
121
123
  } .scrollLocked {
122
124
  overflow: hidden;
123
125
  } .hiddenScrollbar {
package/esm/component.js CHANGED
@@ -13,7 +13,7 @@ import { horizontalDirections } from './consts/swipeConsts.js';
13
13
  import { useVisibleViewportSize } from './hooks/use-visualviewport-size.js';
14
14
  import { convertPercentToNumber, TIMEOUT, MARKER_HEIGHT, SCROLL_OFFSET, SWIPE_VELOCITY, CLOSE_OFFSET } from './utils.js';
15
15
 
16
- var 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
+ var styles = {"modal":"bottom-sheet__modal_3cuam","wrapper":"bottom-sheet__wrapper_3cuam","fullscreen":"bottom-sheet__fullscreen_3cuam","component":"bottom-sheet__component_3cuam","withTransition":"bottom-sheet__withTransition_3cuam","scrollableContainer":"bottom-sheet__scrollableContainer_3cuam","marker":"bottom-sheet__marker_3cuam","defaultMarker":"bottom-sheet__defaultMarker_3cuam","content":"bottom-sheet__content_3cuam","noHeader":"bottom-sheet__noHeader_3cuam","noFooter":"bottom-sheet__noFooter_3cuam","scrollLocked":"bottom-sheet__scrollLocked_3cuam","hiddenScrollbar":"bottom-sheet__hiddenScrollbar_3cuam","disabledPointerEvents":"bottom-sheet__disabledPointerEvents_3cuam","appear":"bottom-sheet__appear_3cuam","enter":"bottom-sheet__enter_3cuam","appearActive":"bottom-sheet__appearActive_3cuam","enterActive":"bottom-sheet__enterActive_3cuam","enterDone":"bottom-sheet__enterDone_3cuam","appearDone":"bottom-sheet__appearDone_3cuam","exit":"bottom-sheet__exit_3cuam","exitActive":"bottom-sheet__exitActive_3cuam","safeAreaBottom":"bottom-sheet__safeAreaBottom_3cuam","background-accent":"bottom-sheet__background-accent_3cuam","background-info":"bottom-sheet__background-info_3cuam","background-attention-muted":"bottom-sheet__background-attention-muted_3cuam","background-positive-muted":"bottom-sheet__background-positive-muted_3cuam","background-negative-muted":"bottom-sheet__background-negative-muted_3cuam","background-primary":"bottom-sheet__background-primary_3cuam","background-primary-inverted":"bottom-sheet__background-primary-inverted_3cuam","background-secondary":"bottom-sheet__background-secondary_3cuam","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_3cuam","background-tertiary":"bottom-sheet__background-tertiary_3cuam","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_3cuam","background-quaternary":"bottom-sheet__background-quaternary_3cuam","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_3cuam","background-specialbg-component":"bottom-sheet__background-specialbg-component_3cuam","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_3cuam","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_3cuam","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_3cuam","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_3cuam","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_3cuam","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_3cuam","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_3cuam","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_3cuam"};
17
17
  require('./index.css')
18
18
 
19
19
  var isNil = fnUtils.isNil;
@@ -2,7 +2,7 @@ import React, { useContext, useEffect } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
4
4
 
5
- var styles = {"footer":"bottom-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"};
5
+ var styles = {"footer":"bottom-sheet__footer_ffvh5","sticky":"bottom-sheet__sticky_ffvh5","highlighted":"bottom-sheet__highlighted_ffvh5","background-accent":"bottom-sheet__background-accent_ffvh5","background-info":"bottom-sheet__background-info_ffvh5","background-attention-muted":"bottom-sheet__background-attention-muted_ffvh5","background-positive-muted":"bottom-sheet__background-positive-muted_ffvh5","background-negative-muted":"bottom-sheet__background-negative-muted_ffvh5","background-primary":"bottom-sheet__background-primary_ffvh5","background-primary-inverted":"bottom-sheet__background-primary-inverted_ffvh5","background-secondary":"bottom-sheet__background-secondary_ffvh5","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_ffvh5","background-tertiary":"bottom-sheet__background-tertiary_ffvh5","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_ffvh5","background-quaternary":"bottom-sheet__background-quaternary_ffvh5","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_ffvh5","background-specialbg-component":"bottom-sheet__background-specialbg-component_ffvh5","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_ffvh5","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_ffvh5","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_ffvh5","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_ffvh5","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_ffvh5","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_ffvh5","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_ffvh5","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_ffvh5"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: fv9kv */
1
+ /* hash: 18vez */
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;
@@ -41,6 +41,7 @@
41
41
  --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 */
42
42
 
43
43
  /* новые значения, используйте их */
44
+ --gap-16: var(--gap-m);
44
45
  } :root {
45
46
  } :root {
46
47
  } :root {
@@ -50,58 +51,58 @@
50
51
  /* footer */
51
52
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-neutral-300);
52
53
  --bottom-sheet-footer-background-color: var(--color-light-modal-bg-primary);
53
- } .bottom-sheet__footer_1g0bh {
54
- padding: var(--gap-m) var(--gap-m);
54
+ } .bottom-sheet__footer_ffvh5 {
55
+ padding: var(--gap-16) var(--gap-16);
55
56
  background-color: var(--color-light-modal-bg-primary);
56
- } .bottom-sheet__sticky_1g0bh {
57
+ } .bottom-sheet__sticky_ffvh5 {
57
58
  position: sticky;
58
59
  bottom: 0;
59
60
  z-index: 1;
60
- } .bottom-sheet__highlighted_1g0bh {
61
+ } .bottom-sheet__highlighted_ffvh5 {
61
62
  border-top: var(--bottom-sheet-footer-border-top);
62
63
  background-color: var(--bottom-sheet-footer-background-color);
63
- } .bottom-sheet__background-accent_1g0bh {
64
+ } .bottom-sheet__background-accent_ffvh5 {
64
65
  background-color: var(--color-light-bg-accent);
65
- } .bottom-sheet__background-info_1g0bh {
66
+ } .bottom-sheet__background-info_ffvh5 {
66
67
  background-color: var(--color-light-bg-info);
67
- } .bottom-sheet__background-attention-muted_1g0bh {
68
+ } .bottom-sheet__background-attention-muted_ffvh5 {
68
69
  background-color: var(--color-light-bg-attention-muted);
69
- } .bottom-sheet__background-positive-muted_1g0bh {
70
+ } .bottom-sheet__background-positive-muted_ffvh5 {
70
71
  background-color: var(--color-light-bg-positive-muted);
71
- } .bottom-sheet__background-negative-muted_1g0bh {
72
+ } .bottom-sheet__background-negative-muted_ffvh5 {
72
73
  background-color: var(--color-light-bg-negative-muted);
73
- } .bottom-sheet__background-primary_1g0bh {
74
+ } .bottom-sheet__background-primary_ffvh5 {
74
75
  background-color: var(--color-light-bg-primary);
75
- } .bottom-sheet__background-primary-inverted_1g0bh {
76
+ } .bottom-sheet__background-primary-inverted_ffvh5 {
76
77
  background-color: var(--color-light-bg-primary-inverted);
77
- } .bottom-sheet__background-secondary_1g0bh {
78
+ } .bottom-sheet__background-secondary_ffvh5 {
78
79
  background-color: var(--color-light-bg-secondary);
79
- } .bottom-sheet__background-secondary-inverted_1g0bh {
80
+ } .bottom-sheet__background-secondary-inverted_ffvh5 {
80
81
  background-color: var(--color-light-bg-secondary-inverted);
81
- } .bottom-sheet__background-tertiary_1g0bh {
82
+ } .bottom-sheet__background-tertiary_ffvh5 {
82
83
  background-color: var(--color-light-bg-tertiary);
83
- } .bottom-sheet__background-tertiary-inverted_1g0bh {
84
+ } .bottom-sheet__background-tertiary-inverted_ffvh5 {
84
85
  background-color: var(--color-light-bg-tertiary-inverted);
85
- } .bottom-sheet__background-quaternary_1g0bh {
86
+ } .bottom-sheet__background-quaternary_ffvh5 {
86
87
  background-color: var(--color-light-bg-quaternary);
87
- } .bottom-sheet__background-quaternary-inverted_1g0bh {
88
+ } .bottom-sheet__background-quaternary-inverted_ffvh5 {
88
89
  background-color: var(--color-light-bg-quaternary-inverted);
89
- } .bottom-sheet__background-specialbg-component_1g0bh {
90
+ } .bottom-sheet__background-specialbg-component_ffvh5 {
90
91
  background-color: var(--color-light-specialbg-component);
91
- } .bottom-sheet__background-specialbg-component-inverted_1g0bh {
92
+ } .bottom-sheet__background-specialbg-component-inverted_ffvh5 {
92
93
  background-color: var(--color-light-specialbg-component-inverted);
93
- } .bottom-sheet__background-specialbg-primary-grouped_1g0bh {
94
+ } .bottom-sheet__background-specialbg-primary-grouped_ffvh5 {
94
95
  background-color: var(--color-light-specialbg-primary-grouped);
95
- } .bottom-sheet__background-specialbg-secondary-grouped_1g0bh {
96
+ } .bottom-sheet__background-specialbg-secondary-grouped_ffvh5 {
96
97
  background-color: var(--color-light-specialbg-secondary-grouped);
97
- } .bottom-sheet__background-specialbg-tertiary-grouped_1g0bh {
98
+ } .bottom-sheet__background-specialbg-tertiary-grouped_ffvh5 {
98
99
  background-color: var(--color-light-specialbg-tertiary-grouped);
99
- } .bottom-sheet__background-specialbg-secondary-transparent_1g0bh {
100
+ } .bottom-sheet__background-specialbg-secondary-transparent_ffvh5 {
100
101
  background-color: var(--color-light-specialbg-secondary-transparent);
101
- } .bottom-sheet__background-specialbg-secondary-transparent-inverted_1g0bh {
102
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_ffvh5 {
102
103
  background-color: var(--color-light-specialbg-secondary-transparent-inverted);
103
- } .bottom-sheet__background-specialbg-tertiary-transparent_1g0bh {
104
+ } .bottom-sheet__background-specialbg-tertiary-transparent_ffvh5 {
104
105
  background-color: var(--color-light-specialbg-tertiary-transparent);
105
- } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_1g0bh {
106
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_ffvh5 {
106
107
  background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
107
108
  }
@@ -4,7 +4,7 @@ import cn from 'classnames';
4
4
  import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
5
5
  import { NavigationBarPrivate } from '@alfalab/core-components-navigation-bar-private/esm';
6
6
 
7
- var styles = {"headerWrapper":"bottom-sheet__headerWrapper_iayhz","hasContent":"bottom-sheet__hasContent_iayhz","header":"bottom-sheet__header_iayhz","sticky":"bottom-sheet__sticky_iayhz","highlighted":"bottom-sheet__highlighted_iayhz","justifyEnd":"bottom-sheet__justifyEnd_iayhz","addon":"bottom-sheet__addon_iayhz","addonFixed":"bottom-sheet__addonFixed_iayhz","title":"bottom-sheet__title_iayhz","titleCenter":"bottom-sheet__titleCenter_iayhz","titleLeft":"bottom-sheet__titleLeft_iayhz","trimTitle":"bottom-sheet__trimTitle_iayhz"};
7
+ var styles = {"headerWrapper":"bottom-sheet__headerWrapper_c0279","hasContent":"bottom-sheet__hasContent_c0279","header":"bottom-sheet__header_c0279","sticky":"bottom-sheet__sticky_c0279","highlighted":"bottom-sheet__highlighted_c0279","justifyEnd":"bottom-sheet__justifyEnd_c0279","addon":"bottom-sheet__addon_c0279","addonFixed":"bottom-sheet__addonFixed_c0279","title":"bottom-sheet__title_c0279","titleCenter":"bottom-sheet__titleCenter_c0279","titleLeft":"bottom-sheet__titleLeft_c0279","trimTitle":"bottom-sheet__trimTitle_c0279"};
8
8
  require('./index.css')
9
9
 
10
10
  var Header = function (_a) {