@alfalab/core-components-bottom-sheet 6.0.5 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/{component-76642442.d.ts → component-b5d23e5e.d.ts} +9 -1
  2. package/{component-76642442.js → component-b5d23e5e.js} +6 -5
  3. package/component.js +1 -1
  4. package/components/footer/Component.js +1 -1
  5. package/components/footer/index.css +71 -6
  6. package/components/header/Component.js +1 -1
  7. package/components/header/index.css +14 -15
  8. package/{esm/component-f5632dcc.d.ts → cssm/component-517950e0.d.ts} +9 -1
  9. package/cssm/{component-3f9ff39b.js → component-517950e0.js} +4 -3
  10. package/cssm/component.js +1 -1
  11. package/cssm/components/footer/index.module.css +67 -2
  12. package/cssm/components/header/Component.js +1 -1
  13. package/cssm/components/header/index.module.css +1 -2
  14. package/cssm/index.d.ts +1 -1
  15. package/cssm/index.js +1 -1
  16. package/cssm/index.module.css +69 -3
  17. package/{cssm/component-3f9ff39b.d.ts → esm/component-612e671f.d.ts} +9 -1
  18. package/esm/{component-f5632dcc.js → component-612e671f.js} +6 -5
  19. package/esm/component.js +1 -1
  20. package/esm/components/footer/Component.js +1 -1
  21. package/esm/components/footer/index.css +71 -6
  22. package/esm/components/header/Component.js +1 -1
  23. package/esm/components/header/index.css +14 -15
  24. package/esm/index.css +84 -18
  25. package/esm/index.d.ts +1 -1
  26. package/esm/index.js +1 -1
  27. package/index.css +84 -18
  28. package/index.d.ts +1 -1
  29. package/index.js +1 -1
  30. package/modern/{component-803dbc9d.d.ts → component-1cd1bc34.d.ts} +9 -1
  31. package/modern/{component-803dbc9d.js → component-1cd1bc34.js} +6 -5
  32. package/modern/component.js +1 -1
  33. package/modern/components/footer/Component.js +1 -1
  34. package/modern/components/footer/index.css +71 -6
  35. package/modern/components/header/Component.js +1 -1
  36. package/modern/components/header/index.css +14 -15
  37. package/modern/index.css +84 -18
  38. package/modern/index.d.ts +1 -1
  39. package/modern/index.js +1 -1
  40. package/package.json +1 -1
@@ -8,6 +8,10 @@ import { BaseModalProps } from "@alfalab/core-components-base-modal";
8
8
  type HeaderProps = Omit<NavigationBarProps, "view" | "size">;
9
9
  declare const Header: FC<HeaderProps>;
10
10
  declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
11
+ type BackgroundColorType = "accent" | "info" | "attention-muted" | "positive-muted" | "negative-muted" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "specialbg-component" | "specialbg-component-inverted" | "specialbg-primary-grouped" | "specialbg-secondary-grouped" | "specialbg-tertiary-grouped" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
12
+ type BorderColorType = "accent" | "key" | "key-inverted" | "link" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "underline" | "underline-inverted" | "graphic-attention" | "graphic-link" | "graphic-negative" | "graphic-positive" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
13
+ type ShadowType = "shadow-xs" | "shadow-s" | "shadow-m" | "shadow-l" | "shadow-xl" | "shadow-xs-hard" | "shadow-s-hard" | "shadow-m-hard" | "shadow-l-hard" | "shadow-xl-hard" | "shadow-xs-up" | "shadow-s-up" | "shadow-m-up" | "shadow-l-up" | "shadow-xl-up" | "shadow-xs-hard-up" | "shadow-s-hard-up" | "shadow-m-hard-up" | "shadow-l-hard-up" | "shadow-xl-hard-up";
14
+ type GapType = "3xs" | "2xs" | "xs" | "s" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl";
11
15
  declare const isClient: () => boolean;
12
16
  type BottomSheetTitleAlign = 'center' | 'left';
13
17
  type BottomSheetProps = {
@@ -57,6 +61,10 @@ type BottomSheetProps = {
57
61
  * Дополнительный класс
58
62
  */
59
63
  containerClassName?: string;
64
+ /**
65
+ * Цвет фона
66
+ */
67
+ backgroundColor?: Extract<BackgroundColorType, 'primary' | 'secondary'>;
60
68
  /**
61
69
  * Дополнительный класс шапки
62
70
  */
@@ -183,4 +191,4 @@ type BottomSheetProps = {
183
191
  declare const HEADER_OFFSET = 24;
184
192
  declare const CLOSE_OFFSET = 0.2;
185
193
  declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>>;
186
- export { HeaderProps, Header, getDataTestId, isClient, BottomSheetTitleAlign, BottomSheetProps, HEADER_OFFSET, CLOSE_OFFSET, BottomSheet };
194
+ export { HeaderProps, Header, getDataTestId, BackgroundColorType, BorderColorType, ShadowType, GapType, isClient, BottomSheetTitleAlign, BottomSheetProps, HEADER_OFFSET, CLOSE_OFFSET, BottomSheet };
@@ -14,7 +14,7 @@ var getDataTestId = function (dataTestId, element) {
14
14
  return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
15
15
  };
16
16
 
17
- var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_1rksr","hasContent":"bottom-sheet__hasContent_1rksr","header":"bottom-sheet__header_1rksr","sticky":"bottom-sheet__sticky_1rksr","highlighted":"bottom-sheet__highlighted_1rksr","justifyEnd":"bottom-sheet__justifyEnd_1rksr","addon":"bottom-sheet__addon_1rksr","addonFixed":"bottom-sheet__addonFixed_1rksr","title":"bottom-sheet__title_1rksr","titleCenter":"bottom-sheet__titleCenter_1rksr","titleLeft":"bottom-sheet__titleLeft_1rksr","trimTitle":"bottom-sheet__trimTitle_1rksr"};
17
+ var styles$1 = {"headerWrapper":"bottom-sheet__headerWrapper_1034c","hasContent":"bottom-sheet__hasContent_1034c","header":"bottom-sheet__header_1034c","sticky":"bottom-sheet__sticky_1034c","highlighted":"bottom-sheet__highlighted_1034c","justifyEnd":"bottom-sheet__justifyEnd_1034c","addon":"bottom-sheet__addon_1034c","addonFixed":"bottom-sheet__addonFixed_1034c","title":"bottom-sheet__title_1034c","titleCenter":"bottom-sheet__titleCenter_1034c","titleLeft":"bottom-sheet__titleLeft_1034c","trimTitle":"bottom-sheet__trimTitle_1034c"};
18
18
  require('./components/header/index.css')
19
19
 
20
20
  var Header = function (_a) {
@@ -35,7 +35,7 @@ var Header = function (_a) {
35
35
  _b)), contentClassName: cn(styles$1.title) }), children));
36
36
  };
37
37
 
38
- var styles = {"modal":"bottom-sheet__modal_1lik2","component":"bottom-sheet__component_1lik2","withTransition":"bottom-sheet__withTransition_1lik2","scrollableContainer":"bottom-sheet__scrollableContainer_1lik2","marker":"bottom-sheet__marker_1lik2","content":"bottom-sheet__content_1lik2","noHeader":"bottom-sheet__noHeader_1lik2","noFooter":"bottom-sheet__noFooter_1lik2","scrollLocked":"bottom-sheet__scrollLocked_1lik2","appear":"bottom-sheet__appear_1lik2","enter":"bottom-sheet__enter_1lik2","appearActive":"bottom-sheet__appearActive_1lik2","enterActive":"bottom-sheet__enterActive_1lik2","enterDone":"bottom-sheet__enterDone_1lik2","appearDone":"bottom-sheet__appearDone_1lik2","exit":"bottom-sheet__exit_1lik2","exitActive":"bottom-sheet__exitActive_1lik2"};
38
+ var styles = {"modal":"bottom-sheet__modal_sul96","component":"bottom-sheet__component_sul96","withTransition":"bottom-sheet__withTransition_sul96","scrollableContainer":"bottom-sheet__scrollableContainer_sul96","marker":"bottom-sheet__marker_sul96","content":"bottom-sheet__content_sul96","noHeader":"bottom-sheet__noHeader_sul96","noFooter":"bottom-sheet__noFooter_sul96","scrollLocked":"bottom-sheet__scrollLocked_sul96","appear":"bottom-sheet__appear_sul96","enter":"bottom-sheet__enter_sul96","appearActive":"bottom-sheet__appearActive_sul96","enterActive":"bottom-sheet__enterActive_sul96","enterDone":"bottom-sheet__enterDone_sul96","appearDone":"bottom-sheet__appearDone_sul96","exit":"bottom-sheet__exit_sul96","exitActive":"bottom-sheet__exitActive_sul96","background-accent":"bottom-sheet__background-accent_sul96","background-info":"bottom-sheet__background-info_sul96","background-attention-muted":"bottom-sheet__background-attention-muted_sul96","background-positive-muted":"bottom-sheet__background-positive-muted_sul96","background-negative-muted":"bottom-sheet__background-negative-muted_sul96","background-primary":"bottom-sheet__background-primary_sul96","background-primary-inverted":"bottom-sheet__background-primary-inverted_sul96","background-secondary":"bottom-sheet__background-secondary_sul96","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_sul96","background-tertiary":"bottom-sheet__background-tertiary_sul96","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_sul96","background-quaternary":"bottom-sheet__background-quaternary_sul96","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_sul96","background-specialbg-component":"bottom-sheet__background-specialbg-component_sul96","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_sul96","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_sul96","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_sul96","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_sul96","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_sul96","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_sul96","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_sul96","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_sul96"};
39
39
  require('./index.css')
40
40
 
41
41
  var TIMEOUT = 300;
@@ -48,7 +48,7 @@ var HEADER_OFFSET = 24;
48
48
  var CLOSE_OFFSET = 0.2;
49
49
  var BottomSheet = forwardRef(function (_a, ref) {
50
50
  var _b, _c, _d;
51
- var open = _a.open, title = _a.title, container = _a.container, _e = _a.titleSize, titleSize = _e === void 0 ? 'default' : _e, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _f = _a.titleAlign, titleAlign = _f === void 0 ? 'left' : _f, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _g = _a.stickyFooter, stickyFooter = _g === void 0 ? true : _g, _h = _a.initialHeight, initialHeight = _h === void 0 ? 'default' : _h, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, children = _a.children, zIndex = _a.zIndex, _j = _a.transitionProps, transitionProps = _j === void 0 ? {} : _j, dataTestId = _a.dataTestId, _k = _a.swipeable, swipeable = _k === void 0 ? true : _k, backdropProps = _a.backdropProps, _l = _a.scrollableContainerRef, scrollableContainerRef = _l === void 0 ? function () { return null; } : _l, onClose = _a.onClose, onBack = _a.onBack;
51
+ var open = _a.open, title = _a.title, container = _a.container, backgroundColor = _a.backgroundColor, _e = _a.titleSize, titleSize = _e === void 0 ? 'default' : _e, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _f = _a.titleAlign, titleAlign = _f === void 0 ? 'left' : _f, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _g = _a.stickyFooter, stickyFooter = _g === void 0 ? true : _g, _h = _a.initialHeight, initialHeight = _h === void 0 ? 'default' : _h, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, children = _a.children, zIndex = _a.zIndex, _j = _a.transitionProps, transitionProps = _j === void 0 ? {} : _j, dataTestId = _a.dataTestId, _k = _a.swipeable, swipeable = _k === void 0 ? true : _k, backdropProps = _a.backdropProps, _l = _a.scrollableContainerRef, scrollableContainerRef = _l === void 0 ? function () { return null; } : _l, onClose = _a.onClose, onBack = _a.onBack;
52
52
  var _m = useState(0), sheetOffset = _m[0], setSheetOffset = _m[1];
53
53
  var _o = useState(1), backdropOpacity = _o[0], setBackdropOpacity = _o[1];
54
54
  var _p = useState(false), scrollLocked = _p[0], setScrollLocked = _p[1];
@@ -172,9 +172,10 @@ var BottomSheet = forwardRef(function (_a, ref) {
172
172
  height: initialHeight === 'full' ? targetHeight : 'unset',
173
173
  maxHeight: targetHeight,
174
174
  }); };
175
+ var bgClassName = backgroundColor && styles["background-".concat(backgroundColor)];
175
176
  return (React.createElement(BaseModal, { open: open, ref: ref, container: container, dataTestId: dataTestId, zIndex: zIndex, onClose: onClose, scrollHandler: scrollableContainer, Backdrop: SwipeableBackdrop, backdropProps: __assign(__assign({}, backdropProps), { opacity: backdropOpacity, handlers: swipeable ? backdropSwipeablehandlers : false, opacityTimeout: TIMEOUT, invisible: initialHeight === 'full' ? false : hideOverlay }), disableBackdropClick: hideOverlay ? true : disableOverlayClick, className: cn(styles.modal, modalClassName), wrapperClassName: modalWrapperClassName, disableBlockingScroll: disableBlockingScroll, transitionProps: __assign(__assign({ appear: true, timeout: TIMEOUT, classNames: styles }, transitionProps), { onExited: handleExited, onEntered: handleEntered }) },
176
177
  React.createElement("div", { style: __assign({}, getHeightStyles()) },
177
- React.createElement("div", __assign({ className: cn(styles.component, className, (_b = {},
178
+ React.createElement("div", __assign({ className: cn(styles.component, bgClassName, className, (_b = {},
178
179
  _b[styles.withTransition] = !sheetOffset,
179
180
  _b)), style: __assign(__assign({}, getSwipeStyles()), getHeightStyles()) }, sheetSwipeablehandlers),
180
181
  React.createElement("div", __assign({}, containerProps, { className: cn(styles.scrollableContainer, containerProps === null || containerProps === void 0 ? void 0 : containerProps.className, containerClassName, (_c = {},
@@ -186,7 +187,7 @@ var BottomSheet = forwardRef(function (_a, ref) {
186
187
  _d[styles.noHeader] = hideHeader || emptyHeader,
187
188
  _d[styles.noFooter] = !actionButton,
188
189
  _d)) }, children),
189
- actionButton && (React.createElement(Footer, { sticky: stickyFooter, className: footerClassName }, actionButton)))))));
190
+ actionButton && (React.createElement(Footer, { sticky: stickyFooter, className: cn(bgClassName, footerClassName) }, actionButton)))))));
190
191
  });
191
192
 
192
193
  export { BottomSheet as B, CLOSE_OFFSET as C, HEADER_OFFSET as H, Header as a };
package/esm/component.js CHANGED
@@ -5,7 +5,7 @@ import 'react-merge-refs';
5
5
  import 'react-swipeable';
6
6
  import 'classnames';
7
7
  import '@alfalab/core-components-base-modal/esm';
8
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-f5632dcc.js';
8
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-612e671f.js';
9
9
  import './components/footer/Component.js';
10
10
  import './components/swipeable-backdrop/Component.js';
11
11
  import '@alfalab/core-components-navigation-bar/esm';
@@ -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_1jpy0","sticky":"bottom-sheet__sticky_1jpy0","highlighted":"bottom-sheet__highlighted_1jpy0"};
5
+ var styles = {"footer":"bottom-sheet__footer_7gxws","sticky":"bottom-sheet__sticky_7gxws","highlighted":"bottom-sheet__highlighted_7gxws","background-accent":"bottom-sheet__background-accent_7gxws","background-info":"bottom-sheet__background-info_7gxws","background-attention-muted":"bottom-sheet__background-attention-muted_7gxws","background-positive-muted":"bottom-sheet__background-positive-muted_7gxws","background-negative-muted":"bottom-sheet__background-negative-muted_7gxws","background-primary":"bottom-sheet__background-primary_7gxws","background-primary-inverted":"bottom-sheet__background-primary-inverted_7gxws","background-secondary":"bottom-sheet__background-secondary_7gxws","background-secondary-inverted":"bottom-sheet__background-secondary-inverted_7gxws","background-tertiary":"bottom-sheet__background-tertiary_7gxws","background-tertiary-inverted":"bottom-sheet__background-tertiary-inverted_7gxws","background-quaternary":"bottom-sheet__background-quaternary_7gxws","background-quaternary-inverted":"bottom-sheet__background-quaternary-inverted_7gxws","background-specialbg-component":"bottom-sheet__background-specialbg-component_7gxws","background-specialbg-component-inverted":"bottom-sheet__background-specialbg-component-inverted_7gxws","background-specialbg-primary-grouped":"bottom-sheet__background-specialbg-primary-grouped_7gxws","background-specialbg-secondary-grouped":"bottom-sheet__background-specialbg-secondary-grouped_7gxws","background-specialbg-tertiary-grouped":"bottom-sheet__background-specialbg-tertiary-grouped_7gxws","background-specialbg-secondary-transparent":"bottom-sheet__background-specialbg-secondary-transparent_7gxws","background-specialbg-secondary-transparent-inverted":"bottom-sheet__background-specialbg-secondary-transparent-inverted_7gxws","background-specialbg-tertiary-transparent":"bottom-sheet__background-specialbg-tertiary-transparent_7gxws","background-specialbg-tertiary-transparent-inverted":"bottom-sheet__background-specialbg-tertiary-transparent-inverted_7gxws"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {
@@ -1,8 +1,29 @@
1
- /* hash: cp1bo */
1
+ /* hash: 1nw41 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
+ --color-light-bg-accent: #ef3124;
5
+ --color-light-bg-attention-muted: #f7ebd9;
6
+ --color-light-bg-info: #d6e8fc;
7
+ --color-light-bg-negative-muted: #fbe8e7;
8
+ --color-light-bg-positive-muted: #e7f6ef;
4
9
  --color-light-bg-primary: #fff;
5
- --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 */
10
+ --color-light-bg-primary-inverted: #121212;
11
+ --color-light-bg-quaternary: #dcdcdd;
12
+ --color-light-bg-quaternary-inverted: #3a3a3c;
13
+ --color-light-bg-secondary: #f3f4f5;
14
+ --color-light-bg-secondary-inverted: #202022;
15
+ --color-light-bg-tertiary: #e9e9eb;
16
+ --color-light-bg-tertiary-inverted: #2c2c2e;
17
+ --color-light-border-secondary: #e9e9eb;
18
+ --color-light-specialbg-component: rgba(11, 31, 53, 0.07);
19
+ --color-light-specialbg-component-inverted: rgba(255, 255, 255, 0.1);
20
+ --color-light-specialbg-primary-grouped: #f3f4f5;
21
+ --color-light-specialbg-secondary-grouped: #fff;
22
+ --color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05);
23
+ --color-light-specialbg-secondary-transparent-inverted: rgba(255, 255, 255, 0.06);
24
+ --color-light-specialbg-tertiary-grouped: #f3f4f5;
25
+ --color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1);
26
+ --color-light-specialbg-tertiary-transparent-inverted: rgba(255, 255, 255, 0.11); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
27
  } :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 */
7
28
  } :root {
8
29
  } :root {
@@ -20,14 +41,58 @@
20
41
  } :root {
21
42
  --bottom-sheet-footer-border-top: 1px solid var(--color-light-border-secondary);
22
43
  --bottom-sheet-footer-background-color: var(--color-light-bg-primary);
23
- } .bottom-sheet__footer_1jpy0 {
44
+ } .bottom-sheet__footer_7gxws {
24
45
  padding: var(--gap-m) var(--gap-m);
25
46
  background-color: var(--color-light-bg-primary);
26
- } .bottom-sheet__sticky_1jpy0 {
47
+ } .bottom-sheet__sticky_7gxws {
27
48
  position: sticky;
28
49
  bottom: 0;
29
50
  z-index: 1;
30
- } .bottom-sheet__highlighted_1jpy0 {
51
+ } .bottom-sheet__highlighted_7gxws {
31
52
  border-top: var(--bottom-sheet-footer-border-top);
32
53
  background-color: var(--bottom-sheet-footer-background-color);
33
- }
54
+ } .bottom-sheet__background-accent_7gxws {
55
+ background-color: var(--color-light-bg-accent);
56
+ } .bottom-sheet__background-info_7gxws {
57
+ background-color: var(--color-light-bg-info);
58
+ } .bottom-sheet__background-attention-muted_7gxws {
59
+ background-color: var(--color-light-bg-attention-muted);
60
+ } .bottom-sheet__background-positive-muted_7gxws {
61
+ background-color: var(--color-light-bg-positive-muted);
62
+ } .bottom-sheet__background-negative-muted_7gxws {
63
+ background-color: var(--color-light-bg-negative-muted);
64
+ } .bottom-sheet__background-primary_7gxws {
65
+ background-color: var(--color-light-bg-primary);
66
+ } .bottom-sheet__background-primary-inverted_7gxws {
67
+ background-color: var(--color-light-bg-primary-inverted);
68
+ } .bottom-sheet__background-secondary_7gxws {
69
+ background-color: var(--color-light-bg-secondary);
70
+ } .bottom-sheet__background-secondary-inverted_7gxws {
71
+ background-color: var(--color-light-bg-secondary-inverted);
72
+ } .bottom-sheet__background-tertiary_7gxws {
73
+ background-color: var(--color-light-bg-tertiary);
74
+ } .bottom-sheet__background-tertiary-inverted_7gxws {
75
+ background-color: var(--color-light-bg-tertiary-inverted);
76
+ } .bottom-sheet__background-quaternary_7gxws {
77
+ background-color: var(--color-light-bg-quaternary);
78
+ } .bottom-sheet__background-quaternary-inverted_7gxws {
79
+ background-color: var(--color-light-bg-quaternary-inverted);
80
+ } .bottom-sheet__background-specialbg-component_7gxws {
81
+ background-color: var(--color-light-specialbg-component);
82
+ } .bottom-sheet__background-specialbg-component-inverted_7gxws {
83
+ background-color: var(--color-light-specialbg-component-inverted);
84
+ } .bottom-sheet__background-specialbg-primary-grouped_7gxws {
85
+ background-color: var(--color-light-specialbg-primary-grouped);
86
+ } .bottom-sheet__background-specialbg-secondary-grouped_7gxws {
87
+ background-color: var(--color-light-specialbg-secondary-grouped);
88
+ } .bottom-sheet__background-specialbg-tertiary-grouped_7gxws {
89
+ background-color: var(--color-light-specialbg-tertiary-grouped);
90
+ } .bottom-sheet__background-specialbg-secondary-transparent_7gxws {
91
+ background-color: var(--color-light-specialbg-secondary-transparent);
92
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_7gxws {
93
+ background-color: var(--color-light-specialbg-secondary-transparent-inverted);
94
+ } .bottom-sheet__background-specialbg-tertiary-transparent_7gxws {
95
+ background-color: var(--color-light-specialbg-tertiary-transparent);
96
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_7gxws {
97
+ background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
98
+ }
@@ -3,7 +3,7 @@ import 'react';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-base-modal/esm';
5
5
  import '@alfalab/core-components-navigation-bar/esm';
6
- export { a as Header } from '../../component-f5632dcc.js';
6
+ export { a as Header } from '../../component-612e671f.js';
7
7
  import 'react-div-100vh';
8
8
  import 'react-merge-refs';
9
9
  import 'react-swipeable';
@@ -1,7 +1,6 @@
1
- /* hash: 1f5gr */
1
+ /* hash: 16nrz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-bg-primary: #fff;
5
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 */
6
5
  } :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 */
7
6
  } :root {
@@ -28,42 +27,42 @@
28
27
  --bottom-sheet-title-font-weight: 700;
29
28
  --bottom-sheet-title-line-height: 24px;
30
29
  --bottom-sheet-title-font-family: var(--font-family-system);
31
- } .bottom-sheet__headerWrapper_1rksr {
30
+ } .bottom-sheet__headerWrapper_1034c {
32
31
  padding: var(--gap-s) var(--gap-xs) var(--gap-2xs);
33
32
  border-top-right-radius: var(--border-radius-xl);
34
33
  border-top-left-radius: var(--border-radius-xl);
35
34
  z-index: 1;
36
- } .bottom-sheet__hasContent_1rksr {
37
- background-color: var(--color-light-bg-primary);
38
- } .bottom-sheet__header_1rksr {
35
+ } .bottom-sheet__hasContent_1034c {
36
+ background-color: inherit;
37
+ } .bottom-sheet__header_1034c {
39
38
  display: flex;
40
- } .bottom-sheet__sticky_1rksr {
39
+ } .bottom-sheet__sticky_1034c {
41
40
  position: sticky;
42
41
  top: 0;
43
- } .bottom-sheet__highlighted_1rksr {
42
+ } .bottom-sheet__highlighted_1034c {
44
43
  border-bottom: var(--bottom-sheet-header-border-bottom);
45
- } .bottom-sheet__justifyEnd_1rksr {
44
+ } .bottom-sheet__justifyEnd_1034c {
46
45
  justify-content: flex-end;
47
- } .bottom-sheet__addon_1rksr {
46
+ } .bottom-sheet__addon_1034c {
48
47
  display: flex;
49
48
  justify-content: center;
50
49
  align-items: center;
51
50
  min-width: 48px;
52
51
  height: 48px;
53
- } .bottom-sheet__addonFixed_1rksr {
52
+ } .bottom-sheet__addonFixed_1034c {
54
53
  position: fixed;
55
- } .bottom-sheet__title_1rksr {
54
+ } .bottom-sheet__title_1034c {
56
55
  padding: var(--gap-s) var(--gap-xs);
57
56
  width: 100%;
58
57
  font-size: var(--bottom-sheet-title-font-size);
59
58
  font-weight: var(--bottom-sheet-title-font-weight);
60
59
  line-height: var(--bottom-sheet-title-line-height);
61
60
  font-family: var(--bottom-sheet-title-font-family);
62
- } .bottom-sheet__titleCenter_1rksr {
61
+ } .bottom-sheet__titleCenter_1034c {
63
62
  text-align: center;
64
- } .bottom-sheet__titleLeft_1rksr {
63
+ } .bottom-sheet__titleLeft_1034c {
65
64
  text-align: left;
66
- } .bottom-sheet__trimTitle_1rksr {
65
+ } .bottom-sheet__trimTitle_1034c {
67
66
  white-space: nowrap;
68
67
  overflow: hidden;
69
68
  text-overflow: ellipsis;
package/esm/index.css CHANGED
@@ -1,8 +1,29 @@
1
- /* hash: 16ala */
1
+ /* hash: rdtvt */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
+ --color-light-bg-accent: #ef3124;
5
+ --color-light-bg-attention-muted: #f7ebd9;
6
+ --color-light-bg-info: #d6e8fc;
7
+ --color-light-bg-negative-muted: #fbe8e7;
8
+ --color-light-bg-positive-muted: #e7f6ef;
4
9
  --color-light-bg-primary: #fff;
10
+ --color-light-bg-primary-inverted: #121212;
11
+ --color-light-bg-quaternary: #dcdcdd;
12
+ --color-light-bg-quaternary-inverted: #3a3a3c;
13
+ --color-light-bg-secondary: #f3f4f5;
14
+ --color-light-bg-secondary-inverted: #202022;
15
+ --color-light-bg-tertiary: #e9e9eb;
16
+ --color-light-bg-tertiary-inverted: #2c2c2e;
5
17
  --color-light-graphic-quaternary: #dcdcdd;
18
+ --color-light-specialbg-component: rgba(11, 31, 53, 0.07);
19
+ --color-light-specialbg-component-inverted: rgba(255, 255, 255, 0.1);
20
+ --color-light-specialbg-primary-grouped: #f3f4f5;
21
+ --color-light-specialbg-secondary-grouped: #fff;
22
+ --color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05);
23
+ --color-light-specialbg-secondary-transparent-inverted: rgba(255, 255, 255, 0.06);
24
+ --color-light-specialbg-tertiary-grouped: #f3f4f5;
25
+ --color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1);
26
+ --color-light-specialbg-tertiary-transparent-inverted: rgba(255, 255, 255, 0.11);
6
27
  --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
28
  } :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 */
8
29
  } :root {
@@ -24,30 +45,31 @@
24
45
  } :root {
25
46
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
26
47
  --bottom-sheet-out-transition: 0.3s ease;
27
- } .bottom-sheet__modal_1lik2 {
48
+ } .bottom-sheet__modal_sul96 {
28
49
  background-color: transparent;
29
50
  position: fixed;
30
51
  bottom: 0;
31
52
  width: 100%;
32
53
  max-width: 600px;
33
- } .bottom-sheet__component_1lik2 {
54
+ } .bottom-sheet__component_sul96 {
34
55
  overflow: hidden;
35
56
  position: relative;
36
57
  display: flex;
37
58
  flex-direction: column;
38
59
  border-top-right-radius: var(--border-radius-xl);
39
60
  border-top-left-radius: var(--border-radius-xl);
40
- background: var(--color-light-bg-primary);
61
+ background-color: var(--color-light-bg-primary);
41
62
  transform: translateY(100%);
42
- } .bottom-sheet__withTransition_1lik2 {
63
+ } .bottom-sheet__withTransition_sul96 {
43
64
  transition: var(--bottom-sheet-out-transition);
44
- } .bottom-sheet__scrollableContainer_1lik2 {
65
+ } .bottom-sheet__scrollableContainer_sul96 {
45
66
  overflow: auto;
46
67
  display: flex;
47
68
  flex-direction: column;
48
69
  position: relative;
49
70
  height: 100%;
50
- } .bottom-sheet__marker_1lik2 {
71
+ background-color: inherit;
72
+ } .bottom-sheet__marker_sul96 {
51
73
  position: fixed;
52
74
  top: var(--gap-2xs);
53
75
  left: 50%;
@@ -57,7 +79,7 @@
57
79
  transform: translateX(-50%);
58
80
  background-color: var(--color-light-graphic-quaternary);
59
81
  z-index: 1000;
60
- } .bottom-sheet__content_1lik2 {
82
+ } .bottom-sheet__content_sul96 {
61
83
  position: relative;
62
84
  z-index: 0;
63
85
  display: flex;
@@ -65,23 +87,67 @@
65
87
  flex: 1;
66
88
  padding: 0 var(--gap-m);
67
89
  color: var(--color-light-text-primary);
68
- background-color: var(--color-light-bg-primary);
69
- } .bottom-sheet__noHeader_1lik2 {
90
+ background-color: inherit;
91
+ } .bottom-sheet__noHeader_sul96 {
70
92
  padding-top: var(--gap-m);
71
- } .bottom-sheet__noFooter_1lik2 {
93
+ } .bottom-sheet__noFooter_sul96 {
72
94
  padding-bottom: var(--gap-m);
73
- } .bottom-sheet__scrollLocked_1lik2 {
95
+ } .bottom-sheet__scrollLocked_sul96 {
74
96
  overflow: hidden;
75
- } .bottom-sheet__appear_1lik2 .bottom-sheet__component_1lik2, .bottom-sheet__enter_1lik2 .bottom-sheet__component_1lik2 {
97
+ } .bottom-sheet__appear_sul96 .bottom-sheet__component_sul96, .bottom-sheet__enter_sul96 .bottom-sheet__component_sul96 {
76
98
  transition: none;
77
- } .bottom-sheet__appearActive_1lik2 .bottom-sheet__component_1lik2, .bottom-sheet__enterActive_1lik2 .bottom-sheet__component_1lik2 {
99
+ } .bottom-sheet__appearActive_sul96 .bottom-sheet__component_sul96, .bottom-sheet__enterActive_sul96 .bottom-sheet__component_sul96 {
78
100
  transition: var(--bottom-sheet-in-transition);
79
101
  transform: translateY(0);
80
- } .bottom-sheet__enterDone_1lik2 .bottom-sheet__component_1lik2, .bottom-sheet__appearDone_1lik2 .bottom-sheet__component_1lik2 {
102
+ } .bottom-sheet__enterDone_sul96 .bottom-sheet__component_sul96, .bottom-sheet__appearDone_sul96 .bottom-sheet__component_sul96 {
81
103
  transform: translateY(0);
82
- } .bottom-sheet__exit_1lik2 .bottom-sheet__component_1lik2 {
104
+ } .bottom-sheet__exit_sul96 .bottom-sheet__component_sul96 {
83
105
  transform: translateY(0);
84
- } .bottom-sheet__exitActive_1lik2 .bottom-sheet__component_1lik2 {
106
+ } .bottom-sheet__exitActive_sul96 .bottom-sheet__component_sul96 {
85
107
  transition: var(--bottom-sheet-out-transition);
86
108
  transform: translateY(100%);
87
- }
109
+ } .bottom-sheet__background-accent_sul96 {
110
+ background-color: var(--color-light-bg-accent);
111
+ } .bottom-sheet__background-info_sul96 {
112
+ background-color: var(--color-light-bg-info);
113
+ } .bottom-sheet__background-attention-muted_sul96 {
114
+ background-color: var(--color-light-bg-attention-muted);
115
+ } .bottom-sheet__background-positive-muted_sul96 {
116
+ background-color: var(--color-light-bg-positive-muted);
117
+ } .bottom-sheet__background-negative-muted_sul96 {
118
+ background-color: var(--color-light-bg-negative-muted);
119
+ } .bottom-sheet__background-primary_sul96 {
120
+ background-color: var(--color-light-bg-primary);
121
+ } .bottom-sheet__background-primary-inverted_sul96 {
122
+ background-color: var(--color-light-bg-primary-inverted);
123
+ } .bottom-sheet__background-secondary_sul96 {
124
+ background-color: var(--color-light-bg-secondary);
125
+ } .bottom-sheet__background-secondary-inverted_sul96 {
126
+ background-color: var(--color-light-bg-secondary-inverted);
127
+ } .bottom-sheet__background-tertiary_sul96 {
128
+ background-color: var(--color-light-bg-tertiary);
129
+ } .bottom-sheet__background-tertiary-inverted_sul96 {
130
+ background-color: var(--color-light-bg-tertiary-inverted);
131
+ } .bottom-sheet__background-quaternary_sul96 {
132
+ background-color: var(--color-light-bg-quaternary);
133
+ } .bottom-sheet__background-quaternary-inverted_sul96 {
134
+ background-color: var(--color-light-bg-quaternary-inverted);
135
+ } .bottom-sheet__background-specialbg-component_sul96 {
136
+ background-color: var(--color-light-specialbg-component);
137
+ } .bottom-sheet__background-specialbg-component-inverted_sul96 {
138
+ background-color: var(--color-light-specialbg-component-inverted);
139
+ } .bottom-sheet__background-specialbg-primary-grouped_sul96 {
140
+ background-color: var(--color-light-specialbg-primary-grouped);
141
+ } .bottom-sheet__background-specialbg-secondary-grouped_sul96 {
142
+ background-color: var(--color-light-specialbg-secondary-grouped);
143
+ } .bottom-sheet__background-specialbg-tertiary-grouped_sul96 {
144
+ background-color: var(--color-light-specialbg-tertiary-grouped);
145
+ } .bottom-sheet__background-specialbg-secondary-transparent_sul96 {
146
+ background-color: var(--color-light-specialbg-secondary-transparent);
147
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_sul96 {
148
+ background-color: var(--color-light-specialbg-secondary-transparent-inverted);
149
+ } .bottom-sheet__background-specialbg-tertiary-transparent_sul96 {
150
+ background-color: var(--color-light-specialbg-tertiary-transparent);
151
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_sul96 {
152
+ background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
153
+ }
package/esm/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-f5632dcc";
1
+ export * from "./component-612e671f";
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-f5632dcc.js';
1
+ export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-612e671f.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import 'react-div-100vh';
package/index.css CHANGED
@@ -1,8 +1,29 @@
1
- /* hash: 16ala */
1
+ /* hash: rdtvt */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
+ --color-light-bg-accent: #ef3124;
5
+ --color-light-bg-attention-muted: #f7ebd9;
6
+ --color-light-bg-info: #d6e8fc;
7
+ --color-light-bg-negative-muted: #fbe8e7;
8
+ --color-light-bg-positive-muted: #e7f6ef;
4
9
  --color-light-bg-primary: #fff;
10
+ --color-light-bg-primary-inverted: #121212;
11
+ --color-light-bg-quaternary: #dcdcdd;
12
+ --color-light-bg-quaternary-inverted: #3a3a3c;
13
+ --color-light-bg-secondary: #f3f4f5;
14
+ --color-light-bg-secondary-inverted: #202022;
15
+ --color-light-bg-tertiary: #e9e9eb;
16
+ --color-light-bg-tertiary-inverted: #2c2c2e;
5
17
  --color-light-graphic-quaternary: #dcdcdd;
18
+ --color-light-specialbg-component: rgba(11, 31, 53, 0.07);
19
+ --color-light-specialbg-component-inverted: rgba(255, 255, 255, 0.1);
20
+ --color-light-specialbg-primary-grouped: #f3f4f5;
21
+ --color-light-specialbg-secondary-grouped: #fff;
22
+ --color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05);
23
+ --color-light-specialbg-secondary-transparent-inverted: rgba(255, 255, 255, 0.06);
24
+ --color-light-specialbg-tertiary-grouped: #f3f4f5;
25
+ --color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1);
26
+ --color-light-specialbg-tertiary-transparent-inverted: rgba(255, 255, 255, 0.11);
6
27
  --color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
28
  } :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 */
8
29
  } :root {
@@ -24,30 +45,31 @@
24
45
  } :root {
25
46
  --bottom-sheet-in-transition: 0.5s cubic-bezier(0.09, 0.91, 0.18, 0.99);
26
47
  --bottom-sheet-out-transition: 0.3s ease;
27
- } .bottom-sheet__modal_1lik2 {
48
+ } .bottom-sheet__modal_sul96 {
28
49
  background-color: transparent;
29
50
  position: fixed;
30
51
  bottom: 0;
31
52
  width: 100%;
32
53
  max-width: 600px;
33
- } .bottom-sheet__component_1lik2 {
54
+ } .bottom-sheet__component_sul96 {
34
55
  overflow: hidden;
35
56
  position: relative;
36
57
  display: flex;
37
58
  flex-direction: column;
38
59
  border-top-right-radius: var(--border-radius-xl);
39
60
  border-top-left-radius: var(--border-radius-xl);
40
- background: var(--color-light-bg-primary);
61
+ background-color: var(--color-light-bg-primary);
41
62
  transform: translateY(100%);
42
- } .bottom-sheet__withTransition_1lik2 {
63
+ } .bottom-sheet__withTransition_sul96 {
43
64
  transition: var(--bottom-sheet-out-transition);
44
- } .bottom-sheet__scrollableContainer_1lik2 {
65
+ } .bottom-sheet__scrollableContainer_sul96 {
45
66
  overflow: auto;
46
67
  display: flex;
47
68
  flex-direction: column;
48
69
  position: relative;
49
70
  height: 100%;
50
- } .bottom-sheet__marker_1lik2 {
71
+ background-color: inherit;
72
+ } .bottom-sheet__marker_sul96 {
51
73
  position: fixed;
52
74
  top: var(--gap-2xs);
53
75
  left: 50%;
@@ -57,7 +79,7 @@
57
79
  transform: translateX(-50%);
58
80
  background-color: var(--color-light-graphic-quaternary);
59
81
  z-index: 1000;
60
- } .bottom-sheet__content_1lik2 {
82
+ } .bottom-sheet__content_sul96 {
61
83
  position: relative;
62
84
  z-index: 0;
63
85
  display: flex;
@@ -65,23 +87,67 @@
65
87
  flex: 1;
66
88
  padding: 0 var(--gap-m);
67
89
  color: var(--color-light-text-primary);
68
- background-color: var(--color-light-bg-primary);
69
- } .bottom-sheet__noHeader_1lik2 {
90
+ background-color: inherit;
91
+ } .bottom-sheet__noHeader_sul96 {
70
92
  padding-top: var(--gap-m);
71
- } .bottom-sheet__noFooter_1lik2 {
93
+ } .bottom-sheet__noFooter_sul96 {
72
94
  padding-bottom: var(--gap-m);
73
- } .bottom-sheet__scrollLocked_1lik2 {
95
+ } .bottom-sheet__scrollLocked_sul96 {
74
96
  overflow: hidden;
75
- } .bottom-sheet__appear_1lik2 .bottom-sheet__component_1lik2, .bottom-sheet__enter_1lik2 .bottom-sheet__component_1lik2 {
97
+ } .bottom-sheet__appear_sul96 .bottom-sheet__component_sul96, .bottom-sheet__enter_sul96 .bottom-sheet__component_sul96 {
76
98
  transition: none;
77
- } .bottom-sheet__appearActive_1lik2 .bottom-sheet__component_1lik2, .bottom-sheet__enterActive_1lik2 .bottom-sheet__component_1lik2 {
99
+ } .bottom-sheet__appearActive_sul96 .bottom-sheet__component_sul96, .bottom-sheet__enterActive_sul96 .bottom-sheet__component_sul96 {
78
100
  transition: var(--bottom-sheet-in-transition);
79
101
  transform: translateY(0);
80
- } .bottom-sheet__enterDone_1lik2 .bottom-sheet__component_1lik2, .bottom-sheet__appearDone_1lik2 .bottom-sheet__component_1lik2 {
102
+ } .bottom-sheet__enterDone_sul96 .bottom-sheet__component_sul96, .bottom-sheet__appearDone_sul96 .bottom-sheet__component_sul96 {
81
103
  transform: translateY(0);
82
- } .bottom-sheet__exit_1lik2 .bottom-sheet__component_1lik2 {
104
+ } .bottom-sheet__exit_sul96 .bottom-sheet__component_sul96 {
83
105
  transform: translateY(0);
84
- } .bottom-sheet__exitActive_1lik2 .bottom-sheet__component_1lik2 {
106
+ } .bottom-sheet__exitActive_sul96 .bottom-sheet__component_sul96 {
85
107
  transition: var(--bottom-sheet-out-transition);
86
108
  transform: translateY(100%);
87
- }
109
+ } .bottom-sheet__background-accent_sul96 {
110
+ background-color: var(--color-light-bg-accent);
111
+ } .bottom-sheet__background-info_sul96 {
112
+ background-color: var(--color-light-bg-info);
113
+ } .bottom-sheet__background-attention-muted_sul96 {
114
+ background-color: var(--color-light-bg-attention-muted);
115
+ } .bottom-sheet__background-positive-muted_sul96 {
116
+ background-color: var(--color-light-bg-positive-muted);
117
+ } .bottom-sheet__background-negative-muted_sul96 {
118
+ background-color: var(--color-light-bg-negative-muted);
119
+ } .bottom-sheet__background-primary_sul96 {
120
+ background-color: var(--color-light-bg-primary);
121
+ } .bottom-sheet__background-primary-inverted_sul96 {
122
+ background-color: var(--color-light-bg-primary-inverted);
123
+ } .bottom-sheet__background-secondary_sul96 {
124
+ background-color: var(--color-light-bg-secondary);
125
+ } .bottom-sheet__background-secondary-inverted_sul96 {
126
+ background-color: var(--color-light-bg-secondary-inverted);
127
+ } .bottom-sheet__background-tertiary_sul96 {
128
+ background-color: var(--color-light-bg-tertiary);
129
+ } .bottom-sheet__background-tertiary-inverted_sul96 {
130
+ background-color: var(--color-light-bg-tertiary-inverted);
131
+ } .bottom-sheet__background-quaternary_sul96 {
132
+ background-color: var(--color-light-bg-quaternary);
133
+ } .bottom-sheet__background-quaternary-inverted_sul96 {
134
+ background-color: var(--color-light-bg-quaternary-inverted);
135
+ } .bottom-sheet__background-specialbg-component_sul96 {
136
+ background-color: var(--color-light-specialbg-component);
137
+ } .bottom-sheet__background-specialbg-component-inverted_sul96 {
138
+ background-color: var(--color-light-specialbg-component-inverted);
139
+ } .bottom-sheet__background-specialbg-primary-grouped_sul96 {
140
+ background-color: var(--color-light-specialbg-primary-grouped);
141
+ } .bottom-sheet__background-specialbg-secondary-grouped_sul96 {
142
+ background-color: var(--color-light-specialbg-secondary-grouped);
143
+ } .bottom-sheet__background-specialbg-tertiary-grouped_sul96 {
144
+ background-color: var(--color-light-specialbg-tertiary-grouped);
145
+ } .bottom-sheet__background-specialbg-secondary-transparent_sul96 {
146
+ background-color: var(--color-light-specialbg-secondary-transparent);
147
+ } .bottom-sheet__background-specialbg-secondary-transparent-inverted_sul96 {
148
+ background-color: var(--color-light-specialbg-secondary-transparent-inverted);
149
+ } .bottom-sheet__background-specialbg-tertiary-transparent_sul96 {
150
+ background-color: var(--color-light-specialbg-tertiary-transparent);
151
+ } .bottom-sheet__background-specialbg-tertiary-transparent-inverted_sul96 {
152
+ background-color: var(--color-light-specialbg-tertiary-transparent-inverted);
153
+ }
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from "./component-76642442";
1
+ export * from "./component-b5d23e5e";