@alfalab/core-components 42.2.2 → 42.2.3
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/calendar/cssm/Component-50136800.d.ts +166 -3
- package/calendar/cssm/Component.desktop-ebda875c.d.ts +6 -0
- package/calendar/cssm/desktop-63dec22f.d.ts +2 -6
- package/calendar-input/Component-50136800.d.ts +166 -3
- package/calendar-input/Component-63dec22f.d.ts +12 -155
- package/calendar-input/Component.desktop-8b5756fe.d.ts +5 -68
- package/calendar-input/components/calendar-input/Component.d.ts +1 -1
- package/calendar-input/cssm/Component-50136800.d.ts +166 -3
- package/calendar-input/cssm/Component-63dec22f.d.ts +12 -155
- package/calendar-input/cssm/Component-e2b6c730.d.ts +76 -0
- package/calendar-input/cssm/Component.desktop-8b5756fe.d.ts +5 -68
- package/calendar-input/cssm/components/calendar-input/Component.d.ts +1 -1
- package/calendar-input/cssm/index-9211a437.d.ts +1 -1
- package/calendar-input/cssm/index-ebda875c.d.ts +1 -1
- package/calendar-input/cssm/index-f034f741.d.ts +2 -80
- package/calendar-input/cssm/mobile-c219f8ca.d.ts +367 -1
- package/calendar-input/desktop-8b5756fe.d.ts +2 -0
- package/calendar-input/esm/Component-50136800.d.ts +3 -166
- package/calendar-input/esm/Component-63dec22f.d.ts +155 -12
- package/calendar-input/esm/Component.desktop-8b5756fe.d.ts +68 -5
- package/calendar-input/esm/components/calendar-input/Component.d.ts +1 -1
- package/calendar-input/esm/index-9211a437.d.ts +1 -1
- package/calendar-input/esm/index-ebda875c.d.ts +1 -1
- package/calendar-input/esm/index-f034f741.d.ts +80 -2
- package/calendar-input/esm/mobile-c219f8ca.d.ts +1 -367
- package/calendar-input/index-9211a437.d.ts +1 -1
- package/calendar-input/index-ebda875c.d.ts +1 -1
- package/calendar-input/index-f034f741.d.ts +2 -80
- package/calendar-input/mobile-c219f8ca.d.ts +367 -1
- package/calendar-input/modern/Component-50136800.d.ts +166 -3
- package/calendar-input/modern/Component-5684a67d.d.ts +23 -0
- package/calendar-input/modern/Component-63dec22f.d.ts +12 -155
- package/calendar-input/modern/Component-e2b6c730.d.ts +76 -0
- package/calendar-input/modern/Component.desktop-8b5756fe.d.ts +5 -68
- package/calendar-input/modern/components/calendar-input/Component.d.ts +1 -1
- package/calendar-input/modern/desktop-8b5756fe.d.ts +2 -0
- package/calendar-input/modern/index-9211a437.d.ts +1 -1
- package/calendar-input/modern/index-ebda875c.d.ts +1 -1
- package/calendar-input/modern/index-f034f741.d.ts +2 -80
- package/calendar-input/modern/mobile-c219f8ca.d.ts +367 -1
- package/calendar-input/utils-e0a54580.d.ts +8 -0
- package/calendar-range/modern/index-ebda875c.d.ts +52 -1
- package/calendar-range/modern/index-f034f741.d.ts +130 -2
- package/calendar-range/modern/shared-848397c5.d.ts +2 -2
- package/calendar-range/modern/shared-c111a9fd.d.ts +1 -13
- package/calendar-range/modern/utils-848397c5.d.ts +13 -0
- package/confirmation/component.desktop.js +1 -1
- package/confirmation/component.mobile.js +1 -1
- package/confirmation/component.responsive.js +1 -1
- package/confirmation/components/base-confirmation/component.js +1 -1
- package/confirmation/components/base-confirmation/index.js +1 -1
- 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/desktop.js +1 -1
- package/confirmation/esm/component.desktop.js +1 -1
- package/confirmation/esm/component.mobile.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.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile.js +1 -1
- package/confirmation/esm/shared.js +1 -1
- package/confirmation/index.js +1 -1
- package/confirmation/mobile.js +1 -1
- 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/desktop.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile.js +1 -1
- package/confirmation/modern/shared.js +1 -1
- package/confirmation/shared.js +1 -1
- package/custom-picker-button/Component-50136800.d.ts +1 -36
- package/custom-picker-button/Component-5e1b8383.d.ts +70 -20
- package/custom-picker-button/Component-8b2c2707.d.ts +68 -9
- package/custom-picker-button/Component-df3978fd.d.ts +12 -0
- package/custom-picker-button/Component.desktop-4cd3936b.d.ts +49 -0
- package/custom-picker-button/Component.mobile.d.ts +1 -1
- package/custom-picker-button/createPaddingStyle-72dda473.d.ts +5 -0
- package/custom-picker-button/cssm/Component-50136800.d.ts +21 -62
- package/custom-picker-button/cssm/Component-5e1b8383.d.ts +4 -21
- package/custom-picker-button/cssm/Component-8b2c2707.d.ts +265 -9
- package/custom-picker-button/cssm/Component-ebda875c.d.ts +98 -9
- package/{intl-phone-input/Component-50136800.d.ts → custom-picker-button/cssm/Component-f12ee135.d.ts} +13 -43
- package/custom-picker-button/cssm/Component.desktop-4cd3936b.d.ts +49 -0
- package/custom-picker-button/cssm/Component.mobile-96988a65.d.ts +6 -0
- package/custom-picker-button/cssm/Component.mobile.d.ts +9 -1
- package/custom-picker-button/cssm/{index-8b2c2707.d.ts → Component.responsive-2e2b2125.d.ts} +1 -2
- package/custom-picker-button/cssm/desktop-d446ae02.d.ts +2 -39
- package/custom-picker-button/cssm/hook-9ea9e32c.d.ts +4 -4
- package/custom-picker-button/cssm/index-9211a437.d.ts +2 -0
- package/custom-picker-button/cssm/index-bdb4c6b9.d.ts +180 -2
- package/custom-picker-button/cssm/index-c44170fe.d.ts +3 -4
- package/custom-picker-button/cssm/index-ebda875c.d.ts +15 -20
- package/custom-picker-button/cssm/index-f12ee135.d.ts +307 -3
- package/custom-picker-button/cssm/shared-4cd3936b.d.ts +1 -88
- package/custom-picker-button/desktop-d446ae02.d.ts +2 -39
- package/custom-picker-button/esm/Component-50136800.d.ts +21 -62
- package/custom-picker-button/esm/Component-5e1b8383.d.ts +4 -21
- package/custom-picker-button/esm/Component-8b2c2707.d.ts +265 -9
- package/custom-picker-button/esm/Component-aed0af6e.d.ts +11 -0
- package/custom-picker-button/esm/Component-ebda875c.d.ts +98 -9
- package/{intl-phone-input/esm/Component-50136800.d.ts → custom-picker-button/esm/Component-f12ee135.d.ts} +13 -43
- package/custom-picker-button/esm/Component.desktop-4cd3936b.d.ts +49 -0
- package/custom-picker-button/esm/Component.mobile-96988a65.d.ts +6 -0
- package/custom-picker-button/esm/Component.mobile.d.ts +9 -1
- package/custom-picker-button/esm/{index-8b2c2707.d.ts → Component.responsive-2e2b2125.d.ts} +1 -2
- package/custom-picker-button/esm/desktop-d446ae02.d.ts +2 -39
- package/custom-picker-button/esm/hook-9ea9e32c.d.ts +4 -4
- package/custom-picker-button/esm/index-9211a437.d.ts +2 -0
- package/custom-picker-button/esm/index-bdb4c6b9.d.ts +180 -2
- package/custom-picker-button/esm/index-c44170fe.d.ts +3 -4
- package/custom-picker-button/esm/index-ebda875c.d.ts +15 -20
- package/custom-picker-button/esm/index-f12ee135.d.ts +307 -3
- package/custom-picker-button/esm/shared-4cd3936b.d.ts +1 -88
- package/custom-picker-button/index-50136800.d.ts +2 -5
- package/custom-picker-button/index-c44170fe.d.ts +137 -0
- package/custom-picker-button/index-ebda875c.d.ts +1 -35
- package/custom-picker-button/index-f12ee135.d.ts +1 -1
- package/custom-picker-button/modern/{Component-50136800.d.ts → component-50136800.d.ts} +24 -31
- package/custom-picker-button/shared-4cd3936b.d.ts +0 -1
- package/date-range-input/cssm/Component.desktop-8b5756fe.d.ts +8 -1
- package/date-range-input/cssm/index-ebda875c.d.ts +15 -115
- package/date-range-input/cssm/index-f034f741.d.ts +2 -5
- package/date-time-input/Component-50136800.d.ts +166 -3
- package/date-time-input/Component-5684a67d.d.ts +23 -0
- package/date-time-input/Component-63dec22f.d.ts +12 -155
- package/date-time-input/Component-e2b6c730.d.ts +76 -0
- package/date-time-input/Component.desktop-8b5756fe.d.ts +5 -68
- package/date-time-input/Component.desktop-ebda875c.d.ts +6 -0
- package/date-time-input/components/date-time-input/Component.d.ts +1 -1
- package/date-time-input/desktop-8b5756fe.d.ts +2 -0
- package/date-time-input/esm/Component.desktop-8b5756fe.d.ts +8 -1
- package/date-time-input/esm/index-ebda875c.d.ts +15 -115
- package/date-time-input/esm/index-f034f741.d.ts +2 -5
- package/date-time-input/index-9211a437.d.ts +1 -1
- package/date-time-input/index-ebda875c.d.ts +115 -15
- package/date-time-input/index-f034f741.d.ts +2 -80
- package/date-time-input/mobile-c219f8ca.d.ts +367 -1
- package/date-time-input/utils-e0a54580.d.ts +8 -0
- 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 +1 -1
- package/gallery/components/image-viewer/index.js +1 -1
- 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 +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/index.js +2 -2
- package/gallery/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/index.js +2 -2
- package/input/esm/Component.responsive.d.ts +1 -1
- package/input/esm/components/base-input/Component.d.ts +1 -1
- package/input/modern/Component.responsive.d.ts +1 -1
- package/input/modern/components/base-input/Component.d.ts +1 -1
- package/input-autocomplete/Component-5e1b8383.d.ts +70 -3
- package/input-autocomplete/Component-ebda875c.d.ts +8 -265
- package/input-autocomplete/Component.mobile.d.ts +1 -1
- package/input-autocomplete/Component.modal.mobile.d.ts +2 -2
- package/input-autocomplete/Component.responsive.d.ts +1 -1
- package/input-autocomplete/component-50136800.d.ts +5 -5
- package/input-autocomplete/cssm/Component-50136800.d.ts +31 -24
- package/input-autocomplete/desktop-63dec22f.d.ts +6 -2
- package/input-autocomplete/esm/Component-5e1b8383.d.ts +20 -70
- package/input-autocomplete/esm/component-50136800.d.ts +72 -0
- package/input-autocomplete/esm/desktop-63dec22f.d.ts +2 -6
- package/input-autocomplete/esm/mobile-96988a65.d.ts +5 -2
- package/input-autocomplete/esm/shared-4cd3936b.d.ts +1 -0
- package/input-autocomplete/hook-9ea9e32c.d.ts +4 -4
- package/input-autocomplete/index-bdb4c6b9.d.ts +2 -180
- package/input-autocomplete/index-ebda875c.d.ts +115 -11
- package/input-autocomplete/mobile-96988a65.d.ts +2 -5
- package/input-autocomplete/modern/Component-5e1b8383.d.ts +3 -70
- package/input-autocomplete/modern/Component-96988a65.d.ts +9 -0
- package/input-autocomplete/modern/Component-aed0af6e.d.ts +11 -0
- package/input-autocomplete/modern/Component-ebda875c.d.ts +265 -8
- package/input-autocomplete/modern/Component.mobile.d.ts +1 -1
- package/input-autocomplete/modern/Component.modal.mobile.d.ts +2 -2
- package/input-autocomplete/modern/Component.responsive.d.ts +1 -1
- package/input-autocomplete/modern/component-50136800.d.ts +5 -5
- package/input-autocomplete/modern/desktop-63dec22f.d.ts +2 -6
- package/input-autocomplete/modern/hook-9ea9e32c.d.ts +4 -4
- package/input-autocomplete/modern/index-bdb4c6b9.d.ts +180 -2
- package/input-autocomplete/modern/index-ebda875c.d.ts +11 -115
- package/input-autocomplete/modern/mobile-96988a65.d.ts +5 -2
- package/input-autocomplete/modern/shared-4cd3936b.d.ts +2 -87
- package/input-autocomplete/shared-4cd3936b.d.ts +87 -2
- package/intl-phone-input/Component-4cd3936b.d.ts +1 -1
- package/intl-phone-input/Component-5e1b8383.d.ts +96 -18
- package/intl-phone-input/component.d.ts +1 -1
- package/intl-phone-input/components/select/component.d.ts +1 -1
- package/intl-phone-input/desktop-63dec22f.d.ts +1 -1
- package/intl-phone-input/esm/Component-4cd3936b.d.ts +1 -1
- package/intl-phone-input/esm/Component-5e1b8383.d.ts +96 -18
- package/intl-phone-input/esm/component.d.ts +1 -1
- package/intl-phone-input/esm/components/select/component.d.ts +1 -1
- package/intl-phone-input/esm/desktop-63dec22f.d.ts +1 -1
- package/intl-phone-input/esm/shared-4cd3936b.d.ts +83 -13
- package/intl-phone-input/shared-4cd3936b.d.ts +83 -13
- 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/number-input/Component.d.ts +1 -1
- package/number-input/cssm/Component.d.ts +1 -1
- package/package.json +1 -1
- package/phone-input/utils/index.js +1 -3
- package/picker-button/cssm/Component.desktop.d.ts +2 -2
- package/picker-button/cssm/Component.mobile-06ffd24b.d.ts +1 -1
- package/picker-button/cssm/Component.mobile.d.ts +1 -1
- package/picker-button/cssm/Component.modal.mobile-5e1b8383.d.ts +1 -1
- package/picker-button/cssm/Component.responsive.d.ts +3 -3
- package/{input-autocomplete/esm/Component-50136800.d.ts → picker-button/cssm/component-50136800.d.ts} +6 -6
- package/picker-button/cssm/option/Component.d.ts +2 -2
- package/picker-button/cssm/shared-4cd3936b.d.ts +93 -0
- package/picker-button/modern/component-50136800.d.ts +44 -0
- package/pure-cell/component-5a229016.d.ts +9 -9
- package/pure-cell/component.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/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-5a229016.d.ts +9 -9
- package/pure-cell/esm/component.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/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-5a229016.d.ts +9 -9
- package/pure-cell/modern/component.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/main/component.js +1 -1
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +1 -1
- package/pure-cell/modern/components/text/component.js +1 -1
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +1 -1
- package/pure-cell/modern/index.js +1 -1
- package/select/Component.mobile.js +1 -1
- package/select/Component.modal.mobile.js +1 -1
- package/select/Component.responsive.js +1 -1
- package/select/cssm/Component.mobile-f1f15074.d.ts +11 -11
- package/select/esm/Component.desktop-ebda875c.d.ts +6 -0
- package/select/esm/Component.desktop.d.ts +0 -2
- package/select/esm/Component.mobile-f1f15074.d.ts +1 -1
- package/select/esm/Component.mobile.js +1 -1
- package/select/esm/Component.modal.mobile.js +1 -1
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile-96988a65.d.ts +6 -2
- package/select/esm/mobile.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared.js +1 -1
- package/select/index.js +1 -1
- package/select/mobile.js +1 -1
- package/select/modern/Component.desktop-ebda875c.d.ts +6 -0
- package/select/modern/Component.desktop.d.ts +0 -2
- package/select/modern/Component.mobile-f1f15074.d.ts +12 -12
- package/select/modern/Component.mobile.js +1 -1
- package/select/modern/Component.modal.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile-96988a65.d.ts +6 -2
- package/select/modern/mobile.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared.js +1 -1
- package/select-with-tags/component-50136800.d.ts +6 -6
- package/select-with-tags/modern/component-50136800.d.ts +6 -6
- package/tabs/collapsible.js +2 -2
- package/tabs/components/primary-tablist/Component.collapsible.desktop.js +1 -1
- package/tabs/components/primary-tablist/Component.collapsible.mobile.js +2 -2
- package/tabs/components/primary-tablist/Component.collapsible.responsive.js +2 -2
- package/tabs/components/primary-tablist/Component.desktop.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 +1 -1
- package/tabs/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/components/tabs/Component.collabsible.desktop.js +1 -1
- package/tabs/components/tabs/Component.collapsible.mobile.js +2 -2
- package/tabs/components/tabs/Component.collapsible.responsive.js +2 -2
- package/tabs/components/tabs/Component.desktop.js +2 -2
- package/tabs/components/tabs/Component.mobile.js +3 -3
- package/tabs/components/tabs/Component.responsive.js +3 -3
- package/tabs/cssm/Component.mobile-ebda875c.d.ts +6 -0
- package/tabs/cssm/index-ebda875c.d.ts +86 -21
- package/tabs/desktop.js +2 -2
- package/tabs/esm/collapsible.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.collapsible.desktop.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.collapsible.mobile.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.collapsible.responsive.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.desktop.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 +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.collabsible.desktop.js +1 -1
- package/tabs/esm/components/tabs/Component.collapsible.mobile.js +2 -2
- package/tabs/esm/components/tabs/Component.collapsible.responsive.js +2 -2
- package/tabs/esm/components/tabs/Component.desktop.js +2 -2
- package/tabs/esm/components/tabs/Component.mobile.js +3 -3
- package/tabs/esm/components/tabs/Component.responsive.js +3 -3
- package/tabs/esm/desktop.js +2 -2
- package/tabs/esm/index.js +3 -3
- package/tabs/esm/mobile.js +3 -3
- package/tabs/index-ebda875c.d.ts +21 -86
- package/tabs/index.js +3 -3
- package/tabs/mobile.js +3 -3
- package/tabs/modern/collapsible.js +2 -2
- package/tabs/modern/components/primary-tablist/Component.collapsible.desktop.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.collapsible.mobile.js +2 -2
- package/tabs/modern/components/primary-tablist/Component.collapsible.responsive.js +2 -2
- package/tabs/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.mobile.js +2 -2
- package/tabs/modern/components/primary-tablist/Component.responsive.js +2 -2
- 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.collabsible.desktop.js +1 -1
- package/tabs/modern/components/tabs/Component.collapsible.mobile.js +2 -2
- package/tabs/modern/components/tabs/Component.collapsible.responsive.js +2 -2
- package/tabs/modern/components/tabs/Component.desktop.js +2 -2
- package/tabs/modern/components/tabs/Component.mobile.js +3 -3
- package/tabs/modern/components/tabs/Component.responsive.js +3 -3
- package/tabs/modern/desktop.js +2 -2
- package/tabs/modern/index.js +3 -3
- package/tabs/modern/mobile.js +3 -3
- package/tag/cssm/components/base-tag/Component.d.ts +1 -1
- package/tag/esm/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/index.js +1 -1
- package/textarea/modern/Component.js +1 -1
- package/textarea/modern/components/PseudoTextArea.js +1 -1
- package/textarea/modern/components/index.d.ts +1 -1
- package/textarea/modern/components/index.js +1 -1
- package/textarea/modern/index.js +1 -1
- package/themes/compiled/mobile-dark-bluetint.css +402 -401
- package/time-input/cssm/utils/format.js +10 -6
- package/time-input/esm/utils/format.js +10 -6
- package/time-input/utils/format.js +10 -6
- package/toast/cssm/Component.desktop-7ca84eff.d.ts +6 -0
- package/toast/esm/Component.responsive.d.ts +1 -1
- package/toast/esm/components/base-toast/component.d.ts +1 -1
- package/toast/esm/index-7ca84eff.d.ts +3 -3
- package/toast/modern/Component.desktop-7ca84eff.d.ts +6 -0
- package/typography/component.js +2 -2
- package/typography/cssm/title/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.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/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
- package/calendar-input/cssm/Component-8b5756fe.d.ts +0 -388
- package/calendar-input/cssm/Component-ebda875c.d.ts +0 -35
- package/calendar-input/modern/Component-8b5756fe.d.ts +0 -388
- package/calendar-input/modern/Component-ebda875c.d.ts +0 -35
- package/calendar-range/modern/Component-5684a67d.d.ts +0 -18
- package/calendar-range/modern/Component.desktop-e2b6c730.d.ts +0 -134
- package/custom-picker-button/Component-72dda473.d.ts +0 -53
- package/custom-picker-button/cssm/Component-63dec22f.d.ts +0 -167
- package/custom-picker-button/cssm/Component-9211a437.d.ts +0 -38
- package/custom-picker-button/cssm/Component.mobile-d446ae02.d.ts +0 -23
- package/custom-picker-button/cssm/mobile-755fbaa3.d.ts +0 -2
- package/custom-picker-button/cssm/utils-49cc3c24.d.ts +0 -8
- package/custom-picker-button/esm/Component-63dec22f.d.ts +0 -167
- package/custom-picker-button/esm/Component-9211a437.d.ts +0 -38
- package/custom-picker-button/esm/Component.mobile-d446ae02.d.ts +0 -23
- package/custom-picker-button/esm/Component.modal.mobile-5e1b8383.d.ts +0 -60
- package/custom-picker-button/esm/mobile-755fbaa3.d.ts +0 -2
- package/custom-picker-button/esm/types-d9f9bbcc.d.ts +0 -259
- package/custom-picker-button/esm/utils-1574ad8b.d.ts +0 -29
- package/custom-picker-button/esm/utils-49cc3c24.d.ts +0 -8
- package/custom-picker-button/types-d9f9bbcc.d.ts +0 -259
- package/date-time-input/Component-8b5756fe.d.ts +0 -388
- package/date-time-input/Component.mobile-ebda875c.d.ts +0 -6
- package/input-autocomplete/esm/Component.mobile-ebda875c.d.ts +0 -6
- package/input-autocomplete/modern/Component-63dec22f.d.ts +0 -167
- package/input-autocomplete/modern/Component.mobile-ebda875c.d.ts +0 -6
- package/input-autocomplete/modern/Component.modal.mobile-5e1b8383.d.ts +0 -60
- package/input-autocomplete/modern/utils-1574ad8b.d.ts +0 -29
- package/intl-phone-input/desktop-2e2b2125.d.ts +0 -2
- package/intl-phone-input/esm/desktop-2e2b2125.d.ts +0 -2
- package/picker-button/cssm/shared-5e1b8383.d.ts +0 -6
- package/tabs/cssm/Component.desktop-ebda875c.d.ts +0 -6
- package/toast/cssm/Component.mobile-7ca84eff.d.ts +0 -6
- package/toast/modern/Component.mobile-7ca84eff.d.ts +0 -6
- /package/calendar-input/{esm/Component-5684a67d.d.ts → Component-5684a67d.d.ts} +0 -0
- /package/calendar-input/{esm/Component-e2b6c730.d.ts → Component-e2b6c730.d.ts} +0 -0
- /package/calendar-input/{esm/Component.responsive-755fbaa3.d.ts → Component.responsive-755fbaa3.d.ts} +0 -0
- /package/{calendar-range/modern/Component-e2b6c730.d.ts → calendar-input/cssm/Component-5684a67d.d.ts} +0 -0
- /package/calendar-input/{Component.responsive-2e2b2125.d.ts → cssm/Component.responsive-755fbaa3.d.ts} +0 -0
- /package/calendar-input/{esm → cssm}/desktop-8b5756fe.d.ts +0 -0
- /package/calendar-input/{esm → cssm}/shared-71d94e2b.d.ts +0 -0
- /package/calendar-input/{esm → cssm}/utils-e0a54580.d.ts +0 -0
- /package/calendar-input/{Component-8b5756fe.d.ts → esm/Component-8b5756fe.d.ts} +0 -0
- /package/calendar-input/{Component-ebda875c.d.ts → esm/Component-ebda875c.d.ts} +0 -0
- /package/calendar-input/{cssm → esm}/Component.responsive-2e2b2125.d.ts +0 -0
- /package/calendar-input/{cssm → esm}/shared-f034f741.d.ts +0 -0
- /package/calendar-input/modern/{Component.responsive-2e2b2125.d.ts → Component.responsive-755fbaa3.d.ts} +0 -0
- /package/calendar-input/modern/{shared-f034f741.d.ts → shared-71d94e2b.d.ts} +0 -0
- /package/{calendar-range → calendar-input}/modern/utils-e0a54580.d.ts +0 -0
- /package/calendar-input/{shared-f034f741.d.ts → shared-71d94e2b.d.ts} +0 -0
- /package/calendar-range/modern/{useCalendar-71d94e2b.d.ts → useCalendar-5684a67d.d.ts} +0 -0
- /package/calendar-range/modern/{utils-e2b6c730.d.ts → utils-5684a67d.d.ts} +0 -0
- /package/confirmation/{countdown-section-450ad0fb.d.ts → countdown-section-b13f3b39.d.ts} +0 -0
- /package/confirmation/{countdown-section-450ad0fb.js → countdown-section-b13f3b39.js} +0 -0
- /package/confirmation/esm/{countdown-section-1619290d.d.ts → countdown-section-1197a364.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-1619290d.js → countdown-section-1197a364.js} +0 -0
- /package/confirmation/modern/{countdown-section-1e0212a1.d.ts → countdown-section-eae4e9ec.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-1e0212a1.js → countdown-section-eae4e9ec.js} +0 -0
- /package/custom-picker-button/{Component.mobile-d446ae02.d.ts → Component.mobile-4cd3936b.d.ts} +0 -0
- /package/{input-autocomplete → custom-picker-button/cssm}/Component-aed0af6e.d.ts +0 -0
- /package/custom-picker-button/cssm/{Component.responsive-785df74d.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
- /package/custom-picker-button/cssm/{desktop-2e2b2125.d.ts → desktop-63dec22f.d.ts} +0 -0
- /package/{input-autocomplete → custom-picker-button/cssm}/hook-ebda875c.d.ts +0 -0
- /package/custom-picker-button/{desktop-2e2b2125.d.ts → desktop-63dec22f.d.ts} +0 -0
- /package/custom-picker-button/esm/{Component.responsive-785df74d.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
- /package/custom-picker-button/esm/{desktop-2e2b2125.d.ts → desktop-63dec22f.d.ts} +0 -0
- /package/{intl-phone-input/esm/hook-c44170fe.d.ts → custom-picker-button/esm/hook-ebda875c.d.ts} +0 -0
- /package/custom-picker-button/{cssm/types-d9f9bbcc.d.ts → types-72dda473.d.ts} +0 -0
- /package/date-time-input/{Component.responsive-2e2b2125.d.ts → Component.responsive-755fbaa3.d.ts} +0 -0
- /package/gallery/{buttons-fb2186dd.d.ts → buttons-2f4a679b.d.ts} +0 -0
- /package/gallery/{buttons-fb2186dd.js → buttons-2f4a679b.js} +0 -0
- /package/gallery/esm/{buttons-26be921d.d.ts → buttons-b1e4ad57.d.ts} +0 -0
- /package/gallery/esm/{buttons-26be921d.js → buttons-b1e4ad57.js} +0 -0
- /package/gallery/esm/{slide-4a5d77ff.d.ts → slide-e001786d.d.ts} +0 -0
- /package/gallery/esm/{slide-4a5d77ff.js → slide-e001786d.js} +0 -0
- /package/gallery/modern/{buttons-6c2011fc.d.ts → buttons-2996f117.d.ts} +0 -0
- /package/gallery/modern/{buttons-6c2011fc.js → buttons-2996f117.js} +0 -0
- /package/gallery/modern/{slide-c6cf351a.d.ts → slide-b6eba657.d.ts} +0 -0
- /package/gallery/modern/{slide-c6cf351a.js → slide-b6eba657.js} +0 -0
- /package/gallery/{slide-97c2430b.d.ts → slide-df46da69.d.ts} +0 -0
- /package/gallery/{slide-97c2430b.js → slide-df46da69.js} +0 -0
- /package/{calendar/cssm → input-autocomplete}/Component-63dec22f.d.ts +0 -0
- /package/{calendar/cssm → input-autocomplete}/Component.mobile-ebda875c.d.ts +0 -0
- /package/{custom-picker-button/cssm → input-autocomplete}/Component.modal.mobile-5e1b8383.d.ts +0 -0
- /package/input-autocomplete/{Component-96988a65.d.ts → esm/Component-96988a65.d.ts} +0 -0
- /package/input-autocomplete/{modern/mobile-06ffd24b.d.ts → mobile-06ffd24b.d.ts} +0 -0
- /package/{intl-phone-input/hook-c44170fe.d.ts → input-autocomplete/modern/hook-ebda875c.d.ts} +0 -0
- /package/input-autocomplete/{mobile-45dc17c6.d.ts → modern/mobile-45dc17c6.d.ts} +0 -0
- /package/{custom-picker-button/cssm → input-autocomplete}/utils-1574ad8b.d.ts +0 -0
- /package/intl-phone-input/{Component.desktop-ed17077e.d.ts → Component.desktop-4cd3936b.d.ts} +0 -0
- /package/intl-phone-input/{Component.desktop-63dec22f.d.ts → Component.desktop-5e1b8383.d.ts} +0 -0
- /package/{table/modern → intl-phone-input}/component-50136800.d.ts +0 -0
- /package/intl-phone-input/esm/{Component.desktop-ed17077e.d.ts → Component.desktop-4cd3936b.d.ts} +0 -0
- /package/intl-phone-input/esm/{Component.desktop-63dec22f.d.ts → Component.desktop-5e1b8383.d.ts} +0 -0
- /package/{picker-button/cssm/Component-50136800.d.ts → intl-phone-input/esm/component-50136800.d.ts} +0 -0
- /package/intl-phone-input/modern/{Component-50136800.d.ts → component-50136800.d.ts} +0 -0
- /package/list/{Component-3d45b936.d.ts → Component-97126071.d.ts} +0 -0
- /package/list/{Component-3d45b936.js → Component-97126071.js} +0 -0
- /package/list/esm/{Component-a5c6bc96.d.ts → Component-dfbde161.d.ts} +0 -0
- /package/list/esm/{Component-a5c6bc96.js → Component-dfbde161.js} +0 -0
- /package/list/modern/{Component-116c4d34.d.ts → Component-b032dada.d.ts} +0 -0
- /package/list/modern/{Component-116c4d34.js → Component-b032dada.js} +0 -0
- /package/picker-button/cssm/{hook-5e1b8383.d.ts → hook-9ea9e32c.d.ts} +0 -0
- /package/pure-cell/{component-574b4719.d.ts → component-8604627d.d.ts} +0 -0
- /package/pure-cell/{component-574b4719.js → component-8604627d.js} +0 -0
- /package/pure-cell/esm/{component-bd1cff18.d.ts → component-63d496d4.d.ts} +0 -0
- /package/pure-cell/esm/{component-bd1cff18.js → component-63d496d4.js} +0 -0
- /package/pure-cell/modern/{component-d896f003.d.ts → component-90332901.d.ts} +0 -0
- /package/pure-cell/modern/{component-d896f003.js → component-90332901.js} +0 -0
- /package/select/esm/{hook-8b901e45.d.ts → hook-6b3b9eba.d.ts} +0 -0
- /package/select/esm/{hook-8b901e45.js → hook-6b3b9eba.js} +0 -0
- /package/select/{hook-51f508bc.d.ts → hook-71d733f5.d.ts} +0 -0
- /package/select/{hook-51f508bc.js → hook-71d733f5.js} +0 -0
- /package/select/modern/{hook-b4b02643.d.ts → hook-721ecf1e.d.ts} +0 -0
- /package/select/modern/{hook-b4b02643.js → hook-721ecf1e.js} +0 -0
- /package/{picker-button → table}/modern/Component-50136800.d.ts +0 -0
- /package/tabs/{esm/Component.mobile-ebda875c.d.ts → Component.mobile-ebda875c.d.ts} +0 -0
- /package/tabs/{Component.desktop-ebda875c.d.ts → esm/Component.desktop-ebda875c.d.ts} +0 -0
- /package/tabs/esm/{index.module-6a3caad4.js → index.module-55bf1d28.js} +0 -0
- /package/tabs/esm/{index.module-476dfe41.js → index.module-ac3442a2.js} +0 -0
- /package/tabs/esm/{mobile.module-88c32b6e.js → mobile.module-e71a2bee.js} +0 -0
- /package/tabs/{index.module-2a1fc857.js → index.module-0888e855.js} +0 -0
- /package/tabs/{index.module-d3a1b5b8.js → index.module-8740ddf6.js} +0 -0
- /package/tabs/{mobile.module-05f3438c.js → mobile.module-27006097.js} +0 -0
- /package/tabs/modern/{index.module-486ed899.js → index.module-568ea224.js} +0 -0
- /package/tabs/modern/{index.module-08a9cafc.js → index.module-c05fe969.js} +0 -0
- /package/tabs/modern/{mobile.module-9fd30b09.js → mobile.module-d4facc6e.js} +0 -0
- /package/textarea/{PseudoTextArea-d15f57ae.d.ts → PseudoTextArea-b6497daf.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-d15f57ae.js → PseudoTextArea-b6497daf.js} +0 -0
- /package/textarea/esm/{PseudoTextArea-67edf0fd.d.ts → PseudoTextArea-7f19cc70.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-67edf0fd.js → PseudoTextArea-7f19cc70.js} +0 -0
- /package/textarea/modern/{PseudoTextArea-f696979a.d.ts → PseudoTextArea-6e0ad103.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-f696979a.js → PseudoTextArea-6e0ad103.js} +0 -0
- /package/toast/{esm/Component.desktop-7ca84eff.d.ts → Component.desktop-7ca84eff.d.ts} +0 -0
- /package/toast/{Component.mobile-7ca84eff.d.ts → esm/Component.mobile-7ca84eff.d.ts} +0 -0
- /package/typography/{colors.module-7950d7ec.js → colors.module-43260d58.js} +0 -0
- /package/typography/{common.module-6e24e386.js → common.module-68032073.js} +0 -0
- /package/typography/esm/{colors.module-61f84700.js → colors.module-786a42c1.js} +0 -0
- /package/typography/esm/{common.module-2c0af9b6.js → common.module-c9d01ac6.js} +0 -0
- /package/typography/modern/{colors.module-1f2f5f1c.js → colors.module-4d1dd4b4.js} +0 -0
- /package/typography/modern/{common.module-a96022c2.js → common.module-947d9aed.js} +0 -0
|
@@ -1,2 +1,180 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react-transition-group" />
|
|
3
|
+
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { FC, KeyboardEvent, MouseEvent, MutableRefObject, ReactNode, Ref } from "react";
|
|
6
|
+
import { TransitionProps } from "react-transition-group/Transition";
|
|
7
|
+
import { BackdropProps, PortalProps } from "./index-ebda875c";
|
|
8
|
+
type BaseModalProps = {
|
|
9
|
+
/**
|
|
10
|
+
* Контент
|
|
11
|
+
*/
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Компонент бэкдропа
|
|
15
|
+
*/
|
|
16
|
+
Backdrop?: FC<BackdropProps>;
|
|
17
|
+
/**
|
|
18
|
+
* Свойства для Бэкдропа
|
|
19
|
+
*/
|
|
20
|
+
backdropProps?: Partial<BackdropProps> & Record<string, unknown>;
|
|
21
|
+
/**
|
|
22
|
+
* Нода, компонент или функция возвращающая их
|
|
23
|
+
*
|
|
24
|
+
* Контейнер к которому будут добавляться порталы
|
|
25
|
+
*/
|
|
26
|
+
container?: PortalProps["getPortalContainer"];
|
|
27
|
+
/**
|
|
28
|
+
* Отключает автоматический перевод фокуса на модалку при открытии
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
disableAutoFocus?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Отключает ловушку фокуса
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
disableFocusLock?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Отключает восстановление фокуса на предыдущем элементе после закрытия модалки
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
disableRestoreFocus?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Отключает вызов `callback` при нажатии Escape
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
disableEscapeKeyDown?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Отключает вызов `callback` при клике на бэкдроп
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
disableBackdropClick?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Отключает блокировку скролла при открытии модального окна
|
|
54
|
+
* @default false
|
|
55
|
+
*/
|
|
56
|
+
disableBlockingScroll?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Содержимое модалки всегда в DOM
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
61
|
+
keepMounted?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Управление видимостью модалки
|
|
64
|
+
*/
|
|
65
|
+
open: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Дополнительный класс
|
|
68
|
+
*/
|
|
69
|
+
className?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Дополнительный класс
|
|
72
|
+
*/
|
|
73
|
+
contentClassName?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Дополнительные пропсы на обертку контента
|
|
76
|
+
*/
|
|
77
|
+
contentProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
78
|
+
/**
|
|
79
|
+
* Дополнительные пропсы на компонентную обертку контента
|
|
80
|
+
*/
|
|
81
|
+
componentDivProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
82
|
+
/**
|
|
83
|
+
* Дополнительный класс для обертки (Modal)
|
|
84
|
+
*/
|
|
85
|
+
wrapperClassName?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Обработчик скролла контента
|
|
88
|
+
*/
|
|
89
|
+
scrollHandler?: "wrapper" | "content" | MutableRefObject<HTMLDivElement | null>;
|
|
90
|
+
/**
|
|
91
|
+
* Пропсы для анимации (CSSTransition)
|
|
92
|
+
*/
|
|
93
|
+
transitionProps?: Partial<TransitionProps>;
|
|
94
|
+
/**
|
|
95
|
+
* Рендерить ли в контейнер через портал.
|
|
96
|
+
* @default true
|
|
97
|
+
*/
|
|
98
|
+
usePortal?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Обработчик события нажатия на бэкдроп
|
|
101
|
+
*/
|
|
102
|
+
onBackdropClick?: (event: MouseEvent) => void;
|
|
103
|
+
/**
|
|
104
|
+
* Обработчик события нажатия на Escape
|
|
105
|
+
*
|
|
106
|
+
* Если `disableEscapeKeyDown` - false и модальное окно в фокусе
|
|
107
|
+
*/
|
|
108
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
109
|
+
/**
|
|
110
|
+
* Обработчик закрытия
|
|
111
|
+
*/
|
|
112
|
+
onClose?: (event: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
|
|
113
|
+
/**
|
|
114
|
+
* Обработчик события onEntered компонента Transition
|
|
115
|
+
*/
|
|
116
|
+
onMount?: () => void;
|
|
117
|
+
/**
|
|
118
|
+
* Обработчик события onExited компонента Transition
|
|
119
|
+
*/
|
|
120
|
+
onUnmount?: () => void;
|
|
121
|
+
/**
|
|
122
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
123
|
+
*/
|
|
124
|
+
dataTestId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* z-index компонента
|
|
127
|
+
*/
|
|
128
|
+
zIndex?: number;
|
|
129
|
+
/**
|
|
130
|
+
* Реф, который должен быть установлен компонентной области
|
|
131
|
+
*/
|
|
132
|
+
componentRef?: MutableRefObject<HTMLDivElement | null>;
|
|
133
|
+
};
|
|
134
|
+
type BaseModalContext = {
|
|
135
|
+
parentRef: React.RefObject<HTMLDivElement>;
|
|
136
|
+
componentRef: React.RefObject<HTMLDivElement>;
|
|
137
|
+
hasFooter?: boolean;
|
|
138
|
+
hasHeader?: boolean;
|
|
139
|
+
hasScroll?: boolean;
|
|
140
|
+
headerHighlighted?: boolean;
|
|
141
|
+
footerHighlighted?: boolean;
|
|
142
|
+
headerOffset?: number;
|
|
143
|
+
setHeaderOffset: (offset: number) => void;
|
|
144
|
+
contentRef: Ref<HTMLElement>;
|
|
145
|
+
setHasHeader: (exists: boolean) => void;
|
|
146
|
+
setHasFooter: (exists: boolean) => void;
|
|
147
|
+
onClose: Required<BaseModalProps>["onClose"];
|
|
148
|
+
};
|
|
149
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
150
|
+
declare const BaseModalContext: React.Context<BaseModalContext>;
|
|
151
|
+
declare const BaseModal: React.ForwardRefExoticComponent<BaseModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
152
|
+
declare function isScrolledToTop(target: HTMLElement): boolean;
|
|
153
|
+
declare function isScrolledToBottom(target: HTMLElement): boolean;
|
|
154
|
+
declare function hasScrollbar(target: HTMLElement): boolean;
|
|
155
|
+
declare const getScrollbarSize: () => number;
|
|
156
|
+
declare const restoreContainerStyles: (container: HTMLElement) => void;
|
|
157
|
+
declare const handleContainer: (container?: HTMLElement) => void;
|
|
158
|
+
type SavedStyle = {
|
|
159
|
+
value: string;
|
|
160
|
+
key: string;
|
|
161
|
+
el: HTMLElement;
|
|
162
|
+
};
|
|
163
|
+
type RestoreStyle = {
|
|
164
|
+
container: HTMLElement;
|
|
165
|
+
modals: number;
|
|
166
|
+
styles: SavedStyle[];
|
|
167
|
+
};
|
|
168
|
+
declare class ModalStore {
|
|
169
|
+
private readonly restoreStyles;
|
|
170
|
+
constructor();
|
|
171
|
+
getRestoreStyles: () => RestoreStyle[];
|
|
172
|
+
}
|
|
173
|
+
declare const getModalStore: () => ModalStore;
|
|
174
|
+
declare class GlobalStore {
|
|
175
|
+
private readonly modalStore;
|
|
176
|
+
constructor();
|
|
177
|
+
getModalStore: () => ModalStore;
|
|
178
|
+
}
|
|
179
|
+
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, getScrollbarSize, restoreContainerStyles, handleContainer, getModalStore, GlobalStore };
|
|
180
|
+
export type { SavedStyle };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
+
import { BaseInputProps } from "./index-ebda875c";
|
|
3
4
|
type InputProps = Omit<BaseInputProps, "FormControlComponent" | "colorStyles"> & {
|
|
4
5
|
/**
|
|
5
6
|
* Контрольная точка, с нее начинается desktop версия
|
|
@@ -11,13 +12,11 @@ type InputProps = Omit<BaseInputProps, "FormControlComponent" | "colorStyles"> &
|
|
|
11
12
|
*/
|
|
12
13
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
13
14
|
};
|
|
14
|
-
declare const Input: React.ForwardRefExoticComponent<Omit<BaseInputProps, "
|
|
15
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<BaseInputProps, "colorStyles" | "FormControlComponent"> & {
|
|
15
16
|
breakpoint?: number | undefined;
|
|
16
17
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
17
18
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
18
19
|
type InputDesktopProps = Omit<BaseInputProps, "FormControlComponent" | "colorStyles">;
|
|
19
20
|
declare const InputDesktop: React.ForwardRefExoticComponent<InputDesktopProps & React.RefAttributes<HTMLInputElement>>;
|
|
20
|
-
|
|
21
|
-
declare const InputMobile: React.ForwardRefExoticComponent<InputMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
-
export { InputProps, Input, InputDesktopProps, InputDesktop, InputMobileProps, InputMobile };
|
|
21
|
+
export { InputProps, Input, InputDesktopProps, InputDesktop };
|
|
23
22
|
export * from "./Component.desktop-785df74d";
|
|
@@ -1,37 +1,32 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react-transition-group" />
|
|
3
3
|
import React from "react";
|
|
4
|
-
import {
|
|
5
|
-
|
|
4
|
+
import { ReactNode } from "react";
|
|
5
|
+
type SkeletonProps = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Флаг, явно задающий состояние, при котором контент закрывается прелоадером
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
visible?: boolean;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
className?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Позиция крестика
|
|
11
|
+
* Флаг явного включения анимации скелета
|
|
16
12
|
*/
|
|
17
|
-
|
|
13
|
+
animate?: boolean;
|
|
18
14
|
/**
|
|
19
|
-
*
|
|
15
|
+
* Дополнительный класс
|
|
20
16
|
*/
|
|
21
|
-
|
|
17
|
+
className?: string;
|
|
22
18
|
/**
|
|
23
|
-
*
|
|
19
|
+
* Дополнительные инлайн стили
|
|
24
20
|
*/
|
|
25
|
-
|
|
21
|
+
style?: React.CSSProperties;
|
|
26
22
|
/**
|
|
27
23
|
* Идентификатор для систем автоматизированного тестирования
|
|
28
24
|
*/
|
|
29
25
|
dataTestId?: string;
|
|
30
26
|
/**
|
|
31
|
-
*
|
|
27
|
+
* Дочерние элементы.
|
|
32
28
|
*/
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
declare const
|
|
36
|
-
export {
|
|
37
|
-
export * from "./Component-8b2c2707";
|
|
29
|
+
children?: ReactNode;
|
|
30
|
+
};
|
|
31
|
+
declare const Skeleton: React.FC<SkeletonProps>;
|
|
32
|
+
export { SkeletonProps, Skeleton };
|
|
@@ -1,3 +1,307 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/// <reference types="react-transition-group" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { HTMLAttributes, ReactNode, RefObject, FC } from "react";
|
|
5
|
+
import { TransitionProps } from "react-transition-group/Transition";
|
|
6
|
+
import { BaseModalProps } from "./index-bdb4c6b9";
|
|
7
|
+
import { NavigationBarProps } from "./index-c76d6398";
|
|
8
|
+
import { BackgroundColorType } from "./index-72dda473";
|
|
9
|
+
import { SwipeableHandlers } from "react-swipeable";
|
|
10
|
+
import { BackdropProps } from "./index-ebda875c";
|
|
11
|
+
type BottomSheetTitleAlign = "center" | "left";
|
|
12
|
+
type BottomSheetProps = {
|
|
13
|
+
/**
|
|
14
|
+
* Контент
|
|
15
|
+
*/
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Управление видимостью
|
|
19
|
+
*/
|
|
20
|
+
open: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Заголовок
|
|
23
|
+
*/
|
|
24
|
+
title?: ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Размер заголовка
|
|
27
|
+
*/
|
|
28
|
+
titleSize?: NavigationBarProps["titleSize"];
|
|
29
|
+
/**
|
|
30
|
+
* Подзаголовок.
|
|
31
|
+
*/
|
|
32
|
+
subtitle?: NavigationBarProps["subtitle"];
|
|
33
|
+
/**
|
|
34
|
+
* Кнопка действия (обычно, это кнопка закрытия)
|
|
35
|
+
*/
|
|
36
|
+
actionButton?: ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Нода, компонент или функция возвращающая их
|
|
39
|
+
*
|
|
40
|
+
* Контейнер к которому будут добавляться порталы
|
|
41
|
+
*/
|
|
42
|
+
container?: BaseModalProps["container"];
|
|
43
|
+
/**
|
|
44
|
+
* Рендерить ли в контейнер через портал.
|
|
45
|
+
*/
|
|
46
|
+
usePortal?: BaseModalProps["usePortal"];
|
|
47
|
+
/**
|
|
48
|
+
* Дополнительный класс
|
|
49
|
+
*/
|
|
50
|
+
className?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Дополнительный класс
|
|
53
|
+
*/
|
|
54
|
+
contentClassName?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Дополнительные пропсы на контейнер.
|
|
57
|
+
*/
|
|
58
|
+
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
59
|
+
/**
|
|
60
|
+
* Дополнительный класс
|
|
61
|
+
*/
|
|
62
|
+
containerClassName?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Цвет фона
|
|
65
|
+
*/
|
|
66
|
+
backgroundColor?: Extract<BackgroundColorType, "primary" | "secondary">;
|
|
67
|
+
/**
|
|
68
|
+
* Дополнительный класс шапки
|
|
69
|
+
*/
|
|
70
|
+
headerClassName?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Дополнительный класс футера
|
|
73
|
+
*/
|
|
74
|
+
footerClassName?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Дополнительный класс для аддонов
|
|
77
|
+
*/
|
|
78
|
+
addonClassName?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Дополнительный класс для компонента крестика
|
|
81
|
+
*/
|
|
82
|
+
closerClassName?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Дополнительный класс для компонента стрелки назад
|
|
85
|
+
*/
|
|
86
|
+
backerClassName?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Дополнительный класс для компонента модального окна
|
|
89
|
+
*/
|
|
90
|
+
modalClassName?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Дополнительный класс для обертки модального окна
|
|
93
|
+
*/
|
|
94
|
+
modalWrapperClassName?: string;
|
|
95
|
+
/**
|
|
96
|
+
* TransitionProps, прокидываются в компонент CSSTransitionProps.
|
|
97
|
+
*/
|
|
98
|
+
transitionProps?: Partial<TransitionProps>;
|
|
99
|
+
/**
|
|
100
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
101
|
+
*/
|
|
102
|
+
dataTestId?: string;
|
|
103
|
+
/**
|
|
104
|
+
* z-index компонента
|
|
105
|
+
*/
|
|
106
|
+
zIndex?: number;
|
|
107
|
+
/**
|
|
108
|
+
* Будет ли свайпаться шторка
|
|
109
|
+
* @default true
|
|
110
|
+
*/
|
|
111
|
+
swipeable?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Будет ли свайпаться контент
|
|
114
|
+
*/
|
|
115
|
+
swipeableContent?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Порог свайпа
|
|
118
|
+
*/
|
|
119
|
+
swipeThreshold?: number;
|
|
120
|
+
/**
|
|
121
|
+
* Слот слева
|
|
122
|
+
*/
|
|
123
|
+
leftAddons?: ReactNode;
|
|
124
|
+
/**
|
|
125
|
+
* Слот справа
|
|
126
|
+
*/
|
|
127
|
+
rightAddons?: ReactNode;
|
|
128
|
+
/**
|
|
129
|
+
* Слот снизу
|
|
130
|
+
*/
|
|
131
|
+
bottomAddons?: ReactNode;
|
|
132
|
+
/**
|
|
133
|
+
* Наличие компонента крестика
|
|
134
|
+
*/
|
|
135
|
+
hasCloser?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Наличие компонента стрелки назад
|
|
138
|
+
*/
|
|
139
|
+
hasBacker?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Выравнивание заголовка
|
|
142
|
+
*/
|
|
143
|
+
titleAlign?: BottomSheetTitleAlign;
|
|
144
|
+
/**
|
|
145
|
+
* Фиксирует шапку
|
|
146
|
+
*/
|
|
147
|
+
stickyHeader?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Фиксирует футер
|
|
150
|
+
*/
|
|
151
|
+
stickyFooter?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Высота шторки
|
|
154
|
+
*/
|
|
155
|
+
initialHeight?: "default" | "full";
|
|
156
|
+
/**
|
|
157
|
+
* Будет ли виден оверлэй
|
|
158
|
+
*/
|
|
159
|
+
hideOverlay?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* Будет ли видна шапка
|
|
162
|
+
*/
|
|
163
|
+
hideHeader?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Будет ли обрезан заголовок
|
|
166
|
+
*/
|
|
167
|
+
trimTitle?: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Запретить закрытие шторки кликом на оверлэй
|
|
170
|
+
*/
|
|
171
|
+
disableOverlayClick?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Отключает блокировку скролла при открытии модального окна
|
|
174
|
+
*/
|
|
175
|
+
disableBlockingScroll?: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Отключает ловушку фокуса
|
|
178
|
+
*/
|
|
179
|
+
disableFocusLock?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* @deprecated данный проп больше не используется, временно оставлен для обратной совместимости
|
|
182
|
+
* Не анимировать шторку при изменении размера вьюпорта
|
|
183
|
+
*/
|
|
184
|
+
ignoreScreenChange?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* Свойства для Бэкдропа
|
|
187
|
+
*/
|
|
188
|
+
backdropProps?: BaseModalProps["backdropProps"];
|
|
189
|
+
/**
|
|
190
|
+
* Реф на контейнер, в котором происходит скролл
|
|
191
|
+
*/
|
|
192
|
+
scrollableContainerRef?: RefObject<HTMLElement>;
|
|
193
|
+
/**
|
|
194
|
+
* Реф для управления компонентом.
|
|
195
|
+
*/
|
|
196
|
+
bottomSheetInstanceRef?: RefObject<{
|
|
197
|
+
scrollToArea: (idx: number) => void;
|
|
198
|
+
}>;
|
|
199
|
+
/**
|
|
200
|
+
* Реф на контейнер, в котором находится шторка
|
|
201
|
+
*/
|
|
202
|
+
sheetContainerRef?: RefObject<HTMLElement>;
|
|
203
|
+
/**
|
|
204
|
+
* Магнитные области видимой высоты шторки.
|
|
205
|
+
* Можно использовать значения в пикселях - 10(число), либо в процентах - 10%(строка).
|
|
206
|
+
* По-умолчанию -[0, window.innerHeight - '24px']
|
|
207
|
+
* массив должен состоять минимум из 2 элементов
|
|
208
|
+
*/
|
|
209
|
+
magneticAreas?: Array<number | string>;
|
|
210
|
+
/**
|
|
211
|
+
* Индекс точки из magneticAreas, к которому нужно примагнититься при первом открытии шторки.
|
|
212
|
+
*/
|
|
213
|
+
initialActiveAreaIndex?: number;
|
|
214
|
+
/**
|
|
215
|
+
* Отключает скролл контентной области.
|
|
216
|
+
*/
|
|
217
|
+
scrollLocked?: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* Скрыть скроллбар внутри шторки
|
|
220
|
+
*/
|
|
221
|
+
hideScrollbar?: boolean;
|
|
222
|
+
/**
|
|
223
|
+
* Верхний отступ шторки, если она открыта на максимальную высоту
|
|
224
|
+
*/
|
|
225
|
+
headerOffset?: number;
|
|
226
|
+
/**
|
|
227
|
+
* Содержимое bottom-sheet всегда в DOM
|
|
228
|
+
*/
|
|
229
|
+
keepMounted?: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* Отключает автоматический перевод фокуса на bottom-sheet при открытии
|
|
232
|
+
*/
|
|
233
|
+
disableAutoFocus?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Отключает восстановление фокуса на предыдущем элементе после закрытия bottom-sheet
|
|
236
|
+
*/
|
|
237
|
+
disableRestoreFocus?: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Отключает вызов `onClose` при нажатии Escape
|
|
240
|
+
*/
|
|
241
|
+
disableEscapeKeyDown?: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* Обработчик закрытия
|
|
244
|
+
*/
|
|
245
|
+
onClose: () => void;
|
|
246
|
+
/**
|
|
247
|
+
* Обработчик нажатия на стрелку назад
|
|
248
|
+
*/
|
|
249
|
+
onBack?: () => void;
|
|
250
|
+
/**
|
|
251
|
+
* Вызывается в начале анимации притягивания к одной из `magneticAreas`
|
|
252
|
+
*/
|
|
253
|
+
onMagnetize?: (index: number) => void;
|
|
254
|
+
/**
|
|
255
|
+
* Вызывается после окончания анимации притягивания
|
|
256
|
+
*/
|
|
257
|
+
onMagnetizeEnd?: () => void;
|
|
258
|
+
/**
|
|
259
|
+
* Вызывается при изменении положения шторки
|
|
260
|
+
*/
|
|
261
|
+
onOffsetChange?: (offset: number, percent: number) => void;
|
|
262
|
+
};
|
|
263
|
+
declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>>;
|
|
264
|
+
declare const TIMEOUT = 500;
|
|
265
|
+
declare const SWIPE_VELOCITY = 0.4;
|
|
266
|
+
declare const MARKER_HEIGHT = 24;
|
|
267
|
+
declare const CLOSE_OFFSET = 0.2;
|
|
268
|
+
declare const SCROLL_OFFSET = 1;
|
|
269
|
+
declare const HEADER_OFFSET = 24;
|
|
270
|
+
declare const convertPercentToNumber: (value: string | number, fullHeight: number, headerOffset?: number) => number;
|
|
271
|
+
type FooterProps = {
|
|
272
|
+
/**
|
|
273
|
+
* Контент футера
|
|
274
|
+
*/
|
|
275
|
+
children?: ReactNode;
|
|
276
|
+
/**
|
|
277
|
+
* Фиксирует футер
|
|
278
|
+
*/
|
|
279
|
+
sticky?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* Дополнительный класс
|
|
282
|
+
*/
|
|
283
|
+
className?: string;
|
|
284
|
+
};
|
|
285
|
+
declare const Footer: FC<FooterProps>;
|
|
286
|
+
type HeaderProps = Omit<NavigationBarProps, "view" | "size"> & {
|
|
287
|
+
headerRef: RefObject<HTMLDivElement>;
|
|
288
|
+
headerOffset: number;
|
|
289
|
+
};
|
|
290
|
+
declare const Header: FC<HeaderProps>;
|
|
291
|
+
type SwipeableBackdropProps = BackdropProps & {
|
|
292
|
+
/**
|
|
293
|
+
* Прозрачность бэкдропа
|
|
294
|
+
*/
|
|
295
|
+
opacity?: number;
|
|
296
|
+
/**
|
|
297
|
+
* Обработчики свайпа
|
|
298
|
+
*/
|
|
299
|
+
handlers?: SwipeableHandlers;
|
|
300
|
+
/**
|
|
301
|
+
* Время анимации opacity
|
|
302
|
+
*/
|
|
303
|
+
opacityTimeout?: number;
|
|
304
|
+
};
|
|
305
|
+
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
306
|
+
export { BottomSheet, TIMEOUT, SWIPE_VELOCITY, MARKER_HEIGHT, CLOSE_OFFSET, SCROLL_OFFSET, HEADER_OFFSET, convertPercentToNumber, FooterProps, Footer, HeaderProps, Header, SwipeableBackdropProps, SwipeableBackdrop };
|
|
307
|
+
export type { BottomSheetProps, BottomSheetTitleAlign };
|
|
@@ -1,93 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { ReactNode } from "react";
|
|
4
|
-
import { BaseSelectProps, OptionProps, OptionShape } from "./typings-5e1b8383";
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6
|
-
type useSelectWithLoadingProps = {
|
|
7
|
-
loading?: boolean;
|
|
8
|
-
visibleOptions?: BaseSelectProps["visibleOptions"];
|
|
9
|
-
Option?: React.FC<OptionProps>;
|
|
10
|
-
};
|
|
11
|
-
declare function useSelectWithLoading({ loading, visibleOptions, Option }: useSelectWithLoadingProps): {
|
|
12
|
-
Option: (props: OptionProps) => React.JSX.Element;
|
|
13
|
-
options: OptionShape[];
|
|
14
|
-
} | null;
|
|
15
|
-
type OptionsFetcherResponse = {
|
|
16
|
-
options: OptionShape[];
|
|
17
|
-
hasMore: boolean;
|
|
18
|
-
};
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
20
|
-
type useLazyLoadingProps = {
|
|
21
|
-
/** Количество элементов на "странице" */
|
|
22
|
-
limit?: number;
|
|
23
|
-
/** Начальный номер "страницы" */
|
|
24
|
-
initialOffset?: number;
|
|
25
|
-
/** Скелетон загружаемых элементов */
|
|
26
|
-
skeleton?: React.ReactNode;
|
|
27
|
-
/** Компонент пункта меню */
|
|
28
|
-
Option?: React.FC<OptionProps>;
|
|
29
|
-
/**
|
|
30
|
-
* Функция-загрузчик опций.
|
|
31
|
-
* @param offset - текущая страница
|
|
32
|
-
* @param limit - количество элементов на странице
|
|
33
|
-
* @param queryString - строчные данные, пробрасываемые для поиска из кастомного инпута, расположенного в заголовке OptionsList
|
|
34
|
-
* @returns Promise<{
|
|
35
|
-
* options - список опций следующей "страницы". Они аппендятся к предыдущим
|
|
36
|
-
* hasMore - указывает, есть ли еще незагруженные элементы (в случае false перестает загружать "следующую страницу")
|
|
37
|
-
* }>
|
|
38
|
-
*/
|
|
39
|
-
optionsFetcher(offset: number, limit: number, queryString?: string): Promise<OptionsFetcherResponse>;
|
|
40
|
-
};
|
|
41
|
-
declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, Option }: useLazyLoadingProps): {
|
|
42
|
-
optionsProps: {
|
|
43
|
-
Option: (props: OptionProps) => React.JSX.Element;
|
|
44
|
-
options: OptionShape[];
|
|
45
|
-
optionsListProps: {
|
|
46
|
-
ref: React.RefObject<HTMLDivElement>;
|
|
47
|
-
inputProps: {
|
|
48
|
-
onChange: (event: React.ChangeEvent<HTMLInputElement>, payload: {
|
|
49
|
-
value: string;
|
|
50
|
-
}) => void;
|
|
51
|
-
value: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
onOpen: (payload: {
|
|
55
|
-
open?: boolean;
|
|
56
|
-
}) => void;
|
|
57
|
-
};
|
|
58
|
-
reset: () => void;
|
|
59
|
-
};
|
|
60
|
-
type SkeletonProps = {
|
|
61
|
-
/**
|
|
62
|
-
* Флаг, явно задающий состояние, при котором контент закрывается прелоадером
|
|
63
|
-
*/
|
|
64
|
-
visible?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Флаг явного включения анимации скелета
|
|
67
|
-
*/
|
|
68
|
-
animate?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Дополнительный класс
|
|
71
|
-
*/
|
|
72
|
-
className?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Дополнительные инлайн стили
|
|
75
|
-
*/
|
|
76
|
-
style?: React.CSSProperties;
|
|
77
|
-
/**
|
|
78
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
79
|
-
*/
|
|
80
|
-
dataTestId?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Дочерние элементы.
|
|
83
|
-
*/
|
|
84
|
-
children?: ReactNode;
|
|
85
|
-
};
|
|
86
|
-
declare const Skeleton: React.FC<SkeletonProps>;
|
|
87
1
|
export * from "./index-ebda875c";
|
|
88
|
-
export * from "./Component-50136800";
|
|
89
2
|
export * from "./Component-5e1b8383";
|
|
90
|
-
export
|
|
3
|
+
export * from "./hook-ebda875c";
|
|
91
4
|
export * from "./hook-9ea9e32c";
|
|
92
5
|
export * from "./typings-5e1b8383";
|
|
93
6
|
export * from "./utils-5e1b8383";
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { PaddingType } from "./index-72dda473";
|
|
4
1
|
declare const isClient: () => boolean;
|
|
5
2
|
declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
|
|
6
|
-
declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
|
|
7
3
|
declare function easeInOutQuad(x: number): number;
|
|
8
4
|
declare const easingFns: {
|
|
9
5
|
easeInOutQuad: typeof easeInOutQuad;
|
|
10
6
|
};
|
|
11
|
-
export { isClient, getDataTestId,
|
|
7
|
+
export { isClient, getDataTestId, easingFns };
|
|
8
|
+
export * from "./createPaddingStyle-72dda473";
|