@alfalab/core-components 45.8.0-beta.1 → 45.8.0-beta.3
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 +12 -22
- package/bottom-sheet/cssm/component.js +12 -22
- package/bottom-sheet/esm/component.js +12 -23
- package/bottom-sheet/esm/index.js +0 -2
- package/bottom-sheet/modern/component.js +9 -23
- package/bottom-sheet/modern/index.js +0 -2
- package/calendar-range/esm/Component.js +1 -1
- package/calendar-range/esm/index.js +1 -1
- package/calendar-range/esm/views/popover.js +1 -1
- package/calendar-range/esm/views/static.js +1 -1
- package/calendar-range/modern/Component.js +1 -1
- package/calendar-range/modern/index.js +1 -1
- package/calendar-range/modern/views/popover.js +1 -1
- package/calendar-range/modern/views/static.js +1 -1
- package/calendar-range/utils.js +1 -3
- package/calendar-range/views/popover.js +1 -1
- package/calendar-range/views/static.js +1 -1
- package/dropzone/Component.d.ts +1 -1
- package/dropzone/Component.js +1 -1
- package/dropzone/cssm/Component.d.ts +1 -1
- package/dropzone/cssm/Component.js +1 -1
- package/dropzone/esm/Component.d.ts +1 -1
- package/dropzone/esm/Component.js +1 -1
- package/dropzone/modern/Component.d.ts +1 -1
- package/dropzone/modern/Component.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/international-phone-input/cssm/typings-57569e57.d.ts +2 -18
- package/international-phone-input/cssm/use-skeleton-1328ead9.d.ts +4 -0
- package/international-phone-input/esm/typings-57569e57.d.ts +2 -18
- package/international-phone-input/esm/use-skeleton-1328ead9.d.ts +4 -0
- package/international-phone-input/modern/typings-57569e57.d.ts +2 -18
- package/international-phone-input/modern/use-skeleton-1328ead9.d.ts +4 -0
- package/international-phone-input/typings-57569e57.d.ts +2 -18
- package/international-phone-input/use-skeleton-1328ead9.d.ts +4 -0
- 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/notification/browser-a216f694.d.ts +6 -0
- package/notification/cssm/browser-a216f694.d.ts +6 -0
- package/notification/cssm/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/notification/cssm/utils/getNotificationTestIds.d.ts +5 -0
- package/notification/cssm/utils/getNotificationTestIds.js +18 -0
- package/notification/esm/browser-a216f694.d.ts +6 -0
- package/notification/esm/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/notification/esm/utils/getNotificationTestIds.d.ts +5 -0
- package/notification/esm/utils/getNotificationTestIds.js +16 -0
- package/notification/modern/browser-a216f694.d.ts +6 -0
- package/notification/modern/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/notification/modern/utils/getNotificationTestIds.d.ts +5 -0
- package/notification/modern/utils/getNotificationTestIds.js +16 -0
- package/notification/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/notification/utils/getNotificationTestIds.d.ts +5 -0
- package/notification/utils/getNotificationTestIds.js +18 -0
- package/package.json +1 -1
- package/picker-button/{esm/index-a5b021bd.d.ts → cssm/index-307da6d7.d.ts} +2 -1
- package/picker-button/cssm/typings-57569e57.d.ts +2 -18
- package/picker-button/cssm/use-skeleton-1328ead9.d.ts +4 -0
- package/picker-button/{modern/index-a5b021bd.d.ts → esm/index-307da6d7.d.ts} +2 -1
- package/picker-button/esm/typings-57569e57.d.ts +2 -18
- package/picker-button/esm/use-skeleton-1328ead9.d.ts +4 -0
- package/picker-button/{cssm/index-a5b021bd.d.ts → index-307da6d7.d.ts} +2 -1
- package/picker-button/{index-a5b021bd.d.ts → modern/index-307da6d7.d.ts} +2 -1
- package/picker-button/modern/typings-57569e57.d.ts +2 -18
- package/picker-button/modern/use-skeleton-1328ead9.d.ts +4 -0
- package/picker-button/typings-57569e57.d.ts +2 -18
- package/picker-button/use-skeleton-1328ead9.d.ts +4 -0
- 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/shared/cssm/exhaustiveCheck.d.ts +2 -0
- package/shared/cssm/exhaustiveCheck.js +5 -0
- package/shared/cssm/index.d.ts +1 -0
- package/shared/cssm/index.js +2 -0
- package/shared/esm/exhaustiveCheck.d.ts +2 -0
- package/shared/esm/exhaustiveCheck.js +3 -0
- package/shared/esm/index.d.ts +1 -0
- package/shared/esm/index.js +1 -0
- package/shared/exhaustiveCheck.d.ts +2 -0
- package/shared/exhaustiveCheck.js +5 -0
- package/shared/index.d.ts +1 -0
- package/shared/index.js +2 -0
- package/shared/modern/exhaustiveCheck.d.ts +2 -0
- package/shared/modern/exhaustiveCheck.js +3 -0
- package/shared/modern/index.d.ts +1 -0
- package/shared/modern/index.js +1 -0
- 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/skeleton/Component.d.ts +4 -0
- package/skeleton/Component.js +6 -3
- package/skeleton/cssm/Component.d.ts +4 -0
- package/skeleton/cssm/Component.js +5 -2
- package/skeleton/cssm/index.module.css +9 -42
- package/skeleton/esm/Component.d.ts +4 -0
- package/skeleton/esm/Component.js +6 -3
- package/skeleton/esm/index.css +9 -42
- package/skeleton/index.css +9 -42
- package/skeleton/modern/Component.d.ts +4 -0
- package/skeleton/modern/Component.js +6 -3
- package/skeleton/modern/index.css +9 -42
- package/status-badge/Component.d.ts +8 -3
- package/status-badge/Component.js +3 -73
- package/status-badge/consts/iconMap.d.ts +4 -0
- package/status-badge/consts/iconMap.js +76 -0
- package/status-badge/cssm/Component.d.ts +8 -3
- package/status-badge/cssm/Component.js +3 -73
- package/status-badge/cssm/consts/iconMap.d.ts +4 -0
- package/status-badge/cssm/consts/iconMap.js +76 -0
- package/status-badge/cssm/hooks/useStatusBadgeIcon.d.ts +5 -0
- package/status-badge/cssm/hooks/useStatusBadgeIcon.js +21 -0
- package/status-badge/cssm/index.d.ts +1 -0
- package/status-badge/cssm/types/statusBadgePropTypes.d.ts +7 -0
- package/status-badge/esm/Component.d.ts +8 -3
- package/status-badge/esm/Component.js +18 -73
- package/status-badge/esm/consts/iconMap.d.ts +4 -0
- package/status-badge/esm/consts/iconMap.js +74 -0
- package/status-badge/esm/hooks/useStatusBadgeIcon.d.ts +5 -0
- package/status-badge/esm/hooks/useStatusBadgeIcon.js +32 -0
- package/status-badge/esm/index.d.ts +1 -0
- package/status-badge/esm/index.js +3 -0
- package/status-badge/esm/types/statusBadgePropTypes.d.ts +7 -0
- package/status-badge/hooks/useStatusBadgeIcon.d.ts +5 -0
- package/status-badge/hooks/useStatusBadgeIcon.js +21 -0
- package/status-badge/index.d.ts +1 -0
- package/status-badge/modern/Component.d.ts +8 -3
- package/status-badge/modern/Component.js +17 -73
- package/status-badge/modern/consts/iconMap.d.ts +4 -0
- package/status-badge/modern/consts/iconMap.js +74 -0
- package/status-badge/modern/hooks/useStatusBadgeIcon.d.ts +5 -0
- package/status-badge/modern/hooks/useStatusBadgeIcon.js +34 -0
- package/status-badge/modern/index.d.ts +1 -0
- package/status-badge/modern/index.js +2 -0
- package/status-badge/modern/types/statusBadgePropTypes.d.ts +7 -0
- package/status-badge/types/statusBadgePropTypes.d.ts +7 -0
- package/tab-bar/Component.js +7 -3
- package/tab-bar/components/tab/Component.js +9 -5
- package/tab-bar/components/tab/index.css +5 -2
- package/tab-bar/consts.d.ts +9 -0
- package/tab-bar/consts.js +13 -0
- package/tab-bar/cssm/Component.js +6 -2
- package/tab-bar/cssm/components/tab/Component.js +8 -4
- package/tab-bar/cssm/components/tab/index.module.css +5 -2
- package/tab-bar/cssm/consts.d.ts +9 -0
- package/tab-bar/cssm/consts.js +13 -0
- package/tab-bar/cssm/index.module.css +9 -7
- package/tab-bar/cssm/types.d.ts +11 -3
- package/tab-bar/esm/Component.js +9 -4
- package/tab-bar/esm/components/tab/Component.js +9 -5
- package/tab-bar/esm/components/tab/index.css +5 -2
- package/tab-bar/esm/components/tab/index.js +2 -1
- package/tab-bar/esm/consts.d.ts +9 -0
- package/tab-bar/esm/consts.js +10 -0
- package/tab-bar/esm/index.css +9 -7
- package/tab-bar/esm/index.js +2 -1
- package/tab-bar/esm/types.d.ts +11 -3
- package/tab-bar/index.css +9 -7
- package/tab-bar/modern/Component.js +9 -4
- package/tab-bar/modern/components/tab/Component.js +9 -5
- package/tab-bar/modern/components/tab/index.css +5 -2
- package/tab-bar/modern/components/tab/index.js +2 -1
- package/tab-bar/modern/consts.d.ts +9 -0
- package/tab-bar/modern/consts.js +10 -0
- package/tab-bar/modern/index.css +9 -7
- package/tab-bar/modern/index.js +2 -1
- package/tab-bar/modern/types.d.ts +11 -3
- package/tab-bar/types.d.ts +11 -3
- package/themes/click.css +0 -6
- package/themes/compiled/mobile-dark-bluetint.css +17 -27
- package/themes/mixins/click.css +0 -2
- package/toast-plate/browser-a216f694.d.ts +6 -0
- package/toast-plate/components/base-toast-plate/component.d.ts +9 -12
- package/toast-plate/components/base-toast-plate/component.js +16 -14
- package/toast-plate/components/base-toast-plate/hooks/useCustomIcons.d.ts +6 -0
- package/toast-plate/components/base-toast-plate/hooks/useCustomIcons.js +13 -0
- package/toast-plate/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +7 -0
- package/toast-plate/components/base-toast-plate/hooks/useDeprecatedBadge.js +26 -0
- package/toast-plate/components/base-toast-plate/types/unsafeBadgeProps.d.ts +6 -0
- package/toast-plate/components/base-toast-plate/types/unsafeBadgeProps.js +1 -0
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +5 -0
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +14 -0
- package/toast-plate/components/base-toast-plate/utils/isUnsafeBadge.d.ts +5 -0
- package/toast-plate/components/base-toast-plate/utils/isUnsafeBadge.js +8 -0
- package/toast-plate/cssm/browser-a216f694.d.ts +6 -0
- package/toast-plate/cssm/components/base-toast-plate/component.d.ts +9 -12
- package/toast-plate/cssm/components/base-toast-plate/component.js +16 -14
- package/toast-plate/cssm/components/base-toast-plate/hooks/useCustomIcons.d.ts +6 -0
- package/toast-plate/cssm/components/base-toast-plate/hooks/useCustomIcons.js +13 -0
- package/toast-plate/cssm/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +7 -0
- package/toast-plate/cssm/components/base-toast-plate/hooks/useDeprecatedBadge.js +26 -0
- package/toast-plate/cssm/components/base-toast-plate/types/unsafeBadgeProps.d.ts +6 -0
- package/toast-plate/cssm/components/base-toast-plate/types/unsafeBadgeProps.js +1 -0
- package/toast-plate/cssm/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +5 -0
- package/toast-plate/cssm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +14 -0
- package/toast-plate/cssm/components/base-toast-plate/utils/isUnsafeBadge.d.ts +5 -0
- package/toast-plate/cssm/components/base-toast-plate/utils/isUnsafeBadge.js +8 -0
- 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 +6 -4
- package/toast-plate/esm/browser-a216f694.d.ts +6 -0
- package/toast-plate/esm/components/base-toast-plate/component.d.ts +9 -12
- package/toast-plate/esm/components/base-toast-plate/component.js +16 -14
- package/toast-plate/esm/components/base-toast-plate/hooks/useCustomIcons.d.ts +6 -0
- package/toast-plate/esm/components/base-toast-plate/hooks/useCustomIcons.js +11 -0
- package/toast-plate/esm/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +7 -0
- package/toast-plate/esm/components/base-toast-plate/hooks/useDeprecatedBadge.js +24 -0
- package/toast-plate/esm/components/base-toast-plate/index.js +6 -4
- package/toast-plate/esm/components/base-toast-plate/types/unsafeBadgeProps.d.ts +6 -0
- package/toast-plate/esm/components/base-toast-plate/types/unsafeBadgeProps.js +1 -0
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +5 -0
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +12 -0
- package/toast-plate/esm/components/base-toast-plate/utils/isUnsafeBadge.d.ts +5 -0
- package/toast-plate/esm/components/base-toast-plate/utils/isUnsafeBadge.js +6 -0
- package/toast-plate/esm/desktop/Component.desktop.js +6 -4
- package/toast-plate/esm/desktop/index.js +6 -4
- package/toast-plate/esm/getDataTestId-b3cf0f77.d.ts +3 -0
- package/toast-plate/esm/getDataTestId-b3cf0f77.js +6 -0
- package/toast-plate/esm/index-307da6d7.d.ts +71 -0
- package/toast-plate/esm/index.js +6 -4
- package/toast-plate/esm/mobile/Component.mobile.js +6 -4
- package/toast-plate/esm/mobile/index.js +6 -4
- package/toast-plate/esm/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/toast-plate/getDataTestId-439ac98c.d.ts +3 -0
- package/toast-plate/getDataTestId-439ac98c.js +6 -0
- package/toast-plate/index-307da6d7.d.ts +71 -0
- package/toast-plate/modern/Component.responsive.js +6 -4
- package/toast-plate/modern/browser-a216f694.d.ts +6 -0
- package/toast-plate/modern/components/base-toast-plate/component.d.ts +9 -12
- package/toast-plate/modern/components/base-toast-plate/component.js +16 -14
- package/toast-plate/modern/components/base-toast-plate/hooks/useCustomIcons.d.ts +6 -0
- package/toast-plate/modern/components/base-toast-plate/hooks/useCustomIcons.js +11 -0
- package/toast-plate/modern/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +7 -0
- package/toast-plate/modern/components/base-toast-plate/hooks/useDeprecatedBadge.js +24 -0
- package/toast-plate/modern/components/base-toast-plate/index.js +6 -4
- package/toast-plate/modern/components/base-toast-plate/types/unsafeBadgeProps.d.ts +6 -0
- package/toast-plate/modern/components/base-toast-plate/types/unsafeBadgeProps.js +1 -0
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +5 -0
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +12 -0
- package/toast-plate/modern/components/base-toast-plate/utils/isUnsafeBadge.d.ts +5 -0
- package/toast-plate/modern/components/base-toast-plate/utils/isUnsafeBadge.js +4 -0
- package/toast-plate/modern/desktop/Component.desktop.js +6 -4
- package/toast-plate/modern/desktop/index.js +6 -4
- package/toast-plate/modern/getDataTestId-8aa8ef85.d.ts +3 -0
- package/toast-plate/modern/getDataTestId-8aa8ef85.js +6 -0
- package/toast-plate/modern/index-307da6d7.d.ts +71 -0
- package/toast-plate/modern/index.js +6 -4
- package/toast-plate/modern/mobile/Component.mobile.js +6 -4
- package/toast-plate/modern/mobile/index.js +6 -4
- package/toast-plate/modern/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/toast-plate/useCustomWebkitScrollbar-a216f694.d.ts +2 -0
- package/typography/esm/component.js +2 -2
- package/typography/esm/index.js +2 -2
- package/typography/esm/text/component.js +1 -1
- package/typography/esm/text/index.js +1 -1
- package/typography/esm/title/component.js +1 -1
- package/typography/esm/title/index.js +2 -2
- package/typography/esm/title-mobile/component.js +2 -2
- package/typography/esm/title-mobile/index.js +2 -2
- package/typography/esm/title-responsive/component.js +2 -2
- package/typography/esm/title-responsive/index.js +2 -2
- package/typography/modern/component.js +2 -2
- package/typography/modern/index.js +2 -2
- package/typography/modern/text/component.js +1 -1
- package/typography/modern/text/index.js +1 -1
- package/typography/modern/title/component.js +1 -1
- package/typography/modern/title/index.js +2 -2
- package/typography/modern/title-mobile/component.js +2 -2
- package/typography/modern/title-mobile/index.js +2 -2
- package/typography/modern/title-responsive/component.js +2 -2
- package/typography/modern/title-responsive/index.js +2 -2
- package/typography/text/component.js +1 -1
- package/typography/title/component.js +1 -1
- package/typography/title/index.js +1 -1
- package/typography/title-mobile/component.js +1 -1
- package/typography/title-responsive/component.js +1 -1
- package/universal-date-input/cssm/use-skeleton-1328ead9.d.ts +4 -0
- package/universal-date-input/esm/use-skeleton-1328ead9.d.ts +4 -0
- package/universal-date-input/modern/use-skeleton-1328ead9.d.ts +4 -0
- package/universal-date-input/use-skeleton-1328ead9.d.ts +4 -0
- package/bottom-sheet/consts/swipeConsts.d.ts +0 -2
- package/bottom-sheet/consts/swipeConsts.js +0 -7
- package/bottom-sheet/cssm/consts/swipeConsts.d.ts +0 -2
- package/bottom-sheet/cssm/consts/swipeConsts.js +0 -7
- package/bottom-sheet/cssm/enums/swipeEnums.d.ts +0 -7
- package/bottom-sheet/cssm/enums/swipeEnums.js +0 -9
- package/bottom-sheet/cssm/types/swipeTypes.d.ts +0 -9
- package/bottom-sheet/enums/swipeEnums.d.ts +0 -7
- package/bottom-sheet/enums/swipeEnums.js +0 -9
- package/bottom-sheet/esm/consts/swipeConsts.d.ts +0 -2
- package/bottom-sheet/esm/consts/swipeConsts.js +0 -5
- package/bottom-sheet/esm/enums/swipeEnums.d.ts +0 -7
- package/bottom-sheet/esm/enums/swipeEnums.js +0 -9
- package/bottom-sheet/esm/types/swipeTypes.d.ts +0 -9
- package/bottom-sheet/modern/consts/swipeConsts.d.ts +0 -2
- package/bottom-sheet/modern/consts/swipeConsts.js +0 -5
- package/bottom-sheet/modern/enums/swipeEnums.d.ts +0 -7
- package/bottom-sheet/modern/enums/swipeEnums.js +0 -9
- package/bottom-sheet/modern/types/swipeTypes.d.ts +0 -9
- package/bottom-sheet/types/swipeTypes.d.ts +0 -9
- package/themes/mixins/skeleton/click.css +0 -8
- package/themes/skeleton/click.css +0 -8
- /package/calendar-range/esm/{index.module-7ba85cb1.js → index.module-912e88cf.js} +0 -0
- /package/calendar-range/{index.module-c6ded4a2.js → index.module-bf0591f0.js} +0 -0
- /package/calendar-range/modern/{index.module-0604d154.js → index.module-636e08a2.js} +0 -0
- /package/gallery/{buttons-01e8353f.d.ts → buttons-19c30d23.d.ts} +0 -0
- /package/gallery/{buttons-01e8353f.js → buttons-19c30d23.js} +0 -0
- /package/gallery/esm/{buttons-85c1b9a3.d.ts → buttons-37ed3ab5.d.ts} +0 -0
- /package/gallery/esm/{buttons-85c1b9a3.js → buttons-37ed3ab5.js} +0 -0
- /package/gallery/esm/{slide-530dfb83.d.ts → slide-8d1299a5.d.ts} +0 -0
- /package/gallery/esm/{slide-530dfb83.js → slide-8d1299a5.js} +0 -0
- /package/gallery/modern/{buttons-5f86c790.d.ts → buttons-92efe05c.d.ts} +0 -0
- /package/gallery/modern/{buttons-5f86c790.js → buttons-92efe05c.js} +0 -0
- /package/gallery/modern/{slide-afec4d99.d.ts → slide-57aa7661.d.ts} +0 -0
- /package/gallery/modern/{slide-afec4d99.js → slide-57aa7661.js} +0 -0
- /package/gallery/{slide-18998644.d.ts → slide-45ca49f1.d.ts} +0 -0
- /package/gallery/{slide-18998644.js → slide-45ca49f1.js} +0 -0
- /package/modal/esm/{layout.module-1b8afca9.js → layout.module-b635b128.js} +0 -0
- /package/modal/{layout.module-3eb92921.js → layout.module-34149103.js} +0 -0
- /package/modal/modern/{layout.module-13b15398.js → layout.module-41e8947b.js} +0 -0
- /package/picker-button/{Component-a5b021bd.d.ts → Component-307da6d7.d.ts} +0 -0
- /package/picker-button/cssm/{Component-a5b021bd.d.ts → Component-307da6d7.d.ts} +0 -0
- /package/picker-button/esm/{Component-a5b021bd.d.ts → Component-307da6d7.d.ts} +0 -0
- /package/picker-button/modern/{Component-a5b021bd.d.ts → Component-307da6d7.d.ts} +0 -0
- /package/select/esm/{hook-aa7d4c07.d.ts → hook-c0758dcd.d.ts} +0 -0
- /package/select/esm/{hook-aa7d4c07.js → hook-c0758dcd.js} +0 -0
- /package/select/{hook-f0adfa6b.d.ts → hook-10a14b43.d.ts} +0 -0
- /package/select/{hook-f0adfa6b.js → hook-10a14b43.js} +0 -0
- /package/select/modern/{hook-d72e58c4.d.ts → hook-5ccdb908.d.ts} +0 -0
- /package/select/modern/{hook-d72e58c4.js → hook-5ccdb908.js} +0 -0
- /package/side-panel/esm/{layout.module-d6ca40a5.js → layout.module-0dc6a00f.js} +0 -0
- /package/side-panel/{layout.module-85234bb1.js → layout.module-5eeb8248.js} +0 -0
- /package/side-panel/modern/{layout.module-9f8549ee.js → layout.module-6f83e451.js} +0 -0
- /package/{bottom-sheet/cssm/types/swipeTypes.js → status-badge/cssm/types/statusBadgePropTypes.js} +0 -0
- /package/{bottom-sheet/esm/types/swipeTypes.js → status-badge/esm/types/statusBadgePropTypes.js} +0 -0
- /package/{bottom-sheet/modern/types/swipeTypes.js → status-badge/modern/types/statusBadgePropTypes.js} +0 -0
- /package/{bottom-sheet/types/swipeTypes.js → status-badge/types/statusBadgePropTypes.js} +0 -0
- /package/typography/{colors.module-a11b73e9.js → colors.module-5b90a9cc.js} +0 -0
- /package/typography/{common.module-25e7ce83.js → common.module-53a00318.js} +0 -0
- /package/typography/esm/{colors.module-e5414e42.js → colors.module-f2501c6f.js} +0 -0
- /package/typography/esm/{common.module-bd07cc74.js → common.module-04c7810e.js} +0 -0
- /package/typography/modern/{colors.module-9fa7fdee.js → colors.module-83a4b747.js} +0 -0
- /package/typography/modern/{common.module-e73684d9.js → common.module-278c339a.js} +0 -0
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { HTMLAttributes, MouseEvent, ReactNode } from "react";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
positive: JSX.Element;
|
|
7
|
-
attention: JSX.Element;
|
|
8
|
-
};
|
|
4
|
+
import { StatusBadgeCustomIcon, StatusBadgeViews } from "../../../../status-badge";
|
|
5
|
+
import { unsafe_BadgeProps } from "./types/unsafeBadgeProps";
|
|
9
6
|
type BaseToastPlateProps = HTMLAttributes<HTMLDivElement> & {
|
|
10
7
|
/**
|
|
11
8
|
* Дополнительный класс
|
|
@@ -34,7 +31,7 @@ type BaseToastPlateProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
34
31
|
/**
|
|
35
32
|
* Вид бэйджа
|
|
36
33
|
*/
|
|
37
|
-
badge?:
|
|
34
|
+
badge?: unsafe_BadgeProps | StatusBadgeViews;
|
|
38
35
|
/**
|
|
39
36
|
* Слот слева, заменяет стандартную иконку
|
|
40
37
|
*/
|
|
@@ -68,9 +65,9 @@ type BaseToastPlateProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
68
65
|
*/
|
|
69
66
|
onClose?: (event?: MouseEvent<HTMLButtonElement>) => void;
|
|
70
67
|
/**
|
|
71
|
-
* Функция, с помощью которой можно переопределить иконки в
|
|
68
|
+
* Функция, с помощью которой можно переопределить иконки в StatusBadge
|
|
72
69
|
*/
|
|
73
|
-
getBadgeIcons?:
|
|
70
|
+
getBadgeIcons?: StatusBadgeCustomIcon;
|
|
74
71
|
/**
|
|
75
72
|
* Набор цветов для компонента
|
|
76
73
|
*/
|
|
@@ -114,7 +111,7 @@ declare const BaseToastPlate: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
114
111
|
/**
|
|
115
112
|
* Вид бэйджа
|
|
116
113
|
*/
|
|
117
|
-
badge?:
|
|
114
|
+
badge?: StatusBadgeViews | unsafe_BadgeProps | undefined;
|
|
118
115
|
/**
|
|
119
116
|
* Слот слева, заменяет стандартную иконку
|
|
120
117
|
*/
|
|
@@ -148,9 +145,9 @@ declare const BaseToastPlate: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
148
145
|
*/
|
|
149
146
|
onClose?: ((event?: MouseEvent<HTMLButtonElement>) => void) | undefined;
|
|
150
147
|
/**
|
|
151
|
-
* Функция, с помощью которой можно переопределить иконки в
|
|
148
|
+
* Функция, с помощью которой можно переопределить иконки в StatusBadge
|
|
152
149
|
*/
|
|
153
|
-
getBadgeIcons?: (
|
|
150
|
+
getBadgeIcons?: Partial<Record<StatusBadgeViews, Partial<Record<import("../../../../status-badge").StatusBadgeSizes, import("../../../../status-badge").StatusBadgeIcon>>>> | undefined;
|
|
154
151
|
/**
|
|
155
152
|
* Набор цветов для компонента
|
|
156
153
|
*/
|
|
@@ -166,4 +163,4 @@ declare const BaseToastPlate: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
166
163
|
[key: string]: string;
|
|
167
164
|
} | undefined;
|
|
168
165
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
169
|
-
export {
|
|
166
|
+
export { BaseToastPlateProps, BaseToastPlate };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { Badge } from '../../../../badge/modern';
|
|
4
3
|
import { IconButton } from '../../../../icon-button/modern';
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
4
|
+
import { g as getDataTestId } from '../../getDataTestId-8aa8ef85.js';
|
|
5
|
+
import '@alfalab/hooks';
|
|
6
|
+
import { StatusBadge } from '../../../../status-badge/modern';
|
|
8
7
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
8
|
+
import { useCustomIcons } from './hooks/useCustomIcons.js';
|
|
9
|
+
import { useDeprecatedBadge } from './hooks/useDeprecatedBadge.js';
|
|
10
|
+
import { isUnsafeBadge } from './utils/isUnsafeBadge.js';
|
|
9
11
|
|
|
10
12
|
const defaultColors = {"component":"toast-plate__component_eyew1","closeButtonWrapper":"toast-plate__closeButtonWrapper_eyew1"};
|
|
11
13
|
require('./default.css');
|
|
@@ -20,25 +22,25 @@ const colorStyles = {
|
|
|
20
22
|
default: defaultColors,
|
|
21
23
|
inverted: invertedColors,
|
|
22
24
|
};
|
|
23
|
-
const iconDefaultComponents = {
|
|
24
|
-
negative: React.createElement(CrossCircleMIcon, { className: commonStyles.badgeIcon }),
|
|
25
|
-
positive: React.createElement(CheckmarkCircleMIcon, { className: commonStyles.badgeIcon }),
|
|
26
|
-
attention: React.createElement(AlertCircleMIcon, { className: commonStyles.badgeIcon }),
|
|
27
|
-
};
|
|
28
25
|
const BaseToastPlate = forwardRef(({ dataTestId, className, titleClassName, contentClassName, actionSectionClassName, hasCloser, leftAddons, badge, title, children, actionButton, block, onClose, getBadgeIcons, colors = 'default', closerWrapperClassName, closerClassName, bottomButtonPosition = false, styles = {}, ...restProps }, ref) => {
|
|
29
26
|
const needRenderLeftAddons = Boolean(leftAddons || badge);
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
: iconDefaultComponents;
|
|
27
|
+
const { transformDeprecatedBadge } = useDeprecatedBadge();
|
|
28
|
+
const { getCustomIcons } = useCustomIcons();
|
|
33
29
|
const handleClose = useCallback((event) => {
|
|
34
30
|
if (onClose) {
|
|
35
31
|
onClose(event);
|
|
36
32
|
}
|
|
37
33
|
}, [onClose]);
|
|
38
|
-
|
|
34
|
+
let statusBadgeView = badge;
|
|
35
|
+
if (badge && isUnsafeBadge(badge)) {
|
|
36
|
+
statusBadgeView = transformDeprecatedBadge(badge);
|
|
37
|
+
}
|
|
38
|
+
const customIcons = getCustomIcons(getBadgeIcons);
|
|
39
|
+
return (React.createElement("div", { className: cn(commonStyles.component, colorStyles[colors].component, { [commonStyles.block]: block, [commonStyles.hasCloser]: hasCloser }, className), ref: ref, "data-test-id": getDataTestId(dataTestId, 'component'), ...restProps },
|
|
39
40
|
React.createElement("div", { className: commonStyles.wrapper },
|
|
40
41
|
React.createElement("div", { className: commonStyles.contentWrapper },
|
|
41
|
-
needRenderLeftAddons && (React.createElement("div", { className: commonStyles.leftAddons }, leftAddons ||
|
|
42
|
+
needRenderLeftAddons && (React.createElement("div", { className: commonStyles.leftAddons }, leftAddons ||
|
|
43
|
+
(badge && (React.createElement(StatusBadge, { view: statusBadgeView, dataTestId: getDataTestId(dataTestId, 'badge'), ...(customIcons && { customIcons }) }))))),
|
|
42
44
|
React.createElement("div", { className: cn(contentClassName, commonStyles.content, {
|
|
43
45
|
[commonStyles.hasCloser]: hasCloser,
|
|
44
46
|
[commonStyles.hasActionButton]: !!actionButton,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { StatusBadgeCustomIcon } from "../../../../../status-badge";
|
|
2
|
+
type GetCustomIcons = StatusBadgeCustomIcon | null;
|
|
3
|
+
declare const useCustomIcons: () => {
|
|
4
|
+
getCustomIcons: (getBadgeIcons?: StatusBadgeCustomIcon) => GetCustomIcons;
|
|
5
|
+
};
|
|
6
|
+
export { useCustomIcons };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StatusBadgeProps } from "../../../../../status-badge";
|
|
2
|
+
import { unsafe_BadgeProps } from "../types/unsafeBadgeProps";
|
|
3
|
+
type UseDeprecatedBadge = {
|
|
4
|
+
transformDeprecatedBadge: (deprecatedBadge: unsafe_BadgeProps) => StatusBadgeProps['view'];
|
|
5
|
+
};
|
|
6
|
+
declare const useDeprecatedBadge: () => UseDeprecatedBadge;
|
|
7
|
+
export { useDeprecatedBadge };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import 'react';
|
|
2
|
+
import '@alfalab/hooks';
|
|
3
|
+
|
|
4
|
+
const exhaustiveCheck = (value) => value;
|
|
5
|
+
|
|
6
|
+
const useDeprecatedBadge = () => {
|
|
7
|
+
const transformDeprecatedBadge = (unsafeBadge) => {
|
|
8
|
+
switch (unsafeBadge) {
|
|
9
|
+
case 'negative':
|
|
10
|
+
return 'negative-cross';
|
|
11
|
+
case 'positive':
|
|
12
|
+
return 'positive-checkmark';
|
|
13
|
+
case 'attention':
|
|
14
|
+
return 'attention-alert';
|
|
15
|
+
default:
|
|
16
|
+
return exhaustiveCheck(unsafeBadge);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
return {
|
|
20
|
+
transformDeprecatedBadge,
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { useDeprecatedBadge };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { BaseToastPlate } from './component.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../../../../badge/modern';
|
|
5
4
|
import '../../../../icon-button/modern';
|
|
6
|
-
import '
|
|
7
|
-
import '@alfalab/
|
|
8
|
-
import '
|
|
5
|
+
import '../../getDataTestId-8aa8ef85.js';
|
|
6
|
+
import '@alfalab/hooks';
|
|
7
|
+
import '../../../../status-badge/modern';
|
|
9
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
|
+
import './hooks/useCustomIcons.js';
|
|
10
|
+
import './hooks/useDeprecatedBadge.js';
|
|
11
|
+
import './utils/isUnsafeBadge.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { g as getDataTestId } from '../../../getDataTestId-8aa8ef85.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '@alfalab/hooks';
|
|
4
|
+
|
|
5
|
+
function getBaseToastPlateTestIds(dataTestId) {
|
|
6
|
+
return {
|
|
7
|
+
badge: getDataTestId(dataTestId, 'badge'),
|
|
8
|
+
component: getDataTestId(dataTestId, 'component'),
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { getBaseToastPlateTestIds };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { StatusBadgeProps } from "../../../../../status-badge";
|
|
2
|
+
import { unsafe_BadgeProps } from "../types/unsafeBadgeProps";
|
|
3
|
+
type IsUnsafeBadge = unsafe_BadgeProps | StatusBadgeProps['view'];
|
|
4
|
+
declare const isUnsafeBadge: (badge: IsUnsafeBadge) => badge is unsafe_BadgeProps;
|
|
5
|
+
export { isUnsafeBadge };
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../../../badge/modern';
|
|
5
4
|
import '../../../icon-button/modern';
|
|
6
|
-
import '
|
|
7
|
-
import '@alfalab/
|
|
8
|
-
import '
|
|
5
|
+
import '../getDataTestId-8aa8ef85.js';
|
|
6
|
+
import '@alfalab/hooks';
|
|
7
|
+
import '../../../status-badge/modern';
|
|
9
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
|
+
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
10
|
+
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
11
|
+
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
10
12
|
|
|
11
13
|
const styles = {"actionSection":"toast-plate__actionSection_1heyl","title":"toast-plate__title_1heyl","closeButtonWrapper":"toast-plate__closeButtonWrapper_1heyl","closeButton":"toast-plate__closeButton_1heyl"};
|
|
12
14
|
require('./desktop.css');
|
|
@@ -2,9 +2,11 @@ export { ToastPlateDesktop } from './Component.desktop.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../../../badge/modern';
|
|
6
5
|
import '../../../icon-button/modern';
|
|
7
|
-
import '
|
|
8
|
-
import '@alfalab/
|
|
9
|
-
import '
|
|
6
|
+
import '../getDataTestId-8aa8ef85.js';
|
|
7
|
+
import '@alfalab/hooks';
|
|
8
|
+
import '../../../status-badge/modern';
|
|
10
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
10
|
+
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
11
|
+
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
12
|
+
import '../components/base-toast-plate/utils/isUnsafeBadge.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-8aa8ef85";
|
|
70
|
+
export * from "./browser-a216f694";
|
|
71
|
+
export * from "./components/base-toast-plate/hooks/useDeprecatedBadge";
|
|
@@ -4,10 +4,12 @@ import '../../mq/modern';
|
|
|
4
4
|
import './desktop/Component.desktop.js';
|
|
5
5
|
import './components/base-toast-plate/component.js';
|
|
6
6
|
import 'classnames';
|
|
7
|
-
import '../../badge/modern';
|
|
8
7
|
import '../../icon-button/modern';
|
|
9
|
-
import '
|
|
10
|
-
import '@alfalab/
|
|
11
|
-
import '
|
|
8
|
+
import './getDataTestId-8aa8ef85.js';
|
|
9
|
+
import '@alfalab/hooks';
|
|
10
|
+
import '../../status-badge/modern';
|
|
12
11
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
12
|
+
import './components/base-toast-plate/hooks/useCustomIcons.js';
|
|
13
|
+
import './components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
14
|
+
import './components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
13
15
|
import './mobile/Component.mobile.js';
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '../../../badge/modern';
|
|
5
4
|
import '../../../icon-button/modern';
|
|
6
|
-
import '
|
|
7
|
-
import '@alfalab/
|
|
8
|
-
import '
|
|
5
|
+
import '../getDataTestId-8aa8ef85.js';
|
|
6
|
+
import '@alfalab/hooks';
|
|
7
|
+
import '../../../status-badge/modern';
|
|
9
8
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
|
+
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
10
|
+
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
11
|
+
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
10
12
|
|
|
11
13
|
const styles = {"actionSection":"toast-plate__actionSection_fuxup","title":"toast-plate__title_fuxup","closeButtonWrapper":"toast-plate__closeButtonWrapper_fuxup","closeButton":"toast-plate__closeButton_fuxup"};
|
|
12
14
|
require('./mobile.css');
|
|
@@ -2,9 +2,11 @@ export { ToastPlateMobile } from './Component.mobile.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
-
import '../../../badge/modern';
|
|
6
5
|
import '../../../icon-button/modern';
|
|
7
|
-
import '
|
|
8
|
-
import '@alfalab/
|
|
9
|
-
import '
|
|
6
|
+
import '../getDataTestId-8aa8ef85.js';
|
|
7
|
+
import '@alfalab/hooks';
|
|
8
|
+
import '../../../status-badge/modern';
|
|
10
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
10
|
+
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
11
|
+
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
12
|
+
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
@@ -9,10 +9,10 @@ import 'classnames';
|
|
|
9
9
|
import './hooks/use-skeleton.js';
|
|
10
10
|
import '../../skeleton/esm';
|
|
11
11
|
import '@alfalab/hooks';
|
|
12
|
-
import './colors.module-
|
|
12
|
+
import './colors.module-f2501c6f.js';
|
|
13
13
|
import './title/component.js';
|
|
14
14
|
import './title/utils.js';
|
|
15
|
-
import './common.module-
|
|
15
|
+
import './common.module-04c7810e.js';
|
|
16
16
|
import '../../mq/esm';
|
|
17
17
|
|
|
18
18
|
var Typography = {
|
package/typography/esm/index.js
CHANGED
|
@@ -8,11 +8,11 @@ import 'classnames';
|
|
|
8
8
|
import './hooks/use-skeleton.js';
|
|
9
9
|
import '../../skeleton/esm';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
|
-
import './colors.module-
|
|
11
|
+
import './colors.module-f2501c6f.js';
|
|
12
12
|
import './title/index.js';
|
|
13
13
|
import './title/component.js';
|
|
14
14
|
import './title/utils.js';
|
|
15
|
-
import './common.module-
|
|
15
|
+
import './common.module-04c7810e.js';
|
|
16
16
|
import './title-mobile/component.js';
|
|
17
17
|
import './title-responsive/component.js';
|
|
18
18
|
import '../../mq/esm';
|
|
@@ -3,7 +3,7 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
4
|
import cn from 'classnames';
|
|
5
5
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
6
|
-
import { c as colors } from '../colors.module-
|
|
6
|
+
import { c as colors } from '../colors.module-f2501c6f.js';
|
|
7
7
|
import '../../../skeleton/esm';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@ import mergeRefs from 'react-merge-refs';
|
|
|
4
4
|
import cn from 'classnames';
|
|
5
5
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
6
6
|
import { getDefaultWeight } from './utils.js';
|
|
7
|
-
import { c as colors } from '../colors.module-
|
|
7
|
+
import { c as colors } from '../colors.module-f2501c6f.js';
|
|
8
8
|
import '../../../skeleton/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { TitleBase } from './component.js';
|
|
4
|
-
import { c as commonStyles } from '../common.module-
|
|
4
|
+
import { c as commonStyles } from '../common.module-04c7810e.js';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../hooks/use-skeleton.js';
|
|
8
8
|
import '../../../skeleton/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import './utils.js';
|
|
11
|
-
import '../colors.module-
|
|
11
|
+
import '../colors.module-f2501c6f.js';
|
|
12
12
|
|
|
13
13
|
var styles = {"styrene-xlarge":"typography__styrene-xlarge_f6qr3","styrene-large":"typography__styrene-large_f6qr3","styrene-medium":"typography__styrene-medium_f6qr3","styrene-small":"typography__styrene-small_f6qr3","styrene-xsmall":"typography__styrene-xsmall_f6qr3","system-xlarge":"typography__system-xlarge_f6qr3","system-large":"typography__system-large_f6qr3","system-medium":"typography__system-medium_f6qr3","system-small":"typography__system-small_f6qr3","system-xsmall":"typography__system-xsmall_f6qr3","margins-xlarge":"typography__margins-xlarge_f6qr3","margins-large":"typography__margins-large_f6qr3","margins-medium":"typography__margins-medium_f6qr3","margins-small":"typography__margins-small_f6qr3","margins-xsmall":"typography__margins-xsmall_f6qr3","rowLimit1":"typography__rowLimit1_f6qr3","rowLimit2":"typography__rowLimit2_f6qr3","rowLimit3":"typography__rowLimit3_f6qr3"};
|
|
14
14
|
require('./index.css');
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { TitleBase } from '../title/component.js';
|
|
4
|
-
import { c as commonStyles } from '../common.module-
|
|
4
|
+
import { c as commonStyles } from '../common.module-04c7810e.js';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../hooks/use-skeleton.js';
|
|
8
8
|
import '../../../skeleton/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../title/utils.js';
|
|
11
|
-
import '../colors.module-
|
|
11
|
+
import '../colors.module-f2501c6f.js';
|
|
12
12
|
|
|
13
13
|
var styles = {"styrene-xlarge":"typography__styrene-xlarge_n0x2v","styrene-large":"typography__styrene-large_n0x2v","styrene-medium":"typography__styrene-medium_n0x2v","styrene-small":"typography__styrene-small_n0x2v","styrene-xsmall":"typography__styrene-xsmall_n0x2v","system-xlarge":"typography__system-xlarge_n0x2v","system-large":"typography__system-large_n0x2v","system-medium":"typography__system-medium_n0x2v","system-small":"typography__system-small_n0x2v","system-xsmall":"typography__system-xsmall_n0x2v"};
|
|
14
14
|
require('./index.css');
|
|
@@ -8,5 +8,5 @@ import '../hooks/use-skeleton.js';
|
|
|
8
8
|
import '../../../skeleton/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../title/utils.js';
|
|
11
|
-
import '../colors.module-
|
|
12
|
-
import '../common.module-
|
|
11
|
+
import '../colors.module-f2501c6f.js';
|
|
12
|
+
import '../common.module-04c7810e.js';
|
|
@@ -2,14 +2,14 @@ import { __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { useMatchMedia } from '../../../mq/esm';
|
|
4
4
|
import { TitleBase } from '../title/component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-
|
|
5
|
+
import { c as commonStyles } from '../common.module-04c7810e.js';
|
|
6
6
|
import 'react-merge-refs';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '../hooks/use-skeleton.js';
|
|
9
9
|
import '../../../skeleton/esm';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import '../title/utils.js';
|
|
12
|
-
import '../colors.module-
|
|
12
|
+
import '../colors.module-f2501c6f.js';
|
|
13
13
|
|
|
14
14
|
var styles = {"styrene-xlarge":"typography__styrene-xlarge_kv2ad","styrene-large":"typography__styrene-large_kv2ad","styrene-medium":"typography__styrene-medium_kv2ad","styrene-small":"typography__styrene-small_kv2ad","styrene-xsmall":"typography__styrene-xsmall_kv2ad","system-xlarge":"typography__system-xlarge_kv2ad","system-large":"typography__system-large_kv2ad","system-medium":"typography__system-medium_kv2ad","system-small":"typography__system-small_kv2ad","system-xsmall":"typography__system-xsmall_kv2ad","margins-xlarge":"typography__margins-xlarge_kv2ad","margins-large":"typography__margins-large_kv2ad","margins-medium":"typography__margins-medium_kv2ad","margins-small":"typography__margins-small_kv2ad","margins-xsmall":"typography__margins-xsmall_kv2ad"};
|
|
15
15
|
require('./index.css');
|
|
@@ -9,5 +9,5 @@ import '../hooks/use-skeleton.js';
|
|
|
9
9
|
import '../../../skeleton/esm';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import '../title/utils.js';
|
|
12
|
-
import '../colors.module-
|
|
13
|
-
import '../common.module-
|
|
12
|
+
import '../colors.module-f2501c6f.js';
|
|
13
|
+
import '../common.module-04c7810e.js';
|
|
@@ -8,10 +8,10 @@ import 'classnames';
|
|
|
8
8
|
import './hooks/use-skeleton.js';
|
|
9
9
|
import '../../skeleton/modern';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
|
-
import './colors.module-
|
|
11
|
+
import './colors.module-83a4b747.js';
|
|
12
12
|
import './title/component.js';
|
|
13
13
|
import './title/utils.js';
|
|
14
|
-
import './common.module-
|
|
14
|
+
import './common.module-278c339a.js';
|
|
15
15
|
import '../../mq/modern';
|
|
16
16
|
|
|
17
17
|
const Typography = {
|
|
@@ -7,11 +7,11 @@ import 'classnames';
|
|
|
7
7
|
import './hooks/use-skeleton.js';
|
|
8
8
|
import '../../skeleton/modern';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
|
-
import './colors.module-
|
|
10
|
+
import './colors.module-83a4b747.js';
|
|
11
11
|
import './title/index.js';
|
|
12
12
|
import './title/component.js';
|
|
13
13
|
import './title/utils.js';
|
|
14
|
-
import './common.module-
|
|
14
|
+
import './common.module-278c339a.js';
|
|
15
15
|
import './title-mobile/component.js';
|
|
16
16
|
import './title-responsive/component.js';
|
|
17
17
|
import '../../mq/modern';
|
|
@@ -2,7 +2,7 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import mergeRefs from 'react-merge-refs';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
5
|
-
import { c as colors } from '../colors.module-
|
|
5
|
+
import { c as colors } from '../colors.module-83a4b747.js';
|
|
6
6
|
import '../../../skeleton/modern';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@ import mergeRefs from 'react-merge-refs';
|
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
5
5
|
import { getDefaultWeight } from './utils.js';
|
|
6
|
-
import { c as colors } from '../colors.module-
|
|
6
|
+
import { c as colors } from '../colors.module-83a4b747.js';
|
|
7
7
|
import '../../../skeleton/modern';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
|