@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,6 +1,186 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes } from "react";
|
|
4
|
+
import { TextElementType, TextSkeletonProps } from "./types-1b036d4b";
|
|
3
5
|
import { NavigationBarProps } from "./types-1c79e231";
|
|
6
|
+
interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
7
|
+
/**
|
|
8
|
+
* Текст после иконки
|
|
9
|
+
*/
|
|
10
|
+
text?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Дополнительный класс
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Вид компонента
|
|
17
|
+
*/
|
|
18
|
+
view: "mobile" | "desktop";
|
|
19
|
+
/**
|
|
20
|
+
* Прозрачность текста
|
|
21
|
+
*/
|
|
22
|
+
textOpacity?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Обработчик клика
|
|
25
|
+
*/
|
|
26
|
+
onClick?: () => void;
|
|
27
|
+
}
|
|
28
|
+
declare const BackArrowAddon: React.FC<BackArrowAddonProps>;
|
|
29
|
+
declare const colors: readonly [
|
|
30
|
+
"tertiary",
|
|
31
|
+
"disabled",
|
|
32
|
+
"accent",
|
|
33
|
+
"primary",
|
|
34
|
+
"attention",
|
|
35
|
+
"positive",
|
|
36
|
+
"secondary",
|
|
37
|
+
"tertiary-inverted",
|
|
38
|
+
"primary-inverted",
|
|
39
|
+
"secondary-inverted",
|
|
40
|
+
"link",
|
|
41
|
+
"negative",
|
|
42
|
+
"static-primary-light",
|
|
43
|
+
"static-secondary-light",
|
|
44
|
+
"static-tertiary-light",
|
|
45
|
+
"static-primary-dark",
|
|
46
|
+
"static-secondary-dark",
|
|
47
|
+
"static-tertiary-dark",
|
|
48
|
+
"static-accent"
|
|
49
|
+
];
|
|
50
|
+
type Color = (typeof colors)[number];
|
|
51
|
+
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
52
|
+
type TextBaseProps = {
|
|
53
|
+
/**
|
|
54
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
|
|
55
|
+
*/
|
|
56
|
+
view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps";
|
|
57
|
+
/**
|
|
58
|
+
* Цвет текста
|
|
59
|
+
*/
|
|
60
|
+
color?: Color;
|
|
61
|
+
/**
|
|
62
|
+
* Толщина шрифта
|
|
63
|
+
*/
|
|
64
|
+
weight?: "regular" | "medium" | "bold";
|
|
65
|
+
/**
|
|
66
|
+
* Делает цифры моноширинными
|
|
67
|
+
*/
|
|
68
|
+
monospaceNumbers?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* HTML тег
|
|
71
|
+
*/
|
|
72
|
+
tag?: "span" | "div";
|
|
73
|
+
/**
|
|
74
|
+
* Css-класс для стилизации (native prop)
|
|
75
|
+
*/
|
|
76
|
+
className?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Id компонента для тестов
|
|
79
|
+
*/
|
|
80
|
+
dataTestId?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Контент (native prop)
|
|
83
|
+
*/
|
|
84
|
+
children?: React.ReactNode;
|
|
85
|
+
/**
|
|
86
|
+
* Добавляет отступы к тэгу 'p'
|
|
87
|
+
*/
|
|
88
|
+
defaultMargins?: never;
|
|
89
|
+
/**
|
|
90
|
+
* Количество строк (не поддерживает IE)
|
|
91
|
+
*/
|
|
92
|
+
rowLimit?: 1 | 2 | 3;
|
|
93
|
+
/**
|
|
94
|
+
* Показать скелетон
|
|
95
|
+
*/
|
|
96
|
+
showSkeleton?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Пропы для скелетона
|
|
99
|
+
*/
|
|
100
|
+
skeletonProps?: TextSkeletonProps;
|
|
101
|
+
};
|
|
102
|
+
type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
|
|
103
|
+
tag?: "p";
|
|
104
|
+
defaultMargins?: boolean;
|
|
105
|
+
};
|
|
106
|
+
type TextProps = Omit<NativeProps, "color"> & (TextBaseProps | TextPTagProps);
|
|
107
|
+
type NativeProps$0 = HTMLAttributes<HTMLHeadingElement>;
|
|
108
|
+
type TitleProps = Omit<NativeProps$0, "color"> & {
|
|
109
|
+
/**
|
|
110
|
+
* HTML тег
|
|
111
|
+
*/
|
|
112
|
+
tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
|
|
113
|
+
/**
|
|
114
|
+
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
|
|
115
|
+
*/
|
|
116
|
+
view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
|
|
117
|
+
/**
|
|
118
|
+
* Цвет текста
|
|
119
|
+
*/
|
|
120
|
+
color?: Color;
|
|
121
|
+
/**
|
|
122
|
+
* Толщина шрифта
|
|
123
|
+
*/
|
|
124
|
+
weight?: "regular" | "medium" | "bold";
|
|
125
|
+
/**
|
|
126
|
+
* Шрифт текста
|
|
127
|
+
*/
|
|
128
|
+
font?: "styrene" | "system";
|
|
129
|
+
/**
|
|
130
|
+
* Добавляет отступы
|
|
131
|
+
*/
|
|
132
|
+
defaultMargins?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Css-класс для стилизации (native prop)
|
|
135
|
+
*/
|
|
136
|
+
className?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Id компонента для тестов
|
|
139
|
+
*/
|
|
140
|
+
dataTestId?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Контент (native prop)
|
|
143
|
+
*/
|
|
144
|
+
children?: React.ReactNode;
|
|
145
|
+
/**
|
|
146
|
+
* Количество строк (не поддерживает IE)
|
|
147
|
+
*/
|
|
148
|
+
rowLimit?: 1 | 2 | 3;
|
|
149
|
+
/**
|
|
150
|
+
* Показать скелетон
|
|
151
|
+
*/
|
|
152
|
+
showSkeleton?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Пропы для скелетона
|
|
155
|
+
*/
|
|
156
|
+
skeletonProps?: TextSkeletonProps;
|
|
157
|
+
};
|
|
158
|
+
type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
|
|
159
|
+
declare const Typography: {
|
|
160
|
+
Title: FC<TitleProps>;
|
|
161
|
+
Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
|
|
162
|
+
TitleResponsive: FC<TitleProps>;
|
|
163
|
+
TitleMobile: FC<TitleMobileProps>;
|
|
164
|
+
};
|
|
165
|
+
declare const typographyPresets: {
|
|
166
|
+
mobile: {
|
|
167
|
+
list: {
|
|
168
|
+
text: {
|
|
169
|
+
primary: {
|
|
170
|
+
tag: string;
|
|
171
|
+
view: string;
|
|
172
|
+
};
|
|
173
|
+
secondary: {
|
|
174
|
+
tag: string;
|
|
175
|
+
color: string;
|
|
176
|
+
view: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
declare const TitleResponsive: FC<TitleProps>;
|
|
4
183
|
declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export
|
|
6
|
-
export {
|
|
184
|
+
export { BackArrowAddonProps, BackArrowAddon, Typography, typographyPresets, TitleResponsive, NavigationBar };
|
|
185
|
+
export type { TitleProps, TextProps, Color };
|
|
186
|
+
export * from "./useSkeleton-1b036d4b";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { Month } from "./typings-5684a67d";
|
|
4
|
+
type MonthsTableProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Массив месяцев
|
|
7
|
+
*/
|
|
8
|
+
months?: Month[];
|
|
9
|
+
/**
|
|
10
|
+
* Выбранный месяц
|
|
11
|
+
*/
|
|
12
|
+
selectedMonth?: Date;
|
|
13
|
+
/**
|
|
14
|
+
* Доп пропсы для переданного месяца
|
|
15
|
+
*/
|
|
16
|
+
getMonthProps: (day: Month) => Record<string, unknown>;
|
|
17
|
+
/**
|
|
18
|
+
* Должен ли календарь подстраиваться под ширину родителя.
|
|
19
|
+
*/
|
|
20
|
+
responsive?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare const MonthsTable: FC<MonthsTableProps>;
|
|
23
|
+
export { MonthsTableProps, MonthsTable };
|
|
@@ -1,184 +1,24 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
declare const colors: readonly [
|
|
6
|
-
"tertiary",
|
|
7
|
-
"disabled",
|
|
8
|
-
"accent",
|
|
9
|
-
"primary",
|
|
10
|
-
"attention",
|
|
11
|
-
"positive",
|
|
12
|
-
"secondary",
|
|
13
|
-
"tertiary-inverted",
|
|
14
|
-
"primary-inverted",
|
|
15
|
-
"secondary-inverted",
|
|
16
|
-
"link",
|
|
17
|
-
"negative",
|
|
18
|
-
"static-primary-light",
|
|
19
|
-
"static-secondary-light",
|
|
20
|
-
"static-tertiary-light",
|
|
21
|
-
"static-primary-dark",
|
|
22
|
-
"static-secondary-dark",
|
|
23
|
-
"static-tertiary-dark",
|
|
24
|
-
"static-accent"
|
|
25
|
-
];
|
|
26
|
-
type Color = (typeof colors)[number];
|
|
27
|
-
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
28
|
-
type TextBaseProps = {
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ButtonHTMLAttributes } from "react";
|
|
4
|
+
type SelectButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
29
5
|
/**
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps";
|
|
33
|
-
/**
|
|
34
|
-
* Цвет текста
|
|
35
|
-
*/
|
|
36
|
-
color?: Color;
|
|
37
|
-
/**
|
|
38
|
-
* Толщина шрифта
|
|
39
|
-
*/
|
|
40
|
-
weight?: "regular" | "medium" | "bold";
|
|
41
|
-
/**
|
|
42
|
-
* Делает цифры моноширинными
|
|
43
|
-
*/
|
|
44
|
-
monospaceNumbers?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* HTML тег
|
|
47
|
-
*/
|
|
48
|
-
tag?: "span" | "div";
|
|
49
|
-
/**
|
|
50
|
-
* Css-класс для стилизации (native prop)
|
|
51
|
-
*/
|
|
52
|
-
className?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Id компонента для тестов
|
|
55
|
-
*/
|
|
56
|
-
dataTestId?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Контент (native prop)
|
|
59
|
-
*/
|
|
60
|
-
children?: React.ReactNode;
|
|
61
|
-
/**
|
|
62
|
-
* Добавляет отступы к тэгу 'p'
|
|
63
|
-
*/
|
|
64
|
-
defaultMargins?: never;
|
|
65
|
-
/**
|
|
66
|
-
* Количество строк (не поддерживает IE)
|
|
67
|
-
*/
|
|
68
|
-
rowLimit?: 1 | 2 | 3;
|
|
69
|
-
/**
|
|
70
|
-
* Показать скелетон
|
|
71
|
-
*/
|
|
72
|
-
showSkeleton?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Пропы для скелетона
|
|
75
|
-
*/
|
|
76
|
-
skeletonProps?: TextSkeletonProps;
|
|
77
|
-
};
|
|
78
|
-
type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
|
|
79
|
-
tag?: "p";
|
|
80
|
-
defaultMargins?: boolean;
|
|
81
|
-
};
|
|
82
|
-
type TextProps = Omit<NativeProps, "color"> & (TextBaseProps | TextPTagProps);
|
|
83
|
-
type NativeProps$0 = HTMLAttributes<HTMLHeadingElement>;
|
|
84
|
-
type TitleProps = Omit<NativeProps$0, "color"> & {
|
|
85
|
-
/**
|
|
86
|
-
* HTML тег
|
|
87
|
-
*/
|
|
88
|
-
tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
|
|
89
|
-
/**
|
|
90
|
-
* [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
|
|
91
|
-
*/
|
|
92
|
-
view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
|
|
93
|
-
/**
|
|
94
|
-
* Цвет текста
|
|
95
|
-
*/
|
|
96
|
-
color?: Color;
|
|
97
|
-
/**
|
|
98
|
-
* Толщина шрифта
|
|
99
|
-
*/
|
|
100
|
-
weight?: "regular" | "medium" | "bold";
|
|
101
|
-
/**
|
|
102
|
-
* Шрифт текста
|
|
103
|
-
*/
|
|
104
|
-
font?: "styrene" | "system";
|
|
105
|
-
/**
|
|
106
|
-
* Добавляет отступы
|
|
107
|
-
*/
|
|
108
|
-
defaultMargins?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Css-класс для стилизации (native prop)
|
|
6
|
+
* Дополнительный класс
|
|
111
7
|
*/
|
|
112
8
|
className?: string;
|
|
113
9
|
/**
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
|
-
dataTestId?: string;
|
|
117
|
-
/**
|
|
118
|
-
* Контент (native prop)
|
|
119
|
-
*/
|
|
120
|
-
children?: React.ReactNode;
|
|
121
|
-
/**
|
|
122
|
-
* Количество строк (не поддерживает IE)
|
|
123
|
-
*/
|
|
124
|
-
rowLimit?: 1 | 2 | 3;
|
|
125
|
-
/**
|
|
126
|
-
* Показать скелетон
|
|
10
|
+
* Вид кнопки
|
|
127
11
|
*/
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* Пропы для скелетона
|
|
131
|
-
*/
|
|
132
|
-
skeletonProps?: TextSkeletonProps;
|
|
133
|
-
};
|
|
134
|
-
type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
|
|
135
|
-
declare const Typography: {
|
|
136
|
-
Title: FC<TitleProps>;
|
|
137
|
-
Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
|
|
138
|
-
TitleResponsive: FC<TitleProps>;
|
|
139
|
-
TitleMobile: FC<TitleMobileProps>;
|
|
140
|
-
};
|
|
141
|
-
declare const typographyPresets: {
|
|
142
|
-
mobile: {
|
|
143
|
-
list: {
|
|
144
|
-
text: {
|
|
145
|
-
primary: {
|
|
146
|
-
tag: string;
|
|
147
|
-
view: string;
|
|
148
|
-
};
|
|
149
|
-
secondary: {
|
|
150
|
-
tag: string;
|
|
151
|
-
color: string;
|
|
152
|
-
view: string;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
12
|
+
view?: 'default' | 'filled' | 'outlined' | 'selected';
|
|
157
13
|
};
|
|
158
|
-
declare const
|
|
159
|
-
interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
160
|
-
/**
|
|
161
|
-
* Текст после иконки
|
|
162
|
-
*/
|
|
163
|
-
text?: string;
|
|
14
|
+
declare const SelectButton: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
164
15
|
/**
|
|
165
16
|
* Дополнительный класс
|
|
166
17
|
*/
|
|
167
|
-
className?: string;
|
|
168
|
-
/**
|
|
169
|
-
* Вид компонента
|
|
170
|
-
*/
|
|
171
|
-
view: 'mobile' | 'desktop';
|
|
172
|
-
/**
|
|
173
|
-
* Прозрачность текста
|
|
174
|
-
*/
|
|
175
|
-
textOpacity?: number;
|
|
18
|
+
className?: string | undefined;
|
|
176
19
|
/**
|
|
177
|
-
*
|
|
20
|
+
* Вид кнопки
|
|
178
21
|
*/
|
|
179
|
-
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export { Typography, typographyPresets, TitleResponsive, BackArrowAddonProps, BackArrowAddon };
|
|
183
|
-
export type { TitleProps, TextProps, Color };
|
|
184
|
-
export * from "./useSkeleton-1b036d4b";
|
|
22
|
+
view?: "default" | "outlined" | "filled" | "selected" | undefined;
|
|
23
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
24
|
+
export { SelectButtonProps, SelectButton };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { FC, MouseEvent } from 'react';
|
|
2
|
+
type PeriodType = 'range' | 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
3
|
+
type PeriodSliderProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Активная дата или период
|
|
6
|
+
*/
|
|
7
|
+
value?: Date | [Date, Date];
|
|
8
|
+
/**
|
|
9
|
+
* Тип периода
|
|
10
|
+
*/
|
|
11
|
+
periodType?: PeriodType;
|
|
12
|
+
/**
|
|
13
|
+
* Дополнительный класс
|
|
14
|
+
*/
|
|
15
|
+
className?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Отключает кнопку назад
|
|
18
|
+
*/
|
|
19
|
+
prevArrowDisabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Отключает кнопку вперед
|
|
22
|
+
*/
|
|
23
|
+
nextArrowDisabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Скрывает заблокированные кнопки
|
|
26
|
+
*/
|
|
27
|
+
hideDisabledArrows?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Возможность выбора месяца и года, если periodType 'month'
|
|
30
|
+
*/
|
|
31
|
+
isMonthAndYearSelectable?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Отображать ли текущий год, если isMonthAndYearSelectable true
|
|
34
|
+
*/
|
|
35
|
+
showCurrentYearSelector?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Функция для форматирование выбранного периода
|
|
38
|
+
*/
|
|
39
|
+
periodFormatter?: (valueFrom: Date, valueTo: Date, periodType: PeriodType) => string;
|
|
40
|
+
/**
|
|
41
|
+
* Обработчик нажатия кнопки переключения на назад
|
|
42
|
+
*/
|
|
43
|
+
onPrevArrowClick?: (event: MouseEvent<HTMLButtonElement>, payload: {
|
|
44
|
+
value: Date;
|
|
45
|
+
valueFrom: Date;
|
|
46
|
+
valueTo: Date;
|
|
47
|
+
periodType: PeriodType;
|
|
48
|
+
}) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Обработчик нажатия кнопки переключения на вперед
|
|
51
|
+
*/
|
|
52
|
+
onNextArrowClick?: (event: MouseEvent<HTMLButtonElement>, payload: {
|
|
53
|
+
value: Date;
|
|
54
|
+
valueFrom: Date;
|
|
55
|
+
valueTo: Date;
|
|
56
|
+
periodType: PeriodType;
|
|
57
|
+
}) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Обработчик нажатия на селектор месяца
|
|
60
|
+
*/
|
|
61
|
+
onMonthClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Обработчик нажатия на селектор года
|
|
64
|
+
*/
|
|
65
|
+
onYearClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
66
|
+
/**
|
|
67
|
+
* Обработчик нажатия на период
|
|
68
|
+
*/
|
|
69
|
+
onPeriodClick?: (event: MouseEvent<HTMLAnchorElement>) => void;
|
|
70
|
+
/**
|
|
71
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
72
|
+
*/
|
|
73
|
+
dataTestId?: string;
|
|
74
|
+
};
|
|
75
|
+
declare const PeriodSlider: FC<PeriodSliderProps>;
|
|
76
|
+
export { PeriodType, PeriodSliderProps, PeriodSlider };
|
|
@@ -1,75 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { FC,
|
|
4
|
-
import {
|
|
5
|
-
import { PeriodType } from "./index-f034f741";
|
|
6
|
-
type HeaderProps = {
|
|
7
|
-
/**
|
|
8
|
-
* Вид шапки — месяц и год или только месяц
|
|
9
|
-
*/
|
|
10
|
-
view?: SelectorView;
|
|
11
|
-
/**
|
|
12
|
-
* Отображать тень? (нужна при прокрутке)
|
|
13
|
-
*/
|
|
14
|
-
withShadow?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Дочерние элементы.
|
|
17
|
-
*/
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
/**
|
|
20
|
-
* Дополнительный класс
|
|
21
|
-
*/
|
|
22
|
-
className?: string;
|
|
23
|
-
};
|
|
24
|
-
declare const Header: FC<HeaderProps>;
|
|
25
|
-
type MonthYearHeaderProps = {
|
|
26
|
-
/**
|
|
27
|
-
* Активная дата
|
|
28
|
-
*/
|
|
29
|
-
value?: Date;
|
|
30
|
-
/**
|
|
31
|
-
* Дополнительный класс
|
|
32
|
-
*/
|
|
33
|
-
className?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Обработчик нажатия на кнопку месяца
|
|
36
|
-
*/
|
|
37
|
-
onMonthClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
38
|
-
/**
|
|
39
|
-
* Обработчик нажатия на кнопку года
|
|
40
|
-
*/
|
|
41
|
-
onYearClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
42
|
-
/**
|
|
43
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
44
|
-
*/
|
|
45
|
-
dataTestId?: string;
|
|
46
|
-
};
|
|
47
|
-
declare const MonthYearHeader: FC<MonthYearHeaderProps>;
|
|
48
|
-
type MonthsTableProps = {
|
|
49
|
-
/**
|
|
50
|
-
* Массив месяцев
|
|
51
|
-
*/
|
|
52
|
-
months?: Month[];
|
|
53
|
-
/**
|
|
54
|
-
* Выбранный месяц
|
|
55
|
-
*/
|
|
56
|
-
selectedMonth?: Date;
|
|
57
|
-
/**
|
|
58
|
-
* Доп пропсы для переданного месяца
|
|
59
|
-
*/
|
|
60
|
-
getMonthProps: (day: Month) => Record<string, unknown>;
|
|
61
|
-
/**
|
|
62
|
-
* Должен ли календарь подстраиваться под ширину родителя.
|
|
63
|
-
*/
|
|
64
|
-
responsive?: boolean;
|
|
65
|
-
};
|
|
66
|
-
declare const MonthsTable: FC<MonthsTableProps>;
|
|
67
|
-
declare const formatPeriod: (valueFrom: Date, valueTo: Date, periodType: PeriodType, showCurrentYear?: boolean) => string;
|
|
68
|
-
declare const getYearSelectorValue: (valueFrom: Date | undefined, showCurrentYear: boolean) => number | "";
|
|
69
|
-
declare const shiftValues: (valueFrom: Date, valueTo: Date, periodType: PeriodType, direction: "prev" | "next") => {
|
|
70
|
-
valueFrom: Date;
|
|
71
|
-
valueTo: Date;
|
|
72
|
-
};
|
|
3
|
+
import { FC, MouseEvent } from "react";
|
|
4
|
+
import { DayAddons, SelectorView, View } from "./typings-5684a67d";
|
|
73
5
|
type YearsTableProps = {
|
|
74
6
|
/**
|
|
75
7
|
* Массив лет
|
|
@@ -201,5 +133,6 @@ type CalendarDesktopProps = {
|
|
|
201
133
|
showCurrentYearSelector?: boolean;
|
|
202
134
|
};
|
|
203
135
|
declare const CalendarDesktop: React.ForwardRefExoticComponent<CalendarDesktopProps & React.RefAttributes<HTMLDivElement>>;
|
|
204
|
-
export
|
|
205
|
-
export * from "./Component-
|
|
136
|
+
export * from "./Component-5684a67d";
|
|
137
|
+
export * from "./Component-e2b6c730";
|
|
138
|
+
export { YearsTableProps, YearsTable, CalendarDesktopProps, CalendarDesktop };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType, MouseEvent } from "react";
|
|
4
|
-
import { CalendarDesktopProps } from "../../desktop-
|
|
4
|
+
import { CalendarDesktopProps } from "../../desktop-b5b4c59f";
|
|
5
5
|
import { CalendarMobileProps } from "../../mobile-c219f8ca";
|
|
6
6
|
import { DateInputProps } from "../../../date-input";
|
|
7
7
|
import { PopoverProps } from "../../../popover";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ButtonDesktop } from "./Component.desktop-
|
|
1
|
+
export { ButtonDesktop } from "./Component.desktop-89f0cb07";
|
|
2
2
|
export type { CommonButtonProps as ButtonDesktopProps } from "./typings-89f0cb07";
|