@alfalab/core-components 48.23.0-beta.0 → 48.23.0
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/components/calendar-mobile/Component.js +1 -1
- package/calendar/components/calendar-mobile/calendarMonthOnlyView.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/calendarMonthOnlyView.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/index.js +1 -1
- package/calendar/mobile/index.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/calendarMonthOnlyView.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/index.js +1 -1
- package/checkbox-group/components/base-checkbox-group/Component.d.ts +4 -2
- package/checkbox-group/components/base-checkbox-group/Component.js +7 -5
- package/checkbox-group/cssm/components/base-checkbox-group/Component.d.ts +4 -2
- package/checkbox-group/cssm/components/base-checkbox-group/Component.js +7 -5
- package/checkbox-group/esm/components/base-checkbox-group/Component.d.ts +4 -2
- package/checkbox-group/esm/components/base-checkbox-group/Component.js +8 -6
- package/checkbox-group/modern/components/base-checkbox-group/Component.d.ts +4 -2
- package/checkbox-group/modern/components/base-checkbox-group/Component.js +8 -6
- package/checkbox-group/moderncssm/components/base-checkbox-group/Component.d.ts +4 -2
- package/checkbox-group/moderncssm/components/base-checkbox-group/Component.js +8 -6
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop/component.desktop.js +1 -1
- package/confirmation/esm/desktop/index.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile/component.mobile.js +1 -1
- package/confirmation/esm/mobile/index.js +1 -1
- package/confirmation/esm/shared/index.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop/component.desktop.js +1 -1
- package/confirmation/modern/desktop/index.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile/component.mobile.js +1 -1
- package/confirmation/modern/mobile/index.js +1 -1
- package/confirmation/modern/shared/index.js +1 -1
- package/file-upload-item/components/actions-control/actions.js +1 -1
- package/file-upload-item/components/actions-control/components/delete-button/delete-button.js +1 -1
- package/file-upload-item/components/actions-control/components/download-button/download-button.js +1 -1
- package/file-upload-item/components/actions-control/components/restore-button/restore-button.js +1 -1
- package/file-upload-item/components/content/components/content-subtitle/content-subtitle.js +1 -1
- package/file-upload-item/components/status-control/status-control.js +1 -1
- package/file-upload-item/cssm/components/content/components/content-subtitle/content-subtitle.js +1 -1
- package/file-upload-item/cssm/components/status-control/status-control.js +1 -1
- package/file-upload-item/esm/Component.js +2 -2
- package/file-upload-item/esm/components/actions-control/actions.js +1 -1
- package/file-upload-item/esm/components/actions-control/components/delete-button/delete-button.js +1 -1
- package/file-upload-item/esm/components/actions-control/components/delete-button/index.js +1 -1
- package/file-upload-item/esm/components/actions-control/components/download-button/download-button.js +1 -1
- package/file-upload-item/esm/components/actions-control/components/download-button/index.js +1 -1
- package/file-upload-item/esm/components/actions-control/components/restore-button/index.js +1 -1
- package/file-upload-item/esm/components/actions-control/components/restore-button/restore-button.js +1 -1
- package/file-upload-item/esm/components/actions-control/index.js +1 -1
- package/file-upload-item/esm/components/content/components/content-subtitle/content-subtitle.js +1 -1
- package/file-upload-item/esm/components/status-control/index.js +1 -1
- package/file-upload-item/esm/components/status-control/status-control.js +1 -1
- package/file-upload-item/esm/index.js +2 -2
- package/file-upload-item/modern/Component.js +2 -2
- package/file-upload-item/modern/components/actions-control/actions.js +1 -1
- package/file-upload-item/modern/components/actions-control/components/delete-button/delete-button.js +1 -1
- package/file-upload-item/modern/components/actions-control/components/delete-button/index.js +1 -1
- package/file-upload-item/modern/components/actions-control/components/download-button/download-button.js +1 -1
- package/file-upload-item/modern/components/actions-control/components/download-button/index.js +1 -1
- package/file-upload-item/modern/components/actions-control/components/restore-button/index.js +1 -1
- package/file-upload-item/modern/components/actions-control/components/restore-button/restore-button.js +1 -1
- package/file-upload-item/modern/components/actions-control/index.js +1 -1
- package/file-upload-item/modern/components/content/components/content-subtitle/content-subtitle.js +1 -1
- package/file-upload-item/modern/components/status-control/index.js +1 -1
- package/file-upload-item/modern/components/status-control/status-control.js +1 -1
- package/file-upload-item/modern/index.js +2 -2
- package/file-upload-item/moderncssm/Component.js +1 -1
- package/file-upload-item/moderncssm/components/content/components/content-subtitle/content-subtitle.js +1 -1
- package/file-upload-item/moderncssm/components/status-control/index.js +1 -1
- package/file-upload-item/moderncssm/components/status-control/status-control.js +1 -1
- package/file-upload-item/moderncssm/index.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/hooks.js +1 -1
- package/gallery/components/image-viewer/single.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/components/image-viewer/video/index.js +1 -1
- package/gallery/cssm/components/image-viewer/video/index.js +1 -1
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/image-viewer/component.js +2 -2
- package/gallery/esm/components/image-viewer/hooks.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +2 -2
- package/gallery/esm/components/image-viewer/single.js +2 -2
- package/gallery/esm/components/image-viewer/slide.js +2 -2
- package/gallery/esm/components/image-viewer/video/index.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/image-viewer/component.js +2 -2
- package/gallery/modern/components/image-viewer/hooks.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +2 -2
- package/gallery/modern/components/image-viewer/single.js +2 -2
- package/gallery/modern/components/image-viewer/slide.js +2 -2
- package/gallery/modern/components/image-viewer/video/index.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/index.js +2 -2
- package/gallery/moderncssm/Component.js +1 -1
- package/gallery/moderncssm/components/image-viewer/component.js +1 -1
- package/gallery/moderncssm/components/image-viewer/index.js +1 -1
- package/gallery/moderncssm/components/image-viewer/single.js +1 -1
- package/gallery/moderncssm/components/image-viewer/slide.js +1 -1
- package/gallery/moderncssm/components/image-viewer/video/index.js +1 -1
- package/gallery/moderncssm/components/index.js +1 -1
- package/gallery/moderncssm/index.js +1 -1
- package/icon-view/components/base-shape/component.d.ts +1 -0
- package/icon-view/components/base-shape/component.js +9 -9
- package/icon-view/cssm/components/base-shape/component.d.ts +1 -0
- package/icon-view/cssm/components/base-shape/component.js +9 -9
- package/icon-view/esm/components/base-shape/component.d.ts +1 -0
- package/icon-view/esm/components/base-shape/component.js +9 -9
- package/icon-view/modern/components/base-shape/component.d.ts +1 -0
- package/icon-view/modern/components/base-shape/component.js +6 -7
- package/icon-view/moderncssm/components/base-shape/component.d.ts +1 -0
- package/icon-view/moderncssm/components/base-shape/component.js +6 -7
- package/input/components/base-input/Component.js +1 -3
- package/input/cssm/components/base-input/Component.js +1 -3
- package/input/esm/Component.responsive.js +0 -5
- package/input/esm/components/base-input/Component.js +1 -7
- package/input/esm/components/base-input/index.js +0 -5
- package/input/esm/desktop/Component.desktop.js +0 -5
- package/input/esm/desktop/index.js +0 -5
- package/input/esm/index.js +0 -5
- package/input/esm/mobile/Component.mobile.js +0 -5
- package/input/esm/mobile/index.js +0 -5
- package/input/modern/Component.responsive.js +0 -5
- package/input/modern/components/base-input/Component.js +1 -7
- package/input/modern/components/base-input/index.js +0 -5
- package/input/modern/desktop/Component.desktop.js +0 -5
- package/input/modern/desktop/index.js +0 -5
- package/input/modern/index.js +0 -5
- package/input/modern/mobile/Component.mobile.js +0 -5
- package/input/modern/mobile/index.js +0 -5
- package/input/moderncssm/Component.responsive.js +0 -5
- package/input/moderncssm/components/base-input/Component.js +1 -7
- package/input/moderncssm/components/base-input/index.js +0 -5
- package/input/moderncssm/desktop/Component.desktop.js +0 -5
- package/input/moderncssm/desktop/index.js +0 -5
- package/input/moderncssm/index.js +0 -5
- package/input/moderncssm/mobile/Component.mobile.js +0 -5
- package/input/moderncssm/mobile/index.js +0 -5
- package/international-phone-input/typings-d515b24c.d.ts +559 -11
- 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 +3 -2
- package/password-input/component.d.ts +14 -0
- package/password-input/component.js +8 -6
- package/password-input/cssm/component.d.ts +14 -0
- package/password-input/cssm/component.js +8 -6
- package/password-input/esm/component.d.ts +14 -0
- package/password-input/esm/component.js +8 -6
- package/password-input/modern/component.d.ts +14 -0
- package/password-input/modern/component.js +7 -5
- package/password-input/moderncssm/component.d.ts +14 -0
- package/password-input/moderncssm/component.js +7 -5
- package/picker-button/Component-c44170fe.d.ts +3 -34
- package/picker-button/cssm/Component-c44170fe.d.ts +5 -36
- package/picker-button/cssm/transformSize-ebda875c.d.ts +1 -1
- package/picker-button/esm/Component-c44170fe.d.ts +3 -34
- package/picker-button/modern/Component-c44170fe.d.ts +3 -34
- package/picker-button/moderncssm/Component-c44170fe.d.ts +3 -34
- package/product-cover/components/image-card/Component.d.ts +6 -1
- package/product-cover/components/image-card/Component.js +2 -2
- package/product-cover/components/text/Component.d.ts +6 -1
- package/product-cover/components/text/Component.js +6 -6
- package/product-cover/cssm/components/image-card/Component.d.ts +6 -1
- package/product-cover/cssm/components/image-card/Component.js +2 -2
- package/product-cover/cssm/components/text/Component.d.ts +6 -1
- package/product-cover/cssm/components/text/Component.js +6 -6
- package/product-cover/cssm/single/Component.js +4 -4
- package/product-cover/cssm/stack/Component.js +2 -2
- package/product-cover/cssm/typings.d.ts +14 -4
- package/product-cover/cssm/utils/index.d.ts +2 -2
- package/product-cover/cssm/utils/index.js +4 -4
- package/product-cover/esm/components/image-card/Component.d.ts +6 -1
- package/product-cover/esm/components/image-card/Component.js +2 -2
- package/product-cover/esm/components/text/Component.d.ts +6 -1
- package/product-cover/esm/components/text/Component.js +7 -7
- package/product-cover/esm/single/Component.js +4 -4
- package/product-cover/esm/stack/Component.js +2 -2
- package/product-cover/esm/typings.d.ts +14 -4
- package/product-cover/esm/utils/index.d.ts +2 -2
- package/product-cover/esm/utils/index.js +4 -4
- package/product-cover/modern/components/image-card/Component.d.ts +6 -1
- package/product-cover/modern/components/image-card/Component.js +2 -2
- package/product-cover/modern/components/text/Component.d.ts +6 -1
- package/product-cover/modern/components/text/Component.js +7 -7
- package/product-cover/modern/single/Component.js +4 -4
- package/product-cover/modern/stack/Component.js +2 -2
- package/product-cover/modern/typings.d.ts +14 -4
- package/product-cover/modern/utils/index.d.ts +2 -2
- package/product-cover/modern/utils/index.js +4 -4
- package/product-cover/moderncssm/components/image-card/Component.d.ts +6 -1
- package/product-cover/moderncssm/components/image-card/Component.js +2 -2
- package/product-cover/moderncssm/components/text/Component.d.ts +6 -1
- package/product-cover/moderncssm/components/text/Component.js +7 -7
- package/product-cover/moderncssm/single/Component.js +4 -4
- package/product-cover/moderncssm/stack/Component.js +2 -2
- package/product-cover/moderncssm/typings.d.ts +14 -4
- package/product-cover/moderncssm/utils/index.d.ts +2 -2
- package/product-cover/moderncssm/utils/index.js +4 -4
- package/product-cover/single/Component.js +4 -4
- package/product-cover/stack/Component.js +2 -2
- package/product-cover/typings.d.ts +14 -4
- package/product-cover/utils/index.d.ts +2 -2
- package/product-cover/utils/index.js +4 -4
- 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/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/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.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared/index.js +3 -3
- 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/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.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared/index.js +3 -3
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/index.js +1 -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/spinner/cssm/index.module.css +1 -0
- package/spinner/esm/index.css +1 -0
- package/spinner/index.css +1 -0
- package/spinner/modern/index.css +1 -0
- package/spinner/moderncssm/index.module.css +1 -0
- package/status/Component.d.ts +8 -2
- package/status/Component.js +4 -2
- package/status/cssm/Component.d.ts +8 -2
- package/status/cssm/Component.js +3 -1
- package/status/cssm/index.module.css +24 -2
- package/status/esm/Component.d.ts +8 -2
- package/status/esm/Component.js +4 -2
- package/status/esm/index.css +28 -2
- package/status/index.css +28 -2
- package/status/modern/Component.d.ts +8 -2
- package/status/modern/Component.js +4 -2
- package/status/modern/index.css +28 -2
- package/status/moderncssm/Component.d.ts +8 -2
- package/status/moderncssm/Component.js +3 -1
- package/status/moderncssm/index.module.css +25 -0
- 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/textarea/Component.js +1 -1
- package/textarea/components/PseudoTextArea.js +1 -1
- package/textarea/components/index.d.ts +1 -1
- package/textarea/components/index.js +1 -1
- package/textarea/esm/Component.js +1 -1
- package/textarea/esm/components/PseudoTextArea.js +1 -1
- package/textarea/esm/components/index.d.ts +1 -1
- package/textarea/esm/components/index.js +1 -1
- package/textarea/esm/index.js +1 -1
- package/textarea/modern/Component.js +1 -1
- package/textarea/modern/components/PseudoTextArea.js +1 -1
- package/textarea/modern/components/index.d.ts +1 -1
- package/textarea/modern/components/index.js +1 -1
- package/textarea/modern/index.js +1 -1
- package/themes/compiled/mobile-dark-bluetint.css +20 -20
- package/typography/esm/component.js +2 -2
- package/typography/esm/index.js +2 -2
- package/typography/esm/text/component.js +1 -1
- package/typography/esm/text/index.js +1 -1
- package/typography/esm/title/component.js +1 -1
- package/typography/esm/title/index.js +2 -2
- package/typography/esm/title-mobile/component.js +2 -2
- package/typography/esm/title-mobile/index.js +2 -2
- package/typography/esm/title-responsive/component.js +2 -2
- package/typography/esm/title-responsive/index.js +2 -2
- package/typography/modern/component.js +2 -2
- package/typography/modern/index.js +2 -2
- package/typography/modern/text/component.js +1 -1
- package/typography/modern/text/index.js +1 -1
- package/typography/modern/title/component.js +1 -1
- package/typography/modern/title/index.js +2 -2
- package/typography/modern/title-mobile/component.js +2 -2
- package/typography/modern/title-mobile/index.js +2 -2
- package/typography/modern/title-responsive/component.js +2 -2
- package/typography/modern/title-responsive/index.js +2 -2
- package/typography/text/component.js +1 -1
- package/typography/title/component.js +1 -1
- package/typography/title/index.js +1 -1
- package/typography/title-mobile/component.js +1 -1
- package/universal-modal/Component.responsive.d.ts +2 -2
- package/universal-modal/components/header/desktop/Component.desktop.js +14 -4
- package/universal-modal/components/header/mobile/Component.mobile.js +1 -1
- package/universal-modal/cssm/components/header/desktop/Component.desktop.js +13 -3
- package/universal-modal/cssm/utils/getUniversalModalTestIds.d.ts +1 -0
- package/universal-modal/cssm/utils/getUniversalModalTestIds.js +1 -0
- package/universal-modal/desktop/Component.desktop.d.ts +2 -2
- package/universal-modal/desktop/components/center-modal/center-modal.d.ts +1 -1
- package/universal-modal/desktop/components/side-modal/side-modal.d.ts +1 -1
- package/universal-modal/esm/Component.responsive.js +1 -1
- package/universal-modal/esm/components/header/desktop/Component.desktop.js +14 -4
- package/universal-modal/esm/components/header/index.js +1 -1
- package/universal-modal/esm/components/header/mobile/Component.mobile.js +1 -1
- package/universal-modal/esm/components/header/responsive/Component.responsive.js +1 -1
- package/universal-modal/esm/desktop/Component.desktop.js +1 -1
- package/universal-modal/esm/desktop/index.js +1 -1
- package/universal-modal/esm/index.js +1 -1
- package/universal-modal/esm/mobile/Component.mobile.js +1 -1
- package/universal-modal/esm/mobile/index.js +1 -1
- package/universal-modal/esm/utils/getUniversalModalTestIds.d.ts +1 -0
- package/universal-modal/esm/utils/getUniversalModalTestIds.js +1 -0
- package/universal-modal/mobile/Component.mobile.d.ts +2 -2
- package/universal-modal/modern/Component.responsive.js +1 -1
- package/universal-modal/modern/components/header/desktop/Component.desktop.js +10 -4
- package/universal-modal/modern/components/header/index.js +1 -1
- package/universal-modal/modern/components/header/mobile/Component.mobile.js +1 -1
- package/universal-modal/modern/components/header/responsive/Component.responsive.js +1 -1
- package/universal-modal/modern/desktop/Component.desktop.js +1 -1
- package/universal-modal/modern/desktop/index.js +1 -1
- package/universal-modal/modern/index.js +1 -1
- package/universal-modal/modern/mobile/Component.mobile.js +1 -1
- package/universal-modal/modern/mobile/index.js +1 -1
- package/universal-modal/modern/utils/getUniversalModalTestIds.d.ts +1 -0
- package/universal-modal/modern/utils/getUniversalModalTestIds.js +1 -0
- package/universal-modal/moderncssm/Component.responsive.d.ts +2 -2
- package/universal-modal/moderncssm/components/header/desktop/Component.desktop.js +9 -3
- package/universal-modal/moderncssm/desktop/Component.desktop.d.ts +2 -2
- package/universal-modal/moderncssm/desktop/components/center-modal/center-modal.d.ts +1 -1
- package/universal-modal/moderncssm/desktop/components/side-modal/side-modal.d.ts +1 -1
- package/universal-modal/moderncssm/mobile/Component.mobile.d.ts +2 -2
- package/universal-modal/moderncssm/utils/getUniversalModalTestIds.d.ts +1 -0
- package/universal-modal/moderncssm/utils/getUniversalModalTestIds.js +1 -0
- package/universal-modal/utils/getUniversalModalTestIds.d.ts +1 -0
- package/universal-modal/utils/getUniversalModalTestIds.js +1 -0
- package/input/cssm/helpers/findScrollableParent.d.ts +0 -11
- package/input/cssm/helpers/findScrollableParent.js +0 -25
- package/input/cssm/helpers/isInput.d.ts +0 -16
- package/input/cssm/helpers/isInput.js +0 -42
- package/input/cssm/helpers/isScrollable.d.ts +0 -2
- package/input/cssm/helpers/isScrollable.js +0 -14
- package/input/cssm/hooks/usePreventScrollOnFocus.d.ts +0 -3
- package/input/cssm/hooks/usePreventScrollOnFocus.js +0 -67
- package/input/cssm/hooks/useVirtualKeyboard.d.ts +0 -5
- package/input/cssm/hooks/useVirtualKeyboard.js +0 -31
- package/input/esm/helpers/findScrollableParent.d.ts +0 -11
- package/input/esm/helpers/findScrollableParent.js +0 -23
- package/input/esm/helpers/isInput.d.ts +0 -16
- package/input/esm/helpers/isInput.js +0 -40
- package/input/esm/helpers/isScrollable.d.ts +0 -2
- package/input/esm/helpers/isScrollable.js +0 -12
- package/input/esm/hooks/usePreventScrollOnFocus.d.ts +0 -3
- package/input/esm/hooks/usePreventScrollOnFocus.js +0 -66
- package/input/esm/hooks/useVirtualKeyboard.d.ts +0 -5
- package/input/esm/hooks/useVirtualKeyboard.js +0 -29
- package/input/helpers/findScrollableParent.d.ts +0 -11
- package/input/helpers/findScrollableParent.js +0 -25
- package/input/helpers/isInput.d.ts +0 -16
- package/input/helpers/isInput.js +0 -42
- package/input/helpers/isScrollable.d.ts +0 -2
- package/input/helpers/isScrollable.js +0 -14
- package/input/hooks/usePreventScrollOnFocus.d.ts +0 -3
- package/input/hooks/usePreventScrollOnFocus.js +0 -67
- package/input/hooks/useVirtualKeyboard.d.ts +0 -5
- package/input/hooks/useVirtualKeyboard.js +0 -31
- package/input/modern/helpers/findScrollableParent.d.ts +0 -11
- package/input/modern/helpers/findScrollableParent.js +0 -23
- package/input/modern/helpers/isInput.d.ts +0 -16
- package/input/modern/helpers/isInput.js +0 -40
- package/input/modern/helpers/isScrollable.d.ts +0 -2
- package/input/modern/helpers/isScrollable.js +0 -12
- package/input/modern/hooks/usePreventScrollOnFocus.d.ts +0 -3
- package/input/modern/hooks/usePreventScrollOnFocus.js +0 -64
- package/input/modern/hooks/useVirtualKeyboard.d.ts +0 -5
- package/input/modern/hooks/useVirtualKeyboard.js +0 -29
- package/input/moderncssm/helpers/findScrollableParent.d.ts +0 -11
- package/input/moderncssm/helpers/findScrollableParent.js +0 -23
- package/input/moderncssm/helpers/isInput.d.ts +0 -16
- package/input/moderncssm/helpers/isInput.js +0 -40
- package/input/moderncssm/helpers/isScrollable.d.ts +0 -2
- package/input/moderncssm/helpers/isScrollable.js +0 -12
- package/input/moderncssm/hooks/usePreventScrollOnFocus.d.ts +0 -3
- package/input/moderncssm/hooks/usePreventScrollOnFocus.js +0 -64
- package/input/moderncssm/hooks/useVirtualKeyboard.d.ts +0 -5
- package/input/moderncssm/hooks/useVirtualKeyboard.js +0 -29
- package/international-phone-input/index-235f6347.d.ts +0 -272
- package/international-phone-input/types-464d40a4.d.ts +0 -293
- /package/calendar/{calendarMonthOnlyView-d9c730cf.d.ts → calendarMonthOnlyView-d7962ba1.d.ts} +0 -0
- /package/calendar/{calendarMonthOnlyView-d9c730cf.js → calendarMonthOnlyView-d7962ba1.js} +0 -0
- /package/calendar/esm/{calendarMonthOnlyView-a6afa5b6.d.ts → calendarMonthOnlyView-fd95c592.d.ts} +0 -0
- /package/calendar/esm/{calendarMonthOnlyView-a6afa5b6.js → calendarMonthOnlyView-fd95c592.js} +0 -0
- /package/calendar/modern/{calendarMonthOnlyView-44e1c26b.d.ts → calendarMonthOnlyView-1bf0d693.d.ts} +0 -0
- /package/calendar/modern/{calendarMonthOnlyView-44e1c26b.js → calendarMonthOnlyView-1bf0d693.js} +0 -0
- /package/confirmation/{countdown-section-a0ef9e36.d.ts → countdown-section-4b769e3d.d.ts} +0 -0
- /package/confirmation/{countdown-section-a0ef9e36.js → countdown-section-4b769e3d.js} +0 -0
- /package/confirmation/esm/{countdown-section-2f6f8adb.d.ts → countdown-section-8cccd867.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-2f6f8adb.js → countdown-section-8cccd867.js} +0 -0
- /package/confirmation/modern/{countdown-section-ff0b9f85.d.ts → countdown-section-b6f5538b.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-ff0b9f85.js → countdown-section-b6f5538b.js} +0 -0
- /package/file-upload-item/{actions-control.module-2eb76329.js → actions-control.module-abc8f125.js} +0 -0
- /package/file-upload-item/esm/{actions-control.module-8047680e.js → actions-control.module-7305124e.js} +0 -0
- /package/file-upload-item/modern/{actions-control.module-5d194cf0.js → actions-control.module-0da6088b.js} +0 -0
- /package/gallery/esm/{hooks-62f2553f.d.ts → hooks-37b45d6d.d.ts} +0 -0
- /package/gallery/esm/{hooks-62f2553f.js → hooks-37b45d6d.js} +0 -0
- /package/gallery/{hooks-39acefec.d.ts → hooks-931c1aa3.d.ts} +0 -0
- /package/gallery/{hooks-39acefec.js → hooks-931c1aa3.js} +0 -0
- /package/gallery/modern/{hooks-b30860a1.d.ts → hooks-4af7cd73.d.ts} +0 -0
- /package/gallery/modern/{hooks-b30860a1.js → hooks-4af7cd73.js} +0 -0
- /package/modal/esm/{layout.module-cc3d7d30.js → layout.module-80a5db61.js} +0 -0
- /package/modal/{layout.module-88dae8bd.js → layout.module-8bb05af0.js} +0 -0
- /package/modal/modern/{layout.module-a5cb3874.js → layout.module-a40a71f3.js} +0 -0
- /package/pure-cell/{component-d8a26783.d.ts → component-ffa871c3.d.ts} +0 -0
- /package/pure-cell/{component-d8a26783.js → component-ffa871c3.js} +0 -0
- /package/pure-cell/esm/{component-a85d77b3.d.ts → component-11f84b19.d.ts} +0 -0
- /package/pure-cell/esm/{component-a85d77b3.js → component-11f84b19.js} +0 -0
- /package/pure-cell/modern/{component-92dbeeda.d.ts → component-e725d224.d.ts} +0 -0
- /package/pure-cell/modern/{component-92dbeeda.js → component-e725d224.js} +0 -0
- /package/select/esm/{hook-7199f493.d.ts → hook-bc1ea911.d.ts} +0 -0
- /package/select/esm/{hook-7199f493.js → hook-bc1ea911.js} +0 -0
- /package/select/esm/{list-popover-desktop-b5f1a09c.d.ts → list-popover-desktop-f5cda104.d.ts} +0 -0
- /package/select/esm/{list-popover-desktop-b5f1a09c.js → list-popover-desktop-f5cda104.js} +0 -0
- /package/select/esm/{mobile.module-ca5601d6.js → mobile.module-b7dd0d6a.js} +0 -0
- /package/select/{hook-c5dc8941.d.ts → hook-fe1c7ed3.d.ts} +0 -0
- /package/select/{hook-c5dc8941.js → hook-fe1c7ed3.js} +0 -0
- /package/select/{list-popover-desktop-39ddc283.d.ts → list-popover-desktop-4037363d.d.ts} +0 -0
- /package/select/{list-popover-desktop-39ddc283.js → list-popover-desktop-4037363d.js} +0 -0
- /package/select/{mobile.module-1203bf61.js → mobile.module-9cea3820.js} +0 -0
- /package/select/modern/{hook-db27571c.d.ts → hook-72d02bc6.d.ts} +0 -0
- /package/select/modern/{hook-db27571c.js → hook-72d02bc6.js} +0 -0
- /package/select/modern/{list-popover-desktop-6a634875.d.ts → list-popover-desktop-d892a206.d.ts} +0 -0
- /package/select/modern/{list-popover-desktop-6a634875.js → list-popover-desktop-d892a206.js} +0 -0
- /package/select/modern/{mobile.module-4896283c.js → mobile.module-a79b5ac2.js} +0 -0
- /package/side-panel/esm/{layout.module-b2ec1308.js → layout.module-5e09b4ce.js} +0 -0
- /package/side-panel/{layout.module-1a0e4490.js → layout.module-3bf6f157.js} +0 -0
- /package/side-panel/modern/{layout.module-a929650c.js → layout.module-6a165f20.js} +0 -0
- /package/tabs/esm/{index.module-1728571d.js → index.module-4727f97e.js} +0 -0
- /package/tabs/esm/{index.module-9e20d95f.js → index.module-da2e30be.js} +0 -0
- /package/tabs/{index.module-417412d8.js → index.module-7b4b5510.js} +0 -0
- /package/tabs/{index.module-8f8b64f2.js → index.module-7ddbb45d.js} +0 -0
- /package/tabs/modern/{index.module-6a379f5e.js → index.module-98af5c45.js} +0 -0
- /package/tabs/modern/{index.module-f21c4ecb.js → index.module-e8b3b734.js} +0 -0
- /package/textarea/{PseudoTextArea-4e483f15.d.ts → PseudoTextArea-6237dbc3.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-4e483f15.js → PseudoTextArea-6237dbc3.js} +0 -0
- /package/textarea/esm/{PseudoTextArea-79dc6712.d.ts → PseudoTextArea-691ebeeb.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-79dc6712.js → PseudoTextArea-691ebeeb.js} +0 -0
- /package/textarea/modern/{PseudoTextArea-01e573fc.d.ts → PseudoTextArea-25604eec.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-01e573fc.js → PseudoTextArea-25604eec.js} +0 -0
- /package/typography/{colors.module-6207a2cb.js → colors.module-60c27fcf.js} +0 -0
- /package/typography/{common.module-da186315.js → common.module-4a8391af.js} +0 -0
- /package/typography/esm/{colors.module-1321afaf.js → colors.module-a9d133f9.js} +0 -0
- /package/typography/esm/{common.module-45c113f5.js → common.module-9b64ffa3.js} +0 -0
- /package/typography/modern/{colors.module-855bb586.js → colors.module-04ff9960.js} +0 -0
- /package/typography/modern/{common.module-cfed8796.js → common.module-f418479d.js} +0 -0
- /package/universal-modal/esm/{index.module-635b2d9f.js → index.module-5bdb438d.js} +0 -0
- /package/universal-modal/{index.module-331fa14f.js → index.module-cf6eab05.js} +0 -0
- /package/universal-modal/modern/{index.module-958e796d.js → index.module-803ae65c.js} +0 -0
package/modal/esm/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import './Context.js';
|
|
|
10
10
|
import '../../base-modal/esm';
|
|
11
11
|
import './ResponsiveContext.js';
|
|
12
12
|
import './components/controls/Component.js';
|
|
13
|
-
import './layout.module-
|
|
13
|
+
import './layout.module-80a5db61.js';
|
|
14
14
|
import './components/footer/Component.js';
|
|
15
15
|
import './components/header/Component.js';
|
|
16
16
|
import '../../navigation-bar-private/esm';
|
|
@@ -12,7 +12,7 @@ import '../consts.js';
|
|
|
12
12
|
import '../ResponsiveContext.js';
|
|
13
13
|
import '../../../shared/esm';
|
|
14
14
|
import '../Context.js';
|
|
15
|
-
import '../layout.module-
|
|
15
|
+
import '../layout.module-80a5db61.js';
|
|
16
16
|
import '../../../navigation-bar-private/esm';
|
|
17
17
|
|
|
18
18
|
var ModalMobileComponent = forwardRef(function (props, ref) { return (React.createElement(Modal, __assign({}, props, { ref: ref, view: 'mobile' }))); });
|
|
@@ -12,6 +12,6 @@ import '../consts.js';
|
|
|
12
12
|
import '../ResponsiveContext.js';
|
|
13
13
|
import '../components/controls/Component.js';
|
|
14
14
|
import '../../../shared/esm';
|
|
15
|
-
import '../layout.module-
|
|
15
|
+
import '../layout.module-80a5db61.js';
|
|
16
16
|
import '../Context.js';
|
|
17
17
|
import '../../../navigation-bar-private/esm';
|
|
@@ -11,7 +11,7 @@ import './consts.js';
|
|
|
11
11
|
import './Context.js';
|
|
12
12
|
import '../../base-modal/modern';
|
|
13
13
|
import './ResponsiveContext.js';
|
|
14
|
-
import './layout.module-
|
|
14
|
+
import './layout.module-a40a71f3.js';
|
|
15
15
|
import '../../navigation-bar-private/modern';
|
|
16
16
|
import 'react-merge-refs';
|
|
17
17
|
|
|
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { getDataTestId } from '../../../../shared/modern';
|
|
4
4
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
5
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
5
|
+
import { l as layoutStyles } from '../../layout.module-a40a71f3.js';
|
|
6
6
|
|
|
7
7
|
const styles = {"component":"modal__component_rfswo"};
|
|
8
8
|
require('./index.css');
|
|
@@ -4,7 +4,7 @@ import { getDataTestId } from '../../../../shared/modern';
|
|
|
4
4
|
import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
|
|
5
5
|
import { ModalContext } from '../../Context.js';
|
|
6
6
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
7
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
7
|
+
import { l as layoutStyles } from '../../layout.module-a40a71f3.js';
|
|
8
8
|
import '../../../../base-modal/modern';
|
|
9
9
|
|
|
10
10
|
const desktopStyles = {"footer":"modal__footer_bwe6q","sticky":"modal__sticky_bwe6q","fullscreen":"modal__fullscreen_bwe6q","size-500":"modal__size-500_bwe6q","size-600":"modal__size-600_bwe6q","size-800":"modal__size-800_bwe6q","size-1140":"modal__size-1140_bwe6q"};
|
|
@@ -11,7 +11,7 @@ import '../consts.js';
|
|
|
11
11
|
import '../ResponsiveContext.js';
|
|
12
12
|
import '../../../shared/modern';
|
|
13
13
|
import '../Context.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-a40a71f3.js';
|
|
15
15
|
import '../../../navigation-bar-private/modern';
|
|
16
16
|
|
|
17
17
|
const ModalDesktopComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'desktop' })));
|
|
@@ -10,7 +10,7 @@ import '../consts.js';
|
|
|
10
10
|
import '../ResponsiveContext.js';
|
|
11
11
|
import '../components/controls/Component.js';
|
|
12
12
|
import '../../../shared/modern';
|
|
13
|
-
import '../layout.module-
|
|
13
|
+
import '../layout.module-a40a71f3.js';
|
|
14
14
|
import '../components/header/Component.js';
|
|
15
15
|
import '../../../navigation-bar-private/modern';
|
|
16
16
|
import '../Context.js';
|
package/modal/modern/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import './Context.js';
|
|
|
9
9
|
import '../../base-modal/modern';
|
|
10
10
|
import './ResponsiveContext.js';
|
|
11
11
|
import './components/controls/Component.js';
|
|
12
|
-
import './layout.module-
|
|
12
|
+
import './layout.module-a40a71f3.js';
|
|
13
13
|
import './components/footer/Component.js';
|
|
14
14
|
import './components/header/Component.js';
|
|
15
15
|
import '../../navigation-bar-private/modern';
|
|
@@ -11,7 +11,7 @@ import '../consts.js';
|
|
|
11
11
|
import '../ResponsiveContext.js';
|
|
12
12
|
import '../../../shared/modern';
|
|
13
13
|
import '../Context.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-a40a71f3.js';
|
|
15
15
|
import '../../../navigation-bar-private/modern';
|
|
16
16
|
|
|
17
17
|
const ModalMobileComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'mobile' })));
|
|
@@ -11,6 +11,6 @@ import '../consts.js';
|
|
|
11
11
|
import '../ResponsiveContext.js';
|
|
12
12
|
import '../components/controls/Component.js';
|
|
13
13
|
import '../../../shared/modern';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-a40a71f3.js';
|
|
15
15
|
import '../Context.js';
|
|
16
16
|
import '../../../navigation-bar-private/modern';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components",
|
|
3
|
-
"version": "48.23.0
|
|
3
|
+
"version": "48.23.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"analyze-package-sizes": "node bin/analyze-package-sizes.mjs",
|
|
38
38
|
"write-vars-and-themes-version": "node ./bin/write-vars-and-themes-version.js",
|
|
39
39
|
"update-bb-mirror": "git config lfs.allowincompletepush true && git push -f 'https://{userName}@git.moscow.alfaintra.net/scm/ef/core-components.git' master:master",
|
|
40
|
-
"generate-dark-colors": " node ./tools/dark-colors-generator.js"
|
|
40
|
+
"generate-dark-colors": " node ./tools/dark-colors-generator.js",
|
|
41
|
+
"non-existent-css-vars": "node bin/non-existent-css-vars.mjs"
|
|
41
42
|
},
|
|
42
43
|
"browserslist": {
|
|
43
44
|
"production": [
|
|
@@ -11,6 +11,13 @@ type PasswordInputProps = Omit<InputProps, 'size'> & {
|
|
|
11
11
|
* Управление видимостью пароля (controlled)
|
|
12
12
|
*/
|
|
13
13
|
passwordVisible?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Управление текстом подсказки
|
|
16
|
+
*/
|
|
17
|
+
passwordHint?: {
|
|
18
|
+
visible: string;
|
|
19
|
+
hidden: string;
|
|
20
|
+
};
|
|
14
21
|
/**
|
|
15
22
|
* Коллбэк при изменении видимости пароля
|
|
16
23
|
*/
|
|
@@ -26,6 +33,13 @@ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<InputProps, "s
|
|
|
26
33
|
* Управление видимостью пароля (controlled)
|
|
27
34
|
*/
|
|
28
35
|
passwordVisible?: boolean | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Управление текстом подсказки
|
|
38
|
+
*/
|
|
39
|
+
passwordHint?: {
|
|
40
|
+
visible: string;
|
|
41
|
+
hidden: string;
|
|
42
|
+
} | undefined;
|
|
29
43
|
/**
|
|
30
44
|
* Коллбэк при изменении видимости пароля
|
|
31
45
|
*/
|
|
@@ -27,23 +27,25 @@ var SIZE_TO_CLASSNAME_MAP = {
|
|
|
27
27
|
72: 'size-72',
|
|
28
28
|
};
|
|
29
29
|
var PasswordInput = React.forwardRef(function (_a, ref) {
|
|
30
|
-
var onPasswordVisibleChange = _a.onPasswordVisibleChange, passwordVisible = _a.passwordVisible, disabled = _a.disabled, colors = _a.colors, rightAddons = _a.rightAddons, _b = _a.size, size = _b === void 0 ? 48 : _b,
|
|
30
|
+
var onPasswordVisibleChange = _a.onPasswordVisibleChange, passwordVisible = _a.passwordVisible, disabled = _a.disabled, colors = _a.colors, rightAddons = _a.rightAddons, _b = _a.size, size = _b === void 0 ? 48 : _b, _c = _a.passwordHint, passwordHint = _c === void 0 ? {
|
|
31
|
+
visible: 'Скрыть',
|
|
32
|
+
hidden: 'Показать',
|
|
33
|
+
} : _c, className = _a.className, restProps = tslib.__rest(_a, ["onPasswordVisibleChange", "passwordVisible", "disabled", "colors", "rightAddons", "size", "passwordHint", "className"]);
|
|
34
|
+
var visible = passwordHint.visible, hidden = passwordHint.hidden;
|
|
31
35
|
var uncontrolled = passwordVisible === undefined;
|
|
32
|
-
var
|
|
36
|
+
var _d = React.useState(uncontrolled ? false : passwordVisible), statePasswordVisible = _d[0], setStatePasswordVisible = _d[1];
|
|
33
37
|
var handleButtonClick = React.useCallback(function () {
|
|
34
38
|
if (onPasswordVisibleChange) {
|
|
35
39
|
onPasswordVisibleChange(!passwordVisible);
|
|
36
40
|
}
|
|
37
41
|
if (uncontrolled) {
|
|
38
|
-
setStatePasswordVisible(function (
|
|
42
|
+
setStatePasswordVisible(function (prevVisible) { return !prevVisible; });
|
|
39
43
|
}
|
|
40
44
|
}, [passwordVisible, uncontrolled, onPasswordVisibleChange]);
|
|
41
45
|
var isPasswordVisible = uncontrolled ? statePasswordVisible : passwordVisible;
|
|
42
46
|
return (React__default.default.createElement(coreComponentsInput.Input, tslib.__assign({}, restProps, { disabled: disabled, type: isPasswordVisible ? 'text' : 'password', size: size, ref: ref, colors: colors, className: cn__default.default(className, styles[SIZE_TO_CLASSNAME_MAP[size]]), rightAddons: React__default.default.createElement(React__default.default.Fragment, null,
|
|
43
47
|
rightAddons,
|
|
44
|
-
React__default.default.createElement(coreComponentsIconButton.IconButton, { className: styles.eye, colors: colors, view: 'secondary', size: 's', icon: isPasswordVisible ? EyeMIcon.EyeMIcon : EyeOffMIcon.EyeOffMIcon, onClick: handleButtonClick, disabled: disabled, title: isPasswordVisible
|
|
45
|
-
? 'Скрыть введённые цифры'
|
|
46
|
-
: 'Показать введённые цифры' })), addonsClassName: styles.addons, inputClassName: styles.input })));
|
|
48
|
+
React__default.default.createElement(coreComponentsIconButton.IconButton, { className: styles.eye, colors: colors, view: 'secondary', size: 's', icon: isPasswordVisible ? EyeMIcon.EyeMIcon : EyeOffMIcon.EyeOffMIcon, onClick: handleButtonClick, disabled: disabled, title: isPasswordVisible ? visible : hidden })), addonsClassName: styles.addons, inputClassName: styles.input })));
|
|
47
49
|
});
|
|
48
50
|
PasswordInput.displayName = 'PasswordInput';
|
|
49
51
|
|
|
@@ -11,6 +11,13 @@ type PasswordInputProps = Omit<InputProps, 'size'> & {
|
|
|
11
11
|
* Управление видимостью пароля (controlled)
|
|
12
12
|
*/
|
|
13
13
|
passwordVisible?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Управление текстом подсказки
|
|
16
|
+
*/
|
|
17
|
+
passwordHint?: {
|
|
18
|
+
visible: string;
|
|
19
|
+
hidden: string;
|
|
20
|
+
};
|
|
14
21
|
/**
|
|
15
22
|
* Коллбэк при изменении видимости пароля
|
|
16
23
|
*/
|
|
@@ -26,6 +33,13 @@ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<InputProps, "s
|
|
|
26
33
|
* Управление видимостью пароля (controlled)
|
|
27
34
|
*/
|
|
28
35
|
passwordVisible?: boolean | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Управление текстом подсказки
|
|
38
|
+
*/
|
|
39
|
+
passwordHint?: {
|
|
40
|
+
visible: string;
|
|
41
|
+
hidden: string;
|
|
42
|
+
} | undefined;
|
|
29
43
|
/**
|
|
30
44
|
* Коллбэк при изменении видимости пароля
|
|
31
45
|
*/
|
|
@@ -26,23 +26,25 @@ var SIZE_TO_CLASSNAME_MAP = {
|
|
|
26
26
|
72: 'size-72',
|
|
27
27
|
};
|
|
28
28
|
var PasswordInput = React.forwardRef(function (_a, ref) {
|
|
29
|
-
var onPasswordVisibleChange = _a.onPasswordVisibleChange, passwordVisible = _a.passwordVisible, disabled = _a.disabled, colors = _a.colors, rightAddons = _a.rightAddons, _b = _a.size, size = _b === void 0 ? 48 : _b,
|
|
29
|
+
var onPasswordVisibleChange = _a.onPasswordVisibleChange, passwordVisible = _a.passwordVisible, disabled = _a.disabled, colors = _a.colors, rightAddons = _a.rightAddons, _b = _a.size, size = _b === void 0 ? 48 : _b, _c = _a.passwordHint, passwordHint = _c === void 0 ? {
|
|
30
|
+
visible: 'Скрыть',
|
|
31
|
+
hidden: 'Показать',
|
|
32
|
+
} : _c, className = _a.className, restProps = tslib.__rest(_a, ["onPasswordVisibleChange", "passwordVisible", "disabled", "colors", "rightAddons", "size", "passwordHint", "className"]);
|
|
33
|
+
var visible = passwordHint.visible, hidden = passwordHint.hidden;
|
|
30
34
|
var uncontrolled = passwordVisible === undefined;
|
|
31
|
-
var
|
|
35
|
+
var _d = React.useState(uncontrolled ? false : passwordVisible), statePasswordVisible = _d[0], setStatePasswordVisible = _d[1];
|
|
32
36
|
var handleButtonClick = React.useCallback(function () {
|
|
33
37
|
if (onPasswordVisibleChange) {
|
|
34
38
|
onPasswordVisibleChange(!passwordVisible);
|
|
35
39
|
}
|
|
36
40
|
if (uncontrolled) {
|
|
37
|
-
setStatePasswordVisible(function (
|
|
41
|
+
setStatePasswordVisible(function (prevVisible) { return !prevVisible; });
|
|
38
42
|
}
|
|
39
43
|
}, [passwordVisible, uncontrolled, onPasswordVisibleChange]);
|
|
40
44
|
var isPasswordVisible = uncontrolled ? statePasswordVisible : passwordVisible;
|
|
41
45
|
return (React__default.default.createElement(coreComponentsInput.Input, tslib.__assign({}, restProps, { disabled: disabled, type: isPasswordVisible ? 'text' : 'password', size: size, ref: ref, colors: colors, className: cn__default.default(className, styles__default.default[SIZE_TO_CLASSNAME_MAP[size]]), rightAddons: React__default.default.createElement(React__default.default.Fragment, null,
|
|
42
46
|
rightAddons,
|
|
43
|
-
React__default.default.createElement(coreComponentsIconButton.IconButton, { className: styles__default.default.eye, colors: colors, view: 'secondary', size: 's', icon: isPasswordVisible ? EyeMIcon.EyeMIcon : EyeOffMIcon.EyeOffMIcon, onClick: handleButtonClick, disabled: disabled, title: isPasswordVisible
|
|
44
|
-
? 'Скрыть введённые цифры'
|
|
45
|
-
: 'Показать введённые цифры' })), addonsClassName: styles__default.default.addons, inputClassName: styles__default.default.input })));
|
|
47
|
+
React__default.default.createElement(coreComponentsIconButton.IconButton, { className: styles__default.default.eye, colors: colors, view: 'secondary', size: 's', icon: isPasswordVisible ? EyeMIcon.EyeMIcon : EyeOffMIcon.EyeOffMIcon, onClick: handleButtonClick, disabled: disabled, title: isPasswordVisible ? visible : hidden })), addonsClassName: styles__default.default.addons, inputClassName: styles__default.default.input })));
|
|
46
48
|
});
|
|
47
49
|
PasswordInput.displayName = 'PasswordInput';
|
|
48
50
|
|
|
@@ -11,6 +11,13 @@ type PasswordInputProps = Omit<InputProps, 'size'> & {
|
|
|
11
11
|
* Управление видимостью пароля (controlled)
|
|
12
12
|
*/
|
|
13
13
|
passwordVisible?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Управление текстом подсказки
|
|
16
|
+
*/
|
|
17
|
+
passwordHint?: {
|
|
18
|
+
visible: string;
|
|
19
|
+
hidden: string;
|
|
20
|
+
};
|
|
14
21
|
/**
|
|
15
22
|
* Коллбэк при изменении видимости пароля
|
|
16
23
|
*/
|
|
@@ -26,6 +33,13 @@ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<InputProps, "s
|
|
|
26
33
|
* Управление видимостью пароля (controlled)
|
|
27
34
|
*/
|
|
28
35
|
passwordVisible?: boolean | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Управление текстом подсказки
|
|
38
|
+
*/
|
|
39
|
+
passwordHint?: {
|
|
40
|
+
visible: string;
|
|
41
|
+
hidden: string;
|
|
42
|
+
} | undefined;
|
|
29
43
|
/**
|
|
30
44
|
* Коллбэк при изменении видимости пароля
|
|
31
45
|
*/
|
|
@@ -20,23 +20,25 @@ var SIZE_TO_CLASSNAME_MAP = {
|
|
|
20
20
|
72: 'size-72',
|
|
21
21
|
};
|
|
22
22
|
var PasswordInput = forwardRef(function (_a, ref) {
|
|
23
|
-
var onPasswordVisibleChange = _a.onPasswordVisibleChange, passwordVisible = _a.passwordVisible, disabled = _a.disabled, colors = _a.colors, rightAddons = _a.rightAddons, _b = _a.size, size = _b === void 0 ? 48 : _b,
|
|
23
|
+
var onPasswordVisibleChange = _a.onPasswordVisibleChange, passwordVisible = _a.passwordVisible, disabled = _a.disabled, colors = _a.colors, rightAddons = _a.rightAddons, _b = _a.size, size = _b === void 0 ? 48 : _b, _c = _a.passwordHint, passwordHint = _c === void 0 ? {
|
|
24
|
+
visible: 'Скрыть',
|
|
25
|
+
hidden: 'Показать',
|
|
26
|
+
} : _c, className = _a.className, restProps = __rest(_a, ["onPasswordVisibleChange", "passwordVisible", "disabled", "colors", "rightAddons", "size", "passwordHint", "className"]);
|
|
27
|
+
var visible = passwordHint.visible, hidden = passwordHint.hidden;
|
|
24
28
|
var uncontrolled = passwordVisible === undefined;
|
|
25
|
-
var
|
|
29
|
+
var _d = useState(uncontrolled ? false : passwordVisible), statePasswordVisible = _d[0], setStatePasswordVisible = _d[1];
|
|
26
30
|
var handleButtonClick = useCallback(function () {
|
|
27
31
|
if (onPasswordVisibleChange) {
|
|
28
32
|
onPasswordVisibleChange(!passwordVisible);
|
|
29
33
|
}
|
|
30
34
|
if (uncontrolled) {
|
|
31
|
-
setStatePasswordVisible(function (
|
|
35
|
+
setStatePasswordVisible(function (prevVisible) { return !prevVisible; });
|
|
32
36
|
}
|
|
33
37
|
}, [passwordVisible, uncontrolled, onPasswordVisibleChange]);
|
|
34
38
|
var isPasswordVisible = uncontrolled ? statePasswordVisible : passwordVisible;
|
|
35
39
|
return (React.createElement(Input, __assign({}, restProps, { disabled: disabled, type: isPasswordVisible ? 'text' : 'password', size: size, ref: ref, colors: colors, className: cn(className, styles[SIZE_TO_CLASSNAME_MAP[size]]), rightAddons: React.createElement(React.Fragment, null,
|
|
36
40
|
rightAddons,
|
|
37
|
-
React.createElement(IconButton, { className: styles.eye, colors: colors, view: 'secondary', size: 's', icon: isPasswordVisible ? EyeMIcon : EyeOffMIcon, onClick: handleButtonClick, disabled: disabled, title: isPasswordVisible
|
|
38
|
-
? 'Скрыть введённые цифры'
|
|
39
|
-
: 'Показать введённые цифры' })), addonsClassName: styles.addons, inputClassName: styles.input })));
|
|
41
|
+
React.createElement(IconButton, { className: styles.eye, colors: colors, view: 'secondary', size: 's', icon: isPasswordVisible ? EyeMIcon : EyeOffMIcon, onClick: handleButtonClick, disabled: disabled, title: isPasswordVisible ? visible : hidden })), addonsClassName: styles.addons, inputClassName: styles.input })));
|
|
40
42
|
});
|
|
41
43
|
PasswordInput.displayName = 'PasswordInput';
|
|
42
44
|
|
|
@@ -11,6 +11,13 @@ type PasswordInputProps = Omit<InputProps, 'size'> & {
|
|
|
11
11
|
* Управление видимостью пароля (controlled)
|
|
12
12
|
*/
|
|
13
13
|
passwordVisible?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Управление текстом подсказки
|
|
16
|
+
*/
|
|
17
|
+
passwordHint?: {
|
|
18
|
+
visible: string;
|
|
19
|
+
hidden: string;
|
|
20
|
+
};
|
|
14
21
|
/**
|
|
15
22
|
* Коллбэк при изменении видимости пароля
|
|
16
23
|
*/
|
|
@@ -26,6 +33,13 @@ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<InputProps, "s
|
|
|
26
33
|
* Управление видимостью пароля (controlled)
|
|
27
34
|
*/
|
|
28
35
|
passwordVisible?: boolean | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Управление текстом подсказки
|
|
38
|
+
*/
|
|
39
|
+
passwordHint?: {
|
|
40
|
+
visible: string;
|
|
41
|
+
hidden: string;
|
|
42
|
+
} | undefined;
|
|
29
43
|
/**
|
|
30
44
|
* Коллбэк при изменении видимости пароля
|
|
31
45
|
*/
|
|
@@ -18,7 +18,11 @@ const SIZE_TO_CLASSNAME_MAP = {
|
|
|
18
18
|
64: 'size-64',
|
|
19
19
|
72: 'size-72',
|
|
20
20
|
};
|
|
21
|
-
const PasswordInput = forwardRef(({ onPasswordVisibleChange, passwordVisible, disabled, colors, rightAddons, size = 48,
|
|
21
|
+
const PasswordInput = forwardRef(({ onPasswordVisibleChange, passwordVisible, disabled, colors, rightAddons, size = 48, passwordHint = {
|
|
22
|
+
visible: 'Скрыть',
|
|
23
|
+
hidden: 'Показать',
|
|
24
|
+
}, className, ...restProps }, ref) => {
|
|
25
|
+
const { visible, hidden } = passwordHint;
|
|
22
26
|
const uncontrolled = passwordVisible === undefined;
|
|
23
27
|
const [statePasswordVisible, setStatePasswordVisible] = useState(uncontrolled ? false : passwordVisible);
|
|
24
28
|
const handleButtonClick = useCallback(() => {
|
|
@@ -26,15 +30,13 @@ const PasswordInput = forwardRef(({ onPasswordVisibleChange, passwordVisible, di
|
|
|
26
30
|
onPasswordVisibleChange(!passwordVisible);
|
|
27
31
|
}
|
|
28
32
|
if (uncontrolled) {
|
|
29
|
-
setStatePasswordVisible((
|
|
33
|
+
setStatePasswordVisible((prevVisible) => !prevVisible);
|
|
30
34
|
}
|
|
31
35
|
}, [passwordVisible, uncontrolled, onPasswordVisibleChange]);
|
|
32
36
|
const isPasswordVisible = uncontrolled ? statePasswordVisible : passwordVisible;
|
|
33
37
|
return (React.createElement(Input, { ...restProps, disabled: disabled, type: isPasswordVisible ? 'text' : 'password', size: size, ref: ref, colors: colors, className: cn(className, styles[SIZE_TO_CLASSNAME_MAP[size]]), rightAddons: React.createElement(React.Fragment, null,
|
|
34
38
|
rightAddons,
|
|
35
|
-
React.createElement(IconButton, { className: styles.eye, colors: colors, view: 'secondary', size: 's', icon: isPasswordVisible ? EyeMIcon : EyeOffMIcon, onClick: handleButtonClick, disabled: disabled, title: isPasswordVisible
|
|
36
|
-
? 'Скрыть введённые цифры'
|
|
37
|
-
: 'Показать введённые цифры' })), addonsClassName: styles.addons, inputClassName: styles.input }));
|
|
39
|
+
React.createElement(IconButton, { className: styles.eye, colors: colors, view: 'secondary', size: 's', icon: isPasswordVisible ? EyeMIcon : EyeOffMIcon, onClick: handleButtonClick, disabled: disabled, title: isPasswordVisible ? visible : hidden })), addonsClassName: styles.addons, inputClassName: styles.input }));
|
|
38
40
|
});
|
|
39
41
|
PasswordInput.displayName = 'PasswordInput';
|
|
40
42
|
|
|
@@ -11,6 +11,13 @@ type PasswordInputProps = Omit<InputProps, 'size'> & {
|
|
|
11
11
|
* Управление видимостью пароля (controlled)
|
|
12
12
|
*/
|
|
13
13
|
passwordVisible?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Управление текстом подсказки
|
|
16
|
+
*/
|
|
17
|
+
passwordHint?: {
|
|
18
|
+
visible: string;
|
|
19
|
+
hidden: string;
|
|
20
|
+
};
|
|
14
21
|
/**
|
|
15
22
|
* Коллбэк при изменении видимости пароля
|
|
16
23
|
*/
|
|
@@ -26,6 +33,13 @@ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<InputProps, "s
|
|
|
26
33
|
* Управление видимостью пароля (controlled)
|
|
27
34
|
*/
|
|
28
35
|
passwordVisible?: boolean | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Управление текстом подсказки
|
|
38
|
+
*/
|
|
39
|
+
passwordHint?: {
|
|
40
|
+
visible: string;
|
|
41
|
+
hidden: string;
|
|
42
|
+
} | undefined;
|
|
29
43
|
/**
|
|
30
44
|
* Коллбэк при изменении видимости пароля
|
|
31
45
|
*/
|
|
@@ -16,7 +16,11 @@ const SIZE_TO_CLASSNAME_MAP = {
|
|
|
16
16
|
64: 'size-64',
|
|
17
17
|
72: 'size-72',
|
|
18
18
|
};
|
|
19
|
-
const PasswordInput = forwardRef(({ onPasswordVisibleChange, passwordVisible, disabled, colors, rightAddons, size = 48,
|
|
19
|
+
const PasswordInput = forwardRef(({ onPasswordVisibleChange, passwordVisible, disabled, colors, rightAddons, size = 48, passwordHint = {
|
|
20
|
+
visible: 'Скрыть',
|
|
21
|
+
hidden: 'Показать',
|
|
22
|
+
}, className, ...restProps }, ref) => {
|
|
23
|
+
const { visible, hidden } = passwordHint;
|
|
20
24
|
const uncontrolled = passwordVisible === undefined;
|
|
21
25
|
const [statePasswordVisible, setStatePasswordVisible] = useState(uncontrolled ? false : passwordVisible);
|
|
22
26
|
const handleButtonClick = useCallback(() => {
|
|
@@ -24,15 +28,13 @@ const PasswordInput = forwardRef(({ onPasswordVisibleChange, passwordVisible, di
|
|
|
24
28
|
onPasswordVisibleChange(!passwordVisible);
|
|
25
29
|
}
|
|
26
30
|
if (uncontrolled) {
|
|
27
|
-
setStatePasswordVisible((
|
|
31
|
+
setStatePasswordVisible((prevVisible) => !prevVisible);
|
|
28
32
|
}
|
|
29
33
|
}, [passwordVisible, uncontrolled, onPasswordVisibleChange]);
|
|
30
34
|
const isPasswordVisible = uncontrolled ? statePasswordVisible : passwordVisible;
|
|
31
35
|
return (React.createElement(Input, { ...restProps, disabled: disabled, type: isPasswordVisible ? 'text' : 'password', size: size, ref: ref, colors: colors, className: cn(className, styles[SIZE_TO_CLASSNAME_MAP[size]]), rightAddons: React.createElement(React.Fragment, null,
|
|
32
36
|
rightAddons,
|
|
33
|
-
React.createElement(IconButton, { className: styles.eye, colors: colors, view: 'secondary', size: 's', icon: isPasswordVisible ? EyeMIcon : EyeOffMIcon, onClick: handleButtonClick, disabled: disabled, title: isPasswordVisible
|
|
34
|
-
? 'Скрыть введённые цифры'
|
|
35
|
-
: 'Показать введённые цифры' })), addonsClassName: styles.addons, inputClassName: styles.input }));
|
|
37
|
+
React.createElement(IconButton, { className: styles.eye, colors: colors, view: 'secondary', size: 's', icon: isPasswordVisible ? EyeMIcon : EyeOffMIcon, onClick: handleButtonClick, disabled: disabled, title: isPasswordVisible ? visible : hidden })), addonsClassName: styles.addons, inputClassName: styles.input }));
|
|
36
38
|
});
|
|
37
39
|
PasswordInput.displayName = 'PasswordInput';
|
|
38
40
|
|
|
@@ -1,38 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import {
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, ReactNode, RefAttributes } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
-
declare function usePreventViewportScrollOnFocus<T extends HTMLInputElement | HTMLTextAreaElement>(): RefObject<T>;
|
|
6
|
-
/**
|
|
7
|
-
* Находит ближайший родительский элемент с возможностью прокрутки.
|
|
8
|
-
*
|
|
9
|
-
* @param element - Элемент, от которого начинается поиск. Может быть null.
|
|
10
|
-
* @returns {Element}
|
|
11
|
-
* - Ближайший родительский элемент с возможностью прокрутки
|
|
12
|
-
* - Если такой не найден, возвращает document.scrollingElement или document.documentElement
|
|
13
|
-
* - Если передан null, вернет корневой элемент документа
|
|
14
|
-
*/
|
|
15
|
-
declare function findScrollableParent(element: Element | null): Element;
|
|
16
|
-
/**
|
|
17
|
-
* Проверяет, является ли элемент текстовым полем ввода, которое может получать ввод с клавиатуры.
|
|
18
|
-
*
|
|
19
|
-
* @param element - DOM-элемент для проверки. Может быть null для безопасной обработки.
|
|
20
|
-
* @returns {boolean}
|
|
21
|
-
* - `true` если элемент:
|
|
22
|
-
* * Текстовое поле ввода (`<input type="text|email|password...>`)
|
|
23
|
-
* * Элемент `<textarea>`
|
|
24
|
-
* * Редактируемый элемент (contenteditable)
|
|
25
|
-
* - `false` во всех остальных случаях, включая:
|
|
26
|
-
* * Null/undefined на входе
|
|
27
|
-
* * Не-инпуты
|
|
28
|
-
* * Нетекстовые поля ввода (чекбоксы, радиокнопки и др.)
|
|
29
|
-
*/
|
|
30
|
-
declare function isInput(element: Element | null): element is HTMLInputElement | HTMLTextAreaElement;
|
|
31
|
-
declare function useVirtualKeyboard(): {
|
|
32
|
-
keyboardIsOpen: boolean;
|
|
33
|
-
keyboardHeight: number;
|
|
34
|
-
};
|
|
35
|
-
declare function isScrollable(element: Element): boolean;
|
|
36
5
|
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'onClick' | 'onMouseDown' | 'enterKeyHint'> & {
|
|
37
6
|
/**
|
|
38
7
|
* Значение поля ввода
|
|
@@ -313,5 +282,5 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
313
282
|
*/
|
|
314
283
|
disableUserInput?: boolean | undefined;
|
|
315
284
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
316
|
-
export { usePreventViewportScrollOnFocus, findScrollableParent, isInput, useVirtualKeyboard, isScrollable, BaseInputProps, BaseInput };
|
|
317
285
|
export * from "./Component-ebda875c";
|
|
286
|
+
export { BaseInputProps, BaseInput };
|
|
@@ -1,38 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import {
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, ReactNode, RefAttributes } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
-
declare function usePreventViewportScrollOnFocus<T extends HTMLInputElement | HTMLTextAreaElement>(): RefObject<T>;
|
|
6
|
-
/**
|
|
7
|
-
* Находит ближайший родительский элемент с возможностью прокрутки.
|
|
8
|
-
*
|
|
9
|
-
* @param element - Элемент, от которого начинается поиск. Может быть null.
|
|
10
|
-
* @returns {Element}
|
|
11
|
-
* - Ближайший родительский элемент с возможностью прокрутки
|
|
12
|
-
* - Если такой не найден, возвращает document.scrollingElement или document.documentElement
|
|
13
|
-
* - Если передан null, вернет корневой элемент документа
|
|
14
|
-
*/
|
|
15
|
-
declare function findScrollableParent(element: Element | null): Element;
|
|
16
|
-
/**
|
|
17
|
-
* Проверяет, является ли элемент текстовым полем ввода, которое может получать ввод с клавиатуры.
|
|
18
|
-
*
|
|
19
|
-
* @param element - DOM-элемент для проверки. Может быть null для безопасной обработки.
|
|
20
|
-
* @returns {boolean}
|
|
21
|
-
* - `true` если элемент:
|
|
22
|
-
* * Текстовое поле ввода (`<input type="text|email|password...>`)
|
|
23
|
-
* * Элемент `<textarea>`
|
|
24
|
-
* * Редактируемый элемент (contenteditable)
|
|
25
|
-
* - `false` во всех остальных случаях, включая:
|
|
26
|
-
* * Null/undefined на входе
|
|
27
|
-
* * Не-инпуты
|
|
28
|
-
* * Нетекстовые поля ввода (чекбоксы, радиокнопки и др.)
|
|
29
|
-
*/
|
|
30
|
-
declare function isInput(element: Element | null): element is HTMLInputElement | HTMLTextAreaElement;
|
|
31
|
-
declare function useVirtualKeyboard(): {
|
|
32
|
-
keyboardIsOpen: boolean;
|
|
33
|
-
keyboardHeight: number;
|
|
34
|
-
};
|
|
35
|
-
declare function isScrollable(element: Element): boolean;
|
|
36
5
|
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'onClick' | 'onMouseDown' | 'enterKeyHint'> & {
|
|
37
6
|
/**
|
|
38
7
|
* Значение поля ввода
|
|
@@ -171,7 +140,7 @@ type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type
|
|
|
171
140
|
*/
|
|
172
141
|
disableUserInput?: boolean;
|
|
173
142
|
};
|
|
174
|
-
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
143
|
+
declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
|
|
175
144
|
/**
|
|
176
145
|
* Значение поля ввода
|
|
177
146
|
*/
|
|
@@ -192,7 +161,7 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
192
161
|
* Размер компонента
|
|
193
162
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
194
163
|
*/
|
|
195
|
-
size?: "s" |
|
|
164
|
+
size?: "s" | "m" | "l" | "xl" | 40 | 48 | 56 | 64 | 72 | undefined;
|
|
196
165
|
/**
|
|
197
166
|
* Набор цветов для компонента
|
|
198
167
|
*/
|
|
@@ -313,5 +282,5 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
313
282
|
*/
|
|
314
283
|
disableUserInput?: boolean | undefined;
|
|
315
284
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
316
|
-
export { usePreventViewportScrollOnFocus, findScrollableParent, isInput, useVirtualKeyboard, isScrollable, BaseInputProps, BaseInput };
|
|
317
285
|
export * from "./Component-ebda875c";
|
|
286
|
+
export { BaseInputProps, BaseInput };
|
|
@@ -1,38 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import {
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, ReactNode, RefAttributes } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
-
declare function usePreventViewportScrollOnFocus<T extends HTMLInputElement | HTMLTextAreaElement>(): RefObject<T>;
|
|
6
|
-
/**
|
|
7
|
-
* Находит ближайший родительский элемент с возможностью прокрутки.
|
|
8
|
-
*
|
|
9
|
-
* @param element - Элемент, от которого начинается поиск. Может быть null.
|
|
10
|
-
* @returns {Element}
|
|
11
|
-
* - Ближайший родительский элемент с возможностью прокрутки
|
|
12
|
-
* - Если такой не найден, возвращает document.scrollingElement или document.documentElement
|
|
13
|
-
* - Если передан null, вернет корневой элемент документа
|
|
14
|
-
*/
|
|
15
|
-
declare function findScrollableParent(element: Element | null): Element;
|
|
16
|
-
/**
|
|
17
|
-
* Проверяет, является ли элемент текстовым полем ввода, которое может получать ввод с клавиатуры.
|
|
18
|
-
*
|
|
19
|
-
* @param element - DOM-элемент для проверки. Может быть null для безопасной обработки.
|
|
20
|
-
* @returns {boolean}
|
|
21
|
-
* - `true` если элемент:
|
|
22
|
-
* * Текстовое поле ввода (`<input type="text|email|password...>`)
|
|
23
|
-
* * Элемент `<textarea>`
|
|
24
|
-
* * Редактируемый элемент (contenteditable)
|
|
25
|
-
* - `false` во всех остальных случаях, включая:
|
|
26
|
-
* * Null/undefined на входе
|
|
27
|
-
* * Не-инпуты
|
|
28
|
-
* * Нетекстовые поля ввода (чекбоксы, радиокнопки и др.)
|
|
29
|
-
*/
|
|
30
|
-
declare function isInput(element: Element | null): element is HTMLInputElement | HTMLTextAreaElement;
|
|
31
|
-
declare function useVirtualKeyboard(): {
|
|
32
|
-
keyboardIsOpen: boolean;
|
|
33
|
-
keyboardHeight: number;
|
|
34
|
-
};
|
|
35
|
-
declare function isScrollable(element: Element): boolean;
|
|
36
5
|
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'onClick' | 'onMouseDown' | 'enterKeyHint'> & {
|
|
37
6
|
/**
|
|
38
7
|
* Значение поля ввода
|
|
@@ -313,5 +282,5 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
313
282
|
*/
|
|
314
283
|
disableUserInput?: boolean | undefined;
|
|
315
284
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
316
|
-
export { usePreventViewportScrollOnFocus, findScrollableParent, isInput, useVirtualKeyboard, isScrollable, BaseInputProps, BaseInput };
|
|
317
285
|
export * from "./Component-ebda875c";
|
|
286
|
+
export { BaseInputProps, BaseInput };
|