@alfalab/core-components 42.14.0-beta.0 → 42.14.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calendar-input/Component-10db897e.d.ts +183 -3
- package/calendar-input/Component-5684a67d.d.ts +23 -0
- package/calendar-input/Component-69921c40.d.ts +12 -172
- package/calendar-input/Component-e2b6c730.d.ts +76 -0
- package/calendar-input/Component.desktop-b5b4c59f.d.ts +5 -72
- package/calendar-input/components/calendar-input/Component.d.ts +1 -1
- package/{custom-picker-button/cssm → calendar-input}/desktop-89f0cb07.d.ts +1 -1
- package/calendar-input/esm/Component-10db897e.d.ts +183 -3
- package/calendar-input/esm/Component-5684a67d.d.ts +23 -0
- package/calendar-input/esm/Component-69921c40.d.ts +12 -172
- package/calendar-input/esm/Component-e2b6c730.d.ts +76 -0
- package/calendar-input/esm/Component.desktop-b5b4c59f.d.ts +5 -72
- package/calendar-input/esm/components/calendar-input/Component.d.ts +1 -1
- package/calendar-input/esm/{desktop-69921c40.d.ts → desktop-89f0cb07.d.ts} +1 -1
- package/calendar-input/esm/index-89f0cb07.d.ts +1 -1
- package/calendar-input/esm/index-ebda875c.d.ts +1 -1
- package/calendar-input/esm/index-f034f741.d.ts +2 -80
- package/calendar-input/esm/mobile-c219f8ca.d.ts +368 -1
- package/calendar-input/esm/utils-e0a54580.d.ts +8 -0
- package/calendar-input/index-89f0cb07.d.ts +1 -1
- package/calendar-input/index-ebda875c.d.ts +1 -1
- package/calendar-input/index-f034f741.d.ts +2 -80
- package/calendar-input/mobile-c219f8ca.d.ts +368 -1
- package/calendar-input/utils-e0a54580.d.ts +8 -0
- package/confirmation/component.desktop.js +1 -1
- package/confirmation/component.mobile.js +1 -1
- package/confirmation/component.responsive.js +1 -1
- package/confirmation/components/base-confirmation/component.js +1 -1
- package/confirmation/components/base-confirmation/index.js +1 -1
- package/confirmation/components/index.js +1 -1
- package/confirmation/components/screens/index.js +1 -1
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/components/screens/initial/index.js +1 -1
- package/confirmation/desktop.js +1 -1
- package/confirmation/esm/component.desktop.js +1 -1
- package/confirmation/esm/component.mobile.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile.js +1 -1
- package/confirmation/esm/shared.js +1 -1
- package/confirmation/index.js +1 -1
- package/confirmation/mobile.js +1 -1
- package/confirmation/modern/component.desktop.js +1 -1
- package/confirmation/modern/component.mobile.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile.js +1 -1
- package/confirmation/modern/shared.js +1 -1
- package/confirmation/shared.js +1 -1
- package/custom-picker-button/cssm/Component-0f4b9bed.d.ts +4 -21
- package/custom-picker-button/cssm/Component-10db897e.d.ts +265 -41
- package/custom-picker-button/cssm/Component-aed0af6e.d.ts +11 -0
- package/custom-picker-button/cssm/Component-ebda875c.d.ts +98 -9
- package/custom-picker-button/cssm/Component-f12ee135.d.ts +72 -0
- package/custom-picker-button/cssm/Component.desktop-4cd3936b.d.ts +49 -0
- package/custom-picker-button/cssm/Component.desktop-785df74d.d.ts +1 -1
- package/custom-picker-button/cssm/Component.mobile-96988a65.d.ts +6 -0
- package/custom-picker-button/cssm/Component.mobile-d7e9f69d.d.ts +1 -1
- package/custom-picker-button/cssm/Component.mobile.d.ts +9 -1
- package/custom-picker-button/cssm/{index-8b2c2707.d.ts → Component.responsive-0aa4e915.d.ts} +1 -2
- package/custom-picker-button/cssm/Component.responsive-d7e9f69d.d.ts +26 -0
- package/custom-picker-button/cssm/desktop-d446ae02.d.ts +2 -39
- package/custom-picker-button/cssm/hook-8abfea97.d.ts +4 -4
- package/custom-picker-button/cssm/hook-ebda875c.d.ts +48 -0
- package/custom-picker-button/cssm/index-89f0cb07.d.ts +2 -0
- package/custom-picker-button/cssm/index-bdb4c6b9.d.ts +180 -2
- package/custom-picker-button/cssm/index-c44170fe.d.ts +2 -17
- package/custom-picker-button/cssm/index-ebda875c.d.ts +200 -18
- package/custom-picker-button/cssm/index-f12ee135.d.ts +324 -3
- package/custom-picker-button/cssm/shared-4cd3936b.d.ts +1 -60
- 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/input/esm/Component.mobile-ebda875c.d.ts +6 -0
- package/input-autocomplete/Component-0f4b9bed.d.ts +3 -70
- package/input-autocomplete/Component-511e54fa.d.ts +9 -0
- package/input-autocomplete/Component-72dda473.d.ts +53 -0
- package/input-autocomplete/Component-aed0af6e.d.ts +11 -0
- package/input-autocomplete/Component-ebda875c.d.ts +293 -8
- package/input-autocomplete/Component-f12ee135.d.ts +72 -0
- package/input-autocomplete/Component.desktop.d.ts +1 -1
- package/input-autocomplete/Component.mobile.d.ts +2 -2
- package/input-autocomplete/Component.modal.mobile.d.ts +3 -3
- package/input-autocomplete/Component.responsive.d.ts +4 -4
- package/input-autocomplete/hook-8abfea97.d.ts +4 -4
- package/input-autocomplete/hook-ebda875c.d.ts +48 -0
- package/input-autocomplete/index-bdb4c6b9.d.ts +180 -2
- package/input-autocomplete/index-c76d6398.d.ts +184 -6
- package/input-autocomplete/index-ebda875c.d.ts +190 -117
- package/input-autocomplete/index-f12ee135.d.ts +275 -3
- package/{custom-picker-button/cssm/Component.modal.mobile-0f4b9bed.d.ts → input-autocomplete/mobile-45dc17c6.d.ts} +13 -26
- package/input-autocomplete/shared-4cd3936b.d.ts +1 -59
- package/package.json +1 -1
- package/pass-code/Component-89f0cb07.d.ts +1 -1
- package/phone-input/cssm/utils/index.js +1 -3
- package/pure-cell/component-5a229016.d.ts +5 -5
- 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/esm/Component.mobile.js +1 -1
- package/select/esm/Component.modal.mobile.js +1 -1
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile.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-f1f15074.d.ts +11 -11
- package/select/modern/Component.mobile.js +1 -1
- package/select/modern/Component.modal.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared.js +1 -1
- package/select-with-tags/components/tag-list/component.js +2 -2
- package/select-with-tags/cssm/components/tag-list/component.js +2 -2
- package/select-with-tags/esm/components/tag-list/component.js +3 -3
- package/select-with-tags/modern/components/tag-list/component.js +3 -3
- package/table/esm/desktop-69921c40.d.ts +1 -1
- package/table/esm/index-ebda875c.d.ts +1 -1
- package/table/esm/mobile-89f0cb07.d.ts +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 +1 -1
- package/tabs/components/primary-tablist/Component.mobile.js +1 -1
- package/tabs/components/primary-tablist/Component.responsive.js +1 -1
- 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 +2 -2
- package/tabs/components/tabs/Component.mobile.js +2 -2
- package/tabs/components/tabs/Component.responsive.js +2 -2
- package/tabs/desktop.js +2 -2
- 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 +1 -1
- package/tabs/esm/components/primary-tablist/Component.mobile.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.responsive.js +1 -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 +2 -2
- package/tabs/esm/components/tabs/Component.mobile.js +2 -2
- package/tabs/esm/components/tabs/Component.responsive.js +2 -2
- package/tabs/esm/desktop.js +2 -2
- package/tabs/esm/index.js +2 -2
- package/tabs/esm/mobile.js +2 -2
- package/tabs/index.js +2 -2
- package/tabs/mobile.js +2 -2
- 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 +1 -1
- package/tabs/modern/components/primary-tablist/Component.mobile.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.responsive.js +1 -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 +2 -2
- package/tabs/modern/components/tabs/Component.mobile.js +2 -2
- package/tabs/modern/components/tabs/Component.responsive.js +2 -2
- package/tabs/modern/desktop.js +2 -2
- package/tabs/modern/index.js +2 -2
- package/tabs/modern/mobile.js +2 -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 +32 -32
- package/themes/dist/compiled/mobile-dark-bluetint.css +77 -77
- 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/calendar-input/Component-b5b4c59f.d.ts +0 -389
- package/calendar-input/Component-ebda875c.d.ts +0 -35
- package/calendar-input/esm/Component-b5b4c59f.d.ts +0 -389
- package/calendar-input/esm/Component-ebda875c.d.ts +0 -35
- package/custom-picker-button/cssm/Component-69921c40.d.ts +0 -184
- package/custom-picker-button/cssm/Component-89f0cb07.d.ts +0 -38
- package/custom-picker-button/cssm/Component-8b2c2707.d.ts +0 -12
- package/custom-picker-button/cssm/Component.mobile-d446ae02.d.ts +0 -23
- package/custom-picker-button/cssm/component-10db897e.d.ts +0 -44
- package/custom-picker-button/cssm/mobile-89f0cb07.d.ts +0 -2
- package/custom-picker-button/cssm/types-67a2d8af.d.ts +0 -276
- package/custom-picker-button/cssm/utils-1574ad8b.d.ts +0 -29
- package/custom-picker-button/cssm/utils-49cc3c24.d.ts +0 -8
- package/input/esm/Component.desktop-ebda875c.d.ts +0 -6
- package/input-autocomplete/Component-69921c40.d.ts +0 -184
- package/input-autocomplete/Component.modal.mobile-0f4b9bed.d.ts +0 -60
- package/input-autocomplete/mobile-f28cbba0.d.ts +0 -5
- package/input-autocomplete/types-72dda473.d.ts +0 -276
- package/input-autocomplete/utils-1574ad8b.d.ts +0 -29
- /package/calendar-input/{Component.desktop-0aa4e915.d.ts → Component.desktop-89f0cb07.d.ts} +0 -0
- /package/calendar-input/{Component.responsive-0aa4e915.d.ts → Component.responsive-16b1285a.d.ts} +0 -0
- /package/calendar-input/{desktop-63dec22f.d.ts → desktop-b5b4c59f.d.ts} +0 -0
- /package/calendar-input/esm/{Component.desktop-0aa4e915.d.ts → Component.desktop-89f0cb07.d.ts} +0 -0
- /package/calendar-input/esm/{Component.responsive-0aa4e915.d.ts → Component.responsive-16b1285a.d.ts} +0 -0
- /package/calendar-input/esm/{desktop-63dec22f.d.ts → desktop-b5b4c59f.d.ts} +0 -0
- /package/calendar-input/esm/{shared-f034f741.d.ts → shared-71d94e2b.d.ts} +0 -0
- /package/calendar-input/{shared-f034f741.d.ts → shared-71d94e2b.d.ts} +0 -0
- /package/confirmation/{countdown-section-6c6108cc.d.ts → countdown-section-8723262f.d.ts} +0 -0
- /package/confirmation/{countdown-section-6c6108cc.js → countdown-section-8723262f.js} +0 -0
- /package/confirmation/esm/{countdown-section-d6bdbf45.d.ts → countdown-section-59445a9d.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-d6bdbf45.js → countdown-section-59445a9d.js} +0 -0
- /package/confirmation/modern/{countdown-section-3348e907.d.ts → countdown-section-9d58dbd0.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-3348e907.js → countdown-section-9d58dbd0.js} +0 -0
- /package/{calendar-input → custom-picker-button/cssm}/desktop-69921c40.d.ts +0 -0
- /package/custom-picker-button/cssm/{mobile-d7e9f69d.d.ts → mobile-96988a65.d.ts} +0 -0
- /package/custom-picker-button/cssm/{useSkeleton-ebda875c.d.ts → useSkeleton-1b036d4b.d.ts} +0 -0
- /package/gallery/{buttons-956df736.d.ts → buttons-c2946e99.d.ts} +0 -0
- /package/gallery/{buttons-956df736.js → buttons-c2946e99.js} +0 -0
- /package/gallery/esm/{buttons-aea7680d.d.ts → buttons-2f514347.d.ts} +0 -0
- /package/gallery/esm/{buttons-aea7680d.js → buttons-2f514347.js} +0 -0
- /package/gallery/esm/{slide-b35666e6.d.ts → slide-6200c841.d.ts} +0 -0
- /package/gallery/esm/{slide-b35666e6.js → slide-6200c841.js} +0 -0
- /package/gallery/modern/{buttons-1db6ece7.d.ts → buttons-daed8c53.d.ts} +0 -0
- /package/gallery/modern/{buttons-1db6ece7.js → buttons-daed8c53.js} +0 -0
- /package/gallery/modern/{slide-bfc856d6.d.ts → slide-9c566ede.d.ts} +0 -0
- /package/gallery/modern/{slide-bfc856d6.js → slide-9c566ede.js} +0 -0
- /package/gallery/{slide-cb28b058.d.ts → slide-7341a45a.d.ts} +0 -0
- /package/gallery/{slide-cb28b058.js → slide-7341a45a.js} +0 -0
- /package/input-autocomplete/{desktop-69921c40.d.ts → desktop-89f0cb07.d.ts} +0 -0
- /package/input-autocomplete/{mobile-89f0cb07.d.ts → mobile-511e54fa.d.ts} +0 -0
- /package/input-autocomplete/{useSkeleton-ebda875c.d.ts → useSkeleton-1b036d4b.d.ts} +0 -0
- /package/pure-cell/{component-e27ea294.d.ts → component-7136d2c4.d.ts} +0 -0
- /package/pure-cell/{component-e27ea294.js → component-7136d2c4.js} +0 -0
- /package/pure-cell/esm/{component-91d54387.d.ts → component-9283ef49.d.ts} +0 -0
- /package/pure-cell/esm/{component-91d54387.js → component-9283ef49.js} +0 -0
- /package/pure-cell/modern/{component-b4d6f3df.d.ts → component-a054d5de.d.ts} +0 -0
- /package/pure-cell/modern/{component-b4d6f3df.js → component-a054d5de.js} +0 -0
- /package/select/esm/{hook-1e576b85.d.ts → hook-518a91e8.d.ts} +0 -0
- /package/select/esm/{hook-1e576b85.js → hook-518a91e8.js} +0 -0
- /package/select/{hook-ccde557f.d.ts → hook-a53d56df.d.ts} +0 -0
- /package/select/{hook-ccde557f.js → hook-a53d56df.js} +0 -0
- /package/select/modern/{hook-99a2fb1e.d.ts → hook-d12722c8.d.ts} +0 -0
- /package/select/modern/{hook-99a2fb1e.js → hook-d12722c8.js} +0 -0
- /package/tabs/esm/{index.module-7113783f.js → index.module-0f6b39bf.js} +0 -0
- /package/tabs/esm/{index.module-86ab206a.js → index.module-60cd5e36.js} +0 -0
- /package/tabs/{index.module-9c73a2c9.js → index.module-3aa3fb0d.js} +0 -0
- /package/tabs/{index.module-93bf43a7.js → index.module-e49b1aad.js} +0 -0
- /package/tabs/modern/{index.module-093870a5.js → index.module-15662f77.js} +0 -0
- /package/tabs/modern/{index.module-c208eaf4.js → index.module-7ebfe235.js} +0 -0
- /package/textarea/{PseudoTextArea-127b3039.d.ts → PseudoTextArea-b2663c55.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-127b3039.js → PseudoTextArea-b2663c55.js} +0 -0
- /package/textarea/esm/{PseudoTextArea-753420b6.d.ts → PseudoTextArea-d59909ae.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-753420b6.js → PseudoTextArea-d59909ae.js} +0 -0
- /package/textarea/modern/{PseudoTextArea-225560e0.d.ts → PseudoTextArea-289e846a.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-225560e0.js → PseudoTextArea-289e846a.js} +0 -0
- /package/typography/{colors.module-ac9930eb.js → colors.module-146acee0.js} +0 -0
- /package/typography/{common.module-bcc7d762.js → common.module-1d14d6b1.js} +0 -0
- /package/typography/esm/{colors.module-2c86edcf.js → colors.module-be2eb231.js} +0 -0
- /package/typography/esm/{common.module-8c88e5ef.js → common.module-b56a8aa0.js} +0 -0
- /package/typography/modern/{colors.module-30df9d7a.js → colors.module-f71cc7ad.js} +0 -0
- /package/typography/modern/{common.module-be4581e7.js → common.module-6d66fc7d.js} +0 -0
|
@@ -1,146 +1,219 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react-transition-group" />
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { HTMLAttributes
|
|
5
|
-
type
|
|
6
|
-
default: {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
};
|
|
9
|
-
inverted: {
|
|
10
|
-
[key: string]: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
type BaseFormControlProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
import { HTMLAttributes } from "react";
|
|
5
|
+
type ScrollbarProps = {
|
|
14
6
|
/**
|
|
15
|
-
*
|
|
7
|
+
* Оборачиваемый элемент.
|
|
16
8
|
*/
|
|
17
|
-
|
|
9
|
+
children?: React.ReactNode;
|
|
18
10
|
/**
|
|
19
|
-
*
|
|
11
|
+
* Дополнительный класс на корневой элемент.
|
|
20
12
|
*/
|
|
21
|
-
|
|
13
|
+
className?: string;
|
|
22
14
|
/**
|
|
23
15
|
* Набор цветов для компонента
|
|
24
16
|
*/
|
|
25
17
|
colors?: "default" | "inverted";
|
|
26
18
|
/**
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Cостояние только для чтения
|
|
32
|
-
*/
|
|
33
|
-
readOnly?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Заполненное состояние
|
|
36
|
-
*/
|
|
37
|
-
filled?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Выбранное (фокус) состояние
|
|
40
|
-
*/
|
|
41
|
-
focused?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Отображение ошибки
|
|
44
|
-
*/
|
|
45
|
-
error?: ReactNode | boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Текст подсказки
|
|
48
|
-
*/
|
|
49
|
-
hint?: ReactNode;
|
|
50
|
-
/**
|
|
51
|
-
* Лейбл компонента
|
|
19
|
+
* Растягивать контент по горизонтали по ширине содержимого.
|
|
52
20
|
*/
|
|
53
|
-
|
|
21
|
+
horizontalAutoStretch?: boolean;
|
|
54
22
|
/**
|
|
55
|
-
*
|
|
23
|
+
* Название css свойства, которое устанавливается на контейнер при horizontalAutoStretch.
|
|
56
24
|
*/
|
|
57
|
-
|
|
25
|
+
widthPropName?: "minWidth" | "width" | "maxWidth";
|
|
58
26
|
/**
|
|
59
|
-
*
|
|
27
|
+
* Включает автоскрытие ползунка.
|
|
60
28
|
*/
|
|
61
|
-
|
|
29
|
+
autoHide?: boolean;
|
|
62
30
|
/**
|
|
63
|
-
*
|
|
31
|
+
* Время в мс, определяющее задержку до исчезновения полосы прокрутки (при включенной опции autoHide).
|
|
64
32
|
*/
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Слот под полем
|
|
68
|
-
*/
|
|
69
|
-
bottomAddons?: ReactNode;
|
|
70
|
-
/**
|
|
71
|
-
* Дополнительный класс
|
|
72
|
-
*/
|
|
73
|
-
className?: string;
|
|
33
|
+
autoHideTimeout?: number;
|
|
74
34
|
/**
|
|
75
|
-
*
|
|
35
|
+
* Принудительное отображение полосы прокрутки.
|
|
76
36
|
*/
|
|
77
|
-
|
|
37
|
+
forceVisible?: boolean | "x" | "y";
|
|
78
38
|
/**
|
|
79
|
-
*
|
|
39
|
+
* Управление поведением клика по треку.
|
|
40
|
+
* Если true, то будет выполняться прокрутка к месту клика.
|
|
80
41
|
*/
|
|
81
|
-
|
|
42
|
+
clickOnTrack?: boolean;
|
|
82
43
|
/**
|
|
83
|
-
*
|
|
44
|
+
* HTML-aтрибуты на прокручиваемый узел.
|
|
84
45
|
*/
|
|
85
|
-
|
|
46
|
+
scrollableNodeProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
86
47
|
/**
|
|
87
|
-
*
|
|
48
|
+
* HTML-aтрибуты на узел с контентом.
|
|
88
49
|
*/
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
leftAddonsProps?: HTMLAttributes<HTMLDivElement>;
|
|
94
|
-
/**
|
|
95
|
-
* Свойства для обертки правых аддонов
|
|
96
|
-
*/
|
|
97
|
-
rightAddonsProps?: HTMLAttributes<HTMLDivElement>;
|
|
98
|
-
/**
|
|
99
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
100
|
-
*/
|
|
101
|
-
dataTestId?: string;
|
|
102
|
-
/**
|
|
103
|
-
* Компонент поля (инпут, textarea и пр.)
|
|
104
|
-
*/
|
|
105
|
-
children?: ReactNode;
|
|
106
|
-
/**
|
|
107
|
-
* Основные стили компонента.
|
|
108
|
-
*/
|
|
109
|
-
styles: {
|
|
110
|
-
[key: string]: string;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Стили компонента для default и inverted режима.
|
|
114
|
-
*/
|
|
115
|
-
colorStyles?: StyleColors;
|
|
116
|
-
};
|
|
117
|
-
declare const BaseFormControl: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
118
|
-
block?: boolean | undefined;
|
|
119
|
-
size?: "s" | "m" | "l" | "xl" | undefined;
|
|
120
|
-
colors?: "default" | "inverted" | undefined;
|
|
121
|
-
disabled?: boolean | undefined;
|
|
122
|
-
readOnly?: boolean | undefined;
|
|
123
|
-
filled?: boolean | undefined;
|
|
124
|
-
focused?: boolean | undefined;
|
|
125
|
-
error?: ReactNode | boolean;
|
|
126
|
-
hint?: ReactNode;
|
|
127
|
-
label?: ReactNode;
|
|
128
|
-
labelView?: "inner" | "outer" | undefined;
|
|
129
|
-
leftAddons?: ReactNode;
|
|
130
|
-
rightAddons?: ReactNode;
|
|
131
|
-
bottomAddons?: ReactNode;
|
|
50
|
+
contentNodeProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
51
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
52
|
+
declare const Scrollbar: React.ForwardRefExoticComponent<{
|
|
53
|
+
children?: React.ReactNode;
|
|
132
54
|
className?: string | undefined;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
55
|
+
colors?: "default" | "inverted" | undefined;
|
|
56
|
+
horizontalAutoStretch?: boolean | undefined;
|
|
57
|
+
widthPropName?: "minWidth" | "width" | "maxWidth" | undefined;
|
|
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;
|
|
143
208
|
};
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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 };
|
|
@@ -1,10 +1,282 @@
|
|
|
1
|
+
/// <reference types="react-transition-group" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import React from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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";
|
|
5
8
|
import { NavigationBarProps } from "./index-c76d6398";
|
|
9
|
+
import { BackgroundColorType } from "./index-72dda473";
|
|
6
10
|
import { SwipeableHandlers } from "react-swipeable";
|
|
7
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
|
+
};
|
|
8
280
|
declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
281
|
declare const TIMEOUT = 500;
|
|
10
282
|
declare const SWIPE_VELOCITY = 0.4;
|
|
@@ -49,4 +321,4 @@ type SwipeableBackdropProps = BackdropProps & {
|
|
|
49
321
|
};
|
|
50
322
|
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
51
323
|
export { BottomSheet, TIMEOUT, SWIPE_VELOCITY, MARKER_HEIGHT, CLOSE_OFFSET, SCROLL_OFFSET, HEADER_OFFSET, convertPercentToNumber, FooterProps, Footer, HeaderProps, Header, SwipeableBackdropProps, SwipeableBackdrop };
|
|
52
|
-
export type { BottomSheetProps, BottomSheetTitleAlign }
|
|
324
|
+
export type { BottomSheetProps, BottomSheetTitleAlign };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
2
|
+
import React from "react";
|
|
3
3
|
import { ModalMobile } from "./Component.mobile-f1f15074";
|
|
4
4
|
import { UseSelectWithApplyProps } from "./hook-8abfea97";
|
|
5
5
|
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
6
|
-
type SelectModalMobileProps = Omit<BaseSelectProps,
|
|
6
|
+
type SelectModalMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & {
|
|
7
7
|
/**
|
|
8
8
|
* Показывать кнопку очистки
|
|
9
9
|
*/
|
|
10
|
-
showClear?: UseSelectWithApplyProps[
|
|
10
|
+
showClear?: UseSelectWithApplyProps["showClear"];
|
|
11
11
|
/**
|
|
12
12
|
* Показывать пункт "Выбрать все"
|
|
13
13
|
*/
|
|
14
|
-
showSelectAll?: UseSelectWithApplyProps[
|
|
14
|
+
showSelectAll?: UseSelectWithApplyProps["showSelectAll"];
|
|
15
15
|
/**
|
|
16
16
|
* Дополнительные пропсы шапки модалки
|
|
17
17
|
*/
|
|
@@ -24,37 +24,24 @@ type SelectModalMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> &
|
|
|
24
24
|
* Дополнительные пропсы футера модалки
|
|
25
25
|
*/
|
|
26
26
|
modalFooterProps?: Partial<React.ComponentProps<typeof ModalMobile.Footer>>;
|
|
27
|
-
|
|
27
|
+
/*
|
|
28
|
+
* Показывать пункт "Выбрать все" в заголовке списка
|
|
29
|
+
*/
|
|
30
|
+
showHeaderWithSelectAll?: UseSelectWithApplyProps["showHeaderWithSelectAll"];
|
|
28
31
|
/**
|
|
29
32
|
* Использовать ли хук useSelectWithApply
|
|
30
33
|
*/
|
|
31
34
|
useWithApplyHook?: boolean;
|
|
32
35
|
};
|
|
33
36
|
declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*/
|
|
37
|
-
showClear?: UseSelectWithApplyProps['showClear'];
|
|
38
|
-
/**
|
|
39
|
-
* Показывать пункт "Выбрать все"
|
|
40
|
-
*/
|
|
41
|
-
showSelectAll?: UseSelectWithApplyProps['showSelectAll'];
|
|
42
|
-
/**
|
|
43
|
-
* Дополнительные пропсы шапки модалки
|
|
44
|
-
*/
|
|
37
|
+
showClear?: UseSelectWithApplyProps["showClear"];
|
|
38
|
+
showSelectAll?: UseSelectWithApplyProps["showSelectAll"];
|
|
45
39
|
modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* Дополнительные пропсы модалки
|
|
48
|
-
*/
|
|
49
40
|
modalProps?: Partial<import("./typings-bdb4c6b9").ModalMobileProps & React.RefAttributes<HTMLDivElement>> | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* Дополнительные пропсы футера модалки
|
|
52
|
-
*/
|
|
53
41
|
modalFooterProps?: Partial<import("./Component.mobile-f1f15074").FooterProps> | undefined;
|
|
54
|
-
showHeaderWithSelectAll?: UseSelectWithApplyProps[
|
|
55
|
-
/**
|
|
56
|
-
* Использовать ли хук useSelectWithApply
|
|
57
|
-
*/
|
|
42
|
+
showHeaderWithSelectAll?: UseSelectWithApplyProps["showHeaderWithSelectAll"];
|
|
58
43
|
useWithApplyHook?: boolean | undefined;
|
|
59
44
|
} & React.RefAttributes<unknown>>;
|
|
60
45
|
export { SelectModalMobileProps, SelectModalMobile };
|
|
46
|
+
export { SelectMobile } from "./Component.mobile-f28cbba0";
|
|
47
|
+
export type { SelectMobileProps } from "./Component.mobile-f28cbba0";
|