@alfalab/core-components 47.26.8 → 47.26.9-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.js +17 -5
- package/bottom-sheet/cssm/component.js +17 -5
- package/bottom-sheet/cssm/types.d.ts +4 -0
- package/bottom-sheet/esm/component.js +17 -5
- package/bottom-sheet/esm/types.d.ts +4 -0
- package/bottom-sheet/modern/component.js +18 -6
- package/bottom-sheet/modern/types.d.ts +4 -0
- package/bottom-sheet/moderncssm/component.js +18 -6
- package/bottom-sheet/moderncssm/types.d.ts +4 -0
- package/bottom-sheet/types.d.ts +4 -0
- package/calendar/Component.responsive.d.ts +1 -1
- package/calendar/components/calendar-mobile/Component.d.ts +2 -2
- package/calendar/cssm/Component.responsive.d.ts +1 -1
- package/calendar/cssm/components/calendar-mobile/Component.d.ts +2 -2
- package/calendar-range/esm/Component.js +1 -1
- package/calendar-range/esm/index.js +1 -1
- package/calendar-range/esm/views/popover.js +1 -1
- package/calendar-range/esm/views/static.js +1 -1
- package/calendar-range/modern/Component.js +1 -1
- package/calendar-range/modern/index.js +1 -1
- package/calendar-range/modern/views/popover.js +1 -1
- package/calendar-range/modern/views/static.js +1 -1
- package/calendar-range/views/popover.js +1 -1
- package/calendar-range/views/static.js +1 -1
- 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/date-time-input/modern/components/date-time-input/Component.d.ts +1 -1
- package/gallery/Component.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/hooks.js +1 -1
- package/gallery/components/image-viewer/single.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/cssm/Component.js +1 -1
- package/gallery/esm/Component.js +11 -11
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/hooks.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/single.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +1 -1
- package/gallery/esm/index.js +12 -12
- package/gallery/modern/Component.js +11 -11
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/hooks.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/single.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 +12 -12
- package/gallery/moderncssm/Component.js +12 -12
- package/gallery/moderncssm/index.js +13 -13
- package/grid/col/Component.js +1 -1
- package/grid/esm/Component.js +1 -1
- package/grid/esm/col/Component.js +1 -1
- package/grid/esm/col/index.js +1 -1
- package/grid/esm/index.js +1 -1
- package/grid/esm/row/Component.js +1 -1
- package/grid/esm/row/index.js +1 -1
- package/grid/modern/Component.js +1 -1
- package/grid/modern/col/Component.js +1 -1
- package/grid/modern/col/index.js +1 -1
- package/grid/modern/index.js +1 -1
- package/grid/modern/row/Component.js +1 -1
- package/grid/modern/row/index.js +1 -1
- package/grid/row/Component.js +1 -1
- package/international-phone-input/Component.responsive.d.ts +4 -4
- package/international-phone-input/component-03d088c4.d.ts +2 -2
- package/international-phone-input/component-8bdd19d3.d.ts +2 -2
- package/international-phone-input/components/base-international-phone-input/Component.d.ts +2 -2
- package/international-phone-input/cssm/typings-4bf4de6f.d.ts +4 -0
- package/international-phone-input/esm/typings-4bf4de6f.d.ts +4 -0
- package/international-phone-input/index-03d088c4.d.ts +2 -2
- package/international-phone-input/index-281accb7.d.ts +2 -2
- package/international-phone-input/modern/typings-4bf4de6f.d.ts +4 -0
- package/international-phone-input/moderncssm/typings-4bf4de6f.d.ts +4 -0
- package/international-phone-input/typings-4bf4de6f.d.ts +4 -0
- package/list/Component.js +1 -1
- package/list/components/item/Component.js +1 -1
- package/list/components/item/index.d.ts +1 -1
- package/list/components/item/index.js +1 -1
- package/list/esm/Component.js +1 -1
- package/list/esm/components/item/Component.js +1 -1
- package/list/esm/components/item/index.d.ts +1 -1
- package/list/esm/components/item/index.js +1 -1
- package/list/esm/index.js +1 -1
- package/list/index.js +1 -1
- package/list/modern/Component.js +1 -1
- package/list/modern/components/item/Component.js +1 -1
- package/list/modern/components/item/index.d.ts +1 -1
- package/list/modern/components/item/index.js +1 -1
- package/list/modern/index.js +1 -1
- package/markdown/Component.js +1 -1
- package/markdown/esm/Component.desktop.js +1 -1
- package/markdown/esm/Component.js +1 -1
- package/markdown/esm/Component.mobile.js +1 -1
- package/markdown/esm/Component.responsive.js +1 -1
- package/markdown/esm/desktop/index.js +1 -1
- package/markdown/esm/hooks/use-overrides.js +1 -1
- package/markdown/esm/index.js +1 -1
- package/markdown/esm/mobile/index.js +1 -1
- package/markdown/hooks/use-overrides.js +1 -1
- package/markdown/modern/Component.desktop.js +1 -1
- package/markdown/modern/Component.js +1 -1
- package/markdown/modern/Component.mobile.js +1 -1
- package/markdown/modern/Component.responsive.js +1 -1
- package/markdown/modern/desktop/index.js +1 -1
- package/markdown/modern/hooks/use-overrides.js +1 -1
- package/markdown/modern/index.js +1 -1
- package/markdown/modern/mobile/index.js +1 -1
- 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/phone-input/cssm/utils/index.js +3 -1
- package/phone-input/utils/index.js +3 -1
- package/picker-button/component-03d088c4.d.ts +2 -2
- package/picker-button/component-8bdd19d3.d.ts +2 -2
- package/picker-button/cssm/transformSize-ebda875c.d.ts +1 -1
- package/picker-button/cssm/typings-4bf4de6f.d.ts +4 -0
- package/picker-button/esm/typings-4bf4de6f.d.ts +4 -0
- package/picker-button/index-03d088c4.d.ts +2 -2
- package/picker-button/index-281accb7.d.ts +2 -2
- package/picker-button/modern/typings-4bf4de6f.d.ts +4 -0
- package/picker-button/moderncssm/Component-c44170fe.d.ts +1 -1
- package/picker-button/moderncssm/component-03d088c4.d.ts +2 -2
- package/picker-button/moderncssm/component-8bdd19d3.d.ts +2 -2
- package/picker-button/moderncssm/index-03d088c4.d.ts +2 -2
- package/picker-button/moderncssm/index-281accb7.d.ts +2 -2
- package/picker-button/moderncssm/typings-4bf4de6f.d.ts +4 -0
- package/picker-button/typings-4bf4de6f.d.ts +4 -0
- package/plate/Component.responsive.js +1 -1
- package/plate/components/base-plate/Component.js +1 -1
- package/plate/esm/Component.responsive.js +1 -1
- package/plate/esm/components/base-plate/Component.js +1 -1
- package/plate/esm/components/base-plate/index.js +1 -1
- package/plate/esm/desktop/Component.desktop.js +1 -1
- package/plate/esm/desktop/index.js +1 -1
- package/plate/esm/index-ba3cd492.d.ts +2 -2
- package/plate/esm/index.js +1 -1
- package/plate/esm/mobile/Component.mobile.js +1 -1
- package/plate/esm/mobile/index.js +1 -1
- package/plate/esm/shared/index.js +1 -1
- package/plate/esm/utils.js +1 -1
- package/plate/index-ba3cd492.d.ts +2 -2
- package/plate/modern/Component.responsive.js +1 -1
- package/plate/modern/components/base-plate/Component.js +1 -1
- package/plate/modern/components/base-plate/index.js +1 -1
- package/plate/modern/desktop/Component.desktop.js +1 -1
- package/plate/modern/desktop/index.js +1 -1
- package/plate/modern/index-ba3cd492.d.ts +2 -2
- package/plate/modern/index.js +1 -1
- package/plate/modern/mobile/Component.mobile.js +1 -1
- package/plate/modern/mobile/index.js +1 -1
- package/plate/modern/shared/index.js +1 -1
- package/plate/modern/utils.js +1 -1
- package/plate/utils.js +1 -1
- package/pure-cell/component-8c83a9ca.d.ts +5 -5
- 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/cssm/component-8c83a9ca.d.ts +5 -5
- package/pure-cell/esm/component-8c83a9ca.d.ts +6 -6
- 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-8c83a9ca.d.ts +5 -5
- 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/pure-cell/moderncssm/component-8c83a9ca.d.ts +6 -6
- package/select/components/base-select/Component.js +2 -2
- package/select/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
- package/select/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
- package/select/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
- package/select/cssm/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.d.ts +1 -1
- package/select/esm/Component.responsive.js +3 -3
- package/select/esm/components/base-select/Component.js +2 -2
- package/select/esm/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
- package/select/esm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
- package/select/esm/components/base-select/components/list-mobile/list-mobile.js +1 -1
- package/select/esm/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
- package/select/esm/components/base-select/index.js +2 -2
- package/select/esm/components/index.js +2 -2
- package/select/esm/desktop/Component.desktop.js +2 -2
- package/select/esm/desktop/index.js +2 -2
- package/select/esm/index.js +3 -3
- package/select/esm/mobile/Component.mobile.js +3 -3
- package/select/esm/mobile/Component.modal.mobile.js +3 -3
- package/select/esm/mobile/index.js +3 -3
- 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 +3 -3
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +3 -3
- package/select/modern/components/base-select/Component.js +2 -2
- package/select/modern/components/base-select/components/list-desktop/helpers/get-list-popover-desktop-props.d.ts +1 -1
- package/select/modern/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
- package/select/modern/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
- package/select/modern/components/base-select/components/list-mobile/list-mobile.js +1 -1
- package/select/modern/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
- package/select/modern/components/base-select/index.js +2 -2
- package/select/modern/components/index.js +2 -2
- package/select/modern/desktop/Component.desktop.js +2 -2
- package/select/modern/desktop/index.js +2 -2
- package/select/modern/index.js +3 -3
- package/select/modern/mobile/Component.mobile.js +3 -3
- package/select/modern/mobile/Component.modal.mobile.js +3 -3
- package/select/modern/mobile/index.js +3 -3
- 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 +3 -3
- 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/select-with-tags/Component.responsive.d.ts +1 -1
- package/select-with-tags/components/base-select-with-tags/Component.d.ts +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/tabs/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/components/primary-tablist/Component.desktop.js +1 -1
- package/tabs/components/primary-tablist/Component.mobile.js +1 -1
- package/tabs/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/esm/collapsible/index.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.desktop.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.mobile.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.responsive.js +1 -1
- package/tabs/esm/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/esm/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/esm/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
- package/tabs/esm/components/tabs/Component.desktop.js +2 -2
- package/tabs/esm/components/tabs/Component.mobile.js +2 -2
- package/tabs/esm/components/tabs/Component.responsive.js +2 -2
- package/tabs/esm/desktop/index.js +2 -2
- package/tabs/esm/index.js +2 -2
- package/tabs/esm/mobile/index.js +2 -2
- package/tabs/modern/collapsible/index.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.collapsible.js +1 -1
- 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.collapsible.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/index.js +2 -2
- package/tabs/modern/index.js +2 -2
- package/tabs/modern/mobile/index.js +2 -2
- package/tag/cssm/components/base-tag/Component.d.ts +1 -1
- package/tag/esm/components/base-tag/Component.d.ts +1 -1
- package/tag/modern/components/base-tag/Component.d.ts +1 -1
- package/tag/moderncssm/components/base-tag/Component.d.ts +1 -1
- package/textarea/Component.d.ts +1 -1
- package/textarea/Component.js +1 -1
- package/textarea/components/PseudoTextArea.js +1 -1
- package/textarea/components/index.d.ts +1 -1
- package/textarea/components/index.js +1 -1
- package/textarea/esm/Component.d.ts +1 -1
- package/textarea/esm/Component.js +1 -1
- package/textarea/esm/components/PseudoTextArea.js +1 -1
- package/textarea/esm/components/index.d.ts +1 -1
- package/textarea/esm/components/index.js +1 -1
- package/textarea/esm/index.js +1 -1
- package/textarea/modern/Component.d.ts +1 -1
- package/textarea/modern/Component.js +1 -1
- package/textarea/modern/components/PseudoTextArea.js +1 -1
- package/textarea/modern/components/index.d.ts +1 -1
- package/textarea/modern/components/index.js +1 -1
- package/textarea/modern/index.js +1 -1
- package/themes/compiled/mobile-dark-bluetint.css +79 -218
- package/time-input/utils/format.js +10 -6
- package/toast/esm/Component.responsive.d.ts +1 -1
- package/toast/esm/components/base-toast/component.d.ts +1 -1
- package/toast/moderncssm/Component.responsive.d.ts +1 -1
- package/toast/moderncssm/components/base-toast/component.d.ts +1 -1
- package/typography/cssm/title/component.d.ts +1 -1
- package/typography/cssm/title/index.d.ts +1 -1
- package/typography/cssm/title-mobile/component.d.ts +1 -1
- package/typography/cssm/title-responsive/component.d.ts +1 -1
- 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.d.ts +1 -1
- package/typography/esm/title/component.js +1 -1
- package/typography/esm/title/index.d.ts +1 -1
- package/typography/esm/title/index.js +2 -2
- package/typography/esm/title-mobile/component.d.ts +1 -1
- package/typography/esm/title-mobile/component.js +2 -2
- package/typography/esm/title-mobile/index.js +2 -2
- package/typography/esm/title-responsive/component.d.ts +1 -1
- package/typography/esm/title-responsive/component.js +2 -2
- package/typography/esm/title-responsive/index.js +2 -2
- 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/title/component.js +1 -1
- package/typography/title/index.js +1 -1
- package/typography/title-mobile/component.js +1 -1
- package/underlay/Component.js +1 -1
- package/underlay/esm/Component.js +1 -1
- package/underlay/esm/index.js +1 -1
- package/underlay/esm/utils/getBorderCorners.js +1 -1
- package/underlay/esm/utils/getClasses.js +1 -1
- package/underlay/modern/Component.js +1 -1
- package/underlay/modern/index.js +1 -1
- package/underlay/modern/utils/getBorderCorners.js +1 -1
- package/underlay/modern/utils/getClasses.js +1 -1
- package/underlay/utils/getBorderCorners.js +1 -1
- package/underlay/utils/getClasses.js +1 -1
- package/universal-date-input/components/base-universal-date-input/Component.js +1 -1
- package/universal-date-input/components/date-input/Component.js +1 -1
- package/universal-date-input/components/date-range-input/Component.js +1 -1
- package/universal-date-input/esm/Component.responsive.js +1 -1
- package/universal-date-input/esm/components/base-universal-date-input/Component.js +1 -1
- package/universal-date-input/esm/components/base-universal-date-input/index.js +1 -1
- package/universal-date-input/esm/components/date-input/Component.js +1 -1
- package/universal-date-input/esm/components/date-input/index.js +1 -1
- package/universal-date-input/esm/components/date-range-input/Component.js +1 -1
- package/universal-date-input/esm/components/date-range-input/index.js +1 -1
- package/universal-date-input/esm/desktop/Component.desktop.js +1 -1
- package/universal-date-input/esm/desktop/index.js +1 -1
- package/universal-date-input/esm/index.js +1 -1
- package/universal-date-input/esm/mobile/Component.mobile.js +1 -1
- package/universal-date-input/esm/mobile/index.js +1 -1
- package/universal-date-input/modern/Component.responsive.js +1 -1
- package/universal-date-input/modern/components/base-universal-date-input/Component.js +1 -1
- package/universal-date-input/modern/components/base-universal-date-input/index.js +1 -1
- package/universal-date-input/modern/components/date-input/Component.js +1 -1
- package/universal-date-input/modern/components/date-input/index.js +1 -1
- package/universal-date-input/modern/components/date-range-input/Component.js +1 -1
- package/universal-date-input/modern/components/date-range-input/index.js +1 -1
- package/universal-date-input/modern/desktop/Component.desktop.js +1 -1
- package/universal-date-input/modern/desktop/index.js +1 -1
- package/universal-date-input/modern/index.js +1 -1
- package/universal-date-input/modern/mobile/Component.mobile.js +1 -1
- package/universal-date-input/modern/mobile/index.js +1 -1
- /package/calendar-range/esm/{index.module-a0782b8f.js → index.module-3bd8f2aa.js} +0 -0
- /package/calendar-range/{index.module-4ba003c8.js → index.module-93fe2d00.js} +0 -0
- /package/calendar-range/modern/{index.module-67742a14.js → index.module-675a70db.js} +0 -0
- /package/confirmation/{countdown-section-6dd2c99b.d.ts → countdown-section-dd00dd2a.d.ts} +0 -0
- /package/confirmation/{countdown-section-6dd2c99b.js → countdown-section-dd00dd2a.js} +0 -0
- /package/confirmation/esm/{countdown-section-268292e5.d.ts → countdown-section-c258b74a.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-268292e5.js → countdown-section-c258b74a.js} +0 -0
- /package/confirmation/modern/{countdown-section-9f403b23.d.ts → countdown-section-32bb6712.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-9f403b23.js → countdown-section-32bb6712.js} +0 -0
- /package/gallery/esm/{index.module-86d7d1b6.js → index.module-3ec18dd1.js} +0 -0
- /package/gallery/{index.module-fbb5d03c.js → index.module-27487695.js} +0 -0
- /package/gallery/modern/{index.module-9340f496.js → index.module-c1afad9c.js} +0 -0
- /package/grid/esm/{gutters.module-4148f349.js → gutters.module-7339d9aa.js} +0 -0
- /package/grid/{gutters.module-b8bc91da.js → gutters.module-2d7a8851.js} +0 -0
- /package/grid/modern/{gutters.module-11675091.js → gutters.module-b9d93387.js} +0 -0
- /package/list/{Component-da3bfa8a.d.ts → Component-6c03dffd.d.ts} +0 -0
- /package/list/{Component-da3bfa8a.js → Component-6c03dffd.js} +0 -0
- /package/list/esm/{Component-08f2cd96.d.ts → Component-3e54bc5d.d.ts} +0 -0
- /package/list/esm/{Component-08f2cd96.js → Component-3e54bc5d.js} +0 -0
- /package/list/modern/{Component-04b194dc.d.ts → Component-a80cb74d.d.ts} +0 -0
- /package/list/modern/{Component-04b194dc.js → Component-a80cb74d.js} +0 -0
- /package/markdown/esm/{use-overrides-5b114972.d.ts → use-overrides-b8651e90.d.ts} +0 -0
- /package/markdown/esm/{use-overrides-5b114972.js → use-overrides-b8651e90.js} +0 -0
- /package/markdown/modern/{use-overrides-4e524f02.d.ts → use-overrides-699b259e.d.ts} +0 -0
- /package/markdown/modern/{use-overrides-4e524f02.js → use-overrides-699b259e.js} +0 -0
- /package/markdown/{use-overrides-88888b3b.d.ts → use-overrides-d0b54e43.d.ts} +0 -0
- /package/markdown/{use-overrides-88888b3b.js → use-overrides-d0b54e43.js} +0 -0
- /package/modal/esm/{layout.module-57ee4f33.js → layout.module-58de58af.js} +0 -0
- /package/modal/{layout.module-a639eeb4.js → layout.module-dc00713d.js} +0 -0
- /package/modal/modern/{layout.module-939b9269.js → layout.module-cd5f5a81.js} +0 -0
- /package/plate/{PortalContext-44eeb7fb.d.ts → PortalContext-a31b7744.d.ts} +0 -0
- /package/plate/{PortalContext-44eeb7fb.js → PortalContext-a31b7744.js} +0 -0
- /package/plate/esm/{PortalContext-69e979c4.d.ts → PortalContext-6f3b2044.d.ts} +0 -0
- /package/plate/esm/{PortalContext-69e979c4.js → PortalContext-6f3b2044.js} +0 -0
- /package/plate/modern/{PortalContext-9e9202d7.d.ts → PortalContext-0c576347.d.ts} +0 -0
- /package/plate/modern/{PortalContext-9e9202d7.js → PortalContext-0c576347.js} +0 -0
- /package/pure-cell/{component-6f539fdd.d.ts → component-25613e28.d.ts} +0 -0
- /package/pure-cell/{component-6f539fdd.js → component-25613e28.js} +0 -0
- /package/pure-cell/esm/{component-4ef6d6dd.d.ts → component-57131738.d.ts} +0 -0
- /package/pure-cell/esm/{component-4ef6d6dd.js → component-57131738.js} +0 -0
- /package/pure-cell/modern/{component-591583c7.d.ts → component-519b8122.d.ts} +0 -0
- /package/pure-cell/modern/{component-591583c7.js → component-519b8122.js} +0 -0
- /package/select/esm/{hook-3e12b5c1.d.ts → hook-edc73832.d.ts} +0 -0
- /package/select/esm/{hook-3e12b5c1.js → hook-edc73832.js} +0 -0
- /package/select/esm/{list-popover-desktop-c037770e.d.ts → list-popover-desktop-ab345a1d.d.ts} +0 -0
- /package/select/esm/{list-popover-desktop-c037770e.js → list-popover-desktop-ab345a1d.js} +0 -0
- /package/select/esm/{mobile.module-a01ba9fc.js → mobile.module-f339d579.js} +0 -0
- /package/select/{hook-28743b84.d.ts → hook-509ac90c.d.ts} +0 -0
- /package/select/{hook-28743b84.js → hook-509ac90c.js} +0 -0
- /package/select/{list-popover-desktop-5e4490e3.d.ts → list-popover-desktop-59e49e6c.d.ts} +0 -0
- /package/select/{list-popover-desktop-5e4490e3.js → list-popover-desktop-59e49e6c.js} +0 -0
- /package/select/{mobile.module-f46610b8.js → mobile.module-7934b06c.js} +0 -0
- /package/select/modern/{hook-6b116ab7.d.ts → hook-d7fcefb5.d.ts} +0 -0
- /package/select/modern/{hook-6b116ab7.js → hook-d7fcefb5.js} +0 -0
- /package/select/modern/{list-popover-desktop-734083d3.d.ts → list-popover-desktop-9f601758.d.ts} +0 -0
- /package/select/modern/{list-popover-desktop-734083d3.js → list-popover-desktop-9f601758.js} +0 -0
- /package/select/modern/{mobile.module-2f288d76.js → mobile.module-a162a3eb.js} +0 -0
- /package/side-panel/esm/{layout.module-f2b75014.js → layout.module-dbb44e00.js} +0 -0
- /package/side-panel/{layout.module-3692b6d5.js → layout.module-04c604a9.js} +0 -0
- /package/side-panel/modern/{layout.module-591cf0b7.js → layout.module-950d1df1.js} +0 -0
- /package/tabs/esm/{index.module-db71f3c1.js → index.module-18ef2507.js} +0 -0
- /package/tabs/esm/{index.module-9854a0cf.js → index.module-b726698b.js} +0 -0
- /package/tabs/{index.module-c747cb5e.js → index.module-3cc9c72b.js} +0 -0
- /package/tabs/{index.module-31ea7c1f.js → index.module-f0ccce61.js} +0 -0
- /package/tabs/modern/{index.module-1e1fd7cd.js → index.module-70e33922.js} +0 -0
- /package/tabs/modern/{index.module-af6c53b9.js → index.module-97338019.js} +0 -0
- /package/textarea/{PseudoTextArea-d77ecb63.d.ts → PseudoTextArea-26647f32.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-d77ecb63.js → PseudoTextArea-26647f32.js} +0 -0
- /package/textarea/esm/{PseudoTextArea-1c002dec.d.ts → PseudoTextArea-92485ce4.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-1c002dec.js → PseudoTextArea-92485ce4.js} +0 -0
- /package/textarea/modern/{PseudoTextArea-b615fcc5.d.ts → PseudoTextArea-703b6134.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-b615fcc5.js → PseudoTextArea-703b6134.js} +0 -0
- /package/typography/{colors.module-b9f4d0d5.js → colors.module-b6e7e39c.js} +0 -0
- /package/typography/{common.module-9ae6f4be.js → common.module-d87950bc.js} +0 -0
- /package/typography/esm/{colors.module-6d8660a5.js → colors.module-47fc4603.js} +0 -0
- /package/typography/esm/{common.module-500a5812.js → common.module-b3bbb32c.js} +0 -0
- /package/typography/modern/{colors.module-b550a6d0.js → colors.module-8b4683d7.js} +0 -0
- /package/typography/modern/{common.module-1272b40f.js → common.module-09715d09.js} +0 -0
- /package/underlay/esm/{index.module-08a263ba.js → index.module-d4674c47.js} +0 -0
- /package/underlay/{index.module-a7d9b99d.js → index.module-3eaf6b31.js} +0 -0
- /package/underlay/modern/{index.module-fece1ab1.js → index.module-69125d85.js} +0 -0
- /package/universal-date-input/esm/{index.module-c0e27bbf.js → index.module-4c6066bd.js} +0 -0
- /package/universal-date-input/{index.module-2224e8d6.js → index.module-cdafc35a.js} +0 -0
- /package/universal-date-input/modern/{index.module-70305111.js → index.module-de3d51bb.js} +0 -0
|
@@ -28,12 +28,15 @@ var isNil = coreComponentsShared.fnUtils.isNil;
|
|
|
28
28
|
var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
29
29
|
var _b, _c, _d, _e, _f;
|
|
30
30
|
var _g, _h;
|
|
31
|
-
var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _j = _a.titleSize, titleSize = _j === void 0 ? 'default' : _j, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _k = _a.titleAlign, titleAlign = _k === void 0 ? 'left' : _k, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _l = _a.stickyFooter, stickyFooter = _l === void 0 ? true : _l, _m = _a.initialHeight, initialHeight = _m === void 0 ? 'default' : _m, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _o = _a.transitionProps, transitionProps = _o === void 0 ? {} : _o, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _p = _a.swipeable, swipeable = _p === void 0 ? true : _p, _q = _a.swipeableContent, swipeableContent = _q === void 0 ? true : _q, _r = _a.swipeThreshold, swipeThreshold = _r === void 0 ? 5 : _r, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _s = _a.scrollableContainerRef, scrollableContainerRef = _s === void 0 ? function () { return null; } : _s, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _t = _a.sheetContainerRef, sheetContainerRef = _t === void 0 ? function () { return null; } : _t, _u = _a.headerOffset, headerOffset = _u === void 0 ? 24 : _u, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName, backButtonProps = _a.backButtonProps, _v = _a.iOSLock, iOSLock = _v === void 0 ? false : _v, _w = _a.virtualKeyboard, virtualKeyboard = _w === void 0 ? false : _w;
|
|
31
|
+
var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _j = _a.titleSize, titleSize = _j === void 0 ? 'default' : _j, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _k = _a.titleAlign, titleAlign = _k === void 0 ? 'left' : _k, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _l = _a.stickyFooter, stickyFooter = _l === void 0 ? true : _l, _m = _a.initialHeight, initialHeight = _m === void 0 ? 'default' : _m, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _o = _a.transitionProps, transitionProps = _o === void 0 ? {} : _o, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _p = _a.swipeable, swipeable = _p === void 0 ? true : _p, _q = _a.swipeableContent, swipeableContent = _q === void 0 ? true : _q, _r = _a.swipeThreshold, swipeThreshold = _r === void 0 ? 5 : _r, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _s = _a.scrollableContainerRef, scrollableContainerRef = _s === void 0 ? function () { return null; } : _s, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _t = _a.sheetContainerRef, sheetContainerRef = _t === void 0 ? function () { return null; } : _t, _u = _a.headerOffset, headerOffset = _u === void 0 ? 24 : _u, adjustContainerHeight = _a.adjustContainerHeight, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName, backButtonProps = _a.backButtonProps, _v = _a.iOSLock, iOSLock = _v === void 0 ? false : _v, _w = _a.virtualKeyboard, virtualKeyboard = _w === void 0 ? false : _w;
|
|
32
32
|
var windowHeight = (_g = reactDiv100vh.use100vh()) !== null && _g !== void 0 ? _g : 0;
|
|
33
33
|
var visibleViewportSize = hooks_useVisualviewportSize.useVisibleViewportSize(virtualKeyboard);
|
|
34
34
|
var fullHeight = virtualKeyboard ? (_h = visibleViewportSize === null || visibleViewportSize === void 0 ? void 0 : visibleViewportSize.height) !== null && _h !== void 0 ? _h : 0 : windowHeight;
|
|
35
35
|
// Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
|
|
36
36
|
var isFirstRender = fullHeight === 0;
|
|
37
|
+
if (typeof adjustContainerHeight === 'function') {
|
|
38
|
+
fullHeight = adjustContainerHeight(fullHeight);
|
|
39
|
+
}
|
|
37
40
|
var initialIndexRef = React.useRef(initialActiveAreaIndex);
|
|
38
41
|
var magneticAreas = React.useMemo(function () {
|
|
39
42
|
var _a;
|
|
@@ -42,12 +45,21 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
42
45
|
return utils.convertPercentToNumber(area, fullHeight, headerOffset);
|
|
43
46
|
});
|
|
44
47
|
}
|
|
45
|
-
var iOSViewHeight =
|
|
46
|
-
|
|
47
|
-
: 0
|
|
48
|
+
var iOSViewHeight = 0;
|
|
49
|
+
if (coreComponentsShared.isClient()) {
|
|
50
|
+
if ((_a = document === null || document === void 0 ? void 0 : document.documentElement) === null || _a === void 0 ? void 0 : _a.clientHeight) {
|
|
51
|
+
iOSViewHeight =
|
|
52
|
+
typeof adjustContainerHeight === 'function'
|
|
53
|
+
? adjustContainerHeight(document.documentElement.clientHeight)
|
|
54
|
+
: document.documentElement.clientHeight;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
iOSViewHeight = window === null || window === void 0 ? void 0 : window.innerHeight;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
48
60
|
var viewHeight = coreComponentsShared.os.isIOS() && !virtualKeyboard ? iOSViewHeight : fullHeight;
|
|
49
61
|
return [0, viewHeight - headerOffset];
|
|
50
|
-
}, [fullHeight, headerOffset, magneticAreasProp, virtualKeyboard]);
|
|
62
|
+
}, [fullHeight, headerOffset, magneticAreasProp, virtualKeyboard, adjustContainerHeight]);
|
|
51
63
|
var lastMagneticArea = magneticAreas[magneticAreas.length - 1];
|
|
52
64
|
var _x = React.useState(0), sheetOffset = _x[0], setSheetOffset = _x[1];
|
|
53
65
|
var _y = React.useState(1), backdropOpacity = _y[0], setBackdropOpacity = _y[1];
|
|
@@ -27,12 +27,15 @@ var isNil = coreComponentsShared.fnUtils.isNil;
|
|
|
27
27
|
var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
28
28
|
var _b, _c, _d, _e, _f;
|
|
29
29
|
var _g, _h;
|
|
30
|
-
var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _j = _a.titleSize, titleSize = _j === void 0 ? 'default' : _j, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _k = _a.titleAlign, titleAlign = _k === void 0 ? 'left' : _k, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _l = _a.stickyFooter, stickyFooter = _l === void 0 ? true : _l, _m = _a.initialHeight, initialHeight = _m === void 0 ? 'default' : _m, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _o = _a.transitionProps, transitionProps = _o === void 0 ? {} : _o, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _p = _a.swipeable, swipeable = _p === void 0 ? true : _p, _q = _a.swipeableContent, swipeableContent = _q === void 0 ? true : _q, _r = _a.swipeThreshold, swipeThreshold = _r === void 0 ? 5 : _r, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _s = _a.scrollableContainerRef, scrollableContainerRef = _s === void 0 ? function () { return null; } : _s, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _t = _a.sheetContainerRef, sheetContainerRef = _t === void 0 ? function () { return null; } : _t, _u = _a.headerOffset, headerOffset = _u === void 0 ? 24 : _u, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName, backButtonProps = _a.backButtonProps, _v = _a.iOSLock, iOSLock = _v === void 0 ? false : _v, _w = _a.virtualKeyboard, virtualKeyboard = _w === void 0 ? false : _w;
|
|
30
|
+
var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _j = _a.titleSize, titleSize = _j === void 0 ? 'default' : _j, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _k = _a.titleAlign, titleAlign = _k === void 0 ? 'left' : _k, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _l = _a.stickyFooter, stickyFooter = _l === void 0 ? true : _l, _m = _a.initialHeight, initialHeight = _m === void 0 ? 'default' : _m, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _o = _a.transitionProps, transitionProps = _o === void 0 ? {} : _o, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _p = _a.swipeable, swipeable = _p === void 0 ? true : _p, _q = _a.swipeableContent, swipeableContent = _q === void 0 ? true : _q, _r = _a.swipeThreshold, swipeThreshold = _r === void 0 ? 5 : _r, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _s = _a.scrollableContainerRef, scrollableContainerRef = _s === void 0 ? function () { return null; } : _s, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _t = _a.sheetContainerRef, sheetContainerRef = _t === void 0 ? function () { return null; } : _t, _u = _a.headerOffset, headerOffset = _u === void 0 ? 24 : _u, adjustContainerHeight = _a.adjustContainerHeight, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName, backButtonProps = _a.backButtonProps, _v = _a.iOSLock, iOSLock = _v === void 0 ? false : _v, _w = _a.virtualKeyboard, virtualKeyboard = _w === void 0 ? false : _w;
|
|
31
31
|
var windowHeight = (_g = reactDiv100vh.use100vh()) !== null && _g !== void 0 ? _g : 0;
|
|
32
32
|
var visibleViewportSize = hooks_useVisualviewportSize.useVisibleViewportSize(virtualKeyboard);
|
|
33
33
|
var fullHeight = virtualKeyboard ? (_h = visibleViewportSize === null || visibleViewportSize === void 0 ? void 0 : visibleViewportSize.height) !== null && _h !== void 0 ? _h : 0 : windowHeight;
|
|
34
34
|
// Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
|
|
35
35
|
var isFirstRender = fullHeight === 0;
|
|
36
|
+
if (typeof adjustContainerHeight === 'function') {
|
|
37
|
+
fullHeight = adjustContainerHeight(fullHeight);
|
|
38
|
+
}
|
|
36
39
|
var initialIndexRef = React.useRef(initialActiveAreaIndex);
|
|
37
40
|
var magneticAreas = React.useMemo(function () {
|
|
38
41
|
var _a;
|
|
@@ -41,12 +44,21 @@ var BottomSheet = React.forwardRef(function (_a, ref) {
|
|
|
41
44
|
return utils.convertPercentToNumber(area, fullHeight, headerOffset);
|
|
42
45
|
});
|
|
43
46
|
}
|
|
44
|
-
var iOSViewHeight =
|
|
45
|
-
|
|
46
|
-
: 0
|
|
47
|
+
var iOSViewHeight = 0;
|
|
48
|
+
if (coreComponentsShared.isClient()) {
|
|
49
|
+
if ((_a = document === null || document === void 0 ? void 0 : document.documentElement) === null || _a === void 0 ? void 0 : _a.clientHeight) {
|
|
50
|
+
iOSViewHeight =
|
|
51
|
+
typeof adjustContainerHeight === 'function'
|
|
52
|
+
? adjustContainerHeight(document.documentElement.clientHeight)
|
|
53
|
+
: document.documentElement.clientHeight;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
iOSViewHeight = window === null || window === void 0 ? void 0 : window.innerHeight;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
47
59
|
var viewHeight = coreComponentsShared.os.isIOS() && !virtualKeyboard ? iOSViewHeight : fullHeight;
|
|
48
60
|
return [0, viewHeight - headerOffset];
|
|
49
|
-
}, [fullHeight, headerOffset, magneticAreasProp, virtualKeyboard]);
|
|
61
|
+
}, [fullHeight, headerOffset, magneticAreasProp, virtualKeyboard, adjustContainerHeight]);
|
|
50
62
|
var lastMagneticArea = magneticAreas[magneticAreas.length - 1];
|
|
51
63
|
var _x = React.useState(0), sheetOffset = _x[0], setSheetOffset = _x[1];
|
|
52
64
|
var _y = React.useState(1), backdropOpacity = _y[0], setBackdropOpacity = _y[1];
|
|
@@ -7,6 +7,10 @@ import { NavigationBarPrivateProps as NavigationBarProps } from "../../navigatio
|
|
|
7
7
|
type BackgroundColorType = "accent" | "info" | "attention-muted" | "positive-muted" | "negative-muted" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "specialbg-component" | "specialbg-component-inverted" | "specialbg-primary-grouped" | "specialbg-secondary-grouped" | "specialbg-tertiary-grouped" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
|
|
8
8
|
type BottomSheetTitleAlign = 'center' | 'left';
|
|
9
9
|
type BottomSheetProps = {
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
adjustContainerHeight?(height: number): number;
|
|
10
14
|
/**
|
|
11
15
|
* Контент
|
|
12
16
|
*/
|
|
@@ -23,12 +23,15 @@ var isNil = fnUtils.isNil;
|
|
|
23
23
|
var BottomSheet = forwardRef(function (_a, ref) {
|
|
24
24
|
var _b, _c, _d, _e, _f;
|
|
25
25
|
var _g, _h;
|
|
26
|
-
var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _j = _a.titleSize, titleSize = _j === void 0 ? 'default' : _j, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _k = _a.titleAlign, titleAlign = _k === void 0 ? 'left' : _k, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _l = _a.stickyFooter, stickyFooter = _l === void 0 ? true : _l, _m = _a.initialHeight, initialHeight = _m === void 0 ? 'default' : _m, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _o = _a.transitionProps, transitionProps = _o === void 0 ? {} : _o, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _p = _a.swipeable, swipeable = _p === void 0 ? true : _p, _q = _a.swipeableContent, swipeableContent = _q === void 0 ? true : _q, _r = _a.swipeThreshold, swipeThreshold = _r === void 0 ? 5 : _r, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _s = _a.scrollableContainerRef, scrollableContainerRef = _s === void 0 ? function () { return null; } : _s, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _t = _a.sheetContainerRef, sheetContainerRef = _t === void 0 ? function () { return null; } : _t, _u = _a.headerOffset, headerOffset = _u === void 0 ? 24 : _u, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName, backButtonProps = _a.backButtonProps, _v = _a.iOSLock, iOSLock = _v === void 0 ? false : _v, _w = _a.virtualKeyboard, virtualKeyboard = _w === void 0 ? false : _w;
|
|
26
|
+
var open = _a.open, title = _a.title, container = _a.container, usePortal = _a.usePortal, backgroundColor = _a.backgroundColor, _j = _a.titleSize, titleSize = _j === void 0 ? 'default' : _j, subtitle = _a.subtitle, actionButton = _a.actionButton, contentClassName = _a.contentClassName, containerClassName = _a.containerClassName, containerProps = _a.containerProps, headerClassName = _a.headerClassName, footerClassName = _a.footerClassName, addonClassName = _a.addonClassName, closerClassName = _a.closerClassName, backerClassName = _a.backerClassName, modalClassName = _a.modalClassName, modalWrapperClassName = _a.modalWrapperClassName, className = _a.className, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, bottomAddons = _a.bottomAddons, hasCloser = _a.hasCloser, hasBacker = _a.hasBacker, _k = _a.titleAlign, titleAlign = _k === void 0 ? 'left' : _k, trimTitle = _a.trimTitle, stickyHeader = _a.stickyHeader, _l = _a.stickyFooter, stickyFooter = _l === void 0 ? true : _l, _m = _a.initialHeight, initialHeight = _m === void 0 ? 'default' : _m, hideOverlay = _a.hideOverlay, hideScrollbar = _a.hideScrollbar, hideHeader = _a.hideHeader, disableOverlayClick = _a.disableOverlayClick, disableBlockingScroll = _a.disableBlockingScroll, disableFocusLock = _a.disableFocusLock, children = _a.children, zIndex = _a.zIndex, _o = _a.transitionProps, transitionProps = _o === void 0 ? {} : _o, magneticAreasProp = _a.magneticAreas, initialActiveAreaIndex = _a.initialActiveAreaIndex, dataTestId = _a.dataTestId, _p = _a.swipeable, swipeable = _p === void 0 ? true : _p, _q = _a.swipeableContent, swipeableContent = _q === void 0 ? true : _q, _r = _a.swipeThreshold, swipeThreshold = _r === void 0 ? 5 : _r, scrollLockedProp = _a.scrollLocked, backdropProps = _a.backdropProps, _s = _a.scrollableContainerRef, scrollableContainerRef = _s === void 0 ? function () { return null; } : _s, bottomSheetInstanceRef = _a.bottomSheetInstanceRef, _t = _a.sheetContainerRef, sheetContainerRef = _t === void 0 ? function () { return null; } : _t, _u = _a.headerOffset, headerOffset = _u === void 0 ? 24 : _u, adjustContainerHeight = _a.adjustContainerHeight, onClose = _a.onClose, onBack = _a.onBack, onMagnetize = _a.onMagnetize, onSwipeStart = _a.onSwipeStart, onSwipeEnd = _a.onSwipeEnd, disableRestoreFocus = _a.disableRestoreFocus, disableAutoFocus = _a.disableAutoFocus, disableEscapeKeyDown = _a.disableEscapeKeyDown, keepMounted = _a.keepMounted, onMagnetizeEnd = _a.onMagnetizeEnd, onOffsetChange = _a.onOffsetChange, swipeableMarker = _a.swipeableMarker, swipeableMarkerClassName = _a.swipeableMarkerClassName, backButtonProps = _a.backButtonProps, _v = _a.iOSLock, iOSLock = _v === void 0 ? false : _v, _w = _a.virtualKeyboard, virtualKeyboard = _w === void 0 ? false : _w;
|
|
27
27
|
var windowHeight = (_g = use100vh()) !== null && _g !== void 0 ? _g : 0;
|
|
28
28
|
var visibleViewportSize = useVisibleViewportSize(virtualKeyboard);
|
|
29
29
|
var fullHeight = virtualKeyboard ? (_h = visibleViewportSize === null || visibleViewportSize === void 0 ? void 0 : visibleViewportSize.height) !== null && _h !== void 0 ? _h : 0 : windowHeight;
|
|
30
30
|
// Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
|
|
31
31
|
var isFirstRender = fullHeight === 0;
|
|
32
|
+
if (typeof adjustContainerHeight === 'function') {
|
|
33
|
+
fullHeight = adjustContainerHeight(fullHeight);
|
|
34
|
+
}
|
|
32
35
|
var initialIndexRef = useRef(initialActiveAreaIndex);
|
|
33
36
|
var magneticAreas = useMemo(function () {
|
|
34
37
|
var _a;
|
|
@@ -37,12 +40,21 @@ var BottomSheet = forwardRef(function (_a, ref) {
|
|
|
37
40
|
return convertPercentToNumber(area, fullHeight, headerOffset);
|
|
38
41
|
});
|
|
39
42
|
}
|
|
40
|
-
var iOSViewHeight =
|
|
41
|
-
|
|
42
|
-
: 0
|
|
43
|
+
var iOSViewHeight = 0;
|
|
44
|
+
if (isClient()) {
|
|
45
|
+
if ((_a = document === null || document === void 0 ? void 0 : document.documentElement) === null || _a === void 0 ? void 0 : _a.clientHeight) {
|
|
46
|
+
iOSViewHeight =
|
|
47
|
+
typeof adjustContainerHeight === 'function'
|
|
48
|
+
? adjustContainerHeight(document.documentElement.clientHeight)
|
|
49
|
+
: document.documentElement.clientHeight;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
iOSViewHeight = window === null || window === void 0 ? void 0 : window.innerHeight;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
43
55
|
var viewHeight = os.isIOS() && !virtualKeyboard ? iOSViewHeight : fullHeight;
|
|
44
56
|
return [0, viewHeight - headerOffset];
|
|
45
|
-
}, [fullHeight, headerOffset, magneticAreasProp, virtualKeyboard]);
|
|
57
|
+
}, [fullHeight, headerOffset, magneticAreasProp, virtualKeyboard, adjustContainerHeight]);
|
|
46
58
|
var lastMagneticArea = magneticAreas[magneticAreas.length - 1];
|
|
47
59
|
var _x = useState(0), sheetOffset = _x[0], setSheetOffset = _x[1];
|
|
48
60
|
var _y = useState(1), backdropOpacity = _y[0], setBackdropOpacity = _y[1];
|
|
@@ -7,6 +7,10 @@ import { NavigationBarPrivateProps as NavigationBarProps } from "../../navigatio
|
|
|
7
7
|
type BackgroundColorType = "accent" | "info" | "attention-muted" | "positive-muted" | "negative-muted" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "specialbg-component" | "specialbg-component-inverted" | "specialbg-primary-grouped" | "specialbg-secondary-grouped" | "specialbg-tertiary-grouped" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
|
|
8
8
|
type BottomSheetTitleAlign = 'center' | 'left';
|
|
9
9
|
type BottomSheetProps = {
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
adjustContainerHeight?(height: number): number;
|
|
10
14
|
/**
|
|
11
15
|
* Контент
|
|
12
16
|
*/
|
|
@@ -19,23 +19,35 @@ const styles = {"modal":"bottom-sheet__modal_n8xmp","wrapper":"bottom-sheet__wra
|
|
|
19
19
|
require('./index.css');
|
|
20
20
|
|
|
21
21
|
const { isNil } = fnUtils;
|
|
22
|
-
const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundColor, titleSize = 'default', subtitle, 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, hideScrollbar, hideHeader, disableOverlayClick, disableBlockingScroll, disableFocusLock, children, zIndex, transitionProps = {}, magneticAreas: magneticAreasProp, initialActiveAreaIndex, dataTestId, swipeable = true, swipeableContent = true, swipeThreshold = 5, scrollLocked: scrollLockedProp, backdropProps, scrollableContainerRef = () => null, bottomSheetInstanceRef, sheetContainerRef = () => null, headerOffset = 24, onClose, onBack, onMagnetize, onSwipeStart, onSwipeEnd, disableRestoreFocus, disableAutoFocus, disableEscapeKeyDown, keepMounted, onMagnetizeEnd, onOffsetChange, swipeableMarker, swipeableMarkerClassName, backButtonProps, iOSLock = false, virtualKeyboard = false, }, ref) => {
|
|
22
|
+
const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundColor, titleSize = 'default', subtitle, 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, hideScrollbar, hideHeader, disableOverlayClick, disableBlockingScroll, disableFocusLock, children, zIndex, transitionProps = {}, magneticAreas: magneticAreasProp, initialActiveAreaIndex, dataTestId, swipeable = true, swipeableContent = true, swipeThreshold = 5, scrollLocked: scrollLockedProp, backdropProps, scrollableContainerRef = () => null, bottomSheetInstanceRef, sheetContainerRef = () => null, headerOffset = 24, adjustContainerHeight, onClose, onBack, onMagnetize, onSwipeStart, onSwipeEnd, disableRestoreFocus, disableAutoFocus, disableEscapeKeyDown, keepMounted, onMagnetizeEnd, onOffsetChange, swipeableMarker, swipeableMarkerClassName, backButtonProps, iOSLock = false, virtualKeyboard = false, }, ref) => {
|
|
23
23
|
const windowHeight = use100vh() ?? 0;
|
|
24
24
|
const visibleViewportSize = useVisibleViewportSize(virtualKeyboard);
|
|
25
|
-
|
|
25
|
+
let fullHeight = virtualKeyboard ? visibleViewportSize?.height ?? 0 : windowHeight;
|
|
26
26
|
// Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
|
|
27
27
|
const isFirstRender = fullHeight === 0;
|
|
28
|
+
if (typeof adjustContainerHeight === 'function') {
|
|
29
|
+
fullHeight = adjustContainerHeight(fullHeight);
|
|
30
|
+
}
|
|
28
31
|
const initialIndexRef = useRef(initialActiveAreaIndex);
|
|
29
32
|
const magneticAreas = useMemo(() => {
|
|
30
33
|
if (magneticAreasProp) {
|
|
31
34
|
return magneticAreasProp.map((area) => convertPercentToNumber(area, fullHeight, headerOffset));
|
|
32
35
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
let iOSViewHeight = 0;
|
|
37
|
+
if (isClient()) {
|
|
38
|
+
if (document?.documentElement?.clientHeight) {
|
|
39
|
+
iOSViewHeight =
|
|
40
|
+
typeof adjustContainerHeight === 'function'
|
|
41
|
+
? adjustContainerHeight(document.documentElement.clientHeight)
|
|
42
|
+
: document.documentElement.clientHeight;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
iOSViewHeight = window?.innerHeight;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
36
48
|
const viewHeight = os.isIOS() && !virtualKeyboard ? iOSViewHeight : fullHeight;
|
|
37
49
|
return [0, viewHeight - headerOffset];
|
|
38
|
-
}, [fullHeight, headerOffset, magneticAreasProp, virtualKeyboard]);
|
|
50
|
+
}, [fullHeight, headerOffset, magneticAreasProp, virtualKeyboard, adjustContainerHeight]);
|
|
39
51
|
const lastMagneticArea = magneticAreas[magneticAreas.length - 1];
|
|
40
52
|
const [sheetOffset, setSheetOffset] = useState(0);
|
|
41
53
|
const [backdropOpacity, setBackdropOpacity] = useState(1);
|
|
@@ -7,6 +7,10 @@ import { NavigationBarPrivateProps as NavigationBarProps } from "../../navigatio
|
|
|
7
7
|
type BackgroundColorType = "accent" | "info" | "attention-muted" | "positive-muted" | "negative-muted" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "specialbg-component" | "specialbg-component-inverted" | "specialbg-primary-grouped" | "specialbg-secondary-grouped" | "specialbg-tertiary-grouped" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
|
|
8
8
|
type BottomSheetTitleAlign = 'center' | 'left';
|
|
9
9
|
type BottomSheetProps = {
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
adjustContainerHeight?(height: number): number;
|
|
10
14
|
/**
|
|
11
15
|
* Контент
|
|
12
16
|
*/
|
|
@@ -19,23 +19,35 @@ import '../../backdrop/moderncssm';
|
|
|
19
19
|
import './enums/swipeEnums.js';
|
|
20
20
|
|
|
21
21
|
const { isNil } = fnUtils;
|
|
22
|
-
const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundColor, titleSize = 'default', subtitle, 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, hideScrollbar, hideHeader, disableOverlayClick, disableBlockingScroll, disableFocusLock, children, zIndex, transitionProps = {}, magneticAreas: magneticAreasProp, initialActiveAreaIndex, dataTestId, swipeable = true, swipeableContent = true, swipeThreshold = 5, scrollLocked: scrollLockedProp, backdropProps, scrollableContainerRef = () => null, bottomSheetInstanceRef, sheetContainerRef = () => null, headerOffset = 24, onClose, onBack, onMagnetize, onSwipeStart, onSwipeEnd, disableRestoreFocus, disableAutoFocus, disableEscapeKeyDown, keepMounted, onMagnetizeEnd, onOffsetChange, swipeableMarker, swipeableMarkerClassName, backButtonProps, iOSLock = false, virtualKeyboard = false, }, ref) => {
|
|
22
|
+
const BottomSheet = forwardRef(({ open, title, container, usePortal, backgroundColor, titleSize = 'default', subtitle, 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, hideScrollbar, hideHeader, disableOverlayClick, disableBlockingScroll, disableFocusLock, children, zIndex, transitionProps = {}, magneticAreas: magneticAreasProp, initialActiveAreaIndex, dataTestId, swipeable = true, swipeableContent = true, swipeThreshold = 5, scrollLocked: scrollLockedProp, backdropProps, scrollableContainerRef = () => null, bottomSheetInstanceRef, sheetContainerRef = () => null, headerOffset = 24, adjustContainerHeight, onClose, onBack, onMagnetize, onSwipeStart, onSwipeEnd, disableRestoreFocus, disableAutoFocus, disableEscapeKeyDown, keepMounted, onMagnetizeEnd, onOffsetChange, swipeableMarker, swipeableMarkerClassName, backButtonProps, iOSLock = false, virtualKeyboard = false, }, ref) => {
|
|
23
23
|
const windowHeight = use100vh() ?? 0;
|
|
24
24
|
const visibleViewportSize = useVisibleViewportSize(virtualKeyboard);
|
|
25
|
-
|
|
25
|
+
let fullHeight = virtualKeyboard ? visibleViewportSize?.height ?? 0 : windowHeight;
|
|
26
26
|
// Хук use100vh рассчитывает высоту вьюпорта в useEffect, поэтому на первый рендер всегда возвращает null.
|
|
27
27
|
const isFirstRender = fullHeight === 0;
|
|
28
|
+
if (typeof adjustContainerHeight === 'function') {
|
|
29
|
+
fullHeight = adjustContainerHeight(fullHeight);
|
|
30
|
+
}
|
|
28
31
|
const initialIndexRef = useRef(initialActiveAreaIndex);
|
|
29
32
|
const magneticAreas = useMemo(() => {
|
|
30
33
|
if (magneticAreasProp) {
|
|
31
34
|
return magneticAreasProp.map((area) => convertPercentToNumber(area, fullHeight, headerOffset));
|
|
32
35
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
let iOSViewHeight = 0;
|
|
37
|
+
if (isClient()) {
|
|
38
|
+
if (document?.documentElement?.clientHeight) {
|
|
39
|
+
iOSViewHeight =
|
|
40
|
+
typeof adjustContainerHeight === 'function'
|
|
41
|
+
? adjustContainerHeight(document.documentElement.clientHeight)
|
|
42
|
+
: document.documentElement.clientHeight;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
iOSViewHeight = window?.innerHeight;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
36
48
|
const viewHeight = os.isIOS() && !virtualKeyboard ? iOSViewHeight : fullHeight;
|
|
37
49
|
return [0, viewHeight - headerOffset];
|
|
38
|
-
}, [fullHeight, headerOffset, magneticAreasProp, virtualKeyboard]);
|
|
50
|
+
}, [fullHeight, headerOffset, magneticAreasProp, virtualKeyboard, adjustContainerHeight]);
|
|
39
51
|
const lastMagneticArea = magneticAreas[magneticAreas.length - 1];
|
|
40
52
|
const [sheetOffset, setSheetOffset] = useState(0);
|
|
41
53
|
const [backdropOpacity, setBackdropOpacity] = useState(1);
|
|
@@ -7,6 +7,10 @@ import { NavigationBarPrivateProps as NavigationBarProps } from "../../navigatio
|
|
|
7
7
|
type BackgroundColorType = "accent" | "info" | "attention-muted" | "positive-muted" | "negative-muted" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "specialbg-component" | "specialbg-component-inverted" | "specialbg-primary-grouped" | "specialbg-secondary-grouped" | "specialbg-tertiary-grouped" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
|
|
8
8
|
type BottomSheetTitleAlign = 'center' | 'left';
|
|
9
9
|
type BottomSheetProps = {
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
adjustContainerHeight?(height: number): number;
|
|
10
14
|
/**
|
|
11
15
|
* Контент
|
|
12
16
|
*/
|
package/bottom-sheet/types.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ import { NavigationBarPrivateProps as NavigationBarProps } from "../navigation-b
|
|
|
7
7
|
type BackgroundColorType = "accent" | "info" | "attention-muted" | "positive-muted" | "negative-muted" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "specialbg-component" | "specialbg-component-inverted" | "specialbg-primary-grouped" | "specialbg-secondary-grouped" | "specialbg-tertiary-grouped" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
|
|
8
8
|
type BottomSheetTitleAlign = 'center' | 'left';
|
|
9
9
|
type BottomSheetProps = {
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
adjustContainerHeight?(height: number): number;
|
|
10
14
|
/**
|
|
11
15
|
* Контент
|
|
12
16
|
*/
|
|
@@ -25,7 +25,7 @@ declare const CalendarResponsive: React.ForwardRefExoticComponent<CalendarDeskto
|
|
|
25
25
|
onMonthTitleClick?: ((event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void) | undefined;
|
|
26
26
|
yearsAmount?: number | undefined;
|
|
27
27
|
scrollableContainer?: HTMLElement | undefined;
|
|
28
|
-
} & Omit<CalendarDesktopProps, ("
|
|
28
|
+
} & Omit<CalendarDesktopProps, ("className" | "dataTestId" | "hasHeader" | "defaultView" | "selectorView" | "rangeComplete" | "onMonthChange" | "onYearClick" | "onPeriodClick" | "responsive" | "showCurrentYearSelector") | ("contentClassName" | "headerClassName")> & Pick<CalendarDesktopProps, "className" | "dataTestId" | "hasHeader" | "defaultView" | "selectorView" | "rangeComplete" | "onMonthChange" | "onYearClick" | "onPeriodClick" | "responsive" | "showCurrentYearSelector"> & {
|
|
29
29
|
/**
|
|
30
30
|
* Контрольная точка, с нее начинается desktop версия
|
|
31
31
|
* @default 1024
|
|
@@ -4,7 +4,7 @@ declare const CalendarMonthOnlyView: ({ value, mode, rangeBehavior, month: month
|
|
|
4
4
|
onMonthTitleClick?: ((event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void) | undefined;
|
|
5
5
|
yearsAmount?: number | undefined;
|
|
6
6
|
scrollableContainer?: HTMLElement | undefined;
|
|
7
|
-
} & Omit<import("../../desktop/index").CalendarDesktopProps, ("
|
|
7
|
+
} & Omit<import("../../desktop/index").CalendarDesktopProps, ("className" | "dataTestId" | "hasHeader" | "defaultView" | "selectorView" | "rangeComplete" | "onMonthChange" | "onYearClick" | "onPeriodClick" | "responsive" | "showCurrentYearSelector") | ("contentClassName" | "headerClassName")> & {
|
|
8
8
|
/**
|
|
9
9
|
* FIXME нужно сделать для компонента CalendarMonthOnlyView отдельный тип пропсов, т.к. тип CalendarContentProps intersection для типа CalendarMobileProps
|
|
10
10
|
* FIXME это приводит к тому, что в доку сторибука попадают типы пропсов, которые нужны для работы компонента CalendarMonthOnlyView, но не нужны для компонента CalendarMobile
|
|
@@ -25,5 +25,5 @@ declare const CalendarMobile: React.ForwardRefExoticComponent<{
|
|
|
25
25
|
onMonthTitleClick?: ((event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void) | undefined;
|
|
26
26
|
yearsAmount?: number | undefined;
|
|
27
27
|
scrollableContainer?: HTMLElement | undefined;
|
|
28
|
-
} & Omit<import("../../desktop/index").CalendarDesktopProps, ("
|
|
28
|
+
} & Omit<import("../../desktop/index").CalendarDesktopProps, ("className" | "dataTestId" | "hasHeader" | "defaultView" | "selectorView" | "rangeComplete" | "onMonthChange" | "onYearClick" | "onPeriodClick" | "responsive" | "showCurrentYearSelector") | ("contentClassName" | "headerClassName")> & Pick<import("../../desktop/index").CalendarDesktopProps, "className" | "dataTestId" | "hasHeader" | "defaultView" | "selectorView" | "rangeComplete" | "onMonthChange" | "onYearClick" | "onPeriodClick" | "responsive" | "showCurrentYearSelector"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
29
|
export { CalendarMonthOnlyView, CalendarMonthOnlyViewHeader, CalendarMobile };
|
|
@@ -25,7 +25,7 @@ declare const CalendarResponsive: React.ForwardRefExoticComponent<CalendarDeskto
|
|
|
25
25
|
onMonthTitleClick?: ((event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void) | undefined;
|
|
26
26
|
yearsAmount?: number | undefined;
|
|
27
27
|
scrollableContainer?: HTMLElement | undefined;
|
|
28
|
-
} & Omit<CalendarDesktopProps, ("className" | "dataTestId" | "hasHeader" | "
|
|
28
|
+
} & Omit<CalendarDesktopProps, ("className" | "dataTestId" | "hasHeader" | "defaultView" | "selectorView" | "rangeComplete" | "onMonthChange" | "onYearClick" | "onPeriodClick" | "responsive" | "showCurrentYearSelector") | ("contentClassName" | "headerClassName")> & Pick<CalendarDesktopProps, "className" | "dataTestId" | "hasHeader" | "defaultView" | "selectorView" | "rangeComplete" | "onMonthChange" | "onYearClick" | "onPeriodClick" | "responsive" | "showCurrentYearSelector"> & {
|
|
29
29
|
/**
|
|
30
30
|
* Контрольная точка, с нее начинается desktop версия
|
|
31
31
|
* @default 1024
|
|
@@ -4,7 +4,7 @@ declare const CalendarMonthOnlyView: ({ value, mode, rangeBehavior, month: month
|
|
|
4
4
|
onMonthTitleClick?: ((event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void) | undefined;
|
|
5
5
|
yearsAmount?: number | undefined;
|
|
6
6
|
scrollableContainer?: HTMLElement | undefined;
|
|
7
|
-
} & Omit<import("../../desktop/index").CalendarDesktopProps, ("className" | "dataTestId" | "hasHeader" | "
|
|
7
|
+
} & Omit<import("../../desktop/index").CalendarDesktopProps, ("className" | "dataTestId" | "hasHeader" | "defaultView" | "selectorView" | "rangeComplete" | "onMonthChange" | "onYearClick" | "onPeriodClick" | "responsive" | "showCurrentYearSelector") | ("contentClassName" | "headerClassName")> & {
|
|
8
8
|
/**
|
|
9
9
|
* FIXME нужно сделать для компонента CalendarMonthOnlyView отдельный тип пропсов, т.к. тип CalendarContentProps intersection для типа CalendarMobileProps
|
|
10
10
|
* FIXME это приводит к тому, что в доку сторибука попадают типы пропсов, которые нужны для работы компонента CalendarMonthOnlyView, но не нужны для компонента CalendarMobile
|
|
@@ -25,5 +25,5 @@ declare const CalendarMobile: React.ForwardRefExoticComponent<{
|
|
|
25
25
|
onMonthTitleClick?: ((event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void) | undefined;
|
|
26
26
|
yearsAmount?: number | undefined;
|
|
27
27
|
scrollableContainer?: HTMLElement | undefined;
|
|
28
|
-
} & Omit<import("../../desktop/index").CalendarDesktopProps, ("className" | "dataTestId" | "hasHeader" | "
|
|
28
|
+
} & Omit<import("../../desktop/index").CalendarDesktopProps, ("className" | "dataTestId" | "hasHeader" | "defaultView" | "selectorView" | "rangeComplete" | "onMonthChange" | "onYearClick" | "onPeriodClick" | "responsive" | "showCurrentYearSelector") | ("contentClassName" | "headerClassName")> & Pick<import("../../desktop/index").CalendarDesktopProps, "className" | "dataTestId" | "hasHeader" | "defaultView" | "selectorView" | "rangeComplete" | "onMonthChange" | "onYearClick" | "onPeriodClick" | "responsive" | "showCurrentYearSelector"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
29
|
export { CalendarMonthOnlyView, CalendarMonthOnlyViewHeader, CalendarMobile };
|
|
@@ -15,7 +15,7 @@ import 'date-fns/isEqual';
|
|
|
15
15
|
import 'date-fns/max';
|
|
16
16
|
import 'date-fns/min';
|
|
17
17
|
import 'date-fns/subMonths';
|
|
18
|
-
import './index.module-
|
|
18
|
+
import './index.module-3bd8f2aa.js';
|
|
19
19
|
import 'date-fns/endOfMonth';
|
|
20
20
|
import 'date-fns/isSameMonth';
|
|
21
21
|
import '../../calendar/esm/desktop';
|
|
@@ -15,7 +15,7 @@ import 'date-fns/isEqual';
|
|
|
15
15
|
import 'date-fns/max';
|
|
16
16
|
import 'date-fns/min';
|
|
17
17
|
import 'date-fns/subMonths';
|
|
18
|
-
import './index.module-
|
|
18
|
+
import './index.module-3bd8f2aa.js';
|
|
19
19
|
import './views/static.js';
|
|
20
20
|
import 'date-fns/endOfMonth';
|
|
21
21
|
import 'date-fns/isSameMonth';
|
|
@@ -8,7 +8,7 @@ import { isCompleteDateInput } from '../../../date-input/esm';
|
|
|
8
8
|
import { useDidUpdateEffect } from '@alfalab/hooks';
|
|
9
9
|
import { Divider } from '../components/divider/Component.js';
|
|
10
10
|
import { usePopoverViewMonthes } from '../hooks.js';
|
|
11
|
-
import { s as styles } from '../index.module-
|
|
11
|
+
import { s as styles } from '../index.module-3bd8f2aa.js';
|
|
12
12
|
import 'date-fns/addMonths';
|
|
13
13
|
import 'date-fns/isEqual';
|
|
14
14
|
import 'date-fns/max';
|
|
@@ -14,7 +14,7 @@ import { isCompleteDateInput, DateInput } from '../../../date-input/esm';
|
|
|
14
14
|
import { Divider } from '../components/divider/Component.js';
|
|
15
15
|
import { useStaticViewMonthes, useSelectionProps } from '../hooks.js';
|
|
16
16
|
import { isDayButton } from '../utils.js';
|
|
17
|
-
import { s as styles } from '../index.module-
|
|
17
|
+
import { s as styles } from '../index.module-3bd8f2aa.js';
|
|
18
18
|
import 'date-fns/isEqual';
|
|
19
19
|
import 'date-fns/min';
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ import 'date-fns/isEqual';
|
|
|
14
14
|
import 'date-fns/max';
|
|
15
15
|
import 'date-fns/min';
|
|
16
16
|
import 'date-fns/subMonths';
|
|
17
|
-
import './index.module-
|
|
17
|
+
import './index.module-675a70db.js';
|
|
18
18
|
import 'date-fns/endOfMonth';
|
|
19
19
|
import 'date-fns/isSameMonth';
|
|
20
20
|
import '../../calendar/modern/desktop';
|
|
@@ -14,7 +14,7 @@ import 'date-fns/isEqual';
|
|
|
14
14
|
import 'date-fns/max';
|
|
15
15
|
import 'date-fns/min';
|
|
16
16
|
import 'date-fns/subMonths';
|
|
17
|
-
import './index.module-
|
|
17
|
+
import './index.module-675a70db.js';
|
|
18
18
|
import './views/static.js';
|
|
19
19
|
import 'date-fns/endOfMonth';
|
|
20
20
|
import 'date-fns/isSameMonth';
|
|
@@ -7,7 +7,7 @@ import { isCompleteDateInput } from '../../../date-input/modern';
|
|
|
7
7
|
import { useDidUpdateEffect } from '@alfalab/hooks';
|
|
8
8
|
import { Divider } from '../components/divider/Component.js';
|
|
9
9
|
import { usePopoverViewMonthes } from '../hooks.js';
|
|
10
|
-
import { s as styles } from '../index.module-
|
|
10
|
+
import { s as styles } from '../index.module-675a70db.js';
|
|
11
11
|
import 'date-fns/addMonths';
|
|
12
12
|
import 'date-fns/isEqual';
|
|
13
13
|
import 'date-fns/max';
|
|
@@ -13,7 +13,7 @@ import { isCompleteDateInput, DateInput } from '../../../date-input/modern';
|
|
|
13
13
|
import { Divider } from '../components/divider/Component.js';
|
|
14
14
|
import { useStaticViewMonthes, useSelectionProps } from '../hooks.js';
|
|
15
15
|
import { isDayButton } from '../utils.js';
|
|
16
|
-
import { s as styles } from '../index.module-
|
|
16
|
+
import { s as styles } from '../index.module-675a70db.js';
|
|
17
17
|
import 'date-fns/isEqual';
|
|
18
18
|
import 'date-fns/min';
|
|
19
19
|
|
|
@@ -10,7 +10,7 @@ var coreComponentsDateInput = require('../../date-input');
|
|
|
10
10
|
var hooks$1 = require('@alfalab/hooks');
|
|
11
11
|
var components_divider_Component = require('../components/divider/Component.js');
|
|
12
12
|
var hooks = require('../hooks.js');
|
|
13
|
-
var index_module = require('../index.module-
|
|
13
|
+
var index_module = require('../index.module-93fe2d00.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
16
|
|
|
@@ -16,7 +16,7 @@ var coreComponentsDateInput = require('../../date-input');
|
|
|
16
16
|
var components_divider_Component = require('../components/divider/Component.js');
|
|
17
17
|
var hooks = require('../hooks.js');
|
|
18
18
|
var utils = require('../utils.js');
|
|
19
|
-
var index_module = require('../index.module-
|
|
19
|
+
var index_module = require('../index.module-93fe2d00.js');
|
|
20
20
|
|
|
21
21
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
22
22
|
|
|
@@ -10,7 +10,7 @@ var coreComponentsTypography = require('../../../../typography');
|
|
|
10
10
|
var hooks = require('@alfalab/hooks');
|
|
11
11
|
var context = require('../../../context.js');
|
|
12
12
|
var components_header_component = require('../../header/component.js');
|
|
13
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
13
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-dd00dd2a.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
16
|
|
|
@@ -7,7 +7,7 @@ require('../../../../spinner');
|
|
|
7
7
|
require('../../../../typography');
|
|
8
8
|
require('../../../context.js');
|
|
9
9
|
require('../../../utils.js');
|
|
10
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
10
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-dd00dd2a.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ import '../../code-input/esm/mobile';
|
|
|
17
17
|
import '../../link/esm';
|
|
18
18
|
import '../../typography/esm';
|
|
19
19
|
import './components/header/component.js';
|
|
20
|
-
import './countdown-section-
|
|
20
|
+
import './countdown-section-c258b74a.js';
|
|
21
21
|
import '../../button/esm';
|
|
22
22
|
import '../../spinner/esm';
|
|
23
23
|
import './components/screens/hint/component.js';
|
|
@@ -16,7 +16,7 @@ import '../../../../code-input/esm/mobile';
|
|
|
16
16
|
import '../../../../link/esm';
|
|
17
17
|
import '../../../../typography/esm';
|
|
18
18
|
import '../header/component.js';
|
|
19
|
-
import '../../countdown-section-
|
|
19
|
+
import '../../countdown-section-c258b74a.js';
|
|
20
20
|
import '../../../../button/esm';
|
|
21
21
|
import '../../../../spinner/esm';
|
|
22
22
|
import '../countdown-loader/component.js';
|
|
@@ -14,7 +14,7 @@ import '../../../../code-input/esm/mobile';
|
|
|
14
14
|
import '../../../../link/esm';
|
|
15
15
|
import '../../../../typography/esm';
|
|
16
16
|
import '../header/component.js';
|
|
17
|
-
import '../../countdown-section-
|
|
17
|
+
import '../../countdown-section-c258b74a.js';
|
|
18
18
|
import '../../../../button/esm';
|
|
19
19
|
import '../../../../spinner/esm';
|
|
20
20
|
import '../screens/hint/component.js';
|
|
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
|
|
|
14
14
|
import '../context.js';
|
|
15
15
|
import '../utils.js';
|
|
16
16
|
import './header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-c258b74a.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
|
|
|
13
13
|
import '../../context.js';
|
|
14
14
|
import '../../utils.js';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-c258b74a.js';
|
|
17
17
|
import '../../../../button/esm';
|
|
18
18
|
import '../../../../spinner/esm';
|
|
19
19
|
import '../countdown-loader/component.js';
|
|
@@ -8,7 +8,7 @@ import { Typography } from '../../../../../typography/esm';
|
|
|
8
8
|
import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
9
9
|
import { ConfirmationContext } from '../../../context.js';
|
|
10
10
|
import { Header } from '../../header/component.js';
|
|
11
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-c258b74a.js';
|
|
12
12
|
import '../../../utils.js';
|
|
13
13
|
import '../../../../../button/esm';
|
|
14
14
|
import '../../../../../spinner/esm';
|
|
@@ -4,5 +4,5 @@ import '../../../../../button/esm';
|
|
|
4
4
|
import '../../../../../spinner/esm';
|
|
5
5
|
import '../../../../../typography/esm';
|
|
6
6
|
import '../../../context.js';
|
|
7
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
7
|
+
export { C as CountdownSection } from '../../../countdown-section-c258b74a.js';
|
|
8
8
|
import '../../../utils.js';
|
|
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
|
|
|
10
10
|
import '../../../context.js';
|
|
11
11
|
import '../../../utils.js';
|
|
12
12
|
import '../../header/component.js';
|
|
13
|
-
import '../../../countdown-section-
|
|
13
|
+
import '../../../countdown-section-c258b74a.js';
|
|
14
14
|
import '../../../../../button/esm';
|
|
15
15
|
import '../../../../../spinner/esm';
|