@alfalab/core-components 42.2.3 → 42.2.4
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/Component-50136800.d.ts +166 -3
- package/calendar/cssm/Component-50136800.d.ts +3 -166
- package/calendar/cssm/desktop-63dec22f.d.ts +6 -2
- package/calendar/desktop-63dec22f.d.ts +2 -6
- package/calendar/modern/Component-50136800.d.ts +3 -166
- package/calendar/modern/desktop-63dec22f.d.ts +6 -2
- package/calendar-input/Component-50136800.d.ts +3 -166
- package/calendar-input/Component-63dec22f.d.ts +155 -12
- package/calendar-input/Component-ebda875c.d.ts +35 -0
- package/calendar-input/Component.desktop-8b5756fe.d.ts +61 -5
- package/calendar-input/components/calendar-input/Component.d.ts +1 -1
- package/calendar-input/cssm/Component-50136800.d.ts +3 -166
- package/calendar-input/cssm/Component-63dec22f.d.ts +155 -12
- package/calendar-input/cssm/Component-ebda875c.d.ts +35 -0
- package/calendar-input/cssm/Component.desktop-8b5756fe.d.ts +61 -5
- 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 +83 -2
- package/calendar-input/cssm/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 +83 -2
- package/calendar-input/mobile-c219f8ca.d.ts +1 -367
- package/calendar-input/modern/Component-50136800.d.ts +3 -166
- package/calendar-input/modern/Component-63dec22f.d.ts +155 -12
- package/calendar-input/modern/Component-ebda875c.d.ts +35 -0
- package/calendar-input/modern/Component.desktop-8b5756fe.d.ts +61 -5
- package/calendar-input/modern/components/calendar-input/Component.d.ts +1 -1
- 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 +83 -2
- package/calendar-input/modern/mobile-c219f8ca.d.ts +1 -367
- package/calendar-range/cssm/utils.js +1 -3
- package/calendar-range/modern/Component-5684a67d.d.ts +18 -0
- package/calendar-range/modern/Component.desktop-e2b6c730.d.ts +134 -0
- package/calendar-range/modern/index-ebda875c.d.ts +1 -52
- package/calendar-range/modern/index-f034f741.d.ts +2 -130
- package/calendar-range/modern/shared-848397c5.d.ts +2 -2
- package/calendar-range/modern/shared-c111a9fd.d.ts +13 -1
- 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-5e1b8383.d.ts +20 -70
- package/custom-picker-button/Component-72dda473.d.ts +53 -0
- package/custom-picker-button/Component-8b2c2707.d.ts +9 -68
- package/custom-picker-button/Component.mobile.d.ts +1 -1
- package/custom-picker-button/desktop-d446ae02.d.ts +39 -2
- package/custom-picker-button/index-50136800.d.ts +5 -2
- package/custom-picker-button/index-c44170fe.d.ts +0 -137
- package/custom-picker-button/index-ebda875c.d.ts +35 -1
- package/custom-picker-button/index-f12ee135.d.ts +1 -1
- package/custom-picker-button/shared-4cd3936b.d.ts +1 -0
- package/date-range-input/Component-50136800.d.ts +166 -3
- package/date-range-input/Component-63dec22f.d.ts +12 -155
- package/date-range-input/Component.desktop-8b5756fe.d.ts +5 -68
- package/date-range-input/components/date-range-input/Component.d.ts +1 -1
- package/date-range-input/cssm/Component-50136800.d.ts +166 -3
- package/date-range-input/cssm/Component-63dec22f.d.ts +12 -155
- package/date-range-input/cssm/Component.desktop-8b5756fe.d.ts +5 -68
- package/date-range-input/cssm/components/date-range-input/Component.d.ts +1 -1
- package/date-range-input/cssm/index-9211a437.d.ts +1 -1
- package/date-range-input/cssm/index-ebda875c.d.ts +115 -15
- package/date-range-input/cssm/index-f034f741.d.ts +2 -80
- package/date-range-input/cssm/mobile-c219f8ca.d.ts +367 -1
- package/date-range-input/esm/Component-50136800.d.ts +3 -166
- package/date-range-input/esm/Component-63dec22f.d.ts +155 -12
- package/date-range-input/esm/Component-8b5756fe.d.ts +388 -0
- package/date-range-input/esm/Component.desktop-8b5756fe.d.ts +68 -5
- package/date-range-input/esm/components/date-range-input/Component.d.ts +1 -1
- package/date-range-input/esm/index-9211a437.d.ts +1 -1
- package/date-range-input/esm/index-ebda875c.d.ts +15 -115
- package/date-range-input/esm/index-f034f741.d.ts +80 -2
- package/date-range-input/esm/mobile-c219f8ca.d.ts +1 -367
- package/date-range-input/index-9211a437.d.ts +1 -1
- package/date-range-input/index-ebda875c.d.ts +115 -15
- package/date-range-input/index-f034f741.d.ts +2 -80
- package/date-range-input/mobile-c219f8ca.d.ts +367 -1
- package/date-time-input/esm/Component-50136800.d.ts +166 -3
- package/date-time-input/esm/Component-63dec22f.d.ts +12 -155
- package/date-time-input/esm/Component.desktop-8b5756fe.d.ts +5 -68
- package/date-time-input/esm/components/date-time-input/Component.d.ts +1 -1
- package/date-time-input/esm/index-9211a437.d.ts +1 -1
- package/date-time-input/esm/index-ebda875c.d.ts +115 -15
- package/date-time-input/esm/index-f034f741.d.ts +2 -80
- package/date-time-input/esm/mobile-c219f8ca.d.ts +367 -1
- package/date-time-input/modern/Component-50136800.d.ts +3 -166
- package/date-time-input/modern/Component-63dec22f.d.ts +155 -12
- package/date-time-input/modern/Component-8b5756fe.d.ts +388 -0
- package/date-time-input/modern/Component.desktop-8b5756fe.d.ts +68 -5
- package/date-time-input/modern/components/date-time-input/Component.d.ts +1 -1
- package/date-time-input/modern/index-9211a437.d.ts +1 -1
- package/date-time-input/modern/index-ebda875c.d.ts +15 -115
- package/date-time-input/modern/index-f034f741.d.ts +80 -2
- package/date-time-input/modern/mobile-c219f8ca.d.ts +1 -367
- 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/grid/Component.js +1 -1
- package/grid/col/Component.js +1 -1
- package/grid/col/index.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/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/grid/row/index.js +1 -1
- 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-50136800.d.ts +44 -0
- package/input-autocomplete/Component-5e1b8383.d.ts +3 -70
- package/input-autocomplete/Component-ebda875c.d.ts +265 -8
- 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/cssm/Component-5e1b8383.d.ts +4 -21
- package/input-autocomplete/cssm/Component-aed0af6e.d.ts +11 -0
- package/input-autocomplete/cssm/Component-ebda875c.d.ts +265 -8
- package/input-autocomplete/cssm/Component.mobile.d.ts +1 -1
- package/input-autocomplete/cssm/Component.modal.mobile.d.ts +2 -2
- package/input-autocomplete/cssm/Component.responsive.d.ts +1 -1
- package/input-autocomplete/{component-50136800.d.ts → cssm/component-50136800.d.ts} +5 -5
- package/input-autocomplete/cssm/hook-9ea9e32c.d.ts +4 -4
- package/input-autocomplete/cssm/index-bdb4c6b9.d.ts +180 -2
- package/input-autocomplete/cssm/index-ebda875c.d.ts +11 -115
- package/input-autocomplete/cssm/shared-4cd3936b.d.ts +1 -87
- package/input-autocomplete/desktop-63dec22f.d.ts +2 -6
- package/input-autocomplete/esm/Component-50136800.d.ts +44 -0
- package/input-autocomplete/esm/Component-5e1b8383.d.ts +70 -20
- package/input-autocomplete/esm/Component.mobile-ebda875c.d.ts +6 -0
- package/input-autocomplete/esm/desktop-63dec22f.d.ts +6 -2
- package/input-autocomplete/esm/mobile-96988a65.d.ts +2 -5
- package/input-autocomplete/esm/shared-4cd3936b.d.ts +0 -1
- package/input-autocomplete/hook-9ea9e32c.d.ts +4 -4
- package/input-autocomplete/index-bdb4c6b9.d.ts +180 -2
- package/input-autocomplete/index-ebda875c.d.ts +11 -115
- package/input-autocomplete/{cssm/Component.modal.mobile-5e1b8383.d.ts → mobile-45dc17c6.d.ts} +13 -26
- package/input-autocomplete/mobile-96988a65.d.ts +5 -2
- package/input-autocomplete/modern/Component-5e1b8383.d.ts +70 -3
- package/input-autocomplete/modern/Component-ebda875c.d.ts +8 -265
- package/input-autocomplete/modern/Component.mobile-ebda875c.d.ts +6 -0
- 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 +6 -2
- package/input-autocomplete/modern/hook-9ea9e32c.d.ts +4 -4
- package/input-autocomplete/modern/index-bdb4c6b9.d.ts +2 -180
- package/input-autocomplete/modern/index-ebda875c.d.ts +115 -11
- package/input-autocomplete/modern/mobile-96988a65.d.ts +2 -5
- package/input-autocomplete/modern/shared-4cd3936b.d.ts +87 -2
- package/input-autocomplete/shared-4cd3936b.d.ts +2 -87
- package/intl-phone-input/component-50136800.d.ts +0 -38
- package/intl-phone-input/cssm/Component-4cd3936b.d.ts +1 -1
- package/intl-phone-input/cssm/Component-5e1b8383.d.ts +96 -18
- package/intl-phone-input/cssm/component.d.ts +1 -1
- package/intl-phone-input/cssm/components/select/component.d.ts +1 -1
- package/intl-phone-input/cssm/desktop-63dec22f.d.ts +1 -1
- package/intl-phone-input/cssm/shared-4cd3936b.d.ts +83 -13
- package/intl-phone-input/esm/Component-4cd3936b.d.ts +1 -1
- package/intl-phone-input/esm/Component-5e1b8383.d.ts +18 -96
- 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/hook-c44170fe.d.ts +48 -0
- package/intl-phone-input/esm/shared-4cd3936b.d.ts +13 -83
- package/intl-phone-input/modern/{component-50136800.d.ts → Component-50136800.d.ts} +27 -25
- 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 -1327
- package/phone-input/utils/index.js +3 -1
- package/picker-button/esm/Component-50136800.d.ts +21 -27
- package/picker-button/esm/Component-5e1b8383.d.ts +3 -70
- package/picker-button/esm/Component-72dda473.d.ts +53 -0
- package/picker-button/esm/Component-aed0af6e.d.ts +11 -0
- package/picker-button/esm/Component-ebda875c.d.ts +98 -9
- package/picker-button/esm/Component.desktop.d.ts +1 -1
- package/picker-button/esm/Component.mobile-96988a65.d.ts +6 -0
- package/picker-button/esm/Component.mobile.d.ts +1 -1
- package/picker-button/esm/Component.responsive.d.ts +1 -1
- package/picker-button/esm/hook-9ea9e32c.d.ts +4 -4
- package/picker-button/esm/hook-ebda875c.d.ts +48 -0
- package/picker-button/esm/index-50136800.d.ts +5 -2
- package/picker-button/esm/index-bdb4c6b9.d.ts +180 -2
- package/picker-button/esm/index-c44170fe.d.ts +3 -141
- package/picker-button/esm/index-ebda875c.d.ts +13 -62
- package/picker-button/esm/index-f12ee135.d.ts +307 -3
- package/picker-button/esm/shared-4cd3936b.d.ts +1 -87
- 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.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.desktop-ebda875c.d.ts +6 -0
- package/select/Component.desktop.d.ts +0 -2
- package/select/Component.mobile-f1f15074.d.ts +12 -12
- 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.desktop.d.ts +2 -0
- package/select/cssm/Component.mobile-f1f15074.d.ts +12 -12
- package/select/cssm/mobile-96988a65.d.ts +2 -6
- package/select/esm/Component.desktop.d.ts +2 -0
- 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 +2 -6
- 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-96988a65.d.ts +6 -2
- package/select/mobile.js +1 -1
- package/select/modern/Component.desktop.d.ts +2 -0
- 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 +2 -6
- 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-9211a437.d.ts +1 -1
- package/select-with-tags/Component.desktop-2e2b2125.d.ts +1 -1
- package/select-with-tags/Component.mobile-755fbaa3.d.ts +1 -1
- package/select-with-tags/Component.responsive-3109f463.d.ts +1 -1
- package/select-with-tags/component-50136800.d.ts +6 -6
- package/select-with-tags/cssm/Component-8b2c2707.d.ts +1 -1
- package/select-with-tags/cssm/index-c44170fe.d.ts +1 -1
- package/select-with-tags/esm/Component-8b2c2707.d.ts +1 -1
- package/select-with-tags/esm/Component-9211a437.d.ts +1 -1
- package/select-with-tags/esm/Component.desktop-2e2b2125.d.ts +1 -1
- package/select-with-tags/esm/Component.mobile-755fbaa3.d.ts +1 -1
- package/select-with-tags/esm/Component.responsive-3109f463.d.ts +1 -1
- package/select-with-tags/esm/index-c44170fe.d.ts +1 -1
- package/select-with-tags/modern/Component-8b2c2707.d.ts +1 -1
- package/select-with-tags/modern/index-c44170fe.d.ts +1 -1
- package/table/Component-50136800.d.ts +6 -6
- package/tabs/cssm/Component.desktop-ebda875c.d.ts +6 -0
- package/tabs/cssm/index-ebda875c.d.ts +21 -86
- package/tabs/modern/Component.desktop-ebda875c.d.ts +6 -0
- package/tabs/modern/index-ebda875c.d.ts +21 -86
- package/tag/cssm/components/base-tag/Component.d.ts +1 -1
- package/textarea/esm/Component.d.ts +1 -1
- package/textarea/modern/Component.d.ts +1 -1
- package/themes/compiled/mobile-dark-bluetint.css +559 -559
- package/toast/Component.mobile-7ca84eff.d.ts +6 -0
- package/toast/Component.responsive.d.ts +1 -1
- package/toast/components/base-toast/component.d.ts +1 -1
- 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/index-7ca84eff.d.ts +3 -3
- package/toast/modern/Component.mobile-7ca84eff.d.ts +6 -0
- package/toast/modern/Component.responsive.d.ts +1 -1
- package/toast/modern/components/base-toast/component.d.ts +1 -1
- package/toast/modern/index-7ca84eff.d.ts +3 -3
- 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.d.ts +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/modern/Component.desktop-ebda875c.d.ts +0 -6
- package/calendar-range/modern/utils-848397c5.d.ts +0 -13
- package/custom-picker-button/Component-df3978fd.d.ts +0 -12
- package/custom-picker-button/Component.desktop-4cd3936b.d.ts +0 -49
- package/custom-picker-button/createPaddingStyle-72dda473.d.ts +0 -5
- package/date-range-input/esm/Component-e2b6c730.d.ts +0 -76
- package/date-range-input/esm/desktop-8b5756fe.d.ts +0 -2
- package/date-time-input/esm/Component.mobile-ebda875c.d.ts +0 -6
- package/date-time-input/modern/Component-5684a67d.d.ts +0 -23
- package/date-time-input/modern/Component-e2b6c730.d.ts +0 -76
- package/date-time-input/modern/desktop-8b5756fe.d.ts +0 -2
- package/date-time-input/modern/utils-e0a54580.d.ts +0 -8
- package/input/Component.mobile-ebda875c.d.ts +0 -6
- package/input/cssm/Component.mobile-ebda875c.d.ts +0 -6
- package/input-autocomplete/mobile-06ffd24b.d.ts +0 -5
- package/input-autocomplete/modern/Component-96988a65.d.ts +0 -9
- package/input-autocomplete/utils-1574ad8b.d.ts +0 -29
- package/picker-button/esm/Component-63dec22f.d.ts +0 -167
- package/picker-button/esm/Component.modal.mobile-5e1b8383.d.ts +0 -60
- package/picker-button/esm/createPaddingStyle-72dda473.d.ts +0 -5
- package/picker-button/esm/types-72dda473.d.ts +0 -259
- package/picker-button/esm/utils-1574ad8b.d.ts +0 -29
- package/picker-button/esm/utils-49cc3c24.d.ts +0 -8
- package/select-with-tags/modern/component-50136800.d.ts +0 -44
- package/tabs/cssm/Component.mobile-ebda875c.d.ts +0 -6
- package/tabs/modern/Component.mobile-ebda875c.d.ts +0 -6
- package/toast/Component.desktop-7ca84eff.d.ts +0 -6
- package/toast/modern/Component.desktop-7ca84eff.d.ts +0 -6
- /package/calendar/{cssm/Component.desktop-ebda875c.d.ts → Component.desktop-ebda875c.d.ts} +0 -0
- /package/calendar/{Component-63dec22f.d.ts → cssm/Component-63dec22f.d.ts} +0 -0
- /package/calendar/{Component.mobile-ebda875c.d.ts → cssm/Component.mobile-ebda875c.d.ts} +0 -0
- /package/{input-autocomplete → calendar/modern}/Component-63dec22f.d.ts +0 -0
- /package/{input-autocomplete → calendar/modern}/Component.mobile-ebda875c.d.ts +0 -0
- /package/{date-range-input → calendar-input}/Component-8b5756fe.d.ts +0 -0
- /package/{date-range-input → calendar-input}/Component.responsive-2e2b2125.d.ts +0 -0
- /package/{date-range-input → calendar-input}/cssm/Component-8b5756fe.d.ts +0 -0
- /package/{date-range-input → calendar-input}/cssm/Component.responsive-2e2b2125.d.ts +0 -0
- /package/calendar-input/cssm/{shared-71d94e2b.d.ts → shared-848397c5.d.ts} +0 -0
- /package/{date-time-input/esm → calendar-input/modern}/Component-8b5756fe.d.ts +0 -0
- /package/{date-time-input/esm → calendar-input/modern}/Component.responsive-2e2b2125.d.ts +0 -0
- /package/calendar-input/modern/{shared-71d94e2b.d.ts → shared-848397c5.d.ts} +0 -0
- /package/calendar-input/{shared-71d94e2b.d.ts → shared-848397c5.d.ts} +0 -0
- /package/{calendar-input/Component-5684a67d.d.ts → calendar-range/modern/Component-e2b6c730.d.ts} +0 -0
- /package/calendar-range/modern/{useCalendar-5684a67d.d.ts → useCalendar-71d94e2b.d.ts} +0 -0
- /package/{calendar-input/cssm → calendar-range/modern}/utils-e0a54580.d.ts +0 -0
- /package/calendar-range/modern/{utils-5684a67d.d.ts → utils-e2b6c730.d.ts} +0 -0
- /package/confirmation/{countdown-section-b13f3b39.d.ts → countdown-section-fed12d77.d.ts} +0 -0
- /package/confirmation/{countdown-section-b13f3b39.js → countdown-section-fed12d77.js} +0 -0
- /package/confirmation/esm/{countdown-section-1197a364.d.ts → countdown-section-9f6c08f9.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-1197a364.js → countdown-section-9f6c08f9.js} +0 -0
- /package/confirmation/modern/{countdown-section-eae4e9ec.d.ts → countdown-section-8e55fbd5.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-eae4e9ec.js → countdown-section-8e55fbd5.js} +0 -0
- /package/custom-picker-button/{Component.mobile-4cd3936b.d.ts → Component.mobile-d446ae02.d.ts} +0 -0
- /package/custom-picker-button/{modern/component-50136800.d.ts → component-50136800.d.ts} +0 -0
- /package/{intl-phone-input/cssm → custom-picker-button}/desktop-2e2b2125.d.ts +0 -0
- /package/{input-autocomplete/cssm → custom-picker-button/modern}/Component-50136800.d.ts +0 -0
- /package/custom-picker-button/{types-72dda473.d.ts → types-d9f9bbcc.d.ts} +0 -0
- /package/{calendar-input/cssm → date-range-input}/Component-5684a67d.d.ts +0 -0
- /package/{calendar-input → date-range-input}/Component-e2b6c730.d.ts +0 -0
- /package/date-range-input/{esm/Component.desktop-ebda875c.d.ts → Component.desktop-ebda875c.d.ts} +0 -0
- /package/{calendar-input → date-range-input}/Component.responsive-755fbaa3.d.ts +0 -0
- /package/{calendar-input/modern → date-range-input/cssm}/Component-5684a67d.d.ts +0 -0
- /package/{calendar-input → date-range-input}/cssm/Component-e2b6c730.d.ts +0 -0
- /package/{date-time-input/modern → date-range-input/cssm}/Component.desktop-ebda875c.d.ts +0 -0
- /package/{calendar-input → date-range-input}/cssm/Component.responsive-755fbaa3.d.ts +0 -0
- /package/{calendar-input → date-range-input}/cssm/desktop-8b5756fe.d.ts +0 -0
- /package/{calendar-input/modern → date-range-input/cssm}/utils-e0a54580.d.ts +0 -0
- /package/{calendar-input → date-range-input}/desktop-8b5756fe.d.ts +0 -0
- /package/date-range-input/{Component.mobile-ebda875c.d.ts → esm/Component.mobile-ebda875c.d.ts} +0 -0
- /package/{calendar-input/modern/Component.responsive-755fbaa3.d.ts → date-range-input/esm/Component.responsive-2e2b2125.d.ts} +0 -0
- /package/{calendar-input → date-range-input}/utils-e0a54580.d.ts +0 -0
- /package/{date-range-input → date-time-input}/esm/Component-5684a67d.d.ts +0 -0
- /package/{calendar-input/modern → date-time-input/esm}/Component-e2b6c730.d.ts +0 -0
- /package/{select/cssm → date-time-input/esm}/Component.desktop-ebda875c.d.ts +0 -0
- /package/{date-range-input → date-time-input}/esm/Component.responsive-755fbaa3.d.ts +0 -0
- /package/{calendar-input/modern → date-time-input/esm}/desktop-8b5756fe.d.ts +0 -0
- /package/{date-range-input → date-time-input}/esm/utils-e0a54580.d.ts +0 -0
- /package/{date-range-input/cssm → date-time-input/modern}/Component.mobile-ebda875c.d.ts +0 -0
- /package/date-time-input/modern/{Component.responsive-755fbaa3.d.ts → Component.responsive-2e2b2125.d.ts} +0 -0
- /package/gallery/{buttons-2f4a679b.d.ts → buttons-5b37d450.d.ts} +0 -0
- /package/gallery/{buttons-2f4a679b.js → buttons-5b37d450.js} +0 -0
- /package/gallery/esm/{buttons-b1e4ad57.d.ts → buttons-7ba89ae6.d.ts} +0 -0
- /package/gallery/esm/{buttons-b1e4ad57.js → buttons-7ba89ae6.js} +0 -0
- /package/gallery/esm/{slide-e001786d.d.ts → slide-5fdc2385.d.ts} +0 -0
- /package/gallery/esm/{slide-e001786d.js → slide-5fdc2385.js} +0 -0
- /package/gallery/modern/{buttons-2996f117.d.ts → buttons-67214141.d.ts} +0 -0
- /package/gallery/modern/{buttons-2996f117.js → buttons-67214141.js} +0 -0
- /package/gallery/modern/{slide-b6eba657.d.ts → slide-b30acf22.d.ts} +0 -0
- /package/gallery/modern/{slide-b6eba657.js → slide-b30acf22.js} +0 -0
- /package/gallery/{slide-df46da69.d.ts → slide-8fd6374f.d.ts} +0 -0
- /package/gallery/{slide-df46da69.js → slide-8fd6374f.js} +0 -0
- /package/grid/esm/{gutters.module-1c1cf33b.js → gutters.module-f3a98e38.js} +0 -0
- /package/grid/{gutters.module-2e2a7ca2.js → gutters.module-d27c6380.js} +0 -0
- /package/grid/modern/{gutters.module-834cfc1b.js → gutters.module-28d7eaed.js} +0 -0
- /package/{select/esm → input}/Component.desktop-ebda875c.d.ts +0 -0
- /package/{select/modern → input/cssm}/Component.desktop-ebda875c.d.ts +0 -0
- /package/input-autocomplete/{esm/Component-96988a65.d.ts → Component-96988a65.d.ts} +0 -0
- /package/input-autocomplete/{modern/Component-aed0af6e.d.ts → Component-aed0af6e.d.ts} +0 -0
- /package/input-autocomplete/{modern → cssm}/hook-ebda875c.d.ts +0 -0
- /package/input-autocomplete/{modern → cssm}/mobile-45dc17c6.d.ts +0 -0
- /package/{intl-phone-input/cssm/hook-c44170fe.d.ts → input-autocomplete/hook-ebda875c.d.ts} +0 -0
- /package/input-autocomplete/{cssm → modern}/Component-63dec22f.d.ts +0 -0
- /package/input-autocomplete/{Component.modal.mobile-5e1b8383.d.ts → modern/Component.modal.mobile-5e1b8383.d.ts} +0 -0
- /package/input-autocomplete/{cssm → modern}/mobile-06ffd24b.d.ts +0 -0
- /package/input-autocomplete/{cssm → modern}/utils-1574ad8b.d.ts +0 -0
- /package/intl-phone-input/{esm → cssm}/Component.desktop-4cd3936b.d.ts +0 -0
- /package/intl-phone-input/{esm → cssm}/Component.desktop-5e1b8383.d.ts +0 -0
- /package/intl-phone-input/{esm → cssm}/component-50136800.d.ts +0 -0
- /package/intl-phone-input/{cssm → esm}/Component-50136800.d.ts +0 -0
- /package/intl-phone-input/{cssm → esm}/Component.desktop-63dec22f.d.ts +0 -0
- /package/intl-phone-input/{cssm → esm}/Component.desktop-ed17077e.d.ts +0 -0
- /package/{custom-picker-button/desktop-63dec22f.d.ts → intl-phone-input/esm/desktop-2e2b2125.d.ts} +0 -0
- /package/list/{Component-97126071.d.ts → Component-3d45b936.d.ts} +0 -0
- /package/list/{Component-97126071.js → Component-3d45b936.js} +0 -0
- /package/list/esm/{Component-dfbde161.d.ts → Component-a5c6bc96.d.ts} +0 -0
- /package/list/esm/{Component-dfbde161.js → Component-a5c6bc96.js} +0 -0
- /package/list/modern/{Component-b032dada.d.ts → Component-116c4d34.d.ts} +0 -0
- /package/list/modern/{Component-b032dada.js → Component-116c4d34.js} +0 -0
- /package/picker-button/cssm/{component-50136800.d.ts → Component-50136800.d.ts} +0 -0
- /package/{input-autocomplete/esm/component-50136800.d.ts → picker-button/esm/Component-f12ee135.d.ts} +0 -0
- /package/picker-button/esm/{Component.responsive-3109f463.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
- /package/{custom-picker-button → picker-button/modern}/Component-50136800.d.ts +0 -0
- /package/pure-cell/{component-8604627d.d.ts → component-b456f95e.d.ts} +0 -0
- /package/pure-cell/{component-8604627d.js → component-b456f95e.js} +0 -0
- /package/pure-cell/esm/{component-63d496d4.d.ts → component-c6360997.d.ts} +0 -0
- /package/pure-cell/esm/{component-63d496d4.js → component-c6360997.js} +0 -0
- /package/pure-cell/modern/{component-90332901.d.ts → component-4573932e.d.ts} +0 -0
- /package/pure-cell/modern/{component-90332901.js → component-4573932e.js} +0 -0
- /package/select/esm/{hook-6b3b9eba.d.ts → hook-7d563fb2.d.ts} +0 -0
- /package/select/esm/{hook-6b3b9eba.js → hook-7d563fb2.js} +0 -0
- /package/select/{hook-71d733f5.d.ts → hook-f268f742.d.ts} +0 -0
- /package/select/{hook-71d733f5.js → hook-f268f742.js} +0 -0
- /package/select/modern/{hook-721ecf1e.d.ts → hook-c8f658eb.d.ts} +0 -0
- /package/select/modern/{hook-721ecf1e.js → hook-c8f658eb.js} +0 -0
- /package/{picker-button/modern/component-50136800.d.ts → select-with-tags/modern/Component-50136800.d.ts} +0 -0
- /package/typography/{colors.module-43260d58.js → colors.module-9a51484c.js} +0 -0
- /package/typography/{common.module-68032073.js → common.module-df49bf94.js} +0 -0
- /package/typography/esm/{colors.module-786a42c1.js → colors.module-152d2f21.js} +0 -0
- /package/typography/esm/{common.module-c9d01ac6.js → common.module-41c5c8e0.js} +0 -0
- /package/typography/modern/{colors.module-4d1dd4b4.js → colors.module-54809efe.js} +0 -0
- /package/typography/modern/{common.module-947d9aed.js → common.module-6884bf64.js} +0 -0
|
@@ -1,22 +1,100 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { FC, ReactNode } from "react";
|
|
4
|
+
import { ModalMobileProps, ContentProps } from "./typings-bdb4c6b9";
|
|
5
|
+
import { BottomSheetProps } from "./index-f12ee135";
|
|
6
|
+
import { BaseSelectProps } from "./typings-5e1b8383";
|
|
5
7
|
type FooterProps = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Контент футера
|
|
10
|
+
*/
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Дополнительный класс
|
|
14
|
+
*/
|
|
15
|
+
className?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Фиксирует футер
|
|
18
|
+
*/
|
|
19
|
+
sticky?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Выравнивание элементов футера
|
|
22
|
+
*/
|
|
23
|
+
layout?: "start" | "center" | "space-between" | "column";
|
|
24
|
+
/**
|
|
25
|
+
* Отступы между элементами футера
|
|
26
|
+
*/
|
|
27
|
+
gap?: 16 | 24 | 32;
|
|
10
28
|
};
|
|
11
|
-
declare const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
29
|
+
declare const ModalMobile: React.ForwardRefExoticComponent<ModalMobileProps & React.RefAttributes<HTMLDivElement>> & {
|
|
30
|
+
Content: React.FC<import("./typings-bdb4c6b9").ContentProps>;
|
|
31
|
+
Header: React.FC<import("./Component-c76d6398").HeaderProps>;
|
|
32
|
+
Footer: React.FC<FooterProps>;
|
|
33
|
+
};
|
|
34
|
+
declare const Content: FC<ContentProps>;
|
|
35
|
+
type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
36
|
+
/**
|
|
37
|
+
* Футер
|
|
38
|
+
* @deprecated Используйте bottomSheetProps.actionButton
|
|
39
|
+
*/
|
|
40
|
+
footer?: ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Будет ли свайпаться шторка
|
|
43
|
+
* @deprecated Используйте bottomSheetProps.swipeable
|
|
44
|
+
*/
|
|
45
|
+
swipeable?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Отображать в BottomSheet
|
|
48
|
+
*/
|
|
49
|
+
isBottomSheet?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Дополнительные пропсы шторки
|
|
52
|
+
*/
|
|
53
|
+
bottomSheetProps?: Partial<BottomSheetProps>;
|
|
54
|
+
/**
|
|
55
|
+
* Дополнительные пропсы модалки
|
|
56
|
+
*/
|
|
57
|
+
modalProps?: Partial<React.ComponentProps<typeof ModalMobile>>;
|
|
58
|
+
/**
|
|
59
|
+
* Дополнительные пропсы шапки модалки
|
|
60
|
+
*/
|
|
61
|
+
modalHeaderProps?: Partial<React.ComponentProps<typeof ModalMobile.Header>>;
|
|
62
|
+
/**
|
|
63
|
+
* Дополнительные пропсы футера модалки
|
|
64
|
+
*/
|
|
65
|
+
modalFooterProps?: Partial<React.ComponentProps<typeof ModalMobile.Footer>>;
|
|
66
|
+
};
|
|
67
|
+
declare const BaseSelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & {
|
|
68
|
+
/**
|
|
69
|
+
* Футер
|
|
70
|
+
* @deprecated Используйте bottomSheetProps.actionButton
|
|
71
|
+
*/
|
|
72
|
+
footer?: ReactNode;
|
|
73
|
+
/**
|
|
74
|
+
* Будет ли свайпаться шторка
|
|
75
|
+
* @deprecated Используйте bottomSheetProps.swipeable
|
|
76
|
+
*/
|
|
77
|
+
swipeable?: boolean | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Отображать в BottomSheet
|
|
80
|
+
*/
|
|
81
|
+
isBottomSheet?: boolean | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Дополнительные пропсы шторки
|
|
84
|
+
*/
|
|
85
|
+
bottomSheetProps?: Partial<BottomSheetProps> | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Дополнительные пропсы модалки
|
|
88
|
+
*/
|
|
89
|
+
modalProps?: Partial<ModalMobileProps & React.RefAttributes<HTMLDivElement>> | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* Дополнительные пропсы шапки модалки
|
|
92
|
+
*/
|
|
93
|
+
modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Дополнительные пропсы футера модалки
|
|
96
|
+
*/
|
|
97
|
+
modalFooterProps?: Partial<FooterProps> | undefined;
|
|
98
|
+
} & React.RefAttributes<unknown>>;
|
|
99
|
+
export { ModalMobile, Content, SelectMobileProps, BaseSelectMobile };
|
|
100
|
+
export { ModalMobileProps } from "./typings-bdb4c6b9";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { CountryCode } from 'libphonenumber-js';
|
|
4
|
-
import { InputAutocompleteDesktopProps } from "./Component.desktop-
|
|
4
|
+
import { InputAutocompleteDesktopProps } from "./Component.desktop-4cd3936b";
|
|
5
5
|
import { SelectProps } from "../../select";
|
|
6
6
|
import { Country } from '@alfalab/utils';
|
|
7
7
|
type MaxPhoneLenByCountry = Record<string, number>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { SelectDesktopProps } from "../../Component.desktop-
|
|
2
|
+
import { SelectDesktopProps } from "../../Component.desktop-5e1b8383";
|
|
3
3
|
import { Country } from '@alfalab/utils';
|
|
4
4
|
type CountriesSelectProps = Pick<SelectDesktopProps, 'size' | 'dataTestId' | 'disabled' | 'onChange' | 'preventFlip'> & {
|
|
5
5
|
selected?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Component.desktop-
|
|
1
|
+
export * from "./Component.desktop-2e2b2125";
|
|
2
2
|
export {};
|
|
@@ -1,9 +1,64 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
+
import { BaseSelectProps, OptionProps, OptionShape } from "./typings-5e1b8383";
|
|
4
5
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
6
|
import { UseSelectWithApplyProps } from "./hook-9ea9e32c";
|
|
6
|
-
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
+
type useSelectWithLoadingProps = {
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
visibleOptions?: BaseSelectProps["visibleOptions"];
|
|
11
|
+
Option?: React.FC<OptionProps>;
|
|
12
|
+
};
|
|
13
|
+
declare function useSelectWithLoading({ loading, visibleOptions, Option }: useSelectWithLoadingProps): {
|
|
14
|
+
Option: (props: OptionProps) => React.JSX.Element;
|
|
15
|
+
options: OptionShape[];
|
|
16
|
+
} | null;
|
|
17
|
+
type OptionsFetcherResponse = {
|
|
18
|
+
options: OptionShape[];
|
|
19
|
+
hasMore: boolean;
|
|
20
|
+
};
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
22
|
+
type useLazyLoadingProps = {
|
|
23
|
+
/** Количество элементов на "странице" */
|
|
24
|
+
limit?: number;
|
|
25
|
+
/** Начальный номер "страницы" */
|
|
26
|
+
initialOffset?: number;
|
|
27
|
+
/** Скелетон загружаемых элементов */
|
|
28
|
+
skeleton?: React.ReactNode;
|
|
29
|
+
/** Компонент пункта меню */
|
|
30
|
+
Option?: React.FC<OptionProps>;
|
|
31
|
+
/**
|
|
32
|
+
* Функция-загрузчик опций.
|
|
33
|
+
* @param offset - текущая страница
|
|
34
|
+
* @param limit - количество элементов на странице
|
|
35
|
+
* @param queryString - строчные данные, пробрасываемые для поиска из кастомного инпута, расположенного в заголовке OptionsList
|
|
36
|
+
* @returns Promise<{
|
|
37
|
+
* options - список опций следующей "страницы". Они аппендятся к предыдущим
|
|
38
|
+
* hasMore - указывает, есть ли еще незагруженные элементы (в случае false перестает загружать "следующую страницу")
|
|
39
|
+
* }>
|
|
40
|
+
*/
|
|
41
|
+
optionsFetcher(offset: number, limit: number, queryString?: string): Promise<OptionsFetcherResponse>;
|
|
42
|
+
};
|
|
43
|
+
declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, Option }: useLazyLoadingProps): {
|
|
44
|
+
optionsProps: {
|
|
45
|
+
Option: (props: OptionProps) => React.JSX.Element;
|
|
46
|
+
options: OptionShape[];
|
|
47
|
+
optionsListProps: {
|
|
48
|
+
ref: React.RefObject<HTMLDivElement>;
|
|
49
|
+
inputProps: {
|
|
50
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>, payload: {
|
|
51
|
+
value: string;
|
|
52
|
+
}) => void;
|
|
53
|
+
value: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
onOpen: (payload: {
|
|
57
|
+
open?: boolean;
|
|
58
|
+
}) => void;
|
|
59
|
+
};
|
|
60
|
+
reset: () => void;
|
|
61
|
+
};
|
|
7
62
|
type AdditionalMobileProps = {
|
|
8
63
|
/**
|
|
9
64
|
* Футер
|
|
@@ -38,27 +93,42 @@ type AdditionalMobileProps = {
|
|
|
38
93
|
};
|
|
39
94
|
type SelectMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & AdditionalMobileProps;
|
|
40
95
|
declare const SelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<unknown>>;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
96
|
+
type SkeletonProps = {
|
|
97
|
+
/**
|
|
98
|
+
* Флаг, явно задающий состояние, при котором контент закрывается прелоадером
|
|
99
|
+
*/
|
|
100
|
+
visible?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Флаг явного включения анимации скелета
|
|
103
|
+
*/
|
|
104
|
+
animate?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Дополнительный класс
|
|
107
|
+
*/
|
|
108
|
+
className?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Дополнительные инлайн стили
|
|
111
|
+
*/
|
|
112
|
+
style?: React.CSSProperties;
|
|
113
|
+
/**
|
|
114
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
115
|
+
*/
|
|
116
|
+
dataTestId?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Дочерние элементы.
|
|
119
|
+
*/
|
|
120
|
+
children?: ReactNode;
|
|
46
121
|
};
|
|
47
|
-
declare
|
|
48
|
-
Option: (props: OptionProps) => React.JSX.Element;
|
|
49
|
-
options: OptionShape[];
|
|
50
|
-
} | null;
|
|
122
|
+
declare const Skeleton: React.FC<SkeletonProps>;
|
|
51
123
|
type FooterProps = {
|
|
52
124
|
handleClear?: () => void;
|
|
53
125
|
handleApply?: () => void;
|
|
54
126
|
showClear?: boolean;
|
|
55
127
|
};
|
|
56
128
|
declare const Footer: ({ handleApply, handleClear, showClear }: FooterProps) => React.JSX.Element;
|
|
57
|
-
export { AdditionalMobileProps, SelectMobileProps, SelectMobile, useSelectWithLoading, FooterProps, Footer };
|
|
58
129
|
export * from "./index-ebda875c";
|
|
59
130
|
export * from "./Component-5e1b8383";
|
|
60
|
-
export
|
|
131
|
+
export { useSelectWithLoading, useLazyLoading, AdditionalMobileProps, SelectMobileProps, SelectMobile, SkeletonProps, Skeleton, FooterProps, Footer };
|
|
61
132
|
export * from "./hook-9ea9e32c";
|
|
62
|
-
export * from "./Component-50136800";
|
|
63
133
|
export * from "./typings-5e1b8383";
|
|
64
134
|
export * from "./utils-5e1b8383";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FieldProps } from "./shared-4cd3936b";
|
|
4
|
-
import { InputAutocompleteDesktopProps } from "./Component.desktop-
|
|
4
|
+
import { InputAutocompleteDesktopProps } from "./Component.desktop-ed17077e";
|
|
5
5
|
type AutocompleteFieldProps = FieldProps & Pick<InputAutocompleteDesktopProps, 'Input' | 'inputProps' | 'value' | 'onInput' | 'readOnly'>;
|
|
6
6
|
declare const AutocompleteField: ({ label, labelView, placeholder, size, Arrow, Input, value, error, success, hint, disabled, readOnly, onInput, inputProps, innerProps, }: AutocompleteFieldProps) => React.JSX.Element;
|
|
7
7
|
export * from "./Component.desktop-d873d97d";
|
|
@@ -1,100 +1,22 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { BottomSheetProps } from "./index-f12ee135";
|
|
6
|
-
import { BaseSelectProps } from "./typings-5e1b8383";
|
|
3
|
+
import { OptionShape, OptionsListProps } from "./typings-5e1b8383";
|
|
4
|
+
import { HeaderProps } from "./Component-ebda875c";
|
|
7
5
|
type FooterProps = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Дополнительный класс
|
|
14
|
-
*/
|
|
15
|
-
className?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Фиксирует футер
|
|
18
|
-
*/
|
|
19
|
-
sticky?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Выравнивание элементов футера
|
|
22
|
-
*/
|
|
23
|
-
layout?: "start" | "center" | "space-between" | "column";
|
|
24
|
-
/**
|
|
25
|
-
* Отступы между элементами футера
|
|
26
|
-
*/
|
|
27
|
-
gap?: 16 | 24 | 32;
|
|
6
|
+
handleClear?: () => void;
|
|
7
|
+
handleApply?: () => void;
|
|
8
|
+
showClear?: boolean;
|
|
9
|
+
selectedDraft?: OptionShape[];
|
|
28
10
|
};
|
|
29
|
-
declare const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Будет ли свайпаться шторка
|
|
43
|
-
* @deprecated Используйте bottomSheetProps.swipeable
|
|
44
|
-
*/
|
|
45
|
-
swipeable?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Отображать в BottomSheet
|
|
48
|
-
*/
|
|
49
|
-
isBottomSheet?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Дополнительные пропсы шторки
|
|
52
|
-
*/
|
|
53
|
-
bottomSheetProps?: Partial<BottomSheetProps>;
|
|
54
|
-
/**
|
|
55
|
-
* Дополнительные пропсы модалки
|
|
56
|
-
*/
|
|
57
|
-
modalProps?: Partial<React.ComponentProps<typeof ModalMobile>>;
|
|
58
|
-
/**
|
|
59
|
-
* Дополнительные пропсы шапки модалки
|
|
60
|
-
*/
|
|
61
|
-
modalHeaderProps?: Partial<React.ComponentProps<typeof ModalMobile.Header>>;
|
|
62
|
-
/**
|
|
63
|
-
* Дополнительные пропсы футера модалки
|
|
64
|
-
*/
|
|
65
|
-
modalFooterProps?: Partial<React.ComponentProps<typeof ModalMobile.Footer>>;
|
|
66
|
-
};
|
|
67
|
-
declare const BaseSelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & {
|
|
68
|
-
/**
|
|
69
|
-
* Футер
|
|
70
|
-
* @deprecated Используйте bottomSheetProps.actionButton
|
|
71
|
-
*/
|
|
72
|
-
footer?: ReactNode;
|
|
73
|
-
/**
|
|
74
|
-
* Будет ли свайпаться шторка
|
|
75
|
-
* @deprecated Используйте bottomSheetProps.swipeable
|
|
76
|
-
*/
|
|
77
|
-
swipeable?: boolean | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* Отображать в BottomSheet
|
|
80
|
-
*/
|
|
81
|
-
isBottomSheet?: boolean | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* Дополнительные пропсы шторки
|
|
84
|
-
*/
|
|
85
|
-
bottomSheetProps?: Partial<BottomSheetProps> | undefined;
|
|
86
|
-
/**
|
|
87
|
-
* Дополнительные пропсы модалки
|
|
88
|
-
*/
|
|
89
|
-
modalProps?: Partial<ModalMobileProps & React.RefAttributes<HTMLDivElement>> | undefined;
|
|
90
|
-
/**
|
|
91
|
-
* Дополнительные пропсы шапки модалки
|
|
92
|
-
*/
|
|
93
|
-
modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
|
|
94
|
-
/**
|
|
95
|
-
* Дополнительные пропсы футера модалки
|
|
96
|
-
*/
|
|
97
|
-
modalFooterProps?: Partial<FooterProps> | undefined;
|
|
98
|
-
} & React.RefAttributes<unknown>>;
|
|
99
|
-
export { ModalMobile, Content, SelectMobileProps, BaseSelectMobile };
|
|
100
|
-
export { ModalMobileProps } from "./typings-bdb4c6b9";
|
|
11
|
+
declare const Footer: ({ handleApply, handleClear, showClear, selectedDraft }: FooterProps) => React.JSX.Element;
|
|
12
|
+
declare const OptionsListWithApply: React.ForwardRefExoticComponent<OptionsListProps & {
|
|
13
|
+
showClear?: boolean | undefined;
|
|
14
|
+
onClose?: (() => void) | undefined;
|
|
15
|
+
selectedDraft?: OptionShape[] | undefined;
|
|
16
|
+
OptionsList?: React.FC<OptionsListProps & React.RefAttributes<HTMLDivElement>> | undefined;
|
|
17
|
+
Footer?: React.FC<FooterProps> | undefined;
|
|
18
|
+
Header?: React.FC<HeaderProps> | undefined;
|
|
19
|
+
headerProps?: HeaderProps | undefined;
|
|
20
|
+
showHeaderWithSelectAll?: boolean | undefined;
|
|
21
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export { FooterProps, Footer, OptionsListWithApply };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { CountryCode } from 'libphonenumber-js';
|
|
4
|
-
import { InputAutocompleteDesktopProps } from "./Component.desktop-
|
|
4
|
+
import { InputAutocompleteDesktopProps } from "./Component.desktop-ed17077e";
|
|
5
5
|
import { SelectProps } from "../../select";
|
|
6
6
|
import { Country } from '@alfalab/utils';
|
|
7
7
|
type MaxPhoneLenByCountry = Record<string, number>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { SelectDesktopProps } from "../../Component.desktop-
|
|
2
|
+
import { SelectDesktopProps } from "../../Component.desktop-63dec22f";
|
|
3
3
|
import { Country } from '@alfalab/utils';
|
|
4
4
|
type CountriesSelectProps = Pick<SelectDesktopProps, 'size' | 'dataTestId' | 'disabled' | 'onChange' | 'preventFlip'> & {
|
|
5
5
|
selected?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Component.desktop-
|
|
1
|
+
export * from "./Component.desktop-785df74d";
|
|
2
2
|
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { OptionProps, OptionShape } from "./typings-5e1b8383";
|
|
4
|
+
type OptionsFetcherResponse = {
|
|
5
|
+
options: OptionShape[];
|
|
6
|
+
hasMore: boolean;
|
|
7
|
+
};
|
|
8
|
+
type useLazyLoadingProps = {
|
|
9
|
+
/** Количество элементов на "странице" */
|
|
10
|
+
limit?: number;
|
|
11
|
+
/** Начальный номер "страницы" */
|
|
12
|
+
initialOffset?: number;
|
|
13
|
+
/** Скелетон загружаемых элементов */
|
|
14
|
+
skeleton?: React.ReactNode;
|
|
15
|
+
/** Компонент пункта меню */
|
|
16
|
+
Option?: React.FC<OptionProps>;
|
|
17
|
+
/**
|
|
18
|
+
* Функция-загрузчик опций.
|
|
19
|
+
* @param offset - текущая страница
|
|
20
|
+
* @param limit - количество элементов на странице
|
|
21
|
+
* @param queryString - строчные данные, пробрасываемые для поиска из кастомного инпута, расположенного в заголовке OptionsList
|
|
22
|
+
* @returns Promise<{
|
|
23
|
+
* options - список опций следующей "страницы". Они аппендятся к предыдущим
|
|
24
|
+
* hasMore - указывает, есть ли еще незагруженные элементы (в случае false перестает загружать "следующую страницу")
|
|
25
|
+
* }>
|
|
26
|
+
*/
|
|
27
|
+
optionsFetcher(offset: number, limit: number, queryString?: string): Promise<OptionsFetcherResponse>;
|
|
28
|
+
};
|
|
29
|
+
declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, Option, }: useLazyLoadingProps): {
|
|
30
|
+
optionsProps: {
|
|
31
|
+
Option: (props: OptionProps) => React.JSX.Element;
|
|
32
|
+
options: OptionShape[];
|
|
33
|
+
optionsListProps: {
|
|
34
|
+
ref: React.RefObject<HTMLDivElement>;
|
|
35
|
+
inputProps: {
|
|
36
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>, payload: {
|
|
37
|
+
value: string;
|
|
38
|
+
}) => void;
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
onOpen: (payload: {
|
|
43
|
+
open?: boolean;
|
|
44
|
+
}) => void;
|
|
45
|
+
};
|
|
46
|
+
reset: () => void;
|
|
47
|
+
};
|
|
48
|
+
export { useLazyLoading };
|
|
@@ -1,64 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
import { BaseSelectProps, OptionProps, OptionShape } from "./typings-5e1b8383";
|
|
5
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
6
5
|
import { UseSelectWithApplyProps } from "./hook-9ea9e32c";
|
|
7
|
-
|
|
8
|
-
type useSelectWithLoadingProps = {
|
|
9
|
-
loading?: boolean;
|
|
10
|
-
visibleOptions?: BaseSelectProps["visibleOptions"];
|
|
11
|
-
Option?: React.FC<OptionProps>;
|
|
12
|
-
};
|
|
13
|
-
declare function useSelectWithLoading({ loading, visibleOptions, Option }: useSelectWithLoadingProps): {
|
|
14
|
-
Option: (props: OptionProps) => React.JSX.Element;
|
|
15
|
-
options: OptionShape[];
|
|
16
|
-
} | null;
|
|
17
|
-
type OptionsFetcherResponse = {
|
|
18
|
-
options: OptionShape[];
|
|
19
|
-
hasMore: boolean;
|
|
20
|
-
};
|
|
21
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
22
|
-
type useLazyLoadingProps = {
|
|
23
|
-
/** Количество элементов на "странице" */
|
|
24
|
-
limit?: number;
|
|
25
|
-
/** Начальный номер "страницы" */
|
|
26
|
-
initialOffset?: number;
|
|
27
|
-
/** Скелетон загружаемых элементов */
|
|
28
|
-
skeleton?: React.ReactNode;
|
|
29
|
-
/** Компонент пункта меню */
|
|
30
|
-
Option?: React.FC<OptionProps>;
|
|
31
|
-
/**
|
|
32
|
-
* Функция-загрузчик опций.
|
|
33
|
-
* @param offset - текущая страница
|
|
34
|
-
* @param limit - количество элементов на странице
|
|
35
|
-
* @param queryString - строчные данные, пробрасываемые для поиска из кастомного инпута, расположенного в заголовке OptionsList
|
|
36
|
-
* @returns Promise<{
|
|
37
|
-
* options - список опций следующей "страницы". Они аппендятся к предыдущим
|
|
38
|
-
* hasMore - указывает, есть ли еще незагруженные элементы (в случае false перестает загружать "следующую страницу")
|
|
39
|
-
* }>
|
|
40
|
-
*/
|
|
41
|
-
optionsFetcher(offset: number, limit: number, queryString?: string): Promise<OptionsFetcherResponse>;
|
|
42
|
-
};
|
|
43
|
-
declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, Option }: useLazyLoadingProps): {
|
|
44
|
-
optionsProps: {
|
|
45
|
-
Option: (props: OptionProps) => React.JSX.Element;
|
|
46
|
-
options: OptionShape[];
|
|
47
|
-
optionsListProps: {
|
|
48
|
-
ref: React.RefObject<HTMLDivElement>;
|
|
49
|
-
inputProps: {
|
|
50
|
-
onChange: (event: React.ChangeEvent<HTMLInputElement>, payload: {
|
|
51
|
-
value: string;
|
|
52
|
-
}) => void;
|
|
53
|
-
value: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
onOpen: (payload: {
|
|
57
|
-
open?: boolean;
|
|
58
|
-
}) => void;
|
|
59
|
-
};
|
|
60
|
-
reset: () => void;
|
|
61
|
-
};
|
|
6
|
+
import { BaseSelectProps, OptionProps, OptionShape } from "./typings-5e1b8383";
|
|
62
7
|
type AdditionalMobileProps = {
|
|
63
8
|
/**
|
|
64
9
|
* Футер
|
|
@@ -93,42 +38,27 @@ type AdditionalMobileProps = {
|
|
|
93
38
|
};
|
|
94
39
|
type SelectMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & AdditionalMobileProps;
|
|
95
40
|
declare const SelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<unknown>>;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Флаг явного включения анимации скелета
|
|
103
|
-
*/
|
|
104
|
-
animate?: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Дополнительный класс
|
|
107
|
-
*/
|
|
108
|
-
className?: string;
|
|
109
|
-
/**
|
|
110
|
-
* Дополнительные инлайн стили
|
|
111
|
-
*/
|
|
112
|
-
style?: React.CSSProperties;
|
|
113
|
-
/**
|
|
114
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
115
|
-
*/
|
|
116
|
-
dataTestId?: string;
|
|
117
|
-
/**
|
|
118
|
-
* Дочерние элементы.
|
|
119
|
-
*/
|
|
120
|
-
children?: ReactNode;
|
|
41
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
42
|
+
type useSelectWithLoadingProps = {
|
|
43
|
+
loading?: boolean;
|
|
44
|
+
visibleOptions?: BaseSelectProps["visibleOptions"];
|
|
45
|
+
Option?: React.FC<OptionProps>;
|
|
121
46
|
};
|
|
122
|
-
declare
|
|
47
|
+
declare function useSelectWithLoading({ loading, visibleOptions, Option }: useSelectWithLoadingProps): {
|
|
48
|
+
Option: (props: OptionProps) => React.JSX.Element;
|
|
49
|
+
options: OptionShape[];
|
|
50
|
+
} | null;
|
|
123
51
|
type FooterProps = {
|
|
124
52
|
handleClear?: () => void;
|
|
125
53
|
handleApply?: () => void;
|
|
126
54
|
showClear?: boolean;
|
|
127
55
|
};
|
|
128
56
|
declare const Footer: ({ handleApply, handleClear, showClear }: FooterProps) => React.JSX.Element;
|
|
57
|
+
export { AdditionalMobileProps, SelectMobileProps, SelectMobile, useSelectWithLoading, FooterProps, Footer };
|
|
129
58
|
export * from "./index-ebda875c";
|
|
130
59
|
export * from "./Component-5e1b8383";
|
|
131
|
-
export
|
|
60
|
+
export * from "./hook-c44170fe";
|
|
132
61
|
export * from "./hook-9ea9e32c";
|
|
62
|
+
export * from "./Component-50136800";
|
|
133
63
|
export * from "./typings-5e1b8383";
|
|
134
64
|
export * from "./utils-5e1b8383";
|
|
@@ -1,46 +1,48 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { FC, ReactNode } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { FC, ReactNode, RefObject } from "react";
|
|
4
|
+
import { NavigationBarProps } from "./index-c76d6398";
|
|
5
|
+
import { SwipeableHandlers } from "react-swipeable";
|
|
6
|
+
import { BackdropProps } from "./index-ebda875c";
|
|
7
|
+
import { BottomSheetProps } from "./types-72dda473";
|
|
7
8
|
type FooterProps = {
|
|
8
9
|
/**
|
|
9
10
|
* Контент футера
|
|
10
11
|
*/
|
|
11
12
|
children?: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* Дополнительный класс
|
|
14
|
-
*/
|
|
15
|
-
className?: string;
|
|
16
13
|
/**
|
|
17
14
|
* Фиксирует футер
|
|
18
15
|
*/
|
|
19
16
|
sticky?: boolean;
|
|
20
17
|
/**
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
layout?: "start" | "center" | "space-between" | "column";
|
|
24
|
-
/**
|
|
25
|
-
* Отступы между элементами футера
|
|
18
|
+
* Дополнительный класс
|
|
26
19
|
*/
|
|
27
|
-
|
|
20
|
+
className?: string;
|
|
28
21
|
};
|
|
29
|
-
declare const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
declare const Footer: FC<FooterProps>;
|
|
23
|
+
type HeaderProps = Omit<NavigationBarProps, "view" | "size"> & {
|
|
24
|
+
headerRef: RefObject<HTMLDivElement>;
|
|
25
|
+
headerOffset: number;
|
|
33
26
|
};
|
|
34
|
-
declare const
|
|
35
|
-
type
|
|
27
|
+
declare const Header: FC<HeaderProps>;
|
|
28
|
+
type SwipeableBackdropProps = BackdropProps & {
|
|
36
29
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @deprecated Используйте bottomSheetProps.actionButton
|
|
30
|
+
* Прозрачность бэкдропа
|
|
39
31
|
*/
|
|
40
|
-
|
|
32
|
+
opacity?: number;
|
|
41
33
|
/**
|
|
42
|
-
*
|
|
43
|
-
|
|
34
|
+
* Обработчики свайпа
|
|
35
|
+
*/
|
|
36
|
+
handlers?: SwipeableHandlers;
|
|
37
|
+
/**
|
|
38
|
+
* Время анимации opacity
|
|
39
|
+
*/
|
|
40
|
+
opacityTimeout?: number;
|
|
41
|
+
};
|
|
42
|
+
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
43
|
+
declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
export { FooterProps, Footer, HeaderProps, Header, SwipeableBackdropProps, SwipeableBackdrop, BottomSheet };
|
|
45
|
+
ated Используйте bottomSheetProps.swipeable
|
|
44
46
|
*/
|
|
45
47
|
swipeable?: boolean;
|
|
46
48
|
/**
|