@alfalab/core-components 47.3.0-beta.1 → 47.4.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/bottom-sheet/component.js +15 -8
- package/bottom-sheet/cssm/component.js +15 -8
- package/bottom-sheet/cssm/hooks/index.d.ts +1 -0
- package/bottom-sheet/cssm/hooks/index.js +7 -0
- package/bottom-sheet/cssm/hooks/use-visualviewport-size.d.ts +3 -0
- package/bottom-sheet/cssm/hooks/use-visualviewport-size.js +34 -0
- package/bottom-sheet/cssm/types.d.ts +4 -0
- package/bottom-sheet/esm/component.js +15 -8
- package/bottom-sheet/esm/hooks/index.d.ts +1 -0
- package/bottom-sheet/esm/hooks/index.js +3 -0
- package/bottom-sheet/esm/hooks/use-visualviewport-size.d.ts +3 -0
- package/bottom-sheet/esm/hooks/use-visualviewport-size.js +32 -0
- package/bottom-sheet/esm/index.js +1 -0
- package/bottom-sheet/esm/types.d.ts +4 -0
- package/bottom-sheet/hooks/index.d.ts +1 -0
- package/bottom-sheet/hooks/index.js +7 -0
- package/bottom-sheet/hooks/use-visualviewport-size.d.ts +3 -0
- package/bottom-sheet/hooks/use-visualviewport-size.js +34 -0
- package/bottom-sheet/modern/component.js +10 -4
- package/bottom-sheet/modern/hooks/index.d.ts +1 -0
- package/bottom-sheet/modern/hooks/index.js +3 -0
- package/bottom-sheet/modern/hooks/use-visualviewport-size.d.ts +3 -0
- package/bottom-sheet/modern/hooks/use-visualviewport-size.js +27 -0
- package/bottom-sheet/modern/index.js +1 -0
- package/bottom-sheet/modern/types.d.ts +4 -0
- package/bottom-sheet/types.d.ts +4 -0
- package/calendar/Component.responsive.d.ts +8 -0
- package/calendar/Component.responsive.js +2 -2
- package/calendar/cssm/Component.responsive.d.ts +8 -0
- package/calendar/cssm/Component.responsive.js +2 -2
- package/calendar/esm/Component.responsive.d.ts +8 -0
- package/calendar/esm/Component.responsive.js +2 -2
- package/calendar/modern/Component.responsive.d.ts +8 -0
- package/calendar/modern/Component.responsive.js +2 -2
- package/checkbox-group/Component.responsive.d.ts +4 -0
- package/checkbox-group/Component.responsive.js +2 -2
- package/checkbox-group/cssm/Component.responsive.d.ts +4 -0
- package/checkbox-group/cssm/Component.responsive.js +2 -2
- package/checkbox-group/esm/Component.responsive.d.ts +4 -0
- package/checkbox-group/esm/Component.responsive.js +2 -2
- package/checkbox-group/modern/Component.responsive.d.ts +4 -0
- package/checkbox-group/modern/Component.responsive.js +2 -2
- package/code-input/Component.responsive.d.ts +8 -0
- package/code-input/Component.responsive.js +2 -2
- package/code-input/cssm/Component.responsive.d.ts +8 -0
- package/code-input/cssm/Component.responsive.js +2 -2
- package/code-input/esm/Component.responsive.d.ts +8 -0
- package/code-input/esm/Component.responsive.js +2 -2
- package/code-input/modern/Component.responsive.d.ts +8 -0
- package/code-input/modern/Component.responsive.js +2 -2
- package/confirmation/component.responsive.d.ts +4 -0
- package/confirmation/component.responsive.js +2 -2
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/cssm/component.responsive.d.ts +4 -0
- package/confirmation/cssm/component.responsive.js +2 -2
- package/confirmation/esm/component.responsive.d.ts +4 -0
- package/confirmation/esm/component.responsive.js +3 -3
- 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.d.ts +4 -0
- package/confirmation/modern/component.responsive.js +3 -3
- 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/custom-picker-button/Component.responsive.d.ts +8 -0
- package/custom-picker-button/Component.responsive.js +2 -2
- package/custom-picker-button/cssm/Component.responsive.d.ts +8 -0
- package/custom-picker-button/cssm/Component.responsive.js +2 -2
- package/custom-picker-button/esm/Component.responsive.d.ts +8 -0
- package/custom-picker-button/esm/Component.responsive.js +2 -2
- package/custom-picker-button/modern/Component.responsive.d.ts +8 -0
- package/custom-picker-button/modern/Component.responsive.js +2 -2
- package/filter-tag/Component.responsive.d.ts +8 -0
- package/filter-tag/Component.responsive.js +2 -2
- package/filter-tag/cssm/Component.responsive.d.ts +8 -0
- package/filter-tag/cssm/Component.responsive.js +2 -2
- package/filter-tag/esm/Component.responsive.d.ts +8 -0
- package/filter-tag/esm/Component.responsive.js +2 -2
- package/filter-tag/modern/Component.responsive.d.ts +8 -0
- package/filter-tag/modern/Component.responsive.js +2 -2
- package/gallery/components/header/Component.js +1 -1
- package/gallery/components/header/buttons.js +1 -1
- package/gallery/components/image-viewer/component.js +1 -1
- package/gallery/components/image-viewer/slide.js +1 -1
- package/gallery/esm/Component.js +2 -2
- package/gallery/esm/components/header/Component.js +1 -1
- package/gallery/esm/components/header/buttons.js +1 -1
- package/gallery/esm/components/header/index.js +1 -1
- package/gallery/esm/components/image-preview/Component.js +1 -1
- package/gallery/esm/components/image-preview/index.js +1 -1
- package/gallery/esm/components/image-viewer/component.js +1 -1
- package/gallery/esm/components/image-viewer/index.js +1 -1
- package/gallery/esm/components/image-viewer/slide.js +1 -1
- package/gallery/esm/components/index.js +2 -2
- package/gallery/esm/components/navigation-bar/Component.js +1 -1
- package/gallery/esm/components/navigation-bar/index.js +1 -1
- package/gallery/esm/index.js +2 -2
- package/gallery/modern/Component.js +2 -2
- package/gallery/modern/components/header/Component.js +1 -1
- package/gallery/modern/components/header/buttons.js +1 -1
- package/gallery/modern/components/header/index.js +1 -1
- package/gallery/modern/components/image-preview/Component.js +1 -1
- package/gallery/modern/components/image-preview/index.js +1 -1
- package/gallery/modern/components/image-viewer/component.js +1 -1
- package/gallery/modern/components/image-viewer/index.js +1 -1
- package/gallery/modern/components/image-viewer/slide.js +1 -1
- package/gallery/modern/components/index.js +2 -2
- package/gallery/modern/components/navigation-bar/Component.js +1 -1
- package/gallery/modern/components/navigation-bar/index.js +1 -1
- package/gallery/modern/index.js +2 -2
- package/international-phone-input/cssm/typings-9d430401.d.ts +12 -1
- package/international-phone-input/esm/typings-9d430401.d.ts +12 -1
- package/international-phone-input/modern/typings-9d430401.d.ts +12 -1
- package/international-phone-input/typings-9d430401.d.ts +12 -1
- 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/mq/Component.d.ts +4 -0
- package/mq/Component.js +2 -2
- package/mq/cssm/Component.d.ts +4 -0
- package/mq/cssm/Component.js +2 -2
- package/mq/esm/Component.d.ts +4 -0
- package/mq/esm/Component.js +2 -2
- package/mq/modern/Component.d.ts +4 -0
- package/mq/modern/Component.js +2 -2
- package/package.json +1 -1
- package/pass-code/Component.d.ts +4 -0
- package/pass-code/Component.responsive.js +2 -2
- package/pass-code/cssm/Component.d.ts +4 -0
- package/pass-code/cssm/Component.responsive.js +2 -2
- package/pass-code/esm/Component.d.ts +4 -0
- package/pass-code/esm/Component.responsive.js +2 -2
- package/pass-code/modern/Component.d.ts +4 -0
- package/pass-code/modern/Component.responsive.js +2 -2
- package/pattern-lock/Component.responsive.js +2 -2
- package/pattern-lock/cssm/Component.responsive.js +2 -2
- package/pattern-lock/cssm/typings.d.ts +4 -0
- package/pattern-lock/esm/Component.responsive.js +2 -2
- package/pattern-lock/esm/typings.d.ts +4 -0
- package/pattern-lock/modern/Component.responsive.js +2 -2
- package/pattern-lock/modern/typings.d.ts +4 -0
- package/pattern-lock/typings.d.ts +4 -0
- package/picker-button/cssm/index-3109f463.d.ts +4 -0
- package/picker-button/cssm/typings-9d430401.d.ts +5 -0
- package/picker-button/cssm/use-visualviewport-size-2f466837.d.ts +3 -0
- package/picker-button/esm/index-3109f463.d.ts +4 -0
- package/picker-button/esm/typings-9d430401.d.ts +5 -0
- package/picker-button/esm/use-visualviewport-size-2f466837.d.ts +3 -0
- package/picker-button/index-3109f463.d.ts +4 -0
- package/picker-button/modern/index-3109f463.d.ts +4 -0
- package/picker-button/modern/typings-9d430401.d.ts +5 -0
- package/picker-button/modern/use-visualviewport-size-2f466837.d.ts +3 -0
- package/picker-button/typings-9d430401.d.ts +5 -0
- package/picker-button/use-visualviewport-size-2f466837.d.ts +3 -0
- package/plate/Component.responsive.d.ts +8 -0
- package/plate/Component.responsive.js +2 -2
- package/plate/cssm/Component.responsive.d.ts +8 -0
- package/plate/cssm/Component.responsive.js +2 -2
- package/plate/esm/Component.responsive.d.ts +8 -0
- package/plate/esm/Component.responsive.js +2 -2
- package/plate/modern/Component.responsive.d.ts +8 -0
- package/plate/modern/Component.responsive.js +2 -2
- 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/radio-group/Component.responsive.d.ts +8 -0
- package/radio-group/Component.responsive.js +2 -2
- package/radio-group/cssm/Component.responsive.d.ts +8 -0
- package/radio-group/cssm/Component.responsive.js +2 -2
- package/radio-group/esm/Component.responsive.d.ts +8 -0
- package/radio-group/esm/Component.responsive.js +2 -2
- package/radio-group/modern/Component.responsive.d.ts +8 -0
- package/radio-group/modern/Component.responsive.js +2 -2
- package/select/esm/Component.responsive.js +1 -1
- 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 +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 +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- 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 +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 +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/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/tag/Component.responsive.d.ts +8 -0
- package/tag/Component.responsive.js +2 -2
- package/tag/cssm/Component.responsive.d.ts +8 -0
- package/tag/cssm/Component.responsive.js +2 -2
- package/tag/esm/Component.responsive.d.ts +8 -0
- package/tag/esm/Component.responsive.js +2 -2
- package/tag/modern/Component.responsive.d.ts +8 -0
- package/tag/modern/Component.responsive.js +2 -2
- package/themes/compiled/mobile-dark-bluetint.css +14 -14
- package/toast/Component.responsive.d.ts +2 -0
- package/toast/Component.responsive.js +2 -2
- package/toast/components/base-toast/component.d.ts +2 -0
- package/toast/cssm/Component.responsive.d.ts +2 -0
- package/toast/cssm/Component.responsive.js +2 -2
- package/toast/cssm/components/base-toast/component.d.ts +2 -0
- package/toast/esm/Component.responsive.d.ts +2 -0
- package/toast/esm/Component.responsive.js +2 -2
- package/toast/esm/components/base-toast/component.d.ts +2 -0
- package/toast/modern/Component.responsive.d.ts +2 -0
- package/toast/modern/Component.responsive.js +2 -2
- package/toast/modern/components/base-toast/component.d.ts +2 -0
- package/toast-plate/Component.responsive.d.ts +8 -0
- package/toast-plate/Component.responsive.js +2 -2
- package/toast-plate/cssm/Component.responsive.d.ts +8 -0
- package/toast-plate/cssm/Component.responsive.js +2 -2
- package/toast-plate/esm/Component.responsive.d.ts +8 -0
- package/toast-plate/esm/Component.responsive.js +2 -2
- package/toast-plate/modern/Component.responsive.d.ts +8 -0
- package/toast-plate/modern/Component.responsive.js +2 -2
- package/typography/{common.module-ab0dd105.js → common.module-6c15aeb4.js} +1 -1
- package/typography/cssm/title/common.module.css +0 -26
- package/typography/cssm/title/component.d.ts +8 -0
- package/typography/cssm/title/index.d.ts +1 -0
- package/typography/cssm/title/index.module.css +16 -0
- package/typography/cssm/title-mobile/component.d.ts +1 -0
- package/typography/cssm/title-responsive/component.d.ts +1 -0
- package/typography/cssm/title-responsive/component.js +2 -1
- package/typography/esm/{common.module-f74d848f.js → common.module-1d64d5c0.js} +1 -1
- 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/common.css +0 -26
- package/typography/esm/title/component.d.ts +8 -0
- package/typography/esm/title/component.js +1 -1
- package/typography/esm/title/index.css +16 -0
- package/typography/esm/title/index.d.ts +1 -0
- package/typography/esm/title/index.js +3 -3
- package/typography/esm/title-mobile/component.d.ts +1 -0
- package/typography/esm/title-mobile/component.js +2 -2
- package/typography/esm/title-mobile/index.js +2 -2
- package/typography/esm/title-responsive/component.d.ts +1 -0
- package/typography/esm/title-responsive/component.js +4 -3
- package/typography/esm/title-responsive/index.js +2 -2
- package/typography/modern/{common.module-b7b7d261.js → common.module-ffb1e96a.js} +1 -1
- 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/common.css +0 -26
- package/typography/modern/title/component.d.ts +8 -0
- package/typography/modern/title/component.js +1 -1
- package/typography/modern/title/index.css +16 -0
- package/typography/modern/title/index.d.ts +1 -0
- package/typography/modern/title/index.js +3 -3
- package/typography/modern/title-mobile/component.d.ts +1 -0
- package/typography/modern/title-mobile/component.js +2 -2
- package/typography/modern/title-mobile/index.js +2 -2
- package/typography/modern/title-responsive/component.d.ts +1 -0
- package/typography/modern/title-responsive/component.js +4 -3
- package/typography/modern/title-responsive/index.js +2 -2
- package/typography/text/component.js +1 -1
- package/typography/title/common.css +0 -26
- package/typography/title/component.d.ts +8 -0
- package/typography/title/component.js +1 -1
- package/typography/title/index.css +16 -0
- package/typography/title/index.d.ts +1 -0
- package/typography/title/index.js +2 -2
- package/typography/title-mobile/component.d.ts +1 -0
- package/typography/title-mobile/component.js +1 -1
- package/typography/title-responsive/component.d.ts +1 -0
- package/typography/title-responsive/component.js +3 -2
- package/universal-date-input/cssm/index-5712fce2.d.ts +10 -0
- package/universal-date-input/esm/index-5712fce2.d.ts +10 -0
- package/universal-date-input/index-5712fce2.d.ts +10 -0
- package/universal-date-input/modern/index-5712fce2.d.ts +10 -0
- /package/confirmation/{countdown-section-b97a2d28.d.ts → countdown-section-917473e6.d.ts} +0 -0
- /package/confirmation/{countdown-section-b97a2d28.js → countdown-section-917473e6.js} +0 -0
- /package/confirmation/esm/{countdown-section-a223c6f2.d.ts → countdown-section-53c5fb8d.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-a223c6f2.js → countdown-section-53c5fb8d.js} +0 -0
- /package/confirmation/modern/{countdown-section-20854026.d.ts → countdown-section-2725d6e5.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-20854026.js → countdown-section-2725d6e5.js} +0 -0
- /package/gallery/{buttons-7955bca1.d.ts → buttons-64a44de7.d.ts} +0 -0
- /package/gallery/{buttons-7955bca1.js → buttons-64a44de7.js} +0 -0
- /package/gallery/esm/{buttons-0b33a243.d.ts → buttons-4eef5624.d.ts} +0 -0
- /package/gallery/esm/{buttons-0b33a243.js → buttons-4eef5624.js} +0 -0
- /package/gallery/esm/{slide-68044235.d.ts → slide-6d0129b7.d.ts} +0 -0
- /package/gallery/esm/{slide-68044235.js → slide-6d0129b7.js} +0 -0
- /package/gallery/modern/{buttons-1c387519.d.ts → buttons-7a4ddbee.d.ts} +0 -0
- /package/gallery/modern/{buttons-1c387519.js → buttons-7a4ddbee.js} +0 -0
- /package/gallery/modern/{slide-8fac1571.d.ts → slide-52809b99.d.ts} +0 -0
- /package/gallery/modern/{slide-8fac1571.js → slide-52809b99.js} +0 -0
- /package/gallery/{slide-b26ac03f.d.ts → slide-3026dd71.d.ts} +0 -0
- /package/gallery/{slide-b26ac03f.js → slide-3026dd71.js} +0 -0
- /package/modal/esm/{layout.module-f16fb568.js → layout.module-32e142e5.js} +0 -0
- /package/modal/{layout.module-d3c8a7ae.js → layout.module-ffd15064.js} +0 -0
- /package/modal/modern/{layout.module-b59dbcd8.js → layout.module-28cafdef.js} +0 -0
- /package/pure-cell/{component-c686ab41.d.ts → component-788aa04c.d.ts} +0 -0
- /package/pure-cell/{component-c686ab41.js → component-788aa04c.js} +0 -0
- /package/pure-cell/esm/{component-80f281aa.d.ts → component-6616d607.d.ts} +0 -0
- /package/pure-cell/esm/{component-80f281aa.js → component-6616d607.js} +0 -0
- /package/pure-cell/modern/{component-e50c0ab1.d.ts → component-eef62409.d.ts} +0 -0
- /package/pure-cell/modern/{component-e50c0ab1.js → component-eef62409.js} +0 -0
- /package/select/esm/{hook-3cc12a62.d.ts → hook-86063cab.d.ts} +0 -0
- /package/select/esm/{hook-3cc12a62.js → hook-86063cab.js} +0 -0
- /package/select/{hook-98585197.d.ts → hook-777449d0.d.ts} +0 -0
- /package/select/{hook-98585197.js → hook-777449d0.js} +0 -0
- /package/select/modern/{hook-ce6666bb.d.ts → hook-1c546c40.d.ts} +0 -0
- /package/select/modern/{hook-ce6666bb.js → hook-1c546c40.js} +0 -0
- /package/side-panel/esm/{layout.module-f3177b22.js → layout.module-857fee63.js} +0 -0
- /package/side-panel/{layout.module-89adb1fa.js → layout.module-75ce8984.js} +0 -0
- /package/side-panel/modern/{layout.module-c526db33.js → layout.module-3bd34d8b.js} +0 -0
- /package/typography/{colors.module-559b734f.js → colors.module-0c7366a2.js} +0 -0
- /package/typography/esm/{colors.module-8f3b9ff3.js → colors.module-96fcf062.js} +0 -0
- /package/typography/modern/{colors.module-39885a9b.js → colors.module-68086c1d.js} +0 -0
|
@@ -70,8 +70,8 @@ import 'date-fns/startOfQuarter';
|
|
|
70
70
|
import './components/years-table/Component.js';
|
|
71
71
|
import 'date-fns/isThisYear';
|
|
72
72
|
|
|
73
|
-
const CalendarResponsive = forwardRef(({ breakpoint = 1024, ...restProps }, ref) => {
|
|
74
|
-
const [isDesktop] = useMatchMedia(`(min-width: ${breakpoint}px)
|
|
73
|
+
const CalendarResponsive = forwardRef(({ breakpoint = 1024, defaultMatchMediaValue, ...restProps }, ref) => {
|
|
74
|
+
const [isDesktop] = useMatchMedia(`(min-width: ${breakpoint}px)`, defaultMatchMediaValue);
|
|
75
75
|
return isDesktop ? (React.createElement(CalendarDesktop, { ...restProps, ref: ref })) : (React.createElement(CalendarMobile, { ...restProps, ref: ref }));
|
|
76
76
|
});
|
|
77
77
|
CalendarResponsive.displayName = 'CalendarResponsive';
|
|
@@ -6,6 +6,10 @@ type CheckboxGroupProps = Omit<BaseCheckboxGroupProps, 'styles'> & {
|
|
|
6
6
|
* @default 1024
|
|
7
7
|
*/
|
|
8
8
|
breakpoint?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
11
|
+
*/
|
|
12
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
9
13
|
};
|
|
10
14
|
declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
11
15
|
export { CheckboxGroupProps, CheckboxGroup };
|
|
@@ -11,9 +11,9 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
|
|
13
13
|
var CheckboxGroup = function (_a) {
|
|
14
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
|
|
14
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
15
15
|
var query = "(min-width: ".concat(breakpoint, "px)");
|
|
16
|
-
var isDesktop = coreComponentsMq.useMatchMedia(query)[0];
|
|
16
|
+
var isDesktop = coreComponentsMq.useMatchMedia(query, defaultMatchMediaValue)[0];
|
|
17
17
|
var Component = isDesktop ? desktop_Component_desktop.CheckboxGroupDesktop : mobile_Component_mobile.CheckboxGroupMobile;
|
|
18
18
|
return React__default.default.createElement(Component, tslib.__assign({}, restProps));
|
|
19
19
|
};
|
|
@@ -6,6 +6,10 @@ type CheckboxGroupProps = Omit<BaseCheckboxGroupProps, 'styles'> & {
|
|
|
6
6
|
* @default 1024
|
|
7
7
|
*/
|
|
8
8
|
breakpoint?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
11
|
+
*/
|
|
12
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
9
13
|
};
|
|
10
14
|
declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
11
15
|
export { CheckboxGroupProps, CheckboxGroup };
|
|
@@ -11,9 +11,9 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
|
|
13
13
|
var CheckboxGroup = function (_a) {
|
|
14
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
|
|
14
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
15
15
|
var query = "(min-width: ".concat(breakpoint, "px)");
|
|
16
|
-
var isDesktop = coreComponentsMq.useMatchMedia(query)[0];
|
|
16
|
+
var isDesktop = coreComponentsMq.useMatchMedia(query, defaultMatchMediaValue)[0];
|
|
17
17
|
var Component = isDesktop ? desktop_Component_desktop.CheckboxGroupDesktop : mobile_Component_mobile.CheckboxGroupMobile;
|
|
18
18
|
return React__default.default.createElement(Component, tslib.__assign({}, restProps));
|
|
19
19
|
};
|
|
@@ -6,6 +6,10 @@ type CheckboxGroupProps = Omit<BaseCheckboxGroupProps, 'styles'> & {
|
|
|
6
6
|
* @default 1024
|
|
7
7
|
*/
|
|
8
8
|
breakpoint?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
11
|
+
*/
|
|
12
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
9
13
|
};
|
|
10
14
|
declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
11
15
|
export { CheckboxGroupProps, CheckboxGroup };
|
|
@@ -7,9 +7,9 @@ import './components/base-checkbox-group/Component.js';
|
|
|
7
7
|
import 'classnames';
|
|
8
8
|
|
|
9
9
|
var CheckboxGroup = function (_a) {
|
|
10
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = __rest(_a, ["breakpoint"]);
|
|
10
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = __rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
11
11
|
var query = "(min-width: ".concat(breakpoint, "px)");
|
|
12
|
-
var isDesktop = useMatchMedia(query)[0];
|
|
12
|
+
var isDesktop = useMatchMedia(query, defaultMatchMediaValue)[0];
|
|
13
13
|
var Component = isDesktop ? CheckboxGroupDesktop : CheckboxGroupMobile;
|
|
14
14
|
return React.createElement(Component, __assign({}, restProps));
|
|
15
15
|
};
|
|
@@ -6,6 +6,10 @@ type CheckboxGroupProps = Omit<BaseCheckboxGroupProps, 'styles'> & {
|
|
|
6
6
|
* @default 1024
|
|
7
7
|
*/
|
|
8
8
|
breakpoint?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
11
|
+
*/
|
|
12
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
9
13
|
};
|
|
10
14
|
declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
11
15
|
export { CheckboxGroupProps, CheckboxGroup };
|
|
@@ -5,9 +5,9 @@ import { CheckboxGroupMobile } from './mobile/Component.mobile.js';
|
|
|
5
5
|
import './components/base-checkbox-group/Component.js';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
|
|
8
|
-
const CheckboxGroup = ({ breakpoint = 1024, ...restProps }) => {
|
|
8
|
+
const CheckboxGroup = ({ breakpoint = 1024, defaultMatchMediaValue, ...restProps }) => {
|
|
9
9
|
const query = `(min-width: ${breakpoint}px)`;
|
|
10
|
-
const [isDesktop] = useMatchMedia(query);
|
|
10
|
+
const [isDesktop] = useMatchMedia(query, defaultMatchMediaValue);
|
|
11
11
|
const Component = isDesktop ? CheckboxGroupDesktop : CheckboxGroupMobile;
|
|
12
12
|
return React.createElement(Component, { ...restProps });
|
|
13
13
|
};
|
|
@@ -7,6 +7,10 @@ type CodeInputProps = Omit<BaseCodeInputProps, 'stylesInput'> & {
|
|
|
7
7
|
* @default 1024
|
|
8
8
|
*/
|
|
9
9
|
breakpoint?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
12
|
+
*/
|
|
13
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
10
14
|
};
|
|
11
15
|
declare const CodeInput: React.ForwardRefExoticComponent<Omit<BaseCodeInputProps, "stylesInput"> & {
|
|
12
16
|
/**
|
|
@@ -14,5 +18,9 @@ declare const CodeInput: React.ForwardRefExoticComponent<Omit<BaseCodeInputProps
|
|
|
14
18
|
* @default 1024
|
|
15
19
|
*/
|
|
16
20
|
breakpoint?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
23
|
+
*/
|
|
24
|
+
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
17
25
|
} & React.RefAttributes<CustomInputRef>>;
|
|
18
26
|
export { CodeInputProps, CodeInput };
|
|
@@ -11,9 +11,9 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
|
|
13
13
|
var CodeInput = React.forwardRef(function (_a, ref) {
|
|
14
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
|
|
14
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
15
15
|
var query = "(min-width: ".concat(breakpoint, "px)");
|
|
16
|
-
var isDesktop = coreComponentsMq.useMatchMedia(query)[0];
|
|
16
|
+
var isDesktop = coreComponentsMq.useMatchMedia(query, defaultMatchMediaValue)[0];
|
|
17
17
|
var Component = isDesktop ? desktop_Component_desktop.CodeInputDesktop : mobile_Component_mobile.CodeInputMobile;
|
|
18
18
|
return React__default.default.createElement(Component, tslib.__assign({ ref: ref }, restProps));
|
|
19
19
|
});
|
|
@@ -7,6 +7,10 @@ type CodeInputProps = Omit<BaseCodeInputProps, 'stylesInput'> & {
|
|
|
7
7
|
* @default 1024
|
|
8
8
|
*/
|
|
9
9
|
breakpoint?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
12
|
+
*/
|
|
13
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
10
14
|
};
|
|
11
15
|
declare const CodeInput: React.ForwardRefExoticComponent<Omit<BaseCodeInputProps, "stylesInput"> & {
|
|
12
16
|
/**
|
|
@@ -14,5 +18,9 @@ declare const CodeInput: React.ForwardRefExoticComponent<Omit<BaseCodeInputProps
|
|
|
14
18
|
* @default 1024
|
|
15
19
|
*/
|
|
16
20
|
breakpoint?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
23
|
+
*/
|
|
24
|
+
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
17
25
|
} & React.RefAttributes<CustomInputRef>>;
|
|
18
26
|
export { CodeInputProps, CodeInput };
|
|
@@ -11,9 +11,9 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
|
|
13
13
|
var CodeInput = React.forwardRef(function (_a, ref) {
|
|
14
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
|
|
14
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
15
15
|
var query = "(min-width: ".concat(breakpoint, "px)");
|
|
16
|
-
var isDesktop = coreComponentsMq.useMatchMedia(query)[0];
|
|
16
|
+
var isDesktop = coreComponentsMq.useMatchMedia(query, defaultMatchMediaValue)[0];
|
|
17
17
|
var Component = isDesktop ? desktop_Component_desktop.CodeInputDesktop : mobile_Component_mobile.CodeInputMobile;
|
|
18
18
|
return React__default.default.createElement(Component, tslib.__assign({ ref: ref }, restProps));
|
|
19
19
|
});
|
|
@@ -7,6 +7,10 @@ type CodeInputProps = Omit<BaseCodeInputProps, 'stylesInput'> & {
|
|
|
7
7
|
* @default 1024
|
|
8
8
|
*/
|
|
9
9
|
breakpoint?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
12
|
+
*/
|
|
13
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
10
14
|
};
|
|
11
15
|
declare const CodeInput: React.ForwardRefExoticComponent<Omit<BaseCodeInputProps, "stylesInput"> & {
|
|
12
16
|
/**
|
|
@@ -14,5 +18,9 @@ declare const CodeInput: React.ForwardRefExoticComponent<Omit<BaseCodeInputProps
|
|
|
14
18
|
* @default 1024
|
|
15
19
|
*/
|
|
16
20
|
breakpoint?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
23
|
+
*/
|
|
24
|
+
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
17
25
|
} & React.RefAttributes<CustomInputRef>>;
|
|
18
26
|
export { CodeInputProps, CodeInput };
|
|
@@ -8,9 +8,9 @@ import 'classnames';
|
|
|
8
8
|
import './components/input/component.js';
|
|
9
9
|
|
|
10
10
|
var CodeInput = forwardRef(function (_a, ref) {
|
|
11
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = __rest(_a, ["breakpoint"]);
|
|
11
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = __rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
12
12
|
var query = "(min-width: ".concat(breakpoint, "px)");
|
|
13
|
-
var isDesktop = useMatchMedia(query)[0];
|
|
13
|
+
var isDesktop = useMatchMedia(query, defaultMatchMediaValue)[0];
|
|
14
14
|
var Component = isDesktop ? CodeInputDesktop : CodeInputMobile;
|
|
15
15
|
return React.createElement(Component, __assign({ ref: ref }, restProps));
|
|
16
16
|
});
|
|
@@ -7,6 +7,10 @@ type CodeInputProps = Omit<BaseCodeInputProps, 'stylesInput'> & {
|
|
|
7
7
|
* @default 1024
|
|
8
8
|
*/
|
|
9
9
|
breakpoint?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
12
|
+
*/
|
|
13
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
10
14
|
};
|
|
11
15
|
declare const CodeInput: React.ForwardRefExoticComponent<Omit<BaseCodeInputProps, "stylesInput"> & {
|
|
12
16
|
/**
|
|
@@ -14,5 +18,9 @@ declare const CodeInput: React.ForwardRefExoticComponent<Omit<BaseCodeInputProps
|
|
|
14
18
|
* @default 1024
|
|
15
19
|
*/
|
|
16
20
|
breakpoint?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
23
|
+
*/
|
|
24
|
+
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
17
25
|
} & React.RefAttributes<CustomInputRef>>;
|
|
18
26
|
export { CodeInputProps, CodeInput };
|
|
@@ -6,9 +6,9 @@ import './components/base-code-input/component.js';
|
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import './components/input/component.js';
|
|
8
8
|
|
|
9
|
-
const CodeInput = forwardRef(({ breakpoint = 1024, ...restProps }, ref) => {
|
|
9
|
+
const CodeInput = forwardRef(({ breakpoint = 1024, defaultMatchMediaValue, ...restProps }, ref) => {
|
|
10
10
|
const query = `(min-width: ${breakpoint}px)`;
|
|
11
|
-
const [isDesktop] = useMatchMedia(query);
|
|
11
|
+
const [isDesktop] = useMatchMedia(query, defaultMatchMediaValue);
|
|
12
12
|
const Component = isDesktop ? CodeInputDesktop : CodeInputMobile;
|
|
13
13
|
return React.createElement(Component, { ref: ref, ...restProps });
|
|
14
14
|
});
|
|
@@ -6,6 +6,10 @@ type ResponsiveConfirmationProps = Omit<ConfirmationProps, 'confirmationScreens'
|
|
|
6
6
|
* @default 1024
|
|
7
7
|
*/
|
|
8
8
|
breakpoint?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
11
|
+
*/
|
|
12
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
9
13
|
};
|
|
10
14
|
declare const ConfirmationResponsive: FC<ResponsiveConfirmationProps>;
|
|
11
15
|
export { ResponsiveConfirmationProps, ConfirmationResponsive };
|
|
@@ -11,8 +11,8 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
|
|
13
13
|
var ConfirmationResponsive = function (_a) {
|
|
14
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
|
|
15
|
-
var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"),
|
|
14
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, _c = _a.defaultMatchMediaValue, defaultMatchMediaValue = _c === void 0 ? true : _c, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
15
|
+
var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
|
|
16
16
|
return isDesktop ? (React__default.default.createElement(desktop_component_desktop.ConfirmationDesktop, tslib.__assign({}, restProps))) : (React__default.default.createElement(mobile_component_mobile.ConfirmationMobile, tslib.__assign({ breakpoint: breakpoint }, restProps)));
|
|
17
17
|
};
|
|
18
18
|
|
|
@@ -10,7 +10,7 @@ var coreComponentsTypography = require('../../../../typography');
|
|
|
10
10
|
var hooks = require('@alfalab/hooks');
|
|
11
11
|
var context = require('../../../context.js');
|
|
12
12
|
var components_header_component = require('../../header/component.js');
|
|
13
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
13
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-917473e6.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
16
|
|
|
@@ -7,7 +7,7 @@ require('../../../../spinner');
|
|
|
7
7
|
require('../../../../typography');
|
|
8
8
|
require('../../../context.js');
|
|
9
9
|
require('../../../utils.js');
|
|
10
|
-
var components_screens_initial_countdownSection = require('../../../countdown-section-
|
|
10
|
+
var components_screens_initial_countdownSection = require('../../../countdown-section-917473e6.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -6,6 +6,10 @@ type ResponsiveConfirmationProps = Omit<ConfirmationProps, 'confirmationScreens'
|
|
|
6
6
|
* @default 1024
|
|
7
7
|
*/
|
|
8
8
|
breakpoint?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
11
|
+
*/
|
|
12
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
9
13
|
};
|
|
10
14
|
declare const ConfirmationResponsive: FC<ResponsiveConfirmationProps>;
|
|
11
15
|
export { ResponsiveConfirmationProps, ConfirmationResponsive };
|
|
@@ -11,8 +11,8 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
|
|
13
13
|
var ConfirmationResponsive = function (_a) {
|
|
14
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["breakpoint"]);
|
|
15
|
-
var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"),
|
|
14
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, _c = _a.defaultMatchMediaValue, defaultMatchMediaValue = _c === void 0 ? true : _c, restProps = tslib.__rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
15
|
+
var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
|
|
16
16
|
return isDesktop ? (React__default.default.createElement(desktop_component_desktop.ConfirmationDesktop, tslib.__assign({}, restProps))) : (React__default.default.createElement(mobile_component_mobile.ConfirmationMobile, tslib.__assign({ breakpoint: breakpoint }, restProps)));
|
|
17
17
|
};
|
|
18
18
|
|
|
@@ -6,6 +6,10 @@ type ResponsiveConfirmationProps = Omit<ConfirmationProps, 'confirmationScreens'
|
|
|
6
6
|
* @default 1024
|
|
7
7
|
*/
|
|
8
8
|
breakpoint?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
11
|
+
*/
|
|
12
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
9
13
|
};
|
|
10
14
|
declare const ConfirmationResponsive: FC<ResponsiveConfirmationProps>;
|
|
11
15
|
export { ResponsiveConfirmationProps, ConfirmationResponsive };
|
|
@@ -16,7 +16,7 @@ import '../../code-input/esm/mobile';
|
|
|
16
16
|
import '../../link/esm';
|
|
17
17
|
import '../../typography/esm';
|
|
18
18
|
import './components/header/component.js';
|
|
19
|
-
import './countdown-section-
|
|
19
|
+
import './countdown-section-53c5fb8d.js';
|
|
20
20
|
import '../../button/esm';
|
|
21
21
|
import '../../spinner/esm';
|
|
22
22
|
import './components/screens/hint/component.js';
|
|
@@ -25,8 +25,8 @@ import './components/screens/temp-block/component.js';
|
|
|
25
25
|
import './components/countdown-loader/component.js';
|
|
26
26
|
|
|
27
27
|
var ConfirmationResponsive = function (_a) {
|
|
28
|
-
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = __rest(_a, ["breakpoint"]);
|
|
29
|
-
var isDesktop = useMatchMedia("(min-width: ".concat(breakpoint, "px)"),
|
|
28
|
+
var _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, _c = _a.defaultMatchMediaValue, defaultMatchMediaValue = _c === void 0 ? true : _c, restProps = __rest(_a, ["breakpoint", "defaultMatchMediaValue"]);
|
|
29
|
+
var isDesktop = useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
|
|
30
30
|
return isDesktop ? (React.createElement(ConfirmationDesktop, __assign({}, restProps))) : (React.createElement(ConfirmationMobile, __assign({ breakpoint: breakpoint }, restProps)));
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -15,7 +15,7 @@ import '../../../../code-input/esm/mobile';
|
|
|
15
15
|
import '../../../../link/esm';
|
|
16
16
|
import '../../../../typography/esm';
|
|
17
17
|
import '../header/component.js';
|
|
18
|
-
import '../../countdown-section-
|
|
18
|
+
import '../../countdown-section-53c5fb8d.js';
|
|
19
19
|
import '../../../../button/esm';
|
|
20
20
|
import '../../../../spinner/esm';
|
|
21
21
|
import '../countdown-loader/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../../code-input/esm/mobile';
|
|
|
13
13
|
import '../../../../link/esm';
|
|
14
14
|
import '../../../../typography/esm';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-53c5fb8d.js';
|
|
17
17
|
import '../../../../button/esm';
|
|
18
18
|
import '../../../../spinner/esm';
|
|
19
19
|
import '../screens/hint/component.js';
|
|
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
|
|
|
14
14
|
import '../context.js';
|
|
15
15
|
import '../utils.js';
|
|
16
16
|
import './header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-53c5fb8d.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
|
|
|
13
13
|
import '../../context.js';
|
|
14
14
|
import '../../utils.js';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-53c5fb8d.js';
|
|
17
17
|
import '../../../../button/esm';
|
|
18
18
|
import '../../../../spinner/esm';
|
|
19
19
|
import '../countdown-loader/component.js';
|
|
@@ -8,7 +8,7 @@ import { Typography } from '../../../../../typography/esm';
|
|
|
8
8
|
import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
9
9
|
import { ConfirmationContext } from '../../../context.js';
|
|
10
10
|
import { Header } from '../../header/component.js';
|
|
11
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-53c5fb8d.js';
|
|
12
12
|
import '../../../utils.js';
|
|
13
13
|
import '../../../../../button/esm';
|
|
14
14
|
import '../../../../../spinner/esm';
|
|
@@ -4,5 +4,5 @@ import '../../../../../button/esm';
|
|
|
4
4
|
import '../../../../../spinner/esm';
|
|
5
5
|
import '../../../../../typography/esm';
|
|
6
6
|
import '../../../context.js';
|
|
7
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
7
|
+
export { C as CountdownSection } from '../../../countdown-section-53c5fb8d.js';
|
|
8
8
|
import '../../../utils.js';
|
|
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
|
|
|
10
10
|
import '../../../context.js';
|
|
11
11
|
import '../../../utils.js';
|
|
12
12
|
import '../../header/component.js';
|
|
13
|
-
import '../../../countdown-section-
|
|
13
|
+
import '../../../countdown-section-53c5fb8d.js';
|
|
14
14
|
import '../../../../../button/esm';
|
|
15
15
|
import '../../../../../spinner/esm';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/esm/mobile';
|
|
|
13
13
|
import '../../../link/esm';
|
|
14
14
|
import '../../../typography/esm';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-53c5fb8d.js';
|
|
17
17
|
import '../../../button/esm';
|
|
18
18
|
import '../../../spinner/esm';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
|
@@ -14,7 +14,7 @@ import '../../../code-input/esm/mobile';
|
|
|
14
14
|
import '../../../link/esm';
|
|
15
15
|
import '../../../typography/esm';
|
|
16
16
|
import '../components/header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-53c5fb8d.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
20
20
|
import '../components/screens/hint/component.js';
|
|
@@ -16,7 +16,7 @@ import '../../code-input/esm/mobile';
|
|
|
16
16
|
import '../../link/esm';
|
|
17
17
|
import '../../typography/esm';
|
|
18
18
|
import './components/header/component.js';
|
|
19
|
-
import './countdown-section-
|
|
19
|
+
import './countdown-section-53c5fb8d.js';
|
|
20
20
|
import '../../button/esm';
|
|
21
21
|
import '../../spinner/esm';
|
|
22
22
|
import './components/screens/hint/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/esm/mobile';
|
|
|
13
13
|
import '../../../link/esm';
|
|
14
14
|
import '../../../typography/esm';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-53c5fb8d.js';
|
|
17
17
|
import '../../../button/esm';
|
|
18
18
|
import '../../../spinner/esm';
|
|
19
19
|
import '../components/screens/hint/component.js';
|
|
@@ -14,7 +14,7 @@ import '../../../code-input/esm/mobile';
|
|
|
14
14
|
import '../../../link/esm';
|
|
15
15
|
import '../../../typography/esm';
|
|
16
16
|
import '../components/header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-53c5fb8d.js';
|
|
18
18
|
import '../../../button/esm';
|
|
19
19
|
import '../../../spinner/esm';
|
|
20
20
|
import '../components/screens/hint/component.js';
|
|
@@ -15,6 +15,6 @@ import '../../../link/esm';
|
|
|
15
15
|
import '../../../typography/esm';
|
|
16
16
|
import '@alfalab/hooks';
|
|
17
17
|
import '../components/header/component.js';
|
|
18
|
-
import '../countdown-section-
|
|
18
|
+
import '../countdown-section-53c5fb8d.js';
|
|
19
19
|
import '../../../button/esm';
|
|
20
20
|
import '../../../spinner/esm';
|
|
@@ -6,6 +6,10 @@ type ResponsiveConfirmationProps = Omit<ConfirmationProps, 'confirmationScreens'
|
|
|
6
6
|
* @default 1024
|
|
7
7
|
*/
|
|
8
8
|
breakpoint?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Значение по-умолчанию для хука useMatchMedia
|
|
11
|
+
*/
|
|
12
|
+
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
9
13
|
};
|
|
10
14
|
declare const ConfirmationResponsive: FC<ResponsiveConfirmationProps>;
|
|
11
15
|
export { ResponsiveConfirmationProps, ConfirmationResponsive };
|
|
@@ -15,7 +15,7 @@ import '../../code-input/modern/mobile';
|
|
|
15
15
|
import '../../link/modern';
|
|
16
16
|
import '../../typography/modern';
|
|
17
17
|
import './components/header/component.js';
|
|
18
|
-
import './countdown-section-
|
|
18
|
+
import './countdown-section-2725d6e5.js';
|
|
19
19
|
import '../../button/modern';
|
|
20
20
|
import '../../spinner/modern';
|
|
21
21
|
import './components/screens/hint/component.js';
|
|
@@ -23,8 +23,8 @@ import './components/screens/fatal-error/component.js';
|
|
|
23
23
|
import './components/screens/temp-block/component.js';
|
|
24
24
|
import './components/countdown-loader/component.js';
|
|
25
25
|
|
|
26
|
-
const ConfirmationResponsive = ({ breakpoint = 1024, ...restProps }) => {
|
|
27
|
-
const [isDesktop] = useMatchMedia(`(min-width: ${breakpoint}px)`,
|
|
26
|
+
const ConfirmationResponsive = ({ breakpoint = 1024, defaultMatchMediaValue = true, ...restProps }) => {
|
|
27
|
+
const [isDesktop] = useMatchMedia(`(min-width: ${breakpoint}px)`, defaultMatchMediaValue);
|
|
28
28
|
return isDesktop ? (React.createElement(ConfirmationDesktop, { ...restProps })) : (React.createElement(ConfirmationMobile, { breakpoint: breakpoint, ...restProps }));
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -14,7 +14,7 @@ import '../../../../code-input/modern/mobile';
|
|
|
14
14
|
import '../../../../link/modern';
|
|
15
15
|
import '../../../../typography/modern';
|
|
16
16
|
import '../header/component.js';
|
|
17
|
-
import '../../countdown-section-
|
|
17
|
+
import '../../countdown-section-2725d6e5.js';
|
|
18
18
|
import '../../../../button/modern';
|
|
19
19
|
import '../../../../spinner/modern';
|
|
20
20
|
import '../countdown-loader/component.js';
|
|
@@ -12,7 +12,7 @@ import '../../../../code-input/modern/mobile';
|
|
|
12
12
|
import '../../../../link/modern';
|
|
13
13
|
import '../../../../typography/modern';
|
|
14
14
|
import '../header/component.js';
|
|
15
|
-
import '../../countdown-section-
|
|
15
|
+
import '../../countdown-section-2725d6e5.js';
|
|
16
16
|
import '../../../../button/modern';
|
|
17
17
|
import '../../../../spinner/modern';
|
|
18
18
|
import '../screens/hint/component.js';
|
|
@@ -14,6 +14,6 @@ import '@alfalab/hooks';
|
|
|
14
14
|
import '../context.js';
|
|
15
15
|
import '../utils.js';
|
|
16
16
|
import './header/component.js';
|
|
17
|
-
import '../countdown-section-
|
|
17
|
+
import '../countdown-section-2725d6e5.js';
|
|
18
18
|
import '../../../button/modern';
|
|
19
19
|
import '../../../spinner/modern';
|
|
@@ -13,7 +13,7 @@ import '@alfalab/hooks';
|
|
|
13
13
|
import '../../context.js';
|
|
14
14
|
import '../../utils.js';
|
|
15
15
|
import '../header/component.js';
|
|
16
|
-
import '../../countdown-section-
|
|
16
|
+
import '../../countdown-section-2725d6e5.js';
|
|
17
17
|
import '../../../../button/modern';
|
|
18
18
|
import '../../../../spinner/modern';
|
|
19
19
|
import '../countdown-loader/component.js';
|
|
@@ -8,7 +8,7 @@ import { Typography } from '../../../../../typography/modern';
|
|
|
8
8
|
import { usePrevious, useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
|
9
9
|
import { ConfirmationContext } from '../../../context.js';
|
|
10
10
|
import { Header } from '../../header/component.js';
|
|
11
|
-
import { s as styles, C as CountdownSection } from '../../../countdown-section-
|
|
11
|
+
import { s as styles, C as CountdownSection } from '../../../countdown-section-2725d6e5.js';
|
|
12
12
|
import '../../../utils.js';
|
|
13
13
|
import '../../../../../button/modern';
|
|
14
14
|
import '../../../../../spinner/modern';
|
|
@@ -4,5 +4,5 @@ import '../../../../../button/modern';
|
|
|
4
4
|
import '../../../../../spinner/modern';
|
|
5
5
|
import '../../../../../typography/modern';
|
|
6
6
|
import '../../../context.js';
|
|
7
|
-
export { C as CountdownSection } from '../../../countdown-section-
|
|
7
|
+
export { C as CountdownSection } from '../../../countdown-section-2725d6e5.js';
|
|
8
8
|
import '../../../utils.js';
|
|
@@ -10,6 +10,6 @@ import '@alfalab/hooks';
|
|
|
10
10
|
import '../../../context.js';
|
|
11
11
|
import '../../../utils.js';
|
|
12
12
|
import '../../header/component.js';
|
|
13
|
-
import '../../../countdown-section-
|
|
13
|
+
import '../../../countdown-section-2725d6e5.js';
|
|
14
14
|
import '../../../../../button/modern';
|
|
15
15
|
import '../../../../../spinner/modern';
|
|
@@ -12,7 +12,7 @@ import '../../../code-input/modern/mobile';
|
|
|
12
12
|
import '../../../link/modern';
|
|
13
13
|
import '../../../typography/modern';
|
|
14
14
|
import '../components/header/component.js';
|
|
15
|
-
import '../countdown-section-
|
|
15
|
+
import '../countdown-section-2725d6e5.js';
|
|
16
16
|
import '../../../button/modern';
|
|
17
17
|
import '../../../spinner/modern';
|
|
18
18
|
import '../components/screens/hint/component.js';
|
|
@@ -13,7 +13,7 @@ import '../../../code-input/modern/mobile';
|
|
|
13
13
|
import '../../../link/modern';
|
|
14
14
|
import '../../../typography/modern';
|
|
15
15
|
import '../components/header/component.js';
|
|
16
|
-
import '../countdown-section-
|
|
16
|
+
import '../countdown-section-2725d6e5.js';
|
|
17
17
|
import '../../../button/modern';
|
|
18
18
|
import '../../../spinner/modern';
|
|
19
19
|
import '../components/screens/hint/component.js';
|