@alfalab/core-components 37.4.0-beta.0 → 37.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bottom-sheet/{component-18d29cf6.d.ts → component-76590531.d.ts} +5 -1
- package/bottom-sheet/{component-18d29cf6.js → component-76590531.js} +8 -6
- package/bottom-sheet/component.js +3 -2
- package/bottom-sheet/components/backer/Component.js +1 -1
- package/bottom-sheet/components/closer/Component.js +1 -1
- package/bottom-sheet/components/header/Component.js +3 -2
- package/bottom-sheet/components/swipeable-backdrop/Component.js +1 -1
- package/bottom-sheet/{esm/component-fabf6970.d.ts → cssm/component-6162b2b0.d.ts} +5 -1
- package/bottom-sheet/cssm/{component-5384d179.js → component-6162b2b0.js} +7 -5
- package/bottom-sheet/cssm/component.js +2 -1
- package/bottom-sheet/cssm/components/header/Component.js +2 -1
- package/bottom-sheet/cssm/index.d.ts +1 -1
- package/bottom-sheet/cssm/index.js +2 -1
- package/bottom-sheet/{cssm/component-5384d179.d.ts → esm/component-c90eb457.d.ts} +5 -1
- package/bottom-sheet/esm/{component-fabf6970.js → component-c90eb457.js} +7 -6
- package/bottom-sheet/esm/component.js +3 -2
- package/bottom-sheet/esm/components/backer/Component.js +1 -1
- package/bottom-sheet/esm/components/closer/Component.js +1 -1
- package/bottom-sheet/esm/components/header/Component.js +3 -2
- package/bottom-sheet/esm/components/swipeable-backdrop/Component.js +1 -1
- package/bottom-sheet/esm/index.d.ts +1 -1
- package/bottom-sheet/esm/index.js +3 -2
- package/bottom-sheet/esm/{tslib.es6-6b8e7842.d.ts → tslib.es6-240cb031.d.ts} +0 -0
- package/bottom-sheet/esm/{tslib.es6-6b8e7842.js → tslib.es6-240cb031.js} +0 -0
- package/bottom-sheet/index.d.ts +1 -1
- package/bottom-sheet/index.js +3 -2
- package/bottom-sheet/modern/{component-8a9cce5a.d.ts → component-cfa50bb7.d.ts} +5 -1
- package/bottom-sheet/modern/{component-8a9cce5a.js → component-cfa50bb7.js} +3 -2
- package/bottom-sheet/modern/component.js +2 -1
- package/bottom-sheet/modern/components/header/Component.js +2 -1
- package/bottom-sheet/modern/index.d.ts +1 -1
- package/bottom-sheet/modern/index.js +2 -1
- package/bottom-sheet/{tslib.es6-2afc8d84.d.ts → tslib.es6-203ba59d.d.ts} +0 -0
- package/bottom-sheet/{tslib.es6-2afc8d84.js → tslib.es6-203ba59d.js} +0 -0
- package/calendar/Component.desktop.js +1 -1
- package/calendar/Component.responsive.js +1 -1
- package/calendar/components/calendar-mobile/Component.js +1 -1
- package/calendar/components/calendar-mobile/index.js +1 -1
- package/calendar/components/days-table/Component.js +1 -1
- package/calendar/components/days-table/index.js +1 -1
- package/calendar/components/month-year-header/Component.js +1 -1
- package/calendar/components/month-year-header/index.js +1 -1
- package/calendar/components/months-table/Component.js +1 -1
- package/calendar/components/months-table/index.js +1 -1
- package/calendar/components/select-button/Component.js +1 -1
- package/calendar/components/select-button/index.js +1 -1
- package/calendar/components/years-table/Component.js +1 -1
- package/calendar/components/years-table/index.js +1 -1
- package/calendar/desktop.js +1 -1
- package/calendar/esm/Component.desktop.js +1 -1
- package/calendar/esm/Component.responsive.js +1 -1
- package/calendar/esm/components/calendar-mobile/Component.js +1 -1
- package/calendar/esm/components/calendar-mobile/index.js +1 -1
- package/calendar/esm/components/days-table/Component.js +1 -1
- package/calendar/esm/components/days-table/index.js +1 -1
- package/calendar/esm/components/month-year-header/Component.js +1 -1
- package/calendar/esm/components/month-year-header/index.js +1 -1
- package/calendar/esm/components/months-table/Component.js +1 -1
- package/calendar/esm/components/months-table/index.js +1 -1
- package/calendar/esm/components/select-button/Component.js +1 -1
- package/calendar/esm/components/select-button/index.js +1 -1
- package/calendar/esm/components/years-table/Component.js +1 -1
- package/calendar/esm/components/years-table/index.js +1 -1
- package/calendar/esm/desktop.js +1 -1
- package/calendar/esm/index.js +1 -1
- package/calendar/esm/mobile.js +1 -1
- package/calendar/esm/responsive.js +1 -1
- package/calendar/esm/{tslib.es6-a1993ebf.d.ts → tslib.es6-c912392e.d.ts} +0 -0
- package/calendar/esm/{tslib.es6-a1993ebf.js → tslib.es6-c912392e.js} +0 -0
- package/calendar/index.js +1 -1
- package/calendar/mobile.js +1 -1
- package/calendar/responsive.js +1 -1
- package/calendar/{tslib.es6-280d9e8e.d.ts → tslib.es6-077fd9e4.d.ts} +0 -0
- package/calendar/{tslib.es6-280d9e8e.js → tslib.es6-077fd9e4.js} +0 -0
- package/confirmation/{component-0dd19d7c.d.ts → component-0e95a9bb.d.ts} +0 -0
- package/confirmation/{component-0dd19d7c.js → component-0e95a9bb.js} +0 -0
- package/confirmation/component.desktop.js +2 -2
- package/confirmation/component.mobile.js +2 -2
- package/confirmation/component.responsive.js +2 -2
- package/confirmation/components/base-confirmation/component.js +2 -2
- package/confirmation/components/base-confirmation/index.d.ts +1 -1
- package/confirmation/components/base-confirmation/index.js +2 -2
- package/confirmation/components/index.js +1 -1
- package/confirmation/components/screens/index.js +1 -1
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/components/screens/initial/index.js +1 -1
- package/confirmation/{countdown-section-8a8da22a.d.ts → countdown-section-525f8bae.d.ts} +0 -0
- package/confirmation/{countdown-section-8a8da22a.js → countdown-section-525f8bae.js} +0 -0
- package/confirmation/desktop.js +2 -2
- package/confirmation/esm/{component-66355309.d.ts → component-c931ac83.d.ts} +0 -0
- package/confirmation/esm/{component-66355309.js → component-c931ac83.js} +1 -1
- package/confirmation/esm/component.desktop.js +2 -2
- package/confirmation/esm/component.mobile.js +2 -2
- package/confirmation/esm/component.responsive.js +2 -2
- package/confirmation/esm/components/base-confirmation/component.js +2 -2
- package/confirmation/esm/components/base-confirmation/index.d.ts +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +2 -2
- 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/{countdown-section-f64551d0.d.ts → countdown-section-ad5c0289.d.ts} +0 -0
- package/confirmation/esm/{countdown-section-f64551d0.js → countdown-section-ad5c0289.js} +0 -0
- package/confirmation/esm/desktop.js +2 -2
- package/confirmation/esm/index.js +2 -2
- package/confirmation/esm/mobile.js +2 -2
- package/confirmation/esm/responsive.js +2 -2
- package/confirmation/index.js +2 -2
- package/confirmation/mobile.js +2 -2
- package/confirmation/modern/component.desktop.js +1 -1
- package/confirmation/modern/component.mobile.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/{countdown-section-74cd25d4.d.ts → countdown-section-c9467d25.d.ts} +0 -0
- package/confirmation/modern/{countdown-section-74cd25d4.js → countdown-section-c9467d25.js} +0 -0
- package/confirmation/modern/desktop.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile.js +1 -1
- package/confirmation/modern/responsive.js +1 -1
- package/confirmation/responsive.js +2 -2
- package/gallery/Component.js +2 -2
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/header/index.js +1 -1
- package/gallery/components/image-viewer/component.js +2 -2
- package/gallery/components/image-viewer/index.js +2 -2
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/components/index.js +2 -2
- 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-viewer/component.js +2 -2
- package/gallery/esm/components/image-viewer/index.js +2 -2
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/index.js +2 -2
- package/gallery/esm/{slide-17217ccb.d.ts → slide-afdd2cf5.d.ts} +0 -0
- package/gallery/esm/{slide-17217ccb.js → slide-afdd2cf5.js} +0 -0
- package/gallery/esm/{tslib.es6-9759c4a1.d.ts → tslib.es6-073e9857.d.ts} +0 -0
- package/gallery/esm/{tslib.es6-9759c4a1.js → tslib.es6-073e9857.js} +0 -0
- package/gallery/index.js +2 -2
- package/gallery/modern/Component.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 +1 -1
- package/gallery/modern/index.js +1 -1
- package/gallery/modern/{slide-1fabc3f0.d.ts → slide-a0cba86b.d.ts} +0 -0
- package/gallery/modern/{slide-1fabc3f0.js → slide-a0cba86b.js} +0 -0
- package/gallery/{slide-8e4cad85.d.ts → slide-e8c1c652.d.ts} +0 -0
- package/gallery/{slide-8e4cad85.js → slide-e8c1c652.js} +0 -0
- package/gallery/{tslib.es6-2be5b8d3.d.ts → tslib.es6-b6ad6768.d.ts} +0 -0
- package/gallery/{tslib.es6-2be5b8d3.js → tslib.es6-b6ad6768.js} +0 -0
- package/input-autocomplete/cssm/index-7ca84eff.d.ts +5 -1
- package/input-autocomplete/esm/index-7ca84eff.d.ts +5 -1
- package/input-autocomplete/index-7ca84eff.d.ts +5 -1
- package/input-autocomplete/modern/index-7ca84eff.d.ts +5 -1
- package/modal/Component.desktop.js +1 -1
- package/modal/Component.js +1 -1
- package/modal/Component.mobile.js +1 -1
- package/modal/Component.responsive.js +1 -1
- package/modal/components/closer/Component.js +1 -1
- package/modal/components/header/Component.js +1 -1
- package/modal/desktop.js +1 -1
- package/modal/esm/Component.desktop.js +1 -1
- package/modal/esm/Component.js +1 -1
- package/modal/esm/Component.mobile.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/closer/Component.js +1 -1
- package/modal/esm/components/header/Component.js +1 -1
- package/modal/esm/desktop.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile.js +1 -1
- package/modal/esm/responsive.js +1 -1
- package/modal/esm/{tslib.es6-e59c7341.d.ts → tslib.es6-928baab2.d.ts} +0 -0
- package/modal/esm/{tslib.es6-e59c7341.js → tslib.es6-928baab2.js} +0 -0
- package/modal/index.js +1 -1
- package/modal/mobile.js +1 -1
- package/modal/responsive.js +1 -1
- package/modal/{tslib.es6-8ff050d5.d.ts → tslib.es6-1a58cc4b.d.ts} +0 -0
- package/modal/{tslib.es6-8ff050d5.js → tslib.es6-1a58cc4b.js} +0 -0
- package/package.json +1 -1
- package/pure-cell/{component-e9b0a10b.d.ts → component-d624a4a8.d.ts} +0 -0
- package/pure-cell/{component-e9b0a10b.js → component-d624a4a8.js} +2 -2
- package/pure-cell/component.js +3 -3
- package/pure-cell/components/addon/component.js +1 -1
- package/pure-cell/components/addon/index.js +1 -1
- package/pure-cell/components/amount/component.js +2 -2
- package/pure-cell/components/amount/index.js +2 -2
- package/pure-cell/components/amount-title/component.js +2 -2
- package/pure-cell/components/amount-title/index.js +2 -2
- package/pure-cell/components/category/component.js +1 -1
- package/pure-cell/components/category/index.js +1 -1
- package/pure-cell/components/content/component.js +3 -3
- package/pure-cell/components/content/index.d.ts +1 -1
- package/pure-cell/components/content/index.js +3 -3
- package/pure-cell/components/footer/component.js +1 -1
- package/pure-cell/components/footer/index.js +1 -1
- package/pure-cell/components/footer-button/component.js +2 -2
- package/pure-cell/components/footer-button/index.js +2 -2
- package/pure-cell/components/footer-text/component.js +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.js +1 -1
- package/pure-cell/components/main/component.js +3 -3
- package/pure-cell/components/main/index.d.ts +1 -1
- package/pure-cell/components/main/index.js +3 -3
- package/pure-cell/components/text/component.js +3 -3
- package/pure-cell/components/text/index.d.ts +1 -1
- package/pure-cell/components/text/index.js +3 -3
- package/pure-cell/esm/{component-7bad58f7.d.ts → component-f7a06e8c.d.ts} +0 -0
- package/pure-cell/esm/{component-7bad58f7.js → component-f7a06e8c.js} +2 -2
- package/pure-cell/esm/component.js +3 -3
- package/pure-cell/esm/components/addon/component.js +1 -1
- package/pure-cell/esm/components/addon/index.js +1 -1
- package/pure-cell/esm/components/amount/component.js +2 -2
- package/pure-cell/esm/components/amount/index.js +2 -2
- package/pure-cell/esm/components/amount-title/component.js +2 -2
- package/pure-cell/esm/components/amount-title/index.js +2 -2
- package/pure-cell/esm/components/category/component.js +1 -1
- package/pure-cell/esm/components/category/index.js +1 -1
- package/pure-cell/esm/components/content/component.js +3 -3
- package/pure-cell/esm/components/content/index.d.ts +1 -1
- package/pure-cell/esm/components/content/index.js +3 -3
- package/pure-cell/esm/components/footer/component.js +1 -1
- package/pure-cell/esm/components/footer/index.js +1 -1
- package/pure-cell/esm/components/footer-button/component.js +2 -2
- package/pure-cell/esm/components/footer-button/index.js +2 -2
- package/pure-cell/esm/components/footer-text/component.js +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.js +1 -1
- package/pure-cell/esm/components/main/component.js +3 -3
- package/pure-cell/esm/components/main/index.d.ts +1 -1
- package/pure-cell/esm/components/main/index.js +3 -3
- package/pure-cell/esm/components/text/component.js +3 -3
- package/pure-cell/esm/components/text/index.d.ts +1 -1
- package/pure-cell/esm/components/text/index.js +3 -3
- package/pure-cell/esm/{getDataTestId-77ab3dae.d.ts → getDataTestId-3493b487.d.ts} +0 -0
- package/pure-cell/esm/{getDataTestId-77ab3dae.js → getDataTestId-3493b487.js} +0 -0
- package/pure-cell/esm/index.js +3 -3
- package/pure-cell/esm/{tslib.es6-d73fdd9f.d.ts → tslib.es6-ae7785f8.d.ts} +0 -0
- package/pure-cell/esm/{tslib.es6-d73fdd9f.js → tslib.es6-ae7785f8.js} +0 -0
- package/pure-cell/{getDataTestId-5376db63.d.ts → getDataTestId-b8c0ec4f.d.ts} +0 -0
- package/pure-cell/{getDataTestId-5376db63.js → getDataTestId-b8c0ec4f.js} +0 -0
- package/pure-cell/index.js +3 -3
- package/pure-cell/modern/{component-e2b2d20c.d.ts → component-eeda9efa.d.ts} +0 -0
- package/pure-cell/modern/{component-e2b2d20c.js → component-eeda9efa.js} +1 -1
- package/pure-cell/modern/component.js +2 -2
- package/pure-cell/modern/components/addon/component.js +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.js +1 -1
- package/pure-cell/modern/components/amount-title/component.js +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.js +1 -1
- package/pure-cell/modern/components/content/component.js +2 -2
- package/pure-cell/modern/components/content/index.d.ts +1 -1
- package/pure-cell/modern/components/content/index.js +2 -2
- package/pure-cell/modern/components/footer/component.js +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.js +1 -1
- package/pure-cell/modern/components/footer-text/component.js +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.js +1 -1
- package/pure-cell/modern/components/main/component.js +2 -2
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +2 -2
- package/pure-cell/modern/components/text/component.js +2 -2
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +2 -2
- package/pure-cell/modern/{getDataTestId-9fdb43b3.d.ts → getDataTestId-39113273.d.ts} +0 -0
- package/pure-cell/modern/{getDataTestId-9fdb43b3.js → getDataTestId-39113273.js} +0 -0
- package/pure-cell/modern/index.js +2 -2
- package/pure-cell/{tslib.es6-1c58e169.d.ts → tslib.es6-edb04fdd.d.ts} +0 -0
- package/pure-cell/{tslib.es6-1c58e169.js → tslib.es6-edb04fdd.js} +0 -0
- package/select/{Component-4a0f00e5.d.ts → Component-902c22f8.d.ts} +3 -3
- package/select/{Component-4a0f00e5.js → Component-902c22f8.js} +10 -9
- package/select/{Component-6276339a.d.ts → Component-c28d8000.d.ts} +0 -0
- package/select/{Component-6276339a.js → Component-c28d8000.js} +1 -1
- package/select/Component.js +2 -2
- package/select/Component.responsive.js +4 -4
- package/select/components/base-option/Component.js +1 -1
- package/select/components/base-option/index.js +1 -1
- package/select/components/base-select/Component.js +2 -2
- package/select/components/base-select/index.d.ts +1 -1
- package/select/components/base-select/index.js +2 -2
- package/select/components/base-select-mobile/Component.js +4 -4
- package/select/components/base-select-mobile/index.css +0 -10
- package/select/components/base-select-mobile/index.d.ts +1 -1
- package/select/components/base-select-mobile/index.js +4 -4
- package/select/components/base-select-mobile/options-list/Component.js +1 -1
- package/select/components/base-select-mobile/options-list/index.css +0 -1
- package/select/components/base-select-mobile/options-list/index.js +1 -1
- package/select/components/base-select-mobile/virtual-options-list/Component.d.ts +2 -1
- package/select/components/base-select-mobile/virtual-options-list/Component.js +7 -7
- package/select/components/base-select-mobile/virtual-options-list/index.css +0 -1
- package/select/components/base-select-mobile/virtual-options-list/index.js +1 -1
- package/select/components/field/Component.js +1 -1
- package/select/components/field/index.js +1 -1
- package/select/components/index.js +4 -4
- package/select/components/native-select/Component.js +1 -1
- package/select/components/native-select/index.js +1 -1
- package/select/components/option/Component.js +1 -1
- package/select/components/option/index.js +1 -1
- package/select/components/options-list/Component.js +1 -1
- package/select/components/options-list/index.js +1 -1
- package/select/components/select-mobile/Component.js +4 -4
- package/select/components/select-mobile/index.d.ts +1 -1
- package/select/components/select-mobile/index.js +4 -4
- package/select/components/select-modal-mobile/Component.js +4 -4
- package/select/components/select-modal-mobile/index.d.ts +1 -1
- package/select/components/select-modal-mobile/index.js +4 -4
- package/select/components/virtual-options-list/Component.js +1 -1
- package/select/components/virtual-options-list/index.js +1 -1
- package/select/cssm/{Component-0f60a5df.d.ts → Component-37ff9d21.d.ts} +3 -3
- package/select/cssm/{Component-0f60a5df.js → Component-37ff9d21.js} +6 -5
- package/select/cssm/Component.responsive.js +1 -1
- package/select/cssm/components/base-select-mobile/Component.js +1 -1
- package/select/cssm/components/base-select-mobile/index.d.ts +1 -1
- package/select/cssm/components/base-select-mobile/index.js +1 -1
- package/select/cssm/components/base-select-mobile/index.module.css +0 -10
- package/select/cssm/components/base-select-mobile/options-list/index.module.css +0 -1
- package/select/cssm/components/base-select-mobile/virtual-options-list/Component.d.ts +2 -1
- package/select/cssm/components/base-select-mobile/virtual-options-list/Component.js +6 -6
- package/select/cssm/components/base-select-mobile/virtual-options-list/index.module.css +0 -1
- package/select/cssm/components/index.js +1 -1
- package/select/cssm/components/select-mobile/Component.js +1 -1
- package/select/cssm/components/select-mobile/index.d.ts +1 -1
- package/select/cssm/components/select-mobile/index.js +1 -1
- package/select/cssm/components/select-modal-mobile/Component.js +1 -1
- package/select/cssm/components/select-modal-mobile/index.d.ts +1 -1
- package/select/cssm/components/select-modal-mobile/index.js +1 -1
- package/select/cssm/index.js +1 -1
- package/select/cssm/presets/index.js +1 -1
- package/select/cssm/presets/useSelectWithApply/hook.js +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/cssm/responsive.js +1 -1
- package/select/esm/{Component-cd830f7b.d.ts → Component-f6828aa2.d.ts} +0 -0
- package/select/esm/{Component-cd830f7b.js → Component-f6828aa2.js} +1 -1
- package/select/esm/{Component-18ad0d6b.d.ts → Component-f8ca7b7e.d.ts} +3 -3
- package/select/esm/{Component-18ad0d6b.js → Component-f8ca7b7e.js} +10 -9
- package/select/esm/Component.js +2 -2
- package/select/esm/Component.responsive.js +4 -4
- package/select/esm/components/base-option/Component.js +1 -1
- package/select/esm/components/base-option/index.js +1 -1
- package/select/esm/components/base-select/Component.js +2 -2
- package/select/esm/components/base-select/index.d.ts +1 -1
- package/select/esm/components/base-select/index.js +2 -2
- package/select/esm/components/base-select-mobile/Component.js +4 -4
- package/select/esm/components/base-select-mobile/index.css +0 -10
- package/select/esm/components/base-select-mobile/index.d.ts +1 -1
- package/select/esm/components/base-select-mobile/index.js +4 -4
- package/select/esm/components/base-select-mobile/options-list/Component.js +1 -1
- package/select/esm/components/base-select-mobile/options-list/index.css +0 -1
- package/select/esm/components/base-select-mobile/options-list/index.js +1 -1
- package/select/esm/components/base-select-mobile/virtual-options-list/Component.d.ts +2 -1
- package/select/esm/components/base-select-mobile/virtual-options-list/Component.js +8 -8
- package/select/esm/components/base-select-mobile/virtual-options-list/index.css +0 -1
- package/select/esm/components/base-select-mobile/virtual-options-list/index.js +1 -1
- package/select/esm/components/field/Component.js +1 -1
- package/select/esm/components/field/index.js +1 -1
- package/select/esm/components/index.js +4 -4
- package/select/esm/components/native-select/Component.js +1 -1
- package/select/esm/components/native-select/index.js +1 -1
- package/select/esm/components/option/Component.js +1 -1
- package/select/esm/components/option/index.js +1 -1
- package/select/esm/components/options-list/Component.js +1 -1
- package/select/esm/components/options-list/index.js +1 -1
- package/select/esm/components/select-mobile/Component.js +4 -4
- package/select/esm/components/select-mobile/index.d.ts +1 -1
- package/select/esm/components/select-mobile/index.js +4 -4
- package/select/esm/components/select-modal-mobile/Component.js +4 -4
- package/select/esm/components/select-modal-mobile/index.d.ts +1 -1
- package/select/esm/components/select-modal-mobile/index.js +4 -4
- package/select/esm/components/virtual-options-list/Component.js +1 -1
- package/select/esm/components/virtual-options-list/index.js +1 -1
- package/select/esm/index.js +4 -4
- package/select/esm/{intersection-observer-b4b778a8.d.ts → intersection-observer-66d0ef98.d.ts} +0 -0
- package/select/esm/{intersection-observer-b4b778a8.js → intersection-observer-66d0ef98.js} +0 -0
- package/select/esm/presets/index.js +4 -4
- package/select/esm/presets/useLazyLoading/hook.js +2 -2
- package/select/esm/presets/useSelectWithApply/hook.js +4 -4
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
- 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 +4 -4
- package/select/esm/presets/useSelectWithLoading/hook.js +1 -1
- package/select/esm/responsive.js +4 -4
- package/select/esm/{tslib.es6-a8aaa603.d.ts → tslib.es6-5b51821c.d.ts} +0 -0
- package/select/esm/{tslib.es6-a8aaa603.js → tslib.es6-5b51821c.js} +0 -0
- package/select/index.js +4 -4
- package/select/{intersection-observer-9e5235a0.d.ts → intersection-observer-2c89c05a.d.ts} +0 -0
- package/select/{intersection-observer-9e5235a0.js → intersection-observer-2c89c05a.js} +0 -0
- package/select/modern/{Component-21acd49a.d.ts → Component-0cf0b97d.d.ts} +0 -0
- package/select/modern/{Component-21acd49a.js → Component-0cf0b97d.js} +0 -0
- package/select/modern/{Component-6d0c20ed.d.ts → Component-82e15643.d.ts} +3 -3
- package/select/modern/{Component-6d0c20ed.js → Component-82e15643.js} +9 -8
- package/select/modern/Component.js +1 -1
- package/select/modern/Component.responsive.js +3 -3
- package/select/modern/components/base-select/Component.js +1 -1
- package/select/modern/components/base-select/index.d.ts +1 -1
- package/select/modern/components/base-select/index.js +1 -1
- package/select/modern/components/base-select-mobile/Component.js +3 -3
- package/select/modern/components/base-select-mobile/index.css +0 -10
- package/select/modern/components/base-select-mobile/index.d.ts +1 -1
- package/select/modern/components/base-select-mobile/index.js +3 -3
- package/select/modern/components/base-select-mobile/options-list/index.css +0 -1
- package/select/modern/components/base-select-mobile/virtual-options-list/Component.d.ts +2 -1
- package/select/modern/components/base-select-mobile/virtual-options-list/Component.js +7 -7
- package/select/modern/components/base-select-mobile/virtual-options-list/index.css +0 -1
- package/select/modern/components/index.js +3 -3
- package/select/modern/components/select-mobile/Component.js +3 -3
- package/select/modern/components/select-mobile/index.d.ts +1 -1
- package/select/modern/components/select-mobile/index.js +3 -3
- package/select/modern/components/select-modal-mobile/Component.js +3 -3
- package/select/modern/components/select-modal-mobile/index.d.ts +1 -1
- package/select/modern/components/select-modal-mobile/index.js +3 -3
- package/select/modern/index.js +3 -3
- package/select/modern/{intersection-observer-b4b778a8.d.ts → intersection-observer-66d0ef98.d.ts} +0 -0
- package/select/modern/{intersection-observer-b4b778a8.js → intersection-observer-66d0ef98.js} +0 -0
- package/select/modern/presets/index.js +3 -3
- package/select/modern/presets/useLazyLoading/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +3 -3
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- 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 +3 -3
- package/select/modern/responsive.js +3 -3
- package/select/presets/index.js +4 -4
- package/select/presets/useLazyLoading/hook.js +2 -2
- package/select/presets/useSelectWithApply/hook.js +4 -4
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +4 -4
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +4 -4
- package/select/presets/useSelectWithLoading/hook.js +1 -1
- package/select/responsive.js +4 -4
- package/select/{tslib.es6-6f11dc9c.d.ts → tslib.es6-c37aac9e.d.ts} +0 -0
- package/select/{tslib.es6-6f11dc9c.js → tslib.es6-c37aac9e.js} +0 -0
- package/side-panel/Component.desktop.js +1 -1
- package/side-panel/Component.mobile.js +1 -1
- package/side-panel/Component.responsive.d.ts +1 -1
- package/side-panel/Component.responsive.js +1 -1
- package/side-panel/components/closer/Component.js +1 -1
- package/side-panel/components/content/Component.desktop.js +1 -1
- package/side-panel/components/content/Component.mobile.js +1 -1
- package/side-panel/components/footer/Component.desktop.js +1 -1
- package/side-panel/components/footer/Component.mobile.js +1 -1
- package/side-panel/components/header/Component.desktop.js +1 -1
- package/side-panel/components/header/Component.js +1 -1
- package/side-panel/components/header/Component.mobile.js +1 -1
- package/side-panel/desktop.js +1 -1
- package/side-panel/esm/Component.desktop.js +1 -1
- package/side-panel/esm/Component.mobile.js +1 -1
- package/side-panel/esm/Component.responsive.d.ts +1 -1
- package/side-panel/esm/Component.responsive.js +1 -1
- package/side-panel/esm/components/closer/Component.js +1 -1
- package/side-panel/esm/components/content/Component.desktop.js +1 -1
- package/side-panel/esm/components/content/Component.mobile.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/components/header/Component.desktop.js +1 -1
- package/side-panel/esm/components/header/Component.js +1 -1
- package/side-panel/esm/components/header/Component.mobile.js +1 -1
- package/side-panel/esm/desktop.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile.js +1 -1
- package/side-panel/esm/responsive.js +1 -1
- package/side-panel/esm/{tslib.es6-f0c673d5.d.ts → tslib.es6-6ee90533.d.ts} +0 -0
- package/side-panel/esm/{tslib.es6-f0c673d5.js → tslib.es6-6ee90533.js} +0 -0
- package/side-panel/index.js +1 -1
- package/side-panel/mobile.js +1 -1
- package/side-panel/responsive.js +1 -1
- package/side-panel/{tslib.es6-66e612d5.d.ts → tslib.es6-2e1d894a.d.ts} +0 -0
- package/side-panel/{tslib.es6-66e612d5.js → tslib.es6-2e1d894a.js} +0 -0
- package/table/component.js +1 -1
- package/table/components/index.js +1 -1
- package/table/components/pagination/Component.js +1 -1
- package/table/components/pagination/index.js +1 -1
- package/table/components/pagination/select-field/index.js +1 -1
- package/table/components/table/Component.js +1 -1
- package/table/components/table/index.js +1 -1
- package/table/components/table/utils.js +1 -1
- package/table/components/tbody/Component.js +1 -1
- package/table/components/tbody/index.js +1 -1
- package/table/components/tcell/Component.js +1 -1
- package/table/components/tcell/index.js +1 -1
- package/table/components/texpandable-row/Component.js +1 -1
- package/table/components/texpandable-row/index.js +1 -1
- package/table/components/thead/Component.js +1 -1
- package/table/components/thead/index.js +1 -1
- package/table/components/thead-cell/Component.js +1 -1
- package/table/components/thead-cell/index.js +1 -1
- package/table/components/trow/Component.js +1 -1
- package/table/components/trow/index.js +1 -1
- package/table/components/tsortable-head-cell/Component.js +1 -1
- package/table/components/tsortable-head-cell/index.js +1 -1
- package/table/components/tsortable-head-cell/sort-icon-asc.js +1 -1
- package/table/components/tsortable-head-cell/sort-icon-desc.js +1 -1
- package/table/components/tsortable-head-cell/sort-icon-unset.js +1 -1
- package/table/esm/component.js +1 -1
- package/table/esm/components/index.js +1 -1
- package/table/esm/components/pagination/Component.js +1 -1
- package/table/esm/components/pagination/index.js +1 -1
- package/table/esm/components/pagination/select-field/index.js +1 -1
- package/table/esm/components/table/Component.js +1 -1
- package/table/esm/components/table/index.js +1 -1
- package/table/esm/components/table/utils.js +1 -1
- package/table/esm/components/tbody/Component.js +1 -1
- package/table/esm/components/tbody/index.js +1 -1
- package/table/esm/components/tcell/Component.js +1 -1
- package/table/esm/components/tcell/index.js +1 -1
- package/table/esm/components/texpandable-row/Component.js +1 -1
- package/table/esm/components/texpandable-row/index.js +1 -1
- package/table/esm/components/thead/Component.js +1 -1
- package/table/esm/components/thead/index.js +1 -1
- package/table/esm/components/thead-cell/Component.js +1 -1
- package/table/esm/components/thead-cell/index.js +1 -1
- package/table/esm/components/trow/Component.js +1 -1
- package/table/esm/components/trow/index.js +1 -1
- package/table/esm/components/tsortable-head-cell/Component.js +1 -1
- package/table/esm/components/tsortable-head-cell/index.js +1 -1
- package/table/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
- package/table/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
- package/table/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
- package/table/esm/index.js +1 -1
- package/table/esm/{tslib.es6-ba3bab18.d.ts → tslib.es6-b7eb5032.d.ts} +0 -0
- package/table/esm/{tslib.es6-ba3bab18.js → tslib.es6-b7eb5032.js} +0 -0
- package/table/index.js +1 -1
- package/table/{tslib.es6-ad4d3e84.d.ts → tslib.es6-619c8081.d.ts} +0 -0
- package/table/{tslib.es6-ad4d3e84.js → tslib.es6-619c8081.js} +0 -0
- package/tabs/components/primary-tablist/Component.desktop.js +2 -2
- package/tabs/components/primary-tablist/Component.js +1 -1
- package/tabs/components/primary-tablist/Component.mobile.js +2 -2
- package/tabs/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/components/secondary-tablist/Component.desktop.js +2 -2
- package/tabs/components/secondary-tablist/Component.js +1 -1
- package/tabs/components/secondary-tablist/Component.mobile.js +2 -2
- package/tabs/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/components/tabs/Component.desktop.js +3 -3
- package/tabs/components/tabs/Component.mobile.js +3 -3
- package/tabs/components/tabs/Component.responsive.js +3 -3
- package/tabs/components/title/Component.js +1 -1
- package/tabs/components/title/index.js +1 -1
- package/tabs/cssm/index-7ca84eff.d.ts +5 -1
- package/tabs/desktop.js +3 -3
- package/tabs/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.mobile.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/secondary-tablist/Component.desktop.js +2 -2
- package/tabs/esm/components/secondary-tablist/Component.js +1 -1
- package/tabs/esm/components/secondary-tablist/Component.mobile.js +2 -2
- package/tabs/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/tabs/Component.desktop.js +3 -3
- package/tabs/esm/components/tabs/Component.mobile.js +3 -3
- package/tabs/esm/components/tabs/Component.responsive.js +3 -3
- package/tabs/esm/components/title/Component.js +1 -1
- package/tabs/esm/components/title/index.js +1 -1
- package/tabs/esm/desktop.js +3 -3
- package/tabs/esm/hooks/use-collapsible-elements.js +1 -1
- package/tabs/esm/hooks/use-tablist-titles.js +1 -1
- package/tabs/esm/index-7ca84eff.d.ts +5 -1
- package/tabs/esm/index.js +3 -3
- package/tabs/esm/{index.module-902509d5.js → index.module-811ec1ef.js} +0 -0
- package/tabs/esm/{index.module-29467572.js → index.module-83633458.js} +0 -0
- package/tabs/esm/mobile.js +3 -3
- package/tabs/esm/responsive.js +3 -3
- package/tabs/esm/synthetic-events.js +1 -1
- package/tabs/esm/{tslib.es6-c87cdecd.d.ts → tslib.es6-6ff1fb2e.d.ts} +0 -0
- package/tabs/esm/{tslib.es6-c87cdecd.js → tslib.es6-6ff1fb2e.js} +0 -0
- package/tabs/hooks/use-collapsible-elements.js +1 -1
- package/tabs/hooks/use-tablist-titles.js +1 -1
- package/tabs/index-7ca84eff.d.ts +5 -1
- package/tabs/index.js +3 -3
- package/tabs/{index.module-4009bf70.js → index.module-4e8ce96d.js} +0 -0
- package/tabs/{index.module-9cb0ede8.js → index.module-f50171a8.js} +0 -0
- package/tabs/mobile.js +3 -3
- package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.mobile.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/tabs/Component.desktop.js +2 -2
- package/tabs/modern/components/tabs/Component.mobile.js +2 -2
- package/tabs/modern/components/tabs/Component.responsive.js +2 -2
- package/tabs/modern/desktop.js +2 -2
- package/tabs/modern/index-7ca84eff.d.ts +5 -1
- package/tabs/modern/index.js +2 -2
- package/tabs/modern/{index.module-b88c2858.js → index.module-026027fb.js} +0 -0
- package/tabs/modern/{index.module-1efd6f70.js → index.module-fe882010.js} +0 -0
- package/tabs/modern/mobile.js +2 -2
- package/tabs/modern/responsive.js +2 -2
- package/tabs/responsive.js +3 -3
- package/tabs/synthetic-events.js +1 -1
- package/tabs/{tslib.es6-52df3112.d.ts → tslib.es6-54350d06.d.ts} +0 -0
- package/tabs/{tslib.es6-52df3112.js → tslib.es6-54350d06.js} +0 -0
- package/themes/compiled/mobile-dark-bluetint.css +23 -23
- package/themes/dist/compiled/mobile-dark-bluetint.css +115 -115
- package/tooltip/{Component-e7af3407.d.ts → Component-cb2ca6c1.d.ts} +0 -0
- package/tooltip/{Component-e7af3407.js → Component-cb2ca6c1.js} +0 -0
- package/tooltip/Component.js +1 -1
- package/tooltip/component.responsive.js +1 -1
- package/tooltip/desktop.d.ts +1 -1
- package/tooltip/desktop.js +1 -1
- package/tooltip/esm/{Component-b09bd3f8.d.ts → Component-f19c0a09.d.ts} +0 -0
- package/tooltip/esm/{Component-b09bd3f8.js → Component-f19c0a09.js} +0 -0
- package/tooltip/esm/Component.js +1 -1
- package/tooltip/esm/component.responsive.js +1 -1
- package/tooltip/esm/desktop.d.ts +1 -1
- package/tooltip/esm/desktop.js +1 -1
- package/tooltip/esm/index.js +1 -1
- package/tooltip/esm/responsive.js +1 -1
- package/tooltip/index.js +1 -1
- package/tooltip/responsive.js +1 -1
- package/typography/{colors.module-d5bf35fb.d.ts → colors.module-6ecd5103.d.ts} +0 -0
- package/typography/{colors.module-d5bf35fb.js → colors.module-6ecd5103.js} +0 -0
- package/typography/{common.module-2155f903.js → common.module-cb8c627a.js} +0 -0
- package/typography/component.js +2 -2
- package/typography/esm/{colors.module-6f2d6a8b.d.ts → colors.module-92dfe00d.d.ts} +0 -0
- package/typography/esm/{colors.module-6f2d6a8b.js → colors.module-92dfe00d.js} +0 -0
- package/typography/esm/{common.module-c92117d9.js → common.module-1c08bf69.js} +0 -0
- package/typography/esm/component.js +2 -2
- package/typography/esm/index.js +2 -2
- package/typography/esm/text/component.js +1 -1
- package/typography/esm/text/index.js +1 -1
- package/typography/esm/title/component.js +1 -1
- package/typography/esm/title/index.js +2 -2
- package/typography/esm/title-mobile/component.js +2 -2
- package/typography/esm/title-mobile/index.js +2 -2
- package/typography/esm/title-responsive/component.js +2 -2
- package/typography/esm/title-responsive/index.js +2 -2
- package/typography/index.js +2 -2
- package/typography/modern/{colors.module-8bf800af.js → colors.module-d40cc505.js} +0 -0
- package/typography/modern/{common.module-70bc77c1.js → common.module-030d19bb.js} +0 -0
- package/typography/modern/component.js +2 -2
- package/typography/modern/index.js +2 -2
- package/typography/modern/text/component.js +1 -1
- package/typography/modern/text/index.js +1 -1
- package/typography/modern/title/component.js +1 -1
- package/typography/modern/title/index.js +2 -2
- package/typography/modern/title-mobile/component.js +2 -2
- package/typography/modern/title-mobile/index.js +2 -2
- package/typography/modern/title-responsive/component.js +2 -2
- package/typography/modern/title-responsive/index.js +2 -2
- package/typography/text/component.js +1 -1
- package/typography/text/index.js +1 -1
- package/typography/title/component.js +1 -1
- package/typography/title/index.js +2 -2
- package/typography/title-mobile/component.js +2 -2
- package/typography/title-mobile/index.js +2 -2
- package/typography/title-responsive/component.js +2 -2
- package/typography/title-responsive/index.js +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react-transition-group" />
|
|
2
2
|
/// <reference types="react" />
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { FC, ReactNode, HTMLAttributes } from "react";
|
|
4
|
+
import { FC, ReactNode, HTMLAttributes, RefObject } from "react";
|
|
5
5
|
import { BottomSheetTitleAlign } from "./index";
|
|
6
6
|
import { TransitionProps } from 'react-transition-group/Transition';
|
|
7
7
|
import { BaseModalProps } from "../base-modal";
|
|
@@ -214,6 +214,10 @@ type BottomSheetProps = {
|
|
|
214
214
|
* Свойства для Бэкдропа
|
|
215
215
|
*/
|
|
216
216
|
backdropProps?: BaseModalProps['backdropProps'];
|
|
217
|
+
/**
|
|
218
|
+
* Реф на контейнер, в котором происходит скролл
|
|
219
|
+
*/
|
|
220
|
+
scrollableContainerRef?: RefObject<HTMLElement>;
|
|
217
221
|
/**
|
|
218
222
|
* Обработчик закрытия
|
|
219
223
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
var tslib_es6 = require('./tslib.es6-
|
|
1
|
+
var tslib_es6 = require('./tslib.es6-203ba59d.js');
|
|
2
2
|
var React = require('react');
|
|
3
3
|
var reactDiv100vh = require('react-div-100vh');
|
|
4
|
+
var mergeRefs = require('react-merge-refs');
|
|
4
5
|
var reactSwipeable = require('react-swipeable');
|
|
5
6
|
var cn = require('classnames');
|
|
6
7
|
var coreComponentsBaseModal = require('../base-modal');
|
|
@@ -13,6 +14,7 @@ var components_closer_Component = require('./components/closer/Component.js');
|
|
|
13
14
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
14
15
|
|
|
15
16
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
17
|
+
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
16
18
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
17
19
|
|
|
18
20
|
var getDataTestId = function (dataTestId, element) {
|
|
@@ -83,10 +85,10 @@ var HEADER_OFFSET = 24;
|
|
|
83
85
|
var CLOSE_OFFSET = 0.2;
|
|
84
86
|
var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
85
87
|
var _b, _c, _d;
|
|
86
|
-
var open = _a.open, title = _a.title, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, backdropProps = _a.backdropProps, onClose = _a.onClose, onBack = _a.onBack;
|
|
87
|
-
var
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var open = _a.open, title = _a.title, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, backdropProps = _a.backdropProps, _k = _a.scrollableContainerRef, scrollableContainerRef = _k === void 0 ? function () { return null; } : _k, onClose = _a.onClose, onBack = _a.onBack;
|
|
89
|
+
var _l = React.useState(0), sheetOffset = _l[0], setSheetOffset = _l[1];
|
|
90
|
+
var _m = React.useState(1), backdropOpacity = _m[0], setBackdropOpacity = _m[1];
|
|
91
|
+
var _o = React.useState(false), scrollLocked = _o[0], setScrollLocked = _o[1];
|
|
90
92
|
var sheetHeight = React.useRef(0);
|
|
91
93
|
var scrollableContainer = React.useRef(null);
|
|
92
94
|
var scrollableContainerScrollValue = React.useRef(0);
|
|
@@ -227,7 +229,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
227
229
|
_b)), style: tslib_es6.__assign(tslib_es6.__assign({}, getSwipeStyles()), getHeightStyles()) }, sheetSwipeablehandlers),
|
|
228
230
|
React__default.default.createElement("div", tslib_es6.__assign({}, containerProps, { className: cn__default.default(styles.scrollableContainer, containerProps === null || containerProps === void 0 ? void 0 : containerProps.className, containerClassName, (_c = {},
|
|
229
231
|
_c[styles.scrollLocked] = scrollLocked,
|
|
230
|
-
_c)), ref: scrollableContainer }),
|
|
232
|
+
_c)), ref: mergeRefs__default.default([scrollableContainer, scrollableContainerRef]) }),
|
|
231
233
|
swipeable && React__default.default.createElement("div", { className: cn__default.default(styles.marker) }),
|
|
232
234
|
!hideHeader && !emptyHeader && React__default.default.createElement(Header, tslib_es6.__assign({}, headerProps)),
|
|
233
235
|
React__default.default.createElement("div", { className: cn__default.default(styles.content, contentClassName, (_d = {},
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
require('./tslib.es6-
|
|
1
|
+
require('./tslib.es6-203ba59d.js');
|
|
2
2
|
require('react');
|
|
3
3
|
require('react-div-100vh');
|
|
4
|
+
require('react-merge-refs');
|
|
4
5
|
require('react-swipeable');
|
|
5
6
|
require('classnames');
|
|
6
7
|
require('../base-modal');
|
|
7
|
-
var components_header_Component = require('./component-
|
|
8
|
+
var components_header_Component = require('./component-76590531.js');
|
|
8
9
|
require('./components/footer/Component.js');
|
|
9
10
|
require('./components/swipeable-backdrop/Component.js');
|
|
10
11
|
require('../typography');
|
|
@@ -2,11 +2,12 @@ require('react');
|
|
|
2
2
|
require('classnames');
|
|
3
3
|
require('../../../base-modal');
|
|
4
4
|
require('../../../typography');
|
|
5
|
-
var components_header_Component = require('../../component-
|
|
5
|
+
var components_header_Component = require('../../component-76590531.js');
|
|
6
6
|
require('../backer/Component.js');
|
|
7
7
|
require('../closer/Component.js');
|
|
8
|
-
require('../../tslib.es6-
|
|
8
|
+
require('../../tslib.es6-203ba59d.js');
|
|
9
9
|
require('react-div-100vh');
|
|
10
|
+
require('react-merge-refs');
|
|
10
11
|
require('react-swipeable');
|
|
11
12
|
require('../footer/Component.js');
|
|
12
13
|
require('../swipeable-backdrop/Component.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react-transition-group" />
|
|
2
2
|
/// <reference types="react" />
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { FC, ReactNode, HTMLAttributes } from "react";
|
|
4
|
+
import { FC, ReactNode, HTMLAttributes, RefObject } from "react";
|
|
5
5
|
import { BottomSheetTitleAlign } from "./index";
|
|
6
6
|
import { TransitionProps } from 'react-transition-group/Transition';
|
|
7
7
|
import { BaseModalProps } from "../../base-modal";
|
|
@@ -214,6 +214,10 @@ type BottomSheetProps = {
|
|
|
214
214
|
* Свойства для Бэкдропа
|
|
215
215
|
*/
|
|
216
216
|
backdropProps?: BaseModalProps['backdropProps'];
|
|
217
|
+
/**
|
|
218
|
+
* Реф на контейнер, в котором происходит скролл
|
|
219
|
+
*/
|
|
220
|
+
scrollableContainerRef?: RefObject<HTMLElement>;
|
|
217
221
|
/**
|
|
218
222
|
* Обработчик закрытия
|
|
219
223
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
var tslib_es6 = require('./tslib.es6-bbd6cd2a.js');
|
|
2
2
|
var React = require('react');
|
|
3
3
|
var reactDiv100vh = require('react-div-100vh');
|
|
4
|
+
var mergeRefs = require('react-merge-refs');
|
|
4
5
|
var reactSwipeable = require('react-swipeable');
|
|
5
6
|
var cn = require('classnames');
|
|
6
7
|
var coreComponentsBaseModal = require('../../base-modal/cssm');
|
|
@@ -15,6 +16,7 @@ var styles = require('./components/header/index.module.css');
|
|
|
15
16
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
17
|
|
|
17
18
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
19
|
+
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
18
20
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
19
21
|
var styles__default$1 = /*#__PURE__*/_interopDefaultCompat(styles$1);
|
|
20
22
|
var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
@@ -81,10 +83,10 @@ var HEADER_OFFSET = 24;
|
|
|
81
83
|
var CLOSE_OFFSET = 0.2;
|
|
82
84
|
var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
83
85
|
var _b, _c, _d;
|
|
84
|
-
var open = _a.open, title = _a.title, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, backdropProps = _a.backdropProps, onClose = _a.onClose, onBack = _a.onBack;
|
|
85
|
-
var
|
|
86
|
-
var
|
|
87
|
-
var
|
|
86
|
+
var open = _a.open, title = _a.title, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, backdropProps = _a.backdropProps, _k = _a.scrollableContainerRef, scrollableContainerRef = _k === void 0 ? function () { return null; } : _k, onClose = _a.onClose, onBack = _a.onBack;
|
|
87
|
+
var _l = React.useState(0), sheetOffset = _l[0], setSheetOffset = _l[1];
|
|
88
|
+
var _m = React.useState(1), backdropOpacity = _m[0], setBackdropOpacity = _m[1];
|
|
89
|
+
var _o = React.useState(false), scrollLocked = _o[0], setScrollLocked = _o[1];
|
|
88
90
|
var sheetHeight = React.useRef(0);
|
|
89
91
|
var scrollableContainer = React.useRef(null);
|
|
90
92
|
var scrollableContainerScrollValue = React.useRef(0);
|
|
@@ -225,7 +227,7 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
225
227
|
_b)), style: tslib_es6.__assign(tslib_es6.__assign({}, getSwipeStyles()), getHeightStyles()) }, sheetSwipeablehandlers),
|
|
226
228
|
React__default.default.createElement("div", tslib_es6.__assign({}, containerProps, { className: cn__default.default(styles__default$1.default.scrollableContainer, containerProps === null || containerProps === void 0 ? void 0 : containerProps.className, containerClassName, (_c = {},
|
|
227
229
|
_c[styles__default$1.default.scrollLocked] = scrollLocked,
|
|
228
|
-
_c)), ref: scrollableContainer }),
|
|
230
|
+
_c)), ref: mergeRefs__default.default([scrollableContainer, scrollableContainerRef]) }),
|
|
229
231
|
swipeable && React__default.default.createElement("div", { className: cn__default.default(styles__default$1.default.marker) }),
|
|
230
232
|
!hideHeader && !emptyHeader && React__default.default.createElement(Header, tslib_es6.__assign({}, headerProps)),
|
|
231
233
|
React__default.default.createElement("div", { className: cn__default.default(styles__default$1.default.content, contentClassName, (_d = {},
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
require('./tslib.es6-bbd6cd2a.js');
|
|
2
2
|
require('react');
|
|
3
3
|
require('react-div-100vh');
|
|
4
|
+
require('react-merge-refs');
|
|
4
5
|
require('react-swipeable');
|
|
5
6
|
require('classnames');
|
|
6
7
|
require('../../base-modal/cssm');
|
|
7
|
-
var components_header_Component = require('./component-
|
|
8
|
+
var components_header_Component = require('./component-6162b2b0.js');
|
|
8
9
|
require('./components/footer/Component.js');
|
|
9
10
|
require('./components/swipeable-backdrop/Component.js');
|
|
10
11
|
require('./index.module.css');
|
|
@@ -2,12 +2,13 @@ require('react');
|
|
|
2
2
|
require('classnames');
|
|
3
3
|
require('../../../../base-modal/cssm');
|
|
4
4
|
require('../../../../typography/cssm');
|
|
5
|
-
var components_header_Component = require('../../component-
|
|
5
|
+
var components_header_Component = require('../../component-6162b2b0.js');
|
|
6
6
|
require('../backer/Component.js');
|
|
7
7
|
require('../closer/Component.js');
|
|
8
8
|
require('./index.module.css');
|
|
9
9
|
require('../../tslib.es6-bbd6cd2a.js');
|
|
10
10
|
require('react-div-100vh');
|
|
11
|
+
require('react-merge-refs');
|
|
11
12
|
require('react-swipeable');
|
|
12
13
|
require('../footer/Component.js');
|
|
13
14
|
require('../footer/index.module.css');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./component-
|
|
1
|
+
export * from "./component-6162b2b0";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
var components_header_Component = require('./component-
|
|
1
|
+
var components_header_Component = require('./component-6162b2b0.js');
|
|
2
2
|
require('./tslib.es6-bbd6cd2a.js');
|
|
3
3
|
require('react');
|
|
4
4
|
require('react-div-100vh');
|
|
5
|
+
require('react-merge-refs');
|
|
5
6
|
require('react-swipeable');
|
|
6
7
|
require('classnames');
|
|
7
8
|
require('../../base-modal/cssm');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react-transition-group" />
|
|
2
2
|
/// <reference types="react" />
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { FC, ReactNode, HTMLAttributes } from "react";
|
|
4
|
+
import { FC, ReactNode, HTMLAttributes, RefObject } from "react";
|
|
5
5
|
import { BottomSheetTitleAlign } from "./index";
|
|
6
6
|
import { TransitionProps } from 'react-transition-group/Transition';
|
|
7
7
|
import { BaseModalProps } from "../../base-modal";
|
|
@@ -214,6 +214,10 @@ type BottomSheetProps = {
|
|
|
214
214
|
* Свойства для Бэкдропа
|
|
215
215
|
*/
|
|
216
216
|
backdropProps?: BaseModalProps['backdropProps'];
|
|
217
|
+
/**
|
|
218
|
+
* Реф на контейнер, в котором происходит скролл
|
|
219
|
+
*/
|
|
220
|
+
scrollableContainerRef?: RefObject<HTMLElement>;
|
|
217
221
|
/**
|
|
218
222
|
* Обработчик закрытия
|
|
219
223
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { _ as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __assign } from './tslib.es6-240cb031.js';
|
|
2
2
|
import React, { forwardRef, useState, useRef, useCallback, useEffect, useContext } from 'react';
|
|
3
3
|
import { use100vh } from 'react-div-100vh';
|
|
4
|
+
import mergeRefs from 'react-merge-refs';
|
|
4
5
|
import { useSwipeable } from 'react-swipeable';
|
|
5
6
|
import cn from 'classnames';
|
|
6
7
|
import { BaseModal, BaseModalContext } from '../../base-modal/esm';
|
|
@@ -82,10 +83,10 @@ var HEADER_OFFSET = 24;
|
|
|
82
83
|
var CLOSE_OFFSET = 0.2;
|
|
83
84
|
var BottomSheet = forwardRef(function (_a, ref) {
|
|
84
85
|
var _b, _c, _d;
|
|
85
|
-
var open = _a.open, title = _a.title, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, backdropProps = _a.backdropProps, onClose = _a.onClose, onBack = _a.onBack;
|
|
86
|
-
var
|
|
87
|
-
var
|
|
88
|
-
var
|
|
86
|
+
var open = _a.open, title = _a.title, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _e = _a.titleAlign, titleAlign = _e === void 0 ? 'left' : _e, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _f = _a.stickyFooter, stickyFooter = _f === void 0 ? true : _f, _g = _a.initialHeight, initialHeight = _g === void 0 ? 'default' : _g, hideOverlay = _a.hideOverlay, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, children = _a.children, zIndex = _a.zIndex, _h = _a.transitionProps, transitionProps = _h === void 0 ? {} : _h, dataTestId = _a.dataTestId, _j = _a.swipeable, swipeable = _j === void 0 ? true : _j, backdropProps = _a.backdropProps, _k = _a.scrollableContainerRef, scrollableContainerRef = _k === void 0 ? function () { return null; } : _k, onClose = _a.onClose, onBack = _a.onBack;
|
|
87
|
+
var _l = useState(0), sheetOffset = _l[0], setSheetOffset = _l[1];
|
|
88
|
+
var _m = useState(1), backdropOpacity = _m[0], setBackdropOpacity = _m[1];
|
|
89
|
+
var _o = useState(false), scrollLocked = _o[0], setScrollLocked = _o[1];
|
|
89
90
|
var sheetHeight = useRef(0);
|
|
90
91
|
var scrollableContainer = useRef(null);
|
|
91
92
|
var scrollableContainerScrollValue = useRef(0);
|
|
@@ -226,7 +227,7 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
226
227
|
_b)), style: __assign(__assign({}, getSwipeStyles()), getHeightStyles()) }, sheetSwipeablehandlers),
|
|
227
228
|
React.createElement("div", __assign({}, containerProps, { className: cn(styles.scrollableContainer, containerProps === null || containerProps === void 0 ? void 0 : containerProps.className, containerClassName, (_c = {},
|
|
228
229
|
_c[styles.scrollLocked] = scrollLocked,
|
|
229
|
-
_c)), ref: scrollableContainer }),
|
|
230
|
+
_c)), ref: mergeRefs([scrollableContainer, scrollableContainerRef]) }),
|
|
230
231
|
swipeable && React.createElement("div", { className: cn(styles.marker) }),
|
|
231
232
|
!hideHeader && !emptyHeader && React.createElement(Header, __assign({}, headerProps)),
|
|
232
233
|
React.createElement("div", { className: cn(styles.content, contentClassName, (_d = {},
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'react-div-100vh';
|
|
3
|
+
import 'react-merge-refs';
|
|
3
4
|
import 'react-swipeable';
|
|
4
5
|
import 'classnames';
|
|
5
6
|
import '../../base-modal/esm';
|
|
6
|
-
export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-
|
|
7
|
+
export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-c90eb457.js';
|
|
7
8
|
import './components/footer/Component.js';
|
|
8
9
|
import '../../backdrop/esm';
|
|
9
10
|
import '../../typography/esm';
|
|
@@ -12,5 +13,5 @@ import '../../icon-button/esm';
|
|
|
12
13
|
import '@alfalab/icons-glyph/ArrowBackMIcon';
|
|
13
14
|
import './components/closer/Component.js';
|
|
14
15
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
15
|
-
import './tslib.es6-
|
|
16
|
+
import './tslib.es6-240cb031.js';
|
|
16
17
|
import './components/swipeable-backdrop/Component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __rest, _ as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __rest, _ as __assign } from '../../tslib.es6-240cb031.js';
|
|
2
2
|
import React, { useContext, useCallback } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { BaseModalContext } from '../../../../base-modal/esm';
|
|
@@ -2,15 +2,16 @@ import 'react';
|
|
|
2
2
|
import 'classnames';
|
|
3
3
|
import '../../../../base-modal/esm';
|
|
4
4
|
import '../../../../typography/esm';
|
|
5
|
-
export { a as Header } from '../../component-
|
|
5
|
+
export { a as Header } from '../../component-c90eb457.js';
|
|
6
6
|
import '../backer/Component.js';
|
|
7
7
|
import '../closer/Component.js';
|
|
8
8
|
import 'react-div-100vh';
|
|
9
|
+
import 'react-merge-refs';
|
|
9
10
|
import 'react-swipeable';
|
|
10
11
|
import '../footer/Component.js';
|
|
11
12
|
import '../../../../backdrop/esm';
|
|
12
13
|
import '../../../../icon-button/esm';
|
|
13
14
|
import '@alfalab/icons-glyph/ArrowBackMIcon';
|
|
14
15
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
15
|
-
import '../../tslib.es6-
|
|
16
|
+
import '../../tslib.es6-240cb031.js';
|
|
16
17
|
import '../swipeable-backdrop/Component.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./component-
|
|
1
|
+
export * from "./component-c90eb457";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-
|
|
1
|
+
export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-c90eb457.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-div-100vh';
|
|
4
|
+
import 'react-merge-refs';
|
|
4
5
|
import 'react-swipeable';
|
|
5
6
|
import 'classnames';
|
|
6
7
|
import '../../base-modal/esm';
|
|
@@ -12,5 +13,5 @@ import '../../icon-button/esm';
|
|
|
12
13
|
import '@alfalab/icons-glyph/ArrowBackMIcon';
|
|
13
14
|
import './components/closer/Component.js';
|
|
14
15
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
15
|
-
import './tslib.es6-
|
|
16
|
+
import './tslib.es6-240cb031.js';
|
|
16
17
|
import './components/swipeable-backdrop/Component.js';
|
|
File without changes
|
|
File without changes
|
package/bottom-sheet/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./component-
|
|
1
|
+
export * from "./component-76590531";
|
package/bottom-sheet/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
var components_header_Component = require('./component-
|
|
2
|
-
require('./tslib.es6-
|
|
1
|
+
var components_header_Component = require('./component-76590531.js');
|
|
2
|
+
require('./tslib.es6-203ba59d.js');
|
|
3
3
|
require('react');
|
|
4
4
|
require('react-div-100vh');
|
|
5
|
+
require('react-merge-refs');
|
|
5
6
|
require('react-swipeable');
|
|
6
7
|
require('classnames');
|
|
7
8
|
require('../base-modal');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react-transition-group" />
|
|
2
2
|
/// <reference types="react" />
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { FC, ReactNode, HTMLAttributes } from "react";
|
|
4
|
+
import { FC, ReactNode, HTMLAttributes, RefObject } from "react";
|
|
5
5
|
import { BottomSheetTitleAlign } from "./index";
|
|
6
6
|
import { TransitionProps } from 'react-transition-group/Transition';
|
|
7
7
|
import { BaseModalProps } from "../../base-modal";
|
|
@@ -214,6 +214,10 @@ type BottomSheetProps = {
|
|
|
214
214
|
* Свойства для Бэкдропа
|
|
215
215
|
*/
|
|
216
216
|
backdropProps?: BaseModalProps['backdropProps'];
|
|
217
|
+
/**
|
|
218
|
+
* Реф на контейнер, в котором происходит скролл
|
|
219
|
+
*/
|
|
220
|
+
scrollableContainerRef?: RefObject<HTMLElement>;
|
|
217
221
|
/**
|
|
218
222
|
* Обработчик закрытия
|
|
219
223
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef, useState, useRef, useCallback, useEffect, useContext } from 'react';
|
|
2
2
|
import { use100vh } from 'react-div-100vh';
|
|
3
|
+
import mergeRefs from 'react-merge-refs';
|
|
3
4
|
import { useSwipeable } from 'react-swipeable';
|
|
4
5
|
import cn from 'classnames';
|
|
5
6
|
import { BaseModal, BaseModalContext } from '../../base-modal/modern';
|
|
@@ -76,7 +77,7 @@ const MARKET_HEIGHT = 24;
|
|
|
76
77
|
/* Верхний отступ шторки, если она открыта на максимальную высоту */
|
|
77
78
|
const HEADER_OFFSET = 24;
|
|
78
79
|
const CLOSE_OFFSET = 0.2;
|
|
79
|
-
const BottomSheet = forwardRef(({ open, title, actionButton, contentClassName, containerClassName, containerProps, headerClassName, footerClassName, addonClassName, closerClassName, backerClassName, modalClassName, modalWrapperClassName, className, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign = 'left', trimTitle, stickyHeader, stickyFooter = true, initialHeight = 'default', hideOverlay, hideHeader, disableOverlayClick, disableBlockingScroll, children, zIndex, transitionProps = {}, dataTestId, swipeable = true, backdropProps, onClose, onBack, }, ref) => {
|
|
80
|
+
const BottomSheet = forwardRef(({ open, title, actionButton, contentClassName, containerClassName, containerProps, headerClassName, footerClassName, addonClassName, closerClassName, backerClassName, modalClassName, modalWrapperClassName, className, leftAddons, rightAddons, bottomAddons, hasCloser, hasBacker, titleAlign = 'left', trimTitle, stickyHeader, stickyFooter = true, initialHeight = 'default', hideOverlay, hideHeader, disableOverlayClick, disableBlockingScroll, children, zIndex, transitionProps = {}, dataTestId, swipeable = true, backdropProps, scrollableContainerRef = () => null, onClose, onBack, }, ref) => {
|
|
80
81
|
const [sheetOffset, setSheetOffset] = useState(0);
|
|
81
82
|
const [backdropOpacity, setBackdropOpacity] = useState(1);
|
|
82
83
|
const [scrollLocked, setScrollLocked] = useState(false);
|
|
@@ -233,7 +234,7 @@ const BottomSheet = forwardRef(({ open, title, actionButton, contentClassName, c
|
|
|
233
234
|
}, ...sheetSwipeablehandlers },
|
|
234
235
|
React.createElement("div", { ...containerProps, className: cn(styles.scrollableContainer, containerProps?.className, containerClassName, {
|
|
235
236
|
[styles.scrollLocked]: scrollLocked,
|
|
236
|
-
}), ref: scrollableContainer },
|
|
237
|
+
}), ref: mergeRefs([scrollableContainer, scrollableContainerRef]) },
|
|
237
238
|
swipeable && React.createElement("div", { className: cn(styles.marker) }),
|
|
238
239
|
!hideHeader && !emptyHeader && React.createElement(Header, { ...headerProps }),
|
|
239
240
|
React.createElement("div", { className: cn(styles.content, contentClassName, {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'react-div-100vh';
|
|
3
|
+
import 'react-merge-refs';
|
|
3
4
|
import 'react-swipeable';
|
|
4
5
|
import 'classnames';
|
|
5
6
|
import '../../base-modal/modern';
|
|
6
|
-
export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-
|
|
7
|
+
export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-cfa50bb7.js';
|
|
7
8
|
import './components/footer/Component.js';
|
|
8
9
|
import '../../backdrop/modern';
|
|
9
10
|
import '../../typography/modern';
|
|
@@ -2,10 +2,11 @@ import 'react';
|
|
|
2
2
|
import 'classnames';
|
|
3
3
|
import '../../../../base-modal/modern';
|
|
4
4
|
import '../../../../typography/modern';
|
|
5
|
-
export { a as Header } from '../../component-
|
|
5
|
+
export { a as Header } from '../../component-cfa50bb7.js';
|
|
6
6
|
import '../backer/Component.js';
|
|
7
7
|
import '../closer/Component.js';
|
|
8
8
|
import 'react-div-100vh';
|
|
9
|
+
import 'react-merge-refs';
|
|
9
10
|
import 'react-swipeable';
|
|
10
11
|
import '../footer/Component.js';
|
|
11
12
|
import '../../../../backdrop/modern';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./component-
|
|
1
|
+
export * from "./component-cfa50bb7";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-
|
|
1
|
+
export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-cfa50bb7.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-div-100vh';
|
|
4
|
+
import 'react-merge-refs';
|
|
4
5
|
import 'react-swipeable';
|
|
5
6
|
import 'classnames';
|
|
6
7
|
import '../../base-modal/modern';
|
|
File without changes
|
|
File without changes
|
|
@@ -24,7 +24,7 @@ require('date-fns/startOfWeek');
|
|
|
24
24
|
require('date-fns/startOfYear');
|
|
25
25
|
require('date-fns/subDays');
|
|
26
26
|
require('date-fns/subMonths');
|
|
27
|
-
require('../../tslib.es6-
|
|
27
|
+
require('../../tslib.es6-077fd9e4.js');
|
|
28
28
|
require('../../../button');
|
|
29
29
|
|
|
30
30
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -25,7 +25,7 @@ require('date-fns/startOfYear');
|
|
|
25
25
|
require('date-fns/subDays');
|
|
26
26
|
require('date-fns/subMonths');
|
|
27
27
|
require('../select-button/Component.js');
|
|
28
|
-
require('../../tslib.es6-
|
|
28
|
+
require('../../tslib.es6-077fd9e4.js');
|
|
29
29
|
require('../../../button');
|
|
30
30
|
|
|
31
31
|
|
package/calendar/desktop.js
CHANGED