@alfalab/core-components 42.13.0-beta.0 → 42.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bottom-sheet/component.js +3 -1
- package/bottom-sheet/cssm/component.js +3 -1
- package/bottom-sheet/esm/component.js +3 -1
- package/bottom-sheet/modern/component.js +3 -1
- package/calendar/Component-10db897e.d.ts +3 -183
- package/{picker-button/cssm → calendar}/Component-69921c40.d.ts +1 -1
- package/calendar-input/Component.desktop.d.ts +4 -0
- package/calendar-input/Component.desktop.js +4 -0
- package/calendar-input/Component.mobile.d.ts +4 -0
- package/calendar-input/Component.mobile.js +4 -0
- package/calendar-input/Component.responsive.d.ts +4 -0
- package/calendar-input/Component.responsive.js +4 -0
- package/calendar-input/cssm/Component.desktop.d.ts +4 -0
- package/calendar-input/cssm/Component.desktop.js +4 -0
- package/calendar-input/cssm/Component.mobile.d.ts +4 -0
- package/calendar-input/cssm/Component.mobile.js +4 -0
- package/calendar-input/cssm/Component.responsive.d.ts +4 -0
- package/calendar-input/cssm/Component.responsive.js +4 -0
- package/calendar-input/esm/Component.desktop.d.ts +4 -0
- package/calendar-input/esm/Component.desktop.js +4 -0
- package/calendar-input/esm/Component.mobile.d.ts +4 -0
- package/calendar-input/esm/Component.mobile.js +4 -0
- package/calendar-input/esm/Component.responsive.d.ts +4 -0
- package/calendar-input/esm/Component.responsive.js +4 -0
- package/calendar-input/modern/Component.desktop.d.ts +4 -0
- package/calendar-input/modern/Component.desktop.js +4 -0
- package/calendar-input/modern/Component.mobile.d.ts +4 -0
- package/calendar-input/modern/Component.mobile.js +4 -0
- package/calendar-input/modern/Component.responsive.d.ts +4 -0
- package/calendar-input/modern/Component.responsive.js +4 -0
- package/calendar-range/esm/utils.js +3 -1
- package/confirmation/component.desktop.js +1 -1
- package/confirmation/component.mobile.js +1 -1
- package/confirmation/component.responsive.js +1 -1
- package/confirmation/components/base-confirmation/component.js +1 -1
- package/confirmation/components/base-confirmation/index.js +1 -1
- package/confirmation/components/index.js +1 -1
- package/confirmation/components/screens/index.js +1 -1
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/components/screens/initial/index.js +1 -1
- package/confirmation/desktop.js +1 -1
- package/confirmation/esm/component.desktop.js +1 -1
- package/confirmation/esm/component.mobile.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile.js +1 -1
- package/confirmation/esm/shared.js +1 -1
- package/confirmation/index.js +1 -1
- package/confirmation/mobile.js +1 -1
- package/confirmation/modern/component.desktop.js +1 -1
- package/confirmation/modern/component.mobile.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile.js +1 -1
- package/confirmation/modern/shared.js +1 -1
- package/confirmation/shared.js +1 -1
- package/confirmation-v1/component.d.ts +1 -0
- package/confirmation-v1/component.js +1 -0
- package/confirmation-v1/cssm/component.d.ts +1 -0
- package/confirmation-v1/cssm/component.js +1 -0
- package/confirmation-v1/esm/component.d.ts +1 -0
- package/confirmation-v1/esm/component.js +1 -0
- package/confirmation-v1/modern/component.d.ts +1 -0
- package/confirmation-v1/modern/component.js +1 -0
- package/custom-picker-button/Component-0f4b9bed.d.ts +4 -21
- package/custom-picker-button/Component-10db897e.d.ts +265 -41
- package/custom-picker-button/Component-ebda875c.d.ts +98 -9
- package/custom-picker-button/Component.desktop-4cd3936b.d.ts +49 -0
- package/custom-picker-button/Component.desktop-785df74d.d.ts +1 -1
- package/custom-picker-button/Component.mobile-d7e9f69d.d.ts +1 -1
- package/custom-picker-button/Component.mobile.d.ts +9 -1
- package/custom-picker-button/desktop-d446ae02.d.ts +2 -39
- package/custom-picker-button/hook-8abfea97.d.ts +4 -4
- package/custom-picker-button/index-89f0cb07.d.ts +2 -0
- package/custom-picker-button/index-bdb4c6b9.d.ts +180 -2
- package/custom-picker-button/index-c44170fe.d.ts +2 -17
- package/custom-picker-button/index-ebda875c.d.ts +200 -18
- package/custom-picker-button/index-f12ee135.d.ts +324 -3
- package/custom-picker-button/shared-4cd3936b.d.ts +1 -60
- package/date-input/Component.d.ts +4 -0
- package/date-input/Component.js +4 -0
- package/date-input/cssm/Component.d.ts +4 -0
- package/date-input/cssm/Component.js +4 -0
- package/date-input/esm/Component.d.ts +4 -0
- package/date-input/esm/Component.js +4 -0
- package/date-input/modern/Component.d.ts +4 -0
- package/date-input/modern/Component.js +4 -0
- package/date-range-input/Component-10db897e.d.ts +295 -4
- package/date-range-input/Component-5684a67d.d.ts +23 -0
- package/date-range-input/Component-69921c40.d.ts +12 -172
- package/date-range-input/Component-e2b6c730.d.ts +76 -0
- package/date-range-input/Component.desktop-b5b4c59f.d.ts +5 -72
- package/date-range-input/Component.desktop-ebda875c.d.ts +7 -0
- package/date-range-input/Component.desktop.d.ts +4 -0
- package/date-range-input/Component.desktop.js +4 -0
- package/date-range-input/Component.mobile.d.ts +4 -0
- package/date-range-input/Component.mobile.js +4 -0
- package/date-range-input/Component.responsive.d.ts +4 -0
- package/date-range-input/Component.responsive.js +4 -0
- package/date-range-input/components/date-range-input/Component.d.ts +1 -1
- package/date-range-input/cssm/Component-10db897e.d.ts +295 -4
- package/date-range-input/cssm/Component-5684a67d.d.ts +23 -0
- package/date-range-input/cssm/Component-69921c40.d.ts +12 -172
- package/date-range-input/cssm/Component-e2b6c730.d.ts +76 -0
- package/date-range-input/cssm/Component.desktop-b5b4c59f.d.ts +5 -72
- package/date-range-input/cssm/Component.desktop-ebda875c.d.ts +7 -0
- package/date-range-input/cssm/Component.desktop.d.ts +4 -0
- package/date-range-input/cssm/Component.desktop.js +4 -0
- package/date-range-input/cssm/Component.mobile.d.ts +4 -0
- package/date-range-input/cssm/Component.mobile.js +4 -0
- package/{custom-picker-button/index-8b2c2707.d.ts → date-range-input/cssm/Component.responsive-16b1285a.d.ts} +1 -2
- package/date-range-input/cssm/Component.responsive.d.ts +4 -0
- package/date-range-input/cssm/Component.responsive.js +4 -0
- package/date-range-input/cssm/components/date-range-input/Component.d.ts +1 -1
- package/{intl-phone-input/desktop-69921c40.d.ts → date-range-input/cssm/desktop-89f0cb07.d.ts} +1 -1
- package/date-range-input/cssm/index-89f0cb07.d.ts +1 -1
- package/date-range-input/cssm/index-ebda875c.d.ts +1 -34
- package/date-range-input/cssm/index-f034f741.d.ts +2 -80
- package/date-range-input/cssm/mobile-c219f8ca.d.ts +368 -1
- package/date-range-input/cssm/utils-e0a54580.d.ts +8 -0
- package/date-range-input/{desktop-69921c40.d.ts → desktop-89f0cb07.d.ts} +1 -1
- package/date-range-input/esm/Component.desktop.d.ts +4 -0
- package/date-range-input/esm/Component.desktop.js +4 -0
- package/date-range-input/esm/Component.mobile.d.ts +4 -0
- package/date-range-input/esm/Component.mobile.js +4 -0
- package/date-range-input/esm/Component.responsive.d.ts +4 -0
- package/date-range-input/esm/Component.responsive.js +4 -0
- package/date-range-input/index-89f0cb07.d.ts +1 -1
- package/date-range-input/index-ebda875c.d.ts +1 -34
- package/date-range-input/index-f034f741.d.ts +2 -80
- package/date-range-input/mobile-c219f8ca.d.ts +368 -1
- package/date-range-input/modern/Component.desktop.d.ts +4 -0
- package/date-range-input/modern/Component.desktop.js +4 -0
- package/date-range-input/modern/Component.mobile.d.ts +4 -0
- package/date-range-input/modern/Component.mobile.js +4 -0
- package/date-range-input/modern/Component.responsive.d.ts +4 -0
- package/date-range-input/modern/Component.responsive.js +4 -0
- package/date-range-input/utils-e0a54580.d.ts +8 -0
- package/date-time-input/Component.desktop.d.ts +4 -0
- package/date-time-input/Component.desktop.js +4 -0
- package/date-time-input/cssm/Component.desktop.d.ts +4 -0
- package/date-time-input/cssm/Component.desktop.js +4 -0
- package/date-time-input/esm/Component.desktop.d.ts +4 -0
- package/date-time-input/esm/Component.desktop.js +4 -0
- package/date-time-input/modern/Component.desktop.d.ts +4 -0
- package/date-time-input/modern/Component.desktop.js +4 -0
- package/gallery/Component.js +2 -2
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/header/index.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/index.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/components/index.js +2 -2
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/index.js +2 -2
- package/gallery/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/index.js +2 -2
- package/intl-phone-input/Component-0f4b9bed.d.ts +18 -96
- package/intl-phone-input/Component-10db897e.d.ts +99 -5
- package/intl-phone-input/Component-4cd3936b.d.ts +1 -1
- package/intl-phone-input/Component-c44170fe.d.ts +13 -0
- package/intl-phone-input/{Component.desktop-0f4b9bed.d.ts → Component.desktop-63dec22f.d.ts} +1 -1
- package/intl-phone-input/component.d.ts +5 -1
- package/intl-phone-input/component.js +4 -0
- package/intl-phone-input/components/select/component.d.ts +1 -1
- package/intl-phone-input/cssm/component.d.ts +4 -0
- package/intl-phone-input/cssm/component.js +4 -0
- package/intl-phone-input/esm/component.d.ts +4 -0
- package/intl-phone-input/esm/component.js +4 -0
- package/intl-phone-input/hook-c44170fe.d.ts +48 -0
- package/intl-phone-input/modern/component.d.ts +4 -0
- package/intl-phone-input/modern/component.js +4 -0
- package/intl-phone-input/shared-4cd3936b.d.ts +14 -57
- package/package.json +1 -1
- package/picker-button/Component-0f4b9bed.d.ts +70 -3
- package/picker-button/Component-10db897e.d.ts +4 -294
- package/picker-button/Component-ebda875c.d.ts +9 -98
- package/picker-button/Component.desktop-785df74d.d.ts +1 -1
- package/picker-button/Component.desktop.d.ts +1 -1
- package/picker-button/Component.mobile-d7e9f69d.d.ts +1 -1
- package/picker-button/Component.mobile.d.ts +1 -1
- package/picker-button/Component.responsive.d.ts +1 -1
- package/picker-button/cssm/Component-0f4b9bed.d.ts +3 -70
- package/picker-button/cssm/Component-10db897e.d.ts +294 -4
- package/picker-button/cssm/Component-aed0af6e.d.ts +11 -0
- package/picker-button/cssm/Component-ebda875c.d.ts +98 -9
- package/picker-button/cssm/Component-f12ee135.d.ts +72 -0
- package/picker-button/cssm/Component.desktop-785df74d.d.ts +1 -1
- package/picker-button/cssm/Component.desktop.d.ts +1 -1
- package/{date-range-input/Component.mobile-ebda875c.d.ts → picker-button/cssm/Component.mobile-96988a65.d.ts} +0 -1
- package/picker-button/cssm/Component.mobile-d7e9f69d.d.ts +1 -1
- package/picker-button/cssm/Component.mobile.d.ts +1 -1
- package/picker-button/cssm/Component.responsive-d7e9f69d.d.ts +26 -0
- package/picker-button/cssm/Component.responsive.d.ts +1 -1
- package/picker-button/cssm/hook-8abfea97.d.ts +4 -4
- package/picker-button/cssm/hook-ebda875c.d.ts +48 -0
- package/picker-button/cssm/index-10db897e.d.ts +2 -2
- package/picker-button/cssm/index-bdb4c6b9.d.ts +180 -2
- package/picker-button/cssm/index-c44170fe.d.ts +1 -1
- package/picker-button/cssm/index-ebda875c.d.ts +191 -53
- package/picker-button/cssm/index-f12ee135.d.ts +324 -3
- package/picker-button/cssm/shared-4cd3936b.d.ts +1 -59
- package/picker-button/hook-8abfea97.d.ts +4 -4
- package/picker-button/index-10db897e.d.ts +2 -2
- package/picker-button/index-bdb4c6b9.d.ts +2 -180
- package/picker-button/index-c44170fe.d.ts +1 -1
- package/picker-button/index-ebda875c.d.ts +53 -191
- package/picker-button/index-f12ee135.d.ts +3 -324
- package/picker-button/shared-4cd3936b.d.ts +59 -1
- package/pure-cell/component.js +1 -1
- package/pure-cell/components/content/component.js +1 -1
- package/pure-cell/components/content/index.d.ts +1 -1
- package/pure-cell/components/content/index.js +1 -1
- package/pure-cell/components/main/component.js +1 -1
- package/pure-cell/components/main/index.d.ts +1 -1
- package/pure-cell/components/main/index.js +1 -1
- package/pure-cell/components/text/component.js +1 -1
- package/pure-cell/components/text/index.d.ts +1 -1
- package/pure-cell/components/text/index.js +1 -1
- package/pure-cell/esm/component.js +1 -1
- package/pure-cell/esm/components/content/component.js +1 -1
- package/pure-cell/esm/components/content/index.d.ts +1 -1
- package/pure-cell/esm/components/content/index.js +1 -1
- package/pure-cell/esm/components/main/component.js +1 -1
- package/pure-cell/esm/components/main/index.d.ts +1 -1
- package/pure-cell/esm/components/main/index.js +1 -1
- package/pure-cell/esm/components/text/component.js +1 -1
- package/pure-cell/esm/components/text/index.d.ts +1 -1
- package/pure-cell/esm/components/text/index.js +1 -1
- package/pure-cell/esm/index.js +1 -1
- package/pure-cell/index.js +1 -1
- package/pure-cell/modern/component.js +1 -1
- package/pure-cell/modern/components/content/component.js +1 -1
- package/pure-cell/modern/components/content/index.d.ts +1 -1
- package/pure-cell/modern/components/content/index.js +1 -1
- package/pure-cell/modern/components/main/component.js +1 -1
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +1 -1
- package/pure-cell/modern/components/text/component.js +1 -1
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +1 -1
- package/pure-cell/modern/index.js +1 -1
- package/select/Component.mobile.js +1 -1
- package/select/Component.modal.mobile.js +1 -1
- package/select/Component.responsive.js +1 -1
- package/select/components/base-select-mobile/Component.js +2 -2
- package/select/components/virtual-options-list/Component.js +8 -4
- package/select/cssm/components/base-select-mobile/Component.js +2 -2
- package/select/cssm/components/virtual-options-list/Component.js +8 -4
- package/select/esm/Component.mobile.js +1 -1
- package/select/esm/Component.modal.mobile.js +1 -1
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/components/base-select-mobile/Component.js +2 -2
- package/select/esm/components/virtual-options-list/Component.js +8 -4
- package/select/esm/index.js +1 -1
- package/select/esm/mobile.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared.js +1 -1
- package/select/index.js +1 -1
- package/select/mobile.js +1 -1
- package/select/modern/Component.mobile.js +1 -1
- package/select/modern/Component.modal.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/components/base-select-mobile/Component.js +2 -2
- package/select/modern/components/virtual-options-list/Component.js +8 -4
- package/select/modern/index.js +1 -1
- package/select/modern/mobile.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared.js +1 -1
- package/tabs/collapsible.js +1 -1
- package/tabs/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/components/primary-tablist/Component.desktop.js +3 -2
- package/tabs/components/primary-tablist/Component.js +14 -4
- package/tabs/components/primary-tablist/Component.mobile.js +3 -2
- package/tabs/components/primary-tablist/Component.responsive.js +3 -2
- package/tabs/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/components/tabs/Component.collapsible.js +1 -1
- package/tabs/components/tabs/Component.desktop.js +4 -3
- package/tabs/components/tabs/Component.mobile.js +4 -3
- package/tabs/components/tabs/Component.responsive.js +4 -3
- package/tabs/cssm/components/primary-tablist/Component.desktop.js +2 -1
- package/tabs/cssm/components/primary-tablist/Component.js +14 -4
- package/tabs/cssm/components/primary-tablist/Component.mobile.js +2 -1
- package/tabs/cssm/components/primary-tablist/Component.responsive.js +2 -1
- package/tabs/cssm/components/tabs/Component.desktop.js +2 -1
- package/tabs/cssm/components/tabs/Component.mobile.js +2 -1
- package/tabs/cssm/components/tabs/Component.responsive.js +2 -1
- package/tabs/cssm/desktop.js +2 -1
- package/tabs/cssm/index.js +2 -1
- package/tabs/cssm/mobile.js +2 -1
- package/tabs/desktop.js +4 -3
- package/tabs/esm/collapsible.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.desktop.js +2 -1
- package/tabs/esm/components/primary-tablist/Component.js +14 -4
- package/tabs/esm/components/primary-tablist/Component.mobile.js +2 -1
- package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -1
- package/tabs/esm/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/esm/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/esm/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
- package/tabs/esm/components/tabs/Component.desktop.js +3 -2
- package/tabs/esm/components/tabs/Component.mobile.js +3 -2
- package/tabs/esm/components/tabs/Component.responsive.js +3 -2
- package/tabs/esm/desktop.js +3 -2
- package/tabs/esm/index.js +3 -2
- package/tabs/esm/mobile.js +3 -2
- package/tabs/index-ebda875c.d.ts +21 -86
- package/tabs/index.js +4 -3
- package/tabs/mobile.js +4 -3
- package/tabs/modern/collapsible.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.collapsible.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.desktop.js +2 -1
- package/tabs/modern/components/primary-tablist/Component.js +14 -4
- package/tabs/modern/components/primary-tablist/Component.mobile.js +2 -1
- package/tabs/modern/components/primary-tablist/Component.responsive.js +2 -1
- package/tabs/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
- package/tabs/modern/components/tabs/Component.desktop.js +3 -2
- package/tabs/modern/components/tabs/Component.mobile.js +3 -2
- package/tabs/modern/components/tabs/Component.responsive.js +3 -2
- package/tabs/modern/desktop.js +3 -2
- package/tabs/modern/index.js +3 -2
- package/tabs/modern/mobile.js +3 -2
- package/textarea/Component.d.ts +1 -1
- package/textarea/Component.js +1 -1
- package/textarea/components/PseudoTextArea.js +1 -1
- package/textarea/components/index.d.ts +1 -1
- package/textarea/components/index.js +1 -1
- package/textarea/esm/Component.js +1 -1
- package/textarea/esm/components/PseudoTextArea.js +1 -1
- package/textarea/esm/components/index.d.ts +1 -1
- package/textarea/esm/components/index.js +1 -1
- package/textarea/esm/index.js +1 -1
- package/textarea/index.js +1 -1
- package/textarea/modern/Component.js +1 -1
- package/textarea/modern/components/PseudoTextArea.js +1 -1
- package/textarea/modern/components/index.d.ts +1 -1
- package/textarea/modern/components/index.js +1 -1
- package/textarea/modern/index.js +1 -1
- package/themes/compiled/mobile-dark-bluetint.css +19 -19
- package/themes/dist/compiled/mobile-dark-bluetint.css +262 -262
- package/themes/dist/site.css +348 -343
- package/themes/site.css +348 -343
- package/time-input/Component.d.ts +4 -0
- package/time-input/Component.js +4 -0
- package/time-input/cssm/Component.d.ts +4 -0
- package/time-input/cssm/Component.js +4 -0
- package/time-input/esm/Component.d.ts +4 -0
- package/time-input/esm/Component.js +4 -0
- package/time-input/modern/Component.d.ts +4 -0
- package/time-input/modern/Component.js +4 -0
- package/typography/component.js +2 -2
- package/typography/esm/component.js +2 -2
- package/typography/esm/index.js +2 -2
- package/typography/esm/text/component.js +1 -1
- package/typography/esm/text/index.js +1 -1
- package/typography/esm/title/component.js +1 -1
- package/typography/esm/title/index.js +2 -2
- package/typography/esm/title-mobile/component.js +2 -2
- package/typography/esm/title-mobile/index.js +2 -2
- package/typography/esm/title-responsive/component.js +2 -2
- package/typography/esm/title-responsive/index.js +2 -2
- package/typography/index.js +2 -2
- package/typography/modern/component.js +2 -2
- package/typography/modern/index.js +2 -2
- package/typography/modern/text/component.js +1 -1
- package/typography/modern/text/index.js +1 -1
- package/typography/modern/title/component.js +1 -1
- package/typography/modern/title/index.js +2 -2
- package/typography/modern/title-mobile/component.js +2 -2
- package/typography/modern/title-mobile/index.js +2 -2
- package/typography/modern/title-responsive/component.js +2 -2
- package/typography/modern/title-responsive/index.js +2 -2
- package/typography/text/component.js +1 -1
- package/typography/text/index.js +1 -1
- package/typography/title/component.js +1 -1
- package/typography/title/index.js +2 -2
- package/typography/title-mobile/component.js +2 -2
- package/typography/title-mobile/index.js +2 -2
- package/typography/title-responsive/component.js +2 -2
- package/typography/title-responsive/index.js +2 -2
- package/custom-picker-button/Component-89f0cb07.d.ts +0 -38
- package/custom-picker-button/Component-8b2c2707.d.ts +0 -12
- package/custom-picker-button/Component.mobile-d446ae02.d.ts +0 -23
- package/custom-picker-button/mobile-89f0cb07.d.ts +0 -2
- package/date-range-input/Component-b5b4c59f.d.ts +0 -389
- package/date-range-input/cssm/Component-b5b4c59f.d.ts +0 -389
- package/date-range-input/cssm/Component.mobile-ebda875c.d.ts +0 -7
- package/picker-button/cssm/Component.modal.mobile-0f4b9bed.d.ts +0 -60
- package/picker-button/cssm/component-10db897e.d.ts +0 -44
- package/picker-button/cssm/types-67a2d8af.d.ts +0 -276
- package/picker-button/cssm/utils-1574ad8b.d.ts +0 -29
- package/picker-button/cssm/utils-49cc3c24.d.ts +0 -8
- /package/calendar/{desktop-89f0cb07.d.ts → desktop-69921c40.d.ts} +0 -0
- /package/confirmation/{countdown-section-fd1f820b.d.ts → countdown-section-98424f8e.d.ts} +0 -0
- /package/confirmation/{countdown-section-fd1f820b.js → countdown-section-98424f8e.js} +0 -0
- /package/confirmation/esm/{countdown-section-3a227dc3.d.ts → countdown-section-293411b2.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-3a227dc3.js → countdown-section-293411b2.js} +0 -0
- /package/confirmation/modern/{countdown-section-0fae6dd8.d.ts → countdown-section-4c466791.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-0fae6dd8.js → countdown-section-4c466791.js} +0 -0
- /package/{picker-button → custom-picker-button}/Component-aed0af6e.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/Component-f12ee135.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/Component.mobile-96988a65.d.ts +0 -0
- /package/{date-range-input → custom-picker-button}/Component.responsive-0aa4e915.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/Component.responsive-d7e9f69d.d.ts +0 -0
- /package/{date-range-input/cssm → custom-picker-button}/desktop-69921c40.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/hook-ebda875c.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/mobile-96988a65.d.ts +0 -0
- /package/{picker-button → custom-picker-button}/useSkeleton-1b036d4b.d.ts +0 -0
- /package/date-range-input/{Component.desktop-0aa4e915.d.ts → Component.desktop-89f0cb07.d.ts} +0 -0
- /package/date-range-input/{cssm/Component.responsive-0aa4e915.d.ts → Component.responsive-16b1285a.d.ts} +0 -0
- /package/date-range-input/{Component.responsive-785df74d.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
- /package/date-range-input/cssm/{Component.desktop-0aa4e915.d.ts → Component.desktop-89f0cb07.d.ts} +0 -0
- /package/date-range-input/cssm/{Component.responsive-785df74d.d.ts → Component.responsive-d7e9f69d.d.ts} +0 -0
- /package/date-range-input/cssm/{desktop-63dec22f.d.ts → desktop-b5b4c59f.d.ts} +0 -0
- /package/date-range-input/{desktop-63dec22f.d.ts → desktop-b5b4c59f.d.ts} +0 -0
- /package/gallery/{buttons-690412e1.d.ts → buttons-0f7e62fa.d.ts} +0 -0
- /package/gallery/{buttons-690412e1.js → buttons-0f7e62fa.js} +0 -0
- /package/gallery/esm/{buttons-56eb04b3.d.ts → buttons-8f2a1c94.d.ts} +0 -0
- /package/gallery/esm/{buttons-56eb04b3.js → buttons-8f2a1c94.js} +0 -0
- /package/gallery/esm/{slide-44fcdb22.d.ts → slide-ceaab2f7.d.ts} +0 -0
- /package/gallery/esm/{slide-44fcdb22.js → slide-ceaab2f7.js} +0 -0
- /package/gallery/modern/{buttons-eaec7dc8.d.ts → buttons-c5da30ee.d.ts} +0 -0
- /package/gallery/modern/{buttons-eaec7dc8.js → buttons-c5da30ee.js} +0 -0
- /package/gallery/modern/{slide-f0094724.d.ts → slide-01729b01.d.ts} +0 -0
- /package/gallery/modern/{slide-f0094724.js → slide-01729b01.js} +0 -0
- /package/gallery/{slide-44acedca.d.ts → slide-d75dc41d.d.ts} +0 -0
- /package/gallery/{slide-44acedca.js → slide-d75dc41d.js} +0 -0
- /package/intl-phone-input/{Component.desktop-4cd3936b.d.ts → Component.desktop-9cded6b9.d.ts} +0 -0
- /package/intl-phone-input/{desktop-785df74d.d.ts → desktop-63dec22f.d.ts} +0 -0
- /package/{custom-picker-button → intl-phone-input}/desktop-89f0cb07.d.ts +0 -0
- /package/{custom-picker-button/mobile-d7e9f69d.d.ts → intl-phone-input/mobile-96988a65.d.ts} +0 -0
- /package/{custom-picker-button → picker-button}/Component-69921c40.d.ts +0 -0
- /package/{custom-picker-button → picker-button}/Component.modal.mobile-0f4b9bed.d.ts +0 -0
- /package/picker-button/{cssm/Component.responsive-3109f463.d.ts → Component.responsive-3109f463.d.ts} +0 -0
- /package/{custom-picker-button → picker-button}/component-10db897e.d.ts +0 -0
- /package/picker-button/{Component-72dda473.d.ts → cssm/Component-72dda473.d.ts} +0 -0
- /package/{intl-phone-input/mobile-d7e9f69d.d.ts → picker-button/cssm/mobile-96988a65.d.ts} +0 -0
- /package/{custom-picker-button/useSkeleton-ebda875c.d.ts → picker-button/cssm/useSkeleton-1b036d4b.d.ts} +0 -0
- /package/picker-button/{cssm/mobile-89f0cb07.d.ts → mobile-89f0cb07.d.ts} +0 -0
- /package/picker-button/{cssm/mobile-d7e9f69d.d.ts → mobile-d7e9f69d.d.ts} +0 -0
- /package/{custom-picker-button → picker-button}/types-67a2d8af.d.ts +0 -0
- /package/picker-button/{cssm/useSkeleton-ebda875c.d.ts → useSkeleton-ebda875c.d.ts} +0 -0
- /package/{custom-picker-button → picker-button}/utils-1574ad8b.d.ts +0 -0
- /package/{custom-picker-button → picker-button}/utils-49cc3c24.d.ts +0 -0
- /package/pure-cell/{component-56e8d476.d.ts → component-0bb227ff.d.ts} +0 -0
- /package/pure-cell/{component-56e8d476.js → component-0bb227ff.js} +0 -0
- /package/pure-cell/esm/{component-81398343.d.ts → component-0fa1f2f4.d.ts} +0 -0
- /package/pure-cell/esm/{component-81398343.js → component-0fa1f2f4.js} +0 -0
- /package/pure-cell/modern/{component-62dc17a6.d.ts → component-62710d9b.d.ts} +0 -0
- /package/pure-cell/modern/{component-62dc17a6.js → component-62710d9b.js} +0 -0
- /package/select/esm/{hook-dbd7a783.d.ts → hook-e63a15d0.d.ts} +0 -0
- /package/select/esm/{hook-dbd7a783.js → hook-e63a15d0.js} +0 -0
- /package/select/{hook-77cb9499.d.ts → hook-74d61833.d.ts} +0 -0
- /package/select/{hook-77cb9499.js → hook-74d61833.js} +0 -0
- /package/select/modern/{hook-2d4246ef.d.ts → hook-5e1db0b0.d.ts} +0 -0
- /package/select/modern/{hook-2d4246ef.js → hook-5e1db0b0.js} +0 -0
- /package/tabs/esm/{index.module-f81c66bd.js → index.module-072f7a03.js} +0 -0
- /package/tabs/esm/{index.module-e596240d.js → index.module-64994e8d.js} +0 -0
- /package/tabs/{index.module-f5167fdf.js → index.module-5f6b14c2.js} +0 -0
- /package/tabs/{index.module-aaabe4b6.js → index.module-e4f107c7.js} +0 -0
- /package/tabs/modern/{index.module-57137d98.js → index.module-5e57388f.js} +0 -0
- /package/tabs/modern/{index.module-328329dc.js → index.module-633b90f6.js} +0 -0
- /package/textarea/{PseudoTextArea-89d92eb6.d.ts → PseudoTextArea-36c6abaa.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-89d92eb6.js → PseudoTextArea-36c6abaa.js} +0 -0
- /package/textarea/esm/{PseudoTextArea-b972f2a1.d.ts → PseudoTextArea-9a6ecffa.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-b972f2a1.js → PseudoTextArea-9a6ecffa.js} +0 -0
- /package/textarea/modern/{PseudoTextArea-05bab99f.d.ts → PseudoTextArea-af080549.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-05bab99f.js → PseudoTextArea-af080549.js} +0 -0
- /package/typography/{colors.module-acfdc4ac.js → colors.module-df0e4b50.js} +0 -0
- /package/typography/{common.module-1e0ee495.js → common.module-f956febc.js} +0 -0
- /package/typography/esm/{colors.module-15b18b20.js → colors.module-9bede968.js} +0 -0
- /package/typography/esm/{common.module-2109e6cf.js → common.module-a7331eab.js} +0 -0
- /package/typography/modern/{colors.module-9ac72522.js → colors.module-3d67b05c.js} +0 -0
- /package/typography/modern/{common.module-89e311be.js → common.module-37e5ffae.js} +0 -0
|
@@ -1,6 +1,297 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, ReactNode, RefAttributes } 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
|
+
leftAddonsProps?: HTMLAttributes<HTMLDivElement>;
|
|
77
|
+
/**
|
|
78
|
+
* Свойства для обертки правых аддонов
|
|
79
|
+
*/
|
|
80
|
+
rightAddonsProps?: HTMLAttributes<HTMLDivElement>;
|
|
81
|
+
/**
|
|
82
|
+
* Слот под инпутом
|
|
83
|
+
*/
|
|
84
|
+
bottomAddons?: React.ReactNode;
|
|
85
|
+
/**
|
|
86
|
+
* Дополнительный класс
|
|
87
|
+
*/
|
|
88
|
+
className?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Дополнительный класс для поля
|
|
91
|
+
*/
|
|
92
|
+
fieldClassName?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Дополнительный класс инпута
|
|
95
|
+
*/
|
|
96
|
+
inputClassName?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Дополнительный класс для лейбла
|
|
99
|
+
*/
|
|
100
|
+
labelClassName?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Дополнительный класс для аддонов
|
|
103
|
+
*/
|
|
104
|
+
addonsClassName?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Класс, который будет установлен при фокусе
|
|
107
|
+
*/
|
|
108
|
+
focusedClassName?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Класс, который будет установлен, если в поле есть значение
|
|
111
|
+
*/
|
|
112
|
+
filledClassName?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Обработчик поля ввода
|
|
115
|
+
*/
|
|
116
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>, payload: {
|
|
117
|
+
value: string;
|
|
118
|
+
}) => void;
|
|
119
|
+
/**
|
|
120
|
+
* Обработчик нажатия на кнопку очистки
|
|
121
|
+
*/
|
|
122
|
+
onClear?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
123
|
+
/**
|
|
124
|
+
* Обработчик клика по полю
|
|
125
|
+
*/
|
|
126
|
+
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
127
|
+
/**
|
|
128
|
+
* Обработчик MouseDown по полю
|
|
129
|
+
*/
|
|
130
|
+
onMouseDown?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
131
|
+
/**
|
|
132
|
+
* Обработчик MouseUp по полю
|
|
133
|
+
*/
|
|
134
|
+
onMouseUp?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
135
|
+
/**
|
|
136
|
+
* Компонент FormControl
|
|
137
|
+
*/
|
|
138
|
+
FormControlComponent?: ElementType<FormControlProps & RefAttributes<HTMLDivElement>>;
|
|
139
|
+
/**
|
|
140
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
141
|
+
*/
|
|
142
|
+
dataTestId?: string;
|
|
143
|
+
/**
|
|
144
|
+
* Стили компонента для default и inverted режима.
|
|
145
|
+
*/
|
|
146
|
+
colorStyles?: StyleColors;
|
|
147
|
+
/**
|
|
148
|
+
* Запрещает ввод с клавиатуры
|
|
149
|
+
*/
|
|
150
|
+
disableUserInput?: boolean;
|
|
151
|
+
};
|
|
152
|
+
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
|
|
153
|
+
/**
|
|
154
|
+
* Значение поля ввода
|
|
155
|
+
*/
|
|
156
|
+
value?: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* Начальное значение поля
|
|
159
|
+
*/
|
|
160
|
+
defaultValue?: string | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Растягивает компонент на ширину контейнера
|
|
163
|
+
*/
|
|
164
|
+
block?: boolean | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* Крестик для очистки поля
|
|
167
|
+
*/
|
|
168
|
+
clear?: boolean | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* Размер компонента
|
|
171
|
+
*/
|
|
172
|
+
size?: "s" | "m" | "l" | "xl" | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* Набор цветов для компонента
|
|
175
|
+
*/
|
|
176
|
+
colors?: "default" | "inverted" | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* Отображение ошибки
|
|
179
|
+
*/
|
|
180
|
+
error?: ReactNode | boolean;
|
|
181
|
+
/**
|
|
182
|
+
* Отображение иконки успеха
|
|
183
|
+
*/
|
|
184
|
+
success?: boolean | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* Текст подсказки
|
|
187
|
+
*/
|
|
188
|
+
hint?: ReactNode;
|
|
189
|
+
/**
|
|
190
|
+
* Лейбл компонента
|
|
191
|
+
*/
|
|
192
|
+
label?: React.ReactNode;
|
|
193
|
+
/**
|
|
194
|
+
* Вид лейбла внутри / снаружи
|
|
195
|
+
*/
|
|
196
|
+
labelView?: "inner" | "outer" | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* Атрибут type
|
|
199
|
+
*/
|
|
200
|
+
type?: "number" | "text" | "tel" | "email" | "password" | "card" | "money" | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* Ref для обертки input
|
|
203
|
+
*/
|
|
204
|
+
wrapperRef?: React.Ref<HTMLDivElement> | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* Слот слева
|
|
207
|
+
*/
|
|
208
|
+
leftAddons?: React.ReactNode;
|
|
209
|
+
/**
|
|
210
|
+
* Слот справа
|
|
211
|
+
*/
|
|
212
|
+
rightAddons?: React.ReactNode;
|
|
213
|
+
/**
|
|
214
|
+
* Свойства для обертки левых аддонов
|
|
215
|
+
*/
|
|
216
|
+
leftAddonsProps?: React.HTMLAttributes<HTMLDivElement> | undefined;
|
|
217
|
+
/**
|
|
218
|
+
* Свойства для обертки правых аддонов
|
|
219
|
+
*/
|
|
220
|
+
rightAddonsProps?: React.HTMLAttributes<HTMLDivElement> | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* Слот под инпутом
|
|
223
|
+
*/
|
|
224
|
+
bottomAddons?: React.ReactNode;
|
|
225
|
+
/**
|
|
226
|
+
* Дополнительный класс
|
|
227
|
+
*/
|
|
228
|
+
className?: string | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* Дополнительный класс для поля
|
|
231
|
+
*/
|
|
232
|
+
fieldClassName?: string | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* Дополнительный класс инпута
|
|
235
|
+
*/
|
|
236
|
+
inputClassName?: string | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* Дополнительный класс для лейбла
|
|
239
|
+
*/
|
|
240
|
+
labelClassName?: string | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* Дополнительный класс для аддонов
|
|
243
|
+
*/
|
|
244
|
+
addonsClassName?: string | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* Класс, который будет установлен при фокусе
|
|
247
|
+
*/
|
|
248
|
+
focusedClassName?: string | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* Класс, который будет установлен, если в поле есть значение
|
|
251
|
+
*/
|
|
252
|
+
filledClassName?: string | undefined;
|
|
253
|
+
/**
|
|
254
|
+
* Обработчик поля ввода
|
|
255
|
+
*/
|
|
256
|
+
onChange?: ((event: ChangeEvent<HTMLInputElement>, payload: {
|
|
257
|
+
value: string;
|
|
258
|
+
}) => void) | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* Обработчик нажатия на кнопку очистки
|
|
261
|
+
*/
|
|
262
|
+
onClear?: ((event: MouseEvent<HTMLButtonElement>) => void) | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* Обработчик клика по полю
|
|
265
|
+
*/
|
|
266
|
+
onClick?: ((event: MouseEvent<HTMLDivElement>) => void) | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* Обработчик MouseDown по полю
|
|
269
|
+
*/
|
|
270
|
+
onMouseDown?: ((event: MouseEvent<HTMLDivElement>) => void) | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* Обработчик MouseUp по полю
|
|
273
|
+
*/
|
|
274
|
+
onMouseUp?: ((event: MouseEvent<HTMLDivElement>) => void) | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* Компонент FormControl
|
|
277
|
+
*/
|
|
278
|
+
FormControlComponent?: React.ElementType<Omit<import("./index-ebda875c").BaseFormControlProps, "styles" | "colorStyles"> & {
|
|
279
|
+
breakpoint?: number | undefined;
|
|
280
|
+
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
281
|
+
} & React.RefAttributes<HTMLDivElement>> | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
284
|
+
*/
|
|
285
|
+
dataTestId?: string | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* Стили компонента для default и inverted режима.
|
|
288
|
+
*/
|
|
289
|
+
colorStyles?: StyleColors | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* Запрещает ввод с клавиатуры
|
|
292
|
+
*/
|
|
293
|
+
disableUserInput?: boolean | undefined;
|
|
294
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
295
|
+
export * from "./Component-72dda473";
|
|
296
|
+
export * from "./Component.responsive-d7e9f69d";
|
|
297
|
+
export { StyleColors, BaseInputProps, BaseInput };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { Month } from "./typings-5684a67d";
|
|
4
|
+
type MonthsTableProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Массив месяцев
|
|
7
|
+
*/
|
|
8
|
+
months?: Month[];
|
|
9
|
+
/**
|
|
10
|
+
* Выбранный месяц
|
|
11
|
+
*/
|
|
12
|
+
selectedMonth?: Date;
|
|
13
|
+
/**
|
|
14
|
+
* Доп пропсы для переданного месяца
|
|
15
|
+
*/
|
|
16
|
+
getMonthProps: (day: Month) => Record<string, unknown>;
|
|
17
|
+
/**
|
|
18
|
+
* Должен ли календарь подстраиваться под ширину родителя.
|
|
19
|
+
*/
|
|
20
|
+
responsive?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare const MonthsTable: FC<MonthsTableProps>;
|
|
23
|
+
export { MonthsTableProps, MonthsTable };
|
|
@@ -1,184 +1,24 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
declare const colors: readonly [
|
|
6
|
-
"tertiary",
|
|
7
|
-
"disabled",
|
|
8
|
-
"accent",
|
|
9
|
-
"primary",
|
|
10
|
-
"attention",
|
|
11
|
-
"positive",
|
|
12
|
-
"secondary",
|
|
13
|
-
"tertiary-inverted",
|
|
14
|
-
"primary-inverted",
|
|
15
|
-
"secondary-inverted",
|
|
16
|
-
"link",
|
|
17
|
-
"negative",
|
|
18
|
-
"static-primary-light",
|
|
19
|
-
"static-secondary-light",
|
|
20
|
-
"static-tertiary-light",
|
|
21
|
-
"static-primary-dark",
|
|
22
|
-
"static-secondary-dark",
|
|
23
|
-
"static-tertiary-dark",
|
|
24
|
-
"static-accent"
|
|
25
|
-
];
|
|
26
|
-
type Color = (typeof colors)[number];
|
|
27
|
-
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
28
|
-
type TextBaseProps = {
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ButtonHTMLAttributes } from "react";
|
|
4
|
+
type SelectButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
29
5
|
/**
|
|
30
|
-
*
|
|
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)
|
|
51
|
-
*/
|
|
52
|
-
className?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Id компонента для тестов
|
|
55
|
-
*/
|
|
56
|
-
dataTestId?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Контент (native prop)
|
|
59
|
-
*/
|
|
60
|
-
children?: React.ReactNode;
|
|
61
|
-
/**
|
|
62
|
-
* Добавляет отступы к тэгу 'p'
|
|
63
|
-
*/
|
|
64
|
-
defaultMargins?: never;
|
|
65
|
-
/**
|
|
66
|
-
* Количество строк (не поддерживает IE)
|
|
67
|
-
*/
|
|
68
|
-
rowLimit?: 1 | 2 | 3;
|
|
69
|
-
/**
|
|
70
|
-
* Показать скелетон
|
|
71
|
-
*/
|
|
72
|
-
showSkeleton?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Пропы для скелетона
|
|
75
|
-
*/
|
|
76
|
-
skeletonProps?: TextSkeletonProps;
|
|
77
|
-
};
|
|
78
|
-
type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
|
|
79
|
-
tag?: "p";
|
|
80
|
-
defaultMargins?: boolean;
|
|
81
|
-
};
|
|
82
|
-
type TextProps = Omit<NativeProps, "color"> & (TextBaseProps | TextPTagProps);
|
|
83
|
-
type NativeProps$0 = HTMLAttributes<HTMLHeadingElement>;
|
|
84
|
-
type TitleProps = Omit<NativeProps$0, "color"> & {
|
|
85
|
-
/**
|
|
86
|
-
* HTML тег
|
|
87
|
-
*/
|
|
88
|
-
tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
|
|
89
|
-
/**
|
|
90
|
-
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
|
|
91
|
-
*/
|
|
92
|
-
view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
|
|
93
|
-
/**
|
|
94
|
-
* Цвет текста
|
|
95
|
-
*/
|
|
96
|
-
color?: Color;
|
|
97
|
-
/**
|
|
98
|
-
* Толщина шрифта
|
|
99
|
-
*/
|
|
100
|
-
weight?: "regular" | "medium" | "bold";
|
|
101
|
-
/**
|
|
102
|
-
* Шрифт текста
|
|
103
|
-
*/
|
|
104
|
-
font?: "styrene" | "system";
|
|
105
|
-
/**
|
|
106
|
-
* Добавляет отступы
|
|
107
|
-
*/
|
|
108
|
-
defaultMargins?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Css-класс для стилизации (native prop)
|
|
6
|
+
* Дополнительный класс
|
|
111
7
|
*/
|
|
112
8
|
className?: string;
|
|
113
9
|
/**
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
|
-
dataTestId?: string;
|
|
117
|
-
/**
|
|
118
|
-
* Контент (native prop)
|
|
119
|
-
*/
|
|
120
|
-
children?: React.ReactNode;
|
|
121
|
-
/**
|
|
122
|
-
* Количество строк (не поддерживает IE)
|
|
123
|
-
*/
|
|
124
|
-
rowLimit?: 1 | 2 | 3;
|
|
125
|
-
/**
|
|
126
|
-
* Показать скелетон
|
|
10
|
+
* Вид кнопки
|
|
127
11
|
*/
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Пропы для скелетона
|
|
131
|
-
*/
|
|
132
|
-
skeletonProps?: TextSkeletonProps;
|
|
133
|
-
};
|
|
134
|
-
type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
|
|
135
|
-
declare const Typography: {
|
|
136
|
-
Title: FC<TitleProps>;
|
|
137
|
-
Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
|
|
138
|
-
TitleResponsive: FC<TitleProps>;
|
|
139
|
-
TitleMobile: FC<TitleMobileProps>;
|
|
140
|
-
};
|
|
141
|
-
declare const typographyPresets: {
|
|
142
|
-
mobile: {
|
|
143
|
-
list: {
|
|
144
|
-
text: {
|
|
145
|
-
primary: {
|
|
146
|
-
tag: string;
|
|
147
|
-
view: string;
|
|
148
|
-
};
|
|
149
|
-
secondary: {
|
|
150
|
-
tag: string;
|
|
151
|
-
color: string;
|
|
152
|
-
view: string;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
12
|
+
view?: 'default' | 'filled' | 'outlined' | 'selected';
|
|
157
13
|
};
|
|
158
|
-
declare const
|
|
159
|
-
interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
160
|
-
/**
|
|
161
|
-
* Текст после иконки
|
|
162
|
-
*/
|
|
163
|
-
text?: string;
|
|
14
|
+
declare const SelectButton: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
164
15
|
/**
|
|
165
16
|
* Дополнительный класс
|
|
166
17
|
*/
|
|
167
|
-
className?: string;
|
|
168
|
-
/**
|
|
169
|
-
* Вид компонента
|
|
170
|
-
*/
|
|
171
|
-
view: 'mobile' | 'desktop';
|
|
172
|
-
/**
|
|
173
|
-
* Прозрачность текста
|
|
174
|
-
*/
|
|
175
|
-
textOpacity?: number;
|
|
18
|
+
className?: string | undefined;
|
|
176
19
|
/**
|
|
177
|
-
*
|
|
20
|
+
* Вид кнопки
|
|
178
21
|
*/
|
|
179
|
-
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export { Typography, typographyPresets, TitleResponsive, BackArrowAddonProps, BackArrowAddon };
|
|
183
|
-
export type { TitleProps, TextProps, Color };
|
|
184
|
-
export * from "./useSkeleton-1b036d4b";
|
|
22
|
+
view?: "default" | "outlined" | "filled" | "selected" | undefined;
|
|
23
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
24
|
+
export { SelectButtonProps, SelectButton };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { FC, MouseEvent } from 'react';
|
|
2
|
+
type PeriodType = 'range' | 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
3
|
+
type PeriodSliderProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Активная дата или период
|
|
6
|
+
*/
|
|
7
|
+
value?: Date | [Date, Date];
|
|
8
|
+
/**
|
|
9
|
+
* Тип периода
|
|
10
|
+
*/
|
|
11
|
+
periodType?: PeriodType;
|
|
12
|
+
/**
|
|
13
|
+
* Дополнительный класс
|
|
14
|
+
*/
|
|
15
|
+
className?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Отключает кнопку назад
|
|
18
|
+
*/
|
|
19
|
+
prevArrowDisabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Отключает кнопку вперед
|
|
22
|
+
*/
|
|
23
|
+
nextArrowDisabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Скрывает заблокированные кнопки
|
|
26
|
+
*/
|
|
27
|
+
hideDisabledArrows?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Возможность выбора месяца и года, если periodType 'month'
|
|
30
|
+
*/
|
|
31
|
+
isMonthAndYearSelectable?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Отображать ли текущий год, если isMonthAndYearSelectable true
|
|
34
|
+
*/
|
|
35
|
+
showCurrentYearSelector?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Функция для форматирование выбранного периода
|
|
38
|
+
*/
|
|
39
|
+
periodFormatter?: (valueFrom: Date, valueTo: Date, periodType: PeriodType) => string;
|
|
40
|
+
/**
|
|
41
|
+
* Обработчик нажатия кнопки переключения на назад
|
|
42
|
+
*/
|
|
43
|
+
onPrevArrowClick?: (event: MouseEvent<HTMLButtonElement>, payload: {
|
|
44
|
+
value: Date;
|
|
45
|
+
valueFrom: Date;
|
|
46
|
+
valueTo: Date;
|
|
47
|
+
periodType: PeriodType;
|
|
48
|
+
}) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Обработчик нажатия кнопки переключения на вперед
|
|
51
|
+
*/
|
|
52
|
+
onNextArrowClick?: (event: MouseEvent<HTMLButtonElement>, payload: {
|
|
53
|
+
value: Date;
|
|
54
|
+
valueFrom: Date;
|
|
55
|
+
valueTo: Date;
|
|
56
|
+
periodType: PeriodType;
|
|
57
|
+
}) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Обработчик нажатия на селектор месяца
|
|
60
|
+
*/
|
|
61
|
+
onMonthClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Обработчик нажатия на селектор года
|
|
64
|
+
*/
|
|
65
|
+
onYearClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
66
|
+
/**
|
|
67
|
+
* Обработчик нажатия на период
|
|
68
|
+
*/
|
|
69
|
+
onPeriodClick?: (event: MouseEvent<HTMLAnchorElement>) => void;
|
|
70
|
+
/**
|
|
71
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
72
|
+
*/
|
|
73
|
+
dataTestId?: string;
|
|
74
|
+
};
|
|
75
|
+
declare const PeriodSlider: FC<PeriodSliderProps>;
|
|
76
|
+
export { PeriodType, PeriodSliderProps, PeriodSlider };
|
|
@@ -1,75 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { FC,
|
|
4
|
-
import {
|
|
5
|
-
import { PeriodType } from "./index-f034f741";
|
|
6
|
-
type HeaderProps = {
|
|
7
|
-
/**
|
|
8
|
-
* Вид шапки — месяц и год или только месяц
|
|
9
|
-
*/
|
|
10
|
-
view?: SelectorView;
|
|
11
|
-
/**
|
|
12
|
-
* Отображать тень? (нужна при прокрутке)
|
|
13
|
-
*/
|
|
14
|
-
withShadow?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Дочерние элементы.
|
|
17
|
-
*/
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
/**
|
|
20
|
-
* Дополнительный класс
|
|
21
|
-
*/
|
|
22
|
-
className?: string;
|
|
23
|
-
};
|
|
24
|
-
declare const Header: FC<HeaderProps>;
|
|
25
|
-
type MonthYearHeaderProps = {
|
|
26
|
-
/**
|
|
27
|
-
* Активная дата
|
|
28
|
-
*/
|
|
29
|
-
value?: Date;
|
|
30
|
-
/**
|
|
31
|
-
* Дополнительный класс
|
|
32
|
-
*/
|
|
33
|
-
className?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Обработчик нажатия на кнопку месяца
|
|
36
|
-
*/
|
|
37
|
-
onMonthClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
38
|
-
/**
|
|
39
|
-
* Обработчик нажатия на кнопку года
|
|
40
|
-
*/
|
|
41
|
-
onYearClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
42
|
-
/**
|
|
43
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
44
|
-
*/
|
|
45
|
-
dataTestId?: string;
|
|
46
|
-
};
|
|
47
|
-
declare const MonthYearHeader: FC<MonthYearHeaderProps>;
|
|
48
|
-
type MonthsTableProps = {
|
|
49
|
-
/**
|
|
50
|
-
* Массив месяцев
|
|
51
|
-
*/
|
|
52
|
-
months?: Month[];
|
|
53
|
-
/**
|
|
54
|
-
* Выбранный месяц
|
|
55
|
-
*/
|
|
56
|
-
selectedMonth?: Date;
|
|
57
|
-
/**
|
|
58
|
-
* Доп пропсы для переданного месяца
|
|
59
|
-
*/
|
|
60
|
-
getMonthProps: (day: Month) => Record<string, unknown>;
|
|
61
|
-
/**
|
|
62
|
-
* Должен ли календарь подстраиваться под ширину родителя.
|
|
63
|
-
*/
|
|
64
|
-
responsive?: boolean;
|
|
65
|
-
};
|
|
66
|
-
declare const MonthsTable: FC<MonthsTableProps>;
|
|
67
|
-
declare const formatPeriod: (valueFrom: Date, valueTo: Date, periodType: PeriodType, showCurrentYear?: boolean) => string;
|
|
68
|
-
declare const getYearSelectorValue: (valueFrom: Date | undefined, showCurrentYear: boolean) => number | "";
|
|
69
|
-
declare const shiftValues: (valueFrom: Date, valueTo: Date, periodType: PeriodType, direction: "prev" | "next") => {
|
|
70
|
-
valueFrom: Date;
|
|
71
|
-
valueTo: Date;
|
|
72
|
-
};
|
|
3
|
+
import { FC, MouseEvent } from "react";
|
|
4
|
+
import { DayAddons, SelectorView, View } from "./typings-5684a67d";
|
|
73
5
|
type YearsTableProps = {
|
|
74
6
|
/**
|
|
75
7
|
* Массив лет
|
|
@@ -201,5 +133,6 @@ type CalendarDesktopProps = {
|
|
|
201
133
|
showCurrentYearSelector?: boolean;
|
|
202
134
|
};
|
|
203
135
|
declare const CalendarDesktop: React.ForwardRefExoticComponent<CalendarDesktopProps & React.RefAttributes<HTMLDivElement>>;
|
|
204
|
-
export
|
|
205
|
-
export * from "./Component-
|
|
136
|
+
export * from "./Component-5684a67d";
|
|
137
|
+
export * from "./Component-e2b6c730";
|
|
138
|
+
export { YearsTableProps, YearsTable, CalendarDesktopProps, CalendarDesktop };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BaseInputProps } from "./index-ebda875c";
|
|
4
|
+
type InputDesktopProps = Omit<BaseInputProps, 'FormControlComponent' | 'colorStyles'>;
|
|
5
|
+
declare const InputDesktop: React.ForwardRefExoticComponent<InputDesktopProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
+
export * from "./Component.desktop-785df74d";
|
|
7
|
+
export { InputDesktopProps, InputDesktop };
|