@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,72 +1,22 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*/
|
|
11
|
-
footer?: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* Будет ли свайпаться шторка
|
|
14
|
-
* @deprecated Используйте bottomSheetProps.swipeable
|
|
15
|
-
*/
|
|
16
|
-
swipeable?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Отображать в BottomSheet
|
|
19
|
-
*/
|
|
20
|
-
isBottomSheet?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Дополнительные пропсы шторки
|
|
23
|
-
*/
|
|
24
|
-
bottomSheetProps?: Partial<BottomSheetProps>;
|
|
25
|
-
/**
|
|
26
|
-
* Дополнительные пропсы модалки
|
|
27
|
-
*/
|
|
28
|
-
modalProps?: Partial<React.ComponentProps<typeof ModalMobile>>;
|
|
29
|
-
/**
|
|
30
|
-
* Дополнительные пропсы шапки модалки
|
|
31
|
-
*/
|
|
32
|
-
modalHeaderProps?: Partial<React.ComponentProps<typeof ModalMobile.Header>>;
|
|
33
|
-
/**
|
|
34
|
-
* Дополнительные пропсы футера модалки
|
|
35
|
-
*/
|
|
36
|
-
modalFooterProps?: Partial<React.ComponentProps<typeof ModalMobile.Footer>>;
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { OptionShape, OptionsListProps } from "./typings-5e1b8383";
|
|
4
|
+
import { HeaderProps } from "./Component-ebda875c";
|
|
5
|
+
type FooterProps = {
|
|
6
|
+
handleClear?: () => void;
|
|
7
|
+
handleApply?: () => void;
|
|
8
|
+
showClear?: boolean;
|
|
9
|
+
selectedDraft?: OptionShape[];
|
|
37
10
|
};
|
|
38
|
-
declare const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
* Отображать в BottomSheet
|
|
51
|
-
*/
|
|
52
|
-
isBottomSheet?: boolean | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* Дополнительные пропсы шторки
|
|
55
|
-
*/
|
|
56
|
-
bottomSheetProps?: Partial<BottomSheetProps> | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Дополнительные пропсы модалки
|
|
59
|
-
*/
|
|
60
|
-
modalProps?: Partial<ModalMobileProps & React.RefAttributes<HTMLDivElement>> | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* Дополнительные пропсы шапки модалки
|
|
63
|
-
*/
|
|
64
|
-
modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* Дополнительные пропсы футера модалки
|
|
67
|
-
*/
|
|
68
|
-
modalFooterProps?: Partial<import("./Component.mobile-f1f15074").FooterProps> | undefined;
|
|
69
|
-
} & React.RefAttributes<unknown>>;
|
|
70
|
-
export * from "./Component.mobile-f1f15074";
|
|
71
|
-
export { ModalMobileProps } from "./typings-bdb4c6b9";
|
|
72
|
-
export { SelectMobileProps, BaseSelectMobile };
|
|
11
|
+
declare const Footer: ({ handleApply, handleClear, showClear, selectedDraft }: FooterProps) => React.JSX.Element;
|
|
12
|
+
declare const OptionsListWithApply: React.ForwardRefExoticComponent<OptionsListProps & {
|
|
13
|
+
showClear?: boolean | undefined;
|
|
14
|
+
onClose?: (() => void) | undefined;
|
|
15
|
+
selectedDraft?: OptionShape[] | undefined;
|
|
16
|
+
OptionsList?: React.FC<OptionsListProps & React.RefAttributes<HTMLDivElement>> | undefined;
|
|
17
|
+
Footer?: React.FC<FooterProps> | undefined;
|
|
18
|
+
Header?: React.FC<HeaderProps> | undefined;
|
|
19
|
+
headerProps?: HeaderProps | undefined;
|
|
20
|
+
showHeaderWithSelectAll?: boolean | undefined;
|
|
21
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export { FooterProps, Footer, OptionsListWithApply };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BackgroundColorType, GraphicColorType } from "./index-72dda473";
|
|
4
|
+
type IconColorType = Extract<GraphicColorType, 'positive' | 'attention' | 'link' | 'negative' | 'tertiary' | 'secondary' | 'primary'>;
|
|
5
|
+
type BadgeProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Дополнительный класс
|
|
8
|
+
*/
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Вид компонента
|
|
12
|
+
*/
|
|
13
|
+
view: 'icon' | 'count';
|
|
14
|
+
/**
|
|
15
|
+
* Размер компонента (только для view=icon)
|
|
16
|
+
* //deprecated(используйте height для view=count )
|
|
17
|
+
*/
|
|
18
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
19
|
+
/**
|
|
20
|
+
* Видимость белой обводки вокруг иконки
|
|
21
|
+
*/
|
|
22
|
+
visibleIconOutline?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Видимость цветной обводки вокруг иконки (только для view=icon)
|
|
25
|
+
*/
|
|
26
|
+
visibleColorOutline?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Контент компонента
|
|
29
|
+
*/
|
|
30
|
+
content?: React.ReactElement | number;
|
|
31
|
+
/**
|
|
32
|
+
* Высота компонента, min = 16; max = 48 (только для view=count)
|
|
33
|
+
*/
|
|
34
|
+
height?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Цветовое оформление бейджа при view='count'
|
|
37
|
+
*/
|
|
38
|
+
color?: Extract<BackgroundColorType, 'accent' | 'primary' | 'specialbg-secondary-transparent'>;
|
|
39
|
+
/**
|
|
40
|
+
* Цветовое оформление бейджа при view='icon'
|
|
41
|
+
*/
|
|
42
|
+
iconColor?: IconColorType;
|
|
43
|
+
/**
|
|
44
|
+
* Цвет подложки под иконкой
|
|
45
|
+
*/
|
|
46
|
+
iconUnderlayColor?: Extract<GraphicColorType, 'primary' | 'static-light'>;
|
|
47
|
+
/**
|
|
48
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
49
|
+
*/
|
|
50
|
+
dataTestId?: string;
|
|
51
|
+
};
|
|
52
|
+
declare const Badge: ({ className, size, view, visibleIconOutline, visibleColorOutline, content, height, iconColor, color, iconUnderlayColor, dataTestId, }: BadgeProps) => React.JSX.Element;
|
|
53
|
+
export { IconColorType, BadgeProps, Badge };
|
|
@@ -1,71 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType, ReactElement } from "react";
|
|
4
3
|
import { ButtonProps } from "./index-8b2c2707";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
*/
|
|
15
|
-
view?: 'primary' | 'secondary' | 'transparent' | 'tertiary' | 'negative';
|
|
16
|
-
/**
|
|
17
|
-
* Размер компонента
|
|
18
|
-
*/
|
|
19
|
-
size?: 'xxs' | 'xs' | 's';
|
|
20
|
-
/**
|
|
21
|
-
* Дополнительный класс
|
|
22
|
-
*/
|
|
23
|
-
className?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Выравнивание иконки
|
|
26
|
-
* @default 'center'
|
|
27
|
-
*/
|
|
28
|
-
alignIcon?: 'left' | 'center' | 'right';
|
|
29
|
-
/**
|
|
30
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
31
|
-
*/
|
|
32
|
-
dataTestId?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Набор цветов для компонента
|
|
35
|
-
*/
|
|
36
|
-
colors?: 'default' | 'inverted';
|
|
37
|
-
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'size'> & Pick<ButtonProps, 'href' | 'loading' | 'breakpoint'> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'target' | 'download'>;
|
|
38
|
-
declare const IconButton: React.ForwardRefExoticComponent<{
|
|
39
|
-
/**
|
|
40
|
-
* Компонент иконки
|
|
41
|
-
*/
|
|
42
|
-
icon: ElementType<{
|
|
43
|
-
className?: string;
|
|
44
|
-
}> | ReactElement;
|
|
45
|
-
/**
|
|
46
|
-
* Тип кнопки
|
|
47
|
-
*/
|
|
48
|
-
view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* Размер компонента
|
|
51
|
-
*/
|
|
52
|
-
size?: "s" | "xs" | "xxs" | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* Дополнительный класс
|
|
55
|
-
*/
|
|
56
|
-
className?: string | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Выравнивание иконки
|
|
59
|
-
* @default 'center'
|
|
60
|
-
*/
|
|
61
|
-
alignIcon?: "center" | "left" | "right" | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
64
|
-
*/
|
|
65
|
-
dataTestId?: string | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Набор цветов для компонента
|
|
68
|
-
*/
|
|
69
|
-
colors?: "default" | "inverted" | undefined;
|
|
70
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "loading" | "breakpoint"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
71
|
-
export { IconButtonProps, IconButton };
|
|
4
|
+
import { FieldProps as BaseFieldProps } from "./typings-5e1b8383";
|
|
5
|
+
import { PickerButtonSize, PickerButtonVariant } from "./types-4480ac4f";
|
|
6
|
+
type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
|
|
7
|
+
buttonSize?: PickerButtonSize;
|
|
8
|
+
buttonVariant?: PickerButtonVariant;
|
|
9
|
+
showArrow?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const Field: ({ buttonSize, buttonVariant, view, label, open, multiple, rightAddons, Arrow, innerProps, className, selected, selectedMultiple, setSelectedItems, toggleMenu, valueRenderer, showArrow, labelView, ...restProps }: FieldProps) => React.JSX.Element;
|
|
12
|
+
export { Field };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { CustomButtonProps } from "../custom-button";
|
|
4
|
-
import { PickerButtonMobileProps } from "./Component.mobile-
|
|
4
|
+
import { PickerButtonMobileProps } from "./Component.mobile-d446ae02";
|
|
5
5
|
type CustomPickerButtonMobileProps = Omit<PickerButtonMobileProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
|
|
6
6
|
declare const CustomPickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonMobileProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
|
|
7
7
|
export { CustomPickerButtonMobileProps, CustomPickerButtonMobile };
|
|
@@ -1,2 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FC, SVGProps } from "react";
|
|
4
|
+
import { ButtonProps } from "./index-8b2c2707";
|
|
5
|
+
import { BaseSelectProps } from "./shared-4cd3936b";
|
|
6
|
+
import { PickerButtonSize, PickerButtonVariant } from "./types-4480ac4f";
|
|
7
|
+
type PickerButtonDesktopProps = Omit<BaseSelectProps, "placeholder" | "Arrow" | "autocomplete" | "size" | "onFocus" | "selected" | "closeOnSelect" | "multiple" | "hint" | "allowUnselect" | "options"> & Pick<ButtonProps, "view" | "loading" | "leftAddons" | "rightAddons"> & {
|
|
8
|
+
options: Array<BaseSelectProps["options"][0] & {
|
|
9
|
+
/**
|
|
10
|
+
* Иконка, отображающаяся слева от текстового представления пункта
|
|
11
|
+
*/
|
|
12
|
+
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Размер кнопки
|
|
16
|
+
*/
|
|
17
|
+
size?: PickerButtonSize;
|
|
18
|
+
/**
|
|
19
|
+
* Тип кнопки
|
|
20
|
+
*/
|
|
21
|
+
variant?: PickerButtonVariant;
|
|
22
|
+
/**
|
|
23
|
+
* Показывать стрелку
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
showArrow?: boolean;
|
|
27
|
+
};
|
|
28
|
+
declare const PickerButtonDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "size" | "placeholder" | "onFocus" | "selected" | "multiple" | "hint" | "options" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "Arrow"> & Pick<ButtonProps, "view" | "leftAddons" | "rightAddons" | "loading"> & {
|
|
29
|
+
options: Array<BaseSelectProps["options"][0] & {
|
|
30
|
+
/**
|
|
31
|
+
* Иконка, отображающаяся слева от текстового представления пункта
|
|
32
|
+
*/
|
|
33
|
+
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
34
|
+
}>;
|
|
35
|
+
size?: PickerButtonSize | undefined;
|
|
36
|
+
variant?: PickerButtonVariant | undefined;
|
|
37
|
+
showArrow?: boolean | undefined;
|
|
38
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
39
|
+
export { PickerButtonDesktopProps, PickerButtonDesktop };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { PaddingType } from "./index-72dda473";
|
|
1
4
|
declare const isClient: () => boolean;
|
|
2
5
|
declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
|
|
6
|
+
declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
|
|
3
7
|
declare function easeInOutQuad(x: number): number;
|
|
4
8
|
declare const easingFns: {
|
|
5
9
|
easeInOutQuad: typeof easeInOutQuad;
|
|
6
10
|
};
|
|
7
|
-
export { isClient, getDataTestId, easingFns };
|
|
8
|
-
export * from "./createPaddingStyle-72dda473";
|
|
11
|
+
export { isClient, getDataTestId, createPaddingStyle, easingFns };
|
|
@@ -1,142 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { ChangeEvent, ElementType, InputHTMLAttributes, MouseEvent, ReactNode } from "react";
|
|
4
|
-
type StyleColors = {
|
|
5
|
-
default: {
|
|
6
|
-
[key: string]: string;
|
|
7
|
-
};
|
|
8
|
-
inverted: {
|
|
9
|
-
[key: string]: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "value" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
|
|
13
|
-
/**
|
|
14
|
-
* Значение поля ввода
|
|
15
|
-
*/
|
|
16
|
-
value?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Начальное значение поля
|
|
19
|
-
*/
|
|
20
|
-
defaultValue?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Растягивает компонент на ширину контейнера
|
|
23
|
-
*/
|
|
24
|
-
block?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Крестик для очистки поля
|
|
27
|
-
*/
|
|
28
|
-
clear?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Размер компонента
|
|
31
|
-
*/
|
|
32
|
-
size?: "s" | "m" | "l" | "xl";
|
|
33
|
-
/**
|
|
34
|
-
* Набор цветов для компонента
|
|
35
|
-
*/
|
|
36
|
-
colors?: "default" | "inverted";
|
|
37
|
-
/**
|
|
38
|
-
* Отображение ошибки
|
|
39
|
-
*/
|
|
40
|
-
error?: ReactNode | boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Отображение иконки успеха
|
|
43
|
-
*/
|
|
44
|
-
success?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Текст подсказки
|
|
47
|
-
*/
|
|
48
|
-
hint?: ReactNode;
|
|
49
|
-
/**
|
|
50
|
-
* Лейбл компонента
|
|
51
|
-
*/
|
|
52
|
-
label?: React.ReactNode;
|
|
53
|
-
/**
|
|
54
|
-
* Вид лейбла внутри / снаружи
|
|
55
|
-
*/
|
|
56
|
-
labelView?: "inner" | "outer";
|
|
57
|
-
/**
|
|
58
|
-
* Атрибут type
|
|
59
|
-
*/
|
|
60
|
-
type?: "number" | "card" | "email" | "money" | "password" | "tel" | "text";
|
|
61
|
-
/**
|
|
62
|
-
* Ref для обертки input
|
|
63
|
-
*/
|
|
64
|
-
wrapperRef?: React.Ref<HTMLDivElement> | null;
|
|
65
|
-
/**
|
|
66
|
-
* Слот слева
|
|
67
|
-
*/
|
|
68
|
-
leftAddons?: React.ReactNode;
|
|
69
|
-
/**
|
|
70
|
-
* Слот справа
|
|
71
|
-
*/
|
|
72
|
-
rightAddons?: React.ReactNode;
|
|
73
|
-
/**
|
|
74
|
-
* Слот под инпутом
|
|
75
|
-
*/
|
|
76
|
-
bottomAddons?: React.ReactNode;
|
|
77
|
-
/**
|
|
78
|
-
* Дополнительный класс
|
|
79
|
-
*/
|
|
80
|
-
className?: string;
|
|
81
|
-
/**
|
|
82
|
-
* Дополнительный класс для поля
|
|
83
|
-
*/
|
|
84
|
-
fieldClassName?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Дополнительный класс инпута
|
|
87
|
-
*/
|
|
88
|
-
inputClassName?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Дополнительный класс для лейбла
|
|
91
|
-
*/
|
|
92
|
-
labelClassName?: string;
|
|
93
|
-
/**
|
|
94
|
-
* Дополнительный класс для аддонов
|
|
95
|
-
*/
|
|
96
|
-
addonsClassName?: string;
|
|
97
|
-
/**
|
|
98
|
-
* Класс, который будет установлен при фокусе
|
|
99
|
-
*/
|
|
100
|
-
focusedClassName?: string;
|
|
101
|
-
/**
|
|
102
|
-
* Класс, который будет установлен, если в поле есть значение
|
|
103
|
-
*/
|
|
104
|
-
filledClassName?: string;
|
|
105
|
-
/**
|
|
106
|
-
* Обработчик поля ввода
|
|
107
|
-
*/
|
|
108
|
-
onChange?: (event: ChangeEvent<HTMLInputElement>, payload: {
|
|
109
|
-
value: string;
|
|
110
|
-
}) => void;
|
|
111
|
-
/**
|
|
112
|
-
* Обработчик нажатия на кнопку очистки
|
|
113
|
-
*/
|
|
114
|
-
onClear?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
115
|
-
/**
|
|
116
|
-
* Обработчик клика по полю
|
|
117
|
-
*/
|
|
118
|
-
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
119
|
-
/**
|
|
120
|
-
* Обработчик MouseDown по полю
|
|
121
|
-
*/
|
|
122
|
-
onMouseDown?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
123
|
-
/**
|
|
124
|
-
* Обработчик MouseUp по полю
|
|
125
|
-
*/
|
|
126
|
-
onMouseUp?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
127
|
-
/**
|
|
128
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
129
|
-
*/
|
|
130
|
-
FormControlComponent?: ElementType;
|
|
131
|
-
/**
|
|
132
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
133
|
-
*/
|
|
134
|
-
dataTestId?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Стили компонента для default и inverted режима.
|
|
137
|
-
*/
|
|
138
|
-
colorStyles?: StyleColors;
|
|
139
|
-
};
|
|
140
3
|
type InputProps = Omit<BaseInputProps, "FormControlComponent" | "colorStyles"> & {
|
|
141
4
|
/**
|
|
142
5
|
* Контрольная точка, с нее начинается desktop версия
|
|
@@ -1,3 +1,37 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react-transition-group" />
|
|
3
|
-
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { ButtonHTMLAttributes, ElementType, FC } from "react";
|
|
5
|
+
interface CloserProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
|
+
/**
|
|
7
|
+
* Вид компонента
|
|
8
|
+
*/
|
|
9
|
+
view: "desktop" | "mobile";
|
|
10
|
+
/**
|
|
11
|
+
* Дополнительный класс
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Позиция крестика
|
|
16
|
+
*/
|
|
17
|
+
align?: "left" | "right";
|
|
18
|
+
/**
|
|
19
|
+
* Фиксирует крестик
|
|
20
|
+
*/
|
|
21
|
+
sticky?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Иконка
|
|
24
|
+
*/
|
|
25
|
+
icon?: ElementType;
|
|
26
|
+
/**
|
|
27
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
28
|
+
*/
|
|
29
|
+
dataTestId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Коллбэк закрытия.
|
|
32
|
+
*/
|
|
33
|
+
onClose?: (event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
|
|
34
|
+
}
|
|
35
|
+
declare const Closer: FC<CloserProps>;
|
|
36
|
+
export { CloserProps, Closer };
|
|
37
|
+
export * from "./Component-8b2c2707";
|
|
@@ -85,6 +85,7 @@ type SkeletonProps = {
|
|
|
85
85
|
};
|
|
86
86
|
declare const Skeleton: React.FC<SkeletonProps>;
|
|
87
87
|
export * from "./index-ebda875c";
|
|
88
|
+
export * from "./Component-50136800";
|
|
88
89
|
export * from "./Component-5e1b8383";
|
|
89
90
|
export { useSelectWithLoading, useLazyLoading, SkeletonProps, Skeleton };
|
|
90
91
|
export * from "./hook-9ea9e32c";
|
|
@@ -1,6 +1,169 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes } from "react";
|
|
3
4
|
import { NavigationBarProps } from "./types-83e2bd9e";
|
|
5
|
+
interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
6
|
+
/**
|
|
7
|
+
* Текст после иконки
|
|
8
|
+
*/
|
|
9
|
+
text?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Дополнительный класс
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Вид компонента
|
|
16
|
+
*/
|
|
17
|
+
view: "mobile" | "desktop";
|
|
18
|
+
/**
|
|
19
|
+
* Прозрачность текста
|
|
20
|
+
*/
|
|
21
|
+
textOpacity?: number;
|
|
22
|
+
/**
|
|
23
|
+
* Обработчик клика
|
|
24
|
+
*/
|
|
25
|
+
onClick?: () => void;
|
|
26
|
+
}
|
|
27
|
+
declare const BackArrowAddon: React.FC<BackArrowAddonProps>;
|
|
28
|
+
declare const colors: readonly [
|
|
29
|
+
"tertiary",
|
|
30
|
+
"disabled",
|
|
31
|
+
"accent",
|
|
32
|
+
"primary",
|
|
33
|
+
"attention",
|
|
34
|
+
"positive",
|
|
35
|
+
"secondary",
|
|
36
|
+
"tertiary-inverted",
|
|
37
|
+
"primary-inverted",
|
|
38
|
+
"secondary-inverted",
|
|
39
|
+
"link",
|
|
40
|
+
"negative",
|
|
41
|
+
"static-primary-light",
|
|
42
|
+
"static-secondary-light",
|
|
43
|
+
"static-tertiary-light",
|
|
44
|
+
"static-primary-dark",
|
|
45
|
+
"static-secondary-dark",
|
|
46
|
+
"static-tertiary-dark",
|
|
47
|
+
"static-accent"
|
|
48
|
+
];
|
|
49
|
+
type Color = (typeof colors)[number];
|
|
50
|
+
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
51
|
+
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
52
|
+
type TextBaseProps = {
|
|
53
|
+
/**
|
|
54
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
|
|
55
|
+
*/
|
|
56
|
+
view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps";
|
|
57
|
+
/**
|
|
58
|
+
* Цвет текста
|
|
59
|
+
*/
|
|
60
|
+
color?: Color;
|
|
61
|
+
/**
|
|
62
|
+
* Толщина шрифта
|
|
63
|
+
*/
|
|
64
|
+
weight?: "regular" | "medium" | "bold";
|
|
65
|
+
/**
|
|
66
|
+
* Делает цифры моноширинными
|
|
67
|
+
*/
|
|
68
|
+
monospaceNumbers?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* HTML тег
|
|
71
|
+
*/
|
|
72
|
+
tag?: "span" | "div";
|
|
73
|
+
/**
|
|
74
|
+
* Css-класс для стилизации (native prop)
|
|
75
|
+
*/
|
|
76
|
+
className?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Id компонента для тестов
|
|
79
|
+
*/
|
|
80
|
+
dataTestId?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Контент (native prop)
|
|
83
|
+
*/
|
|
84
|
+
children?: React.ReactNode;
|
|
85
|
+
/**
|
|
86
|
+
* Добавляет отступы к тэгу 'p'
|
|
87
|
+
*/
|
|
88
|
+
defaultMargins?: never;
|
|
89
|
+
/**
|
|
90
|
+
* Количество строк (не поддерживает IE)
|
|
91
|
+
*/
|
|
92
|
+
rowLimit?: 1 | 2 | 3;
|
|
93
|
+
};
|
|
94
|
+
type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
|
|
95
|
+
tag?: "p";
|
|
96
|
+
defaultMargins?: boolean;
|
|
97
|
+
};
|
|
98
|
+
type TextProps = Omit<NativeProps, "color"> & (TextBaseProps | TextPTagProps);
|
|
99
|
+
type NativeProps$0 = HTMLAttributes<HTMLHeadingElement>;
|
|
100
|
+
type TitleProps = Omit<NativeProps$0, "color"> & {
|
|
101
|
+
/**
|
|
102
|
+
* HTML тег
|
|
103
|
+
*/
|
|
104
|
+
tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
|
|
105
|
+
/**
|
|
106
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
|
|
107
|
+
*/
|
|
108
|
+
view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
|
|
109
|
+
/**
|
|
110
|
+
* Цвет текста
|
|
111
|
+
*/
|
|
112
|
+
color?: Color;
|
|
113
|
+
/**
|
|
114
|
+
* Толщина шрифта
|
|
115
|
+
*/
|
|
116
|
+
weight?: "regular" | "medium" | "bold";
|
|
117
|
+
/**
|
|
118
|
+
* Шрифт текста
|
|
119
|
+
*/
|
|
120
|
+
font?: "styrene" | "system";
|
|
121
|
+
/**
|
|
122
|
+
* Добавляет отступы
|
|
123
|
+
*/
|
|
124
|
+
defaultMargins?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Css-класс для стилизации (native prop)
|
|
127
|
+
*/
|
|
128
|
+
className?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Id компонента для тестов
|
|
131
|
+
*/
|
|
132
|
+
dataTestId?: string;
|
|
133
|
+
/**
|
|
134
|
+
* Контент (native prop)
|
|
135
|
+
*/
|
|
136
|
+
children?: React.ReactNode;
|
|
137
|
+
/**
|
|
138
|
+
* Количество строк (не поддерживает IE)
|
|
139
|
+
*/
|
|
140
|
+
rowLimit?: 1 | 2 | 3;
|
|
141
|
+
};
|
|
142
|
+
type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
|
|
143
|
+
declare const Typography: {
|
|
144
|
+
Title: FC<TitleProps>;
|
|
145
|
+
Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
|
|
146
|
+
TitleResponsive: FC<TitleProps>;
|
|
147
|
+
TitleMobile: FC<TitleMobileProps>;
|
|
148
|
+
};
|
|
149
|
+
declare const typographyPresets: {
|
|
150
|
+
mobile: {
|
|
151
|
+
list: {
|
|
152
|
+
text: {
|
|
153
|
+
primary: {
|
|
154
|
+
tag: string;
|
|
155
|
+
view: string;
|
|
156
|
+
};
|
|
157
|
+
secondary: {
|
|
158
|
+
tag: string;
|
|
159
|
+
color: string;
|
|
160
|
+
view: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
declare const TitleResponsive: FC<TitleProps>;
|
|
4
167
|
declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export
|
|
6
|
-
export {
|
|
168
|
+
export { BackArrowAddonProps, BackArrowAddon, Typography, typographyPresets, TitleResponsive, NavigationBar };
|
|
169
|
+
export type { TitleProps, TextProps, Color };
|