@alfalab/core-components 41.14.0-beta.1 → 41.14.0-beta.2
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/Component.responsive.js +1 -1
- package/calendar/components/calendar-mobile/Component.js +1 -1
- package/calendar/components/calendar-mobile/index.d.ts +1 -1
- package/calendar/components/calendar-mobile/index.js +1 -1
- package/calendar/esm/Component.responsive.js +1 -1
- package/calendar/esm/components/calendar-mobile/Component.js +1 -1
- package/calendar/esm/components/calendar-mobile/index.d.ts +1 -1
- package/calendar/esm/components/calendar-mobile/index.js +1 -1
- package/calendar/esm/index.js +1 -1
- package/calendar/esm/mobile.js +1 -1
- package/calendar/esm/responsive.d.ts +1 -1
- package/calendar/esm/responsive.js +1 -1
- package/calendar/index.js +1 -1
- package/calendar/mobile.js +1 -1
- package/calendar/modern/Component.responsive.js +1 -1
- package/calendar/modern/components/calendar-mobile/Component.js +1 -1
- package/calendar/modern/components/calendar-mobile/index.d.ts +1 -1
- package/calendar/modern/components/calendar-mobile/index.js +1 -1
- package/calendar/modern/index.js +1 -1
- package/calendar/modern/mobile.js +1 -1
- package/calendar/modern/responsive.d.ts +1 -1
- package/calendar/modern/responsive.js +1 -1
- package/calendar/responsive.d.ts +1 -1
- package/calendar/responsive.js +1 -1
- package/calendar-range/cssm/utils.js +1 -3
- package/custom-picker-button/Component-2aef4eba.d.ts +7 -46
- package/custom-picker-button/Component-3885b0d7.d.ts +4 -69
- package/custom-picker-button/Component-3e68f8db.d.ts +2 -2
- package/custom-picker-button/{Component-aa0ecc34.d.ts → Component-6062b39e.d.ts} +1 -1
- package/custom-picker-button/Component.mobile-ae13210f.d.ts +1 -1
- package/custom-picker-button/Component.mobile-b2c0420d.d.ts +1 -1
- package/custom-picker-button/{Component.responsive-2aef4eba.d.ts → Component.responsive-ae13210f.d.ts} +3 -3
- package/custom-picker-button/component-3885b0d7.d.ts +1 -1
- package/custom-picker-button/cssm/Component-3885b0d7.d.ts +2 -2
- package/custom-picker-button/cssm/Component-3e68f8db.d.ts +2 -2
- package/custom-picker-button/cssm/{Component-aa0ecc34.d.ts → Component-6062b39e.d.ts} +1 -1
- package/custom-picker-button/cssm/Component.mobile-b2c0420d.d.ts +1 -1
- package/custom-picker-button/cssm/field/Component.d.ts +1 -1
- package/custom-picker-button/cssm/hook-3e68f8db.d.ts +1 -1
- package/custom-picker-button/cssm/index-3e68f8db.d.ts +4 -4
- package/custom-picker-button/{esm/typings-aa0ecc34.d.ts → cssm/typings-6062b39e.d.ts} +2 -6
- package/custom-picker-button/{utils-aa0ecc34.d.ts → cssm/utils-6062b39e.d.ts} +1 -1
- package/custom-picker-button/esm/Component-3885b0d7.d.ts +2 -2
- package/custom-picker-button/esm/Component-3e68f8db.d.ts +2 -2
- package/custom-picker-button/esm/{Component-aa0ecc34.d.ts → Component-6062b39e.d.ts} +1 -1
- package/custom-picker-button/esm/Component.mobile-b2c0420d.d.ts +1 -1
- package/custom-picker-button/esm/field/Component.d.ts +1 -1
- package/custom-picker-button/esm/hook-3e68f8db.d.ts +1 -1
- package/custom-picker-button/esm/index-3e68f8db.d.ts +4 -4
- package/custom-picker-button/{modern/typings-aa0ecc34.d.ts → esm/typings-6062b39e.d.ts} +2 -6
- package/custom-picker-button/{cssm/utils-aa0ecc34.d.ts → esm/utils-6062b39e.d.ts} +1 -1
- package/custom-picker-button/field/Component.d.ts +1 -1
- package/custom-picker-button/hook-3e68f8db.d.ts +2 -2
- package/custom-picker-button/index-2aef4eba.d.ts +2 -2
- package/custom-picker-button/index-3e68f8db.d.ts +4 -5
- package/custom-picker-button/index-f12ee135.d.ts +1 -1
- package/custom-picker-button/modern/Component-3885b0d7.d.ts +2 -2
- package/custom-picker-button/modern/Component-3e68f8db.d.ts +2 -2
- package/custom-picker-button/modern/{Component-aa0ecc34.d.ts → Component-6062b39e.d.ts} +1 -1
- package/custom-picker-button/modern/Component.mobile-b2c0420d.d.ts +1 -1
- package/custom-picker-button/modern/field/Component.d.ts +1 -1
- package/custom-picker-button/modern/hook-3e68f8db.d.ts +1 -1
- package/custom-picker-button/modern/index-3e68f8db.d.ts +4 -4
- package/custom-picker-button/{typings-aa0ecc34.d.ts → modern/typings-6062b39e.d.ts} +2 -6
- package/custom-picker-button/{esm/utils-aa0ecc34.d.ts → modern/utils-6062b39e.d.ts} +1 -1
- package/custom-picker-button/{cssm/typings-aa0ecc34.d.ts → typings-6062b39e.d.ts} +2 -6
- package/custom-picker-button/{modern/utils-aa0ecc34.d.ts → utils-6062b39e.d.ts} +1 -1
- 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-autocomplete/{Component-aa0ecc34.d.ts → Component-6062b39e.d.ts} +1 -1
- package/input-autocomplete/Component-b4e70cb0.d.ts +1 -1
- package/input-autocomplete/Component-f12ee135.d.ts +1 -1
- package/input-autocomplete/Component.desktop.d.ts +4 -4
- package/input-autocomplete/Component.modal.mobile.d.ts +1 -1
- package/input-autocomplete/Component.responsive.d.ts +4 -4
- package/input-autocomplete/cssm/{Component-aa0ecc34.d.ts → Component-6062b39e.d.ts} +1 -1
- package/input-autocomplete/cssm/Component-b4e70cb0.d.ts +1 -1
- package/input-autocomplete/cssm/Component-f12ee135.d.ts +1 -1
- package/input-autocomplete/cssm/Component.modal.mobile.d.ts +1 -1
- package/input-autocomplete/cssm/index-3e68f8db.d.ts +2 -2
- package/input-autocomplete/cssm/{typings-aa0ecc34.d.ts → typings-6062b39e.d.ts} +2 -6
- package/input-autocomplete/cssm/utils-6062b39e.d.ts +38 -0
- package/input-autocomplete/esm/{Component-aa0ecc34.d.ts → Component-6062b39e.d.ts} +1 -1
- package/input-autocomplete/esm/Component-b4e70cb0.d.ts +1 -1
- package/input-autocomplete/esm/Component-f12ee135.d.ts +1 -1
- package/input-autocomplete/esm/Component.modal.mobile.d.ts +1 -1
- package/input-autocomplete/esm/index-3e68f8db.d.ts +2 -2
- package/input-autocomplete/esm/{typings-aa0ecc34.d.ts → typings-6062b39e.d.ts} +2 -6
- package/input-autocomplete/esm/utils-6062b39e.d.ts +38 -0
- package/input-autocomplete/index-3e68f8db.d.ts +2 -2
- package/input-autocomplete/modern/{Component-aa0ecc34.d.ts → Component-6062b39e.d.ts} +1 -1
- package/input-autocomplete/modern/Component-b4e70cb0.d.ts +1 -1
- package/input-autocomplete/modern/Component-f12ee135.d.ts +1 -1
- package/input-autocomplete/modern/Component.desktop.d.ts +4 -4
- package/input-autocomplete/modern/Component.modal.mobile.d.ts +1 -1
- package/input-autocomplete/modern/Component.responsive.d.ts +4 -4
- package/input-autocomplete/modern/index-3e68f8db.d.ts +2 -2
- package/input-autocomplete/modern/{typings-aa0ecc34.d.ts → typings-6062b39e.d.ts} +2 -6
- package/input-autocomplete/modern/utils-6062b39e.d.ts +38 -0
- package/input-autocomplete/{typings-aa0ecc34.d.ts → typings-6062b39e.d.ts} +2 -6
- package/input-autocomplete/utils-6062b39e.d.ts +38 -0
- package/package.json +1 -1
- package/phone-input/utils/index.js +3 -1
- package/picker-button/cssm/field/Component.d.ts +1 -1
- package/picker-button/cssm/option/Component.d.ts +2 -2
- package/picker-button/cssm/{typings-aa0ecc34.d.ts → typings-6062b39e.d.ts} +2 -6
- package/picker-button/esm/field/Component.d.ts +1 -1
- package/picker-button/esm/option/Component.d.ts +2 -2
- package/picker-button/esm/{typings-aa0ecc34.d.ts → typings-6062b39e.d.ts} +2 -6
- package/picker-button/field/Component.d.ts +1 -1
- package/picker-button/modern/field/Component.d.ts +1 -1
- package/picker-button/modern/option/Component.d.ts +2 -2
- package/picker-button/modern/{typings-aa0ecc34.d.ts → typings-6062b39e.d.ts} +2 -6
- package/picker-button/option/Component.d.ts +2 -2
- package/picker-button/{typings-aa0ecc34.d.ts → typings-6062b39e.d.ts} +2 -6
- package/pure-cell/{component-9cafa229.js → component-2b4996ed.js} +1 -1
- package/pure-cell/component.js +2 -2
- package/pure-cell/components/addon/component.js +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.js +1 -1
- package/pure-cell/components/amount-title/component.js +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.js +1 -1
- package/pure-cell/components/content/component.js +2 -2
- package/pure-cell/components/content/index.d.ts +1 -1
- package/pure-cell/components/content/index.js +2 -2
- package/pure-cell/components/footer/component.js +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.js +1 -1
- package/pure-cell/components/footer-text/component.js +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.js +1 -1
- package/pure-cell/components/main/component.js +2 -2
- package/pure-cell/components/main/index.d.ts +1 -1
- package/pure-cell/components/main/index.js +2 -2
- package/pure-cell/components/text/component.js +2 -2
- package/pure-cell/components/text/index.d.ts +1 -1
- package/pure-cell/components/text/index.js +2 -2
- package/pure-cell/esm/{component-b0f543b3.js → component-aa01fd28.js} +1 -1
- package/pure-cell/esm/component.js +2 -2
- package/pure-cell/esm/components/addon/component.js +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.js +1 -1
- package/pure-cell/esm/components/amount-title/component.js +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.js +1 -1
- package/pure-cell/esm/components/content/component.js +2 -2
- package/pure-cell/esm/components/content/index.d.ts +1 -1
- package/pure-cell/esm/components/content/index.js +2 -2
- package/pure-cell/esm/components/footer/component.js +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.js +1 -1
- package/pure-cell/esm/components/footer-text/component.js +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.js +1 -1
- package/pure-cell/esm/components/main/component.js +2 -2
- package/pure-cell/esm/components/main/index.d.ts +1 -1
- package/pure-cell/esm/components/main/index.js +2 -2
- package/pure-cell/esm/components/text/component.js +2 -2
- package/pure-cell/esm/components/text/index.d.ts +1 -1
- package/pure-cell/esm/components/text/index.js +2 -2
- package/pure-cell/esm/index.js +2 -2
- package/pure-cell/index.js +2 -2
- package/pure-cell/modern/{component-00c728a1.js → component-2d670786.js} +1 -1
- package/pure-cell/modern/component.js +2 -2
- package/pure-cell/modern/components/addon/component.js +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.js +1 -1
- package/pure-cell/modern/components/amount-title/component.js +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.js +1 -1
- package/pure-cell/modern/components/content/component.js +2 -2
- package/pure-cell/modern/components/content/index.d.ts +1 -1
- package/pure-cell/modern/components/content/index.js +2 -2
- package/pure-cell/modern/components/footer/component.js +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.js +1 -1
- package/pure-cell/modern/components/footer-text/component.js +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.js +1 -1
- package/pure-cell/modern/components/main/component.js +2 -2
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +2 -2
- package/pure-cell/modern/components/text/component.js +2 -2
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +2 -2
- package/pure-cell/modern/index.js +2 -2
- package/select/{Component-ef16f0ae.js → Component-d32d6602.js} +1 -1
- package/select/Component.js +1 -1
- package/select/Component.responsive.js +3 -3
- package/select/components/base-option/Component.js +2 -10
- package/select/components/base-select/Component.js +1 -1
- package/select/components/base-select/index.js +1 -1
- package/select/components/base-select-mobile/Component.js +4 -1
- package/select/components/base-select-mobile/index.js +1 -1
- package/select/components/index.js +3 -3
- package/select/components/select-mobile/Component.js +3 -3
- package/select/components/select-mobile/index.d.ts +1 -1
- package/select/components/select-mobile/index.js +3 -3
- package/select/components/select-modal-mobile/Component.js +3 -3
- package/select/components/select-modal-mobile/index.d.ts +1 -1
- package/select/components/select-modal-mobile/index.js +3 -3
- package/select/cssm/components/base-option/Component.js +2 -10
- package/select/cssm/components/base-select-mobile/Component.js +3 -0
- package/select/cssm/typings.d.ts +2 -6
- package/select/esm/{Component-dc59d95d.js → Component-dd7bbe81.js} +2 -2
- package/select/esm/Component.js +1 -1
- package/select/esm/Component.responsive.js +3 -3
- package/select/esm/components/base-option/Component.js +2 -10
- package/select/esm/components/base-select/Component.js +1 -1
- package/select/esm/components/base-select/index.js +1 -1
- package/select/esm/components/base-select-mobile/Component.js +4 -1
- package/select/esm/components/base-select-mobile/index.js +1 -1
- package/select/esm/components/index.js +3 -3
- package/select/esm/components/select-mobile/Component.js +3 -3
- package/select/esm/components/select-mobile/index.d.ts +1 -1
- package/select/esm/components/select-mobile/index.js +3 -3
- package/select/esm/components/select-modal-mobile/Component.js +3 -3
- package/select/esm/components/select-modal-mobile/index.d.ts +1 -1
- package/select/esm/components/select-modal-mobile/index.js +3 -3
- package/select/esm/index-3885b0d7.d.ts +1 -1
- package/select/esm/index.js +3 -3
- package/select/esm/mobile.js +3 -3
- package/select/esm/presets/index.js +3 -3
- package/select/esm/presets/useLazyLoading/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +3 -3
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- 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 +3 -3
- package/select/esm/responsive.js +3 -3
- package/select/esm/typings.d.ts +2 -6
- package/select/index-3885b0d7.d.ts +1 -1
- package/select/index.js +3 -3
- package/select/mobile.js +3 -3
- package/select/modern/{Component-92e02628.js → Component-84f93525.js} +2 -2
- package/select/modern/Component.js +1 -1
- package/select/modern/Component.responsive.js +3 -3
- package/select/modern/components/base-option/Component.js +2 -10
- package/select/modern/components/base-select/Component.js +1 -1
- package/select/modern/components/base-select/index.js +1 -1
- package/select/modern/components/base-select-mobile/Component.js +4 -1
- package/select/modern/components/base-select-mobile/index.js +1 -1
- package/select/modern/components/index.js +3 -3
- package/select/modern/components/select-mobile/Component.js +3 -3
- package/select/modern/components/select-mobile/index.d.ts +1 -1
- package/select/modern/components/select-mobile/index.js +3 -3
- package/select/modern/components/select-modal-mobile/Component.js +3 -3
- package/select/modern/components/select-modal-mobile/index.d.ts +1 -1
- package/select/modern/components/select-modal-mobile/index.js +3 -3
- package/select/modern/index-3885b0d7.d.ts +1 -1
- package/select/modern/index.js +3 -3
- package/select/modern/mobile.js +3 -3
- package/select/modern/presets/index.js +3 -3
- package/select/modern/presets/useLazyLoading/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +3 -3
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- 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 +3 -3
- package/select/modern/responsive.js +3 -3
- package/select/modern/typings.d.ts +2 -6
- package/select/presets/index.js +3 -3
- package/select/presets/useLazyLoading/hook.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +3 -3
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +3 -3
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +3 -3
- package/select/responsive.js +3 -3
- package/select/typings.d.ts +2 -6
- package/tabs/Component-3885b0d7.d.ts +2 -2
- package/tabs/Component-3e68f8db.d.ts +2 -2
- package/tabs/Component-6062b39e.d.ts +4 -0
- package/tabs/Component.mobile-b2c0420d.d.ts +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.desktop.js +2 -2
- package/tabs/components/tabs/Component.mobile.js +2 -2
- package/tabs/components/tabs/Component.responsive.js +2 -2
- package/tabs/cssm/Component-3885b0d7.d.ts +2 -2
- package/tabs/cssm/Component-3e68f8db.d.ts +2 -2
- package/tabs/cssm/Component-6062b39e.d.ts +4 -0
- package/tabs/cssm/Component.mobile-b2c0420d.d.ts +1 -1
- package/tabs/cssm/hook-3e68f8db.d.ts +1 -1
- package/tabs/cssm/index-3e68f8db.d.ts +4 -4
- package/tabs/cssm/typings-6062b39e.d.ts +553 -0
- package/tabs/cssm/utils-6062b39e.d.ts +38 -0
- package/tabs/desktop.js +2 -2
- package/tabs/esm/Component-3885b0d7.d.ts +2 -2
- package/tabs/esm/Component-3e68f8db.d.ts +2 -2
- package/tabs/esm/Component-6062b39e.d.ts +4 -0
- package/tabs/esm/Component.mobile-b2c0420d.d.ts +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.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/hook-3e68f8db.d.ts +1 -1
- package/tabs/esm/index-3e68f8db.d.ts +4 -4
- package/tabs/esm/index.js +2 -2
- package/tabs/esm/mobile.js +2 -2
- package/tabs/esm/responsive.js +2 -2
- package/tabs/esm/typings-6062b39e.d.ts +553 -0
- package/tabs/esm/utils-6062b39e.d.ts +38 -0
- package/tabs/hook-3e68f8db.d.ts +1 -1
- package/tabs/index-3e68f8db.d.ts +4 -4
- package/tabs/index.js +2 -2
- package/tabs/mobile.js +2 -2
- package/tabs/modern/Component-3885b0d7.d.ts +2 -2
- package/tabs/modern/Component-3e68f8db.d.ts +2 -2
- package/tabs/modern/Component-6062b39e.d.ts +4 -0
- package/tabs/modern/Component.mobile-b2c0420d.d.ts +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.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/hook-3e68f8db.d.ts +1 -1
- package/tabs/modern/index-3e68f8db.d.ts +4 -4
- package/tabs/modern/index.js +2 -2
- package/tabs/modern/mobile.js +2 -2
- package/tabs/modern/responsive.js +2 -2
- package/tabs/modern/typings-6062b39e.d.ts +553 -0
- package/tabs/modern/utils-6062b39e.d.ts +38 -0
- package/tabs/responsive.js +2 -2
- package/tabs/typings-6062b39e.d.ts +553 -0
- package/tabs/utils-6062b39e.d.ts +38 -0
- package/themes/compiled/mobile-dark-bluetint.css +8 -8
- package/themes/dist/compiled/mobile-dark-bluetint.css +140 -141
- package/custom-picker-button/index-3ebe4754.d.ts +0 -1
- package/input-autocomplete/cssm/utils-aa0ecc34.d.ts +0 -38
- package/input-autocomplete/esm/utils-aa0ecc34.d.ts +0 -38
- package/input-autocomplete/modern/utils-aa0ecc34.d.ts +0 -38
- package/input-autocomplete/utils-aa0ecc34.d.ts +0 -38
- package/tabs/Component-aa0ecc34.d.ts +0 -4
- package/tabs/cssm/Component-aa0ecc34.d.ts +0 -4
- package/tabs/cssm/typings-aa0ecc34.d.ts +0 -557
- package/tabs/cssm/utils-aa0ecc34.d.ts +0 -38
- package/tabs/esm/Component-aa0ecc34.d.ts +0 -4
- package/tabs/esm/typings-aa0ecc34.d.ts +0 -557
- package/tabs/esm/utils-aa0ecc34.d.ts +0 -38
- package/tabs/modern/Component-aa0ecc34.d.ts +0 -4
- package/tabs/modern/typings-aa0ecc34.d.ts +0 -557
- package/tabs/modern/utils-aa0ecc34.d.ts +0 -38
- package/tabs/typings-aa0ecc34.d.ts +0 -557
- package/tabs/utils-aa0ecc34.d.ts +0 -38
- /package/calendar/{Component.responsive-df408623.d.ts → Component.responsive-1c04927d.d.ts} +0 -0
- /package/calendar/{Component.responsive-df408623.js → Component.responsive-1c04927d.js} +0 -0
- /package/calendar/esm/{Component.responsive-914bce20.d.ts → Component.responsive-47fa4ef5.d.ts} +0 -0
- /package/calendar/esm/{Component.responsive-914bce20.js → Component.responsive-47fa4ef5.js} +0 -0
- /package/calendar/modern/{Component.responsive-d702fe55.d.ts → Component.responsive-e3ca5bc0.d.ts} +0 -0
- /package/calendar/modern/{Component.responsive-d702fe55.js → Component.responsive-e3ca5bc0.js} +0 -0
- /package/custom-picker-button/{types-fae20163.d.ts → types-425c8522.d.ts} +0 -0
- /package/gallery/{buttons-64d0906f.d.ts → buttons-496f746d.d.ts} +0 -0
- /package/gallery/{buttons-64d0906f.js → buttons-496f746d.js} +0 -0
- /package/gallery/esm/{buttons-acc5db8a.d.ts → buttons-177b2172.d.ts} +0 -0
- /package/gallery/esm/{buttons-acc5db8a.js → buttons-177b2172.js} +0 -0
- /package/gallery/esm/{slide-98a00685.d.ts → slide-666e117f.d.ts} +0 -0
- /package/gallery/esm/{slide-98a00685.js → slide-666e117f.js} +0 -0
- /package/gallery/modern/{buttons-f186f25d.d.ts → buttons-2cb1af1c.d.ts} +0 -0
- /package/gallery/modern/{buttons-f186f25d.js → buttons-2cb1af1c.js} +0 -0
- /package/gallery/modern/{slide-f1d5aaea.d.ts → slide-ffe11d48.d.ts} +0 -0
- /package/gallery/modern/{slide-f1d5aaea.js → slide-ffe11d48.js} +0 -0
- /package/gallery/{slide-9947f224.d.ts → slide-2329b03d.d.ts} +0 -0
- /package/gallery/{slide-9947f224.js → slide-2329b03d.js} +0 -0
- /package/pure-cell/{component-9cafa229.d.ts → component-2b4996ed.d.ts} +0 -0
- /package/pure-cell/esm/{component-b0f543b3.d.ts → component-aa01fd28.d.ts} +0 -0
- /package/pure-cell/esm/{getDataTestId-7ca07cb7.d.ts → getDataTestId-5723977d.d.ts} +0 -0
- /package/pure-cell/esm/{getDataTestId-7ca07cb7.js → getDataTestId-5723977d.js} +0 -0
- /package/pure-cell/{getDataTestId-ae0b05f1.d.ts → getDataTestId-af085d04.d.ts} +0 -0
- /package/pure-cell/{getDataTestId-ae0b05f1.js → getDataTestId-af085d04.js} +0 -0
- /package/pure-cell/modern/{component-00c728a1.d.ts → component-2d670786.d.ts} +0 -0
- /package/pure-cell/modern/{getDataTestId-7f0c78b8.d.ts → getDataTestId-3539afcb.d.ts} +0 -0
- /package/pure-cell/modern/{getDataTestId-7f0c78b8.js → getDataTestId-3539afcb.js} +0 -0
- /package/select/{Component-ef16f0ae.d.ts → Component-d32d6602.d.ts} +0 -0
- /package/select/esm/{Component-dc59d95d.d.ts → Component-dd7bbe81.d.ts} +0 -0
- /package/select/esm/{getDataTestId-7c326171.d.ts → getDataTestId-86604c60.d.ts} +0 -0
- /package/select/esm/{getDataTestId-7c326171.js → getDataTestId-86604c60.js} +0 -0
- /package/select/esm/{intersection-observer-fbb2af5a.d.ts → intersection-observer-b281f2b9.d.ts} +0 -0
- /package/select/esm/{intersection-observer-fbb2af5a.js → intersection-observer-b281f2b9.js} +0 -0
- /package/select/{getDataTestId-7ec8fab9.d.ts → getDataTestId-00833e83.d.ts} +0 -0
- /package/select/{getDataTestId-7ec8fab9.js → getDataTestId-00833e83.js} +0 -0
- /package/select/{intersection-observer-73625446.d.ts → intersection-observer-add49ccf.d.ts} +0 -0
- /package/select/{intersection-observer-73625446.js → intersection-observer-add49ccf.js} +0 -0
- /package/select/modern/{Component-92e02628.d.ts → Component-84f93525.d.ts} +0 -0
- /package/select/modern/{getDataTestId-5675c5cc.d.ts → getDataTestId-0d5017dd.d.ts} +0 -0
- /package/select/modern/{getDataTestId-5675c5cc.js → getDataTestId-0d5017dd.js} +0 -0
- /package/select/modern/{intersection-observer-fbb2af5a.d.ts → intersection-observer-b281f2b9.d.ts} +0 -0
- /package/select/modern/{intersection-observer-fbb2af5a.js → intersection-observer-b281f2b9.js} +0 -0
- /package/tabs/esm/{index.module-deedf720.js → index.module-a65494fa.js} +0 -0
- /package/tabs/esm/{index.module-751cc38d.js → index.module-b8ad624f.js} +0 -0
- /package/tabs/{index.module-9a90b4d5.js → index.module-452c60c4.js} +0 -0
- /package/tabs/{index.module-c21d81c2.js → index.module-48bb5e8f.js} +0 -0
- /package/tabs/modern/{index.module-b6199075.js → index.module-6f697017.js} +0 -0
- /package/tabs/modern/{index.module-9932309e.js → index.module-b67e82d1.js} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
|
-
import { BaseSelectProps } from "./typings-
|
|
5
|
+
import { BaseSelectProps } from "./typings-6062b39e";
|
|
6
6
|
type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Футер
|
|
@@ -37,7 +37,7 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
|
|
|
37
37
|
/**
|
|
38
38
|
* Компонент ввода значения
|
|
39
39
|
*/
|
|
40
|
-
Input?: React.FC<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
40
|
+
Input?: React.FC<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "value" | "enterKeyHint"> & {
|
|
41
41
|
value?: string | undefined;
|
|
42
42
|
defaultValue?: string | undefined;
|
|
43
43
|
block?: boolean | undefined;
|
|
@@ -49,7 +49,7 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
|
|
|
49
49
|
hint?: React.ReactNode;
|
|
50
50
|
label?: React.ReactNode;
|
|
51
51
|
labelView?: "inner" | "outer" | undefined;
|
|
52
|
-
type?: "number" | "text" | "tel" | "email" | "
|
|
52
|
+
type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
|
|
53
53
|
wrapperRef?: React.Ref<HTMLDivElement> | undefined;
|
|
54
54
|
leftAddons?: React.ReactNode;
|
|
55
55
|
rightAddons?: React.ReactNode;
|
|
@@ -73,7 +73,7 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
|
|
|
73
73
|
/**
|
|
74
74
|
* Пропсы, которые будут прокинуты в инпут
|
|
75
75
|
*/
|
|
76
|
-
inputProps?: (Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
76
|
+
inputProps?: (Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "value" | "enterKeyHint"> & {
|
|
77
77
|
value?: string | undefined;
|
|
78
78
|
defaultValue?: string | undefined;
|
|
79
79
|
block?: boolean | undefined;
|
|
@@ -85,7 +85,7 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
|
|
|
85
85
|
hint?: React.ReactNode;
|
|
86
86
|
label?: React.ReactNode;
|
|
87
87
|
labelView?: "inner" | "outer" | undefined;
|
|
88
|
-
type?: "number" | "text" | "tel" | "email" | "
|
|
88
|
+
type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
|
|
89
89
|
wrapperRef?: React.Ref<HTMLDivElement> | undefined;
|
|
90
90
|
leftAddons?: React.ReactNode;
|
|
91
91
|
rightAddons?: React.ReactNode;
|
|
@@ -5,7 +5,7 @@ import { ButtonProps } from "../button";
|
|
|
5
5
|
import { BaseSelectChangePayload } from "./index-3e68f8db";
|
|
6
6
|
import { ModalMobile } from "./Component.mobile-e81c389f";
|
|
7
7
|
import { UseSelectWithApplyProps } from "./hook-b4e70cb0";
|
|
8
|
-
import { BaseSelectProps } from "./typings-
|
|
8
|
+
import { BaseSelectProps } from "./typings-6062b39e";
|
|
9
9
|
type SelectModalMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & {
|
|
10
10
|
/**
|
|
11
11
|
* Показывать кнопку очистки
|
|
@@ -14,7 +14,7 @@ type InputAutocompleteResponsiveProps = InputAutocompleteDesktopProps & InputAut
|
|
|
14
14
|
};
|
|
15
15
|
type InputAutocompleteMedia = 'desktop' | 'mobile';
|
|
16
16
|
declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "Field"> & {
|
|
17
|
-
Input?: React.FC<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
17
|
+
Input?: React.FC<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "value" | "enterKeyHint"> & {
|
|
18
18
|
value?: string | undefined;
|
|
19
19
|
defaultValue?: string | undefined;
|
|
20
20
|
block?: boolean | undefined;
|
|
@@ -26,7 +26,7 @@ declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<
|
|
|
26
26
|
hint?: React.ReactNode;
|
|
27
27
|
label?: React.ReactNode;
|
|
28
28
|
labelView?: "inner" | "outer" | undefined;
|
|
29
|
-
type?: "number" | "text" | "tel" | "email" | "
|
|
29
|
+
type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
|
|
30
30
|
wrapperRef?: React.Ref<HTMLDivElement> | undefined;
|
|
31
31
|
leftAddons?: React.ReactNode;
|
|
32
32
|
rightAddons?: React.ReactNode;
|
|
@@ -47,7 +47,7 @@ declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<
|
|
|
47
47
|
onMouseUp?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
48
48
|
dataTestId?: string | undefined;
|
|
49
49
|
} & React.RefAttributes<HTMLInputElement>> | undefined;
|
|
50
|
-
inputProps?: (Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
50
|
+
inputProps?: (Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "value" | "enterKeyHint"> & {
|
|
51
51
|
value?: string | undefined;
|
|
52
52
|
defaultValue?: string | undefined;
|
|
53
53
|
block?: boolean | undefined;
|
|
@@ -59,7 +59,7 @@ declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<
|
|
|
59
59
|
hint?: React.ReactNode;
|
|
60
60
|
label?: React.ReactNode;
|
|
61
61
|
labelView?: "inner" | "outer" | undefined;
|
|
62
|
-
type?: "number" | "text" | "tel" | "email" | "
|
|
62
|
+
type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
|
|
63
63
|
wrapperRef?: React.Ref<HTMLDivElement> | undefined;
|
|
64
64
|
leftAddons?: React.ReactNode;
|
|
65
65
|
rightAddons?: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptionsListProps } from "./typings-
|
|
3
|
+
import { OptionsListProps } from "./typings-6062b39e";
|
|
4
4
|
declare const VirtualOptionsList: React.ForwardRefExoticComponent<OptionsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { VirtualOptionsList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { OptionShape, OptionsListProps } from "./typings-
|
|
2
|
+
import { OptionShape, OptionsListProps } from "./typings-6062b39e";
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { HeaderProps } from "./Component-aed0af6e";
|
|
5
5
|
type FooterProps = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
|
-
import { BaseSelectProps } from "./typings-
|
|
5
|
+
import { BaseSelectProps } from "./typings-6062b39e";
|
|
6
6
|
type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Футер
|
|
@@ -5,7 +5,7 @@ import { ButtonProps } from "../../button";
|
|
|
5
5
|
import { BaseSelectChangePayload } from "./index-3e68f8db";
|
|
6
6
|
import { ModalMobile } from "./Component.mobile-e81c389f";
|
|
7
7
|
import { UseSelectWithApplyProps } from "./hook-b4e70cb0";
|
|
8
|
-
import { BaseSelectProps } from "./typings-
|
|
8
|
+
import { BaseSelectProps } from "./typings-6062b39e";
|
|
9
9
|
type SelectModalMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & {
|
|
10
10
|
/**
|
|
11
11
|
* Показывать кнопку очистки
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "packages/select/src/Component";
|
|
2
2
|
export * from "packages/select/src/components/index";
|
|
3
3
|
export * from "packages/select/src/presets/index";
|
|
4
|
-
export * from "./typings-
|
|
5
|
-
export * from "./utils-
|
|
4
|
+
export * from "./typings-6062b39e";
|
|
5
|
+
export * from "./utils-6062b39e";
|
|
@@ -19,9 +19,9 @@ type OptionShape = {
|
|
|
19
19
|
*/
|
|
20
20
|
showCheckMark?: boolean;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Обработчик клика по option
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
onOptionClick?: () => void;
|
|
25
25
|
/**
|
|
26
26
|
* Дополнительные данные
|
|
27
27
|
*/
|
|
@@ -523,10 +523,6 @@ type OptionProps = {
|
|
|
523
523
|
* Мобильная верcия option.
|
|
524
524
|
*/
|
|
525
525
|
mobile?: boolean;
|
|
526
|
-
/**
|
|
527
|
-
* Обработчик клика по option
|
|
528
|
-
*/
|
|
529
|
-
onOptionClick?: (event: MouseEvent<HTMLDivElement>, payload: any) => void;
|
|
530
526
|
};
|
|
531
527
|
type CheckmarkProps = {
|
|
532
528
|
/**
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-6062b39e";
|
|
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']): {
|
|
10
|
+
flatOptions: OptionShape[];
|
|
11
|
+
selectedOptions: OptionShape[];
|
|
12
|
+
};
|
|
13
|
+
type useVisibleOptionsArgs = {
|
|
14
|
+
/**
|
|
15
|
+
* Количество видимых пунктов
|
|
16
|
+
*/
|
|
17
|
+
visibleOptions: number;
|
|
18
|
+
/**
|
|
19
|
+
* Реф на контейнер с пунтами меню
|
|
20
|
+
*/
|
|
21
|
+
listRef: RefObject<HTMLElement>;
|
|
22
|
+
/**
|
|
23
|
+
* Реф на контейнер, которому нужно установить высоту
|
|
24
|
+
*/
|
|
25
|
+
styleTargetRef?: RefObject<HTMLElement>;
|
|
26
|
+
/**
|
|
27
|
+
* Флаг открытия меню
|
|
28
|
+
*/
|
|
29
|
+
open?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Позволяет вызвать пересчет высоты
|
|
32
|
+
*/
|
|
33
|
+
invalidate?: unknown;
|
|
34
|
+
};
|
|
35
|
+
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
|
|
36
|
+
declare function usePrevious<T>(value: T): T | undefined;
|
|
37
|
+
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
38
|
+
export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, usePrevious, lastIndexOf };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptionsListProps } from "./typings-
|
|
3
|
+
import { OptionsListProps } from "./typings-6062b39e";
|
|
4
4
|
declare const VirtualOptionsList: React.ForwardRefExoticComponent<OptionsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { VirtualOptionsList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { OptionShape, OptionsListProps } from "./typings-
|
|
2
|
+
import { OptionShape, OptionsListProps } from "./typings-6062b39e";
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { HeaderProps } from "./Component-aed0af6e";
|
|
5
5
|
type FooterProps = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
|
-
import { BaseSelectProps } from "./typings-
|
|
5
|
+
import { BaseSelectProps } from "./typings-6062b39e";
|
|
6
6
|
type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Футер
|
|
@@ -5,7 +5,7 @@ import { ButtonProps } from "../../button";
|
|
|
5
5
|
import { BaseSelectChangePayload } from "./index-3e68f8db";
|
|
6
6
|
import { ModalMobile } from "./Component.mobile-e81c389f";
|
|
7
7
|
import { UseSelectWithApplyProps } from "./hook-b4e70cb0";
|
|
8
|
-
import { BaseSelectProps } from "./typings-
|
|
8
|
+
import { BaseSelectProps } from "./typings-6062b39e";
|
|
9
9
|
type SelectModalMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & {
|
|
10
10
|
/**
|
|
11
11
|
* Показывать кнопку очистки
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "packages/select/src/Component";
|
|
2
2
|
export * from "packages/select/src/components/index";
|
|
3
3
|
export * from "packages/select/src/presets/index";
|
|
4
|
-
export * from "./typings-
|
|
5
|
-
export * from "./utils-
|
|
4
|
+
export * from "./typings-6062b39e";
|
|
5
|
+
export * from "./utils-6062b39e";
|
|
@@ -19,9 +19,9 @@ type OptionShape = {
|
|
|
19
19
|
*/
|
|
20
20
|
showCheckMark?: boolean;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Обработчик клика по option
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
onOptionClick?: () => void;
|
|
25
25
|
/**
|
|
26
26
|
* Дополнительные данные
|
|
27
27
|
*/
|
|
@@ -523,10 +523,6 @@ type OptionProps = {
|
|
|
523
523
|
* Мобильная верcия option.
|
|
524
524
|
*/
|
|
525
525
|
mobile?: boolean;
|
|
526
|
-
/**
|
|
527
|
-
* Обработчик клика по option
|
|
528
|
-
*/
|
|
529
|
-
onOptionClick?: (event: MouseEvent<HTMLDivElement>, payload: any) => void;
|
|
530
526
|
};
|
|
531
527
|
type CheckmarkProps = {
|
|
532
528
|
/**
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-6062b39e";
|
|
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']): {
|
|
10
|
+
flatOptions: OptionShape[];
|
|
11
|
+
selectedOptions: OptionShape[];
|
|
12
|
+
};
|
|
13
|
+
type useVisibleOptionsArgs = {
|
|
14
|
+
/**
|
|
15
|
+
* Количество видимых пунктов
|
|
16
|
+
*/
|
|
17
|
+
visibleOptions: number;
|
|
18
|
+
/**
|
|
19
|
+
* Реф на контейнер с пунтами меню
|
|
20
|
+
*/
|
|
21
|
+
listRef: RefObject<HTMLElement>;
|
|
22
|
+
/**
|
|
23
|
+
* Реф на контейнер, которому нужно установить высоту
|
|
24
|
+
*/
|
|
25
|
+
styleTargetRef?: RefObject<HTMLElement>;
|
|
26
|
+
/**
|
|
27
|
+
* Флаг открытия меню
|
|
28
|
+
*/
|
|
29
|
+
open?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Позволяет вызвать пересчет высоты
|
|
32
|
+
*/
|
|
33
|
+
invalidate?: unknown;
|
|
34
|
+
};
|
|
35
|
+
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
|
|
36
|
+
declare function usePrevious<T>(value: T): T | undefined;
|
|
37
|
+
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
38
|
+
export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, usePrevious, lastIndexOf };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "packages/select/src/Component";
|
|
2
2
|
export * from "packages/select/src/components/index";
|
|
3
3
|
export * from "packages/select/src/presets/index";
|
|
4
|
-
export * from "./typings-
|
|
5
|
-
export * from "./utils-
|
|
4
|
+
export * from "./typings-6062b39e";
|
|
5
|
+
export * from "./utils-6062b39e";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptionsListProps } from "./typings-
|
|
3
|
+
import { OptionsListProps } from "./typings-6062b39e";
|
|
4
4
|
declare const VirtualOptionsList: React.ForwardRefExoticComponent<OptionsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
5
|
export { VirtualOptionsList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { OptionShape, OptionsListProps } from "./typings-
|
|
2
|
+
import { OptionShape, OptionsListProps } from "./typings-6062b39e";
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { HeaderProps } from "./Component-aed0af6e";
|
|
5
5
|
type FooterProps = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
|
-
import { BaseSelectProps } from "./typings-
|
|
5
|
+
import { BaseSelectProps } from "./typings-6062b39e";
|
|
6
6
|
type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Футер
|
|
@@ -37,7 +37,7 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
|
|
|
37
37
|
/**
|
|
38
38
|
* Компонент ввода значения
|
|
39
39
|
*/
|
|
40
|
-
Input?: React.FC<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
40
|
+
Input?: React.FC<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "onClick" | "value" | "onMouseDown" | "size" | "defaultValue" | "onChange" | "enterKeyHint"> & {
|
|
41
41
|
value?: string | undefined;
|
|
42
42
|
defaultValue?: string | undefined;
|
|
43
43
|
block?: boolean | undefined;
|
|
@@ -49,7 +49,7 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
|
|
|
49
49
|
hint?: React.ReactNode;
|
|
50
50
|
label?: React.ReactNode;
|
|
51
51
|
labelView?: "inner" | "outer" | undefined;
|
|
52
|
-
type?: "number" | "text" | "tel" | "email" | "
|
|
52
|
+
type?: "number" | "text" | "tel" | "email" | "password" | "card" | "money" | undefined;
|
|
53
53
|
wrapperRef?: React.Ref<HTMLDivElement> | undefined;
|
|
54
54
|
leftAddons?: React.ReactNode;
|
|
55
55
|
rightAddons?: React.ReactNode;
|
|
@@ -73,7 +73,7 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
|
|
|
73
73
|
/**
|
|
74
74
|
* Пропсы, которые будут прокинуты в инпут
|
|
75
75
|
*/
|
|
76
|
-
inputProps?: (Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
76
|
+
inputProps?: (Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "onClick" | "value" | "onMouseDown" | "size" | "defaultValue" | "onChange" | "enterKeyHint"> & {
|
|
77
77
|
value?: string | undefined;
|
|
78
78
|
defaultValue?: string | undefined;
|
|
79
79
|
block?: boolean | undefined;
|
|
@@ -85,7 +85,7 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
|
|
|
85
85
|
hint?: React.ReactNode;
|
|
86
86
|
label?: React.ReactNode;
|
|
87
87
|
labelView?: "inner" | "outer" | undefined;
|
|
88
|
-
type?: "number" | "text" | "tel" | "email" | "
|
|
88
|
+
type?: "number" | "text" | "tel" | "email" | "password" | "card" | "money" | undefined;
|
|
89
89
|
wrapperRef?: React.Ref<HTMLDivElement> | undefined;
|
|
90
90
|
leftAddons?: React.ReactNode;
|
|
91
91
|
rightAddons?: React.ReactNode;
|
|
@@ -5,7 +5,7 @@ import { ButtonProps } from "../../button";
|
|
|
5
5
|
import { BaseSelectChangePayload } from "./index-3e68f8db";
|
|
6
6
|
import { ModalMobile } from "./Component.mobile-e81c389f";
|
|
7
7
|
import { UseSelectWithApplyProps } from "./hook-b4e70cb0";
|
|
8
|
-
import { BaseSelectProps } from "./typings-
|
|
8
|
+
import { BaseSelectProps } from "./typings-6062b39e";
|
|
9
9
|
type SelectModalMobileProps = Omit<BaseSelectProps, "Checkmark" | "onScroll"> & {
|
|
10
10
|
/**
|
|
11
11
|
* Показывать кнопку очистки
|
|
@@ -14,7 +14,7 @@ type InputAutocompleteResponsiveProps = InputAutocompleteDesktopProps & InputAut
|
|
|
14
14
|
};
|
|
15
15
|
type InputAutocompleteMedia = 'desktop' | 'mobile';
|
|
16
16
|
declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "Field"> & {
|
|
17
|
-
Input?: React.FC<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
17
|
+
Input?: React.FC<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "onClick" | "value" | "onMouseDown" | "size" | "defaultValue" | "onChange" | "enterKeyHint"> & {
|
|
18
18
|
value?: string | undefined;
|
|
19
19
|
defaultValue?: string | undefined;
|
|
20
20
|
block?: boolean | undefined;
|
|
@@ -26,7 +26,7 @@ declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<
|
|
|
26
26
|
hint?: React.ReactNode;
|
|
27
27
|
label?: React.ReactNode;
|
|
28
28
|
labelView?: "inner" | "outer" | undefined;
|
|
29
|
-
type?: "number" | "text" | "tel" | "email" | "
|
|
29
|
+
type?: "number" | "text" | "tel" | "email" | "password" | "card" | "money" | undefined;
|
|
30
30
|
wrapperRef?: React.Ref<HTMLDivElement> | undefined;
|
|
31
31
|
leftAddons?: React.ReactNode;
|
|
32
32
|
rightAddons?: React.ReactNode;
|
|
@@ -47,7 +47,7 @@ declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<
|
|
|
47
47
|
onMouseUp?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
48
48
|
dataTestId?: string | undefined;
|
|
49
49
|
} & React.RefAttributes<HTMLInputElement>> | undefined;
|
|
50
|
-
inputProps?: (Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
50
|
+
inputProps?: (Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "onClick" | "value" | "onMouseDown" | "size" | "defaultValue" | "onChange" | "enterKeyHint"> & {
|
|
51
51
|
value?: string | undefined;
|
|
52
52
|
defaultValue?: string | undefined;
|
|
53
53
|
block?: boolean | undefined;
|
|
@@ -59,7 +59,7 @@ declare const InputAutocompleteResponsive: React.ForwardRefExoticComponent<Omit<
|
|
|
59
59
|
hint?: React.ReactNode;
|
|
60
60
|
label?: React.ReactNode;
|
|
61
61
|
labelView?: "inner" | "outer" | undefined;
|
|
62
|
-
type?: "number" | "text" | "tel" | "email" | "
|
|
62
|
+
type?: "number" | "text" | "tel" | "email" | "password" | "card" | "money" | undefined;
|
|
63
63
|
wrapperRef?: React.Ref<HTMLDivElement> | undefined;
|
|
64
64
|
leftAddons?: React.ReactNode;
|
|
65
65
|
rightAddons?: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "packages/select/src/Component";
|
|
2
2
|
export * from "packages/select/src/components/index";
|
|
3
3
|
export * from "packages/select/src/presets/index";
|
|
4
|
-
export * from "./typings-
|
|
5
|
-
export * from "./utils-
|
|
4
|
+
export * from "./typings-6062b39e";
|
|
5
|
+
export * from "./utils-6062b39e";
|
|
@@ -19,9 +19,9 @@ type OptionShape = {
|
|
|
19
19
|
*/
|
|
20
20
|
showCheckMark?: boolean;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Обработчик клика по option
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
onOptionClick?: () => void;
|
|
25
25
|
/**
|
|
26
26
|
* Дополнительные данные
|
|
27
27
|
*/
|
|
@@ -523,10 +523,6 @@ type OptionProps = {
|
|
|
523
523
|
* Мобильная верcия option.
|
|
524
524
|
*/
|
|
525
525
|
mobile?: boolean;
|
|
526
|
-
/**
|
|
527
|
-
* Обработчик клика по option
|
|
528
|
-
*/
|
|
529
|
-
onOptionClick?: (event: MouseEvent<HTMLDivElement>, payload: any) => void;
|
|
530
526
|
};
|
|
531
527
|
type CheckmarkProps = {
|
|
532
528
|
/**
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-6062b39e";
|
|
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']): {
|
|
10
|
+
flatOptions: OptionShape[];
|
|
11
|
+
selectedOptions: OptionShape[];
|
|
12
|
+
};
|
|
13
|
+
type useVisibleOptionsArgs = {
|
|
14
|
+
/**
|
|
15
|
+
* Количество видимых пунктов
|
|
16
|
+
*/
|
|
17
|
+
visibleOptions: number;
|
|
18
|
+
/**
|
|
19
|
+
* Реф на контейнер с пунтами меню
|
|
20
|
+
*/
|
|
21
|
+
listRef: RefObject<HTMLElement>;
|
|
22
|
+
/**
|
|
23
|
+
* Реф на контейнер, которому нужно установить высоту
|
|
24
|
+
*/
|
|
25
|
+
styleTargetRef?: RefObject<HTMLElement>;
|
|
26
|
+
/**
|
|
27
|
+
* Флаг открытия меню
|
|
28
|
+
*/
|
|
29
|
+
open?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Позволяет вызвать пересчет высоты
|
|
32
|
+
*/
|
|
33
|
+
invalidate?: unknown;
|
|
34
|
+
};
|
|
35
|
+
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
|
|
36
|
+
declare function usePrevious<T>(value: T): T | undefined;
|
|
37
|
+
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
38
|
+
export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, usePrevious, lastIndexOf };
|
|
@@ -19,9 +19,9 @@ type OptionShape = {
|
|
|
19
19
|
*/
|
|
20
20
|
showCheckMark?: boolean;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Обработчик клика по option
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
onOptionClick?: () => void;
|
|
25
25
|
/**
|
|
26
26
|
* Дополнительные данные
|
|
27
27
|
*/
|
|
@@ -523,10 +523,6 @@ type OptionProps = {
|
|
|
523
523
|
* Мобильная верcия option.
|
|
524
524
|
*/
|
|
525
525
|
mobile?: boolean;
|
|
526
|
-
/**
|
|
527
|
-
* Обработчик клика по option
|
|
528
|
-
*/
|
|
529
|
-
onOptionClick?: (event: MouseEvent<HTMLDivElement>, payload: any) => void;
|
|
530
526
|
};
|
|
531
527
|
type CheckmarkProps = {
|
|
532
528
|
/**
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-6062b39e";
|
|
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']): {
|
|
10
|
+
flatOptions: OptionShape[];
|
|
11
|
+
selectedOptions: OptionShape[];
|
|
12
|
+
};
|
|
13
|
+
type useVisibleOptionsArgs = {
|
|
14
|
+
/**
|
|
15
|
+
* Количество видимых пунктов
|
|
16
|
+
*/
|
|
17
|
+
visibleOptions: number;
|
|
18
|
+
/**
|
|
19
|
+
* Реф на контейнер с пунтами меню
|
|
20
|
+
*/
|
|
21
|
+
listRef: RefObject<HTMLElement>;
|
|
22
|
+
/**
|
|
23
|
+
* Реф на контейнер, которому нужно установить высоту
|
|
24
|
+
*/
|
|
25
|
+
styleTargetRef?: RefObject<HTMLElement>;
|
|
26
|
+
/**
|
|
27
|
+
* Флаг открытия меню
|
|
28
|
+
*/
|
|
29
|
+
open?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Позволяет вызвать пересчет высоты
|
|
32
|
+
*/
|
|
33
|
+
invalidate?: unknown;
|
|
34
|
+
};
|
|
35
|
+
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
|
|
36
|
+
declare function usePrevious<T>(value: T): T | undefined;
|
|
37
|
+
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
38
|
+
export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, usePrevious, lastIndexOf };
|
package/package.json
CHANGED
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
* Удаляет форматирование номера телефона
|
|
5
5
|
* @param phone Номер телефона
|
|
6
6
|
*/
|
|
7
|
-
var deleteFormatting = function (phone) {
|
|
7
|
+
var deleteFormatting = function (phone) {
|
|
8
|
+
return phone.replace('+', '').replace(/^7/, '').replace(/\s/g, '').replace(/-/g, '');
|
|
9
|
+
};
|
|
8
10
|
function setCaretPosition(_a) {
|
|
9
11
|
var position = _a.position, inputRef = _a.inputRef;
|
|
10
12
|
window.requestAnimationFrame(function () {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonProps } from "../../../button";
|
|
3
|
-
import { FieldProps as BaseFieldProps } from "../typings-
|
|
3
|
+
import { FieldProps as BaseFieldProps } from "../typings-6062b39e";
|
|
4
4
|
import { PickerButtonSize, PickerButtonVariant } from "../Component";
|
|
5
5
|
type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
|
|
6
6
|
buttonSize?: PickerButtonSize;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FC, SVGProps } from 'react';
|
|
3
|
-
import { OptionShape } from "../typings-
|
|
4
|
-
import { OptionProps as BaseOptionProps } from "../typings-
|
|
3
|
+
import { OptionShape } from "../typings-6062b39e";
|
|
4
|
+
import { OptionProps as BaseOptionProps } from "../typings-6062b39e";
|
|
5
5
|
type OptionProps = Omit<BaseOptionProps, 'option'> & {
|
|
6
6
|
option: OptionShape & {
|
|
7
7
|
icon?: FC<SVGProps<SVGSVGElement>>;
|