@alfalab/core-components 47.21.0-beta.1 → 47.21.0-beta.3
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/components/calendar-input/Component.d.ts +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/esm/Component.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 +1 -1
- package/gallery/esm/index.js +1 -1
- package/gallery/modern/Component.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 +1 -1
- package/gallery/modern/index.js +1 -1
- package/international-phone-input/{esm/utils-432f5a00.d.ts → cssm/utils-34f6b81b.d.ts} +0 -1
- package/international-phone-input/{modern/utils-432f5a00.d.ts → esm/utils-34f6b81b.d.ts} +0 -1
- package/international-phone-input/{cssm/utils-432f5a00.d.ts → modern/utils-34f6b81b.d.ts} +0 -1
- package/international-phone-input/moderncssm/{utils-432f5a00.d.ts → utils-34f6b81b.d.ts} +0 -1
- package/international-phone-input/utils-34f6b81b.d.ts +82 -0
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/package.json +1 -1
- package/picker-button/cssm/utils-34f6b81b.d.ts +82 -0
- package/picker-button/esm/utils-34f6b81b.d.ts +82 -0
- package/picker-button/modern/utils-34f6b81b.d.ts +82 -0
- package/picker-button/moderncssm/utils-34f6b81b.d.ts +82 -0
- package/picker-button/typings-7d83ec1e.d.ts +1 -1
- package/picker-button/utils-34f6b81b.d.ts +82 -0
- package/plate/Component.responsive.js +1 -1
- package/plate/components/base-plate/Component.js +1 -1
- package/plate/esm/Component.responsive.js +1 -1
- package/plate/esm/components/base-plate/Component.js +1 -1
- package/plate/esm/components/base-plate/index.js +1 -1
- package/plate/esm/desktop/Component.desktop.js +1 -1
- package/plate/esm/desktop/index.js +1 -1
- package/plate/esm/index-ba3cd492.d.ts +2 -2
- package/plate/esm/index.js +1 -1
- package/plate/esm/mobile/Component.mobile.js +1 -1
- package/plate/esm/mobile/index.js +1 -1
- package/plate/esm/shared/index.js +1 -1
- package/plate/esm/utils.js +1 -1
- package/plate/index-ba3cd492.d.ts +2 -2
- package/plate/modern/Component.responsive.js +1 -1
- package/plate/modern/components/base-plate/Component.js +1 -1
- package/plate/modern/components/base-plate/index.js +1 -1
- package/plate/modern/desktop/Component.desktop.js +1 -1
- package/plate/modern/desktop/index.js +1 -1
- package/plate/modern/index-ba3cd492.d.ts +2 -2
- package/plate/modern/index.js +1 -1
- package/plate/modern/mobile/Component.mobile.js +1 -1
- package/plate/modern/mobile/index.js +1 -1
- package/plate/modern/shared/index.js +1 -1
- package/plate/modern/utils.js +1 -1
- package/plate/utils.js +1 -1
- package/pure-cell/component.js +1 -1
- package/pure-cell/components/addon/component.js +1 -1
- package/pure-cell/components/addon/index.d.ts +1 -1
- package/pure-cell/components/addon/index.js +1 -1
- package/pure-cell/components/amount/component.js +1 -1
- package/pure-cell/components/amount/index.d.ts +1 -1
- package/pure-cell/components/amount/index.js +1 -1
- package/pure-cell/components/amount-title/component.js +1 -1
- package/pure-cell/components/amount-title/index.d.ts +1 -1
- package/pure-cell/components/amount-title/index.js +1 -1
- package/pure-cell/components/category/component.js +1 -1
- package/pure-cell/components/category/index.d.ts +1 -1
- package/pure-cell/components/category/index.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/footer/component.js +1 -1
- package/pure-cell/components/footer/index.d.ts +1 -1
- package/pure-cell/components/footer/index.js +1 -1
- package/pure-cell/components/footer-button/component.js +1 -1
- package/pure-cell/components/footer-button/index.d.ts +1 -1
- package/pure-cell/components/footer-button/index.js +1 -1
- package/pure-cell/components/footer-text/component.js +1 -1
- package/pure-cell/components/footer-text/index.d.ts +1 -1
- package/pure-cell/components/footer-text/index.js +1 -1
- package/pure-cell/components/graphics/component.js +1 -1
- package/pure-cell/components/graphics/index.d.ts +1 -1
- package/pure-cell/components/graphics/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/addon/component.js +1 -1
- package/pure-cell/esm/components/addon/index.d.ts +1 -1
- package/pure-cell/esm/components/addon/index.js +1 -1
- package/pure-cell/esm/components/amount/component.js +1 -1
- package/pure-cell/esm/components/amount/index.d.ts +1 -1
- package/pure-cell/esm/components/amount/index.js +1 -1
- package/pure-cell/esm/components/amount-title/component.js +1 -1
- package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
- package/pure-cell/esm/components/amount-title/index.js +1 -1
- package/pure-cell/esm/components/category/component.js +1 -1
- package/pure-cell/esm/components/category/index.d.ts +1 -1
- package/pure-cell/esm/components/category/index.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/footer/component.js +1 -1
- package/pure-cell/esm/components/footer/index.d.ts +1 -1
- package/pure-cell/esm/components/footer/index.js +1 -1
- package/pure-cell/esm/components/footer-button/component.js +1 -1
- package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-button/index.js +1 -1
- package/pure-cell/esm/components/footer-text/component.js +1 -1
- package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-text/index.js +1 -1
- package/pure-cell/esm/components/graphics/component.js +1 -1
- package/pure-cell/esm/components/graphics/index.d.ts +1 -1
- package/pure-cell/esm/components/graphics/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/addon/component.js +1 -1
- package/pure-cell/modern/components/addon/index.d.ts +1 -1
- package/pure-cell/modern/components/addon/index.js +1 -1
- package/pure-cell/modern/components/amount/component.js +1 -1
- package/pure-cell/modern/components/amount/index.d.ts +1 -1
- package/pure-cell/modern/components/amount/index.js +1 -1
- package/pure-cell/modern/components/amount-title/component.js +1 -1
- package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
- package/pure-cell/modern/components/amount-title/index.js +1 -1
- package/pure-cell/modern/components/category/component.js +1 -1
- package/pure-cell/modern/components/category/index.d.ts +1 -1
- package/pure-cell/modern/components/category/index.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/footer/component.js +1 -1
- package/pure-cell/modern/components/footer/index.d.ts +1 -1
- package/pure-cell/modern/components/footer/index.js +1 -1
- package/pure-cell/modern/components/footer-button/component.js +1 -1
- package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-button/index.js +1 -1
- package/pure-cell/modern/components/footer-text/component.js +1 -1
- package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-text/index.js +1 -1
- package/pure-cell/modern/components/graphics/component.js +1 -1
- package/pure-cell/modern/components/graphics/index.d.ts +1 -1
- package/pure-cell/modern/components/graphics/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/components/base-select/Component.js +2 -2
- package/select/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
- package/select/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
- package/select/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
- package/select/{modern/hook-7e77c1d2.d.ts → cssm/hook-184c14eb.d.ts} +1 -5
- package/select/{hook-a10897e5.js → cssm/hook-a7a71737.js} +1 -5
- package/select/cssm/mobile/Component.mobile.js +1 -1
- package/select/cssm/presets/index.d.ts +1 -1
- package/select/cssm/presets/index.js +1 -1
- package/select/cssm/presets/useSelectWithApply/hook.js +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/cssm/shared/index.js +1 -1
- package/select/cssm/typings.d.ts +1 -1
- package/select/cssm/utils.d.ts +0 -1
- package/select/cssm/utils.js +0 -1
- package/select/esm/Component.responsive.js +3 -3
- package/select/esm/components/base-select/Component.js +2 -2
- package/select/esm/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
- package/select/esm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
- package/select/esm/components/base-select/components/list-mobile/list-mobile.js +1 -1
- package/select/esm/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
- package/select/esm/components/base-select/index.js +2 -2
- package/select/esm/components/index.js +2 -2
- package/select/esm/desktop/Component.desktop.js +2 -2
- package/select/esm/desktop/index.js +2 -2
- package/select/esm/{hook-bff3555f.js → hook-0df26050.js} +1 -5
- package/select/esm/{hook-7e77c1d2.d.ts → hook-184c14eb.d.ts} +1 -5
- package/select/esm/index.js +3 -3
- package/select/esm/mobile/Component.mobile.js +3 -3
- package/select/esm/mobile/Component.modal.mobile.js +3 -3
- package/select/esm/mobile/index.js +3 -3
- package/select/esm/presets/index.d.ts +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/header/Component.js +1 -2
- 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/index.js +3 -3
- package/select/esm/typings.d.ts +1 -1
- package/select/esm/utils.d.ts +0 -1
- package/select/esm/utils.js +0 -1
- package/select/{hook-7e77c1d2.d.ts → hook-184c14eb.d.ts} +1 -5
- package/select/{cssm/hook-ea9c21c9.js → hook-59057ecb.js} +1 -5
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +3 -3
- package/select/modern/components/base-select/Component.js +2 -2
- package/select/modern/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
- package/select/modern/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
- package/select/modern/components/base-select/components/list-mobile/list-mobile.js +1 -1
- package/select/modern/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
- package/select/modern/components/base-select/index.js +2 -2
- package/select/modern/components/index.js +2 -2
- package/select/modern/desktop/Component.desktop.js +2 -2
- package/select/modern/desktop/index.js +2 -2
- package/select/{cssm/hook-7e77c1d2.d.ts → modern/hook-184c14eb.d.ts} +1 -5
- package/select/modern/{hook-8eb78868.js → hook-8fb90d49.js} +1 -0
- package/select/modern/index.js +3 -3
- package/select/modern/mobile/Component.mobile.js +3 -3
- package/select/modern/mobile/Component.modal.mobile.js +3 -3
- package/select/modern/mobile/index.js +3 -3
- package/select/modern/presets/index.d.ts +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/header/Component.js +1 -2
- 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/index.js +3 -3
- package/select/modern/typings.d.ts +1 -1
- package/select/modern/utils.d.ts +0 -1
- package/select/modern/utils.js +0 -1
- package/select/moderncssm/Component.responsive.js +1 -1
- package/select/moderncssm/hook-184c14eb.d.ts +115 -0
- package/select/moderncssm/{hook-238eb00b.js → hook-839b1d63.js} +1 -0
- package/select/moderncssm/index.js +1 -1
- package/select/moderncssm/mobile/Component.mobile.js +1 -1
- package/select/moderncssm/mobile/Component.modal.mobile.js +1 -1
- package/select/moderncssm/mobile/index.js +1 -1
- package/select/moderncssm/presets/index.d.ts +1 -1
- package/select/moderncssm/presets/index.js +1 -1
- package/select/moderncssm/presets/useSelectWithApply/hook.js +1 -1
- package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +1 -2
- package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/moderncssm/shared/index.js +1 -1
- package/select/moderncssm/typings.d.ts +1 -1
- package/select/moderncssm/utils.d.ts +0 -1
- package/select/moderncssm/utils.js +0 -1
- package/select/presets/index.d.ts +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/header/Component.js +1 -2
- 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/index.js +1 -1
- package/select/typings.d.ts +1 -1
- package/select/utils.d.ts +0 -1
- package/select/utils.js +0 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/esm/Component.responsive.js +1 -1
- package/side-panel/esm/components/controls/Component.js +1 -1
- package/side-panel/esm/components/controls/index.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/desktop/Component.desktop.js +1 -1
- package/side-panel/esm/desktop/index.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile/Component.mobile.js +1 -1
- package/side-panel/esm/mobile/index.js +1 -1
- package/side-panel/modern/Component.responsive.js +1 -1
- package/side-panel/modern/components/controls/Component.js +1 -1
- package/side-panel/modern/components/controls/index.js +1 -1
- package/side-panel/modern/components/footer/Component.desktop.js +1 -1
- package/side-panel/modern/components/footer/Component.js +1 -1
- package/side-panel/modern/components/footer/Component.mobile.js +1 -1
- package/side-panel/modern/desktop/Component.desktop.js +1 -1
- package/side-panel/modern/desktop/index.js +1 -1
- package/side-panel/modern/index.js +1 -1
- package/side-panel/modern/mobile/Component.mobile.js +1 -1
- package/side-panel/modern/mobile/index.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/secondary-tablist/Component.desktop.js +1 -1
- package/tabs/components/secondary-tablist/Component.mobile.js +1 -1
- package/tabs/esm/collapsible/index.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/index.js +2 -2
- package/tabs/esm/index.js +2 -2
- package/tabs/esm/mobile/index.js +2 -2
- package/tabs/modern/collapsible/index.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/index.js +2 -2
- package/tabs/modern/index.js +2 -2
- package/tabs/modern/mobile/index.js +2 -2
- package/themes/compiled/mobile-dark-bluetint.css +171 -32
- package/international-phone-input/utils-432f5a00.d.ts +0 -83
- package/picker-button/cssm/utils-432f5a00.d.ts +0 -83
- package/picker-button/esm/utils-432f5a00.d.ts +0 -83
- package/picker-button/modern/utils-432f5a00.d.ts +0 -83
- package/picker-button/moderncssm/utils-432f5a00.d.ts +0 -83
- package/picker-button/utils-432f5a00.d.ts +0 -83
- package/select/moderncssm/hook-7e77c1d2.d.ts +0 -119
- /package/gallery/esm/{slide-4772c370.d.ts → slide-32db2c3e.d.ts} +0 -0
- /package/gallery/esm/{slide-4772c370.js → slide-32db2c3e.js} +0 -0
- /package/gallery/modern/{slide-cf607866.d.ts → slide-4f756d10.d.ts} +0 -0
- /package/gallery/modern/{slide-cf607866.js → slide-4f756d10.js} +0 -0
- /package/gallery/{slide-eb403352.d.ts → slide-a134d15c.d.ts} +0 -0
- /package/gallery/{slide-eb403352.js → slide-a134d15c.js} +0 -0
- /package/modal/esm/{layout.module-1b8af8db.js → layout.module-0416d11b.js} +0 -0
- /package/modal/{layout.module-f47c9f23.js → layout.module-e36da4ee.js} +0 -0
- /package/modal/modern/{layout.module-b513d03e.js → layout.module-03915939.js} +0 -0
- /package/plate/{PortalContext-8ec9a1d0.d.ts → PortalContext-5d8c7d7e.d.ts} +0 -0
- /package/plate/{PortalContext-8ec9a1d0.js → PortalContext-5d8c7d7e.js} +0 -0
- /package/plate/esm/{PortalContext-725157cc.d.ts → PortalContext-fb0fccc1.d.ts} +0 -0
- /package/plate/esm/{PortalContext-725157cc.js → PortalContext-fb0fccc1.js} +0 -0
- /package/plate/modern/{PortalContext-a82eb34a.d.ts → PortalContext-f482d7df.d.ts} +0 -0
- /package/plate/modern/{PortalContext-a82eb34a.js → PortalContext-f482d7df.js} +0 -0
- /package/pure-cell/{component-fa3c9d50.d.ts → component-9771c24c.d.ts} +0 -0
- /package/pure-cell/{component-fa3c9d50.js → component-9771c24c.js} +0 -0
- /package/pure-cell/esm/{component-d0ac4f2a.d.ts → component-861898c6.d.ts} +0 -0
- /package/pure-cell/esm/{component-d0ac4f2a.js → component-861898c6.js} +0 -0
- /package/pure-cell/modern/{component-710e8834.d.ts → component-48e46904.d.ts} +0 -0
- /package/pure-cell/modern/{component-710e8834.js → component-48e46904.js} +0 -0
- /package/select/cssm/{hook-ea9c21c9.d.ts → hook-a7a71737.d.ts} +0 -0
- /package/select/esm/{hook-bff3555f.d.ts → hook-0df26050.d.ts} +0 -0
- /package/select/esm/{list-popover-desktop-f5290b76.d.ts → list-popover-desktop-bcef5e3a.d.ts} +0 -0
- /package/select/esm/{list-popover-desktop-f5290b76.js → list-popover-desktop-bcef5e3a.js} +0 -0
- /package/select/esm/{mobile.module-d52c53ce.js → mobile.module-0f224512.js} +0 -0
- /package/select/{hook-a10897e5.d.ts → hook-59057ecb.d.ts} +0 -0
- /package/select/{list-popover-desktop-3b998fd2.d.ts → list-popover-desktop-0103f59e.d.ts} +0 -0
- /package/select/{list-popover-desktop-3b998fd2.js → list-popover-desktop-0103f59e.js} +0 -0
- /package/select/{mobile.module-9e0e9502.js → mobile.module-9c00e741.js} +0 -0
- /package/select/modern/{hook-8eb78868.d.ts → hook-8fb90d49.d.ts} +0 -0
- /package/select/modern/{list-popover-desktop-d7053c94.d.ts → list-popover-desktop-235bce95.d.ts} +0 -0
- /package/select/modern/{list-popover-desktop-d7053c94.js → list-popover-desktop-235bce95.js} +0 -0
- /package/select/modern/{mobile.module-01500536.js → mobile.module-5037f07a.js} +0 -0
- /package/select/moderncssm/{hook-238eb00b.d.ts → hook-839b1d63.d.ts} +0 -0
- /package/side-panel/esm/{layout.module-b525d06f.js → layout.module-e591f29b.js} +0 -0
- /package/side-panel/{layout.module-b5d98f23.js → layout.module-27205bb2.js} +0 -0
- /package/side-panel/modern/{layout.module-88d621e2.js → layout.module-299cfa69.js} +0 -0
- /package/tabs/esm/{index.module-d8cc5606.js → index.module-18c112f9.js} +0 -0
- /package/tabs/esm/{index.module-fe27c21d.js → index.module-f5b32893.js} +0 -0
- /package/tabs/{index.module-275989bb.js → index.module-009ccd4a.js} +0 -0
- /package/tabs/{index.module-bca16a45.js → index.module-15d90837.js} +0 -0
- /package/tabs/modern/{index.module-c7314bc9.js → index.module-4046a518.js} +0 -0
- /package/tabs/modern/{index.module-10472f29.js → index.module-e2d9e659.js} +0 -0
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
|
|
3
|
-
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
|
-
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
6
|
-
selected?: OptionShape | undefined;
|
|
7
|
-
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
-
}) => ReactNode[] | null;
|
|
9
|
-
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
|
|
10
|
-
filteredOptions: (OptionShape | GroupShape)[];
|
|
11
|
-
flatOptions: OptionShape[];
|
|
12
|
-
selectedOptions: OptionShape[];
|
|
13
|
-
};
|
|
14
|
-
type useVisibleOptionsArgs = {
|
|
15
|
-
/**
|
|
16
|
-
* Количество видимых пунктов
|
|
17
|
-
*/
|
|
18
|
-
visibleOptions: number;
|
|
19
|
-
/**
|
|
20
|
-
* Реф на контейнер с пунтами меню
|
|
21
|
-
*/
|
|
22
|
-
listRef: RefObject<HTMLElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Реф на контейнер, которому нужно установить высоту
|
|
25
|
-
*/
|
|
26
|
-
styleTargetRef?: RefObject<HTMLElement>;
|
|
27
|
-
/**
|
|
28
|
-
* Флаг открытия меню
|
|
29
|
-
*/
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Позволяет вызвать пересчет высоты
|
|
33
|
-
*/
|
|
34
|
-
invalidate?: unknown;
|
|
35
|
-
/**
|
|
36
|
-
* Список вариантов выбора
|
|
37
|
-
*/
|
|
38
|
-
options?: Array<OptionShape | GroupShape>;
|
|
39
|
-
/**
|
|
40
|
-
* Максимальный размер варианта выбора
|
|
41
|
-
*/
|
|
42
|
-
size?: Extract<OptionsListProps['size'], number>;
|
|
43
|
-
/**
|
|
44
|
-
* Учитывать действительное число вариантов выбора
|
|
45
|
-
*/
|
|
46
|
-
actualOptionsCount?: boolean;
|
|
47
|
-
};
|
|
48
|
-
declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
|
|
49
|
-
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
|
|
50
|
-
declare function defaultFilterFn(optionText: string, search: string): boolean;
|
|
51
|
-
declare function defaultGroupAccessor(option: GroupShape): string | undefined;
|
|
52
|
-
declare function defaultAccessor(option: OptionShape): string;
|
|
53
|
-
declare function usePrevious<T>(value: T): T | undefined;
|
|
54
|
-
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
55
|
-
declare function getSelectTestIds(dataTestId: string): {
|
|
56
|
-
select: string;
|
|
57
|
-
option: string;
|
|
58
|
-
optionsList: string;
|
|
59
|
-
clearButton: string;
|
|
60
|
-
applyButton: string;
|
|
61
|
-
field: string;
|
|
62
|
-
fieldFormControl: string;
|
|
63
|
-
fieldLeftAddons: string;
|
|
64
|
-
fieldRightAddons: string;
|
|
65
|
-
fieldError: string;
|
|
66
|
-
fieldHint: string;
|
|
67
|
-
fieldClearIcon: string;
|
|
68
|
-
headerSelectAll: string;
|
|
69
|
-
searchInput: string;
|
|
70
|
-
searchFormControl: string;
|
|
71
|
-
searchInner: string;
|
|
72
|
-
searchLeftAddons: string;
|
|
73
|
-
searchRightAddons: string;
|
|
74
|
-
searchError: string;
|
|
75
|
-
searchHint: string;
|
|
76
|
-
bottomSheet: string;
|
|
77
|
-
bottomSheetHeader: string;
|
|
78
|
-
bottomSheetContent: string;
|
|
79
|
-
modal: string;
|
|
80
|
-
modalHeader: string;
|
|
81
|
-
modalContent: string;
|
|
82
|
-
};
|
|
83
|
-
export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
|
|
3
|
-
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
|
-
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
6
|
-
selected?: OptionShape | undefined;
|
|
7
|
-
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
-
}) => ReactNode[] | null;
|
|
9
|
-
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
|
|
10
|
-
filteredOptions: (OptionShape | GroupShape)[];
|
|
11
|
-
flatOptions: OptionShape[];
|
|
12
|
-
selectedOptions: OptionShape[];
|
|
13
|
-
};
|
|
14
|
-
type useVisibleOptionsArgs = {
|
|
15
|
-
/**
|
|
16
|
-
* Количество видимых пунктов
|
|
17
|
-
*/
|
|
18
|
-
visibleOptions: number;
|
|
19
|
-
/**
|
|
20
|
-
* Реф на контейнер с пунтами меню
|
|
21
|
-
*/
|
|
22
|
-
listRef: RefObject<HTMLElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Реф на контейнер, которому нужно установить высоту
|
|
25
|
-
*/
|
|
26
|
-
styleTargetRef?: RefObject<HTMLElement>;
|
|
27
|
-
/**
|
|
28
|
-
* Флаг открытия меню
|
|
29
|
-
*/
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Позволяет вызвать пересчет высоты
|
|
33
|
-
*/
|
|
34
|
-
invalidate?: unknown;
|
|
35
|
-
/**
|
|
36
|
-
* Список вариантов выбора
|
|
37
|
-
*/
|
|
38
|
-
options?: Array<OptionShape | GroupShape>;
|
|
39
|
-
/**
|
|
40
|
-
* Максимальный размер варианта выбора
|
|
41
|
-
*/
|
|
42
|
-
size?: Extract<OptionsListProps['size'], number>;
|
|
43
|
-
/**
|
|
44
|
-
* Учитывать действительное число вариантов выбора
|
|
45
|
-
*/
|
|
46
|
-
actualOptionsCount?: boolean;
|
|
47
|
-
};
|
|
48
|
-
declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
|
|
49
|
-
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
|
|
50
|
-
declare function defaultFilterFn(optionText: string, search: string): boolean;
|
|
51
|
-
declare function defaultGroupAccessor(option: GroupShape): string | undefined;
|
|
52
|
-
declare function defaultAccessor(option: OptionShape): string;
|
|
53
|
-
declare function usePrevious<T>(value: T): T | undefined;
|
|
54
|
-
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
55
|
-
declare function getSelectTestIds(dataTestId: string): {
|
|
56
|
-
select: string;
|
|
57
|
-
option: string;
|
|
58
|
-
optionsList: string;
|
|
59
|
-
clearButton: string;
|
|
60
|
-
applyButton: string;
|
|
61
|
-
field: string;
|
|
62
|
-
fieldFormControl: string;
|
|
63
|
-
fieldLeftAddons: string;
|
|
64
|
-
fieldRightAddons: string;
|
|
65
|
-
fieldError: string;
|
|
66
|
-
fieldHint: string;
|
|
67
|
-
fieldClearIcon: string;
|
|
68
|
-
headerSelectAll: string;
|
|
69
|
-
searchInput: string;
|
|
70
|
-
searchFormControl: string;
|
|
71
|
-
searchInner: string;
|
|
72
|
-
searchLeftAddons: string;
|
|
73
|
-
searchRightAddons: string;
|
|
74
|
-
searchError: string;
|
|
75
|
-
searchHint: string;
|
|
76
|
-
bottomSheet: string;
|
|
77
|
-
bottomSheetHeader: string;
|
|
78
|
-
bottomSheetContent: string;
|
|
79
|
-
modal: string;
|
|
80
|
-
modalHeader: string;
|
|
81
|
-
modalContent: string;
|
|
82
|
-
};
|
|
83
|
-
export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
|
|
3
|
-
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
|
-
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
6
|
-
selected?: OptionShape | undefined;
|
|
7
|
-
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
-
}) => ReactNode[] | null;
|
|
9
|
-
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
|
|
10
|
-
filteredOptions: (OptionShape | GroupShape)[];
|
|
11
|
-
flatOptions: OptionShape[];
|
|
12
|
-
selectedOptions: OptionShape[];
|
|
13
|
-
};
|
|
14
|
-
type useVisibleOptionsArgs = {
|
|
15
|
-
/**
|
|
16
|
-
* Количество видимых пунктов
|
|
17
|
-
*/
|
|
18
|
-
visibleOptions: number;
|
|
19
|
-
/**
|
|
20
|
-
* Реф на контейнер с пунтами меню
|
|
21
|
-
*/
|
|
22
|
-
listRef: RefObject<HTMLElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Реф на контейнер, которому нужно установить высоту
|
|
25
|
-
*/
|
|
26
|
-
styleTargetRef?: RefObject<HTMLElement>;
|
|
27
|
-
/**
|
|
28
|
-
* Флаг открытия меню
|
|
29
|
-
*/
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Позволяет вызвать пересчет высоты
|
|
33
|
-
*/
|
|
34
|
-
invalidate?: unknown;
|
|
35
|
-
/**
|
|
36
|
-
* Список вариантов выбора
|
|
37
|
-
*/
|
|
38
|
-
options?: Array<OptionShape | GroupShape>;
|
|
39
|
-
/**
|
|
40
|
-
* Максимальный размер варианта выбора
|
|
41
|
-
*/
|
|
42
|
-
size?: Extract<OptionsListProps['size'], number>;
|
|
43
|
-
/**
|
|
44
|
-
* Учитывать действительное число вариантов выбора
|
|
45
|
-
*/
|
|
46
|
-
actualOptionsCount?: boolean;
|
|
47
|
-
};
|
|
48
|
-
declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
|
|
49
|
-
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
|
|
50
|
-
declare function defaultFilterFn(optionText: string, search: string): boolean;
|
|
51
|
-
declare function defaultGroupAccessor(option: GroupShape): string | undefined;
|
|
52
|
-
declare function defaultAccessor(option: OptionShape): string;
|
|
53
|
-
declare function usePrevious<T>(value: T): T | undefined;
|
|
54
|
-
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
55
|
-
declare function getSelectTestIds(dataTestId: string): {
|
|
56
|
-
select: string;
|
|
57
|
-
option: string;
|
|
58
|
-
optionsList: string;
|
|
59
|
-
clearButton: string;
|
|
60
|
-
applyButton: string;
|
|
61
|
-
field: string;
|
|
62
|
-
fieldFormControl: string;
|
|
63
|
-
fieldLeftAddons: string;
|
|
64
|
-
fieldRightAddons: string;
|
|
65
|
-
fieldError: string;
|
|
66
|
-
fieldHint: string;
|
|
67
|
-
fieldClearIcon: string;
|
|
68
|
-
headerSelectAll: string;
|
|
69
|
-
searchInput: string;
|
|
70
|
-
searchFormControl: string;
|
|
71
|
-
searchInner: string;
|
|
72
|
-
searchLeftAddons: string;
|
|
73
|
-
searchRightAddons: string;
|
|
74
|
-
searchError: string;
|
|
75
|
-
searchHint: string;
|
|
76
|
-
bottomSheet: string;
|
|
77
|
-
bottomSheetHeader: string;
|
|
78
|
-
bottomSheetContent: string;
|
|
79
|
-
modal: string;
|
|
80
|
-
modalHeader: string;
|
|
81
|
-
modalContent: string;
|
|
82
|
-
};
|
|
83
|
-
export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
|
|
3
|
-
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
|
-
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
6
|
-
selected?: OptionShape | undefined;
|
|
7
|
-
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
-
}) => ReactNode[] | null;
|
|
9
|
-
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
|
|
10
|
-
filteredOptions: (OptionShape | GroupShape)[];
|
|
11
|
-
flatOptions: OptionShape[];
|
|
12
|
-
selectedOptions: OptionShape[];
|
|
13
|
-
};
|
|
14
|
-
type useVisibleOptionsArgs = {
|
|
15
|
-
/**
|
|
16
|
-
* Количество видимых пунктов
|
|
17
|
-
*/
|
|
18
|
-
visibleOptions: number;
|
|
19
|
-
/**
|
|
20
|
-
* Реф на контейнер с пунтами меню
|
|
21
|
-
*/
|
|
22
|
-
listRef: RefObject<HTMLElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Реф на контейнер, которому нужно установить высоту
|
|
25
|
-
*/
|
|
26
|
-
styleTargetRef?: RefObject<HTMLElement>;
|
|
27
|
-
/**
|
|
28
|
-
* Флаг открытия меню
|
|
29
|
-
*/
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Позволяет вызвать пересчет высоты
|
|
33
|
-
*/
|
|
34
|
-
invalidate?: unknown;
|
|
35
|
-
/**
|
|
36
|
-
* Список вариантов выбора
|
|
37
|
-
*/
|
|
38
|
-
options?: Array<OptionShape | GroupShape>;
|
|
39
|
-
/**
|
|
40
|
-
* Максимальный размер варианта выбора
|
|
41
|
-
*/
|
|
42
|
-
size?: Extract<OptionsListProps['size'], number>;
|
|
43
|
-
/**
|
|
44
|
-
* Учитывать действительное число вариантов выбора
|
|
45
|
-
*/
|
|
46
|
-
actualOptionsCount?: boolean;
|
|
47
|
-
};
|
|
48
|
-
declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
|
|
49
|
-
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
|
|
50
|
-
declare function defaultFilterFn(optionText: string, search: string): boolean;
|
|
51
|
-
declare function defaultGroupAccessor(option: GroupShape): string | undefined;
|
|
52
|
-
declare function defaultAccessor(option: OptionShape): string;
|
|
53
|
-
declare function usePrevious<T>(value: T): T | undefined;
|
|
54
|
-
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
55
|
-
declare function getSelectTestIds(dataTestId: string): {
|
|
56
|
-
select: string;
|
|
57
|
-
option: string;
|
|
58
|
-
optionsList: string;
|
|
59
|
-
clearButton: string;
|
|
60
|
-
applyButton: string;
|
|
61
|
-
field: string;
|
|
62
|
-
fieldFormControl: string;
|
|
63
|
-
fieldLeftAddons: string;
|
|
64
|
-
fieldRightAddons: string;
|
|
65
|
-
fieldError: string;
|
|
66
|
-
fieldHint: string;
|
|
67
|
-
fieldClearIcon: string;
|
|
68
|
-
headerSelectAll: string;
|
|
69
|
-
searchInput: string;
|
|
70
|
-
searchFormControl: string;
|
|
71
|
-
searchInner: string;
|
|
72
|
-
searchLeftAddons: string;
|
|
73
|
-
searchRightAddons: string;
|
|
74
|
-
searchError: string;
|
|
75
|
-
searchHint: string;
|
|
76
|
-
bottomSheet: string;
|
|
77
|
-
bottomSheetHeader: string;
|
|
78
|
-
bottomSheetContent: string;
|
|
79
|
-
modal: string;
|
|
80
|
-
modalHeader: string;
|
|
81
|
-
modalContent: string;
|
|
82
|
-
};
|
|
83
|
-
export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
|
|
3
|
-
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
|
-
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
6
|
-
selected?: OptionShape | undefined;
|
|
7
|
-
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
-
}) => ReactNode[] | null;
|
|
9
|
-
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
|
|
10
|
-
filteredOptions: (OptionShape | GroupShape)[];
|
|
11
|
-
flatOptions: OptionShape[];
|
|
12
|
-
selectedOptions: OptionShape[];
|
|
13
|
-
};
|
|
14
|
-
type useVisibleOptionsArgs = {
|
|
15
|
-
/**
|
|
16
|
-
* Количество видимых пунктов
|
|
17
|
-
*/
|
|
18
|
-
visibleOptions: number;
|
|
19
|
-
/**
|
|
20
|
-
* Реф на контейнер с пунтами меню
|
|
21
|
-
*/
|
|
22
|
-
listRef: RefObject<HTMLElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Реф на контейнер, которому нужно установить высоту
|
|
25
|
-
*/
|
|
26
|
-
styleTargetRef?: RefObject<HTMLElement>;
|
|
27
|
-
/**
|
|
28
|
-
* Флаг открытия меню
|
|
29
|
-
*/
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Позволяет вызвать пересчет высоты
|
|
33
|
-
*/
|
|
34
|
-
invalidate?: unknown;
|
|
35
|
-
/**
|
|
36
|
-
* Список вариантов выбора
|
|
37
|
-
*/
|
|
38
|
-
options?: Array<OptionShape | GroupShape>;
|
|
39
|
-
/**
|
|
40
|
-
* Максимальный размер варианта выбора
|
|
41
|
-
*/
|
|
42
|
-
size?: Extract<OptionsListProps['size'], number>;
|
|
43
|
-
/**
|
|
44
|
-
* Учитывать действительное число вариантов выбора
|
|
45
|
-
*/
|
|
46
|
-
actualOptionsCount?: boolean;
|
|
47
|
-
};
|
|
48
|
-
declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
|
|
49
|
-
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
|
|
50
|
-
declare function defaultFilterFn(optionText: string, search: string): boolean;
|
|
51
|
-
declare function defaultGroupAccessor(option: GroupShape): string | undefined;
|
|
52
|
-
declare function defaultAccessor(option: OptionShape): string;
|
|
53
|
-
declare function usePrevious<T>(value: T): T | undefined;
|
|
54
|
-
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
55
|
-
declare function getSelectTestIds(dataTestId: string): {
|
|
56
|
-
select: string;
|
|
57
|
-
option: string;
|
|
58
|
-
optionsList: string;
|
|
59
|
-
clearButton: string;
|
|
60
|
-
applyButton: string;
|
|
61
|
-
field: string;
|
|
62
|
-
fieldFormControl: string;
|
|
63
|
-
fieldLeftAddons: string;
|
|
64
|
-
fieldRightAddons: string;
|
|
65
|
-
fieldError: string;
|
|
66
|
-
fieldHint: string;
|
|
67
|
-
fieldClearIcon: string;
|
|
68
|
-
headerSelectAll: string;
|
|
69
|
-
searchInput: string;
|
|
70
|
-
searchFormControl: string;
|
|
71
|
-
searchInner: string;
|
|
72
|
-
searchLeftAddons: string;
|
|
73
|
-
searchRightAddons: string;
|
|
74
|
-
searchError: string;
|
|
75
|
-
searchHint: string;
|
|
76
|
-
bottomSheet: string;
|
|
77
|
-
bottomSheetHeader: string;
|
|
78
|
-
bottomSheetContent: string;
|
|
79
|
-
modal: string;
|
|
80
|
-
modalHeader: string;
|
|
81
|
-
modalContent: string;
|
|
82
|
-
};
|
|
83
|
-
export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7d83ec1e";
|
|
3
|
-
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
|
-
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
6
|
-
selected?: OptionShape | undefined;
|
|
7
|
-
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
-
}) => ReactNode[] | null;
|
|
9
|
-
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape | GroupShape) => boolean, filterGroup?: boolean): {
|
|
10
|
-
filteredOptions: (OptionShape | GroupShape)[];
|
|
11
|
-
flatOptions: OptionShape[];
|
|
12
|
-
selectedOptions: OptionShape[];
|
|
13
|
-
};
|
|
14
|
-
type useVisibleOptionsArgs = {
|
|
15
|
-
/**
|
|
16
|
-
* Количество видимых пунктов
|
|
17
|
-
*/
|
|
18
|
-
visibleOptions: number;
|
|
19
|
-
/**
|
|
20
|
-
* Реф на контейнер с пунтами меню
|
|
21
|
-
*/
|
|
22
|
-
listRef: RefObject<HTMLElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Реф на контейнер, которому нужно установить высоту
|
|
25
|
-
*/
|
|
26
|
-
styleTargetRef?: RefObject<HTMLElement>;
|
|
27
|
-
/**
|
|
28
|
-
* Флаг открытия меню
|
|
29
|
-
*/
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Позволяет вызвать пересчет высоты
|
|
33
|
-
*/
|
|
34
|
-
invalidate?: unknown;
|
|
35
|
-
/**
|
|
36
|
-
* Список вариантов выбора
|
|
37
|
-
*/
|
|
38
|
-
options?: Array<OptionShape | GroupShape>;
|
|
39
|
-
/**
|
|
40
|
-
* Максимальный размер варианта выбора
|
|
41
|
-
*/
|
|
42
|
-
size?: Extract<OptionsListProps['size'], number>;
|
|
43
|
-
/**
|
|
44
|
-
* Учитывать действительное число вариантов выбора
|
|
45
|
-
*/
|
|
46
|
-
actualOptionsCount?: boolean;
|
|
47
|
-
};
|
|
48
|
-
declare function useVirtualVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): void;
|
|
49
|
-
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, options, size, actualOptionsCount, }: useVisibleOptionsArgs): boolean;
|
|
50
|
-
declare function defaultFilterFn(optionText: string, search: string): boolean;
|
|
51
|
-
declare function defaultGroupAccessor(option: GroupShape): string | undefined;
|
|
52
|
-
declare function defaultAccessor(option: OptionShape): string;
|
|
53
|
-
declare function usePrevious<T>(value: T): T | undefined;
|
|
54
|
-
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
55
|
-
declare function getSelectTestIds(dataTestId: string): {
|
|
56
|
-
select: string;
|
|
57
|
-
option: string;
|
|
58
|
-
optionsList: string;
|
|
59
|
-
clearButton: string;
|
|
60
|
-
applyButton: string;
|
|
61
|
-
field: string;
|
|
62
|
-
fieldFormControl: string;
|
|
63
|
-
fieldLeftAddons: string;
|
|
64
|
-
fieldRightAddons: string;
|
|
65
|
-
fieldError: string;
|
|
66
|
-
fieldHint: string;
|
|
67
|
-
fieldClearIcon: string;
|
|
68
|
-
headerSelectAll: string;
|
|
69
|
-
searchInput: string;
|
|
70
|
-
searchFormControl: string;
|
|
71
|
-
searchInner: string;
|
|
72
|
-
searchLeftAddons: string;
|
|
73
|
-
searchRightAddons: string;
|
|
74
|
-
searchError: string;
|
|
75
|
-
searchHint: string;
|
|
76
|
-
bottomSheet: string;
|
|
77
|
-
bottomSheetHeader: string;
|
|
78
|
-
bottomSheetContent: string;
|
|
79
|
-
modal: string;
|
|
80
|
-
modalHeader: string;
|
|
81
|
-
modalContent: string;
|
|
82
|
-
};
|
|
83
|
-
export { isGroup, isOptionShape, joinOptions, processOptions, useVirtualVisibleOptions, useVisibleOptions, defaultFilterFn, defaultGroupAccessor, defaultAccessor, usePrevious, lastIndexOf, getSelectTestIds };
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BaseSelectProps, OptionShape } from "./typings";
|
|
3
|
-
type UseSelectWithApplyProps = {
|
|
4
|
-
/**
|
|
5
|
-
* Список выбранных пунктов
|
|
6
|
-
*/
|
|
7
|
-
selected: BaseSelectProps['selected'];
|
|
8
|
-
/**
|
|
9
|
-
* Список вариантов выбора
|
|
10
|
-
*/
|
|
11
|
-
options: BaseSelectProps['options'];
|
|
12
|
-
/**
|
|
13
|
-
* Обработчик выбора
|
|
14
|
-
*/
|
|
15
|
-
onChange: BaseSelectProps['onChange'];
|
|
16
|
-
/**
|
|
17
|
-
* Дополнительный обработчик клика на чекбокс выбрать все
|
|
18
|
-
*/
|
|
19
|
-
onSelectAllClick?: (selectedMultiple: OptionShape[]) => void;
|
|
20
|
-
/**
|
|
21
|
-
* Компонент выпадающего меню
|
|
22
|
-
*/
|
|
23
|
-
OptionsList?: BaseSelectProps['OptionsList'];
|
|
24
|
-
/**
|
|
25
|
-
* Пропсы, которые будут прокинуты в компонент списка
|
|
26
|
-
*/
|
|
27
|
-
optionsListProps?: BaseSelectProps['optionsListProps'];
|
|
28
|
-
/**
|
|
29
|
-
* Включает отображение поиска
|
|
30
|
-
*/
|
|
31
|
-
showSearch?: BaseSelectProps['showSearch'];
|
|
32
|
-
/**
|
|
33
|
-
* Настройки поиска
|
|
34
|
-
*/
|
|
35
|
-
searchProps?: BaseSelectProps['searchProps'];
|
|
36
|
-
/**
|
|
37
|
-
* Показывать кнопку очистки
|
|
38
|
-
*/
|
|
39
|
-
showClear?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Показывать пункт "Выбрать все"
|
|
42
|
-
*/
|
|
43
|
-
showSelectAll?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Показывать пункт "Выбрать все" в заголовке списка
|
|
46
|
-
*/
|
|
47
|
-
showHeaderWithSelectAll?: boolean;
|
|
48
|
-
};
|
|
49
|
-
declare const SELECT_ALL_KEY = "select_all";
|
|
50
|
-
declare function useSelectWithApply({ options, selected, onChange, onSelectAllClick, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, showSearch, searchProps, }: UseSelectWithApplyProps): {
|
|
51
|
-
OptionsList: import("react").ForwardRefExoticComponent<import("./typings").OptionsListProps & {
|
|
52
|
-
showClear?: boolean | undefined;
|
|
53
|
-
onClose?: (() => void) | undefined;
|
|
54
|
-
/**
|
|
55
|
-
* Обработчик выбора
|
|
56
|
-
*/
|
|
57
|
-
selectedDraft?: OptionShape[] | undefined;
|
|
58
|
-
OptionsList?: import("react").FC<import("./typings").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
59
|
-
Footer?: import("react").FC<import("./presets/useSelectWithApply/options-list-with-apply/footer/Component").FooterProps> | undefined;
|
|
60
|
-
Header?: import("react").FC<import("./presets/useSelectWithApply/options-list-with-apply/header/Component").HeaderProps> | undefined;
|
|
61
|
-
headerProps?: import("./presets/useSelectWithApply/options-list-with-apply/header/Component").HeaderProps | undefined;
|
|
62
|
-
showHeaderWithSelectAll?: boolean | undefined;
|
|
63
|
-
setSelectedDraft?: ((selectedDraft: OptionShape[]) => void) | undefined;
|
|
64
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
65
|
-
optionsListProps: {
|
|
66
|
-
OptionsList: import("react").ComponentType<import("./typings").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
67
|
-
showClear: boolean;
|
|
68
|
-
onClear: () => void;
|
|
69
|
-
onApply: () => void;
|
|
70
|
-
onClose: () => void;
|
|
71
|
-
selectedDraft: OptionShape[];
|
|
72
|
-
setSelectedDraft: import("react").Dispatch<import("react").SetStateAction<OptionShape[]>>;
|
|
73
|
-
showHeaderWithSelectAll: boolean;
|
|
74
|
-
headerProps: {
|
|
75
|
-
indeterminate: boolean;
|
|
76
|
-
checked: boolean;
|
|
77
|
-
onChange: () => void;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
allowUnselect: boolean;
|
|
81
|
-
multiple: boolean;
|
|
82
|
-
options: (OptionShape | import("./typings").GroupShape | {
|
|
83
|
-
key: string;
|
|
84
|
-
content: string;
|
|
85
|
-
})[];
|
|
86
|
-
onChange: (payload: import("./typings").BaseSelectChangePayload) => void;
|
|
87
|
-
selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
|
|
88
|
-
showSearch: boolean;
|
|
89
|
-
searchProps: {
|
|
90
|
-
value: string;
|
|
91
|
-
onChange: ((value: string) => void) | undefined;
|
|
92
|
-
componentProps?: import("./typings").SearchProps | undefined;
|
|
93
|
-
accessor?: ((option: OptionShape) => string) | undefined;
|
|
94
|
-
filterFn?: ((optionText: string, search: string) => boolean) | undefined;
|
|
95
|
-
filterGroup?: boolean | undefined;
|
|
96
|
-
groupAccessor?: ((group: import("./typings").GroupShape) => string | undefined) | undefined;
|
|
97
|
-
} | undefined;
|
|
98
|
-
originalProps: {
|
|
99
|
-
options: (OptionShape | import("./typings").GroupShape)[];
|
|
100
|
-
selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
|
|
101
|
-
onChange: (payload: import("./typings").BaseSelectChangePayload) => void;
|
|
102
|
-
OptionsList: import("react").ComponentType<import("./typings").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
|
|
103
|
-
optionsListProps: unknown;
|
|
104
|
-
showClear: boolean;
|
|
105
|
-
showSelectAll: boolean;
|
|
106
|
-
showHeaderWithSelectAll: boolean;
|
|
107
|
-
showSearch: boolean;
|
|
108
|
-
searchProps: {
|
|
109
|
-
componentProps?: import("./typings").SearchProps | undefined;
|
|
110
|
-
accessor?: ((option: OptionShape) => string) | undefined;
|
|
111
|
-
filterFn?: ((optionText: string, search: string) => boolean) | undefined;
|
|
112
|
-
value?: string | undefined;
|
|
113
|
-
onChange?: ((value: string) => void) | undefined;
|
|
114
|
-
filterGroup?: boolean | undefined;
|
|
115
|
-
groupAccessor?: ((group: import("./typings").GroupShape) => string | undefined) | undefined;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
export { UseSelectWithApplyProps, SELECT_ALL_KEY, useSelectWithApply };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|