@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,219 +1,81 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react-transition-group" />
|
|
3
3
|
import React from "react";
|
|
4
|
-
import {
|
|
5
|
-
|
|
4
|
+
import { ButtonHTMLAttributes, ElementType, FC, AnchorHTMLAttributes, ReactElement } from "react";
|
|
5
|
+
import { ButtonProps } from "../button";
|
|
6
|
+
interface CloserProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
+
* Вид компонента
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
+
view: "desktop" | "mobile";
|
|
10
11
|
/**
|
|
11
|
-
* Дополнительный класс
|
|
12
|
+
* Дополнительный класс
|
|
12
13
|
*/
|
|
13
14
|
className?: string;
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
+
* Позиция крестика
|
|
16
17
|
*/
|
|
17
|
-
|
|
18
|
+
align?: "left" | "right";
|
|
19
|
+
/**
|
|
20
|
+
* Фиксирует крестик
|
|
21
|
+
*/
|
|
22
|
+
sticky?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Иконка
|
|
25
|
+
*/
|
|
26
|
+
icon?: ElementType;
|
|
27
|
+
/**
|
|
28
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
29
|
+
*/
|
|
30
|
+
dataTestId?: string;
|
|
18
31
|
/**
|
|
19
|
-
*
|
|
32
|
+
* Коллбэк закрытия.
|
|
20
33
|
*/
|
|
21
|
-
|
|
34
|
+
onClose?: (event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
|
|
35
|
+
}
|
|
36
|
+
declare const Closer: FC<CloserProps>;
|
|
37
|
+
type IconButtonProps = {
|
|
22
38
|
/**
|
|
23
|
-
*
|
|
39
|
+
* Компонент иконки
|
|
24
40
|
*/
|
|
25
|
-
|
|
41
|
+
icon: ElementType<{
|
|
42
|
+
className?: string;
|
|
43
|
+
}> | ReactElement;
|
|
26
44
|
/**
|
|
27
|
-
*
|
|
45
|
+
* Тип кнопки
|
|
28
46
|
*/
|
|
29
|
-
|
|
47
|
+
view?: "primary" | "secondary" | "transparent" | "tertiary" | "negative";
|
|
30
48
|
/**
|
|
31
|
-
*
|
|
49
|
+
* Размер компонента
|
|
32
50
|
*/
|
|
33
|
-
|
|
51
|
+
size?: "xxs" | "xs" | "s";
|
|
34
52
|
/**
|
|
35
|
-
*
|
|
53
|
+
* Дополнительный класс
|
|
36
54
|
*/
|
|
37
|
-
|
|
55
|
+
className?: string;
|
|
38
56
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
57
|
+
* Выравнивание иконки
|
|
58
|
+
* @default 'center'
|
|
41
59
|
*/
|
|
42
|
-
|
|
60
|
+
alignIcon?: "left" | "center" | "right";
|
|
43
61
|
/**
|
|
44
|
-
*
|
|
62
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
45
63
|
*/
|
|
46
|
-
|
|
64
|
+
dataTestId?: string;
|
|
47
65
|
/**
|
|
48
|
-
*
|
|
66
|
+
* Набор цветов для компонента
|
|
49
67
|
*/
|
|
50
|
-
|
|
51
|
-
} &
|
|
52
|
-
declare const
|
|
53
|
-
|
|
68
|
+
colors?: "default" | "inverted";
|
|
69
|
+
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "Component" | "href" | "loading" | "breakpoint"> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "download">;
|
|
70
|
+
declare const IconButton: React.ForwardRefExoticComponent<{
|
|
71
|
+
icon: ElementType<{
|
|
72
|
+
className?: string;
|
|
73
|
+
}> | ReactElement;
|
|
74
|
+
view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
|
|
75
|
+
size?: "s" | "xs" | "xxs" | undefined;
|
|
54
76
|
className?: string | undefined;
|
|
77
|
+
alignIcon?: "center" | "right" | "left" | undefined;
|
|
78
|
+
dataTestId?: string | undefined;
|
|
55
79
|
colors?: "default" | "inverted" | undefined;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
autoHide?: boolean | undefined;
|
|
59
|
-
autoHideTimeout?: number | undefined;
|
|
60
|
-
forceVisible?: boolean | "x" | "y" | undefined;
|
|
61
|
-
clickOnTrack?: boolean | undefined;
|
|
62
|
-
scrollableNodeProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> | undefined;
|
|
63
|
-
contentNodeProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> | undefined;
|
|
64
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
65
|
-
declare class SimpleBar {
|
|
66
|
-
static getRtlHelpers(): {
|
|
67
|
-
isRtlScrollingInverted: boolean;
|
|
68
|
-
isRtlScrollbarInverted: boolean;
|
|
69
|
-
};
|
|
70
|
-
static defaultOptions: {
|
|
71
|
-
autoHide: boolean;
|
|
72
|
-
forceVisible: boolean;
|
|
73
|
-
clickOnTrack: boolean;
|
|
74
|
-
clickOnTrackSpeed: number;
|
|
75
|
-
classNames: {
|
|
76
|
-
contentEl: string;
|
|
77
|
-
contentWrapper: string;
|
|
78
|
-
offset: string;
|
|
79
|
-
mask: string;
|
|
80
|
-
wrapper: string;
|
|
81
|
-
placeholder: string;
|
|
82
|
-
scrollbar: string;
|
|
83
|
-
track: string;
|
|
84
|
-
heightAutoObserverWrapperEl: string;
|
|
85
|
-
heightAutoObserverEl: string;
|
|
86
|
-
visible: string;
|
|
87
|
-
horizontal: string;
|
|
88
|
-
vertical: string;
|
|
89
|
-
hover: string;
|
|
90
|
-
dragging: string;
|
|
91
|
-
};
|
|
92
|
-
scrollbarMinSize: number;
|
|
93
|
-
scrollbarMaxSize: number;
|
|
94
|
-
timeout: number;
|
|
95
|
-
};
|
|
96
|
-
static getOffset(el: any): {
|
|
97
|
-
top: any;
|
|
98
|
-
left: any;
|
|
99
|
-
};
|
|
100
|
-
static instances: WeakMap<object, any>;
|
|
101
|
-
constructor(element: any, options: any);
|
|
102
|
-
el: any;
|
|
103
|
-
minScrollbarWidth: number;
|
|
104
|
-
options: any;
|
|
105
|
-
classNames: any;
|
|
106
|
-
axis: {
|
|
107
|
-
x: {
|
|
108
|
-
scrollOffsetAttr: string;
|
|
109
|
-
sizeAttr: string;
|
|
110
|
-
scrollSizeAttr: string;
|
|
111
|
-
offsetSizeAttr: string;
|
|
112
|
-
offsetAttr: string;
|
|
113
|
-
overflowAttr: string;
|
|
114
|
-
dragOffset: number;
|
|
115
|
-
isOverflowing: boolean;
|
|
116
|
-
isVisible: boolean;
|
|
117
|
-
forceVisible: boolean;
|
|
118
|
-
track: {};
|
|
119
|
-
scrollbar: {};
|
|
120
|
-
};
|
|
121
|
-
y: {
|
|
122
|
-
scrollOffsetAttr: string;
|
|
123
|
-
sizeAttr: string;
|
|
124
|
-
scrollSizeAttr: string;
|
|
125
|
-
offsetSizeAttr: string;
|
|
126
|
-
offsetAttr: string;
|
|
127
|
-
overflowAttr: string;
|
|
128
|
-
dragOffset: number;
|
|
129
|
-
isOverflowing: boolean;
|
|
130
|
-
isVisible: boolean;
|
|
131
|
-
forceVisible: boolean;
|
|
132
|
-
track: {};
|
|
133
|
-
scrollbar: {};
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
removePreventClickId: any;
|
|
137
|
-
recalculate(): void;
|
|
138
|
-
onMouseMove: (e: any) => void;
|
|
139
|
-
hideScrollbars: () => void;
|
|
140
|
-
onWindowResize: () => void;
|
|
141
|
-
init(): void;
|
|
142
|
-
scrollbarWidth: any;
|
|
143
|
-
initDOM(): void;
|
|
144
|
-
wrapperEl: any;
|
|
145
|
-
contentWrapperEl: any;
|
|
146
|
-
contentEl: any;
|
|
147
|
-
offsetEl: any;
|
|
148
|
-
maskEl: any;
|
|
149
|
-
placeholderEl: any;
|
|
150
|
-
heightAutoObserverWrapperEl: any;
|
|
151
|
-
heightAutoObserverEl: any;
|
|
152
|
-
setAccessibilityAttributes(): void;
|
|
153
|
-
initListeners(): void;
|
|
154
|
-
resizeObserver: any;
|
|
155
|
-
mutationObserver: any;
|
|
156
|
-
elStyles: any;
|
|
157
|
-
isRtl: boolean | undefined;
|
|
158
|
-
getScrollbarSize(axis?: string): number;
|
|
159
|
-
positionScrollbar(axis?: string): void;
|
|
160
|
-
toggleTrackVisibility(axis?: string): void;
|
|
161
|
-
hideNativeScrollbar(): void;
|
|
162
|
-
onScroll: () => void;
|
|
163
|
-
scrollXTicking: boolean | undefined;
|
|
164
|
-
scrollYTicking: boolean | undefined;
|
|
165
|
-
scrollX: () => void;
|
|
166
|
-
scrollY: () => void;
|
|
167
|
-
onMouseEnter: () => void;
|
|
168
|
-
mouseX: any;
|
|
169
|
-
mouseY: any;
|
|
170
|
-
onMouseMoveForAxis(axis?: string): void;
|
|
171
|
-
onMouseLeave: () => void;
|
|
172
|
-
onMouseLeaveForAxis(axis?: string): void;
|
|
173
|
-
showScrollbar(axis?: string): void;
|
|
174
|
-
onPointerEvent: (e: any) => void;
|
|
175
|
-
onDragStart(e: any, axis?: string): void;
|
|
176
|
-
draggedAxis: string | undefined;
|
|
177
|
-
drag: (e: any) => void;
|
|
178
|
-
onEndDrag: (e: any) => void;
|
|
179
|
-
preventClick: (e: any) => void;
|
|
180
|
-
onTrackClick(e: any, axis?: string): void;
|
|
181
|
-
getContentElement(): any;
|
|
182
|
-
getScrollElement(): any;
|
|
183
|
-
getScrollbarWidth(): any;
|
|
184
|
-
removeListeners(): void;
|
|
185
|
-
unMount(): void;
|
|
186
|
-
isWithinBounds(bbox: any): boolean;
|
|
187
|
-
findChild(el: any, query: any): any;
|
|
188
|
-
}
|
|
189
|
-
declare function memoize(func: Function, resolver?: Function | undefined): Function;
|
|
190
|
-
declare namespace memoize$0 {
|
|
191
|
-
export { MapCache as Cache };
|
|
192
|
-
}
|
|
193
|
-
declare function MapCache(entries?: any[] | undefined): void;
|
|
194
|
-
declare class MapCache {
|
|
195
|
-
private constructor();
|
|
196
|
-
clear: typeof mapCacheClear;
|
|
197
|
-
delete: typeof mapCacheDelete;
|
|
198
|
-
get: typeof mapCacheGet;
|
|
199
|
-
has: typeof mapCacheHas;
|
|
200
|
-
set: typeof mapCacheSet;
|
|
201
|
-
}
|
|
202
|
-
declare function mapCacheClear(): void;
|
|
203
|
-
declare class mapCacheClear {
|
|
204
|
-
__data__: {
|
|
205
|
-
hash: Hash;
|
|
206
|
-
map: any;
|
|
207
|
-
string: Hash;
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
declare function mapCacheDelete(key: string): boolean;
|
|
211
|
-
declare function mapCacheGet(key: string): any;
|
|
212
|
-
declare function mapCacheHas(key: string): boolean;
|
|
213
|
-
declare function mapCacheSet(key: string, value: any): Object;
|
|
214
|
-
declare var canUseDOM: boolean;
|
|
215
|
-
declare function scrollbarWidth(el: any): any;
|
|
216
|
-
declare function getElementWindow(element: any): any;
|
|
217
|
-
declare function getElementDocument(element: any): any;
|
|
218
|
-
declare function getOptions(obj: any): unknown;
|
|
219
|
-
export { memoize as default, ScrollbarProps, Scrollbar, getElementWindow, getElementDocument, getOptions };
|
|
80
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "Component" | "loading" | "breakpoint"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
81
|
+
export { CloserProps, Closer, IconButtonProps, IconButton };
|
|
@@ -1,324 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { HTMLAttributes, ReactElement, ReactNode, RefObject, FC } from "react";
|
|
5
|
-
import { HandledEvents } from "react-swipeable/es/types";
|
|
6
|
-
import { TransitionProps } from "react-transition-group/Transition";
|
|
7
|
-
import { BaseModalProps } from "./index-bdb4c6b9";
|
|
8
|
-
import { NavigationBarProps } from "./index-c76d6398";
|
|
9
|
-
import { BackgroundColorType } from "./index-72dda473";
|
|
10
|
-
import { SwipeableHandlers } from "react-swipeable";
|
|
11
|
-
import { BackdropProps } from "./index-ebda875c";
|
|
12
|
-
type BottomSheetTitleAlign = "center" | "left";
|
|
13
|
-
type BottomSheetProps = {
|
|
14
|
-
/**
|
|
15
|
-
* Контент
|
|
16
|
-
*/
|
|
17
|
-
children?: ReactNode;
|
|
18
|
-
/**
|
|
19
|
-
* Управление видимостью
|
|
20
|
-
*/
|
|
21
|
-
open: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Заголовок
|
|
24
|
-
*/
|
|
25
|
-
title?: ReactNode;
|
|
26
|
-
/**
|
|
27
|
-
* Размер заголовка
|
|
28
|
-
*/
|
|
29
|
-
titleSize?: NavigationBarProps["titleSize"];
|
|
30
|
-
/**
|
|
31
|
-
* Подзаголовок.
|
|
32
|
-
*/
|
|
33
|
-
subtitle?: NavigationBarProps["subtitle"];
|
|
34
|
-
/**
|
|
35
|
-
* Кнопка действия (обычно, это кнопка закрытия)
|
|
36
|
-
*/
|
|
37
|
-
actionButton?: ReactNode;
|
|
38
|
-
/**
|
|
39
|
-
* Нода, компонент или функция возвращающая их
|
|
40
|
-
*
|
|
41
|
-
* Контейнер к которому будут добавляться порталы
|
|
42
|
-
*/
|
|
43
|
-
container?: BaseModalProps["container"];
|
|
44
|
-
/**
|
|
45
|
-
* Рендерить ли в контейнер через портал.
|
|
46
|
-
*/
|
|
47
|
-
usePortal?: BaseModalProps["usePortal"];
|
|
48
|
-
/**
|
|
49
|
-
* Дополнительный класс
|
|
50
|
-
*/
|
|
51
|
-
className?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Дополнительный класс
|
|
54
|
-
*/
|
|
55
|
-
contentClassName?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Дополнительные пропсы на контейнер.
|
|
58
|
-
*/
|
|
59
|
-
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
60
|
-
/**
|
|
61
|
-
* Дополнительный класс
|
|
62
|
-
*/
|
|
63
|
-
containerClassName?: string;
|
|
64
|
-
/**
|
|
65
|
-
* Цвет фона
|
|
66
|
-
*/
|
|
67
|
-
backgroundColor?: Extract<BackgroundColorType, "primary" | "secondary">;
|
|
68
|
-
/**
|
|
69
|
-
* Дополнительный класс шапки
|
|
70
|
-
*/
|
|
71
|
-
headerClassName?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Дополнительный класс футера
|
|
74
|
-
*/
|
|
75
|
-
footerClassName?: string;
|
|
76
|
-
/**
|
|
77
|
-
* Дополнительный класс для аддонов
|
|
78
|
-
*/
|
|
79
|
-
addonClassName?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Дополнительный класс для компонента крестика
|
|
82
|
-
*/
|
|
83
|
-
closerClassName?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Дополнительный класс для компонента стрелки назад
|
|
86
|
-
*/
|
|
87
|
-
backerClassName?: string;
|
|
88
|
-
/**
|
|
89
|
-
* Дополнительный класс для компонента модального окна
|
|
90
|
-
*/
|
|
91
|
-
modalClassName?: string;
|
|
92
|
-
/**
|
|
93
|
-
* Дополнительный класс для обертки модального окна
|
|
94
|
-
*/
|
|
95
|
-
modalWrapperClassName?: string;
|
|
96
|
-
/**
|
|
97
|
-
* Дополнительный класс для маркера
|
|
98
|
-
*/
|
|
99
|
-
swipeableMarkerClassName?: string;
|
|
100
|
-
/**
|
|
101
|
-
* Кастомный маркер
|
|
102
|
-
*/
|
|
103
|
-
swipeableMarker?: ReactElement;
|
|
104
|
-
/**
|
|
105
|
-
* TransitionProps, прокидываются в компонент CSSTransitionProps.
|
|
106
|
-
*/
|
|
107
|
-
transitionProps?: Partial<TransitionProps>;
|
|
108
|
-
/**
|
|
109
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
110
|
-
*/
|
|
111
|
-
dataTestId?: string;
|
|
112
|
-
/**
|
|
113
|
-
* z-index компонента
|
|
114
|
-
*/
|
|
115
|
-
zIndex?: number;
|
|
116
|
-
/**
|
|
117
|
-
* Будет ли свайпаться шторка
|
|
118
|
-
* @default true
|
|
119
|
-
*/
|
|
120
|
-
swipeable?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Будет ли свайпаться контент
|
|
123
|
-
*/
|
|
124
|
-
swipeableContent?: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Порог свайпа
|
|
127
|
-
*/
|
|
128
|
-
swipeThreshold?: number;
|
|
129
|
-
/**
|
|
130
|
-
* Слот слева
|
|
131
|
-
*/
|
|
132
|
-
leftAddons?: ReactNode;
|
|
133
|
-
/**
|
|
134
|
-
* Слот справа
|
|
135
|
-
*/
|
|
136
|
-
rightAddons?: ReactNode;
|
|
137
|
-
/**
|
|
138
|
-
* Слот снизу
|
|
139
|
-
*/
|
|
140
|
-
bottomAddons?: ReactNode;
|
|
141
|
-
/**
|
|
142
|
-
* Наличие компонента крестика
|
|
143
|
-
*/
|
|
144
|
-
hasCloser?: boolean;
|
|
145
|
-
/**
|
|
146
|
-
* Наличие компонента стрелки назад
|
|
147
|
-
*/
|
|
148
|
-
hasBacker?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Выравнивание заголовка
|
|
151
|
-
*/
|
|
152
|
-
titleAlign?: BottomSheetTitleAlign;
|
|
153
|
-
/**
|
|
154
|
-
* Фиксирует шапку
|
|
155
|
-
*/
|
|
156
|
-
stickyHeader?: boolean;
|
|
157
|
-
/**
|
|
158
|
-
* Фиксирует футер
|
|
159
|
-
*/
|
|
160
|
-
stickyFooter?: boolean;
|
|
161
|
-
/**
|
|
162
|
-
* Высота шторки
|
|
163
|
-
*/
|
|
164
|
-
initialHeight?: "default" | "full";
|
|
165
|
-
/**
|
|
166
|
-
* Будет ли виден оверлэй
|
|
167
|
-
*/
|
|
168
|
-
hideOverlay?: boolean;
|
|
169
|
-
/**
|
|
170
|
-
* Будет ли видна шапка
|
|
171
|
-
*/
|
|
172
|
-
hideHeader?: boolean;
|
|
173
|
-
/**
|
|
174
|
-
* Будет ли обрезан заголовок
|
|
175
|
-
*/
|
|
176
|
-
trimTitle?: boolean;
|
|
177
|
-
/**
|
|
178
|
-
* Запретить закрытие шторки кликом на оверлэй
|
|
179
|
-
*/
|
|
180
|
-
disableOverlayClick?: boolean;
|
|
181
|
-
/**
|
|
182
|
-
* Отключает блокировку скролла при открытии модального окна
|
|
183
|
-
*/
|
|
184
|
-
disableBlockingScroll?: boolean;
|
|
185
|
-
/**
|
|
186
|
-
* Отключает ловушку фокуса
|
|
187
|
-
*/
|
|
188
|
-
disableFocusLock?: boolean;
|
|
189
|
-
/**
|
|
190
|
-
* @deprecated данный проп больше не используется, временно оставлен для обратной совместимости
|
|
191
|
-
* Не анимировать шторку при изменении размера вьюпорта
|
|
192
|
-
*/
|
|
193
|
-
ignoreScreenChange?: boolean;
|
|
194
|
-
/**
|
|
195
|
-
* Свойства для Бэкдропа
|
|
196
|
-
*/
|
|
197
|
-
backdropProps?: BaseModalProps["backdropProps"];
|
|
198
|
-
/**
|
|
199
|
-
* Реф на контейнер, в котором происходит скролл
|
|
200
|
-
*/
|
|
201
|
-
scrollableContainerRef?: RefObject<HTMLElement>;
|
|
202
|
-
/**
|
|
203
|
-
* Реф для управления компонентом.
|
|
204
|
-
*/
|
|
205
|
-
bottomSheetInstanceRef?: RefObject<{
|
|
206
|
-
scrollToArea: (idx: number) => void;
|
|
207
|
-
}>;
|
|
208
|
-
/**
|
|
209
|
-
* Реф на контейнер, в котором находится шторка
|
|
210
|
-
*/
|
|
211
|
-
sheetContainerRef?: RefObject<HTMLElement>;
|
|
212
|
-
/**
|
|
213
|
-
* Магнитные области видимой высоты шторки.
|
|
214
|
-
* Можно использовать значения в пикселях - 10(число), либо в процентах - 10%(строка).
|
|
215
|
-
* По-умолчанию -[0, window.innerHeight - '24px']
|
|
216
|
-
* массив должен состоять минимум из 2 элементов
|
|
217
|
-
*/
|
|
218
|
-
magneticAreas?: Array<number | string>;
|
|
219
|
-
/**
|
|
220
|
-
* Индекс точки из magneticAreas, к которому нужно примагнититься при первом открытии шторки.
|
|
221
|
-
*/
|
|
222
|
-
initialActiveAreaIndex?: number;
|
|
223
|
-
/**
|
|
224
|
-
* Отключает скролл контентной области.
|
|
225
|
-
*/
|
|
226
|
-
scrollLocked?: boolean;
|
|
227
|
-
/**
|
|
228
|
-
* Скрыть скроллбар внутри шторки
|
|
229
|
-
*/
|
|
230
|
-
hideScrollbar?: boolean;
|
|
231
|
-
/**
|
|
232
|
-
* Верхний отступ шторки, если она открыта на максимальную высоту
|
|
233
|
-
*/
|
|
234
|
-
headerOffset?: number;
|
|
235
|
-
/**
|
|
236
|
-
* Содержимое bottom-sheet всегда в DOM
|
|
237
|
-
*/
|
|
238
|
-
keepMounted?: boolean;
|
|
239
|
-
/**
|
|
240
|
-
* Отключает автоматический перевод фокуса на bottom-sheet при открытии
|
|
241
|
-
*/
|
|
242
|
-
disableAutoFocus?: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* Отключает восстановление фокуса на предыдущем элементе после закрытия bottom-sheet
|
|
245
|
-
*/
|
|
246
|
-
disableRestoreFocus?: boolean;
|
|
247
|
-
/**
|
|
248
|
-
* Отключает вызов `onClose` при нажатии Escape
|
|
249
|
-
*/
|
|
250
|
-
disableEscapeKeyDown?: boolean;
|
|
251
|
-
/**
|
|
252
|
-
* Обработчик закрытия
|
|
253
|
-
*/
|
|
254
|
-
onClose: () => void;
|
|
255
|
-
/**
|
|
256
|
-
* Обработчик нажатия на стрелку назад
|
|
257
|
-
*/
|
|
258
|
-
onBack?: () => void;
|
|
259
|
-
/**
|
|
260
|
-
* Вызывается в начале анимации притягивания к одной из `magneticAreas`
|
|
261
|
-
*/
|
|
262
|
-
onMagnetize?: (index: number) => void;
|
|
263
|
-
/**
|
|
264
|
-
* Вызывается после окончания анимации притягивания
|
|
265
|
-
*/
|
|
266
|
-
onMagnetizeEnd?: (index: number) => void;
|
|
267
|
-
/**
|
|
268
|
-
* Вызывается при изменении положения шторки
|
|
269
|
-
*/
|
|
270
|
-
onOffsetChange?: (offset: number, percent: number) => void;
|
|
271
|
-
/**
|
|
272
|
-
* Вызывается в начале свайпа
|
|
273
|
-
*/
|
|
274
|
-
onSwipeStart?: (event: HandledEvents) => void;
|
|
275
|
-
/**
|
|
276
|
-
* Вызывается после окончания свайпа
|
|
277
|
-
*/
|
|
278
|
-
onSwipeEnd?: (event: HandledEvents | null) => void;
|
|
279
|
-
};
|
|
280
|
-
declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>>;
|
|
281
|
-
declare const TIMEOUT = 500;
|
|
282
|
-
declare const SWIPE_VELOCITY = 0.4;
|
|
283
|
-
declare const MARKER_HEIGHT = 24;
|
|
284
|
-
declare const CLOSE_OFFSET = 0.2;
|
|
285
|
-
declare const SCROLL_OFFSET = 1;
|
|
286
|
-
declare const HEADER_OFFSET = 24;
|
|
287
|
-
declare const convertPercentToNumber: (value: string | number, fullHeight: number, headerOffset?: number) => number;
|
|
288
|
-
type FooterProps = {
|
|
289
|
-
/**
|
|
290
|
-
* Контент футера
|
|
291
|
-
*/
|
|
292
|
-
children?: ReactNode;
|
|
293
|
-
/**
|
|
294
|
-
* Фиксирует футер
|
|
295
|
-
*/
|
|
296
|
-
sticky?: boolean;
|
|
297
|
-
/**
|
|
298
|
-
* Дополнительный класс
|
|
299
|
-
*/
|
|
300
|
-
className?: string;
|
|
301
|
-
};
|
|
302
|
-
declare const Footer: FC<FooterProps>;
|
|
303
|
-
type HeaderProps = Omit<NavigationBarProps, "view" | "size"> & {
|
|
304
|
-
headerRef: RefObject<HTMLDivElement>;
|
|
305
|
-
headerOffset: number;
|
|
306
|
-
};
|
|
307
|
-
declare const Header: FC<HeaderProps>;
|
|
308
|
-
type SwipeableBackdropProps = BackdropProps & {
|
|
309
|
-
/**
|
|
310
|
-
* Прозрачность бэкдропа
|
|
311
|
-
*/
|
|
312
|
-
opacity?: number;
|
|
313
|
-
/**
|
|
314
|
-
* Обработчики свайпа
|
|
315
|
-
*/
|
|
316
|
-
handlers?: SwipeableHandlers;
|
|
317
|
-
/**
|
|
318
|
-
* Время анимации opacity
|
|
319
|
-
*/
|
|
320
|
-
opacityTimeout?: number;
|
|
321
|
-
};
|
|
322
|
-
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
323
|
-
export { BottomSheet, TIMEOUT, SWIPE_VELOCITY, MARKER_HEIGHT, CLOSE_OFFSET, SCROLL_OFFSET, HEADER_OFFSET, convertPercentToNumber, FooterProps, Footer, HeaderProps, Header, SwipeableBackdropProps, SwipeableBackdrop };
|
|
324
|
-
export type { BottomSheetProps, BottomSheetTitleAlign };
|
|
1
|
+
export * from "./component-10db897e";
|
|
2
|
+
export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-67a2d8af";
|
|
3
|
+
export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
|
|
@@ -1,6 +1,64 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { BaseSelectProps, OptionProps, OptionShape } from "./typings-0f4b9bed";
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
5
|
+
type useSelectWithLoadingProps = {
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
visibleOptions?: BaseSelectProps["visibleOptions"];
|
|
8
|
+
Option?: React.FC<OptionProps>;
|
|
9
|
+
};
|
|
10
|
+
declare function useSelectWithLoading({ loading, visibleOptions, Option }: useSelectWithLoadingProps): {
|
|
11
|
+
Option: (props: OptionProps) => React.JSX.Element;
|
|
12
|
+
options: OptionShape[];
|
|
13
|
+
} | null;
|
|
14
|
+
type OptionsFetcherResponse = {
|
|
15
|
+
options: OptionShape[];
|
|
16
|
+
hasMore: boolean;
|
|
17
|
+
};
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
19
|
+
type useLazyLoadingProps = {
|
|
20
|
+
/** Количество элементов на "странице" */
|
|
21
|
+
limit?: number;
|
|
22
|
+
/** Начальный номер "страницы" */
|
|
23
|
+
initialOffset?: number;
|
|
24
|
+
/** Скелетон загружаемых элементов */
|
|
25
|
+
skeleton?: React.ReactNode;
|
|
26
|
+
/** Компонент пункта меню */
|
|
27
|
+
Option?: React.FC<OptionProps>;
|
|
28
|
+
/**
|
|
29
|
+
* Функция-загрузчик опций.
|
|
30
|
+
* @param offset - текущая страница
|
|
31
|
+
* @param limit - количество элементов на странице
|
|
32
|
+
* @param queryString - строчные данные, пробрасываемые для поиска из кастомного инпута, расположенного в заголовке OptionsList
|
|
33
|
+
* @returns Promise<{
|
|
34
|
+
* options - список опций следующей "страницы". Они аппендятся к предыдущим
|
|
35
|
+
* hasMore - указывает, есть ли еще незагруженные элементы (в случае false перестает загружать "следующую страницу")
|
|
36
|
+
* }>
|
|
37
|
+
*/
|
|
38
|
+
optionsFetcher(offset: number, limit: number, queryString?: string): Promise<OptionsFetcherResponse>;
|
|
39
|
+
};
|
|
40
|
+
declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, Option }: useLazyLoadingProps): {
|
|
41
|
+
optionsProps: {
|
|
42
|
+
Option: (props: OptionProps) => React.JSX.Element;
|
|
43
|
+
options: OptionShape[];
|
|
44
|
+
optionsListProps: {
|
|
45
|
+
ref: React.RefObject<HTMLDivElement>;
|
|
46
|
+
inputProps: {
|
|
47
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>, payload: {
|
|
48
|
+
value: string;
|
|
49
|
+
}) => void;
|
|
50
|
+
value: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
onOpen: (payload: {
|
|
54
|
+
open?: boolean;
|
|
55
|
+
}) => void;
|
|
56
|
+
};
|
|
57
|
+
reset: () => void;
|
|
58
|
+
};
|
|
1
59
|
export * from "./index-ebda875c";
|
|
2
60
|
export * from "./Component-0f4b9bed";
|
|
3
|
-
export
|
|
61
|
+
export { useSelectWithLoading, useLazyLoading };
|
|
4
62
|
export * from "./hook-8abfea97";
|
|
5
63
|
export * from "./typings-0f4b9bed";
|
|
6
64
|
export * from "./utils-0f4b9bed";
|
package/pure-cell/component.js
CHANGED
|
@@ -10,7 +10,7 @@ require('./components/addon/component.js');
|
|
|
10
10
|
require('./components/amount/component.js');
|
|
11
11
|
require('./components/amount-title/component.js');
|
|
12
12
|
require('./components/category/component.js');
|
|
13
|
-
var components_content_component = require('./component-
|
|
13
|
+
var components_content_component = require('./component-0bb227ff.js');
|
|
14
14
|
require('./components/footer/component.js');
|
|
15
15
|
require('./components/footer-button/component.js');
|
|
16
16
|
require('./components/footer-text/component.js');
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
3
3
|
require('react');
|
|
4
4
|
require('classnames');
|
|
5
5
|
require('../../../shared');
|
|
6
|
-
var components_content_component = require('../../component-
|
|
6
|
+
var components_content_component = require('../../component-0bb227ff.js');
|
|
7
7
|
require('tslib');
|
|
8
8
|
require('react-merge-refs');
|
|
9
9
|
require('../../../comment');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-0bb227ff";
|