@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
|
@@ -19,11 +19,8 @@
|
|
|
19
19
|
--skeleton-display: block;
|
|
20
20
|
--skeleton-default-color: var(--color-light-neutral-translucent-100);
|
|
21
21
|
--skeleton-border-radius: var(--border-radius-m);
|
|
22
|
-
--skeleton-backdrop-filter:
|
|
23
|
-
|
|
24
|
-
/* experimental animation switcher */
|
|
25
|
-
--skeleton-gradient-animation-display: block;
|
|
26
|
-
--skeleton-bg-animation-display: none;
|
|
22
|
+
--skeleton-backdrop-filter: blur(20px);
|
|
23
|
+
--skeleton-bg-animation-display: block;
|
|
27
24
|
--skeleton-bg-animation-color: transparent;
|
|
28
25
|
} .component {
|
|
29
26
|
position: relative;
|
|
@@ -32,13 +29,14 @@
|
|
|
32
29
|
color: transparent;
|
|
33
30
|
border-radius: var(--skeleton-border-radius);
|
|
34
31
|
overflow: hidden;
|
|
35
|
-
-webkit-backdrop-filter: var(--skeleton-backdrop-filter);
|
|
36
|
-
backdrop-filter: var(--skeleton-backdrop-filter);
|
|
37
32
|
background: var(--skeleton-default-color);
|
|
38
33
|
|
|
39
34
|
/* Safari overflow fix https://gist.github.com/ayamflow/b602ab436ac9f05660d9c15190f4fd7b */
|
|
40
|
-
-webkit-mask-image: -webkit-radial-gradient(white, black)
|
|
41
|
-
} .component
|
|
35
|
+
-webkit-mask-image: -webkit-radial-gradient(white, black)
|
|
36
|
+
} .component.allowBackdropBlur {
|
|
37
|
+
-webkit-backdrop-filter: var(--skeleton-backdrop-filter);
|
|
38
|
+
backdrop-filter: var(--skeleton-backdrop-filter);
|
|
39
|
+
} .component > * {
|
|
42
40
|
visibility: hidden;
|
|
43
41
|
} .component:before {
|
|
44
42
|
content: '';
|
|
@@ -61,42 +59,11 @@
|
|
|
61
59
|
.animate:before {
|
|
62
60
|
opacity: 0.4;
|
|
63
61
|
}
|
|
64
|
-
} .animate:after {
|
|
65
|
-
display: var(--skeleton-gradient-animation-display);
|
|
66
|
-
content: '';
|
|
67
|
-
position: absolute;
|
|
68
|
-
top: 0;
|
|
69
|
-
left: 0;
|
|
70
|
-
width: 500%;
|
|
71
|
-
height: 100%;
|
|
72
|
-
transform: translateX(-80%);
|
|
73
|
-
animation-name: gradient;
|
|
74
|
-
animation-duration: 2s;
|
|
75
|
-
animation-iteration-count: infinite;
|
|
76
|
-
animation-timing-function: linear;
|
|
77
|
-
background-image: linear-gradient(
|
|
78
|
-
to left,
|
|
79
|
-
rgba(0, 0, 0, 0),
|
|
80
|
-
rgba(0, 0, 0, 0) 40%,
|
|
81
|
-
rgba(0, 0, 0, 0.05) 50%,
|
|
82
|
-
rgba(0, 0, 0, 0) 60%,
|
|
83
|
-
rgba(0, 0, 0, 0)
|
|
84
|
-
);
|
|
85
|
-
} @keyframes gradient {
|
|
86
|
-
0% {
|
|
87
|
-
transform: translateX(-80%);
|
|
88
|
-
}
|
|
89
|
-
67% {
|
|
90
|
-
transform: translateX(0);
|
|
91
|
-
}
|
|
92
|
-
100% {
|
|
93
|
-
transform: translateX(0);
|
|
94
|
-
}
|
|
95
62
|
} @keyframes background {
|
|
96
63
|
0% {
|
|
97
|
-
background:
|
|
64
|
+
background: var(--color-light-neutral-translucent-100);
|
|
98
65
|
}
|
|
99
66
|
100% {
|
|
100
|
-
background:
|
|
67
|
+
background: var(--color-light-neutral-translucent-300);
|
|
101
68
|
}
|
|
102
69
|
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"skeleton__component_9mjjy","
|
|
4
|
+
var styles = {"component":"skeleton__component_9mjjy","allowBackdropBlur":"skeleton__allowBackdropBlur_9mjjy","animate":"skeleton__animate_9mjjy","background":"skeleton__background_9mjjy"};
|
|
5
5
|
require('./index.css');
|
|
6
6
|
|
|
7
7
|
var Skeleton = function (_a) {
|
|
8
8
|
var _b;
|
|
9
|
-
var visible = _a.visible, _c = _a.animate, animate = _c === void 0 ? true : _c, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, style = _a.style;
|
|
9
|
+
var visible = _a.visible, _c = _a.animate, animate = _c === void 0 ? true : _c, className = _a.className, dataTestId = _a.dataTestId, children = _a.children, style = _a.style, allowBackdropBlur = _a.allowBackdropBlur;
|
|
10
10
|
if (visible) {
|
|
11
|
-
return (React.createElement("div", { className: cn(styles.component, (_b = {},
|
|
11
|
+
return (React.createElement("div", { className: cn(styles.component, (_b = {},
|
|
12
|
+
_b[styles.animate] = animate,
|
|
13
|
+
_b[styles.allowBackdropBlur] = allowBackdropBlur,
|
|
14
|
+
_b), className), style: style, "data-test-id": dataTestId }, children));
|
|
12
15
|
}
|
|
13
16
|
return (React.createElement("div", { "data-test-id": dataTestId, className: className, style: style }, children));
|
|
14
17
|
};
|
package/skeleton/esm/index.css
CHANGED
|
@@ -20,11 +20,8 @@
|
|
|
20
20
|
--skeleton-display: block;
|
|
21
21
|
--skeleton-default-color: var(--color-light-neutral-translucent-100);
|
|
22
22
|
--skeleton-border-radius: var(--border-radius-m);
|
|
23
|
-
--skeleton-backdrop-filter:
|
|
24
|
-
|
|
25
|
-
/* experimental animation switcher */
|
|
26
|
-
--skeleton-gradient-animation-display: block;
|
|
27
|
-
--skeleton-bg-animation-display: none;
|
|
23
|
+
--skeleton-backdrop-filter: blur(20px);
|
|
24
|
+
--skeleton-bg-animation-display: block;
|
|
28
25
|
--skeleton-bg-animation-color: transparent;
|
|
29
26
|
} .skeleton__component_9mjjy {
|
|
30
27
|
position: relative;
|
|
@@ -33,13 +30,14 @@
|
|
|
33
30
|
color: transparent;
|
|
34
31
|
border-radius: var(--skeleton-border-radius);
|
|
35
32
|
overflow: hidden;
|
|
36
|
-
-webkit-backdrop-filter: var(--skeleton-backdrop-filter);
|
|
37
|
-
backdrop-filter: var(--skeleton-backdrop-filter);
|
|
38
33
|
background: var(--skeleton-default-color);
|
|
39
34
|
|
|
40
35
|
/* Safari overflow fix https://gist.github.com/ayamflow/b602ab436ac9f05660d9c15190f4fd7b */
|
|
41
|
-
-webkit-mask-image: -webkit-radial-gradient(white, black)
|
|
42
|
-
} .skeleton__component_9mjjy
|
|
36
|
+
-webkit-mask-image: -webkit-radial-gradient(white, black)
|
|
37
|
+
} .skeleton__component_9mjjy.skeleton__allowBackdropBlur_9mjjy {
|
|
38
|
+
-webkit-backdrop-filter: var(--skeleton-backdrop-filter);
|
|
39
|
+
backdrop-filter: var(--skeleton-backdrop-filter);
|
|
40
|
+
} .skeleton__component_9mjjy > * {
|
|
43
41
|
visibility: hidden;
|
|
44
42
|
} .skeleton__component_9mjjy:before {
|
|
45
43
|
content: '';
|
|
@@ -62,42 +60,11 @@
|
|
|
62
60
|
.skeleton__animate_9mjjy:before {
|
|
63
61
|
opacity: 0.4;
|
|
64
62
|
}
|
|
65
|
-
} .skeleton__animate_9mjjy:after {
|
|
66
|
-
display: var(--skeleton-gradient-animation-display);
|
|
67
|
-
content: '';
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0;
|
|
70
|
-
left: 0;
|
|
71
|
-
width: 500%;
|
|
72
|
-
height: 100%;
|
|
73
|
-
transform: translateX(-80%);
|
|
74
|
-
animation-name: skeleton__gradient_9mjjy;
|
|
75
|
-
animation-duration: 2s;
|
|
76
|
-
animation-iteration-count: infinite;
|
|
77
|
-
animation-timing-function: linear;
|
|
78
|
-
background-image: linear-gradient(
|
|
79
|
-
to left,
|
|
80
|
-
rgba(0, 0, 0, 0),
|
|
81
|
-
rgba(0, 0, 0, 0) 40%,
|
|
82
|
-
rgba(0, 0, 0, 0.05) 50%,
|
|
83
|
-
rgba(0, 0, 0, 0) 60%,
|
|
84
|
-
rgba(0, 0, 0, 0)
|
|
85
|
-
);
|
|
86
|
-
} @keyframes skeleton__gradient_9mjjy {
|
|
87
|
-
0% {
|
|
88
|
-
transform: translateX(-80%);
|
|
89
|
-
}
|
|
90
|
-
67% {
|
|
91
|
-
transform: translateX(0);
|
|
92
|
-
}
|
|
93
|
-
100% {
|
|
94
|
-
transform: translateX(0);
|
|
95
|
-
}
|
|
96
63
|
} @keyframes skeleton__background_9mjjy {
|
|
97
64
|
0% {
|
|
98
|
-
background:
|
|
65
|
+
background: var(--color-light-neutral-translucent-100);
|
|
99
66
|
}
|
|
100
67
|
100% {
|
|
101
|
-
background:
|
|
68
|
+
background: var(--color-light-neutral-translucent-300);
|
|
102
69
|
}
|
|
103
70
|
}
|
package/skeleton/index.css
CHANGED
|
@@ -20,11 +20,8 @@
|
|
|
20
20
|
--skeleton-display: block;
|
|
21
21
|
--skeleton-default-color: var(--color-light-neutral-translucent-100);
|
|
22
22
|
--skeleton-border-radius: var(--border-radius-m);
|
|
23
|
-
--skeleton-backdrop-filter:
|
|
24
|
-
|
|
25
|
-
/* experimental animation switcher */
|
|
26
|
-
--skeleton-gradient-animation-display: block;
|
|
27
|
-
--skeleton-bg-animation-display: none;
|
|
23
|
+
--skeleton-backdrop-filter: blur(20px);
|
|
24
|
+
--skeleton-bg-animation-display: block;
|
|
28
25
|
--skeleton-bg-animation-color: transparent;
|
|
29
26
|
} .skeleton__component_9mjjy {
|
|
30
27
|
position: relative;
|
|
@@ -33,13 +30,14 @@
|
|
|
33
30
|
color: transparent;
|
|
34
31
|
border-radius: var(--skeleton-border-radius);
|
|
35
32
|
overflow: hidden;
|
|
36
|
-
-webkit-backdrop-filter: var(--skeleton-backdrop-filter);
|
|
37
|
-
backdrop-filter: var(--skeleton-backdrop-filter);
|
|
38
33
|
background: var(--skeleton-default-color);
|
|
39
34
|
|
|
40
35
|
/* Safari overflow fix https://gist.github.com/ayamflow/b602ab436ac9f05660d9c15190f4fd7b */
|
|
41
|
-
-webkit-mask-image: -webkit-radial-gradient(white, black)
|
|
42
|
-
} .skeleton__component_9mjjy
|
|
36
|
+
-webkit-mask-image: -webkit-radial-gradient(white, black)
|
|
37
|
+
} .skeleton__component_9mjjy.skeleton__allowBackdropBlur_9mjjy {
|
|
38
|
+
-webkit-backdrop-filter: var(--skeleton-backdrop-filter);
|
|
39
|
+
backdrop-filter: var(--skeleton-backdrop-filter);
|
|
40
|
+
} .skeleton__component_9mjjy > * {
|
|
43
41
|
visibility: hidden;
|
|
44
42
|
} .skeleton__component_9mjjy:before {
|
|
45
43
|
content: '';
|
|
@@ -62,42 +60,11 @@
|
|
|
62
60
|
.skeleton__animate_9mjjy:before {
|
|
63
61
|
opacity: 0.4;
|
|
64
62
|
}
|
|
65
|
-
} .skeleton__animate_9mjjy:after {
|
|
66
|
-
display: var(--skeleton-gradient-animation-display);
|
|
67
|
-
content: '';
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0;
|
|
70
|
-
left: 0;
|
|
71
|
-
width: 500%;
|
|
72
|
-
height: 100%;
|
|
73
|
-
transform: translateX(-80%);
|
|
74
|
-
animation-name: skeleton__gradient_9mjjy;
|
|
75
|
-
animation-duration: 2s;
|
|
76
|
-
animation-iteration-count: infinite;
|
|
77
|
-
animation-timing-function: linear;
|
|
78
|
-
background-image: linear-gradient(
|
|
79
|
-
to left,
|
|
80
|
-
rgba(0, 0, 0, 0),
|
|
81
|
-
rgba(0, 0, 0, 0) 40%,
|
|
82
|
-
rgba(0, 0, 0, 0.05) 50%,
|
|
83
|
-
rgba(0, 0, 0, 0) 60%,
|
|
84
|
-
rgba(0, 0, 0, 0)
|
|
85
|
-
);
|
|
86
|
-
} @keyframes skeleton__gradient_9mjjy {
|
|
87
|
-
0% {
|
|
88
|
-
transform: translateX(-80%);
|
|
89
|
-
}
|
|
90
|
-
67% {
|
|
91
|
-
transform: translateX(0);
|
|
92
|
-
}
|
|
93
|
-
100% {
|
|
94
|
-
transform: translateX(0);
|
|
95
|
-
}
|
|
96
63
|
} @keyframes skeleton__background_9mjjy {
|
|
97
64
|
0% {
|
|
98
|
-
background:
|
|
65
|
+
background: var(--color-light-neutral-translucent-100);
|
|
99
66
|
}
|
|
100
67
|
100% {
|
|
101
|
-
background:
|
|
68
|
+
background: var(--color-light-neutral-translucent-300);
|
|
102
69
|
}
|
|
103
70
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
const styles = {"component":"skeleton__component_9mjjy","
|
|
4
|
+
const styles = {"component":"skeleton__component_9mjjy","allowBackdropBlur":"skeleton__allowBackdropBlur_9mjjy","animate":"skeleton__animate_9mjjy","background":"skeleton__background_9mjjy"};
|
|
5
5
|
require('./index.css');
|
|
6
6
|
|
|
7
|
-
const Skeleton = ({ visible, animate = true, className, dataTestId, children, style, }) => {
|
|
7
|
+
const Skeleton = ({ visible, animate = true, className, dataTestId, children, style, allowBackdropBlur, }) => {
|
|
8
8
|
if (visible) {
|
|
9
|
-
return (React.createElement("div", { className: cn(styles.component, {
|
|
9
|
+
return (React.createElement("div", { className: cn(styles.component, {
|
|
10
|
+
[styles.animate]: animate,
|
|
11
|
+
[styles.allowBackdropBlur]: allowBackdropBlur,
|
|
12
|
+
}, className), style: style, "data-test-id": dataTestId }, children));
|
|
10
13
|
}
|
|
11
14
|
return (React.createElement("div", { "data-test-id": dataTestId, className: className, style: style }, children));
|
|
12
15
|
};
|
|
@@ -20,11 +20,8 @@
|
|
|
20
20
|
--skeleton-display: block;
|
|
21
21
|
--skeleton-default-color: var(--color-light-neutral-translucent-100);
|
|
22
22
|
--skeleton-border-radius: var(--border-radius-m);
|
|
23
|
-
--skeleton-backdrop-filter:
|
|
24
|
-
|
|
25
|
-
/* experimental animation switcher */
|
|
26
|
-
--skeleton-gradient-animation-display: block;
|
|
27
|
-
--skeleton-bg-animation-display: none;
|
|
23
|
+
--skeleton-backdrop-filter: blur(20px);
|
|
24
|
+
--skeleton-bg-animation-display: block;
|
|
28
25
|
--skeleton-bg-animation-color: transparent;
|
|
29
26
|
} .skeleton__component_9mjjy {
|
|
30
27
|
position: relative;
|
|
@@ -33,13 +30,14 @@
|
|
|
33
30
|
color: transparent;
|
|
34
31
|
border-radius: var(--skeleton-border-radius);
|
|
35
32
|
overflow: hidden;
|
|
36
|
-
-webkit-backdrop-filter: var(--skeleton-backdrop-filter);
|
|
37
|
-
backdrop-filter: var(--skeleton-backdrop-filter);
|
|
38
33
|
background: var(--skeleton-default-color);
|
|
39
34
|
|
|
40
35
|
/* Safari overflow fix https://gist.github.com/ayamflow/b602ab436ac9f05660d9c15190f4fd7b */
|
|
41
|
-
-webkit-mask-image: -webkit-radial-gradient(white, black)
|
|
42
|
-
} .skeleton__component_9mjjy
|
|
36
|
+
-webkit-mask-image: -webkit-radial-gradient(white, black)
|
|
37
|
+
} .skeleton__component_9mjjy.skeleton__allowBackdropBlur_9mjjy {
|
|
38
|
+
-webkit-backdrop-filter: var(--skeleton-backdrop-filter);
|
|
39
|
+
backdrop-filter: var(--skeleton-backdrop-filter);
|
|
40
|
+
} .skeleton__component_9mjjy > * {
|
|
43
41
|
visibility: hidden;
|
|
44
42
|
} .skeleton__component_9mjjy:before {
|
|
45
43
|
content: '';
|
|
@@ -62,42 +60,11 @@
|
|
|
62
60
|
.skeleton__animate_9mjjy:before {
|
|
63
61
|
opacity: 0.4;
|
|
64
62
|
}
|
|
65
|
-
} .skeleton__animate_9mjjy:after {
|
|
66
|
-
display: var(--skeleton-gradient-animation-display);
|
|
67
|
-
content: '';
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0;
|
|
70
|
-
left: 0;
|
|
71
|
-
width: 500%;
|
|
72
|
-
height: 100%;
|
|
73
|
-
transform: translateX(-80%);
|
|
74
|
-
animation-name: skeleton__gradient_9mjjy;
|
|
75
|
-
animation-duration: 2s;
|
|
76
|
-
animation-iteration-count: infinite;
|
|
77
|
-
animation-timing-function: linear;
|
|
78
|
-
background-image: linear-gradient(
|
|
79
|
-
to left,
|
|
80
|
-
rgba(0, 0, 0, 0),
|
|
81
|
-
rgba(0, 0, 0, 0) 40%,
|
|
82
|
-
rgba(0, 0, 0, 0.05) 50%,
|
|
83
|
-
rgba(0, 0, 0, 0) 60%,
|
|
84
|
-
rgba(0, 0, 0, 0)
|
|
85
|
-
);
|
|
86
|
-
} @keyframes skeleton__gradient_9mjjy {
|
|
87
|
-
0% {
|
|
88
|
-
transform: translateX(-80%);
|
|
89
|
-
}
|
|
90
|
-
67% {
|
|
91
|
-
transform: translateX(0);
|
|
92
|
-
}
|
|
93
|
-
100% {
|
|
94
|
-
transform: translateX(0);
|
|
95
|
-
}
|
|
96
63
|
} @keyframes skeleton__background_9mjjy {
|
|
97
64
|
0% {
|
|
98
|
-
background:
|
|
65
|
+
background: var(--color-light-neutral-translucent-100);
|
|
99
66
|
}
|
|
100
67
|
100% {
|
|
101
|
-
background:
|
|
68
|
+
background: var(--color-light-neutral-translucent-300);
|
|
102
69
|
}
|
|
103
70
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { StatusBadgeCustomIcon, StatusBadgeSizes, StatusBadgeViews } from "./types/statusBadgePropTypes";
|
|
3
4
|
type StatusBadgeProps = {
|
|
4
5
|
/**
|
|
5
6
|
* Дополнительный класс
|
|
@@ -9,7 +10,7 @@ type StatusBadgeProps = {
|
|
|
9
10
|
* Размер компонента
|
|
10
11
|
* @default 24
|
|
11
12
|
*/
|
|
12
|
-
size?:
|
|
13
|
+
size?: StatusBadgeSizes;
|
|
13
14
|
/**
|
|
14
15
|
* Набор цветов для компонента
|
|
15
16
|
*/
|
|
@@ -17,11 +18,15 @@ type StatusBadgeProps = {
|
|
|
17
18
|
/**
|
|
18
19
|
* Вид бейджа.
|
|
19
20
|
*/
|
|
20
|
-
view:
|
|
21
|
+
view: StatusBadgeViews;
|
|
21
22
|
/**
|
|
22
23
|
* Идентификатор для систем автоматизированного тестирования
|
|
23
24
|
*/
|
|
24
25
|
dataTestId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Кастомные иконки
|
|
28
|
+
*/
|
|
29
|
+
customIcons?: StatusBadgeCustomIcon;
|
|
25
30
|
};
|
|
26
|
-
declare const StatusBadge: ({ className, dataTestId, size, view, colors, }: StatusBadgeProps) => React.JSX.Element;
|
|
31
|
+
declare const StatusBadge: ({ className, dataTestId, size, view, colors, customIcons, }: StatusBadgeProps) => React.JSX.Element;
|
|
27
32
|
export { StatusBadgeProps, StatusBadge };
|
|
@@ -2,19 +2,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var cn = require('classnames');
|
|
5
|
-
var
|
|
6
|
-
var CheckmarkCompactSIcon = require('@alfalab/icons-glyph/CheckmarkCompactSIcon');
|
|
7
|
-
var ClockHandsCompactMIcon = require('@alfalab/icons-glyph/ClockHandsCompactMIcon');
|
|
8
|
-
var ClockHandsCompactSIcon = require('@alfalab/icons-glyph/ClockHandsCompactSIcon');
|
|
9
|
-
var CrossCompactMIcon = require('@alfalab/icons-glyph/CrossCompactMIcon');
|
|
10
|
-
var CrossCompactSIcon = require('@alfalab/icons-glyph/CrossCompactSIcon');
|
|
11
|
-
var ExclamationCompactMIcon = require('@alfalab/icons-glyph/ExclamationCompactMIcon');
|
|
12
|
-
var ExclamationCompactSIcon = require('@alfalab/icons-glyph/ExclamationCompactSIcon');
|
|
13
|
-
var InformationCompactMIcon = require('@alfalab/icons-glyph/InformationCompactMIcon');
|
|
14
|
-
var InformationCompactSIcon = require('@alfalab/icons-glyph/InformationCompactSIcon');
|
|
15
|
-
var StopBrickCompactMIcon = require('@alfalab/icons-glyph/StopBrickCompactMIcon');
|
|
16
|
-
var StopBrickMIcon = require('@alfalab/icons-glyph/StopBrickMIcon');
|
|
17
|
-
var StopBrickSIcon = require('@alfalab/icons-glyph/StopBrickSIcon');
|
|
5
|
+
var hooks_useStatusBadgeIcon = require('./hooks/useStatusBadgeIcon.js');
|
|
18
6
|
|
|
19
7
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
20
8
|
|
|
@@ -34,67 +22,9 @@ var colorStyles = {
|
|
|
34
22
|
default: defaultColors,
|
|
35
23
|
inverted: invertedColors,
|
|
36
24
|
};
|
|
37
|
-
var ICON_MAP = {
|
|
38
|
-
'positive-checkmark': {
|
|
39
|
-
16: CheckmarkCompactSIcon.CheckmarkCompactSIcon,
|
|
40
|
-
20: CheckmarkCompactSIcon.CheckmarkCompactSIcon,
|
|
41
|
-
24: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
|
|
42
|
-
32: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
|
|
43
|
-
40: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
|
|
44
|
-
},
|
|
45
|
-
'negative-cross': {
|
|
46
|
-
16: CrossCompactSIcon.CrossCompactSIcon,
|
|
47
|
-
20: CrossCompactSIcon.CrossCompactSIcon,
|
|
48
|
-
24: CrossCompactMIcon.CrossCompactMIcon,
|
|
49
|
-
32: CrossCompactMIcon.CrossCompactMIcon,
|
|
50
|
-
40: CrossCompactMIcon.CrossCompactMIcon,
|
|
51
|
-
},
|
|
52
|
-
'negative-alert': {
|
|
53
|
-
16: ExclamationCompactSIcon.ExclamationCompactSIcon,
|
|
54
|
-
20: ExclamationCompactSIcon.ExclamationCompactSIcon,
|
|
55
|
-
24: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
56
|
-
32: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
57
|
-
40: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
58
|
-
},
|
|
59
|
-
'negative-block': {
|
|
60
|
-
16: StopBrickSIcon.StopBrickSIcon,
|
|
61
|
-
20: StopBrickSIcon.StopBrickSIcon,
|
|
62
|
-
24: StopBrickCompactMIcon.StopBrickCompactMIcon,
|
|
63
|
-
32: StopBrickMIcon.StopBrickMIcon,
|
|
64
|
-
40: StopBrickMIcon.StopBrickMIcon,
|
|
65
|
-
},
|
|
66
|
-
'attention-alert': {
|
|
67
|
-
16: ExclamationCompactSIcon.ExclamationCompactSIcon,
|
|
68
|
-
20: ExclamationCompactSIcon.ExclamationCompactSIcon,
|
|
69
|
-
24: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
70
|
-
32: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
71
|
-
40: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
72
|
-
},
|
|
73
|
-
'neutral-information': {
|
|
74
|
-
16: InformationCompactSIcon.InformationCompactSIcon,
|
|
75
|
-
20: InformationCompactSIcon.InformationCompactSIcon,
|
|
76
|
-
24: InformationCompactMIcon.InformationCompactMIcon,
|
|
77
|
-
32: InformationCompactMIcon.InformationCompactMIcon,
|
|
78
|
-
40: InformationCompactMIcon.InformationCompactMIcon,
|
|
79
|
-
},
|
|
80
|
-
'neutral-operation': {
|
|
81
|
-
16: ClockHandsCompactSIcon.ClockHandsCompactSIcon,
|
|
82
|
-
20: ClockHandsCompactSIcon.ClockHandsCompactSIcon,
|
|
83
|
-
24: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
|
|
84
|
-
32: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
|
|
85
|
-
40: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
|
|
86
|
-
},
|
|
87
|
-
'neutral-cross': {
|
|
88
|
-
16: CrossCompactSIcon.CrossCompactSIcon,
|
|
89
|
-
20: CrossCompactSIcon.CrossCompactSIcon,
|
|
90
|
-
24: CrossCompactMIcon.CrossCompactMIcon,
|
|
91
|
-
32: CrossCompactMIcon.CrossCompactMIcon,
|
|
92
|
-
40: CrossCompactMIcon.CrossCompactMIcon,
|
|
93
|
-
},
|
|
94
|
-
};
|
|
95
25
|
var StatusBadge = function (_a) {
|
|
96
|
-
var className = _a.className, dataTestId = _a.dataTestId, _b = _a.size, size = _b === void 0 ? 24 : _b, view = _a.view, _c = _a.colors, colors = _c === void 0 ? 'default' : _c;
|
|
97
|
-
var Icon =
|
|
26
|
+
var className = _a.className, dataTestId = _a.dataTestId, _b = _a.size, size = _b === void 0 ? 24 : _b, view = _a.view, _c = _a.colors, colors = _c === void 0 ? 'default' : _c, customIcons = _a.customIcons;
|
|
27
|
+
var Icon = hooks_useStatusBadgeIcon.useStatusBadgeIcon(view, size, customIcons).Icon;
|
|
98
28
|
return (React__default.default.createElement("div", { className: cn__default.default(styles.component, className, styles["size-".concat(size)], colorStyles[colors].component, colorStyles[colors][view]), "data-test-id": dataTestId },
|
|
99
29
|
React__default.default.createElement(Icon, null)));
|
|
100
30
|
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
+
|
|
3
|
+
var CheckmarkCompactMIcon = require('@alfalab/icons-glyph/CheckmarkCompactMIcon');
|
|
4
|
+
var CheckmarkCompactSIcon = require('@alfalab/icons-glyph/CheckmarkCompactSIcon');
|
|
5
|
+
var ClockHandsCompactMIcon = require('@alfalab/icons-glyph/ClockHandsCompactMIcon');
|
|
6
|
+
var ClockHandsCompactSIcon = require('@alfalab/icons-glyph/ClockHandsCompactSIcon');
|
|
7
|
+
var CrossCompactMIcon = require('@alfalab/icons-glyph/CrossCompactMIcon');
|
|
8
|
+
var CrossCompactSIcon = require('@alfalab/icons-glyph/CrossCompactSIcon');
|
|
9
|
+
var ExclamationCompactMIcon = require('@alfalab/icons-glyph/ExclamationCompactMIcon');
|
|
10
|
+
var ExclamationCompactSIcon = require('@alfalab/icons-glyph/ExclamationCompactSIcon');
|
|
11
|
+
var InformationCompactMIcon = require('@alfalab/icons-glyph/InformationCompactMIcon');
|
|
12
|
+
var InformationCompactSIcon = require('@alfalab/icons-glyph/InformationCompactSIcon');
|
|
13
|
+
var StopBrickCompactMIcon = require('@alfalab/icons-glyph/StopBrickCompactMIcon');
|
|
14
|
+
var StopBrickMIcon = require('@alfalab/icons-glyph/StopBrickMIcon');
|
|
15
|
+
var StopBrickSIcon = require('@alfalab/icons-glyph/StopBrickSIcon');
|
|
16
|
+
|
|
17
|
+
var ICON_MAP = {
|
|
18
|
+
'positive-checkmark': {
|
|
19
|
+
16: CheckmarkCompactSIcon.CheckmarkCompactSIcon,
|
|
20
|
+
20: CheckmarkCompactSIcon.CheckmarkCompactSIcon,
|
|
21
|
+
24: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
|
|
22
|
+
32: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
|
|
23
|
+
40: CheckmarkCompactMIcon.CheckmarkCompactMIcon,
|
|
24
|
+
},
|
|
25
|
+
'negative-cross': {
|
|
26
|
+
16: CrossCompactSIcon.CrossCompactSIcon,
|
|
27
|
+
20: CrossCompactSIcon.CrossCompactSIcon,
|
|
28
|
+
24: CrossCompactMIcon.CrossCompactMIcon,
|
|
29
|
+
32: CrossCompactMIcon.CrossCompactMIcon,
|
|
30
|
+
40: CrossCompactMIcon.CrossCompactMIcon,
|
|
31
|
+
},
|
|
32
|
+
'negative-alert': {
|
|
33
|
+
16: ExclamationCompactSIcon.ExclamationCompactSIcon,
|
|
34
|
+
20: ExclamationCompactSIcon.ExclamationCompactSIcon,
|
|
35
|
+
24: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
36
|
+
32: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
37
|
+
40: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
38
|
+
},
|
|
39
|
+
'negative-block': {
|
|
40
|
+
16: StopBrickSIcon.StopBrickSIcon,
|
|
41
|
+
20: StopBrickSIcon.StopBrickSIcon,
|
|
42
|
+
24: StopBrickCompactMIcon.StopBrickCompactMIcon,
|
|
43
|
+
32: StopBrickMIcon.StopBrickMIcon,
|
|
44
|
+
40: StopBrickMIcon.StopBrickMIcon,
|
|
45
|
+
},
|
|
46
|
+
'attention-alert': {
|
|
47
|
+
16: ExclamationCompactSIcon.ExclamationCompactSIcon,
|
|
48
|
+
20: ExclamationCompactSIcon.ExclamationCompactSIcon,
|
|
49
|
+
24: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
50
|
+
32: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
51
|
+
40: ExclamationCompactMIcon.ExclamationCompactMIcon,
|
|
52
|
+
},
|
|
53
|
+
'neutral-information': {
|
|
54
|
+
16: InformationCompactSIcon.InformationCompactSIcon,
|
|
55
|
+
20: InformationCompactSIcon.InformationCompactSIcon,
|
|
56
|
+
24: InformationCompactMIcon.InformationCompactMIcon,
|
|
57
|
+
32: InformationCompactMIcon.InformationCompactMIcon,
|
|
58
|
+
40: InformationCompactMIcon.InformationCompactMIcon,
|
|
59
|
+
},
|
|
60
|
+
'neutral-operation': {
|
|
61
|
+
16: ClockHandsCompactSIcon.ClockHandsCompactSIcon,
|
|
62
|
+
20: ClockHandsCompactSIcon.ClockHandsCompactSIcon,
|
|
63
|
+
24: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
|
|
64
|
+
32: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
|
|
65
|
+
40: ClockHandsCompactMIcon.ClockHandsCompactMIcon,
|
|
66
|
+
},
|
|
67
|
+
'neutral-cross': {
|
|
68
|
+
16: CrossCompactSIcon.CrossCompactSIcon,
|
|
69
|
+
20: CrossCompactSIcon.CrossCompactSIcon,
|
|
70
|
+
24: CrossCompactMIcon.CrossCompactMIcon,
|
|
71
|
+
32: CrossCompactMIcon.CrossCompactMIcon,
|
|
72
|
+
40: CrossCompactMIcon.CrossCompactMIcon,
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
exports.ICON_MAP = ICON_MAP;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { StatusBadgeCustomIcon, StatusBadgeSizes, StatusBadgeViews } from "./types/statusBadgePropTypes";
|
|
3
4
|
type StatusBadgeProps = {
|
|
4
5
|
/**
|
|
5
6
|
* Дополнительный класс
|
|
@@ -9,7 +10,7 @@ type StatusBadgeProps = {
|
|
|
9
10
|
* Размер компонента
|
|
10
11
|
* @default 24
|
|
11
12
|
*/
|
|
12
|
-
size?:
|
|
13
|
+
size?: StatusBadgeSizes;
|
|
13
14
|
/**
|
|
14
15
|
* Набор цветов для компонента
|
|
15
16
|
*/
|
|
@@ -17,11 +18,15 @@ type StatusBadgeProps = {
|
|
|
17
18
|
/**
|
|
18
19
|
* Вид бейджа.
|
|
19
20
|
*/
|
|
20
|
-
view:
|
|
21
|
+
view: StatusBadgeViews;
|
|
21
22
|
/**
|
|
22
23
|
* Идентификатор для систем автоматизированного тестирования
|
|
23
24
|
*/
|
|
24
25
|
dataTestId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Кастомные иконки
|
|
28
|
+
*/
|
|
29
|
+
customIcons?: StatusBadgeCustomIcon;
|
|
25
30
|
};
|
|
26
|
-
declare const StatusBadge: ({ className, dataTestId, size, view, colors, }: StatusBadgeProps) => React.JSX.Element;
|
|
31
|
+
declare const StatusBadge: ({ className, dataTestId, size, view, colors, customIcons, }: StatusBadgeProps) => React.JSX.Element;
|
|
27
32
|
export { StatusBadgeProps, StatusBadge };
|