@alfalab/core-components 45.8.0-beta.1 → 45.8.0-beta.2
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.d.ts +4 -0
- package/base-modal/Component.js +28 -11
- package/base-modal/cssm/Component.d.ts +4 -0
- package/base-modal/cssm/Component.js +28 -11
- package/base-modal/cssm/helpers/lockScroll.d.ts +4 -0
- package/base-modal/cssm/helpers/lockScroll.js +18 -0
- package/base-modal/cssm/utils.d.ts +1 -1
- package/base-modal/cssm/utils.js +5 -2
- package/base-modal/esm/Component.d.ts +4 -0
- package/base-modal/esm/Component.js +29 -12
- package/base-modal/esm/helpers/lockScroll.d.ts +4 -0
- package/base-modal/esm/helpers/lockScroll.js +14 -0
- package/base-modal/esm/index.js +1 -0
- package/base-modal/esm/utils.d.ts +1 -1
- package/base-modal/esm/utils.js +5 -2
- package/base-modal/helpers/lockScroll.d.ts +4 -0
- package/base-modal/helpers/lockScroll.js +18 -0
- package/base-modal/modern/Component.d.ts +4 -0
- package/base-modal/modern/Component.js +22 -5
- package/base-modal/modern/helpers/lockScroll.d.ts +4 -0
- package/base-modal/modern/helpers/lockScroll.js +14 -0
- package/base-modal/modern/index.js +1 -0
- package/base-modal/modern/utils.d.ts +1 -1
- package/base-modal/modern/utils.js +4 -2
- package/base-modal/utils.d.ts +1 -1
- package/base-modal/utils.js +5 -2
- package/bottom-sheet/component.js +12 -22
- package/bottom-sheet/cssm/component.js +12 -22
- package/bottom-sheet/esm/component.js +12 -23
- package/bottom-sheet/esm/index.js +0 -2
- package/bottom-sheet/modern/component.js +9 -23
- package/bottom-sheet/modern/index.js +0 -2
- 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-bdb4c6b9.d.ts +9 -2
- package/international-phone-input/cssm/typings-57569e57.d.ts +2 -18
- package/international-phone-input/esm/index-bdb4c6b9.d.ts +9 -2
- package/international-phone-input/esm/typings-57569e57.d.ts +2 -18
- package/international-phone-input/index-bdb4c6b9.d.ts +9 -2
- package/international-phone-input/modern/index-bdb4c6b9.d.ts +9 -2
- package/international-phone-input/modern/typings-57569e57.d.ts +2 -18
- package/international-phone-input/typings-57569e57.d.ts +2 -18
- 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/package.json +1 -1
- package/picker-button/cssm/index-bdb4c6b9.d.ts +9 -2
- package/picker-button/cssm/typings-57569e57.d.ts +2 -18
- package/picker-button/esm/index-bdb4c6b9.d.ts +9 -2
- package/picker-button/esm/typings-57569e57.d.ts +2 -18
- package/picker-button/index-bdb4c6b9.d.ts +9 -2
- package/picker-button/modern/index-bdb4c6b9.d.ts +9 -2
- package/picker-button/modern/typings-57569e57.d.ts +2 -18
- package/picker-button/typings-57569e57.d.ts +2 -18
- package/pure-cell/component.js +1 -1
- package/pure-cell/components/addon/component.js +1 -1
- package/pure-cell/components/addon/index.d.ts +1 -1
- package/pure-cell/components/addon/index.js +1 -1
- package/pure-cell/components/amount/component.js +1 -1
- package/pure-cell/components/amount/index.d.ts +1 -1
- package/pure-cell/components/amount/index.js +1 -1
- package/pure-cell/components/amount-title/component.js +1 -1
- package/pure-cell/components/amount-title/index.d.ts +1 -1
- package/pure-cell/components/amount-title/index.js +1 -1
- package/pure-cell/components/category/component.js +1 -1
- package/pure-cell/components/category/index.d.ts +1 -1
- package/pure-cell/components/category/index.js +1 -1
- package/pure-cell/components/content/component.js +1 -1
- package/pure-cell/components/content/index.d.ts +1 -1
- package/pure-cell/components/content/index.js +1 -1
- package/pure-cell/components/footer/component.js +1 -1
- package/pure-cell/components/footer/index.d.ts +1 -1
- package/pure-cell/components/footer/index.js +1 -1
- package/pure-cell/components/footer-button/component.js +1 -1
- package/pure-cell/components/footer-button/index.d.ts +1 -1
- package/pure-cell/components/footer-button/index.js +1 -1
- package/pure-cell/components/footer-text/component.js +1 -1
- package/pure-cell/components/footer-text/index.d.ts +1 -1
- package/pure-cell/components/footer-text/index.js +1 -1
- package/pure-cell/components/graphics/component.js +1 -1
- package/pure-cell/components/graphics/index.d.ts +1 -1
- package/pure-cell/components/graphics/index.js +1 -1
- package/pure-cell/components/main/component.js +1 -1
- package/pure-cell/components/main/index.d.ts +1 -1
- package/pure-cell/components/main/index.js +1 -1
- package/pure-cell/components/text/component.js +1 -1
- package/pure-cell/components/text/index.d.ts +1 -1
- package/pure-cell/components/text/index.js +1 -1
- package/pure-cell/esm/component.js +1 -1
- package/pure-cell/esm/components/addon/component.js +1 -1
- package/pure-cell/esm/components/addon/index.d.ts +1 -1
- package/pure-cell/esm/components/addon/index.js +1 -1
- package/pure-cell/esm/components/amount/component.js +1 -1
- package/pure-cell/esm/components/amount/index.d.ts +1 -1
- package/pure-cell/esm/components/amount/index.js +1 -1
- package/pure-cell/esm/components/amount-title/component.js +1 -1
- package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
- package/pure-cell/esm/components/amount-title/index.js +1 -1
- package/pure-cell/esm/components/category/component.js +1 -1
- package/pure-cell/esm/components/category/index.d.ts +1 -1
- package/pure-cell/esm/components/category/index.js +1 -1
- package/pure-cell/esm/components/content/component.js +1 -1
- package/pure-cell/esm/components/content/index.d.ts +1 -1
- package/pure-cell/esm/components/content/index.js +1 -1
- package/pure-cell/esm/components/footer/component.js +1 -1
- package/pure-cell/esm/components/footer/index.d.ts +1 -1
- package/pure-cell/esm/components/footer/index.js +1 -1
- package/pure-cell/esm/components/footer-button/component.js +1 -1
- package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-button/index.js +1 -1
- package/pure-cell/esm/components/footer-text/component.js +1 -1
- package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-text/index.js +1 -1
- package/pure-cell/esm/components/graphics/component.js +1 -1
- package/pure-cell/esm/components/graphics/index.d.ts +1 -1
- package/pure-cell/esm/components/graphics/index.js +1 -1
- package/pure-cell/esm/components/main/component.js +1 -1
- package/pure-cell/esm/components/main/index.d.ts +1 -1
- package/pure-cell/esm/components/main/index.js +1 -1
- package/pure-cell/esm/components/text/component.js +1 -1
- package/pure-cell/esm/components/text/index.d.ts +1 -1
- package/pure-cell/esm/components/text/index.js +1 -1
- package/pure-cell/esm/index.js +1 -1
- package/pure-cell/index.js +1 -1
- package/pure-cell/modern/component.js +1 -1
- package/pure-cell/modern/components/addon/component.js +1 -1
- package/pure-cell/modern/components/addon/index.d.ts +1 -1
- package/pure-cell/modern/components/addon/index.js +1 -1
- package/pure-cell/modern/components/amount/component.js +1 -1
- package/pure-cell/modern/components/amount/index.d.ts +1 -1
- package/pure-cell/modern/components/amount/index.js +1 -1
- package/pure-cell/modern/components/amount-title/component.js +1 -1
- package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
- package/pure-cell/modern/components/amount-title/index.js +1 -1
- package/pure-cell/modern/components/category/component.js +1 -1
- package/pure-cell/modern/components/category/index.d.ts +1 -1
- package/pure-cell/modern/components/category/index.js +1 -1
- package/pure-cell/modern/components/content/component.js +1 -1
- package/pure-cell/modern/components/content/index.d.ts +1 -1
- package/pure-cell/modern/components/content/index.js +1 -1
- package/pure-cell/modern/components/footer/component.js +1 -1
- package/pure-cell/modern/components/footer/index.d.ts +1 -1
- package/pure-cell/modern/components/footer/index.js +1 -1
- package/pure-cell/modern/components/footer-button/component.js +1 -1
- package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-button/index.js +1 -1
- package/pure-cell/modern/components/footer-text/component.js +1 -1
- package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-text/index.js +1 -1
- package/pure-cell/modern/components/graphics/component.js +1 -1
- package/pure-cell/modern/components/graphics/index.d.ts +1 -1
- package/pure-cell/modern/components/graphics/index.js +1 -1
- package/pure-cell/modern/components/main/component.js +1 -1
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +1 -1
- package/pure-cell/modern/components/text/component.js +1 -1
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +1 -1
- package/pure-cell/modern/index.js +1 -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/themes/compiled/mobile-dark-bluetint.css +211 -72
- package/universal-date-input/cssm/index-5712fce2.d.ts +8 -1
- package/universal-date-input/esm/index-5712fce2.d.ts +8 -1
- package/universal-date-input/index-5712fce2.d.ts +8 -1
- package/universal-date-input/modern/index-5712fce2.d.ts +8 -1
- package/bottom-sheet/consts/swipeConsts.d.ts +0 -2
- package/bottom-sheet/consts/swipeConsts.js +0 -7
- package/bottom-sheet/cssm/consts/swipeConsts.d.ts +0 -2
- package/bottom-sheet/cssm/consts/swipeConsts.js +0 -7
- package/bottom-sheet/cssm/enums/swipeEnums.d.ts +0 -7
- package/bottom-sheet/cssm/enums/swipeEnums.js +0 -9
- package/bottom-sheet/cssm/types/swipeTypes.d.ts +0 -9
- package/bottom-sheet/cssm/types/swipeTypes.js +0 -1
- package/bottom-sheet/enums/swipeEnums.d.ts +0 -7
- package/bottom-sheet/enums/swipeEnums.js +0 -9
- package/bottom-sheet/esm/consts/swipeConsts.d.ts +0 -2
- package/bottom-sheet/esm/consts/swipeConsts.js +0 -5
- package/bottom-sheet/esm/enums/swipeEnums.d.ts +0 -7
- package/bottom-sheet/esm/enums/swipeEnums.js +0 -9
- package/bottom-sheet/esm/types/swipeTypes.d.ts +0 -9
- package/bottom-sheet/esm/types/swipeTypes.js +0 -1
- package/bottom-sheet/modern/consts/swipeConsts.d.ts +0 -2
- package/bottom-sheet/modern/consts/swipeConsts.js +0 -5
- package/bottom-sheet/modern/enums/swipeEnums.d.ts +0 -7
- package/bottom-sheet/modern/enums/swipeEnums.js +0 -9
- package/bottom-sheet/modern/types/swipeTypes.d.ts +0 -9
- package/bottom-sheet/modern/types/swipeTypes.js +0 -1
- package/bottom-sheet/types/swipeTypes.d.ts +0 -9
- package/bottom-sheet/types/swipeTypes.js +0 -1
- /package/confirmation/{countdown-section-b30d5212.d.ts → countdown-section-9194293e.d.ts} +0 -0
- /package/confirmation/{countdown-section-b30d5212.js → countdown-section-9194293e.js} +0 -0
- /package/confirmation/esm/{countdown-section-c4f73a77.d.ts → countdown-section-fc384721.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-c4f73a77.js → countdown-section-fc384721.js} +0 -0
- /package/confirmation/modern/{countdown-section-f3215ad8.d.ts → countdown-section-f33e01b7.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-f3215ad8.js → countdown-section-f33e01b7.js} +0 -0
- /package/gallery/{buttons-01e8353f.d.ts → buttons-160fdb5a.d.ts} +0 -0
- /package/gallery/{buttons-01e8353f.js → buttons-160fdb5a.js} +0 -0
- /package/gallery/esm/{buttons-85c1b9a3.d.ts → buttons-f951e5ce.d.ts} +0 -0
- /package/gallery/esm/{buttons-85c1b9a3.js → buttons-f951e5ce.js} +0 -0
- /package/gallery/esm/{slide-530dfb83.d.ts → slide-3595abb4.d.ts} +0 -0
- /package/gallery/esm/{slide-530dfb83.js → slide-3595abb4.js} +0 -0
- /package/gallery/modern/{buttons-5f86c790.d.ts → buttons-a3ff616b.d.ts} +0 -0
- /package/gallery/modern/{buttons-5f86c790.js → buttons-a3ff616b.js} +0 -0
- /package/gallery/modern/{slide-afec4d99.d.ts → slide-acb49e8e.d.ts} +0 -0
- /package/gallery/modern/{slide-afec4d99.js → slide-acb49e8e.js} +0 -0
- /package/gallery/{slide-18998644.d.ts → slide-2268997b.d.ts} +0 -0
- /package/gallery/{slide-18998644.js → slide-2268997b.js} +0 -0
- /package/modal/esm/{layout.module-1b8afca9.js → layout.module-2fe04090.js} +0 -0
- /package/modal/{layout.module-3eb92921.js → layout.module-8adfa2ca.js} +0 -0
- /package/modal/modern/{layout.module-13b15398.js → layout.module-5847d827.js} +0 -0
- /package/pure-cell/{component-5e8acf12.d.ts → component-41907143.d.ts} +0 -0
- /package/pure-cell/{component-5e8acf12.js → component-41907143.js} +0 -0
- /package/pure-cell/esm/{component-f28a5631.d.ts → component-e23350f5.d.ts} +0 -0
- /package/pure-cell/esm/{component-f28a5631.js → component-e23350f5.js} +0 -0
- /package/pure-cell/modern/{component-10bc9276.d.ts → component-b9194169.d.ts} +0 -0
- /package/pure-cell/modern/{component-10bc9276.js → component-b9194169.js} +0 -0
- /package/select/esm/{hook-aa7d4c07.d.ts → hook-c0758dcd.d.ts} +0 -0
- /package/select/esm/{hook-aa7d4c07.js → hook-c0758dcd.js} +0 -0
- /package/select/{hook-f0adfa6b.d.ts → hook-10a14b43.d.ts} +0 -0
- /package/select/{hook-f0adfa6b.js → hook-10a14b43.js} +0 -0
- /package/select/modern/{hook-d72e58c4.d.ts → hook-5ccdb908.d.ts} +0 -0
- /package/select/modern/{hook-d72e58c4.js → hook-5ccdb908.js} +0 -0
- /package/side-panel/esm/{layout.module-d6ca40a5.js → layout.module-a9e68775.js} +0 -0
- /package/side-panel/{layout.module-85234bb1.js → layout.module-df4fedc9.js} +0 -0
- /package/side-panel/modern/{layout.module-9f8549ee.js → layout.module-d348cc57.js} +0 -0
|
@@ -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-f33e01b7.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-f33e01b7.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-160fdb5a.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-160fdb5a.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-2268997b.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 }; }
|
|
@@ -6,7 +6,7 @@ require('../../../typography');
|
|
|
6
6
|
require('../../utils/utils.js');
|
|
7
7
|
require('../../utils/constants.js');
|
|
8
8
|
require('./paths.js');
|
|
9
|
-
var components_imageViewer_slide = require('../../slide-
|
|
9
|
+
var components_imageViewer_slide = require('../../slide-2268997b.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
package/gallery/esm/Component.js
CHANGED
|
@@ -20,13 +20,13 @@ import '@alfalab/icons-glyph/PointerDownMIcon';
|
|
|
20
20
|
import './components/image-preview/paths.js';
|
|
21
21
|
import './components/header-info-block/Component.js';
|
|
22
22
|
import './utils/split-filename.js';
|
|
23
|
-
import './buttons-
|
|
23
|
+
import './buttons-f951e5ce.js';
|
|
24
24
|
import 'element-closest';
|
|
25
25
|
import 'swiper';
|
|
26
26
|
import 'swiper/react';
|
|
27
27
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
28
28
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
29
|
-
import './slide-
|
|
29
|
+
import './slide-3595abb4.js';
|
|
30
30
|
import './components/image-viewer/paths.js';
|
|
31
31
|
import 'swiper/swiper.min.css';
|
|
32
32
|
|
|
@@ -3,7 +3,7 @@ import { GalleryContext } from '../../context.js';
|
|
|
3
3
|
import { isSmallImage } from '../../utils/utils.js';
|
|
4
4
|
import { TestIds } from '../../utils/constants.js';
|
|
5
5
|
import { HeaderInfoBlock } from '../header-info-block/Component.js';
|
|
6
|
-
import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-
|
|
6
|
+
import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-f951e5ce.js';
|
|
7
7
|
import '../../../../typography/esm';
|
|
8
8
|
import '../../utils/split-filename.js';
|
|
9
9
|
import 'tslib';
|
|
@@ -6,4 +6,4 @@ import '@alfalab/icons-glyph/ArrowsInwardMIcon';
|
|
|
6
6
|
import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
8
8
|
import '@alfalab/icons-glyph/PointerDownMIcon';
|
|
9
|
-
export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-
|
|
9
|
+
export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-f951e5ce.js';
|
|
@@ -6,7 +6,7 @@ import '../../utils/constants.js';
|
|
|
6
6
|
import '../header-info-block/Component.js';
|
|
7
7
|
import '../../../../typography/esm';
|
|
8
8
|
import '../../utils/split-filename.js';
|
|
9
|
-
import '../../buttons-
|
|
9
|
+
import '../../buttons-f951e5ce.js';
|
|
10
10
|
import 'tslib';
|
|
11
11
|
import '../../../../icon-button/esm';
|
|
12
12
|
import '../../../../tooltip/esm/desktop';
|
|
@@ -20,7 +20,7 @@ import 'swiper/react';
|
|
|
20
20
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
21
21
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
22
22
|
import '../../utils/constants.js';
|
|
23
|
-
import '../../slide-
|
|
23
|
+
import '../../slide-3595abb4.js';
|
|
24
24
|
import '../image-viewer/paths.js';
|
|
25
25
|
import 'swiper/swiper.min.css';
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ import '@alfalab/hooks';
|
|
|
20
20
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
21
21
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
22
22
|
import '../../utils/constants.js';
|
|
23
|
-
import '../../slide-
|
|
23
|
+
import '../../slide-3595abb4.js';
|
|
24
24
|
import '../image-viewer/paths.js';
|
|
25
25
|
import 'swiper/swiper.min.css';
|
|
26
26
|
import './paths.js';
|
|
@@ -10,7 +10,7 @@ import { ChevronForwardHeavyMIcon } from '@alfalab/icons-glyph/ChevronForwardHea
|
|
|
10
10
|
import { GalleryContext } from '../../context.js';
|
|
11
11
|
import { getImageAlt, getImageKey } from '../../utils/utils.js';
|
|
12
12
|
import { TestIds } from '../../utils/constants.js';
|
|
13
|
-
import { s as styles, S as Slide } from '../../slide-
|
|
13
|
+
import { s as styles, S as Slide } from '../../slide-3595abb4.js';
|
|
14
14
|
import 'swiper/swiper.min.css';
|
|
15
15
|
import '../../../../typography/esm';
|
|
16
16
|
import './paths.js';
|
|
@@ -11,7 +11,7 @@ import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
|
11
11
|
import '../../context.js';
|
|
12
12
|
import '../../utils/utils.js';
|
|
13
13
|
import '../../utils/constants.js';
|
|
14
|
-
import '../../slide-
|
|
14
|
+
import '../../slide-3595abb4.js';
|
|
15
15
|
import '../../../../typography/esm';
|
|
16
16
|
import './paths.js';
|
|
17
17
|
import 'swiper/swiper.min.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
3
|
import '../../../../typography/esm';
|
|
4
|
-
export { S as Slide } from '../../slide-
|
|
4
|
+
export { S as Slide } from '../../slide-3595abb4.js';
|
|
5
5
|
import '../../utils/utils.js';
|
|
6
6
|
import '../../utils/constants.js';
|
|
7
7
|
import './paths.js';
|
|
@@ -22,10 +22,10 @@ import 'swiper/react';
|
|
|
22
22
|
import '@alfalab/hooks';
|
|
23
23
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
24
24
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
25
|
-
import '../slide-
|
|
25
|
+
import '../slide-3595abb4.js';
|
|
26
26
|
import './image-viewer/paths.js';
|
|
27
27
|
import 'swiper/swiper.min.css';
|
|
28
28
|
import './image-preview/paths.js';
|
|
29
29
|
import './header-info-block/Component.js';
|
|
30
30
|
import '../utils/split-filename.js';
|
|
31
|
-
import '../buttons-
|
|
31
|
+
import '../buttons-f951e5ce.js';
|
|
@@ -20,7 +20,7 @@ import 'swiper/react';
|
|
|
20
20
|
import '@alfalab/hooks';
|
|
21
21
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
22
22
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
23
|
-
import '../../slide-
|
|
23
|
+
import '../../slide-3595abb4.js';
|
|
24
24
|
import '../image-viewer/paths.js';
|
|
25
25
|
import 'swiper/swiper.min.css';
|
|
26
26
|
import '../image-preview/paths.js';
|
|
@@ -21,7 +21,7 @@ import 'swiper/react';
|
|
|
21
21
|
import '@alfalab/hooks';
|
|
22
22
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
23
23
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
24
|
-
import '../../slide-
|
|
24
|
+
import '../../slide-3595abb4.js';
|
|
25
25
|
import '../image-viewer/paths.js';
|
|
26
26
|
import 'swiper/swiper.min.css';
|
|
27
27
|
import '../image-preview/paths.js';
|
package/gallery/esm/index.js
CHANGED
|
@@ -23,10 +23,10 @@ import 'swiper/react';
|
|
|
23
23
|
import '@alfalab/hooks';
|
|
24
24
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
25
25
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
26
|
-
import './slide-
|
|
26
|
+
import './slide-3595abb4.js';
|
|
27
27
|
import './components/image-viewer/paths.js';
|
|
28
28
|
import 'swiper/swiper.min.css';
|
|
29
29
|
import './components/image-preview/paths.js';
|
|
30
30
|
import './components/header/Component.js';
|
|
31
31
|
import './components/header-info-block/Component.js';
|
|
32
|
-
import './buttons-
|
|
32
|
+
import './buttons-f951e5ce.js';
|
|
@@ -19,13 +19,13 @@ import '@alfalab/icons-glyph/PointerDownMIcon';
|
|
|
19
19
|
import './components/image-preview/paths.js';
|
|
20
20
|
import './components/header-info-block/Component.js';
|
|
21
21
|
import './utils/split-filename.js';
|
|
22
|
-
import './buttons-
|
|
22
|
+
import './buttons-a3ff616b.js';
|
|
23
23
|
import 'element-closest';
|
|
24
24
|
import 'swiper';
|
|
25
25
|
import 'swiper/react';
|
|
26
26
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
27
27
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
28
|
-
import './slide-
|
|
28
|
+
import './slide-acb49e8e.js';
|
|
29
29
|
import './components/image-viewer/paths.js';
|
|
30
30
|
import 'swiper/swiper.min.css';
|
|
31
31
|
|
|
@@ -3,7 +3,7 @@ import { GalleryContext } from '../../context.js';
|
|
|
3
3
|
import { isSmallImage } from '../../utils/utils.js';
|
|
4
4
|
import { TestIds } from '../../utils/constants.js';
|
|
5
5
|
import { HeaderInfoBlock } from '../header-info-block/Component.js';
|
|
6
|
-
import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-
|
|
6
|
+
import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-a3ff616b.js';
|
|
7
7
|
import '../../../../typography/modern';
|
|
8
8
|
import '../../utils/split-filename.js';
|
|
9
9
|
import '../../../../icon-button/modern';
|
|
@@ -5,4 +5,4 @@ import '@alfalab/icons-glyph/ArrowsInwardMIcon';
|
|
|
5
5
|
import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
|
|
6
6
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/PointerDownMIcon';
|
|
8
|
-
export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-
|
|
8
|
+
export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-a3ff616b.js';
|
|
@@ -6,7 +6,7 @@ import '../../utils/constants.js';
|
|
|
6
6
|
import '../header-info-block/Component.js';
|
|
7
7
|
import '../../../../typography/modern';
|
|
8
8
|
import '../../utils/split-filename.js';
|
|
9
|
-
import '../../buttons-
|
|
9
|
+
import '../../buttons-a3ff616b.js';
|
|
10
10
|
import '../../../../icon-button/modern';
|
|
11
11
|
import '../../../../tooltip/modern/desktop';
|
|
12
12
|
import '@alfalab/icons-glyph/ArrowsInwardMIcon';
|
|
@@ -19,7 +19,7 @@ import 'swiper/react';
|
|
|
19
19
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
20
20
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
21
21
|
import '../../utils/constants.js';
|
|
22
|
-
import '../../slide-
|
|
22
|
+
import '../../slide-acb49e8e.js';
|
|
23
23
|
import '../image-viewer/paths.js';
|
|
24
24
|
import 'swiper/swiper.min.css';
|
|
25
25
|
|
|
@@ -19,7 +19,7 @@ import '@alfalab/hooks';
|
|
|
19
19
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
20
20
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
21
21
|
import '../../utils/constants.js';
|
|
22
|
-
import '../../slide-
|
|
22
|
+
import '../../slide-acb49e8e.js';
|
|
23
23
|
import '../image-viewer/paths.js';
|
|
24
24
|
import 'swiper/swiper.min.css';
|
|
25
25
|
import './paths.js';
|
|
@@ -9,7 +9,7 @@ import { ChevronForwardHeavyMIcon } from '@alfalab/icons-glyph/ChevronForwardHea
|
|
|
9
9
|
import { GalleryContext } from '../../context.js';
|
|
10
10
|
import { getImageAlt, getImageKey } from '../../utils/utils.js';
|
|
11
11
|
import { TestIds } from '../../utils/constants.js';
|
|
12
|
-
import { s as styles, S as Slide } from '../../slide-
|
|
12
|
+
import { s as styles, S as Slide } from '../../slide-acb49e8e.js';
|
|
13
13
|
import 'swiper/swiper.min.css';
|
|
14
14
|
import '../../../../typography/modern';
|
|
15
15
|
import './paths.js';
|
|
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
|
10
10
|
import '../../context.js';
|
|
11
11
|
import '../../utils/utils.js';
|
|
12
12
|
import '../../utils/constants.js';
|
|
13
|
-
import '../../slide-
|
|
13
|
+
import '../../slide-acb49e8e.js';
|
|
14
14
|
import '../../../../typography/modern';
|
|
15
15
|
import './paths.js';
|
|
16
16
|
import 'swiper/swiper.min.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
3
|
import '../../../../typography/modern';
|
|
4
|
-
export { S as Slide } from '../../slide-
|
|
4
|
+
export { S as Slide } from '../../slide-acb49e8e.js';
|
|
5
5
|
import '../../utils/utils.js';
|
|
6
6
|
import '../../utils/constants.js';
|
|
7
7
|
import './paths.js';
|
|
@@ -21,10 +21,10 @@ import 'swiper/react';
|
|
|
21
21
|
import '@alfalab/hooks';
|
|
22
22
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
23
23
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
24
|
-
import '../slide-
|
|
24
|
+
import '../slide-acb49e8e.js';
|
|
25
25
|
import './image-viewer/paths.js';
|
|
26
26
|
import 'swiper/swiper.min.css';
|
|
27
27
|
import './image-preview/paths.js';
|
|
28
28
|
import './header-info-block/Component.js';
|
|
29
29
|
import '../utils/split-filename.js';
|
|
30
|
-
import '../buttons-
|
|
30
|
+
import '../buttons-a3ff616b.js';
|
|
@@ -19,7 +19,7 @@ import 'swiper/react';
|
|
|
19
19
|
import '@alfalab/hooks';
|
|
20
20
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
21
21
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
22
|
-
import '../../slide-
|
|
22
|
+
import '../../slide-acb49e8e.js';
|
|
23
23
|
import '../image-viewer/paths.js';
|
|
24
24
|
import 'swiper/swiper.min.css';
|
|
25
25
|
import '../image-preview/paths.js';
|
|
@@ -20,7 +20,7 @@ import 'swiper/react';
|
|
|
20
20
|
import '@alfalab/hooks';
|
|
21
21
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
22
22
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
23
|
-
import '../../slide-
|
|
23
|
+
import '../../slide-acb49e8e.js';
|
|
24
24
|
import '../image-viewer/paths.js';
|
|
25
25
|
import 'swiper/swiper.min.css';
|
|
26
26
|
import '../image-preview/paths.js';
|
package/gallery/modern/index.js
CHANGED
|
@@ -22,10 +22,10 @@ import 'swiper/react';
|
|
|
22
22
|
import '@alfalab/hooks';
|
|
23
23
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
24
24
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
25
|
-
import './slide-
|
|
25
|
+
import './slide-acb49e8e.js';
|
|
26
26
|
import './components/image-viewer/paths.js';
|
|
27
27
|
import 'swiper/swiper.min.css';
|
|
28
28
|
import './components/image-preview/paths.js';
|
|
29
29
|
import './components/header/Component.js';
|
|
30
30
|
import './components/header-info-block/Component.js';
|
|
31
|
-
import './buttons-
|
|
31
|
+
import './buttons-a3ff616b.js';
|
|
@@ -134,6 +134,10 @@ type BaseModalProps = {
|
|
|
134
134
|
* Реф, который должен быть установлен компонентной области
|
|
135
135
|
*/
|
|
136
136
|
componentRef?: MutableRefObject<HTMLDivElement | null>;
|
|
137
|
+
/**
|
|
138
|
+
* Блокирует скролл когда модальное окно открыто. Работает только на iOS.
|
|
139
|
+
*/
|
|
140
|
+
iOSLock?: boolean;
|
|
137
141
|
};
|
|
138
142
|
type BaseModalContext = {
|
|
139
143
|
parentRef: React.RefObject<HTMLDivElement>;
|
|
@@ -157,7 +161,10 @@ declare function isScrolledToTop(target: HTMLElement): boolean;
|
|
|
157
161
|
declare function isScrolledToBottom(target: HTMLElement): boolean;
|
|
158
162
|
declare function hasScrollbar(target: HTMLElement): boolean;
|
|
159
163
|
declare const restoreContainerStyles: (container: HTMLElement) => void;
|
|
160
|
-
declare const handleContainer: (container?: HTMLElement) => void;
|
|
164
|
+
declare const handleContainer: (container?: HTMLElement, isIOS?: boolean) => void;
|
|
165
|
+
declare const lockScroll: () => void;
|
|
166
|
+
declare const unlockScroll: () => void;
|
|
167
|
+
declare const syncHeight: () => void;
|
|
161
168
|
type SavedStyle = {
|
|
162
169
|
value: string;
|
|
163
170
|
key: string;
|
|
@@ -179,5 +186,5 @@ declare class GlobalStore {
|
|
|
179
186
|
constructor();
|
|
180
187
|
getModalStore: () => ModalStore;
|
|
181
188
|
}
|
|
182
|
-
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, getModalStore, GlobalStore };
|
|
189
|
+
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, lockScroll, unlockScroll, syncHeight, getModalStore, GlobalStore };
|
|
183
190
|
export type { SavedStyle };
|
|
@@ -8,7 +8,7 @@ import { BaseModalProps, BaseModalContext } from "./index-bdb4c6b9";
|
|
|
8
8
|
import { BaseFormControlProps, BackdropProps } from "./index-ebda875c";
|
|
9
9
|
import { CSSTransitionProps } from "react-transition-group/CSSTransition";
|
|
10
10
|
import { BasePlacement, VariationPlacement } from "@popperjs/core";
|
|
11
|
-
import { SwipeableHandlers
|
|
11
|
+
import { SwipeableHandlers } from "react-swipeable";
|
|
12
12
|
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
13
13
|
import { ButtonProps } from "./index-6d57839f";
|
|
14
14
|
import { ContentProps } from "./typings-88b743b5";
|
|
@@ -672,16 +672,6 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
672
672
|
opacityTimeout?: number;
|
|
673
673
|
};
|
|
674
674
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
675
|
-
declare const horizontalDirections: [
|
|
676
|
-
string,
|
|
677
|
-
string
|
|
678
|
-
];
|
|
679
|
-
type ShouldSkipSwipingParams = {
|
|
680
|
-
deltaY: number;
|
|
681
|
-
startY: number;
|
|
682
|
-
event: HandledEvents;
|
|
683
|
-
dir: SwipeDirections;
|
|
684
|
-
};
|
|
685
675
|
declare const colors: readonly [
|
|
686
676
|
"tertiary",
|
|
687
677
|
"disabled",
|
|
@@ -895,12 +885,6 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
895
885
|
dataTestId?: string | undefined;
|
|
896
886
|
colors?: "default" | "inverted" | undefined;
|
|
897
887
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "breakpoint" | "href" | "Component" | "loading"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
898
|
-
declare enum SwipeDirection {
|
|
899
|
-
Left = "Left",
|
|
900
|
-
Right = "Right",
|
|
901
|
-
Up = "Up",
|
|
902
|
-
Down = "Down"
|
|
903
|
-
}
|
|
904
888
|
declare const Content: FC<ContentProps>;
|
|
905
889
|
type UseSelectWithApplyProps = {
|
|
906
890
|
/**
|
|
@@ -1602,7 +1586,7 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
|
|
|
1602
1586
|
*/
|
|
1603
1587
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
1604
1588
|
};
|
|
1605
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop,
|
|
1589
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, Typography, typographyPresets, TitleResponsive, getDefaultWeight, IconButtonProps, IconButton, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1606
1590
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TitleProps, TextProps, Color };
|
|
1607
1591
|
export { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
1608
1592
|
export type { ContentProps as ModalContentProps } from "./typings-88b743b5";
|
|
@@ -134,6 +134,10 @@ type BaseModalProps = {
|
|
|
134
134
|
* Реф, который должен быть установлен компонентной области
|
|
135
135
|
*/
|
|
136
136
|
componentRef?: MutableRefObject<HTMLDivElement | null>;
|
|
137
|
+
/**
|
|
138
|
+
* Блокирует скролл когда модальное окно открыто. Работает только на iOS.
|
|
139
|
+
*/
|
|
140
|
+
iOSLock?: boolean;
|
|
137
141
|
};
|
|
138
142
|
type BaseModalContext = {
|
|
139
143
|
parentRef: React.RefObject<HTMLDivElement>;
|
|
@@ -157,7 +161,10 @@ declare function isScrolledToTop(target: HTMLElement): boolean;
|
|
|
157
161
|
declare function isScrolledToBottom(target: HTMLElement): boolean;
|
|
158
162
|
declare function hasScrollbar(target: HTMLElement): boolean;
|
|
159
163
|
declare const restoreContainerStyles: (container: HTMLElement) => void;
|
|
160
|
-
declare const handleContainer: (container?: HTMLElement) => void;
|
|
164
|
+
declare const handleContainer: (container?: HTMLElement, isIOS?: boolean) => void;
|
|
165
|
+
declare const lockScroll: () => void;
|
|
166
|
+
declare const unlockScroll: () => void;
|
|
167
|
+
declare const syncHeight: () => void;
|
|
161
168
|
type SavedStyle = {
|
|
162
169
|
value: string;
|
|
163
170
|
key: string;
|
|
@@ -179,5 +186,5 @@ declare class GlobalStore {
|
|
|
179
186
|
constructor();
|
|
180
187
|
getModalStore: () => ModalStore;
|
|
181
188
|
}
|
|
182
|
-
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, getModalStore, GlobalStore };
|
|
189
|
+
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, lockScroll, unlockScroll, syncHeight, getModalStore, GlobalStore };
|
|
183
190
|
export type { SavedStyle };
|
|
@@ -8,7 +8,7 @@ import { BaseModalProps, BaseModalContext } from "./index-bdb4c6b9";
|
|
|
8
8
|
import { BaseFormControlProps, BackdropProps } from "./index-ebda875c";
|
|
9
9
|
import { CSSTransitionProps } from "react-transition-group/CSSTransition";
|
|
10
10
|
import { BasePlacement, VariationPlacement } from "@popperjs/core";
|
|
11
|
-
import { SwipeableHandlers
|
|
11
|
+
import { SwipeableHandlers } from "react-swipeable";
|
|
12
12
|
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
13
13
|
import { ButtonProps } from "./index-6d57839f";
|
|
14
14
|
import { ContentProps } from "./typings-88b743b5";
|
|
@@ -672,16 +672,6 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
672
672
|
opacityTimeout?: number;
|
|
673
673
|
};
|
|
674
674
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
675
|
-
declare const horizontalDirections: [
|
|
676
|
-
string,
|
|
677
|
-
string
|
|
678
|
-
];
|
|
679
|
-
type ShouldSkipSwipingParams = {
|
|
680
|
-
deltaY: number;
|
|
681
|
-
startY: number;
|
|
682
|
-
event: HandledEvents;
|
|
683
|
-
dir: SwipeDirections;
|
|
684
|
-
};
|
|
685
675
|
declare const colors: readonly [
|
|
686
676
|
"tertiary",
|
|
687
677
|
"disabled",
|
|
@@ -895,12 +885,6 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
895
885
|
dataTestId?: string | undefined;
|
|
896
886
|
colors?: "default" | "inverted" | undefined;
|
|
897
887
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "breakpoint" | "href" | "Component" | "loading"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
898
|
-
declare enum SwipeDirection {
|
|
899
|
-
Left = "Left",
|
|
900
|
-
Right = "Right",
|
|
901
|
-
Up = "Up",
|
|
902
|
-
Down = "Down"
|
|
903
|
-
}
|
|
904
888
|
declare const Content: FC<ContentProps>;
|
|
905
889
|
type UseSelectWithApplyProps = {
|
|
906
890
|
/**
|
|
@@ -1602,7 +1586,7 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
|
|
|
1602
1586
|
*/
|
|
1603
1587
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
1604
1588
|
};
|
|
1605
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop,
|
|
1589
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, Typography, typographyPresets, TitleResponsive, getDefaultWeight, IconButtonProps, IconButton, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1606
1590
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TitleProps, TextProps, Color };
|
|
1607
1591
|
export { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
1608
1592
|
export type { ContentProps as ModalContentProps } from "./typings-88b743b5";
|
|
@@ -134,6 +134,10 @@ type BaseModalProps = {
|
|
|
134
134
|
* Реф, который должен быть установлен компонентной области
|
|
135
135
|
*/
|
|
136
136
|
componentRef?: MutableRefObject<HTMLDivElement | null>;
|
|
137
|
+
/**
|
|
138
|
+
* Блокирует скролл когда модальное окно открыто. Работает только на iOS.
|
|
139
|
+
*/
|
|
140
|
+
iOSLock?: boolean;
|
|
137
141
|
};
|
|
138
142
|
type BaseModalContext = {
|
|
139
143
|
parentRef: React.RefObject<HTMLDivElement>;
|
|
@@ -157,7 +161,10 @@ declare function isScrolledToTop(target: HTMLElement): boolean;
|
|
|
157
161
|
declare function isScrolledToBottom(target: HTMLElement): boolean;
|
|
158
162
|
declare function hasScrollbar(target: HTMLElement): boolean;
|
|
159
163
|
declare const restoreContainerStyles: (container: HTMLElement) => void;
|
|
160
|
-
declare const handleContainer: (container?: HTMLElement) => void;
|
|
164
|
+
declare const handleContainer: (container?: HTMLElement, isIOS?: boolean) => void;
|
|
165
|
+
declare const lockScroll: () => void;
|
|
166
|
+
declare const unlockScroll: () => void;
|
|
167
|
+
declare const syncHeight: () => void;
|
|
161
168
|
type SavedStyle = {
|
|
162
169
|
value: string;
|
|
163
170
|
key: string;
|
|
@@ -179,5 +186,5 @@ declare class GlobalStore {
|
|
|
179
186
|
constructor();
|
|
180
187
|
getModalStore: () => ModalStore;
|
|
181
188
|
}
|
|
182
|
-
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, getModalStore, GlobalStore };
|
|
189
|
+
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, lockScroll, unlockScroll, syncHeight, getModalStore, GlobalStore };
|
|
183
190
|
export type { SavedStyle };
|
|
@@ -134,6 +134,10 @@ type BaseModalProps = {
|
|
|
134
134
|
* Реф, который должен быть установлен компонентной области
|
|
135
135
|
*/
|
|
136
136
|
componentRef?: MutableRefObject<HTMLDivElement | null>;
|
|
137
|
+
/**
|
|
138
|
+
* Блокирует скролл когда модальное окно открыто. Работает только на iOS.
|
|
139
|
+
*/
|
|
140
|
+
iOSLock?: boolean;
|
|
137
141
|
};
|
|
138
142
|
type BaseModalContext = {
|
|
139
143
|
parentRef: React.RefObject<HTMLDivElement>;
|
|
@@ -157,7 +161,10 @@ declare function isScrolledToTop(target: HTMLElement): boolean;
|
|
|
157
161
|
declare function isScrolledToBottom(target: HTMLElement): boolean;
|
|
158
162
|
declare function hasScrollbar(target: HTMLElement): boolean;
|
|
159
163
|
declare const restoreContainerStyles: (container: HTMLElement) => void;
|
|
160
|
-
declare const handleContainer: (container?: HTMLElement) => void;
|
|
164
|
+
declare const handleContainer: (container?: HTMLElement, isIOS?: boolean) => void;
|
|
165
|
+
declare const lockScroll: () => void;
|
|
166
|
+
declare const unlockScroll: () => void;
|
|
167
|
+
declare const syncHeight: () => void;
|
|
161
168
|
type SavedStyle = {
|
|
162
169
|
value: string;
|
|
163
170
|
key: string;
|
|
@@ -179,5 +186,5 @@ declare class GlobalStore {
|
|
|
179
186
|
constructor();
|
|
180
187
|
getModalStore: () => ModalStore;
|
|
181
188
|
}
|
|
182
|
-
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, getModalStore, GlobalStore };
|
|
189
|
+
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, lockScroll, unlockScroll, syncHeight, getModalStore, GlobalStore };
|
|
183
190
|
export type { SavedStyle };
|
|
@@ -8,7 +8,7 @@ import { BaseModalProps, BaseModalContext } from "./index-bdb4c6b9";
|
|
|
8
8
|
import { BaseFormControlProps, BackdropProps } from "./index-ebda875c";
|
|
9
9
|
import { CSSTransitionProps } from "react-transition-group/CSSTransition";
|
|
10
10
|
import { BasePlacement, VariationPlacement } from "@popperjs/core";
|
|
11
|
-
import { SwipeableHandlers
|
|
11
|
+
import { SwipeableHandlers } from "react-swipeable";
|
|
12
12
|
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
13
13
|
import { ButtonProps } from "./index-6d57839f";
|
|
14
14
|
import { ContentProps } from "./typings-88b743b5";
|
|
@@ -672,16 +672,6 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
672
672
|
opacityTimeout?: number;
|
|
673
673
|
};
|
|
674
674
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
675
|
-
declare const horizontalDirections: [
|
|
676
|
-
string,
|
|
677
|
-
string
|
|
678
|
-
];
|
|
679
|
-
type ShouldSkipSwipingParams = {
|
|
680
|
-
deltaY: number;
|
|
681
|
-
startY: number;
|
|
682
|
-
event: HandledEvents;
|
|
683
|
-
dir: SwipeDirections;
|
|
684
|
-
};
|
|
685
675
|
declare const colors: readonly [
|
|
686
676
|
"tertiary",
|
|
687
677
|
"disabled",
|
|
@@ -895,12 +885,6 @@ declare const IconButton: React.ForwardRefExoticComponent<{
|
|
|
895
885
|
dataTestId?: string | undefined;
|
|
896
886
|
colors?: "default" | "inverted" | undefined;
|
|
897
887
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "breakpoint" | "href" | "Component" | "loading"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
898
|
-
declare enum SwipeDirection {
|
|
899
|
-
Left = "Left",
|
|
900
|
-
Right = "Right",
|
|
901
|
-
Up = "Up",
|
|
902
|
-
Down = "Down"
|
|
903
|
-
}
|
|
904
888
|
declare const Content: FC<ContentProps>;
|
|
905
889
|
type UseSelectWithApplyProps = {
|
|
906
890
|
/**
|
|
@@ -1602,7 +1586,7 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
|
|
|
1602
1586
|
*/
|
|
1603
1587
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
1604
1588
|
};
|
|
1605
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop,
|
|
1589
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, FormControlProps, FormControl, ModalResponsive as Modal, ModalContext, getModalTestIds, Position, PopoverProps, Popover, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, Typography, typographyPresets, TitleResponsive, getDefaultWeight, IconButtonProps, IconButton, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps };
|
|
1606
1590
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TitleProps, TextProps, Color };
|
|
1607
1591
|
export { ModalResponsiveProps as ModalProps } from "./typings-88b743b5";
|
|
1608
1592
|
export type { ContentProps as ModalContentProps } from "./typings-88b743b5";
|