@alfalab/core-components 45.8.0-beta.3 → 45.8.0-beta.5
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 +7 -3
- package/bottom-sheet/cssm/component.js +6 -2
- package/bottom-sheet/cssm/index.module.css +3 -1
- package/bottom-sheet/esm/component.js +8 -4
- package/bottom-sheet/esm/index.css +3 -1
- package/bottom-sheet/index.css +3 -1
- package/bottom-sheet/modern/component.js +7 -4
- package/bottom-sheet/modern/index.css +3 -1
- 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 +3 -1
- package/calendar-range/views/popover.js +1 -1
- package/calendar-range/views/static.js +1 -1
- package/confirmation/components/screens/initial/component.js +1 -1
- package/confirmation/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/component.responsive.js +1 -1
- package/confirmation/esm/components/base-confirmation/component.js +1 -1
- package/confirmation/esm/components/base-confirmation/index.js +1 -1
- package/confirmation/esm/components/index.js +1 -1
- package/confirmation/esm/components/screens/index.js +1 -1
- package/confirmation/esm/components/screens/initial/component.js +1 -1
- package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/esm/components/screens/initial/index.js +1 -1
- package/confirmation/esm/desktop/component.desktop.js +1 -1
- package/confirmation/esm/desktop/index.js +1 -1
- package/confirmation/esm/index.js +1 -1
- package/confirmation/esm/mobile/component.mobile.js +1 -1
- package/confirmation/esm/mobile/index.js +1 -1
- package/confirmation/esm/shared/index.js +1 -1
- package/confirmation/modern/component.responsive.js +1 -1
- package/confirmation/modern/components/base-confirmation/component.js +1 -1
- package/confirmation/modern/components/base-confirmation/index.js +1 -1
- package/confirmation/modern/components/index.js +1 -1
- package/confirmation/modern/components/screens/index.js +1 -1
- package/confirmation/modern/components/screens/initial/component.js +1 -1
- package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
- package/confirmation/modern/components/screens/initial/index.js +1 -1
- package/confirmation/modern/desktop/component.desktop.js +1 -1
- package/confirmation/modern/desktop/index.js +1 -1
- package/confirmation/modern/index.js +1 -1
- package/confirmation/modern/mobile/component.mobile.js +1 -1
- package/confirmation/modern/mobile/index.js +1 -1
- package/confirmation/modern/shared/index.js +1 -1
- package/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/use-skeleton-1328ead9.d.ts +0 -4
- package/international-phone-input/esm/use-skeleton-1328ead9.d.ts +0 -4
- package/international-phone-input/modern/use-skeleton-1328ead9.d.ts +0 -4
- package/international-phone-input/use-skeleton-1328ead9.d.ts +0 -4
- 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/package.json +1 -1
- package/picker-button/{modern/index-307da6d7.d.ts → cssm/index-a5b021bd.d.ts} +1 -2
- package/picker-button/cssm/use-skeleton-1328ead9.d.ts +0 -4
- package/picker-button/{cssm/index-307da6d7.d.ts → esm/index-a5b021bd.d.ts} +1 -2
- package/picker-button/esm/use-skeleton-1328ead9.d.ts +0 -4
- package/picker-button/{index-307da6d7.d.ts → index-a5b021bd.d.ts} +1 -2
- package/picker-button/{esm/index-307da6d7.d.ts → modern/index-a5b021bd.d.ts} +1 -2
- package/picker-button/modern/use-skeleton-1328ead9.d.ts +0 -4
- package/picker-button/use-skeleton-1328ead9.d.ts +0 -4
- package/pure-cell/component.js +1 -1
- package/pure-cell/components/addon/component.js +1 -1
- package/pure-cell/components/addon/index.d.ts +1 -1
- package/pure-cell/components/addon/index.js +1 -1
- package/pure-cell/components/amount/component.js +1 -1
- package/pure-cell/components/amount/index.d.ts +1 -1
- package/pure-cell/components/amount/index.js +1 -1
- package/pure-cell/components/amount-title/component.js +1 -1
- package/pure-cell/components/amount-title/index.d.ts +1 -1
- package/pure-cell/components/amount-title/index.js +1 -1
- package/pure-cell/components/category/component.js +1 -1
- package/pure-cell/components/category/index.d.ts +1 -1
- package/pure-cell/components/category/index.js +1 -1
- package/pure-cell/components/content/component.js +1 -1
- package/pure-cell/components/content/index.d.ts +1 -1
- package/pure-cell/components/content/index.js +1 -1
- package/pure-cell/components/footer/component.js +1 -1
- package/pure-cell/components/footer/index.d.ts +1 -1
- package/pure-cell/components/footer/index.js +1 -1
- package/pure-cell/components/footer-button/component.js +1 -1
- package/pure-cell/components/footer-button/index.d.ts +1 -1
- package/pure-cell/components/footer-button/index.js +1 -1
- package/pure-cell/components/footer-text/component.js +1 -1
- package/pure-cell/components/footer-text/index.d.ts +1 -1
- package/pure-cell/components/footer-text/index.js +1 -1
- package/pure-cell/components/graphics/component.js +1 -1
- package/pure-cell/components/graphics/index.d.ts +1 -1
- package/pure-cell/components/graphics/index.js +1 -1
- package/pure-cell/components/main/component.js +1 -1
- package/pure-cell/components/main/index.d.ts +1 -1
- package/pure-cell/components/main/index.js +1 -1
- package/pure-cell/components/text/component.js +1 -1
- package/pure-cell/components/text/index.d.ts +1 -1
- package/pure-cell/components/text/index.js +1 -1
- package/pure-cell/esm/component.js +1 -1
- package/pure-cell/esm/components/addon/component.js +1 -1
- package/pure-cell/esm/components/addon/index.d.ts +1 -1
- package/pure-cell/esm/components/addon/index.js +1 -1
- package/pure-cell/esm/components/amount/component.js +1 -1
- package/pure-cell/esm/components/amount/index.d.ts +1 -1
- package/pure-cell/esm/components/amount/index.js +1 -1
- package/pure-cell/esm/components/amount-title/component.js +1 -1
- package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
- package/pure-cell/esm/components/amount-title/index.js +1 -1
- package/pure-cell/esm/components/category/component.js +1 -1
- package/pure-cell/esm/components/category/index.d.ts +1 -1
- package/pure-cell/esm/components/category/index.js +1 -1
- package/pure-cell/esm/components/content/component.js +1 -1
- package/pure-cell/esm/components/content/index.d.ts +1 -1
- package/pure-cell/esm/components/content/index.js +1 -1
- package/pure-cell/esm/components/footer/component.js +1 -1
- package/pure-cell/esm/components/footer/index.d.ts +1 -1
- package/pure-cell/esm/components/footer/index.js +1 -1
- package/pure-cell/esm/components/footer-button/component.js +1 -1
- package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-button/index.js +1 -1
- package/pure-cell/esm/components/footer-text/component.js +1 -1
- package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
- package/pure-cell/esm/components/footer-text/index.js +1 -1
- package/pure-cell/esm/components/graphics/component.js +1 -1
- package/pure-cell/esm/components/graphics/index.d.ts +1 -1
- package/pure-cell/esm/components/graphics/index.js +1 -1
- package/pure-cell/esm/components/main/component.js +1 -1
- package/pure-cell/esm/components/main/index.d.ts +1 -1
- package/pure-cell/esm/components/main/index.js +1 -1
- package/pure-cell/esm/components/text/component.js +1 -1
- package/pure-cell/esm/components/text/index.d.ts +1 -1
- package/pure-cell/esm/components/text/index.js +1 -1
- package/pure-cell/esm/index.js +1 -1
- package/pure-cell/index.js +1 -1
- package/pure-cell/modern/component.js +1 -1
- package/pure-cell/modern/components/addon/component.js +1 -1
- package/pure-cell/modern/components/addon/index.d.ts +1 -1
- package/pure-cell/modern/components/addon/index.js +1 -1
- package/pure-cell/modern/components/amount/component.js +1 -1
- package/pure-cell/modern/components/amount/index.d.ts +1 -1
- package/pure-cell/modern/components/amount/index.js +1 -1
- package/pure-cell/modern/components/amount-title/component.js +1 -1
- package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
- package/pure-cell/modern/components/amount-title/index.js +1 -1
- package/pure-cell/modern/components/category/component.js +1 -1
- package/pure-cell/modern/components/category/index.d.ts +1 -1
- package/pure-cell/modern/components/category/index.js +1 -1
- package/pure-cell/modern/components/content/component.js +1 -1
- package/pure-cell/modern/components/content/index.d.ts +1 -1
- package/pure-cell/modern/components/content/index.js +1 -1
- package/pure-cell/modern/components/footer/component.js +1 -1
- package/pure-cell/modern/components/footer/index.d.ts +1 -1
- package/pure-cell/modern/components/footer/index.js +1 -1
- package/pure-cell/modern/components/footer-button/component.js +1 -1
- package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-button/index.js +1 -1
- package/pure-cell/modern/components/footer-text/component.js +1 -1
- package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
- package/pure-cell/modern/components/footer-text/index.js +1 -1
- package/pure-cell/modern/components/graphics/component.js +1 -1
- package/pure-cell/modern/components/graphics/index.d.ts +1 -1
- package/pure-cell/modern/components/graphics/index.js +1 -1
- package/pure-cell/modern/components/main/component.js +1 -1
- package/pure-cell/modern/components/main/index.d.ts +1 -1
- package/pure-cell/modern/components/main/index.js +1 -1
- package/pure-cell/modern/components/text/component.js +1 -1
- package/pure-cell/modern/components/text/index.d.ts +1 -1
- package/pure-cell/modern/components/text/index.js +1 -1
- package/pure-cell/modern/index.js +1 -1
- package/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/index.d.ts +0 -1
- package/shared/cssm/index.js +0 -2
- package/shared/esm/index.d.ts +0 -1
- package/shared/esm/index.js +0 -1
- package/shared/index.d.ts +0 -1
- package/shared/index.js +0 -2
- package/shared/modern/index.d.ts +0 -1
- package/shared/modern/index.js +0 -1
- package/skeleton/Component.d.ts +0 -4
- package/skeleton/Component.js +3 -6
- package/skeleton/cssm/Component.d.ts +0 -4
- package/skeleton/cssm/Component.js +2 -5
- package/skeleton/cssm/index.module.css +42 -9
- package/skeleton/esm/Component.d.ts +0 -4
- package/skeleton/esm/Component.js +3 -6
- package/skeleton/esm/index.css +42 -9
- package/skeleton/index.css +42 -9
- package/skeleton/modern/Component.d.ts +0 -4
- package/skeleton/modern/Component.js +3 -6
- package/skeleton/modern/index.css +42 -9
- package/status-badge/Component.d.ts +3 -8
- package/status-badge/Component.js +73 -3
- package/status-badge/cssm/Component.d.ts +3 -8
- package/status-badge/cssm/Component.js +73 -3
- package/status-badge/cssm/index.d.ts +0 -1
- package/status-badge/esm/Component.d.ts +3 -8
- package/status-badge/esm/Component.js +73 -18
- package/status-badge/esm/index.d.ts +0 -1
- package/status-badge/esm/index.js +0 -3
- package/status-badge/index.d.ts +0 -1
- package/status-badge/modern/Component.d.ts +3 -8
- package/status-badge/modern/Component.js +73 -17
- package/status-badge/modern/index.d.ts +0 -1
- package/status-badge/modern/index.js +0 -2
- package/tab-bar/Component.js +3 -7
- package/tab-bar/components/tab/Component.js +5 -9
- package/tab-bar/components/tab/index.css +2 -5
- package/tab-bar/cssm/Component.js +2 -6
- package/tab-bar/cssm/components/tab/Component.js +4 -8
- package/tab-bar/cssm/components/tab/index.module.css +2 -5
- package/tab-bar/cssm/index.module.css +7 -9
- package/tab-bar/cssm/types.d.ts +3 -11
- package/tab-bar/esm/Component.js +4 -9
- package/tab-bar/esm/components/tab/Component.js +5 -9
- package/tab-bar/esm/components/tab/index.css +2 -5
- package/tab-bar/esm/components/tab/index.js +1 -2
- package/tab-bar/esm/index.css +7 -9
- package/tab-bar/esm/index.js +1 -2
- package/tab-bar/esm/types.d.ts +3 -11
- package/tab-bar/index.css +7 -9
- package/tab-bar/modern/Component.js +4 -9
- package/tab-bar/modern/components/tab/Component.js +5 -9
- package/tab-bar/modern/components/tab/index.css +2 -5
- package/tab-bar/modern/components/tab/index.js +1 -2
- package/tab-bar/modern/index.css +7 -9
- package/tab-bar/modern/index.js +1 -2
- package/tab-bar/modern/types.d.ts +3 -11
- package/tab-bar/types.d.ts +3 -11
- package/themes/click.css +6 -0
- package/themes/compiled/mobile-dark-bluetint.css +228 -79
- package/themes/mixins/click.css +2 -0
- package/themes/mixins/skeleton/click.css +8 -0
- package/themes/skeleton/click.css +8 -0
- package/toast-plate/components/base-toast-plate/component.d.ts +12 -9
- package/toast-plate/components/base-toast-plate/component.js +14 -16
- package/toast-plate/cssm/components/base-toast-plate/component.d.ts +12 -9
- package/toast-plate/cssm/components/base-toast-plate/component.js +14 -16
- package/toast-plate/esm/Component.responsive.js +4 -6
- package/toast-plate/esm/components/base-toast-plate/component.d.ts +12 -9
- package/toast-plate/esm/components/base-toast-plate/component.js +14 -16
- package/toast-plate/esm/components/base-toast-plate/index.js +4 -6
- package/toast-plate/esm/desktop/Component.desktop.js +4 -6
- package/toast-plate/esm/desktop/index.js +4 -6
- package/toast-plate/esm/index.js +4 -6
- package/toast-plate/esm/mobile/Component.mobile.js +4 -6
- package/toast-plate/esm/mobile/index.js +4 -6
- package/toast-plate/modern/Component.responsive.js +4 -6
- package/toast-plate/modern/components/base-toast-plate/component.d.ts +12 -9
- package/toast-plate/modern/components/base-toast-plate/component.js +14 -16
- package/toast-plate/modern/components/base-toast-plate/index.js +4 -6
- package/toast-plate/modern/desktop/Component.desktop.js +4 -6
- package/toast-plate/modern/desktop/index.js +4 -6
- package/toast-plate/modern/index.js +4 -6
- package/toast-plate/modern/mobile/Component.mobile.js +4 -6
- package/toast-plate/modern/mobile/index.js +4 -6
- 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 +0 -4
- package/universal-date-input/esm/use-skeleton-1328ead9.d.ts +0 -4
- package/universal-date-input/modern/use-skeleton-1328ead9.d.ts +0 -4
- package/universal-date-input/use-skeleton-1328ead9.d.ts +0 -4
- package/notification/browser-a216f694.d.ts +0 -6
- package/notification/cssm/browser-a216f694.d.ts +0 -6
- package/notification/cssm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/notification/cssm/utils/getNotificationTestIds.d.ts +0 -5
- package/notification/cssm/utils/getNotificationTestIds.js +0 -18
- package/notification/esm/browser-a216f694.d.ts +0 -6
- package/notification/esm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/notification/esm/utils/getNotificationTestIds.d.ts +0 -5
- package/notification/esm/utils/getNotificationTestIds.js +0 -16
- package/notification/modern/browser-a216f694.d.ts +0 -6
- package/notification/modern/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/notification/modern/utils/getNotificationTestIds.d.ts +0 -5
- package/notification/modern/utils/getNotificationTestIds.js +0 -16
- package/notification/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/notification/utils/getNotificationTestIds.d.ts +0 -5
- package/notification/utils/getNotificationTestIds.js +0 -18
- package/shared/cssm/exhaustiveCheck.d.ts +0 -2
- package/shared/cssm/exhaustiveCheck.js +0 -5
- package/shared/esm/exhaustiveCheck.d.ts +0 -2
- package/shared/esm/exhaustiveCheck.js +0 -3
- package/shared/exhaustiveCheck.d.ts +0 -2
- package/shared/exhaustiveCheck.js +0 -5
- package/shared/modern/exhaustiveCheck.d.ts +0 -2
- package/shared/modern/exhaustiveCheck.js +0 -3
- package/status-badge/consts/iconMap.d.ts +0 -4
- package/status-badge/consts/iconMap.js +0 -76
- package/status-badge/cssm/consts/iconMap.d.ts +0 -4
- package/status-badge/cssm/consts/iconMap.js +0 -76
- package/status-badge/cssm/hooks/useStatusBadgeIcon.d.ts +0 -5
- package/status-badge/cssm/hooks/useStatusBadgeIcon.js +0 -21
- package/status-badge/cssm/types/statusBadgePropTypes.d.ts +0 -7
- package/status-badge/cssm/types/statusBadgePropTypes.js +0 -1
- package/status-badge/esm/consts/iconMap.d.ts +0 -4
- package/status-badge/esm/consts/iconMap.js +0 -74
- package/status-badge/esm/hooks/useStatusBadgeIcon.d.ts +0 -5
- package/status-badge/esm/hooks/useStatusBadgeIcon.js +0 -32
- package/status-badge/esm/types/statusBadgePropTypes.d.ts +0 -7
- package/status-badge/esm/types/statusBadgePropTypes.js +0 -1
- package/status-badge/hooks/useStatusBadgeIcon.d.ts +0 -5
- package/status-badge/hooks/useStatusBadgeIcon.js +0 -21
- package/status-badge/modern/consts/iconMap.d.ts +0 -4
- package/status-badge/modern/consts/iconMap.js +0 -74
- package/status-badge/modern/hooks/useStatusBadgeIcon.d.ts +0 -5
- package/status-badge/modern/hooks/useStatusBadgeIcon.js +0 -34
- package/status-badge/modern/types/statusBadgePropTypes.d.ts +0 -7
- package/status-badge/modern/types/statusBadgePropTypes.js +0 -1
- package/status-badge/types/statusBadgePropTypes.d.ts +0 -7
- package/status-badge/types/statusBadgePropTypes.js +0 -1
- package/tab-bar/consts.d.ts +0 -9
- package/tab-bar/consts.js +0 -13
- package/tab-bar/cssm/consts.d.ts +0 -9
- package/tab-bar/cssm/consts.js +0 -13
- package/tab-bar/esm/consts.d.ts +0 -9
- package/tab-bar/esm/consts.js +0 -10
- package/tab-bar/modern/consts.d.ts +0 -9
- package/tab-bar/modern/consts.js +0 -10
- package/toast-plate/browser-a216f694.d.ts +0 -6
- package/toast-plate/components/base-toast-plate/hooks/useCustomIcons.d.ts +0 -6
- package/toast-plate/components/base-toast-plate/hooks/useCustomIcons.js +0 -13
- package/toast-plate/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +0 -7
- package/toast-plate/components/base-toast-plate/hooks/useDeprecatedBadge.js +0 -26
- package/toast-plate/components/base-toast-plate/types/unsafeBadgeProps.d.ts +0 -6
- package/toast-plate/components/base-toast-plate/types/unsafeBadgeProps.js +0 -1
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +0 -5
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +0 -14
- package/toast-plate/components/base-toast-plate/utils/isUnsafeBadge.d.ts +0 -5
- package/toast-plate/components/base-toast-plate/utils/isUnsafeBadge.js +0 -8
- package/toast-plate/cssm/browser-a216f694.d.ts +0 -6
- package/toast-plate/cssm/components/base-toast-plate/hooks/useCustomIcons.d.ts +0 -6
- package/toast-plate/cssm/components/base-toast-plate/hooks/useCustomIcons.js +0 -13
- package/toast-plate/cssm/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +0 -7
- package/toast-plate/cssm/components/base-toast-plate/hooks/useDeprecatedBadge.js +0 -26
- package/toast-plate/cssm/components/base-toast-plate/types/unsafeBadgeProps.d.ts +0 -6
- package/toast-plate/cssm/components/base-toast-plate/types/unsafeBadgeProps.js +0 -1
- package/toast-plate/cssm/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +0 -5
- package/toast-plate/cssm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +0 -14
- package/toast-plate/cssm/components/base-toast-plate/utils/isUnsafeBadge.d.ts +0 -5
- package/toast-plate/cssm/components/base-toast-plate/utils/isUnsafeBadge.js +0 -8
- package/toast-plate/cssm/getDataTestId-73ea38f8.d.ts +0 -3
- package/toast-plate/cssm/getDataTestId-73ea38f8.js +0 -6
- package/toast-plate/cssm/index-307da6d7.d.ts +0 -71
- package/toast-plate/cssm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/toast-plate/esm/browser-a216f694.d.ts +0 -6
- package/toast-plate/esm/components/base-toast-plate/hooks/useCustomIcons.d.ts +0 -6
- package/toast-plate/esm/components/base-toast-plate/hooks/useCustomIcons.js +0 -11
- package/toast-plate/esm/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +0 -7
- package/toast-plate/esm/components/base-toast-plate/hooks/useDeprecatedBadge.js +0 -24
- package/toast-plate/esm/components/base-toast-plate/types/unsafeBadgeProps.d.ts +0 -6
- package/toast-plate/esm/components/base-toast-plate/types/unsafeBadgeProps.js +0 -1
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +0 -5
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +0 -12
- package/toast-plate/esm/components/base-toast-plate/utils/isUnsafeBadge.d.ts +0 -5
- package/toast-plate/esm/components/base-toast-plate/utils/isUnsafeBadge.js +0 -6
- package/toast-plate/esm/getDataTestId-b3cf0f77.d.ts +0 -3
- package/toast-plate/esm/getDataTestId-b3cf0f77.js +0 -6
- package/toast-plate/esm/index-307da6d7.d.ts +0 -71
- package/toast-plate/esm/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/toast-plate/getDataTestId-439ac98c.d.ts +0 -3
- package/toast-plate/getDataTestId-439ac98c.js +0 -6
- package/toast-plate/index-307da6d7.d.ts +0 -71
- package/toast-plate/modern/browser-a216f694.d.ts +0 -6
- package/toast-plate/modern/components/base-toast-plate/hooks/useCustomIcons.d.ts +0 -6
- package/toast-plate/modern/components/base-toast-plate/hooks/useCustomIcons.js +0 -11
- package/toast-plate/modern/components/base-toast-plate/hooks/useDeprecatedBadge.d.ts +0 -7
- package/toast-plate/modern/components/base-toast-plate/hooks/useDeprecatedBadge.js +0 -24
- package/toast-plate/modern/components/base-toast-plate/types/unsafeBadgeProps.d.ts +0 -6
- package/toast-plate/modern/components/base-toast-plate/types/unsafeBadgeProps.js +0 -1
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.d.ts +0 -5
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +0 -12
- package/toast-plate/modern/components/base-toast-plate/utils/isUnsafeBadge.d.ts +0 -5
- package/toast-plate/modern/components/base-toast-plate/utils/isUnsafeBadge.js +0 -4
- package/toast-plate/modern/getDataTestId-8aa8ef85.d.ts +0 -3
- package/toast-plate/modern/getDataTestId-8aa8ef85.js +0 -6
- package/toast-plate/modern/index-307da6d7.d.ts +0 -71
- package/toast-plate/modern/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- package/toast-plate/useCustomWebkitScrollbar-a216f694.d.ts +0 -2
- /package/calendar-range/esm/{index.module-912e88cf.js → index.module-7ba85cb1.js} +0 -0
- /package/calendar-range/{index.module-bf0591f0.js → index.module-c6ded4a2.js} +0 -0
- /package/calendar-range/modern/{index.module-636e08a2.js → index.module-0604d154.js} +0 -0
- /package/confirmation/{countdown-section-b30d5212.d.ts → countdown-section-5581379b.d.ts} +0 -0
- /package/confirmation/{countdown-section-b30d5212.js → countdown-section-5581379b.js} +0 -0
- /package/confirmation/esm/{countdown-section-c4f73a77.d.ts → countdown-section-2f02c020.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-c4f73a77.js → countdown-section-2f02c020.js} +0 -0
- /package/confirmation/modern/{countdown-section-f3215ad8.d.ts → countdown-section-27ad8a44.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-f3215ad8.js → countdown-section-27ad8a44.js} +0 -0
- /package/gallery/{buttons-19c30d23.d.ts → buttons-160fdb5a.d.ts} +0 -0
- /package/gallery/{buttons-19c30d23.js → buttons-160fdb5a.js} +0 -0
- /package/gallery/esm/{buttons-37ed3ab5.d.ts → buttons-f951e5ce.d.ts} +0 -0
- /package/gallery/esm/{buttons-37ed3ab5.js → buttons-f951e5ce.js} +0 -0
- /package/gallery/esm/{slide-8d1299a5.d.ts → slide-3595abb4.d.ts} +0 -0
- /package/gallery/esm/{slide-8d1299a5.js → slide-3595abb4.js} +0 -0
- /package/gallery/modern/{buttons-92efe05c.d.ts → buttons-a3ff616b.d.ts} +0 -0
- /package/gallery/modern/{buttons-92efe05c.js → buttons-a3ff616b.js} +0 -0
- /package/gallery/modern/{slide-57aa7661.d.ts → slide-acb49e8e.d.ts} +0 -0
- /package/gallery/modern/{slide-57aa7661.js → slide-acb49e8e.js} +0 -0
- /package/gallery/{slide-45ca49f1.d.ts → slide-2268997b.d.ts} +0 -0
- /package/gallery/{slide-45ca49f1.js → slide-2268997b.js} +0 -0
- /package/modal/esm/{layout.module-b635b128.js → layout.module-ec4a90b6.js} +0 -0
- /package/modal/{layout.module-34149103.js → layout.module-0786cc33.js} +0 -0
- /package/modal/modern/{layout.module-41e8947b.js → layout.module-8379050e.js} +0 -0
- /package/picker-button/{Component-307da6d7.d.ts → Component-a5b021bd.d.ts} +0 -0
- /package/picker-button/cssm/{Component-307da6d7.d.ts → Component-a5b021bd.d.ts} +0 -0
- /package/picker-button/esm/{Component-307da6d7.d.ts → Component-a5b021bd.d.ts} +0 -0
- /package/picker-button/modern/{Component-307da6d7.d.ts → Component-a5b021bd.d.ts} +0 -0
- /package/pure-cell/{component-5e8acf12.d.ts → component-911cc97f.d.ts} +0 -0
- /package/pure-cell/{component-5e8acf12.js → component-911cc97f.js} +0 -0
- /package/pure-cell/esm/{component-f28a5631.d.ts → component-53618056.d.ts} +0 -0
- /package/pure-cell/esm/{component-f28a5631.js → component-53618056.js} +0 -0
- /package/pure-cell/modern/{component-10bc9276.d.ts → component-254f4794.d.ts} +0 -0
- /package/pure-cell/modern/{component-10bc9276.js → component-254f4794.js} +0 -0
- /package/select/esm/{hook-c0758dcd.d.ts → hook-234f7a67.d.ts} +0 -0
- /package/select/esm/{hook-c0758dcd.js → hook-234f7a67.js} +0 -0
- /package/select/{hook-10a14b43.d.ts → hook-5f6e7b13.d.ts} +0 -0
- /package/select/{hook-10a14b43.js → hook-5f6e7b13.js} +0 -0
- /package/select/modern/{hook-5ccdb908.d.ts → hook-46a9009f.d.ts} +0 -0
- /package/select/modern/{hook-5ccdb908.js → hook-46a9009f.js} +0 -0
- /package/typography/{colors.module-5b90a9cc.js → colors.module-a11b73e9.js} +0 -0
- /package/typography/{common.module-53a00318.js → common.module-25e7ce83.js} +0 -0
- /package/typography/esm/{colors.module-f2501c6f.js → colors.module-e5414e42.js} +0 -0
- /package/typography/esm/{common.module-04c7810e.js → common.module-bd07cc74.js} +0 -0
- /package/typography/modern/{colors.module-83a4b747.js → colors.module-9fa7fdee.js} +0 -0
- /package/typography/modern/{common.module-278c339a.js → common.module-e73684d9.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AllHTMLAttributes, ElementType, ForwardRefExoticComponent, HTMLAttributes, ReactElement, ReactNode, RefAttributes } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BadgeProps } from "../../badge";
|
|
3
3
|
type TabElementType = ReactElement<TabProps, ForwardRefExoticComponent<TabProps & RefAttributes<HTMLElement>>>;
|
|
4
4
|
interface TabBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
5
5
|
/**
|
|
@@ -48,14 +48,6 @@ interface TabBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
|
48
48
|
* Обработчик изменения выбранного таба
|
|
49
49
|
*/
|
|
50
50
|
onChange?: (id: string) => void;
|
|
51
|
-
/**
|
|
52
|
-
* Цвет активного таба
|
|
53
|
-
*/
|
|
54
|
-
accentColor?: 'primary' | 'secondary';
|
|
55
|
-
/**
|
|
56
|
-
* Цвет фона
|
|
57
|
-
*/
|
|
58
|
-
bgColor?: 'modal-bg-primary' | 'modal-bg-alt-primary';
|
|
59
51
|
}
|
|
60
52
|
type AdditionalTabProps = Record<string, unknown>;
|
|
61
53
|
interface TabProps extends Omit<AllHTMLAttributes<unknown>, 'onChange' | 'label'>, AdditionalTabProps {
|
|
@@ -83,7 +75,7 @@ interface TabProps extends Omit<AllHTMLAttributes<unknown>, 'onChange' | 'label'
|
|
|
83
75
|
/**
|
|
84
76
|
* Свойства индикатора
|
|
85
77
|
*/
|
|
86
|
-
indicatorProps?: Omit<
|
|
78
|
+
indicatorProps?: Omit<BadgeProps, 'view' | 'visibleColorOutline' | 'size' | 'iconColor' | 'iconUnderlayColor'>;
|
|
87
79
|
/**
|
|
88
80
|
* Дополнительный класс таба
|
|
89
81
|
*/
|
|
@@ -101,7 +93,7 @@ interface TabProps extends Omit<AllHTMLAttributes<unknown>, 'onChange' | 'label'
|
|
|
101
93
|
*/
|
|
102
94
|
iconClassName?: string;
|
|
103
95
|
}
|
|
104
|
-
interface PrivateTabProps extends Pick<TabBarProps, 'tabClassNames' | 'onChange' | 'dataTestId'
|
|
96
|
+
interface PrivateTabProps extends Pick<TabBarProps, 'tabClassNames' | 'onChange' | 'dataTestId'> {
|
|
105
97
|
selected: boolean;
|
|
106
98
|
}
|
|
107
99
|
export { TabBarProps, TabProps, PrivateTabProps };
|
package/tab-bar/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AllHTMLAttributes, ElementType, ForwardRefExoticComponent, HTMLAttributes, ReactElement, ReactNode, RefAttributes } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { BadgeProps } from "../badge";
|
|
3
3
|
type TabElementType = ReactElement<TabProps, ForwardRefExoticComponent<TabProps & RefAttributes<HTMLElement>>>;
|
|
4
4
|
interface TabBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
5
5
|
/**
|
|
@@ -48,14 +48,6 @@ interface TabBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
|
48
48
|
* Обработчик изменения выбранного таба
|
|
49
49
|
*/
|
|
50
50
|
onChange?: (id: string) => void;
|
|
51
|
-
/**
|
|
52
|
-
* Цвет активного таба
|
|
53
|
-
*/
|
|
54
|
-
accentColor?: 'primary' | 'secondary';
|
|
55
|
-
/**
|
|
56
|
-
* Цвет фона
|
|
57
|
-
*/
|
|
58
|
-
bgColor?: 'modal-bg-primary' | 'modal-bg-alt-primary';
|
|
59
51
|
}
|
|
60
52
|
type AdditionalTabProps = Record<string, unknown>;
|
|
61
53
|
interface TabProps extends Omit<AllHTMLAttributes<unknown>, 'onChange' | 'label'>, AdditionalTabProps {
|
|
@@ -83,7 +75,7 @@ interface TabProps extends Omit<AllHTMLAttributes<unknown>, 'onChange' | 'label'
|
|
|
83
75
|
/**
|
|
84
76
|
* Свойства индикатора
|
|
85
77
|
*/
|
|
86
|
-
indicatorProps?: Omit<
|
|
78
|
+
indicatorProps?: Omit<BadgeProps, 'view' | 'visibleColorOutline' | 'size' | 'iconColor' | 'iconUnderlayColor'>;
|
|
87
79
|
/**
|
|
88
80
|
* Дополнительный класс таба
|
|
89
81
|
*/
|
|
@@ -101,7 +93,7 @@ interface TabProps extends Omit<AllHTMLAttributes<unknown>, 'onChange' | 'label'
|
|
|
101
93
|
*/
|
|
102
94
|
iconClassName?: string;
|
|
103
95
|
}
|
|
104
|
-
interface PrivateTabProps extends Pick<TabBarProps, 'tabClassNames' | 'onChange' | 'dataTestId'
|
|
96
|
+
interface PrivateTabProps extends Pick<TabBarProps, 'tabClassNames' | 'onChange' | 'dataTestId'> {
|
|
105
97
|
selected: boolean;
|
|
106
98
|
}
|
|
107
99
|
export { TabBarProps, TabProps, PrivateTabProps };
|
package/themes/click.css
CHANGED
|
@@ -1637,6 +1637,12 @@
|
|
|
1637
1637
|
--toast-plate-action-margin: 0;
|
|
1638
1638
|
/* theme */
|
|
1639
1639
|
--list-item-margin: var(--gap-m);
|
|
1640
|
+
/* theme */
|
|
1641
|
+
--skeleton-default-color: transparent;
|
|
1642
|
+
--skeleton-backdrop-filter: blur(20px);
|
|
1643
|
+
--skeleton-gradient-animation-display: none;
|
|
1644
|
+
--skeleton-bg-animation-display: block;
|
|
1645
|
+
--skeleton-bg-animation-color: var(--color-light-graphic-quaternary);
|
|
1640
1646
|
--dropzone-active-cursor: pointer;
|
|
1641
1647
|
--bottom-sheet-header-border-bottom: none;
|
|
1642
1648
|
--bottom-sheet-footer-border-top: none;
|
|
@@ -1,4 +1,23 @@
|
|
|
1
|
-
.
|
|
1
|
+
.backdrop__backdrop_1d6xc {
|
|
2
|
+
-webkit-tap-highlight-color: transparent;
|
|
3
|
+
} .backdrop__appear_1d6xc,
|
|
4
|
+
.backdrop__enter_1d6xc {
|
|
5
|
+
background-color: transparent;
|
|
6
|
+
} .backdrop__appearActive_1d6xc,
|
|
7
|
+
.backdrop__enterActive_1d6xc,
|
|
8
|
+
.backdrop__appearDone_1d6xc,
|
|
9
|
+
.backdrop__enterDone_1d6xc {
|
|
10
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
11
|
+
} .backdrop__exit_1d6xc {
|
|
12
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
13
|
+
} .backdrop__exitActive_1d6xc,
|
|
14
|
+
.backdrop__exitDone_1d6xc {
|
|
15
|
+
background-color: transparent;
|
|
16
|
+
}.card-image__cardImage_1w4ef {
|
|
17
|
+
background: #e7e8ea;
|
|
18
|
+
} .card-image__loaded_1w4ef {
|
|
19
|
+
background: transparent
|
|
20
|
+
}.badge__component_13jfy.badge__background-accent_13jfy {
|
|
2
21
|
background-color: #f83a2a;
|
|
3
22
|
color: rgba(255, 255, 255, 0.94);
|
|
4
23
|
} .badge__component_13jfy.badge__background-specialbg-secondary-transparent_13jfy {
|
|
@@ -58,25 +77,6 @@
|
|
|
58
77
|
background-color: #fff;
|
|
59
78
|
} .badge__dot_13jfy.badge__outlineCount_13jfy {
|
|
60
79
|
border: 1px solid #121213;
|
|
61
|
-
}.card-image__cardImage_1w4ef {
|
|
62
|
-
background: #e7e8ea;
|
|
63
|
-
} .card-image__loaded_1w4ef {
|
|
64
|
-
background: transparent
|
|
65
|
-
}.backdrop__backdrop_1d6xc {
|
|
66
|
-
-webkit-tap-highlight-color: transparent;
|
|
67
|
-
} .backdrop__appear_1d6xc,
|
|
68
|
-
.backdrop__enter_1d6xc {
|
|
69
|
-
background-color: transparent;
|
|
70
|
-
} .backdrop__appearActive_1d6xc,
|
|
71
|
-
.backdrop__enterActive_1d6xc,
|
|
72
|
-
.backdrop__appearDone_1d6xc,
|
|
73
|
-
.backdrop__enterDone_1d6xc {
|
|
74
|
-
background-color: rgba(0, 0, 0, 0.7);
|
|
75
|
-
} .backdrop__exit_1d6xc {
|
|
76
|
-
background-color: rgba(0, 0, 0, 0.7);
|
|
77
|
-
} .backdrop__exitActive_1d6xc,
|
|
78
|
-
.backdrop__exitDone_1d6xc {
|
|
79
|
-
background-color: transparent;
|
|
80
80
|
}.divider__component_qntq7 {
|
|
81
81
|
border-bottom: 1px solid #353539;
|
|
82
82
|
}.dropzone__component_jv68l {
|
|
@@ -168,14 +168,7 @@
|
|
|
168
168
|
background: #fff;
|
|
169
169
|
} .hatching-progress-bar__accent_1g4sq {
|
|
170
170
|
background: #f83a2a;
|
|
171
|
-
}.
|
|
172
|
-
color: rgba(238, 238, 251, 0.55)
|
|
173
|
-
} .icon-view__bg_19x5k {
|
|
174
|
-
fill: #1c1c1e;
|
|
175
|
-
} .icon-view__border_19x5k {
|
|
176
|
-
stroke: rgba(225, 225, 248, 0.09);
|
|
177
|
-
fill: transparent;
|
|
178
|
-
}.indicator__component_11fsk {
|
|
171
|
+
}.indicator__component_11fsk {
|
|
179
172
|
color: rgba(255, 255, 255, 0.94);
|
|
180
173
|
background-color: #f83a2a;
|
|
181
174
|
} .indicator__red_11fsk {
|
|
@@ -193,7 +186,14 @@
|
|
|
193
186
|
color: rgba(255, 255, 255, 0.94)
|
|
194
187
|
} .indicator__grey_11fsk.indicator__border_11fsk {
|
|
195
188
|
outline: 2px solid #121213;
|
|
196
|
-
}
|
|
189
|
+
}.icon-view__component_19x5k {
|
|
190
|
+
color: rgba(238, 238, 251, 0.55)
|
|
191
|
+
} .icon-view__bg_19x5k {
|
|
192
|
+
fill: #1c1c1e;
|
|
193
|
+
} .icon-view__border_19x5k {
|
|
194
|
+
stroke: rgba(225, 225, 248, 0.09);
|
|
195
|
+
fill: transparent;
|
|
196
|
+
}@keyframes loader__blink_1nz23 {
|
|
197
197
|
}.link__primary_1tca1 {
|
|
198
198
|
color: rgba(255, 255, 255, 0.94);
|
|
199
199
|
border-bottom-color: rgba(255, 255, 255, 0.94)
|
|
@@ -290,35 +290,27 @@
|
|
|
290
290
|
background-color: rgba(4, 4, 21, 0.47);
|
|
291
291
|
}.skeleton__component_9mjjy {
|
|
292
292
|
color: transparent;
|
|
293
|
-
background: rgba(214, 214, 229, 0.07)
|
|
293
|
+
background: rgba(214, 214, 229, 0.07);
|
|
294
294
|
} .skeleton__component_9mjjy:before {
|
|
295
295
|
background: transparent;
|
|
296
|
+
} .skeleton__animate_9mjjy:after {
|
|
297
|
+
background-image: linear-gradient(
|
|
298
|
+
to left,
|
|
299
|
+
rgba(0, 0, 0, 0),
|
|
300
|
+
rgba(0, 0, 0, 0) 40%,
|
|
301
|
+
rgba(0, 0, 0, 0.05) 50%,
|
|
302
|
+
rgba(0, 0, 0, 0) 60%,
|
|
303
|
+
rgba(0, 0, 0, 0)
|
|
304
|
+
);
|
|
305
|
+
} @keyframes skeleton__gradient_9mjjy {
|
|
296
306
|
} @keyframes skeleton__background_9mjjy {
|
|
297
307
|
0% {
|
|
298
|
-
background:
|
|
308
|
+
background: rgb(182, 188, 195);
|
|
299
309
|
}
|
|
300
310
|
100% {
|
|
301
|
-
background:
|
|
311
|
+
background: rgb(198, 205, 214);
|
|
302
312
|
}
|
|
303
|
-
}.
|
|
304
|
-
background: rgba(222, 222, 238, 0.13);
|
|
305
|
-
} .slider__component_1qlg3 .noUi-base:hover .noUi-connect {
|
|
306
|
-
background: #f83a2a;
|
|
307
|
-
} .slider__component_1qlg3 .noUi-handle:hover .noUi-touch-area {
|
|
308
|
-
background: #ff503e;
|
|
309
|
-
} .slider__component_1qlg3 .noUi-handle:active .noUi-touch-area {
|
|
310
|
-
background: #fd624e;
|
|
311
|
-
} .slider__component_1qlg3 .noUi-connects {
|
|
312
|
-
background: rgba(222, 222, 238, 0.13);
|
|
313
|
-
} .slider__component_1qlg3 .noUi-connect {
|
|
314
|
-
background: #f83a2a;
|
|
315
|
-
} .slider__component_1qlg3 .noUi-handle {
|
|
316
|
-
border: 2px solid transparent;
|
|
317
|
-
} .slider__component_1qlg3 .noUi-touch-area {
|
|
318
|
-
background: #f83a2a;
|
|
319
|
-
} .slider__component_1qlg3 .noUi-pips {
|
|
320
|
-
color: rgba(238, 238, 251, 0.55);
|
|
321
|
-
}.segmented-control__wrapper_97jjo {
|
|
313
|
+
}.segmented-control__wrapper_97jjo {
|
|
322
314
|
background-color: rgba(225, 225, 248, 0.09);
|
|
323
315
|
} .segmented-control__segment_97jjo.segmented-control__selected_97jjo {
|
|
324
316
|
color: rgba(255, 255, 255, 0.94);
|
|
@@ -352,6 +344,24 @@
|
|
|
352
344
|
color: rgba(3, 3, 6, 0.88)
|
|
353
345
|
} .segmented-control__segment_1ci04:not(:first-child):before {
|
|
354
346
|
background-color: rgba(15, 25, 55, 0.1);
|
|
347
|
+
}.slider__component_1qlg3 .noUi-base:hover .noUi-connects {
|
|
348
|
+
background: rgba(222, 222, 238, 0.13);
|
|
349
|
+
} .slider__component_1qlg3 .noUi-base:hover .noUi-connect {
|
|
350
|
+
background: #f83a2a;
|
|
351
|
+
} .slider__component_1qlg3 .noUi-handle:hover .noUi-touch-area {
|
|
352
|
+
background: #ff503e;
|
|
353
|
+
} .slider__component_1qlg3 .noUi-handle:active .noUi-touch-area {
|
|
354
|
+
background: #fd624e;
|
|
355
|
+
} .slider__component_1qlg3 .noUi-connects {
|
|
356
|
+
background: rgba(222, 222, 238, 0.13);
|
|
357
|
+
} .slider__component_1qlg3 .noUi-connect {
|
|
358
|
+
background: #f83a2a;
|
|
359
|
+
} .slider__component_1qlg3 .noUi-handle {
|
|
360
|
+
border: 2px solid transparent;
|
|
361
|
+
} .slider__component_1qlg3 .noUi-touch-area {
|
|
362
|
+
background: #f83a2a;
|
|
363
|
+
} .slider__component_1qlg3 .noUi-pips {
|
|
364
|
+
color: rgba(238, 238, 251, 0.55);
|
|
355
365
|
}.spinner__component_6d0oa {
|
|
356
366
|
color: #fff;
|
|
357
367
|
}
|
|
@@ -359,34 +369,6 @@
|
|
|
359
369
|
}
|
|
360
370
|
.spinner__component_11jun {
|
|
361
371
|
color: #121213;
|
|
362
|
-
}.status-badge__positive-checkmark_1qjlx {
|
|
363
|
-
background-color: #17d055;
|
|
364
|
-
} .status-badge__negative-cross_1qjlx,
|
|
365
|
-
.status-badge__negative-alert_1qjlx,
|
|
366
|
-
.status-badge__negative-block_1qjlx {
|
|
367
|
-
background-color: #ff4837;
|
|
368
|
-
} .status-badge__attention-alert_1qjlx {
|
|
369
|
-
background-color: #fda136;
|
|
370
|
-
} .status-badge__neutral-information_1qjlx,
|
|
371
|
-
.status-badge__neutral-operation_1qjlx,
|
|
372
|
-
.status-badge__neutral-cross_1qjlx {
|
|
373
|
-
background-color: #898991;
|
|
374
|
-
}
|
|
375
|
-
.status-badge__component_75yw9 {
|
|
376
|
-
color: #fff;
|
|
377
|
-
}
|
|
378
|
-
.status-badge__positive-checkmark_yo7iy {
|
|
379
|
-
background-color: #0cc44d;
|
|
380
|
-
} .status-badge__negative-cross_yo7iy,
|
|
381
|
-
.status-badge__negative-alert_yo7iy,
|
|
382
|
-
.status-badge__negative-block_yo7iy {
|
|
383
|
-
background-color: #ff4837;
|
|
384
|
-
} .status-badge__attention-alert_yo7iy {
|
|
385
|
-
background-color: #fa9313;
|
|
386
|
-
} .status-badge__neutral-information_yo7iy,
|
|
387
|
-
.status-badge__neutral-operation_yo7iy,
|
|
388
|
-
.status-badge__neutral-cross_yo7iy {
|
|
389
|
-
background-color: #898991;
|
|
390
372
|
}.status__soft_1unag.status__green_1unag {
|
|
391
373
|
background: #d1f1d7;
|
|
392
374
|
color: #0d9336;
|
|
@@ -424,4 +406,171 @@
|
|
|
424
406
|
background: #09b9be;
|
|
425
407
|
} .status__contrast_1unag.status__purple_1unag {
|
|
426
408
|
background: #897eff;
|
|
409
|
+
}.status-badge__positive-checkmark_1qjlx {
|
|
410
|
+
background-color: #17d055;
|
|
411
|
+
} .status-badge__negative-cross_1qjlx,
|
|
412
|
+
.status-badge__negative-alert_1qjlx,
|
|
413
|
+
.status-badge__negative-block_1qjlx {
|
|
414
|
+
background-color: #ff4837;
|
|
415
|
+
} .status-badge__attention-alert_1qjlx {
|
|
416
|
+
background-color: #fda136;
|
|
417
|
+
} .status-badge__neutral-information_1qjlx,
|
|
418
|
+
.status-badge__neutral-operation_1qjlx,
|
|
419
|
+
.status-badge__neutral-cross_1qjlx {
|
|
420
|
+
background-color: #898991;
|
|
421
|
+
}
|
|
422
|
+
.status-badge__component_75yw9 {
|
|
423
|
+
color: #fff;
|
|
424
|
+
}
|
|
425
|
+
.status-badge__positive-checkmark_yo7iy {
|
|
426
|
+
background-color: #0cc44d;
|
|
427
|
+
} .status-badge__negative-cross_yo7iy,
|
|
428
|
+
.status-badge__negative-alert_yo7iy,
|
|
429
|
+
.status-badge__negative-block_yo7iy {
|
|
430
|
+
background-color: #ff4837;
|
|
431
|
+
} .status-badge__attention-alert_yo7iy {
|
|
432
|
+
background-color: #fa9313;
|
|
433
|
+
} .status-badge__neutral-information_yo7iy,
|
|
434
|
+
.status-badge__neutral-operation_yo7iy,
|
|
435
|
+
.status-badge__neutral-cross_yo7iy {
|
|
436
|
+
background-color: #898991;
|
|
437
|
+
}.underlay__background-accent_l4yds {
|
|
438
|
+
background-color: #ef3124;
|
|
439
|
+
} .underlay__background-info_l4yds {
|
|
440
|
+
background-color: #001c3c;
|
|
441
|
+
} .underlay__background-attention-muted_l4yds {
|
|
442
|
+
background-color: #36291f;
|
|
443
|
+
} .underlay__background-positive-muted_l4yds {
|
|
444
|
+
background-color: #232d25;
|
|
445
|
+
} .underlay__background-negative-muted_l4yds {
|
|
446
|
+
background-color: #392523;
|
|
447
|
+
} .underlay__background-primary_l4yds {
|
|
448
|
+
background-color: #0e0e0e;
|
|
449
|
+
} .underlay__background-primary-inverted_l4yds {
|
|
450
|
+
background-color: #fff;
|
|
451
|
+
} .underlay__background-secondary_l4yds {
|
|
452
|
+
background-color: #1c1c1e;
|
|
453
|
+
} .underlay__background-secondary-inverted_l4yds {
|
|
454
|
+
background-color: #f2f3f5;
|
|
455
|
+
} .underlay__background-tertiary_l4yds {
|
|
456
|
+
background-color: #27272a;
|
|
457
|
+
} .underlay__background-tertiary-inverted_l4yds {
|
|
458
|
+
background-color: #e7e8ea;
|
|
459
|
+
} .underlay__background-quaternary_l4yds {
|
|
460
|
+
background-color: #36363a;
|
|
461
|
+
} .underlay__background-quaternary-inverted_l4yds {
|
|
462
|
+
background-color: #dcdee2;
|
|
463
|
+
} .underlay__background-specialbg-component_l4yds {
|
|
464
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
465
|
+
} .underlay__background-specialbg-component-inverted_l4yds {
|
|
466
|
+
background-color: rgba(11, 31, 53, 0.07);
|
|
467
|
+
} .underlay__background-specialbg-primary-grouped_l4yds {
|
|
468
|
+
background-color: #1c1c1e;
|
|
469
|
+
} .underlay__background-specialbg-secondary-grouped_l4yds {
|
|
470
|
+
background-color: #27272a;
|
|
471
|
+
} .underlay__background-specialbg-tertiary-grouped_l4yds {
|
|
472
|
+
background-color: #36363a;
|
|
473
|
+
} .underlay__background-specialbg-secondary-transparent_l4yds {
|
|
474
|
+
background-color: rgba(214, 214, 229, 0.07);
|
|
475
|
+
} .underlay__background-specialbg-secondary-transparent-inverted_l4yds {
|
|
476
|
+
background-color: rgba(38, 55, 88, 0.06);
|
|
477
|
+
} .underlay__background-specialbg-tertiary-transparent_l4yds {
|
|
478
|
+
background-color: rgba(222, 222, 240, 0.12);
|
|
479
|
+
} .underlay__background-specialbg-tertiary-transparent-inverted_l4yds {
|
|
480
|
+
background-color: rgba(30, 43, 68, 0.08);
|
|
481
|
+
} .underlay__shadow-xs_l4yds {
|
|
482
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.04);
|
|
483
|
+
} .underlay__shadow-s_l4yds {
|
|
484
|
+
box-shadow: 0 12px 16px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.04),
|
|
485
|
+
0 0 1px rgba(0, 0, 0, 0.04);
|
|
486
|
+
} .underlay__shadow-m_l4yds {
|
|
487
|
+
box-shadow: 0 20px 24px rgba(0, 0, 0, 0.08), 0 12px 16px rgba(0, 0, 0, 0.04),
|
|
488
|
+
0 4px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.04);
|
|
489
|
+
} .underlay__shadow-l_l4yds {
|
|
490
|
+
box-shadow: 0 24px 32px rgba(0, 0, 0, 0.08), 0 20px 24px rgba(0, 0, 0, 0.08),
|
|
491
|
+
0 12px 16px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.04);
|
|
492
|
+
} .underlay__shadow-xl_l4yds {
|
|
493
|
+
box-shadow: 0 32px 40px rgba(0, 0, 0, 0.08), 0 24px 32px rgba(0, 0, 0, 0.08),
|
|
494
|
+
0 20px 24px rgba(0, 0, 0, 0.08), 0 12px 16px rgba(0, 0, 0, 0.04),
|
|
495
|
+
0 4px 8px rgba(0, 0, 0, 0.04), 0 0 1px rgba(0, 0, 0, 0.04);
|
|
496
|
+
} .underlay__shadow-xs-hard_l4yds {
|
|
497
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.16);
|
|
498
|
+
} .underlay__shadow-s-hard_l4yds {
|
|
499
|
+
box-shadow: 0 12px 16px rgba(0, 0, 0, 0.16), 0 4px 8px rgba(0, 0, 0, 0.16),
|
|
500
|
+
0 0 1px rgba(0, 0, 0, 0.16);
|
|
501
|
+
} .underlay__shadow-m-hard_l4yds {
|
|
502
|
+
box-shadow: 0 20px 24px rgba(0, 0, 0, 0.2), 0 12px 16px rgba(0, 0, 0, 0.16),
|
|
503
|
+
0 4px 8px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.16);
|
|
504
|
+
} .underlay__shadow-l-hard_l4yds {
|
|
505
|
+
box-shadow: 0 24px 32px rgba(0, 0, 0, 0.2), 0 20px 24px rgba(0, 0, 0, 0.2),
|
|
506
|
+
0 12px 16px rgba(0, 0, 0, 0.16), 0 4px 8px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.16);
|
|
507
|
+
} .underlay__shadow-xl-hard_l4yds {
|
|
508
|
+
box-shadow: 0 32px 40px rgba(0, 0, 0, 0.2), 0 24px 32px rgba(0, 0, 0, 0.2),
|
|
509
|
+
0 20px 24px rgba(0, 0, 0, 0.2), 0 12px 16px rgba(0, 0, 0, 0.16),
|
|
510
|
+
0 4px 8px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.16);
|
|
511
|
+
} .underlay__shadow-xs-up_l4yds {
|
|
512
|
+
box-shadow: 0 0 4px rgba(0, 0, 0, 0.02), 0 -2px 4px rgba(0, 0, 0, 0.04);
|
|
513
|
+
} .underlay__shadow-s-up_l4yds {
|
|
514
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.04), 0 -4px 8px rgba(0, 0, 0, 0.08);
|
|
515
|
+
} .underlay__shadow-m-up_l4yds {
|
|
516
|
+
box-shadow: 0 0 16px rgba(0, 0, 0, 0.08), 0 -8px 16px rgba(0, 0, 0, 0.16);
|
|
517
|
+
} .underlay__shadow-l-up_l4yds {
|
|
518
|
+
box-shadow: 0 0 24px rgba(0, 0, 0, 0.12), 0 -12px 24px rgba(0, 0, 0, 0.24);
|
|
519
|
+
} .underlay__shadow-xl-up_l4yds {
|
|
520
|
+
box-shadow: 0 0 32px rgba(0, 0, 0, 0.16), 0 -16px 32px rgba(0, 0, 0, 0.32);
|
|
521
|
+
} .underlay__shadow-xs-hard-up_l4yds {
|
|
522
|
+
box-shadow: 0 0 4px rgba(0, 0, 0, 0.02), 0 -2px 4px rgba(0, 0, 0, 0.04),
|
|
523
|
+
0 -2px 4px rgba(0, 0, 0, 0.16);
|
|
524
|
+
} .underlay__shadow-s-hard-up_l4yds {
|
|
525
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.04), 0 -4px 8px rgba(0, 0, 0, 0.08),
|
|
526
|
+
0 -4px 8px rgba(0, 0, 0, 0.16);
|
|
527
|
+
} .underlay__shadow-m-hard-up_l4yds {
|
|
528
|
+
box-shadow: 0 0 16px rgba(0, 0, 0, 0.08), 0 -8px 16px rgba(0, 0, 0, 0.16),
|
|
529
|
+
0 -8px 16px rgba(0, 0, 0, 0.16);
|
|
530
|
+
} .underlay__shadow-l-hard-up_l4yds {
|
|
531
|
+
box-shadow: 0 0 24px rgba(0, 0, 0, 0.12), 0 -12px 24px rgba(0, 0, 0, 0.24),
|
|
532
|
+
0 -12px 24px rgba(0, 0, 0, 0.16);
|
|
533
|
+
} .underlay__shadow-xl-hard-up_l4yds {
|
|
534
|
+
box-shadow: 0 0 32px rgba(0, 0, 0, 0.16), 0 -16px 32px rgba(0, 0, 0, 0.32),
|
|
535
|
+
0 -16px 32px rgba(0, 0, 0, 0.16);
|
|
536
|
+
} .underlay__border-color-accent_l4yds {
|
|
537
|
+
border-color: #f83a2a;
|
|
538
|
+
} .underlay__border-color-key_l4yds {
|
|
539
|
+
border-color: #fff;
|
|
540
|
+
} .underlay__border-color-key-inverted_l4yds {
|
|
541
|
+
border-color: #121213;
|
|
542
|
+
} .underlay__border-color-link_l4yds {
|
|
543
|
+
border-color: #3193fc;
|
|
544
|
+
} .underlay__border-color-primary_l4yds {
|
|
545
|
+
border-color: #353539;
|
|
546
|
+
} .underlay__border-color-primary-inverted_l4yds {
|
|
547
|
+
border-color: #d2d3d9;
|
|
548
|
+
} .underlay__border-color-secondary_l4yds {
|
|
549
|
+
border-color: #29292c;
|
|
550
|
+
} .underlay__border-color-secondary-inverted_l4yds {
|
|
551
|
+
border-color: #e7e8eb;
|
|
552
|
+
} .underlay__border-color-tertiary_l4yds {
|
|
553
|
+
border-color: #212124;
|
|
554
|
+
} .underlay__border-color-tertiary-inverted_l4yds {
|
|
555
|
+
border-color: #edeef0;
|
|
556
|
+
} .underlay__border-color-underline_l4yds {
|
|
557
|
+
border-color: #4a4a51;
|
|
558
|
+
} .underlay__border-color-underline-inverted_l4yds {
|
|
559
|
+
border-color: #babbc2;
|
|
560
|
+
} .underlay__border-color-graphic-attention_l4yds {
|
|
561
|
+
border-color: #fda136;
|
|
562
|
+
} .underlay__border-color-graphic-link_l4yds {
|
|
563
|
+
border-color: #3193fc;
|
|
564
|
+
} .underlay__border-color-graphic-negative_l4yds {
|
|
565
|
+
border-color: #ff4837;
|
|
566
|
+
} .underlay__border-color-graphic-positive_l4yds {
|
|
567
|
+
border-color: #17d055;
|
|
568
|
+
} .underlay__border-color-specialbg-secondary-transparent_l4yds {
|
|
569
|
+
border-color: rgba(225, 225, 248, 0.09);
|
|
570
|
+
} .underlay__border-color-specialbg-secondary-transparent-inverted_l4yds {
|
|
571
|
+
border-color: rgba(30, 43, 68, 0.08);
|
|
572
|
+
} .underlay__border-color-specialbg-tertiary-transparent_l4yds {
|
|
573
|
+
border-color: rgba(222, 222, 238, 0.13);
|
|
574
|
+
} .underlay__border-color-specialbg-tertiary-transparent-inverted_l4yds {
|
|
575
|
+
border-color: rgba(15, 25, 55, 0.1);
|
|
427
576
|
}
|
package/themes/mixins/click.css
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
@import './modal/click.css';
|
|
9
9
|
@import './toast-plate/click.css';
|
|
10
10
|
@import './list/click.css';
|
|
11
|
+
@import './skeleton/click.css';
|
|
11
12
|
@import './dropzone/click.css';
|
|
12
13
|
@import './bottom-sheet/click.css';
|
|
13
14
|
@import './icon-button/click.css';
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
@mixin modal-click;
|
|
39
40
|
@mixin toast-plate-click;
|
|
40
41
|
@mixin list-click;
|
|
42
|
+
@mixin skeleton-click;
|
|
41
43
|
@mixin dropzone-click;
|
|
42
44
|
@mixin bottom-sheet-click;
|
|
43
45
|
@mixin icon-button-click;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@define-mixin skeleton-click {
|
|
2
|
+
/* theme */
|
|
3
|
+
--skeleton-default-color: transparent;
|
|
4
|
+
--skeleton-backdrop-filter: blur(20px);
|
|
5
|
+
--skeleton-gradient-animation-display: none;
|
|
6
|
+
--skeleton-bg-animation-display: block;
|
|
7
|
+
--skeleton-bg-animation-color: var(--color-light-graphic-quaternary);
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* theme */
|
|
3
|
+
--skeleton-default-color: transparent;
|
|
4
|
+
--skeleton-backdrop-filter: blur(20px);
|
|
5
|
+
--skeleton-gradient-animation-display: none;
|
|
6
|
+
--skeleton-bg-animation-display: block;
|
|
7
|
+
--skeleton-bg-animation-color: var(--color-light-graphic-quaternary);
|
|
8
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { HTMLAttributes, MouseEvent, ReactNode } from "react";
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
type BadgeIcons = {
|
|
5
|
+
negative: JSX.Element;
|
|
6
|
+
positive: JSX.Element;
|
|
7
|
+
attention: JSX.Element;
|
|
8
|
+
};
|
|
6
9
|
type BaseToastPlateProps = HTMLAttributes<HTMLDivElement> & {
|
|
7
10
|
/**
|
|
8
11
|
* Дополнительный класс
|
|
@@ -31,7 +34,7 @@ type BaseToastPlateProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
31
34
|
/**
|
|
32
35
|
* Вид бэйджа
|
|
33
36
|
*/
|
|
34
|
-
badge?:
|
|
37
|
+
badge?: 'negative' | 'positive' | 'attention';
|
|
35
38
|
/**
|
|
36
39
|
* Слот слева, заменяет стандартную иконку
|
|
37
40
|
*/
|
|
@@ -65,9 +68,9 @@ type BaseToastPlateProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
65
68
|
*/
|
|
66
69
|
onClose?: (event?: MouseEvent<HTMLButtonElement>) => void;
|
|
67
70
|
/**
|
|
68
|
-
* Функция, с помощью которой можно переопределить иконки в
|
|
71
|
+
* Функция, с помощью которой можно переопределить иконки в Badge
|
|
69
72
|
*/
|
|
70
|
-
getBadgeIcons?:
|
|
73
|
+
getBadgeIcons?: (icons: BadgeIcons) => BadgeIcons;
|
|
71
74
|
/**
|
|
72
75
|
* Набор цветов для компонента
|
|
73
76
|
*/
|
|
@@ -111,7 +114,7 @@ declare const BaseToastPlate: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
111
114
|
/**
|
|
112
115
|
* Вид бэйджа
|
|
113
116
|
*/
|
|
114
|
-
badge?:
|
|
117
|
+
badge?: "attention" | "positive" | "negative" | undefined;
|
|
115
118
|
/**
|
|
116
119
|
* Слот слева, заменяет стандартную иконку
|
|
117
120
|
*/
|
|
@@ -145,9 +148,9 @@ declare const BaseToastPlate: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
145
148
|
*/
|
|
146
149
|
onClose?: ((event?: MouseEvent<HTMLButtonElement>) => void) | undefined;
|
|
147
150
|
/**
|
|
148
|
-
* Функция, с помощью которой можно переопределить иконки в
|
|
151
|
+
* Функция, с помощью которой можно переопределить иконки в Badge
|
|
149
152
|
*/
|
|
150
|
-
getBadgeIcons?:
|
|
153
|
+
getBadgeIcons?: ((icons: BadgeIcons) => BadgeIcons) | undefined;
|
|
151
154
|
/**
|
|
152
155
|
* Набор цветов для компонента
|
|
153
156
|
*/
|
|
@@ -163,4 +166,4 @@ declare const BaseToastPlate: React.ForwardRefExoticComponent<React.HTMLAttribut
|
|
|
163
166
|
[key: string]: string;
|
|
164
167
|
} | undefined;
|
|
165
168
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
166
|
-
export { BaseToastPlateProps, BaseToastPlate };
|
|
169
|
+
export { BadgeIcons, BaseToastPlateProps, BaseToastPlate };
|
|
@@ -3,14 +3,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
|
+
var coreComponentsBadge = require('../../../badge');
|
|
6
7
|
var coreComponentsIconButton = require('../../../icon-button');
|
|
7
|
-
var
|
|
8
|
-
require('@alfalab/
|
|
9
|
-
var
|
|
8
|
+
var AlertCircleMIcon = require('@alfalab/icons-glyph/AlertCircleMIcon');
|
|
9
|
+
var CheckmarkCircleMIcon = require('@alfalab/icons-glyph/CheckmarkCircleMIcon');
|
|
10
|
+
var CrossCircleMIcon = require('@alfalab/icons-glyph/CrossCircleMIcon');
|
|
10
11
|
var CrossMIcon = require('@alfalab/icons-glyph/CrossMIcon');
|
|
11
|
-
var components_baseToastPlate_hooks_useCustomIcons = require('./hooks/useCustomIcons.js');
|
|
12
|
-
var components_baseToastPlate_hooks_useDeprecatedBadge = require('./hooks/useDeprecatedBadge.js');
|
|
13
|
-
var components_baseToastPlate_utils_isUnsafeBadge = require('./utils/isUnsafeBadge.js');
|
|
14
12
|
|
|
15
13
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
14
|
|
|
@@ -30,27 +28,27 @@ var colorStyles = {
|
|
|
30
28
|
default: defaultColors,
|
|
31
29
|
inverted: invertedColors,
|
|
32
30
|
};
|
|
31
|
+
var iconDefaultComponents = {
|
|
32
|
+
negative: React__default.default.createElement(CrossCircleMIcon.CrossCircleMIcon, { className: commonStyles.badgeIcon }),
|
|
33
|
+
positive: React__default.default.createElement(CheckmarkCircleMIcon.CheckmarkCircleMIcon, { className: commonStyles.badgeIcon }),
|
|
34
|
+
attention: React__default.default.createElement(AlertCircleMIcon.AlertCircleMIcon, { className: commonStyles.badgeIcon }),
|
|
35
|
+
};
|
|
33
36
|
var BaseToastPlate = React.forwardRef(function (_a, ref) {
|
|
34
37
|
var _b, _c, _d;
|
|
35
38
|
var dataTestId = _a.dataTestId, className = _a.className, titleClassName = _a.titleClassName, contentClassName = _a.contentClassName, actionSectionClassName = _a.actionSectionClassName, hasCloser = _a.hasCloser, leftAddons = _a.leftAddons, badge = _a.badge, title = _a.title, children = _a.children, actionButton = _a.actionButton, block = _a.block, onClose = _a.onClose, getBadgeIcons = _a.getBadgeIcons, _e = _a.colors, colors = _e === void 0 ? 'default' : _e, closerWrapperClassName = _a.closerWrapperClassName, closerClassName = _a.closerClassName, _f = _a.bottomButtonPosition, bottomButtonPosition = _f === void 0 ? false : _f, _g = _a.styles, styles = _g === void 0 ? {} : _g, restProps = tslib.__rest(_a, ["dataTestId", "className", "titleClassName", "contentClassName", "actionSectionClassName", "hasCloser", "leftAddons", "badge", "title", "children", "actionButton", "block", "onClose", "getBadgeIcons", "colors", "closerWrapperClassName", "closerClassName", "bottomButtonPosition", "styles"]);
|
|
36
39
|
var needRenderLeftAddons = Boolean(leftAddons || badge);
|
|
37
|
-
var
|
|
38
|
-
|
|
40
|
+
var iconComponents = getBadgeIcons
|
|
41
|
+
? getBadgeIcons(iconDefaultComponents)
|
|
42
|
+
: iconDefaultComponents;
|
|
39
43
|
var handleClose = React.useCallback(function (event) {
|
|
40
44
|
if (onClose) {
|
|
41
45
|
onClose(event);
|
|
42
46
|
}
|
|
43
47
|
}, [onClose]);
|
|
44
|
-
|
|
45
|
-
if (badge && components_baseToastPlate_utils_isUnsafeBadge.isUnsafeBadge(badge)) {
|
|
46
|
-
statusBadgeView = transformDeprecatedBadge(badge);
|
|
47
|
-
}
|
|
48
|
-
var customIcons = getCustomIcons(getBadgeIcons);
|
|
49
|
-
return (React__default.default.createElement("div", tslib.__assign({ className: cn__default.default(commonStyles.component, colorStyles[colors].component, (_b = {}, _b[commonStyles.block] = block, _b[commonStyles.hasCloser] = hasCloser, _b), className), ref: ref, "data-test-id": getDataTestId.getDataTestId(dataTestId, 'component') }, restProps),
|
|
48
|
+
return (React__default.default.createElement("div", tslib.__assign({ className: cn__default.default(commonStyles.component, colorStyles[colors].component, (_b = {}, _b[commonStyles.block] = block, _b[commonStyles.hasCloser] = hasCloser, _b), className), ref: ref, "data-test-id": dataTestId }, restProps),
|
|
50
49
|
React__default.default.createElement("div", { className: commonStyles.wrapper },
|
|
51
50
|
React__default.default.createElement("div", { className: commonStyles.contentWrapper },
|
|
52
|
-
needRenderLeftAddons && (React__default.default.createElement("div", { className: commonStyles.leftAddons }, leftAddons ||
|
|
53
|
-
(badge && (React__default.default.createElement(coreComponentsStatusBadge.StatusBadge, tslib.__assign({ view: statusBadgeView, dataTestId: getDataTestId.getDataTestId(dataTestId, 'badge') }, (customIcons && { customIcons: customIcons }))))))),
|
|
51
|
+
needRenderLeftAddons && (React__default.default.createElement("div", { className: commonStyles.leftAddons }, leftAddons || (React__default.default.createElement(coreComponentsBadge.Badge, { view: 'icon', content: badge && iconComponents[badge], iconColor: badge, className: commonStyles.badge, dataTestId: 'badge', visibleColorOutline: true })))),
|
|
54
52
|
React__default.default.createElement("div", { className: cn__default.default(contentClassName, commonStyles.content, (_c = {},
|
|
55
53
|
_c[commonStyles.hasCloser] = hasCloser,
|
|
56
54
|
_c[commonStyles.hasActionButton] = !!actionButton,
|