@alfalab/core-components 46.0.0-beta.3 → 46.0.0-beta.5
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/base-modal/Component.js +1 -2
- package/base-modal/cssm/Component.js +1 -2
- package/base-modal/esm/Component.js +1 -2
- package/base-modal/esm/index.js +0 -1
- package/base-modal/modern/Component.js +1 -2
- package/base-modal/modern/index.js +0 -1
- package/bottom-sheet/component.js +9 -3
- package/bottom-sheet/cssm/component.js +9 -3
- package/bottom-sheet/esm/component.js +10 -4
- package/bottom-sheet/modern/component.js +9 -4
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop/component.desktop.js +1 -1
- package/confirmation/esm/desktop/index.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile/component.mobile.js +1 -1
- package/confirmation/esm/mobile/index.js +1 -1
- package/confirmation/esm/shared/index.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop/component.desktop.js +1 -1
- package/confirmation/modern/desktop/index.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile/component.mobile.js +1 -1
- package/confirmation/modern/mobile/index.js +1 -1
- package/confirmation/modern/shared/index.js +1 -1
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-preview/Component.js +1 -1
- package/gallery/esm/components/image-preview/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/components/navigation-bar/Component.js +1 -1
- package/gallery/esm/components/navigation-bar/index.js +1 -1
- package/gallery/esm/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-preview/Component.js +1 -1
- package/gallery/modern/components/image-preview/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/components/navigation-bar/Component.js +1 -1
- package/gallery/modern/components/navigation-bar/index.js +1 -1
- package/gallery/modern/index.js +2 -2
- package/international-phone-input/cssm/index-136acbb1.d.ts +28 -0
- package/international-phone-input/esm/index-136acbb1.d.ts +28 -0
- package/international-phone-input/index-136acbb1.d.ts +28 -0
- package/international-phone-input/modern/index-136acbb1.d.ts +28 -0
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/notification/Component.js +1 -2
- package/notification/cssm/Component.js +1 -2
- package/notification/esm/Component.js +1 -2
- package/notification/esm/index.js +0 -1
- package/notification/modern/Component.js +1 -2
- package/notification/modern/index.js +0 -1
- package/notification-manager/component.js +1 -2
- package/notification-manager/cssm/component.js +1 -2
- package/notification-manager/esm/component.js +1 -2
- package/notification-manager/esm/index.js +0 -1
- package/notification-manager/modern/component.js +1 -2
- package/notification-manager/modern/index.js +0 -1
- package/package.json +1 -2
- package/picker-button/cssm/index-bdb4c6b9.d.ts +13 -1
- package/picker-button/esm/index-bdb4c6b9.d.ts +13 -1
- package/picker-button/index-bdb4c6b9.d.ts +13 -1
- package/picker-button/modern/index-bdb4c6b9.d.ts +13 -1
- package/popover/Component.js +1 -2
- package/popover/cssm/Component.js +1 -2
- package/popover/esm/Component.js +1 -2
- package/popover/esm/index.js +0 -1
- package/popover/modern/Component.js +1 -2
- package/popover/modern/index.js +0 -1
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile/Component.mobile.js +1 -1
- package/select/esm/mobile/Component.modal.mobile.js +1 -1
- package/select/esm/mobile/index.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared/index.js +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile/Component.mobile.js +1 -1
- package/select/modern/mobile/Component.modal.mobile.js +1 -1
- package/select/modern/mobile/index.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared/index.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/index.js +1 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/esm/Component.responsive.js +1 -1
- package/side-panel/esm/components/controls/Component.js +1 -1
- package/side-panel/esm/components/controls/index.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/desktop/Component.desktop.js +1 -1
- package/side-panel/esm/desktop/index.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile/Component.mobile.js +1 -1
- package/side-panel/esm/mobile/index.js +1 -1
- package/side-panel/modern/Component.responsive.js +1 -1
- package/side-panel/modern/components/controls/Component.js +1 -1
- package/side-panel/modern/components/controls/index.js +1 -1
- package/side-panel/modern/components/footer/Component.desktop.js +1 -1
- package/side-panel/modern/components/footer/Component.js +1 -1
- package/side-panel/modern/components/footer/Component.mobile.js +1 -1
- package/side-panel/modern/desktop/Component.desktop.js +1 -1
- package/side-panel/modern/desktop/index.js +1 -1
- package/side-panel/modern/index.js +1 -1
- package/side-panel/modern/mobile/Component.mobile.js +1 -1
- package/side-panel/modern/mobile/index.js +1 -1
- package/stack/component.js +4 -4
- package/stack/context.d.ts +29 -0
- package/stack/context.js +34 -0
- package/stack/cssm/component.js +4 -4
- package/stack/cssm/context.d.ts +29 -0
- package/stack/cssm/context.js +34 -0
- package/stack/cssm/index.d.ts +1 -0
- package/stack/cssm/index.js +3 -0
- package/stack/esm/component.js +1 -1
- package/stack/esm/context.d.ts +29 -0
- package/stack/esm/context.js +31 -0
- package/stack/esm/index.d.ts +1 -0
- package/stack/esm/index.js +1 -1
- package/stack/index.d.ts +1 -0
- package/stack/index.js +3 -0
- package/stack/modern/component.js +1 -1
- package/stack/modern/context.d.ts +29 -0
- package/stack/modern/context.js +31 -0
- package/stack/modern/index.d.ts +1 -0
- package/stack/modern/index.js +1 -1
- package/textarea/Component.js +1 -1
- package/textarea/components/PseudoTextArea.js +1 -1
- package/textarea/components/index.d.ts +1 -1
- package/textarea/components/index.js +1 -1
- package/textarea/esm/Component.js +1 -1
- package/textarea/esm/components/PseudoTextArea.js +1 -1
- package/textarea/esm/components/index.d.ts +1 -1
- package/textarea/esm/components/index.js +1 -1
- package/textarea/esm/index.js +1 -1
- package/textarea/modern/Component.js +1 -1
- package/textarea/modern/components/PseudoTextArea.js +1 -1
- package/textarea/modern/components/index.d.ts +1 -1
- package/textarea/modern/components/index.js +1 -1
- package/textarea/modern/index.js +1 -1
- package/themes/compiled/mobile-dark-bluetint.css +76 -215
- package/toast/components/base-toast/component.js +1 -2
- package/toast/cssm/components/base-toast/component.js +1 -2
- package/toast/esm/Component.responsive.js +0 -1
- package/toast/esm/components/base-toast/component.js +1 -2
- package/toast/esm/components/base-toast/index.js +0 -1
- package/toast/esm/desktop/Component.desktop.js +0 -1
- package/toast/esm/desktop/index.js +0 -1
- package/toast/esm/index.js +0 -1
- package/toast/esm/mobile/Component.mobile.js +0 -1
- package/toast/esm/mobile/index.js +0 -1
- package/toast/modern/Component.responsive.js +0 -1
- package/toast/modern/components/base-toast/component.js +1 -2
- package/toast/modern/components/base-toast/index.js +0 -1
- package/toast/modern/desktop/Component.desktop.js +0 -1
- package/toast/modern/desktop/index.js +0 -1
- package/toast/modern/index.js +0 -1
- package/toast/modern/mobile/Component.mobile.js +0 -1
- package/toast/modern/mobile/index.js +0 -1
- package/toast-plate/components/base-toast-plate/component.js +1 -1
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/Component.responsive.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/component.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/index.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/desktop/Component.desktop.js +1 -1
- package/toast-plate/esm/desktop/index.js +1 -1
- package/toast-plate/esm/index-307da6d7.d.ts +1 -1
- package/toast-plate/esm/index.js +1 -1
- package/toast-plate/esm/mobile/Component.mobile.js +1 -1
- package/toast-plate/esm/mobile/index.js +1 -1
- package/toast-plate/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/Component.responsive.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/component.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/index.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/modern/desktop/Component.desktop.js +1 -1
- package/toast-plate/modern/desktop/index.js +1 -1
- package/toast-plate/modern/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/index.js +1 -1
- package/toast-plate/modern/mobile/Component.mobile.js +1 -1
- package/toast-plate/modern/mobile/index.js +1 -1
- package/universal-date-input/cssm/index-5712fce2.d.ts +13 -1
- package/universal-date-input/esm/index-5712fce2.d.ts +13 -1
- package/universal-date-input/index-5712fce2.d.ts +13 -1
- package/universal-date-input/modern/index-5712fce2.d.ts +13 -1
- package/international-phone-input/cssm/index-7ca84eff.d.ts +0 -15
- package/international-phone-input/esm/index-7ca84eff.d.ts +0 -15
- package/international-phone-input/index-7ca84eff.d.ts +0 -15
- package/international-phone-input/modern/index-7ca84eff.d.ts +0 -15
- /package/confirmation/{countdown-section-80b2f871.d.ts → countdown-section-f9e4f884.d.ts} +0 -0
- /package/confirmation/{countdown-section-80b2f871.js → countdown-section-f9e4f884.js} +0 -0
- /package/confirmation/esm/{countdown-section-acc1051f.d.ts → countdown-section-540da1e3.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-acc1051f.js → countdown-section-540da1e3.js} +0 -0
- /package/confirmation/modern/{countdown-section-91463948.d.ts → countdown-section-d3385b29.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-91463948.js → countdown-section-d3385b29.js} +0 -0
- /package/gallery/{buttons-2d32d0ff.d.ts → buttons-0e0683d9.d.ts} +0 -0
- /package/gallery/{buttons-2d32d0ff.js → buttons-0e0683d9.js} +0 -0
- /package/gallery/esm/{buttons-7f3fd122.d.ts → buttons-eabdb51b.d.ts} +0 -0
- /package/gallery/esm/{buttons-7f3fd122.js → buttons-eabdb51b.js} +0 -0
- /package/gallery/esm/{slide-296478be.d.ts → slide-a8f6ccc1.d.ts} +0 -0
- /package/gallery/esm/{slide-296478be.js → slide-a8f6ccc1.js} +0 -0
- /package/gallery/modern/{buttons-efa9898e.d.ts → buttons-062ff167.d.ts} +0 -0
- /package/gallery/modern/{buttons-efa9898e.js → buttons-062ff167.js} +0 -0
- /package/gallery/modern/{slide-7d442501.d.ts → slide-b5566e19.d.ts} +0 -0
- /package/gallery/modern/{slide-7d442501.js → slide-b5566e19.js} +0 -0
- /package/gallery/{slide-4fbf6ff4.d.ts → slide-3d8ed06b.d.ts} +0 -0
- /package/gallery/{slide-4fbf6ff4.js → slide-3d8ed06b.js} +0 -0
- /package/modal/esm/{layout.module-8c2ad581.js → layout.module-ed84e654.js} +0 -0
- /package/modal/{layout.module-9c7f42a7.js → layout.module-74d56d9e.js} +0 -0
- /package/modal/modern/{layout.module-7b9f84d6.js → layout.module-169c9cd4.js} +0 -0
- /package/select/esm/{hook-74e64a0c.d.ts → hook-43f97773.d.ts} +0 -0
- /package/select/esm/{hook-74e64a0c.js → hook-43f97773.js} +0 -0
- /package/select/{hook-0bb52889.d.ts → hook-47df637e.d.ts} +0 -0
- /package/select/{hook-0bb52889.js → hook-47df637e.js} +0 -0
- /package/select/modern/{hook-6af684e1.d.ts → hook-72d63281.d.ts} +0 -0
- /package/select/modern/{hook-6af684e1.js → hook-72d63281.js} +0 -0
- /package/side-panel/esm/{layout.module-42bf261d.js → layout.module-72cc1a7a.js} +0 -0
- /package/side-panel/{layout.module-2ea47a88.js → layout.module-cfb65ab1.js} +0 -0
- /package/side-panel/modern/{layout.module-39651e51.js → layout.module-3503b091.js} +0 -0
- /package/textarea/{PseudoTextArea-53ba3572.d.ts → PseudoTextArea-7681334c.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-53ba3572.js → PseudoTextArea-7681334c.js} +0 -0
- /package/textarea/esm/{PseudoTextArea-278ebb87.d.ts → PseudoTextArea-850a55b5.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-278ebb87.js → PseudoTextArea-850a55b5.js} +0 -0
- /package/textarea/modern/{PseudoTextArea-0d65e973.d.ts → PseudoTextArea-c51ed577.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-0d65e973.js → PseudoTextArea-c51ed577.js} +0 -0
- /package/toast-plate/esm/{getDataTestId-32d52205.d.ts → getDataTestId-f4dc32c7.d.ts} +0 -0
- /package/toast-plate/esm/{getDataTestId-32d52205.js → getDataTestId-f4dc32c7.js} +0 -0
- /package/toast-plate/{getDataTestId-1de39d74.d.ts → getDataTestId-442368bd.d.ts} +0 -0
- /package/toast-plate/{getDataTestId-1de39d74.js → getDataTestId-442368bd.js} +0 -0
- /package/toast-plate/modern/{getDataTestId-dd00ab19.d.ts → getDataTestId-16038735.d.ts} +0 -0
- /package/toast-plate/modern/{getDataTestId-dd00ab19.js → getDataTestId-16038735.js} +0 -0
package/base-modal/Component.js
CHANGED
|
@@ -11,7 +11,6 @@ var coreComponentsBackdrop = require('../backdrop');
|
|
|
11
11
|
var coreComponentsPortal = require('../portal');
|
|
12
12
|
var coreComponentsShared = require('../shared');
|
|
13
13
|
var coreComponentsStack = require('../stack');
|
|
14
|
-
var stackContext = require('@alfalab/stack-context');
|
|
15
14
|
var helpers_lockScroll = require('./helpers/lockScroll.js');
|
|
16
15
|
var utils = require('./utils.js');
|
|
17
16
|
require('./matches-polyfill.js');
|
|
@@ -43,7 +42,7 @@ var BaseModalContext = React__default.default.createContext({
|
|
|
43
42
|
onClose: function () { return null; },
|
|
44
43
|
});
|
|
45
44
|
var BaseModal = React.forwardRef(function (_a, ref) {
|
|
46
|
-
var open = _a.open, container = _a.container, children = _a.children, _b = _a.scrollHandler, scrollHandler = _b === void 0 ? 'wrapper' : _b, _c = _a.Backdrop, Backdrop = _c === void 0 ? coreComponentsBackdrop.Backdrop : _c, _d = _a.backdropProps, backdropProps = _d === void 0 ? {} : _d, _e = _a.transitionProps, transitionProps = _e === void 0 ? {} : _e, disableBackdropClick = _a.disableBackdropClick, _f = _a.disableAutoFocus, disableAutoFocus = _f === void 0 ? false : _f, _g = _a.disableFocusLock, disableFocusLock = _g === void 0 ? false : _g, _h = _a.disableEscapeKeyDown, disableEscapeKeyDown = _h === void 0 ? false : _h, _j = _a.disableRestoreFocus, disableRestoreFocus = _j === void 0 ? false : _j, _k = _a.disableBlockingScroll, disableBlockingScroll = _k === void 0 ? false : _k, _l = _a.keepMounted, keepMounted = _l === void 0 ? false : _l, className = _a.className, contentClassName = _a.contentClassName, wrapperProps = _a.wrapperProps, contentProps = _a.contentProps, componentDivProps = _a.componentDivProps, wrapperClassName = _a.wrapperClassName, onBackdropClick = _a.onBackdropClick, onClose = _a.onClose, onEscapeKeyDown = _a.onEscapeKeyDown, onMount = _a.onMount, onUnmount = _a.onUnmount, dataTestId = _a.dataTestId, _m = _a.zIndex, zIndex = _m === void 0 ?
|
|
45
|
+
var open = _a.open, container = _a.container, children = _a.children, _b = _a.scrollHandler, scrollHandler = _b === void 0 ? 'wrapper' : _b, _c = _a.Backdrop, Backdrop = _c === void 0 ? coreComponentsBackdrop.Backdrop : _c, _d = _a.backdropProps, backdropProps = _d === void 0 ? {} : _d, _e = _a.transitionProps, transitionProps = _e === void 0 ? {} : _e, disableBackdropClick = _a.disableBackdropClick, _f = _a.disableAutoFocus, disableAutoFocus = _f === void 0 ? false : _f, _g = _a.disableFocusLock, disableFocusLock = _g === void 0 ? false : _g, _h = _a.disableEscapeKeyDown, disableEscapeKeyDown = _h === void 0 ? false : _h, _j = _a.disableRestoreFocus, disableRestoreFocus = _j === void 0 ? false : _j, _k = _a.disableBlockingScroll, disableBlockingScroll = _k === void 0 ? false : _k, _l = _a.keepMounted, keepMounted = _l === void 0 ? false : _l, className = _a.className, contentClassName = _a.contentClassName, wrapperProps = _a.wrapperProps, contentProps = _a.contentProps, componentDivProps = _a.componentDivProps, wrapperClassName = _a.wrapperClassName, onBackdropClick = _a.onBackdropClick, onClose = _a.onClose, onEscapeKeyDown = _a.onEscapeKeyDown, onMount = _a.onMount, onUnmount = _a.onUnmount, dataTestId = _a.dataTestId, _m = _a.zIndex, zIndex = _m === void 0 ? coreComponentsStack.stackingOrder.MODAL : _m, _o = _a.componentRef, componentRef = _o === void 0 ? null : _o, _p = _a.usePortal, usePortal = _p === void 0 ? true : _p, _q = _a.iOSLock, iOSLock = _q === void 0 ? false : _q;
|
|
47
46
|
var _r = React.useState(null), exited = _r[0], setExited = _r[1];
|
|
48
47
|
var _s = React.useState(false), hasScroll = _s[0], setHasScroll = _s[1];
|
|
49
48
|
var _t = React.useState(false), hasHeader = _t[0], setHasHeader = _t[1];
|
|
@@ -11,7 +11,6 @@ var coreComponentsBackdrop = require('../../backdrop/cssm');
|
|
|
11
11
|
var coreComponentsPortal = require('../../portal/cssm');
|
|
12
12
|
var coreComponentsShared = require('../../shared/cssm');
|
|
13
13
|
var coreComponentsStack = require('../../stack/cssm');
|
|
14
|
-
var stackContext = require('@alfalab/stack-context');
|
|
15
14
|
var helpers_lockScroll = require('./helpers/lockScroll.js');
|
|
16
15
|
var utils = require('./utils.js');
|
|
17
16
|
var styles = require('./index.module.css');
|
|
@@ -42,7 +41,7 @@ var BaseModalContext = React__default.default.createContext({
|
|
|
42
41
|
onClose: function () { return null; },
|
|
43
42
|
});
|
|
44
43
|
var BaseModal = React.forwardRef(function (_a, ref) {
|
|
45
|
-
var open = _a.open, container = _a.container, children = _a.children, _b = _a.scrollHandler, scrollHandler = _b === void 0 ? 'wrapper' : _b, _c = _a.Backdrop, Backdrop = _c === void 0 ? coreComponentsBackdrop.Backdrop : _c, _d = _a.backdropProps, backdropProps = _d === void 0 ? {} : _d, _e = _a.transitionProps, transitionProps = _e === void 0 ? {} : _e, disableBackdropClick = _a.disableBackdropClick, _f = _a.disableAutoFocus, disableAutoFocus = _f === void 0 ? false : _f, _g = _a.disableFocusLock, disableFocusLock = _g === void 0 ? false : _g, _h = _a.disableEscapeKeyDown, disableEscapeKeyDown = _h === void 0 ? false : _h, _j = _a.disableRestoreFocus, disableRestoreFocus = _j === void 0 ? false : _j, _k = _a.disableBlockingScroll, disableBlockingScroll = _k === void 0 ? false : _k, _l = _a.keepMounted, keepMounted = _l === void 0 ? false : _l, className = _a.className, contentClassName = _a.contentClassName, wrapperProps = _a.wrapperProps, contentProps = _a.contentProps, componentDivProps = _a.componentDivProps, wrapperClassName = _a.wrapperClassName, onBackdropClick = _a.onBackdropClick, onClose = _a.onClose, onEscapeKeyDown = _a.onEscapeKeyDown, onMount = _a.onMount, onUnmount = _a.onUnmount, dataTestId = _a.dataTestId, _m = _a.zIndex, zIndex = _m === void 0 ?
|
|
44
|
+
var open = _a.open, container = _a.container, children = _a.children, _b = _a.scrollHandler, scrollHandler = _b === void 0 ? 'wrapper' : _b, _c = _a.Backdrop, Backdrop = _c === void 0 ? coreComponentsBackdrop.Backdrop : _c, _d = _a.backdropProps, backdropProps = _d === void 0 ? {} : _d, _e = _a.transitionProps, transitionProps = _e === void 0 ? {} : _e, disableBackdropClick = _a.disableBackdropClick, _f = _a.disableAutoFocus, disableAutoFocus = _f === void 0 ? false : _f, _g = _a.disableFocusLock, disableFocusLock = _g === void 0 ? false : _g, _h = _a.disableEscapeKeyDown, disableEscapeKeyDown = _h === void 0 ? false : _h, _j = _a.disableRestoreFocus, disableRestoreFocus = _j === void 0 ? false : _j, _k = _a.disableBlockingScroll, disableBlockingScroll = _k === void 0 ? false : _k, _l = _a.keepMounted, keepMounted = _l === void 0 ? false : _l, className = _a.className, contentClassName = _a.contentClassName, wrapperProps = _a.wrapperProps, contentProps = _a.contentProps, componentDivProps = _a.componentDivProps, wrapperClassName = _a.wrapperClassName, onBackdropClick = _a.onBackdropClick, onClose = _a.onClose, onEscapeKeyDown = _a.onEscapeKeyDown, onMount = _a.onMount, onUnmount = _a.onUnmount, dataTestId = _a.dataTestId, _m = _a.zIndex, zIndex = _m === void 0 ? coreComponentsStack.stackingOrder.MODAL : _m, _o = _a.componentRef, componentRef = _o === void 0 ? null : _o, _p = _a.usePortal, usePortal = _p === void 0 ? true : _p, _q = _a.iOSLock, iOSLock = _q === void 0 ? false : _q;
|
|
46
45
|
var _r = React.useState(null), exited = _r[0], setExited = _r[1];
|
|
47
46
|
var _s = React.useState(false), hasScroll = _s[0], setHasScroll = _s[1];
|
|
48
47
|
var _t = React.useState(false), hasHeader = _t[0], setHasHeader = _t[1];
|
|
@@ -8,8 +8,7 @@ import cn from 'classnames';
|
|
|
8
8
|
import { Backdrop } from '../../backdrop/esm';
|
|
9
9
|
import { Portal } from '../../portal/esm';
|
|
10
10
|
import { os, browser } from '../../shared/esm';
|
|
11
|
-
import { Stack } from '../../stack/esm';
|
|
12
|
-
import { stackingOrder } from '@alfalab/stack-context';
|
|
11
|
+
import { stackingOrder, Stack } from '../../stack/esm';
|
|
13
12
|
import { unlockScroll, syncHeight, lockScroll } from './helpers/lockScroll.js';
|
|
14
13
|
import { isScrolledToTop, isScrolledToBottom, handleContainer, restoreContainerStyles, hasScrollbar } from './utils.js';
|
|
15
14
|
import './matches-polyfill.js';
|
package/base-modal/esm/index.js
CHANGED
|
@@ -7,8 +7,7 @@ import cn from 'classnames';
|
|
|
7
7
|
import { Backdrop } from '../../backdrop/modern';
|
|
8
8
|
import { Portal } from '../../portal/modern';
|
|
9
9
|
import { os, browser } from '../../shared/modern';
|
|
10
|
-
import { Stack } from '../../stack/modern';
|
|
11
|
-
import { stackingOrder } from '@alfalab/stack-context';
|
|
10
|
+
import { stackingOrder, Stack } from '../../stack/modern';
|
|
12
11
|
import { unlockScroll, syncHeight, lockScroll } from './helpers/lockScroll.js';
|
|
13
12
|
import { isScrolledToTop, isScrolledToBottom, handleContainer, restoreContainerStyles, hasScrollbar } from './utils.js';
|
|
14
13
|
import './matches-polyfill.js';
|
|
@@ -10,7 +10,6 @@ import '../../backdrop/modern';
|
|
|
10
10
|
import '../../portal/modern';
|
|
11
11
|
import '../../shared/modern';
|
|
12
12
|
import '../../stack/modern';
|
|
13
|
-
import '@alfalab/stack-context';
|
|
14
13
|
import './helpers/lockScroll.js';
|
|
15
14
|
import './matches-polyfill.js';
|
|
16
15
|
import '../../global-store/modern';
|
|
@@ -30,6 +30,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
30
30
|
var fullHeight = reactDiv100vh.use100vh() || 0;
|
|
31
31
|
// Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
|
|
32
32
|
var isFirstRender = fullHeight === 0;
|
|
33
|
+
var initialIndexRef = React.useRef(initialActiveAreaIndex);
|
|
33
34
|
var magneticAreas = React.useMemo(function () {
|
|
34
35
|
var _a;
|
|
35
36
|
if (magneticAreasProp) {
|
|
@@ -104,6 +105,10 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
104
105
|
}
|
|
105
106
|
};
|
|
106
107
|
var scrollToArea = function (idx) {
|
|
108
|
+
if (isFirstRender) {
|
|
109
|
+
initialIndexRef.current = idx;
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
107
112
|
stopSwiping(null);
|
|
108
113
|
var nextArea = magneticAreas[idx];
|
|
109
114
|
var nextAreaIdx = getActiveAreaIndex(nextArea);
|
|
@@ -267,7 +272,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
267
272
|
delta: swipeThreshold,
|
|
268
273
|
});
|
|
269
274
|
var handleExited = function (node) {
|
|
270
|
-
var idx =
|
|
275
|
+
var idx = initialIndexRef.current;
|
|
271
276
|
setBackdropOpacity(1);
|
|
272
277
|
setSheetOffset(isNil(idx) ? magneticAreas[0] : lastMagneticArea - magneticAreas[idx]);
|
|
273
278
|
setActiveAreaIdx(isNil(idx) ? magneticAreas.length - 1 : idx);
|
|
@@ -277,7 +282,8 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
277
282
|
}
|
|
278
283
|
};
|
|
279
284
|
var handleEnter = function (node, isAppearing) {
|
|
280
|
-
|
|
285
|
+
var _a;
|
|
286
|
+
onMagnetize === null || onMagnetize === void 0 ? void 0 : onMagnetize((_a = initialIndexRef.current) !== null && _a !== void 0 ? _a : magneticAreas.length - 1);
|
|
281
287
|
if (transitionProps.onEnter) {
|
|
282
288
|
transitionProps.onEnter(node, isAppearing);
|
|
283
289
|
}
|
|
@@ -302,7 +308,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
302
308
|
if (!isFirstRender) {
|
|
303
309
|
// Инициализируем стейт только после того, как была рассчитана высота вьюпорта
|
|
304
310
|
if (activeAreaIdx === -1) {
|
|
305
|
-
var idx =
|
|
311
|
+
var idx = initialIndexRef.current;
|
|
306
312
|
setSheetOffset(isNil(idx) ? 0 : lastMagneticArea - magneticAreas[idx]);
|
|
307
313
|
setActiveAreaIdx(isNil(idx) ? magneticAreas.length - 1 : idx);
|
|
308
314
|
}
|
|
@@ -29,6 +29,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
29
29
|
var fullHeight = reactDiv100vh.use100vh() || 0;
|
|
30
30
|
// Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
|
|
31
31
|
var isFirstRender = fullHeight === 0;
|
|
32
|
+
var initialIndexRef = React.useRef(initialActiveAreaIndex);
|
|
32
33
|
var magneticAreas = React.useMemo(function () {
|
|
33
34
|
var _a;
|
|
34
35
|
if (magneticAreasProp) {
|
|
@@ -103,6 +104,10 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
103
104
|
}
|
|
104
105
|
};
|
|
105
106
|
var scrollToArea = function (idx) {
|
|
107
|
+
if (isFirstRender) {
|
|
108
|
+
initialIndexRef.current = idx;
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
106
111
|
stopSwiping(null);
|
|
107
112
|
var nextArea = magneticAreas[idx];
|
|
108
113
|
var nextAreaIdx = getActiveAreaIndex(nextArea);
|
|
@@ -266,7 +271,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
266
271
|
delta: swipeThreshold,
|
|
267
272
|
});
|
|
268
273
|
var handleExited = function (node) {
|
|
269
|
-
var idx =
|
|
274
|
+
var idx = initialIndexRef.current;
|
|
270
275
|
setBackdropOpacity(1);
|
|
271
276
|
setSheetOffset(isNil(idx) ? magneticAreas[0] : lastMagneticArea - magneticAreas[idx]);
|
|
272
277
|
setActiveAreaIdx(isNil(idx) ? magneticAreas.length - 1 : idx);
|
|
@@ -276,7 +281,8 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
276
281
|
}
|
|
277
282
|
};
|
|
278
283
|
var handleEnter = function (node, isAppearing) {
|
|
279
|
-
|
|
284
|
+
var _a;
|
|
285
|
+
onMagnetize === null || onMagnetize === void 0 ? void 0 : onMagnetize((_a = initialIndexRef.current) !== null && _a !== void 0 ? _a : magneticAreas.length - 1);
|
|
280
286
|
if (transitionProps.onEnter) {
|
|
281
287
|
transitionProps.onEnter(node, isAppearing);
|
|
282
288
|
}
|
|
@@ -301,7 +307,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
301
307
|
if (!isFirstRender) {
|
|
302
308
|
// Инициализируем стейт только после того, как была рассчитана высота вьюпорта
|
|
303
309
|
if (activeAreaIdx === -1) {
|
|
304
|
-
var idx =
|
|
310
|
+
var idx = initialIndexRef.current;
|
|
305
311
|
setSheetOffset(isNil(idx) ? 0 : lastMagneticArea - magneticAreas[idx]);
|
|
306
312
|
setActiveAreaIdx(isNil(idx) ? magneticAreas.length - 1 : idx);
|
|
307
313
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from 'tslib';
|
|
2
|
-
import React, { forwardRef, useMemo, useState,
|
|
2
|
+
import React, { forwardRef, useRef, useMemo, useState, useEffect, useImperativeHandle } from 'react';
|
|
3
3
|
import { use100vh } from 'react-div-100vh';
|
|
4
4
|
import mergeRefs from 'react-merge-refs';
|
|
5
5
|
import { useSwipeable } from 'react-swipeable';
|
|
@@ -25,6 +25,7 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
25
25
|
var fullHeight = use100vh() || 0;
|
|
26
26
|
// Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
|
|
27
27
|
var isFirstRender = fullHeight === 0;
|
|
28
|
+
var initialIndexRef = useRef(initialActiveAreaIndex);
|
|
28
29
|
var magneticAreas = useMemo(function () {
|
|
29
30
|
var _a;
|
|
30
31
|
if (magneticAreasProp) {
|
|
@@ -99,6 +100,10 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
99
100
|
}
|
|
100
101
|
};
|
|
101
102
|
var scrollToArea = function (idx) {
|
|
103
|
+
if (isFirstRender) {
|
|
104
|
+
initialIndexRef.current = idx;
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
102
107
|
stopSwiping(null);
|
|
103
108
|
var nextArea = magneticAreas[idx];
|
|
104
109
|
var nextAreaIdx = getActiveAreaIndex(nextArea);
|
|
@@ -262,7 +267,7 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
262
267
|
delta: swipeThreshold,
|
|
263
268
|
});
|
|
264
269
|
var handleExited = function (node) {
|
|
265
|
-
var idx =
|
|
270
|
+
var idx = initialIndexRef.current;
|
|
266
271
|
setBackdropOpacity(1);
|
|
267
272
|
setSheetOffset(isNil(idx) ? magneticAreas[0] : lastMagneticArea - magneticAreas[idx]);
|
|
268
273
|
setActiveAreaIdx(isNil(idx) ? magneticAreas.length - 1 : idx);
|
|
@@ -272,7 +277,8 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
272
277
|
}
|
|
273
278
|
};
|
|
274
279
|
var handleEnter = function (node, isAppearing) {
|
|
275
|
-
|
|
280
|
+
var _a;
|
|
281
|
+
onMagnetize === null || onMagnetize === void 0 ? void 0 : onMagnetize((_a = initialIndexRef.current) !== null && _a !== void 0 ? _a : magneticAreas.length - 1);
|
|
276
282
|
if (transitionProps.onEnter) {
|
|
277
283
|
transitionProps.onEnter(node, isAppearing);
|
|
278
284
|
}
|
|
@@ -297,7 +303,7 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
297
303
|
if (!isFirstRender) {
|
|
298
304
|
// Инициализируем стейт только после того, как была рассчитана высота вьюпорта
|
|
299
305
|
if (activeAreaIdx === -1) {
|
|
300
|
-
var idx =
|
|
306
|
+
var idx = initialIndexRef.current;
|
|
301
307
|
setSheetOffset(isNil(idx) ? 0 : lastMagneticArea - magneticAreas[idx]);
|
|
302
308
|
setActiveAreaIdx(isNil(idx) ? magneticAreas.length - 1 : idx);
|
|
303
309
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { forwardRef, useMemo, useState,
|
|
1
|
+
import React, { forwardRef, useRef, useMemo, useState, useEffect, useImperativeHandle } from 'react';
|
|
2
2
|
import { use100vh } from 'react-div-100vh';
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
4
|
import { useSwipeable } from 'react-swipeable';
|
|
@@ -22,6 +22,7 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
|
|
|
22
22
|
const fullHeight = use100vh() || 0;
|
|
23
23
|
// Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
|
|
24
24
|
const isFirstRender = fullHeight === 0;
|
|
25
|
+
const initialIndexRef = useRef(initialActiveAreaIndex);
|
|
25
26
|
const magneticAreas = useMemo(() => {
|
|
26
27
|
if (magneticAreasProp) {
|
|
27
28
|
return magneticAreasProp.map((area) => convertPercentToNumber(area, fullHeight, headerOffset));
|
|
@@ -116,6 +117,10 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
|
|
|
116
117
|
}
|
|
117
118
|
};
|
|
118
119
|
const scrollToArea = (idx) => {
|
|
120
|
+
if (isFirstRender) {
|
|
121
|
+
initialIndexRef.current = idx;
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
119
124
|
stopSwiping(null);
|
|
120
125
|
const nextArea = magneticAreas[idx];
|
|
121
126
|
const nextAreaIdx = getActiveAreaIndex(nextArea);
|
|
@@ -275,7 +280,7 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
|
|
|
275
280
|
delta: swipeThreshold,
|
|
276
281
|
});
|
|
277
282
|
const handleExited = (node) => {
|
|
278
|
-
const idx =
|
|
283
|
+
const idx = initialIndexRef.current;
|
|
279
284
|
setBackdropOpacity(1);
|
|
280
285
|
setSheetOffset(isNil(idx) ? magneticAreas[0] : lastMagneticArea - magneticAreas[idx]);
|
|
281
286
|
setActiveAreaIdx(isNil(idx) ? magneticAreas.length - 1 : idx);
|
|
@@ -285,7 +290,7 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
|
|
|
285
290
|
}
|
|
286
291
|
};
|
|
287
292
|
const handleEnter = (node, isAppearing) => {
|
|
288
|
-
onMagnetize?.(
|
|
293
|
+
onMagnetize?.(initialIndexRef.current ?? magneticAreas.length - 1);
|
|
289
294
|
if (transitionProps.onEnter) {
|
|
290
295
|
transitionProps.onEnter(node, isAppearing);
|
|
291
296
|
}
|
|
@@ -310,7 +315,7 @@ const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundC
|
|
|
310
315
|
if (!isFirstRender) {
|
|
311
316
|
// Инициализируем стейт только после того, как была рассчитана высота вьюпорта
|
|
312
317
|
if (activeAreaIdx === -1) {
|
|
313
|
-
const idx =
|
|
318
|
+
const idx = initialIndexRef.current;
|
|
314
319
|
setSheetOffset(isNil(idx) ? 0 : lastMagneticArea - magneticAreas[idx]);
|
|
315
320
|
setActiveAreaIdx(isNil(idx) ? magneticAreas.length - 1 : idx);
|
|
316
321
|
}
|
|
@@ -10,7 +10,7 @@ var coreComponentsTypography = require('../../../../typography');
|
|
|
10
10
|
var hooks = require('@alfalab/hooks');
|
|
11
11
|
var context = require('../../../context.js');
|
|
12
12
|
var components_header_component = require('../../header/component.js');
|
|
13
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
13
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-f9e4f884.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
16
|
|
|
@@ -7,7 +7,7 @@ require('../../../../spinner');
|
|
|
7
7
|
require('../../../../typography');
|
|
8
8
|
require('../../../context.js');
|
|
9
9
|
require('../../../utils.js');
|
|
10
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
10
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-f9e4f884.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ import '../../code-input/esm/mobile';
|
|
|
16
16
|
import '../../link/esm';
|
|
17
17
|
import '../../typography/esm';
|
|
18
18
|
import './components/header/component.js';
|
|
19
|
-
import './countdown-section-
|
|
19
|
+
import './countdown-section-540da1e3.js';
|
|
20
20
|
import '../../button/esm';
|
|
21
21
|
import '../../spinner/esm';
|
|
22
22
|
import './components/screens/hint/component.js';
|
|
@@ -15,7 +15,7 @@ import '../../../../code-input/esm/mobile';
|
|
|
15
15
|
import '../../../../link/esm';
|
|
16
16
|
import '../../../../typography/esm';
|
|
17
17
|
import '../header/component.js';
|
|
18
|
-
import '../../countdown-section-
|
|
18
|
+
import '../../countdown-section-540da1e3.js';
|
|
19
19
|
import '../../../../button/esm';
|
|
20
20
|
import '../../../../spinner/esm';
|
|
21
21
|
import '../countdown-loader/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../../code-input/esm/mobile';
|
|
|
13
13
|
import '../../../../link/esm';
|
|
14
14
|
import '../../../../typography/esm';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-540da1e3.js';
|
|
17
17
|
import '../../../../button/esm';
|
|
18
18
|
import '../../../../spinner/esm';
|
|
19
19
|
import '../screens/hint/component.js';
|
|
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
|
|
|
14
14
|
import '../context.js';
|
|
15
15
|
import '../utils.js';
|
|
16
16
|
import './header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-540da1e3.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
|
|
|
13
13
|
import '../../context.js';
|
|
14
14
|
import '../../utils.js';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-540da1e3.js';
|
|
17
17
|
import '../../../../button/esm';
|
|
18
18
|
import '../../../../spinner/esm';
|
|
19
19
|
import '../countdown-loader/component.js';
|
|
@@ -8,7 +8,7 @@ import { Typography } from '../../../../../typography/esm';
|
|
|
8
8
|
import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
9
9
|
import { ConfirmationContext } from '../../../context.js';
|
|
10
10
|
import { Header } from '../../header/component.js';
|
|
11
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-540da1e3.js';
|
|
12
12
|
import '../../../utils.js';
|
|
13
13
|
import '../../../../../button/esm';
|
|
14
14
|
import '../../../../../spinner/esm';
|
|
@@ -4,5 +4,5 @@ import '../../../../../button/esm';
|
|
|
4
4
|
import '../../../../../spinner/esm';
|
|
5
5
|
import '../../../../../typography/esm';
|
|
6
6
|
import '../../../context.js';
|
|
7
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
7
|
+
export { C as CountdownSection } from '../../../countdown-section-540da1e3.js';
|
|
8
8
|
import '../../../utils.js';
|
|
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
|
|
|
10
10
|
import '../../../context.js';
|
|
11
11
|
import '../../../utils.js';
|
|
12
12
|
import '../../header/component.js';
|
|
13
|
-
import '../../../countdown-section-
|
|
13
|
+
import '../../../countdown-section-540da1e3.js';
|
|
14
14
|
import '../../../../../button/esm';
|
|
15
15
|
import '../../../../../spinner/esm';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/esm/mobile';
|
|
|
13
13
|
import '../../../link/esm';
|
|
14
14
|
import '../../../typography/esm';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-540da1e3.js';
|
|
17
17
|
import '../../../button/esm';
|
|
18
18
|
import '../../../spinner/esm';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
|
@@ -14,7 +14,7 @@ import '../../../code-input/esm/mobile';
|
|
|
14
14
|
import '../../../link/esm';
|
|
15
15
|
import '../../../typography/esm';
|
|
16
16
|
import '../components/header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-540da1e3.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
20
20
|
import '../components/screens/hint/component.js';
|
|
@@ -16,7 +16,7 @@ import '../../code-input/esm/mobile';
|
|
|
16
16
|
import '../../link/esm';
|
|
17
17
|
import '../../typography/esm';
|
|
18
18
|
import './components/header/component.js';
|
|
19
|
-
import './countdown-section-
|
|
19
|
+
import './countdown-section-540da1e3.js';
|
|
20
20
|
import '../../button/esm';
|
|
21
21
|
import '../../spinner/esm';
|
|
22
22
|
import './components/screens/hint/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/esm/mobile';
|
|
|
13
13
|
import '../../../link/esm';
|
|
14
14
|
import '../../../typography/esm';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-540da1e3.js';
|
|
17
17
|
import '../../../button/esm';
|
|
18
18
|
import '../../../spinner/esm';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
|
@@ -14,7 +14,7 @@ import '../../../code-input/esm/mobile';
|
|
|
14
14
|
import '../../../link/esm';
|
|
15
15
|
import '../../../typography/esm';
|
|
16
16
|
import '../components/header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-540da1e3.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
20
20
|
import '../components/screens/hint/component.js';
|
|
@@ -15,6 +15,6 @@ import '../../../link/esm';
|
|
|
15
15
|
import '../../../typography/esm';
|
|
16
16
|
import '@alfalab/hooks';
|
|
17
17
|
import '../components/header/component.js';
|
|
18
|
-
import '../countdown-section-
|
|
18
|
+
import '../countdown-section-540da1e3.js';
|
|
19
19
|
import '../../../button/esm';
|
|
20
20
|
import '../../../spinner/esm';
|
|
@@ -15,7 +15,7 @@ import '../../code-input/modern/mobile';
|
|
|
15
15
|
import '../../link/modern';
|
|
16
16
|
import '../../typography/modern';
|
|
17
17
|
import './components/header/component.js';
|
|
18
|
-
import './countdown-section-
|
|
18
|
+
import './countdown-section-d3385b29.js';
|
|
19
19
|
import '../../button/modern';
|
|
20
20
|
import '../../spinner/modern';
|
|
21
21
|
import './components/screens/hint/component.js';
|
|
@@ -14,7 +14,7 @@ import '../../../../code-input/modern/mobile';
|
|
|
14
14
|
import '../../../../link/modern';
|
|
15
15
|
import '../../../../typography/modern';
|
|
16
16
|
import '../header/component.js';
|
|
17
|
-
import '../../countdown-section-
|
|
17
|
+
import '../../countdown-section-d3385b29.js';
|
|
18
18
|
import '../../../../button/modern';
|
|
19
19
|
import '../../../../spinner/modern';
|
|
20
20
|
import '../countdown-loader/component.js';
|
|
@@ -12,7 +12,7 @@ import '../../../../code-input/modern/mobile';
|
|
|
12
12
|
import '../../../../link/modern';
|
|
13
13
|
import '../../../../typography/modern';
|
|
14
14
|
import '../header/component.js';
|
|
15
|
-
import '../../countdown-section-
|
|
15
|
+
import '../../countdown-section-d3385b29.js';
|
|
16
16
|
import '../../../../button/modern';
|
|
17
17
|
import '../../../../spinner/modern';
|
|
18
18
|
import '../screens/hint/component.js';
|
|
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
|
|
|
14
14
|
import '../context.js';
|
|
15
15
|
import '../utils.js';
|
|
16
16
|
import './header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-d3385b29.js';
|
|
18
18
|
import '../../../button/modern';
|
|
19
19
|
import '../../../spinner/modern';
|
|
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
|
|
|
13
13
|
import '../../context.js';
|
|
14
14
|
import '../../utils.js';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-d3385b29.js';
|
|
17
17
|
import '../../../../button/modern';
|
|
18
18
|
import '../../../../spinner/modern';
|
|
19
19
|
import '../countdown-loader/component.js';
|
|
@@ -8,7 +8,7 @@ import { Typography } from '../../../../../typography/modern';
|
|
|
8
8
|
import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
9
9
|
import { ConfirmationContext } from '../../../context.js';
|
|
10
10
|
import { Header } from '../../header/component.js';
|
|
11
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-d3385b29.js';
|
|
12
12
|
import '../../../utils.js';
|
|
13
13
|
import '../../../../../button/modern';
|
|
14
14
|
import '../../../../../spinner/modern';
|
|
@@ -4,5 +4,5 @@ import '../../../../../button/modern';
|
|
|
4
4
|
import '../../../../../spinner/modern';
|
|
5
5
|
import '../../../../../typography/modern';
|
|
6
6
|
import '../../../context.js';
|
|
7
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
7
|
+
export { C as CountdownSection } from '../../../countdown-section-d3385b29.js';
|
|
8
8
|
import '../../../utils.js';
|
|
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
|
|
|
10
10
|
import '../../../context.js';
|
|
11
11
|
import '../../../utils.js';
|
|
12
12
|
import '../../header/component.js';
|
|
13
|
-
import '../../../countdown-section-
|
|
13
|
+
import '../../../countdown-section-d3385b29.js';
|
|
14
14
|
import '../../../../../button/modern';
|
|
15
15
|
import '../../../../../spinner/modern';
|
|
@@ -12,7 +12,7 @@ import '../../../code-input/modern/mobile';
|
|
|
12
12
|
import '../../../link/modern';
|
|
13
13
|
import '../../../typography/modern';
|
|
14
14
|
import '../components/header/component.js';
|
|
15
|
-
import '../countdown-section-
|
|
15
|
+
import '../countdown-section-d3385b29.js';
|
|
16
16
|
import '../../../button/modern';
|
|
17
17
|
import '../../../spinner/modern';
|
|
18
18
|
import '../components/screens/hint/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/modern/mobile';
|
|
|
13
13
|
import '../../../link/modern';
|
|
14
14
|
import '../../../typography/modern';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-d3385b29.js';
|
|
17
17
|
import '../../../button/modern';
|
|
18
18
|
import '../../../spinner/modern';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
|
@@ -15,7 +15,7 @@ import '../../code-input/modern/mobile';
|
|
|
15
15
|
import '../../link/modern';
|
|
16
16
|
import '../../typography/modern';
|
|
17
17
|
import './components/header/component.js';
|
|
18
|
-
import './countdown-section-
|
|
18
|
+
import './countdown-section-d3385b29.js';
|
|
19
19
|
import '../../button/modern';
|
|
20
20
|
import '../../spinner/modern';
|
|
21
21
|
import './components/screens/hint/component.js';
|
|
@@ -12,7 +12,7 @@ import '../../../code-input/modern/mobile';
|
|
|
12
12
|
import '../../../link/modern';
|
|
13
13
|
import '../../../typography/modern';
|
|
14
14
|
import '../components/header/component.js';
|
|
15
|
-
import '../countdown-section-
|
|
15
|
+
import '../countdown-section-d3385b29.js';
|
|
16
16
|
import '../../../button/modern';
|
|
17
17
|
import '../../../spinner/modern';
|
|
18
18
|
import '../components/screens/hint/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/modern/mobile';
|
|
|
13
13
|
import '../../../link/modern';
|
|
14
14
|
import '../../../typography/modern';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-d3385b29.js';
|
|
17
17
|
import '../../../button/modern';
|
|
18
18
|
import '../../../spinner/modern';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
|
@@ -15,6 +15,6 @@ import '../../../link/modern';
|
|
|
15
15
|
import '../../../typography/modern';
|
|
16
16
|
import '@alfalab/hooks';
|
|
17
17
|
import '../components/header/component.js';
|
|
18
|
-
import '../countdown-section-
|
|
18
|
+
import '../countdown-section-d3385b29.js';
|
|
19
19
|
import '../../../button/modern';
|
|
20
20
|
import '../../../spinner/modern';
|
|
@@ -5,7 +5,7 @@ var context = require('../../context.js');
|
|
|
5
5
|
var utils_utils = require('../../utils/utils.js');
|
|
6
6
|
var utils_constants = require('../../utils/constants.js');
|
|
7
7
|
var components_headerInfoBlock_Component = require('../header-info-block/Component.js');
|
|
8
|
-
var components_header_buttons = require('../../buttons-
|
|
8
|
+
var components_header_buttons = require('../../buttons-0e0683d9.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
11
|
|
|
@@ -8,7 +8,7 @@ require('@alfalab/icons-glyph/ArrowsInwardMIcon');
|
|
|
8
8
|
require('@alfalab/icons-glyph/ArrowsOutwardMIcon');
|
|
9
9
|
require('@alfalab/icons-glyph/CrossMIcon');
|
|
10
10
|
require('@alfalab/icons-glyph/PointerDownMIcon');
|
|
11
|
-
var components_header_buttons = require('../../buttons-
|
|
11
|
+
var components_header_buttons = require('../../buttons-0e0683d9.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -12,7 +12,7 @@ var ChevronForwardHeavyMIcon = require('@alfalab/icons-glyph/ChevronForwardHeavy
|
|
|
12
12
|
var context = require('../../context.js');
|
|
13
13
|
var utils_utils = require('../../utils/utils.js');
|
|
14
14
|
var utils_constants = require('../../utils/constants.js');
|
|
15
|
-
var components_imageViewer_slide = require('../../slide-
|
|
15
|
+
var components_imageViewer_slide = require('../../slide-3d8ed06b.js');
|
|
16
16
|
require('swiper/swiper.min.css');
|
|
17
17
|
|
|
18
18
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|