@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
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
6
|
+
type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
|
+
/**
|
|
8
|
+
* Футер
|
|
9
|
+
* @deprecated Используйте bottomSheetProps.actionButton
|
|
10
|
+
*/
|
|
11
|
+
footer?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Будет ли свайпаться шторка
|
|
14
|
+
* @deprecated Используйте bottomSheetProps.swipeable
|
|
15
|
+
*/
|
|
16
|
+
swipeable?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Отображать в BottomSheet
|
|
19
|
+
*/
|
|
20
|
+
isBottomSheet?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Дополнительные пропсы шторки
|
|
23
|
+
*/
|
|
24
|
+
bottomSheetProps?: Partial<BottomSheetProps>;
|
|
25
|
+
/**
|
|
26
|
+
* Дополнительные пропсы модалки
|
|
27
|
+
*/
|
|
28
|
+
modalProps?: Partial<React.ComponentProps<typeof ModalMobile>>;
|
|
29
|
+
/**
|
|
30
|
+
* Дополнительные пропсы шапки модалки
|
|
31
|
+
*/
|
|
32
|
+
modalHeaderProps?: Partial<React.ComponentProps<typeof ModalMobile.Header>>;
|
|
33
|
+
/**
|
|
34
|
+
* Дополнительные пропсы футера модалки
|
|
35
|
+
*/
|
|
36
|
+
modalFooterProps?: Partial<React.ComponentProps<typeof ModalMobile.Footer>>;
|
|
37
|
+
};
|
|
38
|
+
declare const BaseSelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & {
|
|
39
|
+
/**
|
|
40
|
+
* Футер
|
|
41
|
+
* @deprecated Используйте bottomSheetProps.actionButton
|
|
42
|
+
*/
|
|
43
|
+
footer?: ReactNode;
|
|
44
|
+
/**
|
|
45
|
+
* Будет ли свайпаться шторка
|
|
46
|
+
* @deprecated Используйте bottomSheetProps.swipeable
|
|
47
|
+
*/
|
|
48
|
+
swipeable?: boolean | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Отображать в BottomSheet
|
|
51
|
+
*/
|
|
52
|
+
isBottomSheet?: boolean | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Дополнительные пропсы шторки
|
|
55
|
+
*/
|
|
56
|
+
bottomSheetProps?: Partial<BottomSheetProps> | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Дополнительные пропсы модалки
|
|
59
|
+
*/
|
|
60
|
+
modalProps?: Partial<ModalMobileProps & React.RefAttributes<HTMLDivElement>> | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Дополнительные пропсы шапки модалки
|
|
63
|
+
*/
|
|
64
|
+
modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Дополнительные пропсы футера модалки
|
|
67
|
+
*/
|
|
68
|
+
modalFooterProps?: Partial<import("./Component.mobile-f1f15074").FooterProps> | undefined;
|
|
69
|
+
} & React.RefAttributes<unknown>>;
|
|
70
|
+
export * from "./Component.mobile-f1f15074";
|
|
71
|
+
export { ModalMobileProps } from "./typings-bdb4c6b9";
|
|
72
|
+
export { SelectMobileProps, BaseSelectMobile };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { FC, SVGProps } from "react";
|
|
4
|
+
import { ButtonProps } from "./index-89f0cb07";
|
|
5
|
+
import { BaseSelectProps } from "./shared-4cd3936b";
|
|
6
|
+
import { PickerButtonSize, PickerButtonVariant } from "./types-4480ac4f";
|
|
7
|
+
type PickerButtonDesktopProps = Omit<BaseSelectProps, 'placeholder' | 'Arrow' | 'autocomplete' | 'size' | 'onFocus' | 'selected' | 'closeOnSelect' | 'multiple' | 'hint' | 'allowUnselect' | 'options' | 'searchProps' | 'showSearch' | 'Search'> & Pick<ButtonProps, 'view' | 'loading' | 'leftAddons' | 'rightAddons'> & {
|
|
8
|
+
options: Array<BaseSelectProps['options'][0] & {
|
|
9
|
+
/**
|
|
10
|
+
* Иконка, отображающаяся слева от текстового представления пункта
|
|
11
|
+
*/
|
|
12
|
+
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Размер кнопки
|
|
16
|
+
*/
|
|
17
|
+
size?: PickerButtonSize;
|
|
18
|
+
/**
|
|
19
|
+
* Тип кнопки
|
|
20
|
+
*/
|
|
21
|
+
variant?: PickerButtonVariant;
|
|
22
|
+
/**
|
|
23
|
+
* Показывать стрелку
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
showArrow?: boolean;
|
|
27
|
+
};
|
|
28
|
+
declare const PickerButtonDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "size" | "placeholder" | "onFocus" | "selected" | "multiple" | "hint" | "options" | "Arrow" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "showSearch" | "Search" | "searchProps"> & Pick<ButtonProps, "view" | "leftAddons" | "rightAddons" | "loading"> & {
|
|
29
|
+
options: Array<BaseSelectProps['options'][0] & {
|
|
30
|
+
/**
|
|
31
|
+
* Иконка, отображающаяся слева от текстового представления пункта
|
|
32
|
+
*/
|
|
33
|
+
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
34
|
+
}>;
|
|
35
|
+
/**
|
|
36
|
+
* Размер кнопки
|
|
37
|
+
*/
|
|
38
|
+
size?: PickerButtonSize | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Тип кнопки
|
|
41
|
+
*/
|
|
42
|
+
variant?: PickerButtonVariant | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Показывать стрелку
|
|
45
|
+
* @default true
|
|
46
|
+
*/
|
|
47
|
+
showArrow?: boolean | undefined;
|
|
48
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
49
|
+
export { PickerButtonDesktopProps, PickerButtonDesktop };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { BaseFormControlProps } from "./index-
|
|
3
|
+
import { BaseFormControlProps } from "./index-ebda875c";
|
|
4
4
|
type FormControlDesktopProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
|
|
5
5
|
declare const FormControlDesktop: React.ForwardRefExoticComponent<FormControlDesktopProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { FormControlDesktopProps, FormControlDesktop };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BaseInputProps } from "./index-ebda875c";
|
|
4
|
+
type InputMobileProps = Omit<BaseInputProps, 'FormControlComponent' | 'colorStyles'>;
|
|
5
|
+
declare const InputMobile: React.ForwardRefExoticComponent<InputMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
+
export { InputMobileProps, InputMobile };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { BaseFormControlProps } from "./index-
|
|
3
|
+
import { BaseFormControlProps } from "./index-ebda875c";
|
|
4
4
|
type FormControlMobileProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
|
|
5
5
|
declare const FormControlMobile: React.ForwardRefExoticComponent<FormControlMobileProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { FormControlMobileProps, FormControlMobile };
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { CustomButtonProps } from "../../custom-button";
|
|
4
|
-
import {
|
|
4
|
+
import { AdditionalMobileProps } from "./shared-4cd3936b";
|
|
5
|
+
import { PickerButtonDesktopProps } from "./desktop-d446ae02";
|
|
6
|
+
type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, "OptionsList" | "Checkmark" | "onScroll"> & AdditionalMobileProps & {
|
|
7
|
+
/**
|
|
8
|
+
* Контрольная точка для кнопки, с нее начинается desktop версия
|
|
9
|
+
* @default 1024
|
|
10
|
+
*/
|
|
11
|
+
breakpoint?: number;
|
|
12
|
+
};
|
|
5
13
|
type CustomPickerButtonMobileProps = Omit<PickerButtonMobileProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
|
|
6
14
|
declare const CustomPickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonMobileProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
|
|
7
15
|
export { CustomPickerButtonMobileProps, CustomPickerButtonMobile };
|
package/custom-picker-button/cssm/{index-8b2c2707.d.ts → Component.responsive-0aa4e915.d.ts}
RENAMED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { ButtonProps } from "./typings-89f0cb07";
|
|
4
4
|
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
5
|
export { Button };
|
|
6
|
-
export type { ButtonProps } from "./typings-89f0cb07";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BaseFormControlProps } from "./index-ebda875c";
|
|
4
|
+
type FormControlProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'> & {
|
|
5
|
+
/**
|
|
6
|
+
* Контрольная точка, с нее начинается desktop версия
|
|
7
|
+
* @default 1024
|
|
8
|
+
*/
|
|
9
|
+
breakpoint?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
12
|
+
*/
|
|
13
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
14
|
+
};
|
|
15
|
+
declare const FormControl: React.ForwardRefExoticComponent<Omit<BaseFormControlProps, "styles" | "colorStyles"> & {
|
|
16
|
+
/**
|
|
17
|
+
* Контрольная точка, с нее начинается desktop версия
|
|
18
|
+
* @default 1024
|
|
19
|
+
*/
|
|
20
|
+
breakpoint?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
23
|
+
*/
|
|
24
|
+
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
25
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export { FormControlProps, FormControl };
|
|
@@ -1,39 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { FC, SVGProps } from "react";
|
|
4
|
-
import { ButtonProps } from "./index-8b2c2707";
|
|
5
|
-
import { BaseSelectProps } from "./shared-4cd3936b";
|
|
6
|
-
import { PickerButtonSize, PickerButtonVariant } from "./types-4480ac4f";
|
|
7
|
-
type PickerButtonDesktopProps = Omit<BaseSelectProps, "placeholder" | "Arrow" | "autocomplete" | "size" | "onFocus" | "selected" | "closeOnSelect" | "multiple" | "hint" | "allowUnselect" | "options" | "searchProps" | "showSearch" | "Search"> & Pick<ButtonProps, "view" | "loading" | "leftAddons" | "rightAddons"> & {
|
|
8
|
-
options: Array<BaseSelectProps["options"][0] & {
|
|
9
|
-
/**
|
|
10
|
-
* Иконка, отображающаяся слева от текстового представления пункта
|
|
11
|
-
*/
|
|
12
|
-
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
13
|
-
}>;
|
|
14
|
-
/**
|
|
15
|
-
* Размер кнопки
|
|
16
|
-
*/
|
|
17
|
-
size?: PickerButtonSize;
|
|
18
|
-
/**
|
|
19
|
-
* Тип кнопки
|
|
20
|
-
*/
|
|
21
|
-
variant?: PickerButtonVariant;
|
|
22
|
-
/**
|
|
23
|
-
* Показывать стрелку
|
|
24
|
-
* @default true
|
|
25
|
-
*/
|
|
26
|
-
showArrow?: boolean;
|
|
27
|
-
};
|
|
28
|
-
declare const PickerButtonDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "size" | "placeholder" | "onFocus" | "selected" | "multiple" | "hint" | "options" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "searchProps" | "showSearch" | "Arrow" | "Search"> & Pick<ButtonProps, "view" | "leftAddons" | "rightAddons" | "loading"> & {
|
|
29
|
-
options: Array<BaseSelectProps["options"][0] & {
|
|
30
|
-
/**
|
|
31
|
-
* Иконка, отображающаяся слева от текстового представления пункта
|
|
32
|
-
*/
|
|
33
|
-
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
34
|
-
}>;
|
|
35
|
-
size?: PickerButtonSize | undefined;
|
|
36
|
-
variant?: PickerButtonVariant | undefined;
|
|
37
|
-
showArrow?: boolean | undefined;
|
|
38
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
39
|
-
export { PickerButtonDesktopProps, PickerButtonDesktop };
|
|
1
|
+
export { PickerButtonDesktop, PickerButtonDesktopProps } from "./Component.desktop-4cd3936b";
|
|
2
|
+
export {};
|
|
@@ -51,9 +51,9 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
|
|
|
51
51
|
*/
|
|
52
52
|
selectedDraft?: OptionShape[] | undefined;
|
|
53
53
|
OptionsList?: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
54
|
-
Footer?: import("react").FC<import("./Component-
|
|
55
|
-
Header?: import("react").FC<import("./Component-
|
|
56
|
-
headerProps?: import("./Component-
|
|
54
|
+
Footer?: import("react").FC<import("./Component-ebda875c").FooterProps> | undefined;
|
|
55
|
+
Header?: import("react").FC<import("./Component-aed0af6e").HeaderProps> | undefined;
|
|
56
|
+
headerProps?: import("./Component-aed0af6e").HeaderProps | undefined;
|
|
57
57
|
showHeaderWithSelectAll?: boolean | undefined;
|
|
58
58
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
59
59
|
optionsListProps: {
|
|
@@ -86,5 +86,5 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
|
|
|
86
86
|
accessor?: ((option: OptionShape) => string) | undefined;
|
|
87
87
|
} | undefined;
|
|
88
88
|
};
|
|
89
|
-
export * from "./Component-
|
|
89
|
+
export * from "./Component-ebda875c";
|
|
90
90
|
export { UseSelectWithApplyProps, SELECT_ALL_KEY, useSelectWithApply };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { OptionProps, OptionShape } from "./typings-0f4b9bed";
|
|
4
|
+
type OptionsFetcherResponse = {
|
|
5
|
+
options: OptionShape[];
|
|
6
|
+
hasMore: boolean;
|
|
7
|
+
};
|
|
8
|
+
type useLazyLoadingProps = {
|
|
9
|
+
/** Количество элементов на "странице" */
|
|
10
|
+
limit?: number;
|
|
11
|
+
/** Начальный номер "страницы" */
|
|
12
|
+
initialOffset?: number;
|
|
13
|
+
/** Скелетон загружаемых элементов */
|
|
14
|
+
skeleton?: React.ReactNode;
|
|
15
|
+
/** Компонент пункта меню */
|
|
16
|
+
Option?: React.FC<OptionProps>;
|
|
17
|
+
/**
|
|
18
|
+
* Функция-загрузчик опций.
|
|
19
|
+
* @param offset - текущая страница
|
|
20
|
+
* @param limit - количество элементов на странице
|
|
21
|
+
* @param queryString - строчные данные, пробрасываемые для поиска из кастомного инпута, расположенного в заголовке OptionsList
|
|
22
|
+
* @returns Promise<{
|
|
23
|
+
* options - список опций следующей "страницы". Они аппендятся к предыдущим
|
|
24
|
+
* hasMore - указывает, есть ли еще незагруженные элементы (в случае false перестает загружать "следующую страницу")
|
|
25
|
+
* }>
|
|
26
|
+
*/
|
|
27
|
+
optionsFetcher(offset: number, limit: number, queryString?: string): Promise<OptionsFetcherResponse>;
|
|
28
|
+
};
|
|
29
|
+
declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, Option, }: useLazyLoadingProps): {
|
|
30
|
+
optionsProps: {
|
|
31
|
+
Option: (props: OptionProps) => React.JSX.Element;
|
|
32
|
+
options: OptionShape[];
|
|
33
|
+
optionsListProps: {
|
|
34
|
+
ref: React.RefObject<HTMLDivElement>;
|
|
35
|
+
inputProps: {
|
|
36
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>, payload: {
|
|
37
|
+
value: string;
|
|
38
|
+
}) => void;
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
onOpen: (payload: {
|
|
43
|
+
open?: boolean;
|
|
44
|
+
}) => void;
|
|
45
|
+
};
|
|
46
|
+
reset: () => void;
|
|
47
|
+
};
|
|
48
|
+
export { useLazyLoading };
|
|
@@ -1,2 +1,180 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react-transition-group" />
|
|
3
|
+
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { FC, KeyboardEvent, MouseEvent, MutableRefObject, ReactNode, Ref } from "react";
|
|
6
|
+
import { TransitionProps } from "react-transition-group/Transition";
|
|
7
|
+
import { BackdropProps, PortalProps } from "./index-ebda875c";
|
|
8
|
+
type BaseModalProps = {
|
|
9
|
+
/**
|
|
10
|
+
* Контент
|
|
11
|
+
*/
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Компонент бэкдропа
|
|
15
|
+
*/
|
|
16
|
+
Backdrop?: FC<BackdropProps>;
|
|
17
|
+
/**
|
|
18
|
+
* Свойства для Бэкдропа
|
|
19
|
+
*/
|
|
20
|
+
backdropProps?: Partial<BackdropProps> & Record<string, unknown>;
|
|
21
|
+
/**
|
|
22
|
+
* Нода, компонент или функция возвращающая их
|
|
23
|
+
*
|
|
24
|
+
* Контейнер к которому будут добавляться порталы
|
|
25
|
+
*/
|
|
26
|
+
container?: PortalProps["getPortalContainer"];
|
|
27
|
+
/**
|
|
28
|
+
* Отключает автоматический перевод фокуса на модалку при открытии
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
disableAutoFocus?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Отключает ловушку фокуса
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
disableFocusLock?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Отключает восстановление фокуса на предыдущем элементе после закрытия модалки
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
disableRestoreFocus?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Отключает вызов `callback` при нажатии Escape
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
disableEscapeKeyDown?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Отключает вызов `callback` при клике на бэкдроп
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
disableBackdropClick?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Отключает блокировку скролла при открытии модального окна
|
|
54
|
+
* @default false
|
|
55
|
+
*/
|
|
56
|
+
disableBlockingScroll?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Содержимое модалки всегда в DOM
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
61
|
+
keepMounted?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Управление видимостью модалки
|
|
64
|
+
*/
|
|
65
|
+
open: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Дополнительный класс
|
|
68
|
+
*/
|
|
69
|
+
className?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Дополнительный класс
|
|
72
|
+
*/
|
|
73
|
+
contentClassName?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Дополнительные пропсы на обертку контента
|
|
76
|
+
*/
|
|
77
|
+
contentProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
78
|
+
/**
|
|
79
|
+
* Дополнительные пропсы на компонентную обертку контента
|
|
80
|
+
*/
|
|
81
|
+
componentDivProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
82
|
+
/**
|
|
83
|
+
* Дополнительный класс для обертки (Modal)
|
|
84
|
+
*/
|
|
85
|
+
wrapperClassName?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Обработчик скролла контента
|
|
88
|
+
*/
|
|
89
|
+
scrollHandler?: "wrapper" | "content" | MutableRefObject<HTMLDivElement | null>;
|
|
90
|
+
/**
|
|
91
|
+
* Пропсы для анимации (CSSTransition)
|
|
92
|
+
*/
|
|
93
|
+
transitionProps?: Partial<TransitionProps>;
|
|
94
|
+
/**
|
|
95
|
+
* Рендерить ли в контейнер через портал.
|
|
96
|
+
* @default true
|
|
97
|
+
*/
|
|
98
|
+
usePortal?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Обработчик события нажатия на бэкдроп
|
|
101
|
+
*/
|
|
102
|
+
onBackdropClick?: (event: MouseEvent) => void;
|
|
103
|
+
/**
|
|
104
|
+
* Обработчик события нажатия на Escape
|
|
105
|
+
*
|
|
106
|
+
* Если `disableEscapeKeyDown` - false и модальное окно в фокусе
|
|
107
|
+
*/
|
|
108
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
109
|
+
/**
|
|
110
|
+
* Обработчик закрытия
|
|
111
|
+
*/
|
|
112
|
+
onClose?: (event: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
|
|
113
|
+
/**
|
|
114
|
+
* Обработчик события onEntered компонента Transition
|
|
115
|
+
*/
|
|
116
|
+
onMount?: () => void;
|
|
117
|
+
/**
|
|
118
|
+
* Обработчик события onExited компонента Transition
|
|
119
|
+
*/
|
|
120
|
+
onUnmount?: () => void;
|
|
121
|
+
/**
|
|
122
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
123
|
+
*/
|
|
124
|
+
dataTestId?: string;
|
|
125
|
+
/**
|
|
126
|
+
* z-index компонента
|
|
127
|
+
*/
|
|
128
|
+
zIndex?: number;
|
|
129
|
+
/**
|
|
130
|
+
* Реф, который должен быть установлен компонентной области
|
|
131
|
+
*/
|
|
132
|
+
componentRef?: MutableRefObject<HTMLDivElement | null>;
|
|
133
|
+
};
|
|
134
|
+
type BaseModalContext = {
|
|
135
|
+
parentRef: React.RefObject<HTMLDivElement>;
|
|
136
|
+
componentRef: React.RefObject<HTMLDivElement>;
|
|
137
|
+
hasFooter?: boolean;
|
|
138
|
+
hasHeader?: boolean;
|
|
139
|
+
hasScroll?: boolean;
|
|
140
|
+
headerHighlighted?: boolean;
|
|
141
|
+
footerHighlighted?: boolean;
|
|
142
|
+
headerOffset?: number;
|
|
143
|
+
setHeaderOffset: (offset: number) => void;
|
|
144
|
+
contentRef: Ref<HTMLElement>;
|
|
145
|
+
setHasHeader: (exists: boolean) => void;
|
|
146
|
+
setHasFooter: (exists: boolean) => void;
|
|
147
|
+
onClose: Required<BaseModalProps>["onClose"];
|
|
148
|
+
};
|
|
149
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
150
|
+
declare const BaseModalContext: React.Context<BaseModalContext>;
|
|
151
|
+
declare const BaseModal: React.ForwardRefExoticComponent<BaseModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
152
|
+
declare function isScrolledToTop(target: HTMLElement): boolean;
|
|
153
|
+
declare function isScrolledToBottom(target: HTMLElement): boolean;
|
|
154
|
+
declare function hasScrollbar(target: HTMLElement): boolean;
|
|
155
|
+
declare const getScrollbarSize: () => number;
|
|
156
|
+
declare const restoreContainerStyles: (container: HTMLElement) => void;
|
|
157
|
+
declare const handleContainer: (container?: HTMLElement) => void;
|
|
158
|
+
type SavedStyle = {
|
|
159
|
+
value: string;
|
|
160
|
+
key: string;
|
|
161
|
+
el: HTMLElement;
|
|
162
|
+
};
|
|
163
|
+
type RestoreStyle = {
|
|
164
|
+
container: HTMLElement;
|
|
165
|
+
modals: number;
|
|
166
|
+
styles: SavedStyle[];
|
|
167
|
+
};
|
|
168
|
+
declare class ModalStore {
|
|
169
|
+
private readonly restoreStyles;
|
|
170
|
+
constructor();
|
|
171
|
+
getRestoreStyles: () => RestoreStyle[];
|
|
172
|
+
}
|
|
173
|
+
declare const getModalStore: () => ModalStore;
|
|
174
|
+
declare class GlobalStore {
|
|
175
|
+
private readonly modalStore;
|
|
176
|
+
constructor();
|
|
177
|
+
getModalStore: () => ModalStore;
|
|
178
|
+
}
|
|
179
|
+
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, getScrollbarSize, restoreContainerStyles, handleContainer, getModalStore, GlobalStore };
|
|
180
|
+
export type { SavedStyle };
|
|
@@ -1,18 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Контрольная точка, с нее начинается desktop версия
|
|
6
|
-
* @default 1024
|
|
7
|
-
*/
|
|
8
|
-
breakpoint?: number;
|
|
9
|
-
/**
|
|
10
|
-
* Значение по-умолчанию для хука useMatchMedia
|
|
11
|
-
*/
|
|
12
|
-
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
13
|
-
};
|
|
14
|
-
declare const FormControl: React.ForwardRefExoticComponent<Omit<BaseFormControlProps, "styles" | "colorStyles"> & {
|
|
15
|
-
breakpoint?: number | undefined;
|
|
16
|
-
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
17
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export { FormControlProps, FormControl };
|
|
2
|
+
export * from "./Component.responsive-d7e9f69d";
|
|
3
|
+
export {};
|