@alfalab/core-components 45.8.0-beta.3 → 45.8.0-beta.4
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/base-modal/Component.d.ts +4 -0
- package/base-modal/Component.js +19 -11
- package/base-modal/cssm/Component.d.ts +4 -0
- package/base-modal/cssm/Component.js +19 -11
- package/base-modal/cssm/helpers/lockScroll.d.ts +4 -0
- package/base-modal/cssm/helpers/lockScroll.js +18 -0
- package/base-modal/cssm/index.module.css +6 -1
- package/base-modal/cssm/utils.d.ts +1 -1
- package/base-modal/cssm/utils.js +5 -2
- package/base-modal/esm/Component.d.ts +4 -0
- package/base-modal/esm/Component.js +20 -12
- package/base-modal/esm/helpers/lockScroll.d.ts +4 -0
- package/base-modal/esm/helpers/lockScroll.js +14 -0
- package/base-modal/esm/index.css +6 -1
- package/base-modal/esm/index.js +1 -0
- package/base-modal/esm/utils.d.ts +1 -1
- package/base-modal/esm/utils.js +5 -2
- package/base-modal/helpers/lockScroll.d.ts +4 -0
- package/base-modal/helpers/lockScroll.js +18 -0
- package/base-modal/index.css +6 -1
- package/base-modal/modern/Component.d.ts +4 -0
- package/base-modal/modern/Component.js +13 -5
- package/base-modal/modern/helpers/lockScroll.d.ts +4 -0
- package/base-modal/modern/helpers/lockScroll.js +14 -0
- package/base-modal/modern/index.css +6 -1
- package/base-modal/modern/index.js +1 -0
- package/base-modal/modern/utils.d.ts +1 -1
- package/base-modal/modern/utils.js +4 -2
- package/base-modal/utils.d.ts +1 -1
- package/base-modal/utils.js +5 -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 +3 -1
- 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/Component-bdb4c6b9.d.ts +2 -1
- package/international-phone-input/{ResponsiveContext-88b743b5.d.ts → ResponsiveContext-d6bfd5b7.d.ts} +1 -1
- package/international-phone-input/cssm/Component-bdb4c6b9.d.ts +2 -1
- package/international-phone-input/cssm/{ResponsiveContext-88b743b5.d.ts → ResponsiveContext-d6bfd5b7.d.ts} +1 -1
- package/international-phone-input/cssm/index-bdb4c6b9.d.ts +9 -2
- package/international-phone-input/cssm/typings-57569e57.d.ts +6 -5
- package/international-phone-input/{esm/typings-88b743b5.d.ts → cssm/typings-d6bfd5b7.d.ts} +4 -0
- package/international-phone-input/cssm/use-skeleton-1328ead9.d.ts +0 -4
- package/international-phone-input/esm/Component-bdb4c6b9.d.ts +2 -1
- package/international-phone-input/esm/{ResponsiveContext-88b743b5.d.ts → ResponsiveContext-d6bfd5b7.d.ts} +1 -1
- package/international-phone-input/esm/index-bdb4c6b9.d.ts +9 -2
- package/international-phone-input/esm/typings-57569e57.d.ts +6 -5
- package/international-phone-input/{typings-88b743b5.d.ts → esm/typings-d6bfd5b7.d.ts} +4 -0
- package/international-phone-input/esm/use-skeleton-1328ead9.d.ts +0 -4
- package/international-phone-input/index-bdb4c6b9.d.ts +9 -2
- package/international-phone-input/modern/Component-bdb4c6b9.d.ts +2 -1
- package/international-phone-input/modern/{ResponsiveContext-88b743b5.d.ts → ResponsiveContext-d6bfd5b7.d.ts} +1 -1
- package/international-phone-input/modern/index-bdb4c6b9.d.ts +9 -2
- package/international-phone-input/modern/typings-57569e57.d.ts +6 -5
- package/international-phone-input/{cssm/typings-88b743b5.d.ts → modern/typings-d6bfd5b7.d.ts} +4 -0
- package/international-phone-input/modern/use-skeleton-1328ead9.d.ts +0 -4
- package/international-phone-input/typings-57569e57.d.ts +6 -5
- package/international-phone-input/{modern/typings-88b743b5.d.ts → typings-d6bfd5b7.d.ts} +4 -0
- package/international-phone-input/use-skeleton-1328ead9.d.ts +0 -4
- package/modal/Component.d.ts +1 -0
- package/modal/Component.responsive.d.ts +1 -0
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/cssm/Component.d.ts +1 -0
- package/modal/cssm/Component.responsive.d.ts +1 -0
- package/modal/cssm/desktop/Component.desktop.d.ts +1 -0
- package/modal/cssm/typings.d.ts +4 -0
- package/modal/desktop/Component.desktop.d.ts +1 -0
- package/modal/esm/Component.d.ts +1 -0
- package/modal/esm/Component.responsive.d.ts +1 -0
- 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.d.ts +1 -0
- 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/esm/typings.d.ts +4 -0
- package/modal/modern/Component.d.ts +1 -0
- package/modal/modern/Component.responsive.d.ts +1 -0
- 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.d.ts +1 -0
- 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/modal/modern/typings.d.ts +4 -0
- package/modal/typings.d.ts +4 -0
- package/package.json +1 -1
- package/picker-button/Component-bdb4c6b9.d.ts +2 -1
- package/picker-button/ResponsiveContext-d6bfd5b7.d.ts +5 -0
- package/picker-button/cssm/Component-bdb4c6b9.d.ts +2 -1
- package/picker-button/cssm/ResponsiveContext-d6bfd5b7.d.ts +5 -0
- package/picker-button/cssm/{index-307da6d7.d.ts → index-a5b021bd.d.ts} +1 -2
- package/picker-button/cssm/index-bdb4c6b9.d.ts +9 -2
- package/picker-button/cssm/typings-57569e57.d.ts +5 -4
- package/picker-button/cssm/typings-d6bfd5b7.d.ts +62 -0
- package/picker-button/cssm/use-skeleton-1328ead9.d.ts +0 -4
- package/picker-button/esm/Component-bdb4c6b9.d.ts +2 -1
- package/picker-button/esm/ResponsiveContext-d6bfd5b7.d.ts +5 -0
- package/picker-button/esm/{index-307da6d7.d.ts → index-a5b021bd.d.ts} +1 -2
- package/picker-button/esm/index-bdb4c6b9.d.ts +9 -2
- package/picker-button/esm/typings-57569e57.d.ts +5 -4
- package/picker-button/esm/typings-d6bfd5b7.d.ts +62 -0
- 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/index-bdb4c6b9.d.ts +9 -2
- package/picker-button/modern/Component-bdb4c6b9.d.ts +2 -1
- package/picker-button/modern/ResponsiveContext-d6bfd5b7.d.ts +5 -0
- package/picker-button/modern/{index-307da6d7.d.ts → index-a5b021bd.d.ts} +1 -2
- package/picker-button/modern/index-bdb4c6b9.d.ts +9 -2
- package/picker-button/modern/typings-57569e57.d.ts +5 -4
- package/picker-button/modern/typings-d6bfd5b7.d.ts +62 -0
- package/picker-button/modern/use-skeleton-1328ead9.d.ts +0 -4
- package/picker-button/typings-57569e57.d.ts +5 -4
- package/picker-button/typings-d6bfd5b7.d.ts +62 -0
- package/picker-button/use-skeleton-1328ead9.d.ts +0 -4
- 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/textarea/Component.js +1 -1
- package/textarea/components/PseudoTextArea.js +1 -1
- package/textarea/components/index.d.ts +1 -1
- package/textarea/components/index.js +1 -1
- package/textarea/esm/Component.js +1 -1
- package/textarea/esm/components/PseudoTextArea.js +1 -1
- package/textarea/esm/components/index.d.ts +1 -1
- package/textarea/esm/components/index.js +1 -1
- package/textarea/esm/index.js +1 -1
- package/textarea/modern/Component.js +1 -1
- package/textarea/modern/components/PseudoTextArea.js +1 -1
- package/textarea/modern/components/index.d.ts +1 -1
- package/textarea/modern/components/index.js +1 -1
- package/textarea/modern/index.js +1 -1
- package/themes/click.css +6 -0
- package/themes/compiled/mobile-dark-bluetint.css +75 -65
- 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/index-5712fce2.d.ts +13 -1
- package/universal-date-input/cssm/use-skeleton-1328ead9.d.ts +0 -4
- package/universal-date-input/esm/index-5712fce2.d.ts +13 -1
- package/universal-date-input/esm/use-skeleton-1328ead9.d.ts +0 -4
- package/universal-date-input/index-5712fce2.d.ts +13 -1
- package/universal-date-input/modern/index-5712fce2.d.ts +13 -1
- 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/picker-button/ResponsiveContext-88b743b5.d.ts +0 -5
- package/picker-button/cssm/ResponsiveContext-88b743b5.d.ts +0 -5
- package/picker-button/cssm/typings-88b743b5.d.ts +0 -58
- package/picker-button/esm/ResponsiveContext-88b743b5.d.ts +0 -5
- package/picker-button/esm/typings-88b743b5.d.ts +0 -58
- package/picker-button/modern/ResponsiveContext-88b743b5.d.ts +0 -5
- package/picker-button/modern/typings-88b743b5.d.ts +0 -58
- package/picker-button/typings-88b743b5.d.ts +0 -58
- 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/gallery/{buttons-19c30d23.d.ts → buttons-2d6e11d3.d.ts} +0 -0
- /package/gallery/{buttons-19c30d23.js → buttons-2d6e11d3.js} +0 -0
- /package/gallery/esm/{buttons-37ed3ab5.d.ts → buttons-d13012b7.d.ts} +0 -0
- /package/gallery/esm/{buttons-37ed3ab5.js → buttons-d13012b7.js} +0 -0
- /package/gallery/esm/{slide-8d1299a5.d.ts → slide-88bae15c.d.ts} +0 -0
- /package/gallery/esm/{slide-8d1299a5.js → slide-88bae15c.js} +0 -0
- /package/gallery/modern/{buttons-92efe05c.d.ts → buttons-884f9ca9.d.ts} +0 -0
- /package/gallery/modern/{buttons-92efe05c.js → buttons-884f9ca9.js} +0 -0
- /package/gallery/modern/{slide-57aa7661.d.ts → slide-e59a9638.d.ts} +0 -0
- /package/gallery/modern/{slide-57aa7661.js → slide-e59a9638.js} +0 -0
- /package/gallery/{slide-45ca49f1.d.ts → slide-684c0f6f.d.ts} +0 -0
- /package/gallery/{slide-45ca49f1.js → slide-684c0f6f.js} +0 -0
- /package/modal/esm/{layout.module-b635b128.js → layout.module-aa5cb2cc.js} +0 -0
- /package/modal/{layout.module-34149103.js → layout.module-c255bbac.js} +0 -0
- /package/modal/modern/{layout.module-41e8947b.js → layout.module-60771d9c.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/select/esm/{hook-c0758dcd.d.ts → hook-086659f0.d.ts} +0 -0
- /package/select/esm/{hook-c0758dcd.js → hook-086659f0.js} +0 -0
- /package/select/{hook-10a14b43.d.ts → hook-b62c1963.d.ts} +0 -0
- /package/select/{hook-10a14b43.js → hook-b62c1963.js} +0 -0
- /package/select/modern/{hook-5ccdb908.d.ts → hook-a746b596.d.ts} +0 -0
- /package/select/modern/{hook-5ccdb908.js → hook-a746b596.js} +0 -0
- /package/textarea/{PseudoTextArea-e22e1b15.d.ts → PseudoTextArea-7aea41b8.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-e22e1b15.js → PseudoTextArea-7aea41b8.js} +0 -0
- /package/textarea/esm/{PseudoTextArea-ebaaf545.d.ts → PseudoTextArea-ba968d63.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-ebaaf545.js → PseudoTextArea-ba968d63.js} +0 -0
- /package/textarea/modern/{PseudoTextArea-df487b32.d.ts → PseudoTextArea-d7134e87.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-df487b32.js → PseudoTextArea-d7134e87.js} +0 -0
- /package/typography/{colors.module-5b90a9cc.js → colors.module-b5f1970b.js} +0 -0
- /package/typography/{common.module-53a00318.js → common.module-8f051b74.js} +0 -0
- /package/typography/esm/{colors.module-f2501c6f.js → colors.module-bf4fcd9a.js} +0 -0
- /package/typography/esm/{common.module-04c7810e.js → common.module-efe4e6e2.js} +0 -0
- /package/typography/modern/{colors.module-83a4b747.js → colors.module-21f32eaa.js} +0 -0
- /package/typography/modern/{common.module-278c339a.js → common.module-086a5ae1.js} +0 -0
|
@@ -2,14 +2,12 @@ import { __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
+
import '../../../badge/esm';
|
|
5
6
|
import '../../../icon-button/esm';
|
|
6
|
-
import '
|
|
7
|
-
import '@alfalab/
|
|
8
|
-
import '
|
|
7
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
8
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
9
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
9
10
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
10
|
-
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
11
|
-
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
12
|
-
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
13
11
|
|
|
14
12
|
var styles = {"actionSection":"toast-plate__actionSection_1heyl","title":"toast-plate__title_1heyl","closeButtonWrapper":"toast-plate__closeButtonWrapper_1heyl","closeButton":"toast-plate__closeButton_1heyl"};
|
|
15
13
|
require('./desktop.css');
|
|
@@ -3,11 +3,9 @@ import 'tslib';
|
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../components/base-toast-plate/component.js';
|
|
5
5
|
import 'classnames';
|
|
6
|
+
import '../../../badge/esm';
|
|
6
7
|
import '../../../icon-button/esm';
|
|
7
|
-
import '
|
|
8
|
-
import '@alfalab/
|
|
9
|
-
import '
|
|
8
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
9
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
10
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
10
11
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
11
|
-
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
12
|
-
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
13
|
-
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
package/toast-plate/esm/index.js
CHANGED
|
@@ -5,12 +5,10 @@ import '../../mq/esm';
|
|
|
5
5
|
import './desktop/Component.desktop.js';
|
|
6
6
|
import './components/base-toast-plate/component.js';
|
|
7
7
|
import 'classnames';
|
|
8
|
+
import '../../badge/esm';
|
|
8
9
|
import '../../icon-button/esm';
|
|
9
|
-
import '
|
|
10
|
-
import '@alfalab/
|
|
11
|
-
import '
|
|
10
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
11
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
12
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
12
13
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
13
|
-
import './components/base-toast-plate/hooks/useCustomIcons.js';
|
|
14
|
-
import './components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
15
|
-
import './components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
16
14
|
import './mobile/Component.mobile.js';
|
|
@@ -2,14 +2,12 @@ import { __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
+
import '../../../badge/esm';
|
|
5
6
|
import '../../../icon-button/esm';
|
|
6
|
-
import '
|
|
7
|
-
import '@alfalab/
|
|
8
|
-
import '
|
|
7
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
8
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
9
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
9
10
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
10
|
-
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
11
|
-
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
12
|
-
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
13
11
|
|
|
14
12
|
var styles = {"actionSection":"toast-plate__actionSection_fuxup","title":"toast-plate__title_fuxup","closeButtonWrapper":"toast-plate__closeButtonWrapper_fuxup","closeButton":"toast-plate__closeButton_fuxup"};
|
|
15
13
|
require('./mobile.css');
|
|
@@ -3,11 +3,9 @@ import 'tslib';
|
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../components/base-toast-plate/component.js';
|
|
5
5
|
import 'classnames';
|
|
6
|
+
import '../../../badge/esm';
|
|
6
7
|
import '../../../icon-button/esm';
|
|
7
|
-
import '
|
|
8
|
-
import '@alfalab/
|
|
9
|
-
import '
|
|
8
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
9
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
10
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
10
11
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
11
|
-
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
12
|
-
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
13
|
-
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
@@ -4,14 +4,12 @@ import { ToastPlateDesktop } from './desktop/Component.desktop.js';
|
|
|
4
4
|
import { ToastPlateMobile } from './mobile/Component.mobile.js';
|
|
5
5
|
import './components/base-toast-plate/component.js';
|
|
6
6
|
import 'classnames';
|
|
7
|
+
import '../../badge/modern';
|
|
7
8
|
import '../../icon-button/modern';
|
|
8
|
-
import '
|
|
9
|
-
import '@alfalab/
|
|
10
|
-
import '
|
|
9
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
10
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
11
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
11
12
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
12
|
-
import './components/base-toast-plate/hooks/useCustomIcons.js';
|
|
13
|
-
import './components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
14
|
-
import './components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
15
13
|
|
|
16
14
|
const ToastPlate = forwardRef(({ children, breakpoint = 1024, ...restProps }, ref) => {
|
|
17
15
|
const query = `(min-width: ${breakpoint}px)`;
|
|
@@ -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 };
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
+
import { Badge } from '../../../../badge/modern';
|
|
3
4
|
import { IconButton } from '../../../../icon-button/modern';
|
|
4
|
-
import {
|
|
5
|
-
import '@alfalab/
|
|
6
|
-
import {
|
|
5
|
+
import { AlertCircleMIcon } from '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
6
|
+
import { CheckmarkCircleMIcon } from '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
7
|
+
import { CrossCircleMIcon } from '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
7
8
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
8
|
-
import { useCustomIcons } from './hooks/useCustomIcons.js';
|
|
9
|
-
import { useDeprecatedBadge } from './hooks/useDeprecatedBadge.js';
|
|
10
|
-
import { isUnsafeBadge } from './utils/isUnsafeBadge.js';
|
|
11
9
|
|
|
12
10
|
const defaultColors = {"component":"toast-plate__component_eyew1","closeButtonWrapper":"toast-plate__closeButtonWrapper_eyew1"};
|
|
13
11
|
require('./default.css');
|
|
@@ -22,25 +20,25 @@ const colorStyles = {
|
|
|
22
20
|
default: defaultColors,
|
|
23
21
|
inverted: invertedColors,
|
|
24
22
|
};
|
|
23
|
+
const iconDefaultComponents = {
|
|
24
|
+
negative: React.createElement(CrossCircleMIcon, { className: commonStyles.badgeIcon }),
|
|
25
|
+
positive: React.createElement(CheckmarkCircleMIcon, { className: commonStyles.badgeIcon }),
|
|
26
|
+
attention: React.createElement(AlertCircleMIcon, { className: commonStyles.badgeIcon }),
|
|
27
|
+
};
|
|
25
28
|
const BaseToastPlate = forwardRef(({ dataTestId, className, titleClassName, contentClassName, actionSectionClassName, hasCloser, leftAddons, badge, title, children, actionButton, block, onClose, getBadgeIcons, colors = 'default', closerWrapperClassName, closerClassName, bottomButtonPosition = false, styles = {}, ...restProps }, ref) => {
|
|
26
29
|
const needRenderLeftAddons = Boolean(leftAddons || badge);
|
|
27
|
-
const
|
|
28
|
-
|
|
30
|
+
const iconComponents = getBadgeIcons
|
|
31
|
+
? getBadgeIcons(iconDefaultComponents)
|
|
32
|
+
: iconDefaultComponents;
|
|
29
33
|
const handleClose = useCallback((event) => {
|
|
30
34
|
if (onClose) {
|
|
31
35
|
onClose(event);
|
|
32
36
|
}
|
|
33
37
|
}, [onClose]);
|
|
34
|
-
|
|
35
|
-
if (badge && isUnsafeBadge(badge)) {
|
|
36
|
-
statusBadgeView = transformDeprecatedBadge(badge);
|
|
37
|
-
}
|
|
38
|
-
const customIcons = getCustomIcons(getBadgeIcons);
|
|
39
|
-
return (React.createElement("div", { className: cn(commonStyles.component, colorStyles[colors].component, { [commonStyles.block]: block, [commonStyles.hasCloser]: hasCloser }, className), ref: ref, "data-test-id": getDataTestId(dataTestId, 'component'), ...restProps },
|
|
38
|
+
return (React.createElement("div", { className: cn(commonStyles.component, colorStyles[colors].component, { [commonStyles.block]: block, [commonStyles.hasCloser]: hasCloser }, className), ref: ref, "data-test-id": dataTestId, ...restProps },
|
|
40
39
|
React.createElement("div", { className: commonStyles.wrapper },
|
|
41
40
|
React.createElement("div", { className: commonStyles.contentWrapper },
|
|
42
|
-
needRenderLeftAddons && (React.createElement("div", { className: commonStyles.leftAddons }, leftAddons ||
|
|
43
|
-
(badge && (React.createElement(StatusBadge, { view: statusBadgeView, dataTestId: getDataTestId(dataTestId, 'badge'), ...(customIcons && { customIcons }) }))))),
|
|
41
|
+
needRenderLeftAddons && (React.createElement("div", { className: commonStyles.leftAddons }, leftAddons || (React.createElement(Badge, { view: 'icon', content: badge && iconComponents[badge], iconColor: badge, className: commonStyles.badge, dataTestId: 'badge', visibleColorOutline: true })))),
|
|
44
42
|
React.createElement("div", { className: cn(contentClassName, commonStyles.content, {
|
|
45
43
|
[commonStyles.hasCloser]: hasCloser,
|
|
46
44
|
[commonStyles.hasActionButton]: !!actionButton,
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
export { BaseToastPlate } from './component.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
+
import '../../../../badge/modern';
|
|
4
5
|
import '../../../../icon-button/modern';
|
|
5
|
-
import '
|
|
6
|
-
import '@alfalab/
|
|
7
|
-
import '
|
|
6
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
7
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
8
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
8
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
|
-
import './hooks/useCustomIcons.js';
|
|
10
|
-
import './hooks/useDeprecatedBadge.js';
|
|
11
|
-
import './utils/isUnsafeBadge.js';
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
|
+
import '../../../badge/modern';
|
|
4
5
|
import '../../../icon-button/modern';
|
|
5
|
-
import '
|
|
6
|
-
import '@alfalab/
|
|
7
|
-
import '
|
|
6
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
7
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
8
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
8
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
|
-
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
10
|
-
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
11
|
-
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
12
10
|
|
|
13
11
|
const styles = {"actionSection":"toast-plate__actionSection_1heyl","title":"toast-plate__title_1heyl","closeButtonWrapper":"toast-plate__closeButtonWrapper_1heyl","closeButton":"toast-plate__closeButton_1heyl"};
|
|
14
12
|
require('./desktop.css');
|
|
@@ -2,11 +2,9 @@ export { ToastPlateDesktop } from './Component.desktop.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
+
import '../../../badge/modern';
|
|
5
6
|
import '../../../icon-button/modern';
|
|
6
|
-
import '
|
|
7
|
-
import '@alfalab/
|
|
8
|
-
import '
|
|
7
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
8
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
9
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
9
10
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
10
|
-
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
11
|
-
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
12
|
-
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
@@ -4,12 +4,10 @@ import '../../mq/modern';
|
|
|
4
4
|
import './desktop/Component.desktop.js';
|
|
5
5
|
import './components/base-toast-plate/component.js';
|
|
6
6
|
import 'classnames';
|
|
7
|
+
import '../../badge/modern';
|
|
7
8
|
import '../../icon-button/modern';
|
|
8
|
-
import '
|
|
9
|
-
import '@alfalab/
|
|
10
|
-
import '
|
|
9
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
10
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
11
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
11
12
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
12
|
-
import './components/base-toast-plate/hooks/useCustomIcons.js';
|
|
13
|
-
import './components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
14
|
-
import './components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
15
13
|
import './mobile/Component.mobile.js';
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { BaseToastPlate } from '../components/base-toast-plate/component.js';
|
|
3
3
|
import 'classnames';
|
|
4
|
+
import '../../../badge/modern';
|
|
4
5
|
import '../../../icon-button/modern';
|
|
5
|
-
import '
|
|
6
|
-
import '@alfalab/
|
|
7
|
-
import '
|
|
6
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
7
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
8
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
8
9
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
9
|
-
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
10
|
-
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
11
|
-
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
12
10
|
|
|
13
11
|
const styles = {"actionSection":"toast-plate__actionSection_fuxup","title":"toast-plate__title_fuxup","closeButtonWrapper":"toast-plate__closeButtonWrapper_fuxup","closeButton":"toast-plate__closeButton_fuxup"};
|
|
14
12
|
require('./mobile.css');
|
|
@@ -2,11 +2,9 @@ export { ToastPlateMobile } from './Component.mobile.js';
|
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../components/base-toast-plate/component.js';
|
|
4
4
|
import 'classnames';
|
|
5
|
+
import '../../../badge/modern';
|
|
5
6
|
import '../../../icon-button/modern';
|
|
6
|
-
import '
|
|
7
|
-
import '@alfalab/
|
|
8
|
-
import '
|
|
7
|
+
import '@alfalab/icons-glyph/AlertCircleMIcon';
|
|
8
|
+
import '@alfalab/icons-glyph/CheckmarkCircleMIcon';
|
|
9
|
+
import '@alfalab/icons-glyph/CrossCircleMIcon';
|
|
9
10
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
10
|
-
import '../components/base-toast-plate/hooks/useCustomIcons.js';
|
|
11
|
-
import '../components/base-toast-plate/hooks/useDeprecatedBadge.js';
|
|
12
|
-
import '../components/base-toast-plate/utils/isUnsafeBadge.js';
|
|
@@ -9,10 +9,10 @@ import 'classnames';
|
|
|
9
9
|
import './hooks/use-skeleton.js';
|
|
10
10
|
import '../../skeleton/esm';
|
|
11
11
|
import '@alfalab/hooks';
|
|
12
|
-
import './colors.module-
|
|
12
|
+
import './colors.module-bf4fcd9a.js';
|
|
13
13
|
import './title/component.js';
|
|
14
14
|
import './title/utils.js';
|
|
15
|
-
import './common.module-
|
|
15
|
+
import './common.module-efe4e6e2.js';
|
|
16
16
|
import '../../mq/esm';
|
|
17
17
|
|
|
18
18
|
var Typography = {
|
package/typography/esm/index.js
CHANGED
|
@@ -8,11 +8,11 @@ import 'classnames';
|
|
|
8
8
|
import './hooks/use-skeleton.js';
|
|
9
9
|
import '../../skeleton/esm';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
|
-
import './colors.module-
|
|
11
|
+
import './colors.module-bf4fcd9a.js';
|
|
12
12
|
import './title/index.js';
|
|
13
13
|
import './title/component.js';
|
|
14
14
|
import './title/utils.js';
|
|
15
|
-
import './common.module-
|
|
15
|
+
import './common.module-efe4e6e2.js';
|
|
16
16
|
import './title-mobile/component.js';
|
|
17
17
|
import './title-responsive/component.js';
|
|
18
18
|
import '../../mq/esm';
|
|
@@ -3,7 +3,7 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
4
|
import cn from 'classnames';
|
|
5
5
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
6
|
-
import { c as colors } from '../colors.module-
|
|
6
|
+
import { c as colors } from '../colors.module-bf4fcd9a.js';
|
|
7
7
|
import '../../../skeleton/esm';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@ import mergeRefs from 'react-merge-refs';
|
|
|
4
4
|
import cn from 'classnames';
|
|
5
5
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
6
6
|
import { getDefaultWeight } from './utils.js';
|
|
7
|
-
import { c as colors } from '../colors.module-
|
|
7
|
+
import { c as colors } from '../colors.module-bf4fcd9a.js';
|
|
8
8
|
import '../../../skeleton/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { TitleBase } from './component.js';
|
|
4
|
-
import { c as commonStyles } from '../common.module-
|
|
4
|
+
import { c as commonStyles } from '../common.module-efe4e6e2.js';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../hooks/use-skeleton.js';
|
|
8
8
|
import '../../../skeleton/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import './utils.js';
|
|
11
|
-
import '../colors.module-
|
|
11
|
+
import '../colors.module-bf4fcd9a.js';
|
|
12
12
|
|
|
13
13
|
var styles = {"styrene-xlarge":"typography__styrene-xlarge_f6qr3","styrene-large":"typography__styrene-large_f6qr3","styrene-medium":"typography__styrene-medium_f6qr3","styrene-small":"typography__styrene-small_f6qr3","styrene-xsmall":"typography__styrene-xsmall_f6qr3","system-xlarge":"typography__system-xlarge_f6qr3","system-large":"typography__system-large_f6qr3","system-medium":"typography__system-medium_f6qr3","system-small":"typography__system-small_f6qr3","system-xsmall":"typography__system-xsmall_f6qr3","margins-xlarge":"typography__margins-xlarge_f6qr3","margins-large":"typography__margins-large_f6qr3","margins-medium":"typography__margins-medium_f6qr3","margins-small":"typography__margins-small_f6qr3","margins-xsmall":"typography__margins-xsmall_f6qr3","rowLimit1":"typography__rowLimit1_f6qr3","rowLimit2":"typography__rowLimit2_f6qr3","rowLimit3":"typography__rowLimit3_f6qr3"};
|
|
14
14
|
require('./index.css');
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { __assign } from 'tslib';
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { TitleBase } from '../title/component.js';
|
|
4
|
-
import { c as commonStyles } from '../common.module-
|
|
4
|
+
import { c as commonStyles } from '../common.module-efe4e6e2.js';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../hooks/use-skeleton.js';
|
|
8
8
|
import '../../../skeleton/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../title/utils.js';
|
|
11
|
-
import '../colors.module-
|
|
11
|
+
import '../colors.module-bf4fcd9a.js';
|
|
12
12
|
|
|
13
13
|
var styles = {"styrene-xlarge":"typography__styrene-xlarge_n0x2v","styrene-large":"typography__styrene-large_n0x2v","styrene-medium":"typography__styrene-medium_n0x2v","styrene-small":"typography__styrene-small_n0x2v","styrene-xsmall":"typography__styrene-xsmall_n0x2v","system-xlarge":"typography__system-xlarge_n0x2v","system-large":"typography__system-large_n0x2v","system-medium":"typography__system-medium_n0x2v","system-small":"typography__system-small_n0x2v","system-xsmall":"typography__system-xsmall_n0x2v"};
|
|
14
14
|
require('./index.css');
|
|
@@ -8,5 +8,5 @@ import '../hooks/use-skeleton.js';
|
|
|
8
8
|
import '../../../skeleton/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../title/utils.js';
|
|
11
|
-
import '../colors.module-
|
|
12
|
-
import '../common.module-
|
|
11
|
+
import '../colors.module-bf4fcd9a.js';
|
|
12
|
+
import '../common.module-efe4e6e2.js';
|
|
@@ -2,14 +2,14 @@ import { __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { useMatchMedia } from '../../../mq/esm';
|
|
4
4
|
import { TitleBase } from '../title/component.js';
|
|
5
|
-
import { c as commonStyles } from '../common.module-
|
|
5
|
+
import { c as commonStyles } from '../common.module-efe4e6e2.js';
|
|
6
6
|
import 'react-merge-refs';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '../hooks/use-skeleton.js';
|
|
9
9
|
import '../../../skeleton/esm';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import '../title/utils.js';
|
|
12
|
-
import '../colors.module-
|
|
12
|
+
import '../colors.module-bf4fcd9a.js';
|
|
13
13
|
|
|
14
14
|
var styles = {"styrene-xlarge":"typography__styrene-xlarge_kv2ad","styrene-large":"typography__styrene-large_kv2ad","styrene-medium":"typography__styrene-medium_kv2ad","styrene-small":"typography__styrene-small_kv2ad","styrene-xsmall":"typography__styrene-xsmall_kv2ad","system-xlarge":"typography__system-xlarge_kv2ad","system-large":"typography__system-large_kv2ad","system-medium":"typography__system-medium_kv2ad","system-small":"typography__system-small_kv2ad","system-xsmall":"typography__system-xsmall_kv2ad","margins-xlarge":"typography__margins-xlarge_kv2ad","margins-large":"typography__margins-large_kv2ad","margins-medium":"typography__margins-medium_kv2ad","margins-small":"typography__margins-small_kv2ad","margins-xsmall":"typography__margins-xsmall_kv2ad"};
|
|
15
15
|
require('./index.css');
|
|
@@ -9,5 +9,5 @@ import '../hooks/use-skeleton.js';
|
|
|
9
9
|
import '../../../skeleton/esm';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import '../title/utils.js';
|
|
12
|
-
import '../colors.module-
|
|
13
|
-
import '../common.module-
|
|
12
|
+
import '../colors.module-bf4fcd9a.js';
|
|
13
|
+
import '../common.module-efe4e6e2.js';
|
|
@@ -8,10 +8,10 @@ import 'classnames';
|
|
|
8
8
|
import './hooks/use-skeleton.js';
|
|
9
9
|
import '../../skeleton/modern';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
|
-
import './colors.module-
|
|
11
|
+
import './colors.module-21f32eaa.js';
|
|
12
12
|
import './title/component.js';
|
|
13
13
|
import './title/utils.js';
|
|
14
|
-
import './common.module-
|
|
14
|
+
import './common.module-086a5ae1.js';
|
|
15
15
|
import '../../mq/modern';
|
|
16
16
|
|
|
17
17
|
const Typography = {
|
|
@@ -7,11 +7,11 @@ import 'classnames';
|
|
|
7
7
|
import './hooks/use-skeleton.js';
|
|
8
8
|
import '../../skeleton/modern';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
|
-
import './colors.module-
|
|
10
|
+
import './colors.module-21f32eaa.js';
|
|
11
11
|
import './title/index.js';
|
|
12
12
|
import './title/component.js';
|
|
13
13
|
import './title/utils.js';
|
|
14
|
-
import './common.module-
|
|
14
|
+
import './common.module-086a5ae1.js';
|
|
15
15
|
import './title-mobile/component.js';
|
|
16
16
|
import './title-responsive/component.js';
|
|
17
17
|
import '../../mq/modern';
|
|
@@ -2,7 +2,7 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import mergeRefs from 'react-merge-refs';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
5
|
-
import { c as colors } from '../colors.module-
|
|
5
|
+
import { c as colors } from '../colors.module-21f32eaa.js';
|
|
6
6
|
import '../../../skeleton/modern';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@ import mergeRefs from 'react-merge-refs';
|
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { useSkeleton } from '../hooks/use-skeleton.js';
|
|
5
5
|
import { getDefaultWeight } from './utils.js';
|
|
6
|
-
import { c as colors } from '../colors.module-
|
|
6
|
+
import { c as colors } from '../colors.module-21f32eaa.js';
|
|
7
7
|
import '../../../skeleton/modern';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { TitleBase } from './component.js';
|
|
3
|
-
import { c as commonStyles } from '../common.module-
|
|
3
|
+
import { c as commonStyles } from '../common.module-086a5ae1.js';
|
|
4
4
|
import 'react-merge-refs';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '../hooks/use-skeleton.js';
|
|
7
7
|
import '../../../skeleton/modern';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
import './utils.js';
|
|
10
|
-
import '../colors.module-
|
|
10
|
+
import '../colors.module-21f32eaa.js';
|
|
11
11
|
|
|
12
12
|
const styles = {"styrene-xlarge":"typography__styrene-xlarge_f6qr3","styrene-large":"typography__styrene-large_f6qr3","styrene-medium":"typography__styrene-medium_f6qr3","styrene-small":"typography__styrene-small_f6qr3","styrene-xsmall":"typography__styrene-xsmall_f6qr3","system-xlarge":"typography__system-xlarge_f6qr3","system-large":"typography__system-large_f6qr3","system-medium":"typography__system-medium_f6qr3","system-small":"typography__system-small_f6qr3","system-xsmall":"typography__system-xsmall_f6qr3","margins-xlarge":"typography__margins-xlarge_f6qr3","margins-large":"typography__margins-large_f6qr3","margins-medium":"typography__margins-medium_f6qr3","margins-small":"typography__margins-small_f6qr3","margins-xsmall":"typography__margins-xsmall_f6qr3","rowLimit1":"typography__rowLimit1_f6qr3","rowLimit2":"typography__rowLimit2_f6qr3","rowLimit3":"typography__rowLimit3_f6qr3"};
|
|
13
13
|
require('./index.css');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { TitleBase } from '../title/component.js';
|
|
3
|
-
import { c as commonStyles } from '../common.module-
|
|
3
|
+
import { c as commonStyles } from '../common.module-086a5ae1.js';
|
|
4
4
|
import 'react-merge-refs';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '../hooks/use-skeleton.js';
|
|
7
7
|
import '../../../skeleton/modern';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
import '../title/utils.js';
|
|
10
|
-
import '../colors.module-
|
|
10
|
+
import '../colors.module-21f32eaa.js';
|
|
11
11
|
|
|
12
12
|
const styles = {"styrene-xlarge":"typography__styrene-xlarge_n0x2v","styrene-large":"typography__styrene-large_n0x2v","styrene-medium":"typography__styrene-medium_n0x2v","styrene-small":"typography__styrene-small_n0x2v","styrene-xsmall":"typography__styrene-xsmall_n0x2v","system-xlarge":"typography__system-xlarge_n0x2v","system-large":"typography__system-large_n0x2v","system-medium":"typography__system-medium_n0x2v","system-small":"typography__system-small_n0x2v","system-xsmall":"typography__system-xsmall_n0x2v"};
|
|
13
13
|
require('./index.css');
|
|
@@ -7,5 +7,5 @@ import '../hooks/use-skeleton.js';
|
|
|
7
7
|
import '../../../skeleton/modern';
|
|
8
8
|
import '@alfalab/hooks';
|
|
9
9
|
import '../title/utils.js';
|
|
10
|
-
import '../colors.module-
|
|
11
|
-
import '../common.module-
|
|
10
|
+
import '../colors.module-21f32eaa.js';
|
|
11
|
+
import '../common.module-086a5ae1.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { useMatchMedia } from '../../../mq/modern';
|
|
3
3
|
import { TitleBase } from '../title/component.js';
|
|
4
|
-
import { c as commonStyles } from '../common.module-
|
|
4
|
+
import { c as commonStyles } from '../common.module-086a5ae1.js';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import 'classnames';
|
|
7
7
|
import '../hooks/use-skeleton.js';
|
|
8
8
|
import '../../../skeleton/modern';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../title/utils.js';
|
|
11
|
-
import '../colors.module-
|
|
11
|
+
import '../colors.module-21f32eaa.js';
|
|
12
12
|
|
|
13
13
|
const styles = {"styrene-xlarge":"typography__styrene-xlarge_kv2ad","styrene-large":"typography__styrene-large_kv2ad","styrene-medium":"typography__styrene-medium_kv2ad","styrene-small":"typography__styrene-small_kv2ad","styrene-xsmall":"typography__styrene-xsmall_kv2ad","system-xlarge":"typography__system-xlarge_kv2ad","system-large":"typography__system-large_kv2ad","system-medium":"typography__system-medium_kv2ad","system-small":"typography__system-small_kv2ad","system-xsmall":"typography__system-xsmall_kv2ad","margins-xlarge":"typography__margins-xlarge_kv2ad","margins-large":"typography__margins-large_kv2ad","margins-medium":"typography__margins-medium_kv2ad","margins-small":"typography__margins-small_kv2ad","margins-xsmall":"typography__margins-xsmall_kv2ad"};
|
|
14
14
|
require('./index.css');
|
|
@@ -8,5 +8,5 @@ import '../hooks/use-skeleton.js';
|
|
|
8
8
|
import '../../../skeleton/modern';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import '../title/utils.js';
|
|
11
|
-
import '../colors.module-
|
|
12
|
-
import '../common.module-
|
|
11
|
+
import '../colors.module-21f32eaa.js';
|
|
12
|
+
import '../common.module-086a5ae1.js';
|