@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,24 +1,167 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes } from "react";
|
|
4
|
+
declare const colors: readonly [
|
|
5
|
+
"tertiary",
|
|
6
|
+
"disabled",
|
|
7
|
+
"accent",
|
|
8
|
+
"primary",
|
|
9
|
+
"attention",
|
|
10
|
+
"positive",
|
|
11
|
+
"secondary",
|
|
12
|
+
"tertiary-inverted",
|
|
13
|
+
"primary-inverted",
|
|
14
|
+
"secondary-inverted",
|
|
15
|
+
"link",
|
|
16
|
+
"negative",
|
|
17
|
+
"static-primary-light",
|
|
18
|
+
"static-secondary-light",
|
|
19
|
+
"static-tertiary-light",
|
|
20
|
+
"static-primary-dark",
|
|
21
|
+
"static-secondary-dark",
|
|
22
|
+
"static-tertiary-dark",
|
|
23
|
+
"static-accent"
|
|
24
|
+
];
|
|
25
|
+
type Color = (typeof colors)[number];
|
|
26
|
+
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
27
|
+
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
28
|
+
type TextBaseProps = {
|
|
5
29
|
/**
|
|
6
|
-
*
|
|
30
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
|
|
31
|
+
*/
|
|
32
|
+
view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps";
|
|
33
|
+
/**
|
|
34
|
+
* Цвет текста
|
|
35
|
+
*/
|
|
36
|
+
color?: Color;
|
|
37
|
+
/**
|
|
38
|
+
* Толщина шрифта
|
|
39
|
+
*/
|
|
40
|
+
weight?: "regular" | "medium" | "bold";
|
|
41
|
+
/**
|
|
42
|
+
* Делает цифры моноширинными
|
|
43
|
+
*/
|
|
44
|
+
monospaceNumbers?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* HTML тег
|
|
47
|
+
*/
|
|
48
|
+
tag?: "span" | "div";
|
|
49
|
+
/**
|
|
50
|
+
* Css-класс для стилизации (native prop)
|
|
7
51
|
*/
|
|
8
52
|
className?: string;
|
|
9
53
|
/**
|
|
10
|
-
*
|
|
54
|
+
* Id компонента для тестов
|
|
55
|
+
*/
|
|
56
|
+
dataTestId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Контент (native prop)
|
|
11
59
|
*/
|
|
12
|
-
|
|
60
|
+
children?: React.ReactNode;
|
|
61
|
+
/**
|
|
62
|
+
* Добавляет отступы к тэгу 'p'
|
|
63
|
+
*/
|
|
64
|
+
defaultMargins?: never;
|
|
65
|
+
/**
|
|
66
|
+
* Количество строк (не поддерживает IE)
|
|
67
|
+
*/
|
|
68
|
+
rowLimit?: 1 | 2 | 3;
|
|
69
|
+
};
|
|
70
|
+
type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
|
|
71
|
+
tag?: "p";
|
|
72
|
+
defaultMargins?: boolean;
|
|
13
73
|
};
|
|
14
|
-
|
|
74
|
+
type TextProps = Omit<NativeProps, "color"> & (TextBaseProps | TextPTagProps);
|
|
75
|
+
type NativeProps$0 = HTMLAttributes<HTMLHeadingElement>;
|
|
76
|
+
type TitleProps = Omit<NativeProps$0, "color"> & {
|
|
77
|
+
/**
|
|
78
|
+
* HTML тег
|
|
79
|
+
*/
|
|
80
|
+
tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
|
|
81
|
+
/**
|
|
82
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
|
|
83
|
+
*/
|
|
84
|
+
view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
|
|
85
|
+
/**
|
|
86
|
+
* Цвет текста
|
|
87
|
+
*/
|
|
88
|
+
color?: Color;
|
|
89
|
+
/**
|
|
90
|
+
* Толщина шрифта
|
|
91
|
+
*/
|
|
92
|
+
weight?: "regular" | "medium" | "bold";
|
|
93
|
+
/**
|
|
94
|
+
* Шрифт текста
|
|
95
|
+
*/
|
|
96
|
+
font?: "styrene" | "system";
|
|
97
|
+
/**
|
|
98
|
+
* Добавляет отступы
|
|
99
|
+
*/
|
|
100
|
+
defaultMargins?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Css-класс для стилизации (native prop)
|
|
103
|
+
*/
|
|
104
|
+
className?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Id компонента для тестов
|
|
107
|
+
*/
|
|
108
|
+
dataTestId?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Контент (native prop)
|
|
111
|
+
*/
|
|
112
|
+
children?: React.ReactNode;
|
|
113
|
+
/**
|
|
114
|
+
* Количество строк (не поддерживает IE)
|
|
115
|
+
*/
|
|
116
|
+
rowLimit?: 1 | 2 | 3;
|
|
117
|
+
};
|
|
118
|
+
type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
|
|
119
|
+
declare const Typography: {
|
|
120
|
+
Title: FC<TitleProps>;
|
|
121
|
+
Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
|
|
122
|
+
TitleResponsive: FC<TitleProps>;
|
|
123
|
+
TitleMobile: FC<TitleMobileProps>;
|
|
124
|
+
};
|
|
125
|
+
declare const typographyPresets: {
|
|
126
|
+
mobile: {
|
|
127
|
+
list: {
|
|
128
|
+
text: {
|
|
129
|
+
primary: {
|
|
130
|
+
tag: string;
|
|
131
|
+
view: string;
|
|
132
|
+
};
|
|
133
|
+
secondary: {
|
|
134
|
+
tag: string;
|
|
135
|
+
color: string;
|
|
136
|
+
view: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
declare const TitleResponsive: FC<TitleProps>;
|
|
143
|
+
interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
144
|
+
/**
|
|
145
|
+
* Текст после иконки
|
|
146
|
+
*/
|
|
147
|
+
text?: string;
|
|
15
148
|
/**
|
|
16
149
|
* Дополнительный класс
|
|
17
150
|
*/
|
|
18
|
-
className?: string
|
|
151
|
+
className?: string;
|
|
152
|
+
/**
|
|
153
|
+
* Вид компонента
|
|
154
|
+
*/
|
|
155
|
+
view: 'mobile' | 'desktop';
|
|
156
|
+
/**
|
|
157
|
+
* Прозрачность текста
|
|
158
|
+
*/
|
|
159
|
+
textOpacity?: number;
|
|
19
160
|
/**
|
|
20
|
-
*
|
|
161
|
+
* Обработчик клика
|
|
21
162
|
*/
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
163
|
+
onClick?: () => void;
|
|
164
|
+
}
|
|
165
|
+
declare const BackArrowAddon: React.FC<BackArrowAddonProps>;
|
|
166
|
+
export { Typography, typographyPresets, TitleResponsive, BackArrowAddonProps, BackArrowAddon };
|
|
167
|
+
export type { TitleProps, TextProps, Color };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
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 };
|
|
@@ -1,7 +1,64 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { FC, MouseEvent } from "react";
|
|
4
|
-
import {
|
|
3
|
+
import { FC, ReactNode, MouseEvent } from "react";
|
|
4
|
+
import { SelectorView, Month, DayAddons, View } from "./typings-5684a67d";
|
|
5
|
+
type HeaderProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Вид шапки — месяц и год или только месяц
|
|
8
|
+
*/
|
|
9
|
+
view?: SelectorView;
|
|
10
|
+
/**
|
|
11
|
+
* Отображать тень? (нужна при прокрутке)
|
|
12
|
+
*/
|
|
13
|
+
withShadow?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Дочерние элементы.
|
|
16
|
+
*/
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
};
|
|
19
|
+
declare const Header: FC<HeaderProps>;
|
|
20
|
+
type MonthYearHeaderProps = {
|
|
21
|
+
/**
|
|
22
|
+
* Активная дата
|
|
23
|
+
*/
|
|
24
|
+
value?: Date;
|
|
25
|
+
/**
|
|
26
|
+
* Дополнительный класс
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Обработчик нажатия на кнопку месяца
|
|
31
|
+
*/
|
|
32
|
+
onMonthClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
33
|
+
/**
|
|
34
|
+
* Обработчик нажатия на кнопку года
|
|
35
|
+
*/
|
|
36
|
+
onYearClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
37
|
+
/**
|
|
38
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
39
|
+
*/
|
|
40
|
+
dataTestId?: string;
|
|
41
|
+
};
|
|
42
|
+
declare const MonthYearHeader: FC<MonthYearHeaderProps>;
|
|
43
|
+
type MonthsTableProps = {
|
|
44
|
+
/**
|
|
45
|
+
* Массив месяцев
|
|
46
|
+
*/
|
|
47
|
+
months?: Month[];
|
|
48
|
+
/**
|
|
49
|
+
* Выбранный месяц
|
|
50
|
+
*/
|
|
51
|
+
selectedMonth?: Date;
|
|
52
|
+
/**
|
|
53
|
+
* Доп пропсы для переданного месяца
|
|
54
|
+
*/
|
|
55
|
+
getMonthProps: (day: Month) => Record<string, unknown>;
|
|
56
|
+
/**
|
|
57
|
+
* Должен ли календарь подстраиваться под ширину родителя.
|
|
58
|
+
*/
|
|
59
|
+
responsive?: boolean;
|
|
60
|
+
};
|
|
61
|
+
declare const MonthsTable: FC<MonthsTableProps>;
|
|
5
62
|
type YearsTableProps = {
|
|
6
63
|
/**
|
|
7
64
|
* Массив лет
|
|
@@ -129,6 +186,5 @@ type CalendarDesktopProps = {
|
|
|
129
186
|
showCurrentYearSelector?: boolean;
|
|
130
187
|
};
|
|
131
188
|
declare const CalendarDesktop: React.ForwardRefExoticComponent<CalendarDesktopProps & React.RefAttributes<HTMLDivElement>>;
|
|
132
|
-
export
|
|
133
|
-
export * from "./Component-
|
|
134
|
-
export { YearsTableProps, YearsTable, CalendarDesktopProps, CalendarDesktop };
|
|
189
|
+
export { HeaderProps, Header, MonthYearHeaderProps, MonthYearHeader, MonthsTableProps, MonthsTable, YearsTableProps, YearsTable, CalendarDesktopProps, CalendarDesktop };
|
|
190
|
+
export * from "./Component-63dec22f";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType, MouseEvent } from "react";
|
|
4
|
-
import { CalendarDesktopProps } from "../../desktop-
|
|
4
|
+
import { CalendarDesktopProps } from "../../desktop-63dec22f";
|
|
5
5
|
import { CalendarMobileProps } from "../../mobile-c219f8ca";
|
|
6
6
|
import { DateInputProps } from "../../../../date-input";
|
|
7
7
|
import { PopoverProps } from "../../../../popover";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Button } from "./Component.responsive-
|
|
1
|
+
export { Button } from "./Component.responsive-2e2b2125";
|
|
2
2
|
export type { ButtonProps } from "./typings-9211a437";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export * from "./Component-
|
|
2
|
+
export * from "./Component-ebda875c";
|
|
@@ -1,2 +1,83 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { FC, MouseEvent } from "react";
|
|
2
|
+
type PeriodType = "range" | "day" | "week" | "month" | "quarter" | "year";
|
|
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
|
+
declare const shiftValues: (valueFrom: Date, valueTo: Date, periodType: PeriodType, direction: "prev" | "next") => {
|
|
80
|
+
valueFrom: Date;
|
|
81
|
+
valueTo: Date;
|
|
82
|
+
};
|
|
83
|
+
export { PeriodType, PeriodSliderProps, PeriodSlider, shiftValues };
|