@alfalab/core-components 44.5.1-beta.4 → 44.6.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/action-button/cssm/shared/index.d.ts +1 -0
- package/action-button/cssm/shared/index.js +7 -0
- package/action-button/cssm/utils.d.ts +5 -0
- package/action-button/cssm/utils.js +12 -0
- package/action-button/esm/shared/index.d.ts +1 -0
- package/action-button/esm/shared/index.js +2 -0
- package/action-button/esm/utils.d.ts +5 -0
- package/action-button/esm/utils.js +10 -0
- package/action-button/modern/shared/index.d.ts +1 -0
- package/action-button/modern/shared/index.js +2 -0
- package/action-button/modern/utils.d.ts +5 -0
- package/action-button/modern/utils.js +10 -0
- package/action-button/shared/index.d.ts +1 -0
- package/action-button/shared/index.js +7 -0
- package/action-button/shared/package.json +3 -0
- package/action-button/utils.d.ts +5 -0
- package/action-button/utils.js +12 -0
- package/bottom-sheet/component.js +2 -2
- package/bottom-sheet/components/footer/Component.d.ts +4 -0
- package/bottom-sheet/components/footer/Component.js +2 -2
- package/bottom-sheet/cssm/component.js +2 -2
- package/bottom-sheet/cssm/components/footer/Component.d.ts +4 -0
- package/bottom-sheet/cssm/components/footer/Component.js +2 -2
- package/bottom-sheet/cssm/index.module.css +3 -0
- package/bottom-sheet/cssm/shared/index.d.ts +1 -0
- package/bottom-sheet/cssm/shared/index.js +7 -0
- package/bottom-sheet/cssm/utils.d.ts +10 -1
- package/bottom-sheet/cssm/utils.js +14 -0
- package/bottom-sheet/esm/component.js +2 -2
- package/bottom-sheet/esm/components/footer/Component.d.ts +4 -0
- package/bottom-sheet/esm/components/footer/Component.js +2 -2
- package/bottom-sheet/esm/index.css +3 -0
- package/bottom-sheet/esm/shared/index.d.ts +1 -0
- package/bottom-sheet/esm/shared/index.js +2 -0
- package/bottom-sheet/esm/utils.d.ts +10 -1
- package/bottom-sheet/esm/utils.js +14 -1
- package/bottom-sheet/index.css +3 -0
- package/bottom-sheet/modern/component.js +2 -2
- package/bottom-sheet/modern/components/footer/Component.d.ts +4 -0
- package/bottom-sheet/modern/components/footer/Component.js +2 -2
- package/bottom-sheet/modern/index.css +3 -0
- package/bottom-sheet/modern/shared/index.d.ts +1 -0
- package/bottom-sheet/modern/shared/index.js +2 -0
- package/bottom-sheet/modern/utils.d.ts +10 -1
- package/bottom-sheet/modern/utils.js +14 -1
- package/bottom-sheet/shared/index.d.ts +1 -0
- package/bottom-sheet/shared/index.js +7 -0
- package/bottom-sheet/shared/package.json +3 -0
- package/bottom-sheet/utils.d.ts +10 -1
- package/bottom-sheet/utils.js +14 -0
- package/button/components/base-button/Component.js +3 -2
- package/button/components/base-button/index.css +6 -1
- package/button/cssm/components/base-button/Component.js +2 -1
- package/button/cssm/components/base-button/index.module.css +6 -1
- package/button/cssm/shared/index.d.ts +1 -0
- package/button/cssm/shared/index.js +7 -0
- package/button/cssm/typings.d.ts +5 -0
- package/button/cssm/utils.d.ts +5 -0
- package/button/cssm/utils.js +12 -0
- package/button/esm/components/base-button/Component.js +3 -2
- package/button/esm/components/base-button/index.css +6 -1
- package/button/esm/shared/index.d.ts +1 -0
- package/button/esm/shared/index.js +2 -0
- package/button/esm/typings.d.ts +5 -0
- package/button/esm/utils.d.ts +5 -0
- package/button/esm/utils.js +10 -0
- package/button/modern/components/base-button/Component.js +3 -2
- package/button/modern/components/base-button/index.css +6 -1
- package/button/modern/shared/index.d.ts +1 -0
- package/button/modern/shared/index.js +2 -0
- package/button/modern/typings.d.ts +5 -0
- package/button/modern/utils.d.ts +5 -0
- package/button/modern/utils.js +10 -0
- package/button/shared/index.d.ts +1 -0
- package/button/shared/index.js +7 -0
- package/button/shared/package.json +3 -0
- package/button/typings.d.ts +5 -0
- package/button/utils.d.ts +5 -0
- package/button/utils.js +12 -0
- package/calendar/components/calendar-mobile/Component.js +4 -4
- package/calendar/components/calendar-mobile/index.css +4 -2
- package/calendar/components/header/index.css +3 -4
- package/calendar/cssm/components/calendar-mobile/Component.js +3 -3
- package/calendar/cssm/components/calendar-mobile/index.module.css +4 -2
- package/calendar/cssm/components/header/index.module.css +3 -4
- package/calendar/cssm/usePeriod.js +9 -0
- package/calendar/esm/components/calendar-mobile/Component.js +4 -4
- package/calendar/esm/components/calendar-mobile/index.css +4 -2
- package/calendar/esm/components/header/index.css +3 -4
- package/calendar/esm/usePeriod.js +9 -0
- package/calendar/modern/components/calendar-mobile/Component.js +4 -4
- package/calendar/modern/components/calendar-mobile/index.css +4 -2
- package/calendar/modern/components/header/index.css +3 -4
- package/calendar/modern/usePeriod.js +9 -0
- package/calendar/usePeriod.js +9 -0
- 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/date-input/Component.js +32 -8
- package/date-input/cssm/Component.js +32 -8
- package/date-input/esm/Component.js +34 -10
- package/date-input/modern/Component.js +33 -10
- package/form-control/cssm/shared/index.d.ts +1 -0
- package/form-control/cssm/shared/index.js +7 -0
- package/form-control/cssm/utils.d.ts +9 -0
- package/form-control/cssm/utils.js +16 -0
- package/form-control/esm/shared/index.d.ts +1 -0
- package/form-control/esm/shared/index.js +2 -0
- package/form-control/esm/utils.d.ts +9 -0
- package/form-control/esm/utils.js +14 -0
- package/form-control/modern/shared/index.d.ts +1 -0
- package/form-control/modern/shared/index.js +2 -0
- package/form-control/modern/utils.d.ts +9 -0
- package/form-control/modern/utils.js +14 -0
- package/form-control/shared/index.d.ts +1 -0
- package/form-control/shared/index.js +7 -0
- package/form-control/shared/package.json +3 -0
- package/form-control/utils.d.ts +9 -0
- package/form-control/utils.js +16 -0
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/image-preview/Component.js +14 -3
- package/gallery/components/image-preview/index.css +10 -5
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/cssm/components/image-preview/Component.js +18 -3
- package/gallery/cssm/components/image-preview/index.module.css +10 -5
- package/gallery/esm/Component.js +5 -5
- 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-preview/Component.js +23 -3
- package/gallery/esm/components/image-preview/index.css +10 -5
- package/gallery/esm/components/image-preview/index.js +21 -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 +7 -6
- package/gallery/esm/components/navigation-bar/Component.js +18 -0
- package/gallery/esm/components/navigation-bar/index.js +18 -0
- package/gallery/esm/index.js +6 -6
- package/gallery/modern/Component.js +5 -5
- 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-preview/Component.js +22 -3
- package/gallery/modern/components/image-preview/index.css +10 -5
- package/gallery/modern/components/image-preview/index.js +20 -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 +7 -6
- package/gallery/modern/components/navigation-bar/Component.js +17 -0
- package/gallery/modern/components/navigation-bar/index.js +17 -0
- package/gallery/modern/index.js +6 -6
- package/icon-view/components/base-shape/index.css +4 -6
- package/icon-view/cssm/components/base-shape/index.module.css +4 -6
- package/icon-view/esm/components/base-shape/index.css +4 -6
- package/icon-view/modern/components/base-shape/index.css +4 -6
- package/input/cssm/shared/index.d.ts +1 -0
- package/input/cssm/shared/index.js +2 -0
- package/input/cssm/utils.d.ts +10 -0
- package/input/cssm/utils.js +17 -0
- package/input/esm/shared/index.d.ts +1 -0
- package/input/esm/shared/index.js +2 -0
- package/input/esm/utils.d.ts +10 -0
- package/input/esm/utils.js +15 -0
- package/input/modern/shared/index.d.ts +1 -0
- package/input/modern/shared/index.js +2 -0
- package/input/modern/utils.d.ts +10 -0
- package/input/modern/utils.js +15 -0
- package/input/shared/index.d.ts +1 -0
- package/input/shared/index.js +2 -0
- package/input/utils.d.ts +10 -0
- package/input/utils.js +17 -0
- package/input-autocomplete/autocomplete-field/Component.d.ts +1 -1
- package/input-autocomplete/autocomplete-field/Component.js +2 -2
- package/input-autocomplete/cssm/autocomplete-field/Component.d.ts +1 -1
- package/input-autocomplete/cssm/autocomplete-field/Component.js +2 -2
- package/input-autocomplete/cssm/shared/index.d.ts +1 -0
- package/input-autocomplete/cssm/shared/index.js +8 -0
- package/input-autocomplete/cssm/utils.d.ts +39 -1
- package/input-autocomplete/cssm/utils.js +46 -0
- package/input-autocomplete/esm/autocomplete-field/Component.d.ts +1 -1
- package/input-autocomplete/esm/autocomplete-field/Component.js +2 -2
- package/input-autocomplete/esm/shared/index.d.ts +1 -0
- package/input-autocomplete/esm/shared/index.js +2 -0
- package/input-autocomplete/esm/utils.d.ts +39 -1
- package/input-autocomplete/esm/utils.js +45 -1
- package/input-autocomplete/modern/autocomplete-field/Component.d.ts +1 -1
- package/input-autocomplete/modern/autocomplete-field/Component.js +2 -2
- package/input-autocomplete/modern/shared/index.d.ts +1 -0
- package/input-autocomplete/modern/shared/index.js +2 -0
- package/input-autocomplete/modern/utils.d.ts +39 -1
- package/input-autocomplete/modern/utils.js +45 -1
- package/input-autocomplete/shared/index.d.ts +1 -0
- package/input-autocomplete/shared/index.js +8 -0
- package/input-autocomplete/shared/package.json +3 -0
- package/input-autocomplete/utils.d.ts +39 -1
- package/input-autocomplete/utils.js +46 -0
- package/international-phone-input/{esm/Component-202ae1dc.d.ts → Component-c241b310.d.ts} +1 -1
- package/international-phone-input/Component.responsive-8566963f.d.ts +2 -2
- package/international-phone-input/components/base-international-phone-input/Component.js +3 -10
- package/international-phone-input/{Component-202ae1dc.d.ts → cssm/Component-c241b310.d.ts} +1 -1
- package/international-phone-input/cssm/Component.responsive-8566963f.d.ts +2 -2
- package/international-phone-input/cssm/components/base-international-phone-input/Component.js +3 -10
- package/international-phone-input/cssm/index-8566963f.d.ts +2 -2
- package/international-phone-input/cssm/{index-202ae1dc.d.ts → index-c241b310.d.ts} +1 -1
- package/international-phone-input/cssm/shared/index.d.ts +1 -0
- package/international-phone-input/cssm/shared/index.js +8 -0
- package/international-phone-input/cssm/{typings-202ae1dc.d.ts → typings-c241b310.d.ts} +5 -0
- package/international-phone-input/cssm/typings-c29389e5.d.ts +9 -4
- package/international-phone-input/cssm/utils/index.d.ts +56 -1
- package/international-phone-input/cssm/utils/index.js +61 -0
- package/international-phone-input/{esm/utils-d2597f31.d.ts → cssm/utils-89376c31.d.ts} +27 -1
- package/international-phone-input/{cssm/Component-202ae1dc.d.ts → esm/Component-c241b310.d.ts} +1 -1
- package/international-phone-input/esm/Component.responsive-8566963f.d.ts +2 -2
- package/international-phone-input/esm/components/base-international-phone-input/Component.js +3 -10
- package/international-phone-input/esm/index-8566963f.d.ts +2 -2
- package/international-phone-input/esm/{index-202ae1dc.d.ts → index-c241b310.d.ts} +1 -1
- package/international-phone-input/esm/shared/index.d.ts +1 -0
- package/international-phone-input/esm/shared/index.js +6 -0
- package/international-phone-input/esm/{typings-202ae1dc.d.ts → typings-c241b310.d.ts} +5 -0
- package/international-phone-input/esm/typings-c29389e5.d.ts +9 -4
- package/international-phone-input/esm/utils/index.d.ts +56 -1
- package/international-phone-input/esm/utils/index.js +61 -2
- package/international-phone-input/{cssm/utils-d2597f31.d.ts → esm/utils-89376c31.d.ts} +27 -1
- package/international-phone-input/index-8566963f.d.ts +2 -2
- package/international-phone-input/{index-202ae1dc.d.ts → index-c241b310.d.ts} +1 -1
- package/international-phone-input/modern/{Component-202ae1dc.d.ts → Component-c241b310.d.ts} +1 -1
- package/international-phone-input/modern/Component.responsive-8566963f.d.ts +2 -2
- package/international-phone-input/modern/components/base-international-phone-input/Component.js +3 -1
- package/international-phone-input/modern/index-8566963f.d.ts +2 -2
- package/international-phone-input/modern/{index-202ae1dc.d.ts → index-c241b310.d.ts} +1 -1
- package/international-phone-input/modern/shared/index.d.ts +1 -0
- package/international-phone-input/modern/shared/index.js +5 -0
- package/international-phone-input/modern/{typings-202ae1dc.d.ts → typings-c241b310.d.ts} +5 -0
- package/international-phone-input/modern/typings-c29389e5.d.ts +9 -4
- package/international-phone-input/modern/utils/index.d.ts +56 -1
- package/international-phone-input/modern/utils/index.js +61 -2
- package/international-phone-input/modern/{utils-d2597f31.d.ts → utils-89376c31.d.ts} +27 -1
- package/international-phone-input/shared/index.d.ts +1 -0
- package/international-phone-input/shared/index.js +8 -0
- package/international-phone-input/shared/package.json +3 -0
- package/international-phone-input/{typings-202ae1dc.d.ts → typings-c241b310.d.ts} +5 -0
- package/international-phone-input/typings-c29389e5.d.ts +9 -4
- package/international-phone-input/utils/index.d.ts +56 -1
- package/international-phone-input/utils/index.js +61 -0
- package/international-phone-input/{utils-d2597f31.d.ts → utils-89376c31.d.ts} +27 -1
- package/modal/components/content/Component.js +2 -3
- package/modal/components/controls/Component.js +3 -4
- package/modal/components/footer/Component.js +3 -4
- package/modal/components/header/Component.js +2 -3
- package/modal/cssm/components/content/Component.js +2 -3
- package/modal/cssm/components/controls/Component.js +2 -3
- package/modal/cssm/components/footer/Component.js +2 -3
- package/modal/cssm/components/header/Component.js +2 -3
- package/modal/cssm/utils.js +8 -10
- package/modal/esm/Component.responsive.js +2 -3
- package/modal/esm/components/content/Component.js +1 -2
- package/modal/esm/components/controls/Component.js +2 -3
- package/modal/esm/components/controls/index.js +2 -3
- package/modal/esm/components/footer/Component.js +2 -3
- package/modal/esm/components/header/Component.js +1 -2
- package/modal/esm/desktop/Component.desktop.js +2 -3
- package/modal/esm/desktop/index.js +2 -3
- package/modal/esm/index.js +2 -3
- package/modal/esm/mobile/Component.mobile.js +2 -3
- package/modal/esm/mobile/index.js +2 -3
- package/modal/esm/shared/index.js +1 -3
- package/modal/esm/utils.js +1 -3
- package/modal/modern/Component.responsive.js +2 -3
- package/modal/modern/components/content/Component.js +1 -2
- package/modal/modern/components/controls/Component.js +2 -3
- package/modal/modern/components/controls/index.js +2 -3
- package/modal/modern/components/footer/Component.js +2 -3
- package/modal/modern/components/header/Component.js +1 -2
- package/modal/modern/desktop/Component.desktop.js +2 -3
- package/modal/modern/desktop/index.js +2 -3
- package/modal/modern/index.js +2 -3
- package/modal/modern/mobile/Component.mobile.js +2 -3
- package/modal/modern/mobile/index.js +2 -3
- package/modal/modern/shared/index.js +1 -3
- package/modal/modern/utils.js +1 -3
- package/modal/utils.js +8 -10
- package/navigation-bar/components/back-arrow-addon/index.css +4 -0
- package/navigation-bar/components/closer/index.css +2 -0
- package/navigation-bar/cssm/components/back-arrow-addon/index.module.css +4 -0
- package/navigation-bar/cssm/components/closer/index.module.css +2 -0
- package/navigation-bar/esm/components/back-arrow-addon/index.css +4 -0
- package/navigation-bar/esm/components/closer/index.css +2 -0
- package/navigation-bar/modern/components/back-arrow-addon/index.css +4 -0
- package/navigation-bar/modern/components/closer/index.css +2 -0
- package/number-input/cssm/shared/index.d.ts +1 -0
- package/number-input/cssm/shared/index.js +7 -0
- package/number-input/cssm/utils.d.ts +12 -1
- package/number-input/cssm/utils.js +14 -0
- package/number-input/esm/shared/index.d.ts +1 -0
- package/number-input/esm/shared/index.js +3 -0
- package/number-input/esm/utils.d.ts +12 -1
- package/number-input/esm/utils.js +15 -2
- package/number-input/modern/shared/index.d.ts +1 -0
- package/number-input/modern/shared/index.js +3 -0
- package/number-input/modern/utils.d.ts +12 -1
- package/number-input/modern/utils.js +15 -2
- package/number-input/shared/index.d.ts +1 -0
- package/number-input/shared/index.js +7 -0
- package/number-input/shared/package.json +3 -0
- package/number-input/utils.d.ts +12 -1
- package/number-input/utils.js +14 -0
- package/package.json +1 -1
- package/pass-code/components/KeyPad/Component.js +2 -2
- package/pass-code/components/KeyPadButton/Component.d.ts +5 -1
- package/pass-code/components/KeyPadButton/Component.js +2 -2
- package/pass-code/cssm/components/KeyPad/Component.js +2 -2
- package/pass-code/cssm/components/KeyPadButton/Component.d.ts +5 -1
- package/pass-code/cssm/components/KeyPadButton/Component.js +2 -2
- package/pass-code/cssm/shared/index.d.ts +1 -0
- package/pass-code/cssm/shared/index.js +7 -0
- package/pass-code/cssm/utils.d.ts +10 -0
- package/pass-code/cssm/utils.js +17 -0
- package/pass-code/esm/components/KeyPad/Component.js +2 -2
- package/pass-code/esm/components/KeyPadButton/Component.d.ts +5 -1
- package/pass-code/esm/components/KeyPadButton/Component.js +2 -2
- package/pass-code/esm/shared/index.d.ts +1 -0
- package/pass-code/esm/shared/index.js +2 -0
- package/pass-code/esm/utils.d.ts +10 -0
- package/pass-code/esm/utils.js +15 -0
- package/pass-code/modern/components/KeyPad/Component.js +2 -2
- package/pass-code/modern/components/KeyPadButton/Component.d.ts +5 -1
- package/pass-code/modern/components/KeyPadButton/Component.js +2 -2
- package/pass-code/modern/shared/index.d.ts +1 -0
- package/pass-code/modern/shared/index.js +2 -0
- package/pass-code/modern/utils.d.ts +10 -0
- package/pass-code/modern/utils.js +15 -0
- package/pass-code/shared/index.d.ts +1 -0
- package/pass-code/shared/index.js +7 -0
- package/pass-code/shared/package.json +3 -0
- package/pass-code/utils.d.ts +10 -0
- package/pass-code/utils.js +17 -0
- package/pattern-lock/cssm/shared/index.d.ts +1 -0
- package/pattern-lock/cssm/shared/index.js +7 -0
- package/pattern-lock/cssm/utils.d.ts +7 -1
- package/pattern-lock/cssm/utils.js +10 -0
- package/pattern-lock/esm/shared/index.d.ts +1 -0
- package/pattern-lock/esm/shared/index.js +4 -0
- package/pattern-lock/esm/utils.d.ts +7 -1
- package/pattern-lock/esm/utils.js +10 -1
- package/pattern-lock/modern/shared/index.d.ts +1 -0
- package/pattern-lock/modern/shared/index.js +3 -0
- package/pattern-lock/modern/utils.d.ts +7 -1
- package/pattern-lock/modern/utils.js +10 -1
- package/pattern-lock/shared/index.d.ts +1 -0
- package/pattern-lock/shared/index.js +7 -0
- package/pattern-lock/shared/package.json +3 -0
- package/pattern-lock/utils.d.ts +7 -1
- package/pattern-lock/utils.js +10 -0
- package/picker-button/cssm/typings-c29389e5.d.ts +4 -0
- package/picker-button/cssm/utils-89376c31.d.ts +67 -0
- package/picker-button/esm/typings-c29389e5.d.ts +4 -0
- package/picker-button/esm/utils-89376c31.d.ts +67 -0
- package/picker-button/modern/typings-c29389e5.d.ts +4 -0
- package/picker-button/modern/utils-89376c31.d.ts +67 -0
- package/picker-button/typings-c29389e5.d.ts +4 -0
- package/picker-button/utils-89376c31.d.ts +67 -0
- package/popup-sheet/cssm/shared/index.d.ts +1 -0
- package/popup-sheet/cssm/shared/index.js +7 -0
- package/popup-sheet/cssm/utils.d.ts +5 -0
- package/popup-sheet/cssm/utils.js +12 -0
- package/popup-sheet/esm/shared/index.d.ts +1 -0
- package/popup-sheet/esm/shared/index.js +2 -0
- package/popup-sheet/esm/utils.d.ts +5 -0
- package/popup-sheet/esm/utils.js +10 -0
- package/popup-sheet/modern/shared/index.d.ts +1 -0
- package/popup-sheet/modern/shared/index.js +2 -0
- package/popup-sheet/modern/utils.d.ts +5 -0
- package/popup-sheet/modern/utils.js +10 -0
- package/popup-sheet/shared/index.d.ts +1 -0
- package/popup-sheet/shared/index.js +7 -0
- package/popup-sheet/shared/package.json +3 -0
- package/popup-sheet/utils.d.ts +5 -0
- package/popup-sheet/utils.js +12 -0
- package/pure-cell/component-8ae5e9f0.d.ts +211 -0
- package/pure-cell/component-8ae5e9f0.js +198 -0
- package/pure-cell/{component-5a229016.d.ts → component-fd7196d2.d.ts} +1 -0
- package/pure-cell/component.js +3 -11
- package/pure-cell/components/addon/component.d.ts +0 -24
- package/pure-cell/components/addon/component.js +5 -15
- 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.d.ts +0 -25
- package/pure-cell/components/amount/component.js +8 -19
- package/pure-cell/components/amount/index.d.ts +1 -1
- package/pure-cell/components/amount/index.js +2 -2
- package/pure-cell/components/amount-title/component.d.ts +0 -22
- package/pure-cell/components/amount-title/component.js +8 -20
- package/pure-cell/components/amount-title/index.d.ts +1 -1
- package/pure-cell/components/amount-title/index.js +2 -2
- package/pure-cell/components/category/component.d.ts +0 -25
- package/pure-cell/components/category/component.js +5 -19
- package/pure-cell/components/category/index.d.ts +1 -1
- package/pure-cell/components/category/index.js +2 -2
- 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.d.ts +0 -20
- package/pure-cell/components/footer/component.js +5 -15
- package/pure-cell/components/footer/index.d.ts +1 -1
- package/pure-cell/components/footer/index.js +2 -2
- package/pure-cell/components/footer-button/component.d.ts +0 -14
- package/pure-cell/components/footer-button/component.js +6 -15
- package/pure-cell/components/footer-button/index.d.ts +1 -1
- package/pure-cell/components/footer-button/index.js +2 -2
- package/pure-cell/components/footer-text/component.d.ts +0 -21
- package/pure-cell/components/footer-text/component.js +5 -11
- package/pure-cell/components/footer-text/index.d.ts +1 -1
- package/pure-cell/components/footer-text/index.js +2 -2
- package/pure-cell/components/graphics/component.d.ts +0 -20
- package/pure-cell/components/graphics/component.js +5 -15
- package/pure-cell/components/graphics/index.d.ts +1 -1
- package/pure-cell/components/graphics/index.js +2 -2
- 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/cssm/component-4445c77d.d.ts +211 -0
- package/pure-cell/cssm/component-4445c77d.js +187 -0
- package/pure-cell/cssm/{component-5a229016.d.ts → component-fd7196d2.d.ts} +1 -0
- package/pure-cell/cssm/component.js +3 -11
- package/pure-cell/cssm/components/addon/component.d.ts +0 -24
- package/pure-cell/cssm/components/addon/component.js +6 -14
- package/pure-cell/cssm/components/addon/index.d.ts +1 -1
- package/pure-cell/cssm/components/addon/index.js +1 -1
- package/pure-cell/cssm/components/amount/component.d.ts +0 -25
- package/pure-cell/cssm/components/amount/component.js +9 -18
- package/pure-cell/cssm/components/amount/index.d.ts +1 -1
- package/pure-cell/cssm/components/amount/index.js +2 -2
- package/pure-cell/cssm/components/amount-title/component.d.ts +0 -22
- package/pure-cell/cssm/components/amount-title/component.js +9 -19
- package/pure-cell/cssm/components/amount-title/index.d.ts +1 -1
- package/pure-cell/cssm/components/amount-title/index.js +2 -2
- package/pure-cell/cssm/components/category/component.d.ts +0 -25
- package/pure-cell/cssm/components/category/component.js +6 -18
- package/pure-cell/cssm/components/category/index.d.ts +1 -1
- package/pure-cell/cssm/components/category/index.js +2 -2
- package/pure-cell/cssm/components/content/component.js +2 -2
- package/pure-cell/cssm/components/content/index.d.ts +1 -1
- package/pure-cell/cssm/components/content/index.js +2 -2
- package/pure-cell/cssm/components/footer/component.d.ts +0 -20
- package/pure-cell/cssm/components/footer/component.js +6 -14
- package/pure-cell/cssm/components/footer/index.d.ts +1 -1
- package/pure-cell/cssm/components/footer/index.js +2 -2
- package/pure-cell/cssm/components/footer-button/component.d.ts +0 -14
- package/pure-cell/cssm/components/footer-button/component.js +7 -14
- package/pure-cell/cssm/components/footer-button/index.d.ts +1 -1
- package/pure-cell/cssm/components/footer-button/index.js +2 -2
- package/pure-cell/cssm/components/footer-text/component.d.ts +0 -21
- package/pure-cell/cssm/components/footer-text/component.js +5 -11
- package/pure-cell/cssm/components/footer-text/index.d.ts +1 -1
- package/pure-cell/cssm/components/footer-text/index.js +2 -2
- package/pure-cell/cssm/components/graphics/component.d.ts +0 -20
- package/pure-cell/cssm/components/graphics/component.js +6 -14
- package/pure-cell/cssm/components/graphics/index.d.ts +1 -1
- package/pure-cell/cssm/components/graphics/index.js +2 -2
- package/pure-cell/cssm/components/main/component.js +2 -2
- package/pure-cell/cssm/components/main/index.d.ts +1 -1
- package/pure-cell/cssm/components/main/index.js +2 -2
- package/pure-cell/cssm/components/text/component.js +2 -2
- package/pure-cell/cssm/components/text/index.d.ts +1 -1
- package/pure-cell/cssm/components/text/index.js +2 -2
- package/pure-cell/cssm/index.d.ts +1 -1
- package/pure-cell/cssm/index.js +2 -2
- package/pure-cell/cssm/shared/index.d.ts +1 -0
- package/pure-cell/cssm/shared/index.js +7 -0
- package/pure-cell/cssm/utils.d.ts +20 -0
- package/pure-cell/cssm/utils.js +27 -0
- package/pure-cell/esm/component-7bedc2d7.d.ts +211 -0
- package/pure-cell/esm/component-7bedc2d7.js +180 -0
- package/pure-cell/esm/{component-5a229016.d.ts → component-fd7196d2.d.ts} +1 -0
- package/pure-cell/esm/component.js +2 -10
- package/pure-cell/esm/components/addon/component.d.ts +0 -24
- package/pure-cell/esm/components/addon/component.js +11 -13
- package/pure-cell/esm/components/addon/index.d.ts +1 -1
- package/pure-cell/esm/components/addon/index.js +8 -1
- package/pure-cell/esm/components/amount/component.d.ts +0 -25
- package/pure-cell/esm/components/amount/component.js +11 -17
- package/pure-cell/esm/components/amount/index.d.ts +1 -1
- package/pure-cell/esm/components/amount/index.js +6 -2
- package/pure-cell/esm/components/amount-title/component.d.ts +0 -22
- package/pure-cell/esm/components/amount-title/component.js +11 -18
- package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
- package/pure-cell/esm/components/amount-title/index.js +6 -2
- package/pure-cell/esm/components/category/component.d.ts +0 -25
- package/pure-cell/esm/components/category/component.js +11 -18
- package/pure-cell/esm/components/category/index.d.ts +1 -1
- package/pure-cell/esm/components/category/index.js +8 -1
- package/pure-cell/esm/components/content/component.js +1 -9
- package/pure-cell/esm/components/content/index.d.ts +1 -1
- package/pure-cell/esm/components/content/index.js +1 -9
- package/pure-cell/esm/components/footer/component.d.ts +0 -20
- package/pure-cell/esm/components/footer/component.js +11 -13
- package/pure-cell/esm/components/footer/index.d.ts +1 -1
- package/pure-cell/esm/components/footer/index.js +8 -1
- package/pure-cell/esm/components/footer-button/component.d.ts +0 -14
- package/pure-cell/esm/components/footer-button/component.js +11 -14
- package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-button/index.js +8 -2
- package/pure-cell/esm/components/footer-text/component.d.ts +0 -21
- package/pure-cell/esm/components/footer-text/component.js +11 -10
- package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-text/index.js +8 -1
- package/pure-cell/esm/components/graphics/component.d.ts +0 -20
- package/pure-cell/esm/components/graphics/component.js +11 -13
- package/pure-cell/esm/components/graphics/index.d.ts +1 -1
- package/pure-cell/esm/components/graphics/index.js +8 -1
- package/pure-cell/esm/components/main/component.js +1 -9
- package/pure-cell/esm/components/main/index.d.ts +1 -1
- package/pure-cell/esm/components/main/index.js +1 -9
- package/pure-cell/esm/components/text/component.js +1 -9
- package/pure-cell/esm/components/text/index.d.ts +1 -1
- package/pure-cell/esm/components/text/index.js +1 -9
- package/pure-cell/esm/index.d.ts +1 -1
- package/pure-cell/esm/index.js +1 -9
- package/pure-cell/esm/shared/index.d.ts +1 -0
- package/pure-cell/esm/shared/index.js +2 -0
- package/pure-cell/esm/utils.d.ts +20 -0
- package/pure-cell/esm/utils.js +25 -0
- package/pure-cell/index.d.ts +1 -1
- package/pure-cell/index.js +2 -2
- package/pure-cell/modern/component-edffa17d.d.ts +211 -0
- package/pure-cell/modern/component-edffa17d.js +169 -0
- package/pure-cell/modern/{component-5a229016.d.ts → component-fd7196d2.d.ts} +1 -0
- package/pure-cell/modern/component.js +2 -10
- package/pure-cell/modern/components/addon/component.d.ts +0 -24
- package/pure-cell/modern/components/addon/component.js +10 -10
- package/pure-cell/modern/components/addon/index.d.ts +1 -1
- package/pure-cell/modern/components/addon/index.js +7 -1
- package/pure-cell/modern/components/amount/component.d.ts +0 -25
- package/pure-cell/modern/components/amount/component.js +10 -13
- package/pure-cell/modern/components/amount/index.d.ts +1 -1
- package/pure-cell/modern/components/amount/index.js +6 -2
- package/pure-cell/modern/components/amount-title/component.d.ts +0 -22
- package/pure-cell/modern/components/amount-title/component.js +10 -21
- package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
- package/pure-cell/modern/components/amount-title/index.js +6 -2
- package/pure-cell/modern/components/category/component.d.ts +0 -25
- package/pure-cell/modern/components/category/component.js +10 -15
- package/pure-cell/modern/components/category/index.d.ts +1 -1
- package/pure-cell/modern/components/category/index.js +7 -1
- package/pure-cell/modern/components/content/component.js +1 -9
- package/pure-cell/modern/components/content/index.d.ts +1 -1
- package/pure-cell/modern/components/content/index.js +1 -9
- package/pure-cell/modern/components/footer/component.d.ts +0 -20
- package/pure-cell/modern/components/footer/component.js +10 -10
- package/pure-cell/modern/components/footer/index.d.ts +1 -1
- package/pure-cell/modern/components/footer/index.js +7 -1
- package/pure-cell/modern/components/footer-button/component.d.ts +0 -14
- package/pure-cell/modern/components/footer-button/component.js +10 -10
- package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-button/index.js +8 -2
- package/pure-cell/modern/components/footer-text/component.d.ts +0 -21
- package/pure-cell/modern/components/footer-text/component.js +10 -7
- package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-text/index.js +7 -1
- package/pure-cell/modern/components/graphics/component.d.ts +0 -20
- package/pure-cell/modern/components/graphics/component.js +10 -10
- package/pure-cell/modern/components/graphics/index.d.ts +1 -1
- package/pure-cell/modern/components/graphics/index.js +7 -1
- package/pure-cell/modern/components/main/component.js +1 -9
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +1 -9
- package/pure-cell/modern/components/text/component.js +1 -9
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +1 -9
- package/pure-cell/modern/index.d.ts +1 -1
- package/pure-cell/modern/index.js +1 -9
- package/pure-cell/modern/shared/index.d.ts +1 -0
- package/pure-cell/modern/shared/index.js +2 -0
- package/pure-cell/modern/utils.d.ts +20 -0
- package/pure-cell/modern/utils.js +25 -0
- package/pure-cell/shared/index.d.ts +1 -0
- package/pure-cell/shared/index.js +7 -0
- package/pure-cell/shared/package.json +3 -0
- package/pure-cell/utils.d.ts +20 -0
- package/pure-cell/utils.js +27 -0
- package/select/components/base-select/Component.js +1 -1
- package/select/cssm/components/base-select/Component.js +1 -1
- package/select/{hook-3f57caa8.js → cssm/hook-4aad7127.js} +1 -1
- package/select/cssm/mobile/Component.mobile.js +1 -1
- package/select/cssm/presets/index.js +1 -1
- package/select/cssm/presets/useSelectWithApply/hook.js +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +4 -3
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/cssm/shared/index.js +2 -1
- package/select/cssm/utils.d.ts +27 -1
- package/select/cssm/utils.js +30 -0
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/components/base-select/Component.js +1 -1
- package/select/esm/components/native-select/Component.js +1 -0
- package/select/esm/components/native-select/index.js +1 -0
- package/select/esm/{hook-9652899e.js → hook-b4192713.js} +2 -2
- package/select/esm/index.js +1 -1
- package/select/esm/mobile/Component.mobile.js +1 -1
- package/select/esm/mobile/Component.modal.mobile.js +1 -1
- package/select/esm/mobile/index.js +1 -1
- package/select/esm/presets/index.js +2 -2
- package/select/esm/presets/useSelectWithApply/hook.js +2 -2
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +4 -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 +2 -2
- package/select/esm/shared/index.js +3 -3
- package/select/esm/utils.d.ts +27 -1
- package/select/esm/utils.js +30 -1
- package/select/{cssm/hook-2f9ec939.js → hook-5269e0eb.js} +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/components/base-select/Component.js +1 -1
- package/select/modern/components/native-select/Component.js +1 -0
- package/select/modern/components/native-select/index.js +1 -0
- package/select/modern/{hook-3e36491b.js → hook-328d58fb.js} +2 -2
- package/select/modern/index.js +1 -1
- package/select/modern/mobile/Component.mobile.js +1 -1
- package/select/modern/mobile/Component.modal.mobile.js +1 -1
- package/select/modern/mobile/index.js +1 -1
- package/select/modern/presets/index.js +2 -2
- package/select/modern/presets/useSelectWithApply/hook.js +2 -2
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +4 -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 +2 -2
- package/select/modern/shared/index.js +3 -3
- package/select/modern/utils.d.ts +27 -1
- package/select/modern/utils.js +30 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +2 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +4 -3
- 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 +2 -1
- package/select/utils.d.ts +27 -1
- package/select/utils.js +30 -0
- package/slider/Component.d.ts +8 -0
- package/slider/Component.js +20 -4
- package/slider/cssm/Component.d.ts +8 -0
- package/slider/cssm/Component.js +20 -4
- package/slider/esm/Component.d.ts +8 -0
- package/slider/esm/Component.js +20 -4
- package/slider/modern/Component.d.ts +8 -0
- package/slider/modern/Component.js +20 -4
- package/slider-input/Component.d.ts +16 -0
- package/slider-input/Component.js +2 -2
- package/slider-input/cssm/Component.d.ts +16 -0
- package/slider-input/cssm/Component.js +2 -2
- package/slider-input/esm/Component.d.ts +16 -0
- package/slider-input/esm/Component.js +2 -2
- package/slider-input/modern/Component.d.ts +16 -0
- package/slider-input/modern/Component.js +2 -2
- package/sortable-list/Component.js +2 -2
- package/sortable-list/components/item/Components.js +2 -2
- package/sortable-list/cssm/Component.js +2 -2
- package/sortable-list/cssm/components/item/Components.js +2 -2
- package/sortable-list/cssm/shared/index.d.ts +1 -0
- package/sortable-list/cssm/shared/index.js +7 -0
- package/sortable-list/cssm/types.d.ts +5 -0
- package/sortable-list/cssm/utils.d.ts +5 -1
- package/sortable-list/cssm/utils.js +8 -0
- package/sortable-list/esm/Component.js +2 -2
- package/sortable-list/esm/components/item/Components.js +2 -2
- package/sortable-list/esm/shared/index.d.ts +1 -0
- package/sortable-list/esm/shared/index.js +3 -0
- package/sortable-list/esm/types.d.ts +5 -0
- package/sortable-list/esm/utils.d.ts +5 -1
- package/sortable-list/esm/utils.js +8 -1
- package/sortable-list/modern/Component.js +2 -2
- package/sortable-list/modern/components/item/Components.js +2 -2
- package/sortable-list/modern/shared/index.d.ts +1 -0
- package/sortable-list/modern/shared/index.js +2 -0
- package/sortable-list/modern/types.d.ts +5 -0
- package/sortable-list/modern/utils.d.ts +5 -1
- package/sortable-list/modern/utils.js +9 -1
- package/sortable-list/shared/index.d.ts +1 -0
- package/sortable-list/shared/index.js +7 -0
- package/sortable-list/shared/package.json +3 -0
- package/sortable-list/types.d.ts +5 -0
- package/sortable-list/utils.d.ts +5 -1
- package/sortable-list/utils.js +8 -0
- package/system-message/cssm/shared/index.d.ts +1 -0
- package/system-message/cssm/shared/index.js +7 -0
- package/system-message/cssm/utils.d.ts +9 -1
- package/system-message/cssm/utils.js +12 -0
- package/system-message/esm/shared/index.d.ts +1 -0
- package/system-message/esm/shared/index.js +10 -0
- package/system-message/esm/utils.d.ts +9 -1
- package/system-message/esm/utils.js +12 -2
- package/system-message/modern/shared/index.d.ts +1 -0
- package/system-message/modern/shared/index.js +10 -0
- package/system-message/modern/utils.d.ts +9 -1
- package/system-message/modern/utils.js +12 -2
- package/system-message/shared/index.d.ts +1 -0
- package/system-message/shared/index.js +7 -0
- package/system-message/shared/package.json +3 -0
- package/system-message/utils.d.ts +9 -1
- package/system-message/utils.js +12 -0
- package/tab-bar/cssm/shared/index.d.ts +1 -0
- package/tab-bar/cssm/shared/index.js +7 -0
- package/tab-bar/cssm/utils.d.ts +5 -0
- package/tab-bar/cssm/utils.js +12 -0
- package/tab-bar/esm/shared/index.d.ts +1 -0
- package/tab-bar/esm/shared/index.js +2 -0
- package/tab-bar/esm/utils.d.ts +5 -0
- package/tab-bar/esm/utils.js +10 -0
- package/tab-bar/modern/shared/index.d.ts +1 -0
- package/tab-bar/modern/shared/index.js +2 -0
- package/tab-bar/modern/utils.d.ts +5 -0
- package/tab-bar/modern/utils.js +10 -0
- package/tab-bar/shared/index.d.ts +1 -0
- package/tab-bar/shared/index.js +7 -0
- package/tab-bar/shared/package.json +3 -0
- package/tab-bar/utils.d.ts +5 -0
- package/tab-bar/utils.js +12 -0
- package/tag/components/base-tag/Component.d.ts +10 -0
- package/tag/components/base-tag/Component.js +3 -2
- package/tag/components/base-tag/index.css +4 -0
- package/tag/cssm/components/base-tag/Component.d.ts +10 -0
- package/tag/cssm/components/base-tag/Component.js +2 -1
- package/tag/cssm/components/base-tag/index.module.css +4 -0
- package/tag/esm/components/base-tag/Component.d.ts +10 -0
- package/tag/esm/components/base-tag/Component.js +3 -2
- package/tag/esm/components/base-tag/index.css +4 -0
- package/tag/modern/components/base-tag/Component.d.ts +10 -0
- package/tag/modern/components/base-tag/Component.js +3 -2
- package/tag/modern/components/base-tag/index.css +4 -0
- package/textarea/Component.js +8 -10
- package/textarea/{PseudoTextArea-6bfaa8bd.js → PseudoTextArea-6b0dce10.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/cssm/Component.js +7 -9
- package/textarea/cssm/index.module.css +3 -3
- package/textarea/cssm/shared/index.d.ts +1 -0
- package/textarea/cssm/shared/index.js +7 -0
- package/textarea/cssm/utils.d.ts +10 -0
- package/textarea/cssm/utils.js +17 -0
- package/textarea/esm/Component.js +8 -10
- package/textarea/esm/{PseudoTextArea-2b230af0.js → PseudoTextArea-6bbe205a.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.css +3 -3
- package/textarea/esm/index.js +1 -1
- package/textarea/esm/shared/index.d.ts +1 -0
- package/textarea/esm/shared/index.js +2 -0
- package/textarea/esm/utils.d.ts +10 -0
- package/textarea/esm/utils.js +15 -0
- package/textarea/index.css +3 -3
- package/textarea/modern/Component.js +3 -5
- package/textarea/modern/{PseudoTextArea-0b89b4a4.js → PseudoTextArea-6bd729a2.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.css +3 -3
- package/textarea/modern/index.js +1 -1
- package/textarea/modern/shared/index.d.ts +1 -0
- package/textarea/modern/shared/index.js +2 -0
- package/textarea/modern/utils.d.ts +10 -0
- package/textarea/modern/utils.js +15 -0
- package/textarea/shared/index.d.ts +1 -0
- package/textarea/shared/index.js +7 -0
- package/textarea/shared/package.json +3 -0
- package/textarea/utils.d.ts +10 -0
- package/textarea/utils.js +17 -0
- package/themes/compiled/mobile-dark-bluetint.css +26 -27
- package/themes/dist/compiled/mobile-dark-bluetint.css +458 -458
- package/typography/common.module-4306b4f6.js +4 -0
- package/typography/cssm/title/common.module.css +3 -0
- package/typography/cssm/title/component.d.ts +7 -6
- package/typography/cssm/title/component.js +4 -3
- package/typography/cssm/title/index.d.ts +1 -1
- package/typography/cssm/title/index.js +1 -1
- package/typography/cssm/title/utils.d.ts +2 -0
- package/typography/cssm/title/utils.js +13 -0
- package/typography/cssm/title-mobile/component.d.ts +1 -1
- package/typography/cssm/title-mobile/component.js +1 -1
- package/typography/cssm/title-responsive/component.d.ts +1 -1
- package/typography/cssm/title-responsive/component.js +5 -1
- package/typography/esm/common.module-76facc75.js +4 -0
- package/typography/esm/component.js +4 -2
- package/typography/esm/index.js +4 -2
- package/typography/esm/text/component.js +1 -1
- package/typography/esm/text/index.js +1 -1
- package/typography/esm/title/common.css +3 -0
- package/typography/esm/title/component.d.ts +7 -6
- package/typography/esm/title/component.js +5 -4
- package/typography/esm/title/index.d.ts +1 -1
- package/typography/esm/title/index.js +5 -4
- package/typography/esm/title/utils.d.ts +2 -0
- package/typography/esm/title/utils.js +11 -0
- package/typography/esm/title-mobile/component.d.ts +1 -1
- package/typography/esm/title-mobile/component.js +5 -4
- package/typography/esm/title-mobile/index.js +3 -2
- package/typography/esm/title-responsive/component.d.ts +1 -1
- package/typography/esm/title-responsive/component.js +9 -4
- package/typography/esm/title-responsive/index.js +4 -2
- package/typography/modern/common.module-e2076252.js +4 -0
- package/typography/modern/component.js +4 -2
- package/typography/modern/index.js +4 -2
- package/typography/modern/text/component.js +1 -1
- package/typography/modern/text/index.js +1 -1
- package/typography/modern/title/common.css +3 -0
- package/typography/modern/title/component.d.ts +7 -6
- package/typography/modern/title/component.js +4 -3
- package/typography/modern/title/index.d.ts +1 -1
- package/typography/modern/title/index.js +5 -4
- package/typography/modern/title/utils.d.ts +2 -0
- package/typography/modern/title/utils.js +11 -0
- package/typography/modern/title-mobile/component.d.ts +1 -1
- package/typography/modern/title-mobile/component.js +5 -4
- package/typography/modern/title-mobile/index.js +3 -2
- package/typography/modern/title-responsive/component.d.ts +1 -1
- package/typography/modern/title-responsive/component.js +9 -4
- package/typography/modern/title-responsive/index.js +4 -2
- package/typography/text/component.js +1 -1
- package/typography/title/common.css +3 -0
- package/typography/title/component.d.ts +7 -6
- package/typography/title/component.js +5 -4
- package/typography/title/index.d.ts +1 -1
- package/typography/title/index.js +2 -2
- package/typography/title/utils.d.ts +2 -0
- package/typography/title/utils.js +13 -0
- package/typography/title-mobile/component.d.ts +1 -1
- package/typography/title-mobile/component.js +2 -2
- package/typography/title-responsive/component.d.ts +1 -1
- package/typography/title-responsive/component.js +6 -2
- package/universal-date-input/Component-c241b310.d.ts +38 -0
- package/universal-date-input/Component.responsive-71043c62.d.ts +1 -1
- package/universal-date-input/cssm/Component-c241b310.d.ts +38 -0
- package/universal-date-input/cssm/Component.responsive-71043c62.d.ts +1 -1
- package/universal-date-input/cssm/index-5712fce2.d.ts +4 -3
- package/universal-date-input/cssm/index-71043c62.d.ts +2 -2
- package/universal-date-input/cssm/{index-202ae1dc.d.ts → index-c241b310.d.ts} +1 -1
- package/universal-date-input/cssm/shared/index.d.ts +1 -0
- package/universal-date-input/cssm/shared/index.js +7 -0
- package/universal-date-input/cssm/typings-c241b310.d.ts +113 -0
- package/universal-date-input/cssm/utils/index.d.ts +13 -1
- package/universal-date-input/cssm/utils/index.js +24 -0
- package/universal-date-input/esm/Component-c241b310.d.ts +38 -0
- package/universal-date-input/esm/Component.responsive-71043c62.d.ts +1 -1
- package/universal-date-input/esm/Component.responsive.js +1 -1
- package/universal-date-input/esm/components/base-universal-date-input/Component.js +1 -1
- package/universal-date-input/esm/components/base-universal-date-input/index.js +1 -1
- package/universal-date-input/esm/components/time-input/Component.js +1 -0
- package/universal-date-input/esm/components/time-input/index.js +1 -0
- package/universal-date-input/esm/desktop/Component.desktop.js +1 -1
- package/universal-date-input/esm/desktop/index.js +1 -1
- package/universal-date-input/esm/index-5712fce2.d.ts +4 -3
- package/universal-date-input/esm/index-71043c62.d.ts +2 -2
- package/universal-date-input/esm/{index-202ae1dc.d.ts → index-c241b310.d.ts} +1 -1
- package/universal-date-input/esm/index.js +1 -1
- package/universal-date-input/esm/mask/index.js +1 -0
- package/universal-date-input/esm/mask/preprocessors.js +1 -0
- package/universal-date-input/esm/mobile/Component.mobile.js +1 -1
- package/universal-date-input/esm/mobile/index.js +1 -1
- package/universal-date-input/esm/shared/index.d.ts +1 -0
- package/universal-date-input/esm/shared/index.js +7 -0
- package/universal-date-input/esm/typings-c241b310.d.ts +113 -0
- package/universal-date-input/esm/utils/index.d.ts +13 -1
- package/universal-date-input/esm/utils/index.js +24 -1
- package/universal-date-input/index-5712fce2.d.ts +4 -3
- package/universal-date-input/index-71043c62.d.ts +2 -2
- package/universal-date-input/{index-202ae1dc.d.ts → index-c241b310.d.ts} +1 -1
- package/universal-date-input/modern/Component-c241b310.d.ts +38 -0
- package/universal-date-input/modern/Component.responsive-71043c62.d.ts +1 -1
- package/universal-date-input/modern/Component.responsive.js +1 -1
- package/universal-date-input/modern/components/base-universal-date-input/Component.js +1 -1
- package/universal-date-input/modern/components/base-universal-date-input/index.js +1 -1
- package/universal-date-input/modern/components/time-input/Component.js +1 -0
- package/universal-date-input/modern/components/time-input/index.js +1 -0
- package/universal-date-input/modern/desktop/Component.desktop.js +1 -1
- package/universal-date-input/modern/desktop/index.js +1 -1
- package/universal-date-input/modern/index-5712fce2.d.ts +4 -3
- package/universal-date-input/modern/index-71043c62.d.ts +2 -2
- package/universal-date-input/modern/{index-202ae1dc.d.ts → index-c241b310.d.ts} +1 -1
- package/universal-date-input/modern/index.js +1 -1
- package/universal-date-input/modern/mask/index.js +1 -0
- package/universal-date-input/modern/mask/preprocessors.js +1 -0
- package/universal-date-input/modern/mobile/Component.mobile.js +1 -1
- package/universal-date-input/modern/mobile/index.js +1 -1
- package/universal-date-input/modern/shared/index.d.ts +1 -0
- package/universal-date-input/modern/shared/index.js +7 -0
- package/universal-date-input/modern/typings-c241b310.d.ts +113 -0
- package/universal-date-input/modern/utils/index.d.ts +13 -1
- package/universal-date-input/modern/utils/index.js +24 -1
- package/universal-date-input/shared/index.d.ts +1 -0
- package/universal-date-input/shared/index.js +7 -0
- package/universal-date-input/shared/package.json +3 -0
- package/universal-date-input/typings-c241b310.d.ts +113 -0
- package/universal-date-input/utils/index.d.ts +13 -1
- package/universal-date-input/utils/index.js +24 -0
- package/modal/browser-a216f694.d.ts +0 -6
- package/modal/cssm/browser-a216f694.d.ts +0 -6
- package/modal/cssm/getDataTestId-73ea38f8.d.ts +0 -3
- package/modal/cssm/getDataTestId-73ea38f8.js +0 -6
- package/modal/cssm/index-a5b021bd.d.ts +0 -70
- package/modal/cssm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/modal/esm/browser-a216f694.d.ts +0 -6
- package/modal/esm/getDataTestId-ebb790fe.d.ts +0 -3
- package/modal/esm/getDataTestId-ebb790fe.js +0 -6
- package/modal/esm/index-a5b021bd.d.ts +0 -70
- package/modal/esm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/modal/getDataTestId-df239bc2.d.ts +0 -3
- package/modal/getDataTestId-df239bc2.js +0 -6
- package/modal/index-a5b021bd.d.ts +0 -70
- package/modal/modern/browser-a216f694.d.ts +0 -6
- package/modal/modern/getDataTestId-9f1ae57f.d.ts +0 -3
- package/modal/modern/getDataTestId-9f1ae57f.js +0 -6
- package/modal/modern/index-a5b021bd.d.ts +0 -70
- package/modal/modern/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/modal/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/picker-button/cssm/utils-d2597f31.d.ts +0 -41
- package/picker-button/esm/utils-d2597f31.d.ts +0 -41
- package/picker-button/modern/utils-d2597f31.d.ts +0 -41
- package/picker-button/utils-d2597f31.d.ts +0 -41
- package/pure-cell/component-e4b9399c.d.ts +0 -74
- package/pure-cell/component-e4b9399c.js +0 -119
- package/pure-cell/cssm/component-3ca297e4.d.ts +0 -74
- package/pure-cell/cssm/component-3ca297e4.js +0 -115
- package/pure-cell/esm/component-b6796cd0.d.ts +0 -74
- package/pure-cell/esm/component-b6796cd0.js +0 -111
- package/pure-cell/modern/component-9dd79207.d.ts +0 -74
- package/pure-cell/modern/component-9dd79207.js +0 -103
- package/typography/common.module-916c36bb.js +0 -4
- package/typography/esm/common.module-a36fca46.js +0 -4
- package/typography/modern/common.module-cd4fb372.js +0 -4
- package/universal-date-input/Component-202ae1dc.d.ts +0 -38
- package/universal-date-input/cssm/Component-202ae1dc.d.ts +0 -38
- package/universal-date-input/cssm/typings-202ae1dc.d.ts +0 -108
- package/universal-date-input/esm/Component-202ae1dc.d.ts +0 -38
- package/universal-date-input/esm/typings-202ae1dc.d.ts +0 -108
- package/universal-date-input/modern/Component-202ae1dc.d.ts +0 -38
- package/universal-date-input/modern/typings-202ae1dc.d.ts +0 -108
- package/universal-date-input/typings-202ae1dc.d.ts +0 -108
- /package/confirmation/{countdown-section-bad45551.d.ts → countdown-section-5de1c4b7.d.ts} +0 -0
- /package/confirmation/{countdown-section-bad45551.js → countdown-section-5de1c4b7.js} +0 -0
- /package/confirmation/esm/{countdown-section-493ddc88.d.ts → countdown-section-1ad93b6b.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-493ddc88.js → countdown-section-1ad93b6b.js} +0 -0
- /package/confirmation/modern/{countdown-section-8e2720be.d.ts → countdown-section-49426344.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-8e2720be.js → countdown-section-49426344.js} +0 -0
- /package/gallery/{buttons-41386a83.d.ts → buttons-82f484be.d.ts} +0 -0
- /package/gallery/{buttons-41386a83.js → buttons-82f484be.js} +0 -0
- /package/gallery/esm/{buttons-a16b76b3.d.ts → buttons-39caa328.d.ts} +0 -0
- /package/gallery/esm/{buttons-a16b76b3.js → buttons-39caa328.js} +0 -0
- /package/gallery/esm/{slide-61ee79e5.d.ts → slide-b0b55054.d.ts} +0 -0
- /package/gallery/esm/{slide-61ee79e5.js → slide-b0b55054.js} +0 -0
- /package/gallery/modern/{buttons-4c270945.d.ts → buttons-7d48fdac.d.ts} +0 -0
- /package/gallery/modern/{buttons-4c270945.js → buttons-7d48fdac.js} +0 -0
- /package/gallery/modern/{slide-d45d5b0f.d.ts → slide-cf2505ae.d.ts} +0 -0
- /package/gallery/modern/{slide-d45d5b0f.js → slide-cf2505ae.js} +0 -0
- /package/gallery/{slide-86569661.d.ts → slide-df0a615a.d.ts} +0 -0
- /package/gallery/{slide-86569661.js → slide-df0a615a.js} +0 -0
- /package/modal/esm/{layout.module-65b158a3.js → layout.module-4c70e469.js} +0 -0
- /package/modal/{layout.module-6de2fccf.js → layout.module-fffa9cc4.js} +0 -0
- /package/modal/modern/{layout.module-aabcece6.js → layout.module-80dc989b.js} +0 -0
- /package/select/cssm/{hook-2f9ec939.d.ts → hook-4aad7127.d.ts} +0 -0
- /package/select/esm/{hook-9652899e.d.ts → hook-b4192713.d.ts} +0 -0
- /package/select/{hook-3f57caa8.d.ts → hook-5269e0eb.d.ts} +0 -0
- /package/select/modern/{hook-3e36491b.d.ts → hook-328d58fb.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-6bfaa8bd.d.ts → PseudoTextArea-6b0dce10.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-2b230af0.d.ts → PseudoTextArea-6bbe205a.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-0b89b4a4.d.ts → PseudoTextArea-6bd729a2.d.ts} +0 -0
- /package/typography/{colors.module-c6767642.js → colors.module-542eef2a.js} +0 -0
- /package/typography/esm/{colors.module-96dc9eaf.js → colors.module-8bcdca4a.js} +0 -0
- /package/typography/modern/{colors.module-0a06cd10.js → colors.module-ba6381f2.js} +0 -0
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
/* eslint-disable no-plusplus, no-param-reassign */
|
|
4
|
-
import { MaskitoPlugin, MaskitoPostprocessor, MaskitoPreprocessor } from "@maskito/core";
|
|
5
|
-
import { useCustomWebkitScrollbar } from "./useCustomWebkitScrollbar-a216f694";
|
|
6
|
-
declare const isClient: () => boolean;
|
|
7
|
-
declare function isApplePlatform(): boolean;
|
|
8
|
-
declare function isIOS(): boolean;
|
|
9
|
-
declare const os: {
|
|
10
|
-
isIOS: typeof isIOS;
|
|
11
|
-
isApplePlatform: typeof isApplePlatform;
|
|
12
|
-
};
|
|
13
|
-
type PaddingType = number | string | {
|
|
14
|
-
top?: number;
|
|
15
|
-
right?: number;
|
|
16
|
-
bottom?: number;
|
|
17
|
-
left?: number;
|
|
18
|
-
};
|
|
19
|
-
declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
|
|
20
|
-
declare function easeInOutQuad(x: number): number;
|
|
21
|
-
declare const easingFns: {
|
|
22
|
-
easeInOutQuad: typeof easeInOutQuad;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Возвращает true, если значение равно null или undefined
|
|
26
|
-
*/
|
|
27
|
-
declare function isNil(value: unknown): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Выбор значения между min max границами
|
|
30
|
-
*/
|
|
31
|
-
declare function clamp<T extends Date | number>(value: T, min: T, max: T): T;
|
|
32
|
-
declare function noop(): void;
|
|
33
|
-
declare const fnUtils: {
|
|
34
|
-
clamp: typeof clamp;
|
|
35
|
-
noop: typeof noop;
|
|
36
|
-
isNil: typeof isNil;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Запрещает каретке становиться за указанные границы
|
|
40
|
-
*/
|
|
41
|
-
declare function caretGuard(guard: (value: string, selection: readonly [
|
|
42
|
-
from: number,
|
|
43
|
-
to: number
|
|
44
|
-
]) => [
|
|
45
|
-
from: number,
|
|
46
|
-
to: number
|
|
47
|
-
]): MaskitoPlugin;
|
|
48
|
-
/**
|
|
49
|
-
* Запрещает удалять указанный префикс
|
|
50
|
-
*/
|
|
51
|
-
declare function prefixPostprocessor(prefix: string): MaskitoPostprocessor;
|
|
52
|
-
/**
|
|
53
|
-
* Препроцессор необходим для правильной вставки/автокомплита телефонного номера
|
|
54
|
-
*/
|
|
55
|
-
declare function insertionPhonePreprocessor(mask: Array<string | RegExp>, countryCode?: string, clearableCountryCode?: boolean): MaskitoPreprocessor;
|
|
56
|
-
declare const maskUtils: {
|
|
57
|
-
insertionPhonePreprocessor: typeof insertionPhonePreprocessor;
|
|
58
|
-
prefixPostprocessor: typeof prefixPostprocessor;
|
|
59
|
-
caretGuard: typeof caretGuard;
|
|
60
|
-
};
|
|
61
|
-
declare const hooks: {
|
|
62
|
-
useCustomWebkitScrollbar: typeof useCustomWebkitScrollbar;
|
|
63
|
-
};
|
|
64
|
-
declare function preventDefault(e: React.UIEvent): void;
|
|
65
|
-
declare const dom: {
|
|
66
|
-
preventDefault: typeof preventDefault;
|
|
67
|
-
};
|
|
68
|
-
export { isClient, os, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
|
|
69
|
-
export * from "./getDataTestId-ebb790fe";
|
|
70
|
-
export * from "./browser-a216f694";
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
/* eslint-disable no-plusplus, no-param-reassign */
|
|
4
|
-
import { MaskitoPlugin, MaskitoPostprocessor, MaskitoPreprocessor } from "@maskito/core";
|
|
5
|
-
import { useCustomWebkitScrollbar } from "./useCustomWebkitScrollbar-a216f694";
|
|
6
|
-
declare const isClient: () => boolean;
|
|
7
|
-
declare function isApplePlatform(): boolean;
|
|
8
|
-
declare function isIOS(): boolean;
|
|
9
|
-
declare const os: {
|
|
10
|
-
isIOS: typeof isIOS;
|
|
11
|
-
isApplePlatform: typeof isApplePlatform;
|
|
12
|
-
};
|
|
13
|
-
type PaddingType = number | string | {
|
|
14
|
-
top?: number;
|
|
15
|
-
right?: number;
|
|
16
|
-
bottom?: number;
|
|
17
|
-
left?: number;
|
|
18
|
-
};
|
|
19
|
-
declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
|
|
20
|
-
declare function easeInOutQuad(x: number): number;
|
|
21
|
-
declare const easingFns: {
|
|
22
|
-
easeInOutQuad: typeof easeInOutQuad;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Возвращает true, если значение равно null или undefined
|
|
26
|
-
*/
|
|
27
|
-
declare function isNil(value: unknown): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Выбор значения между min max границами
|
|
30
|
-
*/
|
|
31
|
-
declare function clamp<T extends Date | number>(value: T, min: T, max: T): T;
|
|
32
|
-
declare function noop(): void;
|
|
33
|
-
declare const fnUtils: {
|
|
34
|
-
clamp: typeof clamp;
|
|
35
|
-
noop: typeof noop;
|
|
36
|
-
isNil: typeof isNil;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Запрещает каретке становиться за указанные границы
|
|
40
|
-
*/
|
|
41
|
-
declare function caretGuard(guard: (value: string, selection: readonly [
|
|
42
|
-
from: number,
|
|
43
|
-
to: number
|
|
44
|
-
]) => [
|
|
45
|
-
from: number,
|
|
46
|
-
to: number
|
|
47
|
-
]): MaskitoPlugin;
|
|
48
|
-
/**
|
|
49
|
-
* Запрещает удалять указанный префикс
|
|
50
|
-
*/
|
|
51
|
-
declare function prefixPostprocessor(prefix: string): MaskitoPostprocessor;
|
|
52
|
-
/**
|
|
53
|
-
* Препроцессор необходим для правильной вставки/автокомплита телефонного номера
|
|
54
|
-
*/
|
|
55
|
-
declare function insertionPhonePreprocessor(mask: Array<string | RegExp>, countryCode?: string, clearableCountryCode?: boolean): MaskitoPreprocessor;
|
|
56
|
-
declare const maskUtils: {
|
|
57
|
-
insertionPhonePreprocessor: typeof insertionPhonePreprocessor;
|
|
58
|
-
prefixPostprocessor: typeof prefixPostprocessor;
|
|
59
|
-
caretGuard: typeof caretGuard;
|
|
60
|
-
};
|
|
61
|
-
declare const hooks: {
|
|
62
|
-
useCustomWebkitScrollbar: typeof useCustomWebkitScrollbar;
|
|
63
|
-
};
|
|
64
|
-
declare function preventDefault(e: React.UIEvent): void;
|
|
65
|
-
declare const dom: {
|
|
66
|
-
preventDefault: typeof preventDefault;
|
|
67
|
-
};
|
|
68
|
-
export { isClient, os, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
|
|
69
|
-
export * from "./getDataTestId-df239bc2";
|
|
70
|
-
export * from "./browser-a216f694";
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
/* eslint-disable no-plusplus, no-param-reassign */
|
|
4
|
-
import { MaskitoPlugin, MaskitoPostprocessor, MaskitoPreprocessor } from "@maskito/core";
|
|
5
|
-
import { useCustomWebkitScrollbar } from "./useCustomWebkitScrollbar-a216f694";
|
|
6
|
-
declare const isClient: () => boolean;
|
|
7
|
-
declare function isApplePlatform(): boolean;
|
|
8
|
-
declare function isIOS(): boolean;
|
|
9
|
-
declare const os: {
|
|
10
|
-
isIOS: typeof isIOS;
|
|
11
|
-
isApplePlatform: typeof isApplePlatform;
|
|
12
|
-
};
|
|
13
|
-
type PaddingType = number | string | {
|
|
14
|
-
top?: number;
|
|
15
|
-
right?: number;
|
|
16
|
-
bottom?: number;
|
|
17
|
-
left?: number;
|
|
18
|
-
};
|
|
19
|
-
declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
|
|
20
|
-
declare function easeInOutQuad(x: number): number;
|
|
21
|
-
declare const easingFns: {
|
|
22
|
-
easeInOutQuad: typeof easeInOutQuad;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Возвращает true, если значение равно null или undefined
|
|
26
|
-
*/
|
|
27
|
-
declare function isNil(value: unknown): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Выбор значения между min max границами
|
|
30
|
-
*/
|
|
31
|
-
declare function clamp<T extends Date | number>(value: T, min: T, max: T): T;
|
|
32
|
-
declare function noop(): void;
|
|
33
|
-
declare const fnUtils: {
|
|
34
|
-
clamp: typeof clamp;
|
|
35
|
-
noop: typeof noop;
|
|
36
|
-
isNil: typeof isNil;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Запрещает каретке становиться за указанные границы
|
|
40
|
-
*/
|
|
41
|
-
declare function caretGuard(guard: (value: string, selection: readonly [
|
|
42
|
-
from: number,
|
|
43
|
-
to: number
|
|
44
|
-
]) => [
|
|
45
|
-
from: number,
|
|
46
|
-
to: number
|
|
47
|
-
]): MaskitoPlugin;
|
|
48
|
-
/**
|
|
49
|
-
* Запрещает удалять указанный префикс
|
|
50
|
-
*/
|
|
51
|
-
declare function prefixPostprocessor(prefix: string): MaskitoPostprocessor;
|
|
52
|
-
/**
|
|
53
|
-
* Препроцессор необходим для правильной вставки/автокомплита телефонного номера
|
|
54
|
-
*/
|
|
55
|
-
declare function insertionPhonePreprocessor(mask: Array<string | RegExp>, countryCode?: string, clearableCountryCode?: boolean): MaskitoPreprocessor;
|
|
56
|
-
declare const maskUtils: {
|
|
57
|
-
insertionPhonePreprocessor: typeof insertionPhonePreprocessor;
|
|
58
|
-
prefixPostprocessor: typeof prefixPostprocessor;
|
|
59
|
-
caretGuard: typeof caretGuard;
|
|
60
|
-
};
|
|
61
|
-
declare const hooks: {
|
|
62
|
-
useCustomWebkitScrollbar: typeof useCustomWebkitScrollbar;
|
|
63
|
-
};
|
|
64
|
-
declare function preventDefault(e: React.UIEvent): void;
|
|
65
|
-
declare const dom: {
|
|
66
|
-
preventDefault: typeof preventDefault;
|
|
67
|
-
};
|
|
68
|
-
export { isClient, os, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
|
|
69
|
-
export * from "./getDataTestId-9f1ae57f";
|
|
70
|
-
export * from "./browser-a216f694";
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-c29389e5";
|
|
3
|
-
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
|
-
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
6
|
-
selected?: OptionShape | undefined;
|
|
7
|
-
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
-
}) => ReactNode[] | null;
|
|
9
|
-
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape) => boolean): {
|
|
10
|
-
filteredOptions: (OptionShape | GroupShape)[];
|
|
11
|
-
flatOptions: OptionShape[];
|
|
12
|
-
selectedOptions: OptionShape[];
|
|
13
|
-
};
|
|
14
|
-
type useVisibleOptionsArgs = {
|
|
15
|
-
/**
|
|
16
|
-
* Количество видимых пунктов
|
|
17
|
-
*/
|
|
18
|
-
visibleOptions: number;
|
|
19
|
-
/**
|
|
20
|
-
* Реф на контейнер с пунтами меню
|
|
21
|
-
*/
|
|
22
|
-
listRef: RefObject<HTMLElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Реф на контейнер, которому нужно установить высоту
|
|
25
|
-
*/
|
|
26
|
-
styleTargetRef?: RefObject<HTMLElement>;
|
|
27
|
-
/**
|
|
28
|
-
* Флаг открытия меню
|
|
29
|
-
*/
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Позволяет вызвать пересчет высоты
|
|
33
|
-
*/
|
|
34
|
-
invalidate?: unknown;
|
|
35
|
-
};
|
|
36
|
-
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
|
|
37
|
-
declare function defaultFilterFn(optionText: string, search: string): boolean;
|
|
38
|
-
declare function defaultAccessor(option: OptionShape): string;
|
|
39
|
-
declare function usePrevious<T>(value: T): T | undefined;
|
|
40
|
-
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
41
|
-
export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, defaultFilterFn, defaultAccessor, usePrevious, lastIndexOf };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-c29389e5";
|
|
3
|
-
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
|
-
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
6
|
-
selected?: OptionShape | undefined;
|
|
7
|
-
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
-
}) => ReactNode[] | null;
|
|
9
|
-
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape) => boolean): {
|
|
10
|
-
filteredOptions: (OptionShape | GroupShape)[];
|
|
11
|
-
flatOptions: OptionShape[];
|
|
12
|
-
selectedOptions: OptionShape[];
|
|
13
|
-
};
|
|
14
|
-
type useVisibleOptionsArgs = {
|
|
15
|
-
/**
|
|
16
|
-
* Количество видимых пунктов
|
|
17
|
-
*/
|
|
18
|
-
visibleOptions: number;
|
|
19
|
-
/**
|
|
20
|
-
* Реф на контейнер с пунтами меню
|
|
21
|
-
*/
|
|
22
|
-
listRef: RefObject<HTMLElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Реф на контейнер, которому нужно установить высоту
|
|
25
|
-
*/
|
|
26
|
-
styleTargetRef?: RefObject<HTMLElement>;
|
|
27
|
-
/**
|
|
28
|
-
* Флаг открытия меню
|
|
29
|
-
*/
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Позволяет вызвать пересчет высоты
|
|
33
|
-
*/
|
|
34
|
-
invalidate?: unknown;
|
|
35
|
-
};
|
|
36
|
-
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
|
|
37
|
-
declare function defaultFilterFn(optionText: string, search: string): boolean;
|
|
38
|
-
declare function defaultAccessor(option: OptionShape): string;
|
|
39
|
-
declare function usePrevious<T>(value: T): T | undefined;
|
|
40
|
-
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
41
|
-
export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, defaultFilterFn, defaultAccessor, usePrevious, lastIndexOf };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-c29389e5";
|
|
3
|
-
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
|
-
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
6
|
-
selected?: OptionShape | undefined;
|
|
7
|
-
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
-
}) => ReactNode[] | null;
|
|
9
|
-
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape) => boolean): {
|
|
10
|
-
filteredOptions: (OptionShape | GroupShape)[];
|
|
11
|
-
flatOptions: OptionShape[];
|
|
12
|
-
selectedOptions: OptionShape[];
|
|
13
|
-
};
|
|
14
|
-
type useVisibleOptionsArgs = {
|
|
15
|
-
/**
|
|
16
|
-
* Количество видимых пунктов
|
|
17
|
-
*/
|
|
18
|
-
visibleOptions: number;
|
|
19
|
-
/**
|
|
20
|
-
* Реф на контейнер с пунтами меню
|
|
21
|
-
*/
|
|
22
|
-
listRef: RefObject<HTMLElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Реф на контейнер, которому нужно установить высоту
|
|
25
|
-
*/
|
|
26
|
-
styleTargetRef?: RefObject<HTMLElement>;
|
|
27
|
-
/**
|
|
28
|
-
* Флаг открытия меню
|
|
29
|
-
*/
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Позволяет вызвать пересчет высоты
|
|
33
|
-
*/
|
|
34
|
-
invalidate?: unknown;
|
|
35
|
-
};
|
|
36
|
-
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
|
|
37
|
-
declare function defaultFilterFn(optionText: string, search: string): boolean;
|
|
38
|
-
declare function defaultAccessor(option: OptionShape): string;
|
|
39
|
-
declare function usePrevious<T>(value: T): T | undefined;
|
|
40
|
-
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
41
|
-
export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, defaultFilterFn, defaultAccessor, usePrevious, lastIndexOf };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape } from "./typings-c29389e5";
|
|
3
|
-
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
|
-
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
|
-
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
6
|
-
selected?: OptionShape | undefined;
|
|
7
|
-
selectedMultiple?: OptionShape[] | undefined;
|
|
8
|
-
}) => ReactNode[] | null;
|
|
9
|
-
declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape) => boolean): {
|
|
10
|
-
filteredOptions: (OptionShape | GroupShape)[];
|
|
11
|
-
flatOptions: OptionShape[];
|
|
12
|
-
selectedOptions: OptionShape[];
|
|
13
|
-
};
|
|
14
|
-
type useVisibleOptionsArgs = {
|
|
15
|
-
/**
|
|
16
|
-
* Количество видимых пунктов
|
|
17
|
-
*/
|
|
18
|
-
visibleOptions: number;
|
|
19
|
-
/**
|
|
20
|
-
* Реф на контейнер с пунтами меню
|
|
21
|
-
*/
|
|
22
|
-
listRef: RefObject<HTMLElement>;
|
|
23
|
-
/**
|
|
24
|
-
* Реф на контейнер, которому нужно установить высоту
|
|
25
|
-
*/
|
|
26
|
-
styleTargetRef?: RefObject<HTMLElement>;
|
|
27
|
-
/**
|
|
28
|
-
* Флаг открытия меню
|
|
29
|
-
*/
|
|
30
|
-
open?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Позволяет вызвать пересчет высоты
|
|
33
|
-
*/
|
|
34
|
-
invalidate?: unknown;
|
|
35
|
-
};
|
|
36
|
-
declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
|
|
37
|
-
declare function defaultFilterFn(optionText: string, search: string): boolean;
|
|
38
|
-
declare function defaultAccessor(option: OptionShape): string;
|
|
39
|
-
declare function usePrevious<T>(value: T): T | undefined;
|
|
40
|
-
declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
|
|
41
|
-
export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, defaultFilterFn, defaultAccessor, usePrevious, lastIndexOf };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { ReactNode } from "react";
|
|
4
|
-
import { MainElement, ContentElement } from "./components/types";
|
|
5
|
-
import { Color } from "../typography";
|
|
6
|
-
type Props = {
|
|
7
|
-
/**
|
|
8
|
-
* Компоненты
|
|
9
|
-
*/
|
|
10
|
-
children: MainElement;
|
|
11
|
-
/**
|
|
12
|
-
* Позволяет изменить расположение блоков внутри main
|
|
13
|
-
*/
|
|
14
|
-
isReverse?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Дополнительный класс
|
|
17
|
-
*/
|
|
18
|
-
className?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Идентификатор для систем автоматизированного тестирования.
|
|
21
|
-
* Используется модификатор -main
|
|
22
|
-
*/
|
|
23
|
-
dataTestId?: string;
|
|
24
|
-
};
|
|
25
|
-
declare const Main: React.FC<Props>;
|
|
26
|
-
type Props$0 = {
|
|
27
|
-
/**
|
|
28
|
-
* Компоненты
|
|
29
|
-
*/
|
|
30
|
-
children: ContentElement;
|
|
31
|
-
/**
|
|
32
|
-
* Идентификатор для систем автоматизированного тестирования.
|
|
33
|
-
* Используется модификатор -content
|
|
34
|
-
*/
|
|
35
|
-
dataTestId?: string;
|
|
36
|
-
};
|
|
37
|
-
declare const Content: React.FC<Props$0>;
|
|
38
|
-
type Props$1 = {
|
|
39
|
-
/**
|
|
40
|
-
* Контент
|
|
41
|
-
*/
|
|
42
|
-
children?: ReactNode;
|
|
43
|
-
/**
|
|
44
|
-
* Количество строк
|
|
45
|
-
*/
|
|
46
|
-
rowLimit?: 1 | 2;
|
|
47
|
-
/**
|
|
48
|
-
* Размер текста
|
|
49
|
-
*/
|
|
50
|
-
view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'component' | 'component-primary';
|
|
51
|
-
/**
|
|
52
|
-
* Толщина title
|
|
53
|
-
*/
|
|
54
|
-
titleWeight?: 'regular' | 'bold';
|
|
55
|
-
/**
|
|
56
|
-
* Цвет title
|
|
57
|
-
*/
|
|
58
|
-
titleColor: Color;
|
|
59
|
-
/**
|
|
60
|
-
* Value ячейки
|
|
61
|
-
*/
|
|
62
|
-
value?: ReactNode;
|
|
63
|
-
/**
|
|
64
|
-
* Цвет value
|
|
65
|
-
*/
|
|
66
|
-
valueColor?: Color;
|
|
67
|
-
/**
|
|
68
|
-
* Идентификатор для систем автоматизированного тестирования.
|
|
69
|
-
* Для контента используется модификатор -text_content, для value ячейки -text_value
|
|
70
|
-
*/
|
|
71
|
-
dataTestId?: string;
|
|
72
|
-
};
|
|
73
|
-
declare const Text: React.FC<Props$1>;
|
|
74
|
-
export { Main, Content, Text };
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
var tslib = require('tslib');
|
|
2
|
-
var React = require('react');
|
|
3
|
-
var mergeRefs = require('react-merge-refs');
|
|
4
|
-
var cn = require('classnames');
|
|
5
|
-
var coreComponentsComment = require('../comment');
|
|
6
|
-
var hooks = require('@alfalab/hooks');
|
|
7
|
-
var components_addon_component = require('./components/addon/component.js');
|
|
8
|
-
var components_amount_component = require('./components/amount/component.js');
|
|
9
|
-
var components_amountTitle_component = require('./components/amount-title/component.js');
|
|
10
|
-
var components_category_component = require('./components/category/component.js');
|
|
11
|
-
var coreComponentsShared = require('../shared');
|
|
12
|
-
var components_footer_component = require('./components/footer/component.js');
|
|
13
|
-
var components_footerButton_component = require('./components/footer-button/component.js');
|
|
14
|
-
var components_footerText_component = require('./components/footer-text/component.js');
|
|
15
|
-
var components_graphics_component = require('./components/graphics/component.js');
|
|
16
|
-
var coreComponentsTypography = require('../typography');
|
|
17
|
-
|
|
18
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
19
|
-
|
|
20
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
21
|
-
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
22
|
-
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
23
|
-
|
|
24
|
-
var styles$3 = {"component":"pure-cell__component_3m4d1","horizontal":"pure-cell__horizontal_3m4d1"};
|
|
25
|
-
require('./components/content/index.css');
|
|
26
|
-
|
|
27
|
-
var Content = function (_a) {
|
|
28
|
-
var _b;
|
|
29
|
-
var children = _a.children, dataTestId = _a.dataTestId;
|
|
30
|
-
var direction = React.useContext(PureCellContext).direction;
|
|
31
|
-
return (React__default.default.createElement("section", { className: cn__default.default(styles$3.component, (_b = {}, _b[styles$3.horizontal] = direction === 'horizontal', _b)), "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'content') }, children));
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
var styles$2 = {"component":"pure-cell__component_2wu4y","vertical":"pure-cell__vertical_2wu4y","reverse":"pure-cell__reverse_2wu4y"};
|
|
35
|
-
require('./components/main/index.css');
|
|
36
|
-
|
|
37
|
-
var Main = function (_a) {
|
|
38
|
-
var _b;
|
|
39
|
-
var children = _a.children, isReverse = _a.isReverse, className = _a.className, dataTestId = _a.dataTestId;
|
|
40
|
-
var _c = React.useContext(PureCellContext).direction, direction = _c === void 0 ? 'horizontal' : _c;
|
|
41
|
-
return (React__default.default.createElement("div", { className: cn__default.default(styles$2.component, styles$2[direction], (_b = {},
|
|
42
|
-
_b[styles$2.reverse] = isReverse,
|
|
43
|
-
_b), className), "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'main') }, children));
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
var styles$1 = {"horizontal":"pure-cell__horizontal_10ste","rowLimit1":"pure-cell__rowLimit1_10ste","rowLimit2":"pure-cell__rowLimit2_10ste","component":"pure-cell__component_10ste","vertical":"pure-cell__vertical_10ste","title":"pure-cell__title_10ste","value":"pure-cell__value_10ste"};
|
|
47
|
-
require('./components/text/index.css');
|
|
48
|
-
|
|
49
|
-
var Text = function (_a) {
|
|
50
|
-
var _b;
|
|
51
|
-
var children = _a.children, value = _a.value, rowLimit = _a.rowLimit, _c = _a.view, view = _c === void 0 ? 'component-primary' : _c, titleWeight = _a.titleWeight, titleColor = _a.titleColor, valueColor = _a.valueColor, dataTestId = _a.dataTestId;
|
|
52
|
-
var _d = React.useContext(PureCellContext).direction, direction = _d === void 0 ? 'horizontal' : _d;
|
|
53
|
-
var className = rowLimit && styles$1["rowLimit".concat(rowLimit)];
|
|
54
|
-
return (React__default.default.createElement("div", { className: cn__default.default(styles$1.component, (_b = {},
|
|
55
|
-
_b[styles$1.vertical] = direction !== 'horizontal',
|
|
56
|
-
_b)) },
|
|
57
|
-
React__default.default.createElement("div", { className: styles$1.title },
|
|
58
|
-
React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: view, weight: titleWeight, tag: 'div', color: titleColor, className: className, "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'text_content') }, children)),
|
|
59
|
-
value && (React__default.default.createElement("div", { className: styles$1.value },
|
|
60
|
-
React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: view, tag: 'div', color: valueColor, className: className, "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'text_value') }, value)))));
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
var styles = {"component":"pure-cell__component_1q7ju","horizontal":"pure-cell__horizontal_1q7ju","vertical":"pure-cell__vertical_1q7ju","button":"pure-cell__button_1q7ju","link":"pure-cell__link_1q7ju","none":"pure-cell__none_1q7ju","airy":"pure-cell__airy_1q7ju","defaultPadding":"pure-cell__defaultPadding_1q7ju","compact":"pure-cell__compact_1q7ju","tiny":"pure-cell__tiny_1q7ju","left":"pure-cell__left_1q7ju","right":"pure-cell__right_1q7ju","both":"pure-cell__both_1q7ju","focused":"pure-cell__focused_1q7ju"};
|
|
64
|
-
require('./index.css');
|
|
65
|
-
|
|
66
|
-
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
67
|
-
var PureCellContext = React__default.default.createContext({});
|
|
68
|
-
var PureCellComponent = React.forwardRef(function (_a, ref) {
|
|
69
|
-
var _b, _c;
|
|
70
|
-
var className = _a.className, dataTestId = _a.dataTestId, onClick = _a.onClick, href = _a.href, _d = _a.tag, Component = _d === void 0 ? (href && 'a') || (onClick && 'button') || 'section' : _d, children = _a.children, _e = _a.horizontalPadding, horizontalPadding = _e === void 0 ? 'none' : _e, _f = _a.verticalPadding, verticalPadding = _f === void 0 ? 'none' : _f, _g = _a.direction, direction = _g === void 0 ? 'horizontal' : _g, restProps = tslib.__rest(_a, ["className", "dataTestId", "onClick", "href", "tag", "children", "horizontalPadding", "verticalPadding", "direction"]);
|
|
71
|
-
var cellRef = React.useRef(null);
|
|
72
|
-
var focused = hooks.useFocus(cellRef, 'keyboard')[0];
|
|
73
|
-
var addClasses = (_b = {},
|
|
74
|
-
_b[styles.component] = true,
|
|
75
|
-
_b[styles.focused] = focused,
|
|
76
|
-
_b[styles[direction]] = true,
|
|
77
|
-
_b[styles.defaultPadding] = verticalPadding === 'default',
|
|
78
|
-
_b[styles[verticalPadding]] = verticalPadding !== 'default',
|
|
79
|
-
_b[styles[horizontalPadding]] = true,
|
|
80
|
-
_b);
|
|
81
|
-
if (href) {
|
|
82
|
-
var target = restProps.target;
|
|
83
|
-
// Для совместимости с react-router-dom, меняем href на to
|
|
84
|
-
var hrefProps = (_c = {}, _c[typeof Component === 'string' ? 'href' : 'to'] = href, _c);
|
|
85
|
-
return (React__default.default.createElement(Component, tslib.__assign({ rel: target === '_blank' ? 'noreferrer noopener' : undefined }, restProps, hrefProps, { ref: mergeRefs__default.default([cellRef, ref]), className: cn__default.default(styles.link, addClasses, className), "data-test-id": dataTestId, onClick: onClick }),
|
|
86
|
-
React__default.default.createElement(PureCellContext.Provider, { value: { direction: direction } }, children)));
|
|
87
|
-
}
|
|
88
|
-
if (onClick) {
|
|
89
|
-
return (React__default.default.createElement(Component, tslib.__assign({}, restProps, { ref: mergeRefs__default.default([cellRef, ref]), className: cn__default.default(styles.button, addClasses, className), "data-test-id": dataTestId, onClick: onClick }),
|
|
90
|
-
React__default.default.createElement(PureCellContext.Provider, { value: { direction: direction } }, children)));
|
|
91
|
-
}
|
|
92
|
-
return (React__default.default.createElement(Component, tslib.__assign({}, restProps, { ref: ref, tabIndex: 0, className: cn__default.default(addClasses, className), "data-test-id": dataTestId }),
|
|
93
|
-
React__default.default.createElement(PureCellContext.Provider, { value: { direction: direction } }, children)));
|
|
94
|
-
});
|
|
95
|
-
/**
|
|
96
|
-
* Универсальный конструктор для сборки любой ячейки.
|
|
97
|
-
*
|
|
98
|
-
* [Макет](https://www.figma.com/file/KlFOLLkKO8rtvvQE3RXuhq/Click-Library?node-id=43525%3A240018)
|
|
99
|
-
*/
|
|
100
|
-
var PureCell = Object.assign(PureCellComponent, {
|
|
101
|
-
Main: Main,
|
|
102
|
-
Graphics: components_graphics_component.Graphics,
|
|
103
|
-
Content: Content,
|
|
104
|
-
Text: Text,
|
|
105
|
-
Amount: components_amount_component.Amount,
|
|
106
|
-
AmountTitle: components_amountTitle_component.AmountTitle,
|
|
107
|
-
Addon: components_addon_component.Addon,
|
|
108
|
-
Footer: components_footer_component.Footer,
|
|
109
|
-
ExtraSubtitle: components_footerText_component.FooterText,
|
|
110
|
-
FooterButton: components_footerButton_component.FooterButton,
|
|
111
|
-
Comment: coreComponentsComment.Comment,
|
|
112
|
-
Category: components_category_component.Category,
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
exports.Content = Content;
|
|
116
|
-
exports.Main = Main;
|
|
117
|
-
exports.PureCell = PureCell;
|
|
118
|
-
exports.PureCellContext = PureCellContext;
|
|
119
|
-
exports.Text = Text;
|