@alfalab/core-components 46.0.0-beta.7 → 46.0.0-beta.8
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/amount-input/Component.js +1 -2
- package/amount-input/cssm/Component.js +1 -2
- package/amount-input/esm/Component.js +1 -2
- package/amount-input/esm/index.js +0 -1
- package/amount-input/modern/Component.js +1 -2
- package/amount-input/modern/index.js +0 -1
- package/button/Component.responsive.js +1 -2
- package/button/cssm/Component.responsive.js +1 -2
- package/button/esm/Component.responsive.js +2 -2
- package/button/esm/index.js +1 -1
- package/button/modern/Component.responsive.js +2 -2
- package/button/modern/index.js +1 -1
- package/calendar/Component.responsive.js +1 -2
- package/calendar/cssm/Component.responsive.js +1 -2
- package/calendar/esm/Component.responsive.js +2 -2
- package/calendar/esm/index.js +1 -1
- package/calendar/modern/Component.responsive.js +2 -2
- package/calendar/modern/index.js +1 -1
- package/calendar-input/Component.responsive.js +1 -2
- package/calendar-input/cssm/Component.responsive.js +1 -2
- package/calendar-input/esm/Component.responsive.js +1 -2
- package/calendar-input/esm/index.js +0 -1
- package/calendar-input/modern/Component.responsive.js +1 -2
- package/calendar-input/modern/index.js +0 -1
- package/checkbox-group/Component.responsive.js +1 -2
- package/checkbox-group/cssm/Component.responsive.js +1 -2
- package/checkbox-group/esm/Component.responsive.js +1 -2
- package/checkbox-group/esm/index.js +0 -1
- package/checkbox-group/modern/Component.responsive.js +1 -2
- package/checkbox-group/modern/index.js +0 -1
- package/code-input/Component.responsive.js +1 -2
- package/code-input/cssm/Component.responsive.js +1 -2
- package/code-input/esm/Component.responsive.js +1 -2
- package/code-input/esm/index.js +0 -1
- package/code-input/modern/Component.responsive.js +1 -2
- package/code-input/modern/index.js +0 -1
- package/confirmation/component.responsive.js +1 -2
- package/confirmation/components/base-confirmation/component.js +1 -2
- package/confirmation/cssm/component.responsive.js +1 -2
- package/confirmation/cssm/components/base-confirmation/component.js +1 -2
- package/confirmation/esm/component.responsive.js +1 -2
- package/confirmation/esm/components/base-confirmation/component.js +1 -2
- package/confirmation/esm/components/base-confirmation/index.js +0 -1
- package/confirmation/esm/desktop/component.desktop.js +0 -1
- package/confirmation/esm/desktop/index.js +0 -1
- package/confirmation/esm/index.js +0 -1
- package/confirmation/esm/mobile/component.mobile.js +0 -1
- package/confirmation/esm/mobile/index.js +0 -1
- package/confirmation/modern/component.responsive.js +1 -2
- package/confirmation/modern/components/base-confirmation/component.js +1 -2
- package/confirmation/modern/components/base-confirmation/index.js +0 -1
- package/confirmation/modern/desktop/component.desktop.js +0 -1
- package/confirmation/modern/desktop/index.js +0 -1
- package/confirmation/modern/index.js +0 -1
- package/confirmation/modern/mobile/component.mobile.js +0 -1
- package/confirmation/modern/mobile/index.js +0 -1
- package/custom-picker-button/Component.responsive.js +1 -2
- package/custom-picker-button/cssm/Component.responsive.js +1 -2
- package/custom-picker-button/esm/Component.responsive.js +1 -2
- package/custom-picker-button/esm/index.js +0 -1
- package/custom-picker-button/modern/Component.responsive.js +1 -2
- package/custom-picker-button/modern/index.js +0 -1
- package/date-range-input/Component.responsive.js +1 -2
- package/date-range-input/cssm/Component.responsive.js +1 -2
- package/date-range-input/esm/Component.responsive.js +1 -2
- package/date-range-input/esm/index.js +0 -1
- package/date-range-input/modern/Component.responsive.js +1 -2
- package/date-range-input/modern/index.js +0 -1
- package/date-time-input/Component.responsive.js +1 -2
- package/date-time-input/cssm/Component.responsive.js +1 -2
- package/date-time-input/esm/Component.responsive.js +1 -2
- package/date-time-input/esm/index.js +0 -1
- package/date-time-input/modern/Component.responsive.js +1 -2
- package/date-time-input/modern/index.js +0 -1
- package/filter-tag/Component.responsive.js +1 -2
- package/filter-tag/cssm/Component.responsive.js +1 -2
- package/filter-tag/esm/Component.responsive.js +1 -2
- package/filter-tag/esm/index.js +0 -1
- package/filter-tag/modern/Component.responsive.js +1 -2
- package/filter-tag/modern/index.js +0 -1
- package/form-control/Component.responsive.js +1 -2
- package/form-control/cssm/Component.responsive.js +1 -2
- package/form-control/esm/Component.responsive.js +2 -2
- package/form-control/esm/index.js +1 -1
- package/form-control/modern/Component.responsive.js +2 -2
- package/form-control/modern/index.js +1 -1
- 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/icon-button/Component.d.ts +0 -10
- package/icon-button/Component.js +3 -4
- package/icon-button/cssm/Component.d.ts +0 -10
- package/icon-button/cssm/Component.js +1 -2
- package/icon-button/cssm/default.module.css +3 -35
- package/icon-button/cssm/inverted.module.css +3 -35
- package/icon-button/default.css +3 -35
- package/icon-button/esm/Component.d.ts +0 -10
- package/icon-button/esm/Component.js +3 -4
- package/icon-button/esm/default.css +3 -35
- package/icon-button/esm/inverted.css +3 -35
- package/icon-button/inverted.css +3 -35
- package/icon-button/modern/Component.d.ts +0 -10
- package/icon-button/modern/Component.js +3 -4
- package/icon-button/modern/default.css +3 -35
- package/icon-button/modern/inverted.css +3 -35
- package/input/Component.responsive.js +1 -2
- package/input/cssm/Component.responsive.js +1 -2
- package/input/esm/Component.responsive.js +2 -2
- package/input/esm/index.js +1 -1
- package/input/modern/Component.responsive.js +2 -2
- package/input/modern/index.js +1 -1
- package/input-autocomplete/Component.responsive.js +1 -2
- package/input-autocomplete/cssm/Component.responsive.js +1 -2
- package/input-autocomplete/esm/Component.responsive.js +2 -2
- package/input-autocomplete/esm/index.js +1 -1
- package/input-autocomplete/modern/Component.responsive.js +2 -2
- package/input-autocomplete/modern/index.js +1 -1
- package/international-phone-input/Component.responsive.js +1 -2
- package/international-phone-input/cssm/Component.responsive.js +1 -2
- package/international-phone-input/cssm/typings-1fe708ea.d.ts +0 -6
- package/international-phone-input/esm/Component.responsive.js +2 -2
- package/international-phone-input/esm/index.js +1 -1
- package/international-phone-input/esm/typings-1fe708ea.d.ts +0 -6
- package/international-phone-input/modern/Component.responsive.js +2 -2
- package/international-phone-input/modern/index.js +1 -1
- package/international-phone-input/modern/typings-1fe708ea.d.ts +0 -6
- package/international-phone-input/typings-1fe708ea.d.ts +0 -6
- package/markdown/Component.responsive.js +1 -1
- package/markdown/cssm/Component.responsive.js +1 -1
- package/markdown/esm/Component.responsive.js +2 -2
- package/markdown/modern/Component.responsive.js +2 -2
- package/modal/Component.responsive.js +1 -2
- package/modal/cssm/Component.responsive.js +1 -2
- package/modal/esm/Component.responsive.js +2 -2
- package/modal/esm/index.js +1 -1
- package/modal/modern/Component.responsive.js +2 -2
- package/modal/modern/index.js +1 -1
- package/number-input/Component.responsive.js +1 -2
- package/number-input/cssm/Component.responsive.js +1 -2
- package/number-input/esm/Component.responsive.js +2 -2
- package/number-input/esm/index.js +1 -1
- package/number-input/modern/Component.responsive.js +2 -2
- package/number-input/modern/index.js +1 -1
- package/package.json +3 -1
- package/pattern-lock/Component.responsive.js +1 -2
- package/pattern-lock/cssm/Component.responsive.js +1 -2
- package/pattern-lock/esm/Component.responsive.js +2 -2
- package/pattern-lock/esm/index.js +1 -1
- package/pattern-lock/modern/Component.responsive.js +2 -2
- package/pattern-lock/modern/index.js +1 -1
- package/picker-button/Component-307da6d7.d.ts +168 -0
- package/picker-button/Component.responsive.js +1 -2
- package/picker-button/Context-c2e6f1b2.d.ts +4 -0
- package/picker-button/cssm/Component-307da6d7.d.ts +168 -0
- package/picker-button/cssm/Component.responsive.js +1 -2
- package/picker-button/cssm/Context-c2e6f1b2.d.ts +4 -0
- package/picker-button/cssm/index-064acd29.d.ts +13 -0
- package/picker-button/cssm/index-307da6d7.d.ts +67 -0
- package/picker-button/cssm/mobile/Component.mobile.js +1 -2
- package/picker-button/cssm/types-a870d1f8.d.ts +117 -0
- package/picker-button/cssm/typings-1fe708ea.d.ts +10 -415
- package/picker-button/esm/Component-307da6d7.d.ts +168 -0
- package/picker-button/esm/Component.responsive.js +1 -2
- package/picker-button/esm/Context-c2e6f1b2.d.ts +4 -0
- package/picker-button/esm/index-064acd29.d.ts +13 -0
- package/picker-button/esm/index-307da6d7.d.ts +67 -0
- package/picker-button/esm/index.js +0 -1
- package/picker-button/esm/mobile/Component.mobile.js +1 -2
- package/picker-button/esm/mobile/index.js +0 -1
- package/picker-button/esm/types-a870d1f8.d.ts +117 -0
- package/picker-button/esm/typings-1fe708ea.d.ts +10 -415
- package/picker-button/index-064acd29.d.ts +13 -0
- package/picker-button/index-307da6d7.d.ts +67 -0
- package/picker-button/mobile/Component.mobile.js +1 -2
- package/picker-button/modern/Component-307da6d7.d.ts +168 -0
- package/picker-button/modern/Component.responsive.js +1 -2
- package/picker-button/modern/Context-c2e6f1b2.d.ts +4 -0
- package/picker-button/modern/index-064acd29.d.ts +13 -0
- package/picker-button/modern/index-307da6d7.d.ts +67 -0
- package/picker-button/modern/index.js +0 -1
- package/picker-button/modern/mobile/Component.mobile.js +1 -2
- package/picker-button/modern/mobile/index.js +0 -1
- package/picker-button/modern/types-a870d1f8.d.ts +117 -0
- package/picker-button/modern/typings-1fe708ea.d.ts +10 -415
- package/picker-button/types-a870d1f8.d.ts +117 -0
- package/picker-button/typings-1fe708ea.d.ts +10 -415
- package/plate/Component.responsive.js +1 -17
- package/plate/cssm/Component.responsive.js +1 -17
- package/plate/esm/Component.responsive.js +2 -17
- package/plate/esm/index.js +1 -1
- package/plate/modern/Component.responsive.js +2 -18
- package/plate/modern/index.js +1 -1
- package/radio-group/Component.responsive.js +1 -2
- package/radio-group/cssm/Component.responsive.js +1 -2
- package/radio-group/esm/Component.responsive.js +1 -2
- package/radio-group/esm/index.js +0 -1
- package/radio-group/modern/Component.responsive.js +1 -2
- package/radio-group/modern/index.js +0 -1
- package/select/Component.responsive.js +1 -2
- package/select/cssm/Component.responsive.js +1 -2
- package/select/cssm/{hook-aae7b381.js → hook-941ed97f.js} +6 -1
- package/select/{modern/hook-d4f77aed.d.ts → cssm/hook-bdd14a05.d.ts} +5 -2
- package/select/cssm/mobile/Component.mobile.js +1 -1
- package/select/cssm/presets/index.d.ts +1 -1
- package/select/cssm/presets/index.js +1 -1
- package/select/cssm/presets/useSelectWithApply/hook.js +2 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/cssm/shared/index.js +1 -1
- package/select/cssm/typings.d.ts +1 -1
- package/select/esm/Component.responsive.js +4 -3
- package/select/esm/{hook-cdd6fd77.js → hook-b1acbe62.js} +5 -1
- package/select/{hook-d4f77aed.d.ts → esm/hook-bdd14a05.d.ts} +5 -2
- package/select/esm/index.js +3 -2
- package/select/esm/mobile/Component.mobile.js +2 -1
- package/select/esm/mobile/Component.modal.mobile.js +2 -1
- package/select/esm/mobile/index.js +2 -1
- package/select/esm/presets/index.d.ts +1 -1
- package/select/esm/presets/index.js +2 -1
- package/select/esm/presets/useSelectWithApply/hook.js +2 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +2 -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 +2 -1
- package/select/esm/shared/index.js +2 -1
- package/select/esm/typings.d.ts +1 -1
- package/select/{hook-504cecce.js → hook-1e1150ba.js} +6 -1
- package/select/{esm/hook-d4f77aed.d.ts → hook-bdd14a05.d.ts} +5 -2
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +4 -3
- package/select/{cssm/hook-d4f77aed.d.ts → modern/hook-bdd14a05.d.ts} +5 -2
- package/select/modern/{hook-f45c958e.js → hook-c88964f0.js} +5 -1
- package/select/modern/index.js +3 -2
- package/select/modern/mobile/Component.mobile.js +2 -1
- package/select/modern/mobile/Component.modal.mobile.js +2 -1
- package/select/modern/mobile/index.js +2 -1
- package/select/modern/presets/index.d.ts +1 -1
- package/select/modern/presets/index.js +2 -1
- package/select/modern/presets/useSelectWithApply/hook.js +2 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +2 -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 +2 -1
- package/select/modern/shared/index.js +2 -1
- package/select/modern/typings.d.ts +1 -1
- package/select/presets/index.d.ts +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +2 -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/select/typings.d.ts +1 -1
- package/select-with-tags/Component.responsive.js +1 -2
- package/select-with-tags/cssm/Component.responsive.js +1 -2
- package/select-with-tags/esm/Component.responsive.js +1 -2
- package/select-with-tags/esm/index.js +0 -1
- package/select-with-tags/modern/Component.responsive.js +1 -2
- package/select-with-tags/modern/index.js +0 -1
- package/shared/cssm/index.d.ts +0 -1
- package/shared/cssm/index.js +0 -2
- package/shared/esm/index.d.ts +0 -1
- package/shared/esm/index.js +0 -1
- package/shared/index.d.ts +0 -1
- package/shared/index.js +0 -2
- package/shared/modern/index.d.ts +0 -1
- package/shared/modern/index.js +0 -1
- package/side-panel/Component.responsive.js +1 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/cssm/Component.responsive.js +1 -1
- package/side-panel/esm/Component.responsive.js +3 -3
- 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 +3 -3
- 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/status/Component.d.ts +1 -2
- package/status/Component.js +2 -2
- package/status/cssm/Component.d.ts +1 -2
- package/status/cssm/Component.js +1 -1
- package/status/cssm/index.module.css +29 -74
- package/status/esm/Component.d.ts +1 -2
- package/status/esm/Component.js +2 -2
- package/status/esm/index.css +27 -55
- package/status/index.css +27 -55
- package/status/modern/Component.d.ts +1 -2
- package/status/modern/Component.js +2 -2
- package/status/modern/index.css +27 -55
- package/system-message/Components.responsive.js +1 -1
- package/system-message/cssm/Components.responsive.js +1 -1
- package/system-message/esm/Components.responsive.js +2 -2
- package/system-message/modern/Components.responsive.js +2 -2
- package/tabs/components/primary-tablist/Component.collapsible.js +1 -2
- package/tabs/components/primary-tablist/Component.responsive.js +1 -2
- package/tabs/components/secondary-tablist/Component.responsive.js +1 -2
- package/tabs/components/tabs/Component.js +1 -2
- package/tabs/cssm/components/primary-tablist/Component.collapsible.js +1 -2
- package/tabs/cssm/components/primary-tablist/Component.responsive.js +1 -2
- package/tabs/cssm/components/secondary-tablist/Component.responsive.js +1 -2
- package/tabs/cssm/components/tabs/Component.js +1 -2
- package/tabs/esm/collapsible/index.js +1 -1
- package/tabs/esm/components/primary-tablist/Component.collapsible.js +2 -2
- package/tabs/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/esm/components/tabs/Component.collapsible.js +1 -1
- package/tabs/esm/components/tabs/Component.js +1 -2
- package/tabs/esm/components/tabs/Component.responsive.js +1 -1
- package/tabs/esm/index.js +1 -1
- package/tabs/modern/collapsible/index.js +1 -1
- package/tabs/modern/components/primary-tablist/Component.collapsible.js +2 -2
- package/tabs/modern/components/primary-tablist/Component.responsive.js +2 -2
- package/tabs/modern/components/secondary-tablist/Component.responsive.js +2 -2
- package/tabs/modern/components/tabs/Component.collapsible.js +1 -1
- package/tabs/modern/components/tabs/Component.js +1 -2
- package/tabs/modern/components/tabs/Component.responsive.js +1 -1
- package/tabs/modern/index.js +1 -1
- package/tag/Component.responsive.js +1 -2
- package/tag/components/base-tag/Component.d.ts +1 -1
- package/tag/cssm/Component.responsive.js +1 -2
- package/tag/cssm/components/base-tag/Component.d.ts +1 -1
- package/tag/esm/Component.responsive.js +1 -2
- package/tag/esm/components/base-tag/Component.d.ts +1 -1
- package/tag/esm/index.js +0 -1
- package/tag/modern/Component.responsive.js +1 -2
- package/tag/modern/components/base-tag/Component.d.ts +1 -1
- package/tag/modern/index.js +0 -1
- package/themes/compiled/mobile-dark-bluetint.css +51 -72
- package/toast/Component.responsive.js +1 -2
- package/toast/cssm/Component.responsive.js +1 -2
- package/toast/esm/Component.responsive.js +1 -2
- package/toast/esm/index.js +0 -1
- package/toast/modern/Component.responsive.js +1 -2
- package/toast/modern/index.js +0 -1
- package/toast-plate/Component.responsive.js +1 -2
- package/toast-plate/browser-a216f694.d.ts +6 -0
- package/toast-plate/components/base-toast-plate/component.js +4 -3
- package/toast-plate/components/base-toast-plate/hooks/useDeprecatedBadge.js +5 -2
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +5 -3
- package/toast-plate/cssm/Component.responsive.js +1 -2
- package/toast-plate/cssm/browser-a216f694.d.ts +6 -0
- package/toast-plate/cssm/components/base-toast-plate/component.js +4 -3
- package/toast-plate/cssm/components/base-toast-plate/hooks/useDeprecatedBadge.js +5 -2
- package/toast-plate/cssm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +5 -3
- package/toast-plate/cssm/getDataTestId-73ea38f8.d.ts +3 -0
- package/toast-plate/cssm/getDataTestId-73ea38f8.js +6 -0
- package/toast-plate/cssm/index-307da6d7.d.ts +71 -0
- package/toast-plate/cssm/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/toast-plate/esm/Component.responsive.js +3 -2
- package/toast-plate/esm/browser-a216f694.d.ts +6 -0
- package/toast-plate/esm/components/base-toast-plate/component.js +2 -1
- package/toast-plate/esm/components/base-toast-plate/hooks/useDeprecatedBadge.js +4 -1
- package/toast-plate/esm/components/base-toast-plate/index.js +2 -1
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +3 -1
- package/toast-plate/esm/desktop/Component.desktop.js +2 -1
- package/toast-plate/esm/desktop/index.js +2 -1
- package/toast-plate/esm/getDataTestId-32d52205.d.ts +3 -0
- package/toast-plate/esm/getDataTestId-32d52205.js +6 -0
- package/toast-plate/esm/index-307da6d7.d.ts +71 -0
- package/toast-plate/esm/index.js +2 -1
- package/toast-plate/esm/mobile/Component.mobile.js +2 -1
- package/toast-plate/esm/mobile/index.js +2 -1
- package/toast-plate/esm/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/toast-plate/getDataTestId-1de39d74.d.ts +3 -0
- package/toast-plate/getDataTestId-1de39d74.js +6 -0
- package/toast-plate/index-307da6d7.d.ts +71 -0
- package/toast-plate/modern/Component.responsive.js +3 -2
- package/toast-plate/modern/browser-a216f694.d.ts +6 -0
- package/toast-plate/modern/components/base-toast-plate/component.js +2 -1
- package/toast-plate/modern/components/base-toast-plate/hooks/useDeprecatedBadge.js +4 -1
- package/toast-plate/modern/components/base-toast-plate/index.js +2 -1
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +3 -1
- package/toast-plate/modern/desktop/Component.desktop.js +2 -1
- package/toast-plate/modern/desktop/index.js +2 -1
- package/toast-plate/modern/getDataTestId-dd00ab19.d.ts +3 -0
- package/toast-plate/modern/getDataTestId-dd00ab19.js +6 -0
- package/toast-plate/modern/index-307da6d7.d.ts +71 -0
- package/toast-plate/modern/index.js +2 -1
- package/toast-plate/modern/mobile/Component.mobile.js +2 -1
- package/toast-plate/modern/mobile/index.js +2 -1
- package/toast-plate/modern/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/toast-plate/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/tooltip/Component.responsive.js +1 -2
- package/tooltip/cssm/Component.responsive.js +1 -2
- package/tooltip/esm/Component.responsive.js +1 -2
- package/tooltip/esm/index.js +0 -1
- package/tooltip/modern/Component.responsive.js +1 -2
- package/tooltip/modern/index.js +0 -1
- package/universal-date-input/Component.responsive.js +1 -2
- package/universal-date-input/cssm/Component.responsive.js +1 -2
- package/universal-date-input/esm/Component.responsive.js +2 -2
- package/universal-date-input/esm/index.js +1 -1
- package/universal-date-input/modern/Component.responsive.js +2 -2
- package/universal-date-input/modern/index.js +1 -1
- package/amount-input/@alfalab/core-components-shared/package.json +0 -23
- package/calendar-input/@alfalab/core-components-shared/package.json +0 -23
- package/checkbox-group/@alfalab/core-components-shared/package.json +0 -23
- package/code-input/@alfalab/core-components-shared/package.json +0 -23
- package/confirmation/@alfalab/core-components-shared/package.json +0 -23
- package/custom-picker-button/@alfalab/core-components-shared/package.json +0 -23
- package/date-range-input/@alfalab/core-components-shared/package.json +0 -23
- package/date-time-input/@alfalab/core-components-shared/package.json +0 -23
- package/filter-tag/@alfalab/core-components-shared/package.json +0 -23
- package/picker-button/@alfalab/core-components-shared/package.json +0 -23
- package/radio-group/@alfalab/core-components-shared/package.json +0 -23
- package/select-with-tags/@alfalab/core-components-shared/package.json +0 -23
- package/shared/cssm/getComponentBreakpoint/getComponentBreakpoint.d.ts +0 -2
- package/shared/cssm/getComponentBreakpoint/getComponentBreakpoint.js +0 -18
- package/shared/cssm/getComponentBreakpoint/index.d.ts +0 -1
- package/shared/cssm/getComponentBreakpoint/index.js +0 -7
- package/shared/esm/getComponentBreakpoint/getComponentBreakpoint.d.ts +0 -2
- package/shared/esm/getComponentBreakpoint/getComponentBreakpoint.js +0 -16
- package/shared/esm/getComponentBreakpoint/index.d.ts +0 -1
- package/shared/esm/getComponentBreakpoint/index.js +0 -1
- package/shared/getComponentBreakpoint/getComponentBreakpoint.d.ts +0 -2
- package/shared/getComponentBreakpoint/getComponentBreakpoint.js +0 -18
- package/shared/getComponentBreakpoint/index.d.ts +0 -1
- package/shared/getComponentBreakpoint/index.js +0 -7
- package/shared/modern/getComponentBreakpoint/getComponentBreakpoint.d.ts +0 -2
- package/shared/modern/getComponentBreakpoint/getComponentBreakpoint.js +0 -17
- package/shared/modern/getComponentBreakpoint/index.d.ts +0 -1
- package/shared/modern/getComponentBreakpoint/index.js +0 -1
- package/tag/@alfalab/core-components-shared/package.json +0 -23
- package/themes/breakpoints/breakpoint-768.css +0 -3
- package/toast/@alfalab/core-components-shared/package.json +0 -23
- package/toast-plate/@alfalab/core-components-shared/package.json +0 -23
- package/tooltip/@alfalab/core-components-shared/package.json +0 -23
- /package/gallery/{buttons-0e0683d9.d.ts → buttons-c6aed03c.d.ts} +0 -0
- /package/gallery/{buttons-0e0683d9.js → buttons-c6aed03c.js} +0 -0
- /package/gallery/esm/{buttons-eabdb51b.d.ts → buttons-62670d03.d.ts} +0 -0
- /package/gallery/esm/{buttons-eabdb51b.js → buttons-62670d03.js} +0 -0
- /package/gallery/esm/{slide-a8f6ccc1.d.ts → slide-049da652.d.ts} +0 -0
- /package/gallery/esm/{slide-a8f6ccc1.js → slide-049da652.js} +0 -0
- /package/gallery/modern/{buttons-062ff167.d.ts → buttons-c1152f47.d.ts} +0 -0
- /package/gallery/modern/{buttons-062ff167.js → buttons-c1152f47.js} +0 -0
- /package/gallery/modern/{slide-b5566e19.d.ts → slide-eb235226.d.ts} +0 -0
- /package/gallery/modern/{slide-b5566e19.js → slide-eb235226.js} +0 -0
- /package/gallery/{slide-3d8ed06b.d.ts → slide-89e87125.d.ts} +0 -0
- /package/gallery/{slide-3d8ed06b.js → slide-89e87125.js} +0 -0
- /package/{plate → picker-button}/browser-a216f694.d.ts +0 -0
- /package/{plate → picker-button}/cssm/browser-a216f694.d.ts +0 -0
- /package/{plate → picker-button}/cssm/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
- /package/{plate → picker-button}/esm/browser-a216f694.d.ts +0 -0
- /package/{plate → picker-button}/esm/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
- /package/{plate → picker-button}/modern/browser-a216f694.d.ts +0 -0
- /package/{plate → picker-button}/modern/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
- /package/{plate → picker-button}/useCustomWebkitScrollbar-a216f694.d.ts +0 -0
- /package/select/cssm/{hook-aae7b381.d.ts → hook-941ed97f.d.ts} +0 -0
- /package/select/esm/{hook-cdd6fd77.d.ts → hook-b1acbe62.d.ts} +0 -0
- /package/select/{hook-504cecce.d.ts → hook-1e1150ba.d.ts} +0 -0
- /package/select/modern/{hook-f45c958e.d.ts → hook-c88964f0.d.ts} +0 -0
- /package/side-panel/esm/{layout.module-85dc8854.js → layout.module-72cc1a7a.js} +0 -0
- /package/side-panel/{layout.module-7feda991.js → layout.module-cfb65ab1.js} +0 -0
- /package/side-panel/modern/{layout.module-3ff83598.js → layout.module-3503b091.js} +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
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-73ea38f8";
|
|
70
|
+
export * from "./browser-a216f694";
|
|
71
|
+
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { useMatchMedia } from '../../mq/esm';
|
|
4
|
-
import { getComponentBreakpoint } from '../../shared/esm';
|
|
5
4
|
import { ToastPlateDesktop } from './desktop/Component.desktop.js';
|
|
6
5
|
import { ToastPlateMobile } from './mobile/Component.mobile.js';
|
|
7
6
|
import './components/base-toast-plate/component.js';
|
|
8
7
|
import 'classnames';
|
|
9
8
|
import '../../icon-button/esm';
|
|
9
|
+
import './getDataTestId-32d52205.js';
|
|
10
|
+
import '@alfalab/hooks';
|
|
10
11
|
import '../../status-badge/esm';
|
|
11
12
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
12
13
|
import './components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -14,7 +15,7 @@ import './components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
|
14
15
|
import './components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
15
16
|
|
|
16
17
|
var ToastPlate = forwardRef(function (_a, ref) {
|
|
17
|
-
var children = _a.children, _b = _a.breakpoint, breakpoint = _b === void 0 ?
|
|
18
|
+
var children = _a.children, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = __rest(_a, ["children", "breakpoint"]);
|
|
18
19
|
var query = "(min-width: ".concat(breakpoint, "px)");
|
|
19
20
|
var isDesktop = useMatchMedia(query)[0];
|
|
20
21
|
var Component = isDesktop ? ToastPlateDesktop : ToastPlateMobile;
|
|
@@ -2,7 +2,8 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef, useCallback } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { IconButton } from '../../../../icon-button/esm';
|
|
5
|
-
import { getDataTestId } from '
|
|
5
|
+
import { g as getDataTestId } from '../../getDataTestId-32d52205.js';
|
|
6
|
+
import '@alfalab/hooks';
|
|
6
7
|
import { StatusBadge } from '../../../../status-badge/esm';
|
|
7
8
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
8
9
|
import { useCustomIcons } from './hooks/useCustomIcons.js';
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import 'react';
|
|
2
|
+
import '@alfalab/hooks';
|
|
3
|
+
|
|
4
|
+
var exhaustiveCheck = function (value) { return value; };
|
|
2
5
|
|
|
3
6
|
var useDeprecatedBadge = function () {
|
|
4
7
|
var transformDeprecatedBadge = function (unsafeBadge) {
|
|
@@ -3,7 +3,8 @@ import 'tslib';
|
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../../icon-button/esm';
|
|
6
|
-
import '
|
|
6
|
+
import '../../getDataTestId-32d52205.js';
|
|
7
|
+
import '@alfalab/hooks';
|
|
7
8
|
import '../../../../status-badge/esm';
|
|
8
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
10
|
import './hooks/useCustomIcons.js';
|
|
@@ -3,7 +3,8 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/esm';
|
|
6
|
-
import '
|
|
6
|
+
import '../getDataTestId-32d52205.js';
|
|
7
|
+
import '@alfalab/hooks';
|
|
7
8
|
import '../../../status-badge/esm';
|
|
8
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
10
|
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -4,7 +4,8 @@ import 'react';
|
|
|
4
4
|
import '../components/base-toast-plate/component.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '../../../icon-button/esm';
|
|
7
|
-
import '
|
|
7
|
+
import '../getDataTestId-32d52205.js';
|
|
8
|
+
import '@alfalab/hooks';
|
|
8
9
|
import '../../../status-badge/esm';
|
|
9
10
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
10
11
|
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -0,0 +1,71 @@
|
|
|
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-32d52205";
|
|
70
|
+
export * from "./browser-a216f694";
|
|
71
|
+
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
package/toast-plate/esm/index.js
CHANGED
|
@@ -2,11 +2,12 @@ export { ToastPlate } from './Component.responsive.js';
|
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../mq/esm';
|
|
5
|
-
import '../../shared/esm';
|
|
6
5
|
import './desktop/Component.desktop.js';
|
|
7
6
|
import './components/base-toast-plate/component.js';
|
|
8
7
|
import 'classnames';
|
|
9
8
|
import '../../icon-button/esm';
|
|
9
|
+
import './getDataTestId-32d52205.js';
|
|
10
|
+
import '@alfalab/hooks';
|
|
10
11
|
import '../../status-badge/esm';
|
|
11
12
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
12
13
|
import './components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -3,7 +3,8 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/esm';
|
|
6
|
-
import '
|
|
6
|
+
import '../getDataTestId-32d52205.js';
|
|
7
|
+
import '@alfalab/hooks';
|
|
7
8
|
import '../../../status-badge/esm';
|
|
8
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
10
|
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -4,7 +4,8 @@ import 'react';
|
|
|
4
4
|
import '../components/base-toast-plate/component.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '../../../icon-button/esm';
|
|
7
|
-
import '
|
|
7
|
+
import '../getDataTestId-32d52205.js';
|
|
8
|
+
import '@alfalab/hooks';
|
|
8
9
|
import '../../../status-badge/esm';
|
|
9
10
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
10
11
|
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -0,0 +1,71 @@
|
|
|
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-1de39d74";
|
|
70
|
+
export * from "./browser-a216f694";
|
|
71
|
+
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { useMatchMedia } from '../../mq/modern';
|
|
3
|
-
import { getComponentBreakpoint } from '../../shared/modern';
|
|
4
3
|
import { ToastPlateDesktop } from './desktop/Component.desktop.js';
|
|
5
4
|
import { ToastPlateMobile } from './mobile/Component.mobile.js';
|
|
6
5
|
import './components/base-toast-plate/component.js';
|
|
7
6
|
import 'classnames';
|
|
8
7
|
import '../../icon-button/modern';
|
|
8
|
+
import './getDataTestId-dd00ab19.js';
|
|
9
|
+
import '@alfalab/hooks';
|
|
9
10
|
import '../../status-badge/modern';
|
|
10
11
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
11
12
|
import './components/base-toast-plate/hooks/useCustomIcons.js';
|
|
12
13
|
import './components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
13
14
|
import './components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
14
15
|
|
|
15
|
-
const ToastPlate = forwardRef(({ children, breakpoint =
|
|
16
|
+
const ToastPlate = forwardRef(({ children, breakpoint = 1024, ...restProps }, ref) => {
|
|
16
17
|
const query = `(min-width: ${breakpoint}px)`;
|
|
17
18
|
const [isDesktop] = useMatchMedia(query);
|
|
18
19
|
const Component = isDesktop ? ToastPlateDesktop : ToastPlateMobile;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { IconButton } from '../../../../icon-button/modern';
|
|
4
|
-
import { getDataTestId } from '
|
|
4
|
+
import { g as getDataTestId } from '../../getDataTestId-dd00ab19.js';
|
|
5
|
+
import '@alfalab/hooks';
|
|
5
6
|
import { StatusBadge } from '../../../../status-badge/modern';
|
|
6
7
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
7
8
|
import { useCustomIcons } from './hooks/useCustomIcons.js';
|
|
@@ -2,7 +2,8 @@ export { BaseToastPlate } from './component.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../../../icon-button/modern';
|
|
5
|
-
import '
|
|
5
|
+
import '../../getDataTestId-dd00ab19.js';
|
|
6
|
+
import '@alfalab/hooks';
|
|
6
7
|
import '../../../../status-badge/modern';
|
|
7
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
8
9
|
import './hooks/useCustomIcons.js';
|
|
@@ -2,7 +2,8 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../../icon-button/modern';
|
|
5
|
-
import '
|
|
5
|
+
import '../getDataTestId-dd00ab19.js';
|
|
6
|
+
import '@alfalab/hooks';
|
|
6
7
|
import '../../../status-badge/modern';
|
|
7
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
8
9
|
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -3,7 +3,8 @@ import 'react';
|
|
|
3
3
|
import '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/modern';
|
|
6
|
-
import '
|
|
6
|
+
import '../getDataTestId-dd00ab19.js';
|
|
7
|
+
import '@alfalab/hooks';
|
|
7
8
|
import '../../../status-badge/modern';
|
|
8
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
10
|
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -0,0 +1,71 @@
|
|
|
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-dd00ab19";
|
|
70
|
+
export * from "./browser-a216f694";
|
|
71
|
+
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export { ToastPlate } from './Component.responsive.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../mq/modern';
|
|
4
|
-
import '../../shared/modern';
|
|
5
4
|
import './desktop/Component.desktop.js';
|
|
6
5
|
import './components/base-toast-plate/component.js';
|
|
7
6
|
import 'classnames';
|
|
8
7
|
import '../../icon-button/modern';
|
|
8
|
+
import './getDataTestId-dd00ab19.js';
|
|
9
|
+
import '@alfalab/hooks';
|
|
9
10
|
import '../../status-badge/modern';
|
|
10
11
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
11
12
|
import './components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -2,7 +2,8 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../../icon-button/modern';
|
|
5
|
-
import '
|
|
5
|
+
import '../getDataTestId-dd00ab19.js';
|
|
6
|
+
import '@alfalab/hooks';
|
|
6
7
|
import '../../../status-badge/modern';
|
|
7
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
8
9
|
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -3,7 +3,8 @@ import 'react';
|
|
|
3
3
|
import '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '../../../icon-button/modern';
|
|
6
|
-
import '
|
|
6
|
+
import '../getDataTestId-dd00ab19.js';
|
|
7
|
+
import '@alfalab/hooks';
|
|
7
8
|
import '../../../status-badge/modern';
|
|
8
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
10
|
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var coreComponentsMq = require('../mq');
|
|
6
|
-
var coreComponentsShared = require('../shared');
|
|
7
6
|
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
8
7
|
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
9
8
|
|
|
@@ -12,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
13
12
|
|
|
14
13
|
var TooltipResponsive = function (_a) {
|
|
15
|
-
var defaultMatchMediaValue = _a.defaultMatchMediaValue, children = _a.children, actionButtonTitle = _a.actionButtonTitle, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ?
|
|
14
|
+
var defaultMatchMediaValue = _a.defaultMatchMediaValue, children = _a.children, actionButtonTitle = _a.actionButtonTitle, bottomSheetProps = _a.bottomSheetProps, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, restProps = tslib.__rest(_a, ["defaultMatchMediaValue", "children", "actionButtonTitle", "bottomSheetProps", "breakpoint"]);
|
|
16
15
|
var isDesktop = coreComponentsMq.useMatchMedia("(min-width: ".concat(breakpoint, "px)"), defaultMatchMediaValue)[0];
|
|
17
16
|
return isDesktop ? (React__default.default.createElement(desktop_Component_desktop.TooltipDesktop, tslib.__assign({}, restProps), children)) : (React__default.default.createElement(mobile_Component_mobile.TooltipMobile, tslib.__assign({}, restProps, bottomSheetProps, { actionButtonTitle: actionButtonTitle }), children));
|
|
18
17
|
};
|