@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,389 +0,0 @@
|
|
|
1
|
-
/// <reference types="react-transition-group" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { ReactNode, FC, KeyboardEvent, MouseEvent, MutableRefObject, Ref, RefObject } from "react";
|
|
5
|
-
import { TransitionProps } from "react-transition-group/Transition";
|
|
6
|
-
import { CSSTransitionClassNames } from "react-transition-group/CSSTransition";
|
|
7
|
-
import { NavigationBarProps } from "./types-1c79e231";
|
|
8
|
-
import { CalendarDesktopProps } from "./Component.desktop-b5b4c59f";
|
|
9
|
-
type BackdropProps = Partial<TransitionProps> & {
|
|
10
|
-
/**
|
|
11
|
-
* Прозрачный бэкдроп
|
|
12
|
-
*/
|
|
13
|
-
invisible?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Управляет видимостью компонента
|
|
16
|
-
*/
|
|
17
|
-
open: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Обработчик клика по бэкдропу
|
|
20
|
-
*/
|
|
21
|
-
onClose?: (event: MouseEvent<HTMLElement>) => void;
|
|
22
|
-
/**
|
|
23
|
-
* Дополнительный класс
|
|
24
|
-
*/
|
|
25
|
-
className?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Классы анимации
|
|
28
|
-
*
|
|
29
|
-
* http://reactcommunity.org/react-transition-group/css-transition#CSSTransition-prop-classNames
|
|
30
|
-
*/
|
|
31
|
-
transitionClassNames?: string | CSSTransitionClassNames;
|
|
32
|
-
/**
|
|
33
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
34
|
-
*/
|
|
35
|
-
dataTestId?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Дочерние элементы.
|
|
38
|
-
*/
|
|
39
|
-
children?: ReactNode;
|
|
40
|
-
};
|
|
41
|
-
type PortalProps = {
|
|
42
|
-
/** Контент */
|
|
43
|
-
children?: ReactNode;
|
|
44
|
-
/**
|
|
45
|
-
* Функция, возвращающая контейнер, в который будут рендериться дочерние элементы
|
|
46
|
-
*/
|
|
47
|
-
getPortalContainer?: () => Element;
|
|
48
|
-
/**
|
|
49
|
-
* Немедленно отрендерить дочерние элементы (false - контент будет отрендерен на след. рендер).
|
|
50
|
-
*/
|
|
51
|
-
immediateMount?: boolean;
|
|
52
|
-
};
|
|
53
|
-
type BaseModalProps = {
|
|
54
|
-
/**
|
|
55
|
-
* Контент
|
|
56
|
-
*/
|
|
57
|
-
children?: ReactNode;
|
|
58
|
-
/**
|
|
59
|
-
* Компонент бэкдропа
|
|
60
|
-
*/
|
|
61
|
-
Backdrop?: FC<BackdropProps>;
|
|
62
|
-
/**
|
|
63
|
-
* Свойства для Бэкдропа
|
|
64
|
-
*/
|
|
65
|
-
backdropProps?: Partial<BackdropProps> & Record<string, unknown>;
|
|
66
|
-
/**
|
|
67
|
-
* Нода, компонент или функция возвращающая их
|
|
68
|
-
*
|
|
69
|
-
* Контейнер к которому будут добавляться порталы
|
|
70
|
-
*/
|
|
71
|
-
container?: PortalProps["getPortalContainer"];
|
|
72
|
-
/**
|
|
73
|
-
* Отключает автоматический перевод фокуса на модалку при открытии
|
|
74
|
-
* @default false
|
|
75
|
-
*/
|
|
76
|
-
disableAutoFocus?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Отключает ловушку фокуса
|
|
79
|
-
* @default false
|
|
80
|
-
*/
|
|
81
|
-
disableFocusLock?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Отключает восстановление фокуса на предыдущем элементе после закрытия модалки
|
|
84
|
-
* @default false
|
|
85
|
-
*/
|
|
86
|
-
disableRestoreFocus?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Отключает вызов `callback` при нажатии Escape
|
|
89
|
-
* @default false
|
|
90
|
-
*/
|
|
91
|
-
disableEscapeKeyDown?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Отключает вызов `callback` при клике на бэкдроп
|
|
94
|
-
* @default false
|
|
95
|
-
*/
|
|
96
|
-
disableBackdropClick?: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Отключает блокировку скролла при открытии модального окна
|
|
99
|
-
* @default false
|
|
100
|
-
*/
|
|
101
|
-
disableBlockingScroll?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Содержимое модалки всегда в DOM
|
|
104
|
-
* @default false
|
|
105
|
-
*/
|
|
106
|
-
keepMounted?: boolean;
|
|
107
|
-
/**
|
|
108
|
-
* Управление видимостью модалки
|
|
109
|
-
*/
|
|
110
|
-
open: boolean;
|
|
111
|
-
/**
|
|
112
|
-
* Дополнительный класс
|
|
113
|
-
*/
|
|
114
|
-
className?: string;
|
|
115
|
-
/**
|
|
116
|
-
* Дополнительный класс
|
|
117
|
-
*/
|
|
118
|
-
contentClassName?: string;
|
|
119
|
-
/**
|
|
120
|
-
* Дополнительные пропсы на обертку контента
|
|
121
|
-
*/
|
|
122
|
-
contentProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
123
|
-
/**
|
|
124
|
-
* Дополнительные пропсы на компонентную обертку контента
|
|
125
|
-
*/
|
|
126
|
-
componentDivProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
127
|
-
/**
|
|
128
|
-
* Дополнительный класс для обертки (Modal)
|
|
129
|
-
*/
|
|
130
|
-
wrapperClassName?: string;
|
|
131
|
-
/**
|
|
132
|
-
* Обработчик скролла контента
|
|
133
|
-
*/
|
|
134
|
-
scrollHandler?: "wrapper" | "content" | MutableRefObject<HTMLDivElement | null>;
|
|
135
|
-
/**
|
|
136
|
-
* Пропсы для анимации (CSSTransition)
|
|
137
|
-
*/
|
|
138
|
-
transitionProps?: Partial<TransitionProps>;
|
|
139
|
-
/**
|
|
140
|
-
* Рендерить ли в контейнер через портал.
|
|
141
|
-
* @default true
|
|
142
|
-
*/
|
|
143
|
-
usePortal?: boolean;
|
|
144
|
-
/**
|
|
145
|
-
* Обработчик события нажатия на бэкдроп
|
|
146
|
-
*/
|
|
147
|
-
onBackdropClick?: (event: MouseEvent) => void;
|
|
148
|
-
/**
|
|
149
|
-
* Обработчик события нажатия на Escape
|
|
150
|
-
*
|
|
151
|
-
* Если `disableEscapeKeyDown` - false и модальное окно в фокусе
|
|
152
|
-
*/
|
|
153
|
-
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
154
|
-
/**
|
|
155
|
-
* Обработчик закрытия
|
|
156
|
-
*/
|
|
157
|
-
onClose?: (event: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>, reason?: "backdropClick" | "escapeKeyDown" | "closerClick") => void;
|
|
158
|
-
/**
|
|
159
|
-
* Обработчик события onEntered компонента Transition
|
|
160
|
-
*/
|
|
161
|
-
onMount?: () => void;
|
|
162
|
-
/**
|
|
163
|
-
* Обработчик события onExited компонента Transition
|
|
164
|
-
*/
|
|
165
|
-
onUnmount?: () => void;
|
|
166
|
-
/**
|
|
167
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
168
|
-
*/
|
|
169
|
-
dataTestId?: string;
|
|
170
|
-
/**
|
|
171
|
-
* z-index компонента
|
|
172
|
-
*/
|
|
173
|
-
zIndex?: number;
|
|
174
|
-
/**
|
|
175
|
-
* Реф, который должен быть установлен компонентной области
|
|
176
|
-
*/
|
|
177
|
-
componentRef?: MutableRefObject<HTMLDivElement | null>;
|
|
178
|
-
};
|
|
179
|
-
type BaseModalContext = {
|
|
180
|
-
parentRef: React.RefObject<HTMLDivElement>;
|
|
181
|
-
componentRef: React.RefObject<HTMLDivElement>;
|
|
182
|
-
hasFooter?: boolean;
|
|
183
|
-
hasHeader?: boolean;
|
|
184
|
-
hasScroll?: boolean;
|
|
185
|
-
headerHighlighted?: boolean;
|
|
186
|
-
footerHighlighted?: boolean;
|
|
187
|
-
headerOffset?: number;
|
|
188
|
-
setHeaderOffset: (offset: number) => void;
|
|
189
|
-
contentRef: Ref<HTMLElement>;
|
|
190
|
-
setHasHeader: (exists: boolean) => void;
|
|
191
|
-
setHasFooter: (exists: boolean) => void;
|
|
192
|
-
onClose: Required<BaseModalProps>["onClose"];
|
|
193
|
-
};
|
|
194
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
195
|
-
declare const BaseModalContext: React.Context<BaseModalContext>;
|
|
196
|
-
type ModalDesktopProps = BaseModalProps & {
|
|
197
|
-
/**
|
|
198
|
-
* Ширина модального окна
|
|
199
|
-
* @default "m"
|
|
200
|
-
*/
|
|
201
|
-
size?: "s" | "m" | "l" | "xl" | "fullscreen";
|
|
202
|
-
/**
|
|
203
|
-
* Растягивает модальное окно на весь экран
|
|
204
|
-
* @deprecated Используйте размер fullscreen
|
|
205
|
-
*/
|
|
206
|
-
fullscreen?: boolean;
|
|
207
|
-
/**
|
|
208
|
-
* Фиксирует позицию модального окна после открытия,
|
|
209
|
-
* предотвращая скачки, если контент внутри будет меняться
|
|
210
|
-
*/
|
|
211
|
-
fixedPosition?: boolean;
|
|
212
|
-
/**
|
|
213
|
-
* Управление наличием закрывающего крестика
|
|
214
|
-
* @default false
|
|
215
|
-
*/
|
|
216
|
-
hasCloser?: boolean;
|
|
217
|
-
};
|
|
218
|
-
type ModalMobileProps = Omit<ModalDesktopProps, "size" | "fixedPosition" | "fullscreen">;
|
|
219
|
-
type View = "desktop" | "mobile";
|
|
220
|
-
type TResponsiveModalContext = {
|
|
221
|
-
view: View;
|
|
222
|
-
size: NonNullable<ModalDesktopProps["size"]>;
|
|
223
|
-
};
|
|
224
|
-
type ContentProps = {
|
|
225
|
-
/**
|
|
226
|
-
* Контент
|
|
227
|
-
*/
|
|
228
|
-
children?: ReactNode;
|
|
229
|
-
/**
|
|
230
|
-
* Дополнительный класс
|
|
231
|
-
*/
|
|
232
|
-
className?: string;
|
|
233
|
-
/**
|
|
234
|
-
* Растягивает контент на всю высоту
|
|
235
|
-
*/
|
|
236
|
-
flex?: boolean;
|
|
237
|
-
};
|
|
238
|
-
type HeaderProps = Omit<NavigationBarProps, "size" | "view" | "parentRef">;
|
|
239
|
-
type FooterProps = {
|
|
240
|
-
/**
|
|
241
|
-
* Контент футера
|
|
242
|
-
*/
|
|
243
|
-
children?: ReactNode;
|
|
244
|
-
/**
|
|
245
|
-
* Дополнительный класс
|
|
246
|
-
*/
|
|
247
|
-
className?: string;
|
|
248
|
-
/**
|
|
249
|
-
* Фиксирует футер
|
|
250
|
-
*/
|
|
251
|
-
sticky?: boolean;
|
|
252
|
-
/**
|
|
253
|
-
* Выравнивание элементов футера
|
|
254
|
-
*/
|
|
255
|
-
layout?: "start" | "center" | "space-between" | "column";
|
|
256
|
-
/**
|
|
257
|
-
* Отступы между элементами футера
|
|
258
|
-
*/
|
|
259
|
-
gap?: 16 | 24 | 32;
|
|
260
|
-
};
|
|
261
|
-
declare const ModalMobile: React.ForwardRefExoticComponent<ModalMobileProps & React.RefAttributes<HTMLDivElement>> & {
|
|
262
|
-
Content: React.FC<ContentProps>;
|
|
263
|
-
Header: React.FC<HeaderProps>;
|
|
264
|
-
Footer: React.FC<FooterProps>;
|
|
265
|
-
};
|
|
266
|
-
declare const Content: FC<ContentProps>;
|
|
267
|
-
declare const ResponsiveContext: React.Context<TResponsiveModalContext>;
|
|
268
|
-
declare const Modal: React.ForwardRefExoticComponent<BaseModalProps & {
|
|
269
|
-
size?: "s" | "m" | "l" | "xl" | "fullscreen" | undefined;
|
|
270
|
-
fullscreen?: boolean | undefined;
|
|
271
|
-
fixedPosition?: boolean | undefined;
|
|
272
|
-
hasCloser?: boolean | undefined;
|
|
273
|
-
} & {
|
|
274
|
-
view: View;
|
|
275
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
276
|
-
declare const ModalContext: import("react").Context<BaseModalContext>;
|
|
277
|
-
/**
|
|
278
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
279
|
-
* Значения выбраны по приоритету.
|
|
280
|
-
*/
|
|
281
|
-
declare const stackingOrder: {
|
|
282
|
-
FOCUSED: number;
|
|
283
|
-
DEFAULT: number;
|
|
284
|
-
POPOVER: number;
|
|
285
|
-
MODAL: number;
|
|
286
|
-
TOAST: number;
|
|
287
|
-
};
|
|
288
|
-
declare const StackingContext: import("react").Context<number>;
|
|
289
|
-
type StackProps = {
|
|
290
|
-
/**
|
|
291
|
-
* Render prop, в который передается функция.
|
|
292
|
-
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
293
|
-
*/
|
|
294
|
-
children: (value: number) => ReactNode;
|
|
295
|
-
/**
|
|
296
|
-
* Исходное значение для z-index.
|
|
297
|
-
* @default 5
|
|
298
|
-
*/
|
|
299
|
-
value?: number;
|
|
300
|
-
};
|
|
301
|
-
declare const Stack: FC<StackProps>;
|
|
302
|
-
declare const PORTAL_CONTAINER_ATTRIBUTE = "alfa-portal-container";
|
|
303
|
-
declare const getDefaultPortalContainer: () => Element;
|
|
304
|
-
declare function setRef<T>(ref: RefObject<T> | ((instance: T | null) => void) | null | undefined, value: T | null): void;
|
|
305
|
-
type SavedStyle = {
|
|
306
|
-
value: string;
|
|
307
|
-
key: string;
|
|
308
|
-
el: HTMLElement;
|
|
309
|
-
};
|
|
310
|
-
type RestoreStyle = {
|
|
311
|
-
container: HTMLElement;
|
|
312
|
-
modals: number;
|
|
313
|
-
styles: SavedStyle[];
|
|
314
|
-
};
|
|
315
|
-
declare class ModalStore {
|
|
316
|
-
private readonly restoreStyles;
|
|
317
|
-
constructor();
|
|
318
|
-
getRestoreStyles: () => RestoreStyle[];
|
|
319
|
-
}
|
|
320
|
-
declare const getModalStore: () => ModalStore;
|
|
321
|
-
declare class GlobalStore {
|
|
322
|
-
private readonly modalStore;
|
|
323
|
-
constructor();
|
|
324
|
-
getModalStore: () => ModalStore;
|
|
325
|
-
}
|
|
326
|
-
type CalendarMobileProps = CalendarDesktopProps & {
|
|
327
|
-
/**
|
|
328
|
-
* Управление видимостью модалки
|
|
329
|
-
*/
|
|
330
|
-
open: boolean;
|
|
331
|
-
/**
|
|
332
|
-
* Заголовок календаря
|
|
333
|
-
*/
|
|
334
|
-
title?: string;
|
|
335
|
-
/**
|
|
336
|
-
* Обработчик закрытия модалки
|
|
337
|
-
*/
|
|
338
|
-
onClose?: () => void;
|
|
339
|
-
/**
|
|
340
|
-
* Обработчик клика на название месяца в мобильном календаре
|
|
341
|
-
*/
|
|
342
|
-
onMonthTitleClick?: (event: React.MouseEvent<HTMLSpanElement>) => void;
|
|
343
|
-
/**
|
|
344
|
-
* Количество лет для генерации в обе стороны от текущего года
|
|
345
|
-
*/
|
|
346
|
-
yearsAmount?: number;
|
|
347
|
-
/**
|
|
348
|
-
* Нужно ли рендерить шапку
|
|
349
|
-
*/
|
|
350
|
-
hasHeader?: boolean;
|
|
351
|
-
/**
|
|
352
|
-
* Разрешить выбор из недозаполненного диапазона дат.
|
|
353
|
-
*/
|
|
354
|
-
allowSelectionFromEmptyRange?: boolean;
|
|
355
|
-
};
|
|
356
|
-
declare const CalendarMobile: React.ForwardRefExoticComponent<CalendarDesktopProps & {
|
|
357
|
-
/**
|
|
358
|
-
* Управление видимостью модалки
|
|
359
|
-
*/
|
|
360
|
-
open: boolean;
|
|
361
|
-
/**
|
|
362
|
-
* Заголовок календаря
|
|
363
|
-
*/
|
|
364
|
-
title?: string | undefined;
|
|
365
|
-
/**
|
|
366
|
-
* Обработчик закрытия модалки
|
|
367
|
-
*/
|
|
368
|
-
onClose?: (() => void) | undefined;
|
|
369
|
-
/**
|
|
370
|
-
* Обработчик клика на название месяца в мобильном календаре
|
|
371
|
-
*/
|
|
372
|
-
onMonthTitleClick?: ((event: React.MouseEvent<HTMLSpanElement>) => void) | undefined;
|
|
373
|
-
/**
|
|
374
|
-
* Количество лет для генерации в обе стороны от текущего года
|
|
375
|
-
*/
|
|
376
|
-
yearsAmount?: number | undefined;
|
|
377
|
-
/**
|
|
378
|
-
* Нужно ли рендерить шапку
|
|
379
|
-
*/
|
|
380
|
-
hasHeader?: boolean | undefined;
|
|
381
|
-
/**
|
|
382
|
-
* Разрешить выбор из недозаполненного диапазона дат.
|
|
383
|
-
*/
|
|
384
|
-
allowSelectionFromEmptyRange?: boolean | undefined;
|
|
385
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
386
|
-
export { ButtonMobile } from "./Component.mobile-16b1285a";
|
|
387
|
-
export type { CommonButtonProps as ButtonMobileProps } from "./typings-89f0cb07";
|
|
388
|
-
export { ModalMobile, ModalMobileProps, Content, ResponsiveContext, Modal, ModalContext, stackingOrder, StackingContext, StackProps, Stack, PORTAL_CONTAINER_ATTRIBUTE, getDefaultPortalContainer, setRef, getModalStore, GlobalStore, CalendarMobileProps, CalendarMobile };
|
|
389
|
-
export type { SavedStyle };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ButtonHTMLAttributes, ElementType, FC } from "react";
|
|
4
|
-
interface CloserProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
|
-
/**
|
|
6
|
-
* Вид компонента
|
|
7
|
-
*/
|
|
8
|
-
view: 'desktop' | 'mobile';
|
|
9
|
-
/**
|
|
10
|
-
* Дополнительный класс
|
|
11
|
-
*/
|
|
12
|
-
className?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Позиция крестика
|
|
15
|
-
*/
|
|
16
|
-
align?: 'left' | 'right';
|
|
17
|
-
/**
|
|
18
|
-
* Фиксирует крестик
|
|
19
|
-
*/
|
|
20
|
-
sticky?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Иконка
|
|
23
|
-
*/
|
|
24
|
-
icon?: ElementType;
|
|
25
|
-
/**
|
|
26
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
27
|
-
*/
|
|
28
|
-
dataTestId?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Коллбэк закрытия.
|
|
31
|
-
*/
|
|
32
|
-
onClose?: (event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>, reason?: 'backdropClick' | 'escapeKeyDown' | 'closerClick') => void;
|
|
33
|
-
}
|
|
34
|
-
declare const Closer: FC<CloserProps>;
|
|
35
|
-
export { CloserProps, Closer };
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes } from "react";
|
|
4
|
-
import { TextElementType, TextSkeletonProps } from "./types-1b036d4b";
|
|
5
|
-
declare const colors: readonly [
|
|
6
|
-
"tertiary",
|
|
7
|
-
"disabled",
|
|
8
|
-
"accent",
|
|
9
|
-
"primary",
|
|
10
|
-
"attention",
|
|
11
|
-
"positive",
|
|
12
|
-
"secondary",
|
|
13
|
-
"tertiary-inverted",
|
|
14
|
-
"primary-inverted",
|
|
15
|
-
"secondary-inverted",
|
|
16
|
-
"link",
|
|
17
|
-
"negative",
|
|
18
|
-
"static-primary-light",
|
|
19
|
-
"static-secondary-light",
|
|
20
|
-
"static-tertiary-light",
|
|
21
|
-
"static-primary-dark",
|
|
22
|
-
"static-secondary-dark",
|
|
23
|
-
"static-tertiary-dark",
|
|
24
|
-
"static-accent"
|
|
25
|
-
];
|
|
26
|
-
type Color = (typeof colors)[number];
|
|
27
|
-
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
28
|
-
type TextBaseProps = {
|
|
29
|
-
/**
|
|
30
|
-
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
|
|
31
|
-
*/
|
|
32
|
-
view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps";
|
|
33
|
-
/**
|
|
34
|
-
* Цвет текста
|
|
35
|
-
*/
|
|
36
|
-
color?: Color;
|
|
37
|
-
/**
|
|
38
|
-
* Толщина шрифта
|
|
39
|
-
*/
|
|
40
|
-
weight?: "regular" | "medium" | "bold";
|
|
41
|
-
/**
|
|
42
|
-
* Делает цифры моноширинными
|
|
43
|
-
*/
|
|
44
|
-
monospaceNumbers?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* HTML тег
|
|
47
|
-
*/
|
|
48
|
-
tag?: "span" | "div";
|
|
49
|
-
/**
|
|
50
|
-
* Css-класс для стилизации (native prop)
|
|
51
|
-
*/
|
|
52
|
-
className?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Id компонента для тестов
|
|
55
|
-
*/
|
|
56
|
-
dataTestId?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Контент (native prop)
|
|
59
|
-
*/
|
|
60
|
-
children?: React.ReactNode;
|
|
61
|
-
/**
|
|
62
|
-
* Добавляет отступы к тэгу 'p'
|
|
63
|
-
*/
|
|
64
|
-
defaultMargins?: never;
|
|
65
|
-
/**
|
|
66
|
-
* Количество строк (не поддерживает IE)
|
|
67
|
-
*/
|
|
68
|
-
rowLimit?: 1 | 2 | 3;
|
|
69
|
-
/**
|
|
70
|
-
* Показать скелетон
|
|
71
|
-
*/
|
|
72
|
-
showSkeleton?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Пропы для скелетона
|
|
75
|
-
*/
|
|
76
|
-
skeletonProps?: TextSkeletonProps;
|
|
77
|
-
};
|
|
78
|
-
type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
|
|
79
|
-
tag?: "p";
|
|
80
|
-
defaultMargins?: boolean;
|
|
81
|
-
};
|
|
82
|
-
type TextProps = Omit<NativeProps, "color"> & (TextBaseProps | TextPTagProps);
|
|
83
|
-
type NativeProps$0 = HTMLAttributes<HTMLHeadingElement>;
|
|
84
|
-
type TitleProps = Omit<NativeProps$0, "color"> & {
|
|
85
|
-
/**
|
|
86
|
-
* HTML тег
|
|
87
|
-
*/
|
|
88
|
-
tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
|
|
89
|
-
/**
|
|
90
|
-
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
|
|
91
|
-
*/
|
|
92
|
-
view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
|
|
93
|
-
/**
|
|
94
|
-
* Цвет текста
|
|
95
|
-
*/
|
|
96
|
-
color?: Color;
|
|
97
|
-
/**
|
|
98
|
-
* Толщина шрифта
|
|
99
|
-
*/
|
|
100
|
-
weight?: "regular" | "medium" | "bold";
|
|
101
|
-
/**
|
|
102
|
-
* Шрифт текста
|
|
103
|
-
*/
|
|
104
|
-
font?: "styrene" | "system";
|
|
105
|
-
/**
|
|
106
|
-
* Добавляет отступы
|
|
107
|
-
*/
|
|
108
|
-
defaultMargins?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Css-класс для стилизации (native prop)
|
|
111
|
-
*/
|
|
112
|
-
className?: string;
|
|
113
|
-
/**
|
|
114
|
-
* Id компонента для тестов
|
|
115
|
-
*/
|
|
116
|
-
dataTestId?: string;
|
|
117
|
-
/**
|
|
118
|
-
* Контент (native prop)
|
|
119
|
-
*/
|
|
120
|
-
children?: React.ReactNode;
|
|
121
|
-
/**
|
|
122
|
-
* Количество строк (не поддерживает IE)
|
|
123
|
-
*/
|
|
124
|
-
rowLimit?: 1 | 2 | 3;
|
|
125
|
-
/**
|
|
126
|
-
* Показать скелетон
|
|
127
|
-
*/
|
|
128
|
-
showSkeleton?: boolean;
|
|
129
|
-
/**
|
|
130
|
-
* Пропы для скелетона
|
|
131
|
-
*/
|
|
132
|
-
skeletonProps?: TextSkeletonProps;
|
|
133
|
-
};
|
|
134
|
-
type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
|
|
135
|
-
declare const Typography: {
|
|
136
|
-
Title: FC<TitleProps>;
|
|
137
|
-
Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
|
|
138
|
-
TitleResponsive: FC<TitleProps>;
|
|
139
|
-
TitleMobile: FC<TitleMobileProps>;
|
|
140
|
-
};
|
|
141
|
-
declare const typographyPresets: {
|
|
142
|
-
mobile: {
|
|
143
|
-
list: {
|
|
144
|
-
text: {
|
|
145
|
-
primary: {
|
|
146
|
-
tag: string;
|
|
147
|
-
view: string;
|
|
148
|
-
};
|
|
149
|
-
secondary: {
|
|
150
|
-
tag: string;
|
|
151
|
-
color: string;
|
|
152
|
-
view: string;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
declare const TitleResponsive: FC<TitleProps>;
|
|
159
|
-
interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
160
|
-
/**
|
|
161
|
-
* Текст после иконки
|
|
162
|
-
*/
|
|
163
|
-
text?: string;
|
|
164
|
-
/**
|
|
165
|
-
* Дополнительный класс
|
|
166
|
-
*/
|
|
167
|
-
className?: string;
|
|
168
|
-
/**
|
|
169
|
-
* Вид компонента
|
|
170
|
-
*/
|
|
171
|
-
view: 'mobile' | 'desktop';
|
|
172
|
-
/**
|
|
173
|
-
* Прозрачность текста
|
|
174
|
-
*/
|
|
175
|
-
textOpacity?: number;
|
|
176
|
-
/**
|
|
177
|
-
* Обработчик клика
|
|
178
|
-
*/
|
|
179
|
-
onClick?: () => void;
|
|
180
|
-
}
|
|
181
|
-
declare const BackArrowAddon: React.FC<BackArrowAddonProps>;
|
|
182
|
-
export { Typography, typographyPresets, TitleResponsive, BackArrowAddonProps, BackArrowAddon };
|
|
183
|
-
export type { TitleProps, TextProps, Color };
|
|
184
|
-
export * from "./useSkeleton-ebda875c";
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { FC } from "react";
|
|
4
|
-
import { CommonButtonProps, PrivateButtonProps } from "./typings-89f0cb07";
|
|
5
|
-
type SpinnerProps = {
|
|
6
|
-
/**
|
|
7
|
-
* Управление видимостью компонента
|
|
8
|
-
*/
|
|
9
|
-
visible?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Размер компонента
|
|
12
|
-
*/
|
|
13
|
-
size?: "xs" | "s" | "m";
|
|
14
|
-
/**
|
|
15
|
-
* Дополнительный класс
|
|
16
|
-
*/
|
|
17
|
-
className?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Идентификатор компонента в DOM
|
|
20
|
-
*/
|
|
21
|
-
id?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
24
|
-
*/
|
|
25
|
-
dataTestId?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Палитра, в контексте которой используется спиннер
|
|
28
|
-
*/
|
|
29
|
-
colors?: "default" | "inverted";
|
|
30
|
-
};
|
|
31
|
-
declare const Spinner: FC<SpinnerProps>;
|
|
32
|
-
/**
|
|
33
|
-
* Минимальное время отображения лоадера - 500мс,
|
|
34
|
-
* чтобы при быстрых ответах от сервера кнопка не «моргала».
|
|
35
|
-
*/
|
|
36
|
-
declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
|
|
37
|
-
declare const BaseButton: React.ForwardRefExoticComponent<(CommonButtonProps & PrivateButtonProps) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
38
|
-
export { SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ButtonProps } from "./index-8b2c2707";
|
|
4
|
-
import { FieldProps as BaseFieldProps } from "./typings-0f4b9bed";
|
|
5
|
-
import { PickerButtonSize, PickerButtonVariant } from "./types-4480ac4f";
|
|
6
|
-
type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
|
|
7
|
-
buttonSize?: PickerButtonSize;
|
|
8
|
-
buttonVariant?: PickerButtonVariant;
|
|
9
|
-
showArrow?: boolean;
|
|
10
|
-
};
|
|
11
|
-
declare const Field: ({ buttonSize, buttonVariant, view, label, open, multiple, rightAddons, Arrow, innerProps, className, selected, selectedMultiple, setSelectedItems, toggleMenu, valueRenderer, showArrow, labelView, ...restProps }: FieldProps) => React.JSX.Element;
|
|
12
|
-
export { Field };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { AdditionalMobileProps } from "./shared-4cd3936b";
|
|
4
|
-
import { PickerButtonDesktopProps } from "./desktop-d446ae02";
|
|
5
|
-
type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, 'OptionsList' | 'Checkmark' | 'onScroll'> & AdditionalMobileProps & {
|
|
6
|
-
/**
|
|
7
|
-
* Контрольная точка для кнопки, с нее начинается desktop версия
|
|
8
|
-
* @default 1024
|
|
9
|
-
*/
|
|
10
|
-
breakpoint?: number;
|
|
11
|
-
};
|
|
12
|
-
declare const PickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "onScroll" | "OptionsList" | "Checkmark"> & AdditionalMobileProps & {
|
|
13
|
-
/**
|
|
14
|
-
* Контрольная точка для кнопки, с нее начинается desktop версия
|
|
15
|
-
* @default 1024
|
|
16
|
-
*/
|
|
17
|
-
breakpoint?: number | undefined;
|
|
18
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
19
|
-
export { SelectMobile } from "./Component.mobile-f28cbba0";
|
|
20
|
-
export { SelectModalMobile } from "./Component.modal.mobile-0f4b9bed";
|
|
21
|
-
export type { SelectMobileProps } from "./Component.mobile-f28cbba0";
|
|
22
|
-
export type { SelectModalMobileProps } from "./Component.modal.mobile-0f4b9bed";
|
|
23
|
-
export { PickerButtonMobileProps, PickerButtonMobile };
|