@alfalab/core-components 42.13.0-beta.0 → 42.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bottom-sheet/component.js +3 -1
- package/bottom-sheet/cssm/component.js +3 -1
- package/bottom-sheet/esm/component.js +3 -1
- package/bottom-sheet/modern/component.js +3 -1
- package/calendar/Component-10db897e.d.ts +3 -183
- package/{picker-button/cssm → calendar}/Component-69921c40.d.ts +1 -1
- package/calendar-input/Component.desktop.d.ts +4 -0
- package/calendar-input/Component.desktop.js +4 -0
- package/calendar-input/Component.mobile.d.ts +4 -0
- package/calendar-input/Component.mobile.js +4 -0
- package/calendar-input/Component.responsive.d.ts +4 -0
- package/calendar-input/Component.responsive.js +4 -0
- package/calendar-input/cssm/Component.desktop.d.ts +4 -0
- package/calendar-input/cssm/Component.desktop.js +4 -0
- package/calendar-input/cssm/Component.mobile.d.ts +4 -0
- package/calendar-input/cssm/Component.mobile.js +4 -0
- package/calendar-input/cssm/Component.responsive.d.ts +4 -0
- package/calendar-input/cssm/Component.responsive.js +4 -0
- package/calendar-input/esm/Component.desktop.d.ts +4 -0
- package/calendar-input/esm/Component.desktop.js +4 -0
- package/calendar-input/esm/Component.mobile.d.ts +4 -0
- package/calendar-input/esm/Component.mobile.js +4 -0
- package/calendar-input/esm/Component.responsive.d.ts +4 -0
- package/calendar-input/esm/Component.responsive.js +4 -0
- package/calendar-input/modern/Component.desktop.d.ts +4 -0
- package/calendar-input/modern/Component.desktop.js +4 -0
- package/calendar-input/modern/Component.mobile.d.ts +4 -0
- package/calendar-input/modern/Component.mobile.js +4 -0
- package/calendar-input/modern/Component.responsive.d.ts +4 -0
- package/calendar-input/modern/Component.responsive.js +4 -0
- package/calendar-range/esm/utils.js +3 -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/confirmation-v1/component.d.ts +1 -0
- package/confirmation-v1/component.js +1 -0
- package/confirmation-v1/cssm/component.d.ts +1 -0
- package/confirmation-v1/cssm/component.js +1 -0
- package/confirmation-v1/esm/component.d.ts +1 -0
- package/confirmation-v1/esm/component.js +1 -0
- package/confirmation-v1/modern/component.d.ts +1 -0
- package/confirmation-v1/modern/component.js +1 -0
- package/custom-picker-button/Component-0f4b9bed.d.ts +4 -21
- package/custom-picker-button/Component-10db897e.d.ts +265 -41
- package/custom-picker-button/Component-ebda875c.d.ts +98 -9
- package/custom-picker-button/Component.desktop-4cd3936b.d.ts +49 -0
- package/custom-picker-button/Component.desktop-785df74d.d.ts +1 -1
- package/custom-picker-button/Component.mobile-d7e9f69d.d.ts +1 -1
- package/custom-picker-button/Component.mobile.d.ts +9 -1
- package/custom-picker-button/desktop-d446ae02.d.ts +2 -39
- package/custom-picker-button/hook-8abfea97.d.ts +4 -4
- package/custom-picker-button/index-89f0cb07.d.ts +2 -0
- package/custom-picker-button/index-bdb4c6b9.d.ts +180 -2
- package/custom-picker-button/index-c44170fe.d.ts +2 -17
- package/custom-picker-button/index-ebda875c.d.ts +200 -18
- package/custom-picker-button/index-f12ee135.d.ts +324 -3
- package/custom-picker-button/shared-4cd3936b.d.ts +1 -60
- package/date-input/Component.d.ts +4 -0
- package/date-input/Component.js +4 -0
- package/date-input/cssm/Component.d.ts +4 -0
- package/date-input/cssm/Component.js +4 -0
- package/date-input/esm/Component.d.ts +4 -0
- package/date-input/esm/Component.js +4 -0
- package/date-input/modern/Component.d.ts +4 -0
- package/date-input/modern/Component.js +4 -0
- package/date-range-input/Component-10db897e.d.ts +295 -4
- package/date-range-input/Component-5684a67d.d.ts +23 -0
- package/date-range-input/Component-69921c40.d.ts +12 -172
- package/date-range-input/Component-e2b6c730.d.ts +76 -0
- package/date-range-input/Component.desktop-b5b4c59f.d.ts +5 -72
- package/date-range-input/Component.desktop-ebda875c.d.ts +7 -0
- package/date-range-input/Component.desktop.d.ts +4 -0
- package/date-range-input/Component.desktop.js +4 -0
- package/date-range-input/Component.mobile.d.ts +4 -0
- package/date-range-input/Component.mobile.js +4 -0
- package/date-range-input/Component.responsive.d.ts +4 -0
- package/date-range-input/Component.responsive.js +4 -0
- package/date-range-input/components/date-range-input/Component.d.ts +1 -1
- package/date-range-input/cssm/Component-10db897e.d.ts +295 -4
- package/date-range-input/cssm/Component-5684a67d.d.ts +23 -0
- package/date-range-input/cssm/Component-69921c40.d.ts +12 -172
- package/date-range-input/cssm/Component-e2b6c730.d.ts +76 -0
- package/date-range-input/cssm/Component.desktop-b5b4c59f.d.ts +5 -72
- package/date-range-input/cssm/Component.desktop-ebda875c.d.ts +7 -0
- package/date-range-input/cssm/Component.desktop.d.ts +4 -0
- package/date-range-input/cssm/Component.desktop.js +4 -0
- package/date-range-input/cssm/Component.mobile.d.ts +4 -0
- package/date-range-input/cssm/Component.mobile.js +4 -0
- package/{custom-picker-button/index-8b2c2707.d.ts → date-range-input/cssm/Component.responsive-16b1285a.d.ts} +1 -2
- package/date-range-input/cssm/Component.responsive.d.ts +4 -0
- package/date-range-input/cssm/Component.responsive.js +4 -0
- package/date-range-input/cssm/components/date-range-input/Component.d.ts +1 -1
- package/{intl-phone-input/desktop-69921c40.d.ts → date-range-input/cssm/desktop-89f0cb07.d.ts} +1 -1
- package/date-range-input/cssm/index-89f0cb07.d.ts +1 -1
- package/date-range-input/cssm/index-ebda875c.d.ts +1 -34
- package/date-range-input/cssm/index-f034f741.d.ts +2 -80
- package/date-range-input/cssm/mobile-c219f8ca.d.ts +368 -1
- package/date-range-input/cssm/utils-e0a54580.d.ts +8 -0
- package/date-range-input/{desktop-69921c40.d.ts → desktop-89f0cb07.d.ts} +1 -1
- package/date-range-input/esm/Component.desktop.d.ts +4 -0
- package/date-range-input/esm/Component.desktop.js +4 -0
- package/date-range-input/esm/Component.mobile.d.ts +4 -0
- package/date-range-input/esm/Component.mobile.js +4 -0
- package/date-range-input/esm/Component.responsive.d.ts +4 -0
- package/date-range-input/esm/Component.responsive.js +4 -0
- package/date-range-input/index-89f0cb07.d.ts +1 -1
- package/date-range-input/index-ebda875c.d.ts +1 -34
- package/date-range-input/index-f034f741.d.ts +2 -80
- package/date-range-input/mobile-c219f8ca.d.ts +368 -1
- package/date-range-input/modern/Component.desktop.d.ts +4 -0
- package/date-range-input/modern/Component.desktop.js +4 -0
- package/date-range-input/modern/Component.mobile.d.ts +4 -0
- package/date-range-input/modern/Component.mobile.js +4 -0
- package/date-range-input/modern/Component.responsive.d.ts +4 -0
- package/date-range-input/modern/Component.responsive.js +4 -0
- package/date-range-input/utils-e0a54580.d.ts +8 -0
- package/date-time-input/Component.desktop.d.ts +4 -0
- package/date-time-input/Component.desktop.js +4 -0
- package/date-time-input/cssm/Component.desktop.d.ts +4 -0
- package/date-time-input/cssm/Component.desktop.js +4 -0
- package/date-time-input/esm/Component.desktop.d.ts +4 -0
- package/date-time-input/esm/Component.desktop.js +4 -0
- package/date-time-input/modern/Component.desktop.d.ts +4 -0
- package/date-time-input/modern/Component.desktop.js +4 -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/intl-phone-input/Component-0f4b9bed.d.ts +18 -96
- package/intl-phone-input/Component-10db897e.d.ts +99 -5
- package/intl-phone-input/Component-4cd3936b.d.ts +1 -1
- package/intl-phone-input/Component-c44170fe.d.ts +13 -0
- package/intl-phone-input/{Component.desktop-0f4b9bed.d.ts → Component.desktop-63dec22f.d.ts} +1 -1
- package/intl-phone-input/component.d.ts +5 -1
- package/intl-phone-input/component.js +4 -0
- package/intl-phone-input/components/select/component.d.ts +1 -1
- package/intl-phone-input/cssm/component.d.ts +4 -0
- package/intl-phone-input/cssm/component.js +4 -0
- package/intl-phone-input/esm/component.d.ts +4 -0
- package/intl-phone-input/esm/component.js +4 -0
- package/intl-phone-input/hook-c44170fe.d.ts +48 -0
- package/intl-phone-input/modern/component.d.ts +4 -0
- package/intl-phone-input/modern/component.js +4 -0
- package/intl-phone-input/shared-4cd3936b.d.ts +14 -57
- package/package.json +1 -1
- package/picker-button/Component-0f4b9bed.d.ts +70 -3
- package/picker-button/Component-10db897e.d.ts +4 -294
- package/picker-button/Component-ebda875c.d.ts +9 -98
- package/picker-button/Component.desktop-785df74d.d.ts +1 -1
- package/picker-button/Component.desktop.d.ts +1 -1
- package/picker-button/Component.mobile-d7e9f69d.d.ts +1 -1
- package/picker-button/Component.mobile.d.ts +1 -1
- package/picker-button/Component.responsive.d.ts +1 -1
- package/picker-button/cssm/Component-0f4b9bed.d.ts +3 -70
- package/picker-button/cssm/Component-10db897e.d.ts +294 -4
- package/picker-button/cssm/Component-aed0af6e.d.ts +11 -0
- package/picker-button/cssm/Component-ebda875c.d.ts +98 -9
- package/picker-button/cssm/Component-f12ee135.d.ts +72 -0
- package/picker-button/cssm/Component.desktop-785df74d.d.ts +1 -1
- package/picker-button/cssm/Component.desktop.d.ts +1 -1
- package/{date-range-input/Component.mobile-ebda875c.d.ts → picker-button/cssm/Component.mobile-96988a65.d.ts} +0 -1
- package/picker-button/cssm/Component.mobile-d7e9f69d.d.ts +1 -1
- package/picker-button/cssm/Component.mobile.d.ts +1 -1
- package/picker-button/cssm/Component.responsive-d7e9f69d.d.ts +26 -0
- package/picker-button/cssm/Component.responsive.d.ts +1 -1
- package/picker-button/cssm/hook-8abfea97.d.ts +4 -4
- package/picker-button/cssm/hook-ebda875c.d.ts +48 -0
- package/picker-button/cssm/index-10db897e.d.ts +2 -2
- package/picker-button/cssm/index-bdb4c6b9.d.ts +180 -2
- package/picker-button/cssm/index-c44170fe.d.ts +1 -1
- package/picker-button/cssm/index-ebda875c.d.ts +191 -53
- package/picker-button/cssm/index-f12ee135.d.ts +324 -3
- package/picker-button/cssm/shared-4cd3936b.d.ts +1 -59
- package/picker-button/hook-8abfea97.d.ts +4 -4
- package/picker-button/index-10db897e.d.ts +2 -2
- package/picker-button/index-bdb4c6b9.d.ts +2 -180
- package/picker-button/index-c44170fe.d.ts +1 -1
- package/picker-button/index-ebda875c.d.ts +53 -191
- package/picker-button/index-f12ee135.d.ts +3 -324
- package/picker-button/shared-4cd3936b.d.ts +59 -1
- 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/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.mobile.js +1 -1
- package/select/Component.modal.mobile.js +1 -1
- package/select/Component.responsive.js +1 -1
- package/select/components/base-select-mobile/Component.js +2 -2
- package/select/components/virtual-options-list/Component.js +8 -4
- package/select/cssm/components/base-select-mobile/Component.js +2 -2
- package/select/cssm/components/virtual-options-list/Component.js +8 -4
- 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/components/base-select-mobile/Component.js +2 -2
- package/select/esm/components/virtual-options-list/Component.js +8 -4
- package/select/esm/index.js +1 -1
- 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.mobile.js +1 -1
- package/select/modern/Component.modal.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/components/base-select-mobile/Component.js +2 -2
- package/select/modern/components/virtual-options-list/Component.js +8 -4
- package/select/modern/index.js +1 -1
- 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/tabs/collapsible.js +1 -1
- package/tabs/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/components/primary-tablist/Component.desktop.js +3 -2
- package/tabs/components/primary-tablist/Component.js +14 -4
- package/tabs/components/primary-tablist/Component.mobile.js +3 -2
- package/tabs/components/primary-tablist/Component.responsive.js +3 -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.collapsible.js +1 -1
- package/tabs/components/tabs/Component.desktop.js +4 -3
- package/tabs/components/tabs/Component.mobile.js +4 -3
- package/tabs/components/tabs/Component.responsive.js +4 -3
- package/tabs/cssm/components/primary-tablist/Component.desktop.js +2 -1
- package/tabs/cssm/components/primary-tablist/Component.js +14 -4
- package/tabs/cssm/components/primary-tablist/Component.mobile.js +2 -1
- package/tabs/cssm/components/primary-tablist/Component.responsive.js +2 -1
- package/tabs/cssm/components/tabs/Component.desktop.js +2 -1
- package/tabs/cssm/components/tabs/Component.mobile.js +2 -1
- package/tabs/cssm/components/tabs/Component.responsive.js +2 -1
- package/tabs/cssm/desktop.js +2 -1
- package/tabs/cssm/index.js +2 -1
- package/tabs/cssm/mobile.js +2 -1
- package/tabs/desktop.js +4 -3
- package/tabs/esm/collapsible.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.desktop.js +2 -1
- package/tabs/esm/components/primary-tablist/Component.js +14 -4
- package/tabs/esm/components/primary-tablist/Component.mobile.js +2 -1
- package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -1
- package/tabs/esm/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/esm/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/esm/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
- package/tabs/esm/components/tabs/Component.desktop.js +3 -2
- package/tabs/esm/components/tabs/Component.mobile.js +3 -2
- package/tabs/esm/components/tabs/Component.responsive.js +3 -2
- package/tabs/esm/desktop.js +3 -2
- package/tabs/esm/index.js +3 -2
- package/tabs/esm/mobile.js +3 -2
- package/tabs/index-ebda875c.d.ts +21 -86
- package/tabs/index.js +4 -3
- package/tabs/mobile.js +4 -3
- package/tabs/modern/collapsible.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.desktop.js +2 -1
- package/tabs/modern/components/primary-tablist/Component.js +14 -4
- package/tabs/modern/components/primary-tablist/Component.mobile.js +2 -1
- package/tabs/modern/components/primary-tablist/Component.responsive.js +2 -1
- package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
- package/tabs/modern/components/tabs/Component.desktop.js +3 -2
- package/tabs/modern/components/tabs/Component.mobile.js +3 -2
- package/tabs/modern/components/tabs/Component.responsive.js +3 -2
- package/tabs/modern/desktop.js +3 -2
- package/tabs/modern/index.js +3 -2
- package/tabs/modern/mobile.js +3 -2
- 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.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 +19 -19
- package/themes/dist/compiled/mobile-dark-bluetint.css +262 -262
- package/themes/dist/site.css +348 -343
- package/themes/site.css +348 -343
- package/time-input/Component.d.ts +4 -0
- package/time-input/Component.js +4 -0
- package/time-input/cssm/Component.d.ts +4 -0
- package/time-input/cssm/Component.js +4 -0
- package/time-input/esm/Component.d.ts +4 -0
- package/time-input/esm/Component.js +4 -0
- package/time-input/modern/Component.d.ts +4 -0
- package/time-input/modern/Component.js +4 -0
- package/typography/component.js +2 -2
- 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/custom-picker-button/Component-89f0cb07.d.ts +0 -38
- package/custom-picker-button/Component-8b2c2707.d.ts +0 -12
- package/custom-picker-button/Component.mobile-d446ae02.d.ts +0 -23
- package/custom-picker-button/mobile-89f0cb07.d.ts +0 -2
- package/date-range-input/Component-b5b4c59f.d.ts +0 -389
- package/date-range-input/cssm/Component-b5b4c59f.d.ts +0 -389
- package/date-range-input/cssm/Component.mobile-ebda875c.d.ts +0 -7
- package/picker-button/cssm/Component.modal.mobile-0f4b9bed.d.ts +0 -60
- package/picker-button/cssm/component-10db897e.d.ts +0 -44
- package/picker-button/cssm/types-67a2d8af.d.ts +0 -276
- package/picker-button/cssm/utils-1574ad8b.d.ts +0 -29
- package/picker-button/cssm/utils-49cc3c24.d.ts +0 -8
- /package/calendar/{desktop-89f0cb07.d.ts → desktop-69921c40.d.ts} +0 -0
- /package/confirmation/{countdown-section-fd1f820b.d.ts → countdown-section-98424f8e.d.ts} +0 -0
- /package/confirmation/{countdown-section-fd1f820b.js → countdown-section-98424f8e.js} +0 -0
- /package/confirmation/esm/{countdown-section-3a227dc3.d.ts → countdown-section-293411b2.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-3a227dc3.js → countdown-section-293411b2.js} +0 -0
- /package/confirmation/modern/{countdown-section-0fae6dd8.d.ts → countdown-section-4c466791.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-0fae6dd8.js → countdown-section-4c466791.js} +0 -0
- /package/{picker-button → custom-picker-button}/Component-aed0af6e.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/Component-f12ee135.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/Component.mobile-96988a65.d.ts +0 -0
- /package/{date-range-input → custom-picker-button}/Component.responsive-0aa4e915.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/Component.responsive-d7e9f69d.d.ts +0 -0
- /package/{date-range-input/cssm → custom-picker-button}/desktop-69921c40.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/hook-ebda875c.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/mobile-96988a65.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/useSkeleton-1b036d4b.d.ts +0 -0
- /package/date-range-input/{Component.desktop-0aa4e915.d.ts → Component.desktop-89f0cb07.d.ts} +0 -0
- /package/date-range-input/{cssm/Component.responsive-0aa4e915.d.ts → Component.responsive-16b1285a.d.ts} +0 -0
- /package/date-range-input/{Component.responsive-785df74d.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
- /package/date-range-input/cssm/{Component.desktop-0aa4e915.d.ts → Component.desktop-89f0cb07.d.ts} +0 -0
- /package/date-range-input/cssm/{Component.responsive-785df74d.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
- /package/date-range-input/cssm/{desktop-63dec22f.d.ts → desktop-b5b4c59f.d.ts} +0 -0
- /package/date-range-input/{desktop-63dec22f.d.ts → desktop-b5b4c59f.d.ts} +0 -0
- /package/gallery/{buttons-690412e1.d.ts → buttons-0f7e62fa.d.ts} +0 -0
- /package/gallery/{buttons-690412e1.js → buttons-0f7e62fa.js} +0 -0
- /package/gallery/esm/{buttons-56eb04b3.d.ts → buttons-8f2a1c94.d.ts} +0 -0
- /package/gallery/esm/{buttons-56eb04b3.js → buttons-8f2a1c94.js} +0 -0
- /package/gallery/esm/{slide-44fcdb22.d.ts → slide-ceaab2f7.d.ts} +0 -0
- /package/gallery/esm/{slide-44fcdb22.js → slide-ceaab2f7.js} +0 -0
- /package/gallery/modern/{buttons-eaec7dc8.d.ts → buttons-c5da30ee.d.ts} +0 -0
- /package/gallery/modern/{buttons-eaec7dc8.js → buttons-c5da30ee.js} +0 -0
- /package/gallery/modern/{slide-f0094724.d.ts → slide-01729b01.d.ts} +0 -0
- /package/gallery/modern/{slide-f0094724.js → slide-01729b01.js} +0 -0
- /package/gallery/{slide-44acedca.d.ts → slide-d75dc41d.d.ts} +0 -0
- /package/gallery/{slide-44acedca.js → slide-d75dc41d.js} +0 -0
- /package/intl-phone-input/{Component.desktop-4cd3936b.d.ts → Component.desktop-9cded6b9.d.ts} +0 -0
- /package/intl-phone-input/{desktop-785df74d.d.ts → desktop-63dec22f.d.ts} +0 -0
- /package/{custom-picker-button → intl-phone-input}/desktop-89f0cb07.d.ts +0 -0
- /package/{custom-picker-button/mobile-d7e9f69d.d.ts → intl-phone-input/mobile-96988a65.d.ts} +0 -0
- /package/{custom-picker-button → picker-button}/Component-69921c40.d.ts +0 -0
- /package/{custom-picker-button → picker-button}/Component.modal.mobile-0f4b9bed.d.ts +0 -0
- /package/picker-button/{cssm/Component.responsive-3109f463.d.ts → Component.responsive-3109f463.d.ts} +0 -0
- /package/{custom-picker-button → picker-button}/component-10db897e.d.ts +0 -0
- /package/picker-button/{Component-72dda473.d.ts → cssm/Component-72dda473.d.ts} +0 -0
- /package/{intl-phone-input/mobile-d7e9f69d.d.ts → picker-button/cssm/mobile-96988a65.d.ts} +0 -0
- /package/{custom-picker-button/useSkeleton-ebda875c.d.ts → picker-button/cssm/useSkeleton-1b036d4b.d.ts} +0 -0
- /package/picker-button/{cssm/mobile-89f0cb07.d.ts → mobile-89f0cb07.d.ts} +0 -0
- /package/picker-button/{cssm/mobile-d7e9f69d.d.ts → mobile-d7e9f69d.d.ts} +0 -0
- /package/{custom-picker-button → picker-button}/types-67a2d8af.d.ts +0 -0
- /package/picker-button/{cssm/useSkeleton-ebda875c.d.ts → useSkeleton-ebda875c.d.ts} +0 -0
- /package/{custom-picker-button → picker-button}/utils-1574ad8b.d.ts +0 -0
- /package/{custom-picker-button → picker-button}/utils-49cc3c24.d.ts +0 -0
- /package/pure-cell/{component-56e8d476.d.ts → component-0bb227ff.d.ts} +0 -0
- /package/pure-cell/{component-56e8d476.js → component-0bb227ff.js} +0 -0
- /package/pure-cell/esm/{component-81398343.d.ts → component-0fa1f2f4.d.ts} +0 -0
- /package/pure-cell/esm/{component-81398343.js → component-0fa1f2f4.js} +0 -0
- /package/pure-cell/modern/{component-62dc17a6.d.ts → component-62710d9b.d.ts} +0 -0
- /package/pure-cell/modern/{component-62dc17a6.js → component-62710d9b.js} +0 -0
- /package/select/esm/{hook-dbd7a783.d.ts → hook-e63a15d0.d.ts} +0 -0
- /package/select/esm/{hook-dbd7a783.js → hook-e63a15d0.js} +0 -0
- /package/select/{hook-77cb9499.d.ts → hook-74d61833.d.ts} +0 -0
- /package/select/{hook-77cb9499.js → hook-74d61833.js} +0 -0
- /package/select/modern/{hook-2d4246ef.d.ts → hook-5e1db0b0.d.ts} +0 -0
- /package/select/modern/{hook-2d4246ef.js → hook-5e1db0b0.js} +0 -0
- /package/tabs/esm/{index.module-f81c66bd.js → index.module-072f7a03.js} +0 -0
- /package/tabs/esm/{index.module-e596240d.js → index.module-64994e8d.js} +0 -0
- /package/tabs/{index.module-f5167fdf.js → index.module-5f6b14c2.js} +0 -0
- /package/tabs/{index.module-aaabe4b6.js → index.module-e4f107c7.js} +0 -0
- /package/tabs/modern/{index.module-57137d98.js → index.module-5e57388f.js} +0 -0
- /package/tabs/modern/{index.module-328329dc.js → index.module-633b90f6.js} +0 -0
- /package/textarea/{PseudoTextArea-89d92eb6.d.ts → PseudoTextArea-36c6abaa.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-89d92eb6.js → PseudoTextArea-36c6abaa.js} +0 -0
- /package/textarea/esm/{PseudoTextArea-b972f2a1.d.ts → PseudoTextArea-9a6ecffa.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-b972f2a1.js → PseudoTextArea-9a6ecffa.js} +0 -0
- /package/textarea/modern/{PseudoTextArea-05bab99f.d.ts → PseudoTextArea-af080549.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-05bab99f.js → PseudoTextArea-af080549.js} +0 -0
- /package/typography/{colors.module-acfdc4ac.js → colors.module-df0e4b50.js} +0 -0
- /package/typography/{common.module-1e0ee495.js → common.module-f956febc.js} +0 -0
- /package/typography/esm/{colors.module-15b18b20.js → colors.module-9bede968.js} +0 -0
- /package/typography/esm/{common.module-2109e6cf.js → common.module-a7331eab.js} +0 -0
- /package/typography/modern/{colors.module-9ac72522.js → colors.module-3d67b05c.js} +0 -0
- /package/typography/modern/{common.module-89e311be.js → common.module-37e5ffae.js} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PeriodType } from "./index-f034f741";
|
|
2
|
+
declare const formatPeriod: (valueFrom: Date, valueTo: Date, periodType: PeriodType, showCurrentYear?: boolean) => string;
|
|
3
|
+
declare const getYearSelectorValue: (valueFrom: Date | undefined, showCurrentYear: boolean) => number | "";
|
|
4
|
+
declare const shiftValues: (valueFrom: Date, valueTo: Date, periodType: PeriodType, direction: 'prev' | 'next') => {
|
|
5
|
+
valueFrom: Date;
|
|
6
|
+
valueTo: Date;
|
|
7
|
+
};
|
|
8
|
+
export { formatPeriod, getYearSelectorValue, shiftValues };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ButtonDesktop } from "./Component.desktop-
|
|
1
|
+
export { ButtonDesktop } from "./Component.desktop-89f0cb07";
|
|
2
2
|
export type { CommonButtonProps as ButtonDesktopProps } from "./typings-89f0cb07";
|
|
@@ -2,5 +2,9 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ConditionalProps, DateRangeInputProps } from "./components/date-range-input/index";
|
|
4
4
|
type DateRangeInputDesktopProps = Omit<DateRangeInputProps, 'view' | 'picker' | 'onClose' | 'InputComponent'> & ConditionalProps;
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated
|
|
7
|
+
* use UniversalDateInput instead
|
|
8
|
+
*/
|
|
5
9
|
declare const DateRangeInputDesktop: React.ForwardRefExoticComponent<DateRangeInputDesktopProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
10
|
export { DateRangeInputDesktopProps, DateRangeInputDesktop };
|
|
@@ -15,6 +15,10 @@ import '@alfalab/icons-glyph/CalendarMIcon';
|
|
|
15
15
|
import 'date-fns/parse';
|
|
16
16
|
import './utils/format.js';
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated
|
|
20
|
+
* use UniversalDateInput instead
|
|
21
|
+
*/
|
|
18
22
|
var DateRangeInputDesktop = forwardRef(function (props, ref) { return (React.createElement(DateRangeInput, __assign({ InputComponent: InputDesktop, Calendar: CalendarDesktop }, props, { ref: ref }))); });
|
|
19
23
|
|
|
20
24
|
export { DateRangeInputDesktop };
|
|
@@ -2,5 +2,9 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ConditionalProps, DateRangeInputProps } from "./components/date-range-input/index";
|
|
4
4
|
type DateRangeInputMobileProps = Omit<DateRangeInputProps, 'view' | 'picker' | 'onClose' | 'InputComponent'> & ConditionalProps;
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated
|
|
7
|
+
* use UniversalDateInput instead
|
|
8
|
+
*/
|
|
5
9
|
declare const DateRangeInputMobile: React.ForwardRefExoticComponent<DateRangeInputMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
10
|
export { DateRangeInputMobileProps, DateRangeInputMobile };
|
|
@@ -15,6 +15,10 @@ import '@alfalab/icons-glyph/CalendarMIcon';
|
|
|
15
15
|
import 'date-fns/parse';
|
|
16
16
|
import './utils/format.js';
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated
|
|
20
|
+
* use UniversalDateInput instead
|
|
21
|
+
*/
|
|
18
22
|
var DateRangeInputMobile = forwardRef(function (props, ref) { return (React.createElement(DateRangeInput, __assign({ InputComponent: InputMobile, Calendar: CalendarMobile, view: 'mobile' }, props, { ref: ref }))); });
|
|
19
23
|
|
|
20
24
|
export { DateRangeInputMobile };
|
|
@@ -9,5 +9,9 @@ type DateRangeInputResponsiveProps = Omit<DateRangeInputProps, 'view' | 'picker'
|
|
|
9
9
|
breakpoint?: number;
|
|
10
10
|
};
|
|
11
11
|
type DateRangeInputMedia = 'desktop' | 'mobile';
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
* use UniversalDateInput instead
|
|
15
|
+
*/
|
|
12
16
|
declare const DateRangeInputResponsive: React.ForwardRefExoticComponent<DateRangeInputResponsiveProps & React.RefAttributes<HTMLInputElement>>;
|
|
13
17
|
export { DateRangeInputResponsiveProps, DateRangeInputMedia, DateRangeInputResponsive };
|
|
@@ -19,6 +19,10 @@ import '../../calendar/esm/mobile';
|
|
|
19
19
|
import '../../input/esm/mobile';
|
|
20
20
|
import './utils/format.js';
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated
|
|
24
|
+
* use UniversalDateInput instead
|
|
25
|
+
*/
|
|
22
26
|
var DateRangeInputResponsive = forwardRef(function (_a, ref) {
|
|
23
27
|
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = __rest(_a, ["breakpoint"]);
|
|
24
28
|
var view = useMedia([
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Button } from "./Component.responsive-
|
|
1
|
+
export { Button } from "./Component.responsive-16b1285a";
|
|
2
2
|
export type { ButtonProps } from "./typings-89f0cb07";
|
|
@@ -1,35 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
import { ButtonHTMLAttributes, ElementType, FC } from "react";
|
|
4
|
-
interface CloserProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
|
-
/**
|
|
6
|
-
* Вид компонента
|
|
7
|
-
*/
|
|
8
|
-
view: "desktop" | "mobile";
|
|
9
|
-
/**
|
|
10
|
-
* Дополнительный класс
|
|
11
|
-
*/
|
|
12
|
-
className?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Позиция крестика
|
|
15
|
-
*/
|
|
16
|
-
align?: "left" | "right";
|
|
17
|
-
/**
|
|
18
|
-
* Фиксирует крестик
|
|
19
|
-
*/
|
|
20
|
-
sticky?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Иконка
|
|
23
|
-
*/
|
|
24
|
-
icon?: ElementType;
|
|
25
|
-
/**
|
|
26
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
27
|
-
*/
|
|
28
|
-
dataTestId?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Коллбэк закрытия.
|
|
31
|
-
*/
|
|
32
|
-
onClose?: (event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
|
|
33
|
-
}
|
|
34
|
-
declare const Closer: FC<CloserProps>;
|
|
35
|
-
export { CloserProps, Closer };
|
|
2
|
+
export * from "./Component-10db897e";
|
|
@@ -1,80 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
type PeriodSliderProps = {
|
|
4
|
-
/**
|
|
5
|
-
* Активная дата или период
|
|
6
|
-
*/
|
|
7
|
-
value?: Date | [
|
|
8
|
-
Date,
|
|
9
|
-
Date
|
|
10
|
-
];
|
|
11
|
-
/**
|
|
12
|
-
* Тип периода
|
|
13
|
-
*/
|
|
14
|
-
periodType?: PeriodType;
|
|
15
|
-
/**
|
|
16
|
-
* Дополнительный класс
|
|
17
|
-
*/
|
|
18
|
-
className?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Отключает кнопку назад
|
|
21
|
-
*/
|
|
22
|
-
prevArrowDisabled?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Отключает кнопку вперед
|
|
25
|
-
*/
|
|
26
|
-
nextArrowDisabled?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Скрывает заблокированные кнопки
|
|
29
|
-
*/
|
|
30
|
-
hideDisabledArrows?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Возможность выбора месяца и года, если periodType 'month'
|
|
33
|
-
*/
|
|
34
|
-
isMonthAndYearSelectable?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Отображать ли текущий год, если isMonthAndYearSelectable true
|
|
37
|
-
*/
|
|
38
|
-
showCurrentYearSelector?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Функция для форматирование выбранного периода
|
|
41
|
-
*/
|
|
42
|
-
periodFormatter?: (valueFrom: Date, valueTo: Date, periodType: PeriodType) => string;
|
|
43
|
-
/**
|
|
44
|
-
* Обработчик нажатия кнопки переключения на назад
|
|
45
|
-
*/
|
|
46
|
-
onPrevArrowClick?: (event: MouseEvent<HTMLButtonElement>, payload: {
|
|
47
|
-
value: Date;
|
|
48
|
-
valueFrom: Date;
|
|
49
|
-
valueTo: Date;
|
|
50
|
-
periodType: PeriodType;
|
|
51
|
-
}) => void;
|
|
52
|
-
/**
|
|
53
|
-
* Обработчик нажатия кнопки переключения на вперед
|
|
54
|
-
*/
|
|
55
|
-
onNextArrowClick?: (event: MouseEvent<HTMLButtonElement>, payload: {
|
|
56
|
-
value: Date;
|
|
57
|
-
valueFrom: Date;
|
|
58
|
-
valueTo: Date;
|
|
59
|
-
periodType: PeriodType;
|
|
60
|
-
}) => void;
|
|
61
|
-
/**
|
|
62
|
-
* Обработчик нажатия на селектор месяца
|
|
63
|
-
*/
|
|
64
|
-
onMonthClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
65
|
-
/**
|
|
66
|
-
* Обработчик нажатия на селектор года
|
|
67
|
-
*/
|
|
68
|
-
onYearClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
69
|
-
/**
|
|
70
|
-
* Обработчик нажатия на период
|
|
71
|
-
*/
|
|
72
|
-
onPeriodClick?: (event: MouseEvent<HTMLAnchorElement>) => void;
|
|
73
|
-
/**
|
|
74
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
75
|
-
*/
|
|
76
|
-
dataTestId?: string;
|
|
77
|
-
};
|
|
78
|
-
declare const PeriodSlider: FC<PeriodSliderProps>;
|
|
79
|
-
export { PeriodType, PeriodSliderProps, PeriodSlider };
|
|
80
|
-
export { shiftValues } from "./Component.desktop-b5b4c59f";
|
|
1
|
+
export * from "./Component-e2b6c730";
|
|
2
|
+
export { shiftValues } from "./utils-e0a54580";
|
|
@@ -1 +1,368 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react-transition-group" />
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { ReactNode, FC, KeyboardEvent, MouseEvent, MutableRefObject, Ref, RefObject } from "react";
|
|
5
|
+
import { CalendarDesktopProps } from "./Component.desktop-b5b4c59f";
|
|
6
|
+
import { TransitionProps } from "react-transition-group/Transition";
|
|
7
|
+
import { CSSTransitionClassNames } from "react-transition-group/CSSTransition";
|
|
8
|
+
import { NavigationBarProps } from "./types-1c79e231";
|
|
9
|
+
type CalendarMobileProps = CalendarDesktopProps & {
|
|
10
|
+
/**
|
|
11
|
+
* Управление видимостью модалки
|
|
12
|
+
*/
|
|
13
|
+
open: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Заголовок календаря
|
|
16
|
+
*/
|
|
17
|
+
title?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Обработчик закрытия модалки
|
|
20
|
+
*/
|
|
21
|
+
onClose?: () => void;
|
|
22
|
+
/**
|
|
23
|
+
* Обработчик клика на название месяца в мобильном календаре
|
|
24
|
+
*/
|
|
25
|
+
onMonthTitleClick?: (event: React.MouseEvent<HTMLSpanElement>) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Количество лет для генерации в обе стороны от текущего года
|
|
28
|
+
*/
|
|
29
|
+
yearsAmount?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Нужно ли рендерить шапку
|
|
32
|
+
*/
|
|
33
|
+
hasHeader?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Разрешить выбор из недозаполненного диапазона дат.
|
|
36
|
+
*/
|
|
37
|
+
allowSelectionFromEmptyRange?: boolean;
|
|
38
|
+
};
|
|
39
|
+
declare const CalendarMobile: React.ForwardRefExoticComponent<CalendarDesktopProps & {
|
|
40
|
+
open: boolean;
|
|
41
|
+
title?: string | undefined;
|
|
42
|
+
onClose?: (() => void) | undefined;
|
|
43
|
+
onMonthTitleClick?: ((event: React.MouseEvent<HTMLSpanElement>) => void) | undefined;
|
|
44
|
+
yearsAmount?: number | undefined;
|
|
45
|
+
hasHeader?: boolean | undefined;
|
|
46
|
+
allowSelectionFromEmptyRange?: boolean | undefined;
|
|
47
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
48
|
+
type BackdropProps = Partial<TransitionProps> & {
|
|
49
|
+
/**
|
|
50
|
+
* Прозрачный бэкдроп
|
|
51
|
+
*/
|
|
52
|
+
invisible?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Управляет видимостью компонента
|
|
55
|
+
*/
|
|
56
|
+
open: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Обработчик клика по бэкдропу
|
|
59
|
+
*/
|
|
60
|
+
onClose?: (event: MouseEvent<HTMLElement>) => void;
|
|
61
|
+
/**
|
|
62
|
+
* Дополнительный класс
|
|
63
|
+
*/
|
|
64
|
+
className?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Классы анимации
|
|
67
|
+
*
|
|
68
|
+
* http://reactcommunity.org/react-transition-group/css-transition#CSSTransition-prop-classNames
|
|
69
|
+
*/
|
|
70
|
+
transitionClassNames?: string | CSSTransitionClassNames;
|
|
71
|
+
/**
|
|
72
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
73
|
+
*/
|
|
74
|
+
dataTestId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Дочерние элементы.
|
|
77
|
+
*/
|
|
78
|
+
children?: ReactNode;
|
|
79
|
+
};
|
|
80
|
+
type PortalProps = {
|
|
81
|
+
/** Контент */
|
|
82
|
+
children?: ReactNode;
|
|
83
|
+
/**
|
|
84
|
+
* Функция, возвращающая контейнер, в который будут рендериться дочерние элементы
|
|
85
|
+
*/
|
|
86
|
+
getPortalContainer?: () => Element;
|
|
87
|
+
/**
|
|
88
|
+
* Немедленно отрендерить дочерние элементы (false - контент будет отрендерен на след. рендер).
|
|
89
|
+
*/
|
|
90
|
+
immediateMount?: boolean;
|
|
91
|
+
};
|
|
92
|
+
type BaseModalProps = {
|
|
93
|
+
/**
|
|
94
|
+
* Контент
|
|
95
|
+
*/
|
|
96
|
+
children?: ReactNode;
|
|
97
|
+
/**
|
|
98
|
+
* Компонент бэкдропа
|
|
99
|
+
*/
|
|
100
|
+
Backdrop?: FC<BackdropProps>;
|
|
101
|
+
/**
|
|
102
|
+
* Свойства для Бэкдропа
|
|
103
|
+
*/
|
|
104
|
+
backdropProps?: Partial<BackdropProps> & Record<string, unknown>;
|
|
105
|
+
/**
|
|
106
|
+
* Нода, компонент или функция возвращающая их
|
|
107
|
+
*
|
|
108
|
+
* Контейнер к которому будут добавляться порталы
|
|
109
|
+
*/
|
|
110
|
+
container?: PortalProps["getPortalContainer"];
|
|
111
|
+
/**
|
|
112
|
+
* Отключает автоматический перевод фокуса на модалку при открытии
|
|
113
|
+
* @default false
|
|
114
|
+
*/
|
|
115
|
+
disableAutoFocus?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Отключает ловушку фокуса
|
|
118
|
+
* @default false
|
|
119
|
+
*/
|
|
120
|
+
disableFocusLock?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Отключает восстановление фокуса на предыдущем элементе после закрытия модалки
|
|
123
|
+
* @default false
|
|
124
|
+
*/
|
|
125
|
+
disableRestoreFocus?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Отключает вызов `callback` при нажатии Escape
|
|
128
|
+
* @default false
|
|
129
|
+
*/
|
|
130
|
+
disableEscapeKeyDown?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Отключает вызов `callback` при клике на бэкдроп
|
|
133
|
+
* @default false
|
|
134
|
+
*/
|
|
135
|
+
disableBackdropClick?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Отключает блокировку скролла при открытии модального окна
|
|
138
|
+
* @default false
|
|
139
|
+
*/
|
|
140
|
+
disableBlockingScroll?: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Содержимое модалки всегда в DOM
|
|
143
|
+
* @default false
|
|
144
|
+
*/
|
|
145
|
+
keepMounted?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Управление видимостью модалки
|
|
148
|
+
*/
|
|
149
|
+
open: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Дополнительный класс
|
|
152
|
+
*/
|
|
153
|
+
className?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Дополнительный класс
|
|
156
|
+
*/
|
|
157
|
+
contentClassName?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Дополнительные пропсы на обертку контента
|
|
160
|
+
*/
|
|
161
|
+
contentProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
162
|
+
/**
|
|
163
|
+
* Дополнительные пропсы на компонентную обертку контента
|
|
164
|
+
*/
|
|
165
|
+
componentDivProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
166
|
+
/**
|
|
167
|
+
* Дополнительный класс для обертки (Modal)
|
|
168
|
+
*/
|
|
169
|
+
wrapperClassName?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Обработчик скролла контента
|
|
172
|
+
*/
|
|
173
|
+
scrollHandler?: "wrapper" | "content" | MutableRefObject<HTMLDivElement | null>;
|
|
174
|
+
/**
|
|
175
|
+
* Пропсы для анимации (CSSTransition)
|
|
176
|
+
*/
|
|
177
|
+
transitionProps?: Partial<TransitionProps>;
|
|
178
|
+
/**
|
|
179
|
+
* Рендерить ли в контейнер через портал.
|
|
180
|
+
* @default true
|
|
181
|
+
*/
|
|
182
|
+
usePortal?: boolean;
|
|
183
|
+
/**
|
|
184
|
+
* Обработчик события нажатия на бэкдроп
|
|
185
|
+
*/
|
|
186
|
+
onBackdropClick?: (event: MouseEvent) => void;
|
|
187
|
+
/**
|
|
188
|
+
* Обработчик события нажатия на Escape
|
|
189
|
+
*
|
|
190
|
+
* Если `disableEscapeKeyDown` - false и модальное окно в фокусе
|
|
191
|
+
*/
|
|
192
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
193
|
+
/**
|
|
194
|
+
* Обработчик закрытия
|
|
195
|
+
*/
|
|
196
|
+
onClose?: (event: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
|
|
197
|
+
/**
|
|
198
|
+
* Обработчик события onEntered компонента Transition
|
|
199
|
+
*/
|
|
200
|
+
onMount?: () => void;
|
|
201
|
+
/**
|
|
202
|
+
* Обработчик события onExited компонента Transition
|
|
203
|
+
*/
|
|
204
|
+
onUnmount?: () => void;
|
|
205
|
+
/**
|
|
206
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
207
|
+
*/
|
|
208
|
+
dataTestId?: string;
|
|
209
|
+
/**
|
|
210
|
+
* z-index компонента
|
|
211
|
+
*/
|
|
212
|
+
zIndex?: number;
|
|
213
|
+
/**
|
|
214
|
+
* Реф, который должен быть установлен компонентной области
|
|
215
|
+
*/
|
|
216
|
+
componentRef?: MutableRefObject<HTMLDivElement | null>;
|
|
217
|
+
};
|
|
218
|
+
type BaseModalContext = {
|
|
219
|
+
parentRef: React.RefObject<HTMLDivElement>;
|
|
220
|
+
componentRef: React.RefObject<HTMLDivElement>;
|
|
221
|
+
hasFooter?: boolean;
|
|
222
|
+
hasHeader?: boolean;
|
|
223
|
+
hasScroll?: boolean;
|
|
224
|
+
headerHighlighted?: boolean;
|
|
225
|
+
footerHighlighted?: boolean;
|
|
226
|
+
headerOffset?: number;
|
|
227
|
+
setHeaderOffset: (offset: number) => void;
|
|
228
|
+
contentRef: Ref<HTMLElement>;
|
|
229
|
+
setHasHeader: (exists: boolean) => void;
|
|
230
|
+
setHasFooter: (exists: boolean) => void;
|
|
231
|
+
onClose: Required<BaseModalProps>["onClose"];
|
|
232
|
+
};
|
|
233
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
234
|
+
declare const BaseModalContext: React.Context<BaseModalContext>;
|
|
235
|
+
type ModalDesktopProps = BaseModalProps & {
|
|
236
|
+
/**
|
|
237
|
+
* Ширина модального окна
|
|
238
|
+
* @default "m"
|
|
239
|
+
*/
|
|
240
|
+
size?: "s" | "m" | "l" | "xl" | "fullscreen";
|
|
241
|
+
/**
|
|
242
|
+
* Растягивает модальное окно на весь экран
|
|
243
|
+
* @deprecated Используйте размер fullscreen
|
|
244
|
+
*/
|
|
245
|
+
fullscreen?: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* Фиксирует позицию модального окна после открытия,
|
|
248
|
+
* предотвращая скачки, если контент внутри будет меняться
|
|
249
|
+
*/
|
|
250
|
+
fixedPosition?: boolean;
|
|
251
|
+
/**
|
|
252
|
+
* Управление наличием закрывающего крестика
|
|
253
|
+
* @default false
|
|
254
|
+
*/
|
|
255
|
+
hasCloser?: boolean;
|
|
256
|
+
};
|
|
257
|
+
type ModalMobileProps = Omit<ModalDesktopProps, "size" | "fixedPosition" | "fullscreen">;
|
|
258
|
+
type View = "desktop" | "mobile";
|
|
259
|
+
type TResponsiveModalContext = {
|
|
260
|
+
view: View;
|
|
261
|
+
size: NonNullable<ModalDesktopProps["size"]>;
|
|
262
|
+
};
|
|
263
|
+
type ContentProps = {
|
|
264
|
+
/**
|
|
265
|
+
* Контент
|
|
266
|
+
*/
|
|
267
|
+
children?: ReactNode;
|
|
268
|
+
/**
|
|
269
|
+
* Дополнительный класс
|
|
270
|
+
*/
|
|
271
|
+
className?: string;
|
|
272
|
+
/**
|
|
273
|
+
* Растягивает контент на всю высоту
|
|
274
|
+
*/
|
|
275
|
+
flex?: boolean;
|
|
276
|
+
};
|
|
277
|
+
type HeaderProps = Omit<NavigationBarProps, "size" | "view" | "parentRef">;
|
|
278
|
+
type FooterProps = {
|
|
279
|
+
/**
|
|
280
|
+
* Контент футера
|
|
281
|
+
*/
|
|
282
|
+
children?: ReactNode;
|
|
283
|
+
/**
|
|
284
|
+
* Дополнительный класс
|
|
285
|
+
*/
|
|
286
|
+
className?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Фиксирует футер
|
|
289
|
+
*/
|
|
290
|
+
sticky?: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* Выравнивание элементов футера
|
|
293
|
+
*/
|
|
294
|
+
layout?: "start" | "center" | "space-between" | "column";
|
|
295
|
+
/**
|
|
296
|
+
* Отступы между элементами футера
|
|
297
|
+
*/
|
|
298
|
+
gap?: 16 | 24 | 32;
|
|
299
|
+
};
|
|
300
|
+
declare const ModalMobile: React.ForwardRefExoticComponent<ModalMobileProps & React.RefAttributes<HTMLDivElement>> & {
|
|
301
|
+
Content: React.FC<ContentProps>;
|
|
302
|
+
Header: React.FC<HeaderProps>;
|
|
303
|
+
Footer: React.FC<FooterProps>;
|
|
304
|
+
};
|
|
305
|
+
declare const Content: FC<ContentProps>;
|
|
306
|
+
declare const ResponsiveContext: React.Context<TResponsiveModalContext>;
|
|
307
|
+
declare const Modal: React.ForwardRefExoticComponent<BaseModalProps & {
|
|
308
|
+
size?: "s" | "m" | "l" | "xl" | "fullscreen" | undefined;
|
|
309
|
+
fullscreen?: boolean | undefined;
|
|
310
|
+
fixedPosition?: boolean | undefined;
|
|
311
|
+
hasCloser?: boolean | undefined;
|
|
312
|
+
} & {
|
|
313
|
+
view: View;
|
|
314
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
315
|
+
declare const ModalContext: import("react").Context<BaseModalContext>;
|
|
316
|
+
/**
|
|
317
|
+
* Набор констант для z-index соответствующих классов компонентов.
|
|
318
|
+
* Значения выбраны по приоритету.
|
|
319
|
+
*/
|
|
320
|
+
declare const stackingOrder: {
|
|
321
|
+
FOCUSED: number;
|
|
322
|
+
DEFAULT: number;
|
|
323
|
+
POPOVER: number;
|
|
324
|
+
MODAL: number;
|
|
325
|
+
TOAST: number;
|
|
326
|
+
};
|
|
327
|
+
declare const StackingContext: import("react").Context<number>;
|
|
328
|
+
type StackProps = {
|
|
329
|
+
/**
|
|
330
|
+
* Render prop, в который передается функция.
|
|
331
|
+
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
332
|
+
*/
|
|
333
|
+
children: (value: number) => ReactNode;
|
|
334
|
+
/**
|
|
335
|
+
* Исходное значение для z-index.
|
|
336
|
+
* @default 5
|
|
337
|
+
*/
|
|
338
|
+
value?: number;
|
|
339
|
+
};
|
|
340
|
+
declare const Stack: FC<StackProps>;
|
|
341
|
+
declare const PORTAL_CONTAINER_ATTRIBUTE = "alfa-portal-container";
|
|
342
|
+
declare const getDefaultPortalContainer: () => Element;
|
|
343
|
+
declare function setRef<T>(ref: RefObject<T> | ((instance: T | null) => void) | null | undefined, value: T | null): void;
|
|
344
|
+
type SavedStyle = {
|
|
345
|
+
value: string;
|
|
346
|
+
key: string;
|
|
347
|
+
el: HTMLElement;
|
|
348
|
+
};
|
|
349
|
+
type RestoreStyle = {
|
|
350
|
+
container: HTMLElement;
|
|
351
|
+
modals: number;
|
|
352
|
+
styles: SavedStyle[];
|
|
353
|
+
};
|
|
354
|
+
declare class ModalStore {
|
|
355
|
+
private readonly restoreStyles;
|
|
356
|
+
constructor();
|
|
357
|
+
getRestoreStyles: () => RestoreStyle[];
|
|
358
|
+
}
|
|
359
|
+
declare const getModalStore: () => ModalStore;
|
|
360
|
+
declare class GlobalStore {
|
|
361
|
+
private readonly modalStore;
|
|
362
|
+
constructor();
|
|
363
|
+
getModalStore: () => ModalStore;
|
|
364
|
+
}
|
|
365
|
+
export { CalendarMobileProps, CalendarMobile, ModalMobile, ModalMobileProps, Content, ResponsiveContext, Modal, ModalContext, stackingOrder, StackingContext, StackProps, Stack, PORTAL_CONTAINER_ATTRIBUTE, getDefaultPortalContainer, setRef, getModalStore, GlobalStore };
|
|
366
|
+
export { ButtonMobile } from "./Component.mobile-16b1285a";
|
|
367
|
+
export type { CommonButtonProps as ButtonMobileProps } from "./typings-89f0cb07";
|
|
368
|
+
export type { SavedStyle };
|
|
@@ -2,5 +2,9 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ConditionalProps, DateRangeInputProps } from "./components/date-range-input/index";
|
|
4
4
|
type DateRangeInputDesktopProps = Omit<DateRangeInputProps, 'view' | 'picker' | 'onClose' | 'InputComponent'> & ConditionalProps;
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated
|
|
7
|
+
* use UniversalDateInput instead
|
|
8
|
+
*/
|
|
5
9
|
declare const DateRangeInputDesktop: React.ForwardRefExoticComponent<DateRangeInputDesktopProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
10
|
export { DateRangeInputDesktopProps, DateRangeInputDesktop };
|
|
@@ -14,6 +14,10 @@ import '@alfalab/icons-glyph/CalendarMIcon';
|
|
|
14
14
|
import 'date-fns/parse';
|
|
15
15
|
import './utils/format.js';
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated
|
|
19
|
+
* use UniversalDateInput instead
|
|
20
|
+
*/
|
|
17
21
|
const DateRangeInputDesktop = forwardRef((props, ref) => (React.createElement(DateRangeInput, { InputComponent: InputDesktop, Calendar: CalendarDesktop, ...props, ref: ref })));
|
|
18
22
|
|
|
19
23
|
export { DateRangeInputDesktop };
|
|
@@ -2,5 +2,9 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ConditionalProps, DateRangeInputProps } from "./components/date-range-input/index";
|
|
4
4
|
type DateRangeInputMobileProps = Omit<DateRangeInputProps, 'view' | 'picker' | 'onClose' | 'InputComponent'> & ConditionalProps;
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated
|
|
7
|
+
* use UniversalDateInput instead
|
|
8
|
+
*/
|
|
5
9
|
declare const DateRangeInputMobile: React.ForwardRefExoticComponent<DateRangeInputMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
10
|
export { DateRangeInputMobileProps, DateRangeInputMobile };
|
|
@@ -14,6 +14,10 @@ import '@alfalab/icons-glyph/CalendarMIcon';
|
|
|
14
14
|
import 'date-fns/parse';
|
|
15
15
|
import './utils/format.js';
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated
|
|
19
|
+
* use UniversalDateInput instead
|
|
20
|
+
*/
|
|
17
21
|
const DateRangeInputMobile = forwardRef((props, ref) => (React.createElement(DateRangeInput, { InputComponent: InputMobile, Calendar: CalendarMobile, view: 'mobile', ...props, ref: ref })));
|
|
18
22
|
|
|
19
23
|
export { DateRangeInputMobile };
|
|
@@ -9,5 +9,9 @@ type DateRangeInputResponsiveProps = Omit<DateRangeInputProps, 'view' | 'picker'
|
|
|
9
9
|
breakpoint?: number;
|
|
10
10
|
};
|
|
11
11
|
type DateRangeInputMedia = 'desktop' | 'mobile';
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
* use UniversalDateInput instead
|
|
15
|
+
*/
|
|
12
16
|
declare const DateRangeInputResponsive: React.ForwardRefExoticComponent<DateRangeInputResponsiveProps & React.RefAttributes<HTMLInputElement>>;
|
|
13
17
|
export { DateRangeInputResponsiveProps, DateRangeInputMedia, DateRangeInputResponsive };
|
|
@@ -18,6 +18,10 @@ import '../../calendar/modern/mobile';
|
|
|
18
18
|
import '../../input/modern/mobile';
|
|
19
19
|
import './utils/format.js';
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated
|
|
23
|
+
* use UniversalDateInput instead
|
|
24
|
+
*/
|
|
21
25
|
const DateRangeInputResponsive = forwardRef(({ breakpoint = 1024, ...restProps }, ref) => {
|
|
22
26
|
const [view] = useMedia([
|
|
23
27
|
['mobile', `(max-width: ${breakpoint - 1}px)`],
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PeriodType } from "./index-f034f741";
|
|
2
|
+
declare const formatPeriod: (valueFrom: Date, valueTo: Date, periodType: PeriodType, showCurrentYear?: boolean) => string;
|
|
3
|
+
declare const getYearSelectorValue: (valueFrom: Date | undefined, showCurrentYear: boolean) => number | "";
|
|
4
|
+
declare const shiftValues: (valueFrom: Date, valueTo: Date, periodType: PeriodType, direction: 'prev' | 'next') => {
|
|
5
|
+
valueFrom: Date;
|
|
6
|
+
valueTo: Date;
|
|
7
|
+
};
|
|
8
|
+
export { formatPeriod, getYearSelectorValue, shiftValues };
|
|
@@ -2,5 +2,9 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { DateTimeInputProps } from "./components/date-time-input/Component";
|
|
4
4
|
type DateTimeInputDesktopProps = Omit<DateTimeInputProps, 'view' | 'InputComponent'>;
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated
|
|
7
|
+
* use UniversalDateInput instead
|
|
8
|
+
*/
|
|
5
9
|
declare const DateTimeInputDesktop: React.ForwardRefExoticComponent<DateTimeInputDesktopProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
10
|
export { DateTimeInputDesktopProps, DateTimeInputDesktop };
|