@alfalab/core-components 46.0.0-beta.2 → 46.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base-modal/Component.js +2 -1
- package/base-modal/cssm/Component.js +2 -1
- package/base-modal/esm/Component.js +2 -1
- package/base-modal/esm/index.js +1 -0
- package/base-modal/modern/Component.js +2 -1
- package/base-modal/modern/index.js +1 -0
- package/calendar-range/utils.js +3 -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/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/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/esm/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/index-7ca84eff.d.ts +15 -0
- package/international-phone-input/modern/index-7ca84eff.d.ts +15 -0
- package/modal/components/controls/Component.js +1 -1
- package/modal/components/footer/Component.js +1 -1
- package/modal/esm/Component.responsive.js +1 -1
- package/modal/esm/components/controls/Component.js +1 -1
- package/modal/esm/components/controls/index.js +1 -1
- package/modal/esm/components/footer/Component.js +1 -1
- package/modal/esm/desktop/Component.desktop.js +1 -1
- package/modal/esm/desktop/index.js +1 -1
- package/modal/esm/index.js +1 -1
- package/modal/esm/mobile/Component.mobile.js +1 -1
- package/modal/esm/mobile/index.js +1 -1
- package/modal/modern/Component.responsive.js +1 -1
- package/modal/modern/components/controls/Component.js +1 -1
- package/modal/modern/components/controls/index.js +1 -1
- package/modal/modern/components/footer/Component.js +1 -1
- package/modal/modern/desktop/Component.desktop.js +1 -1
- package/modal/modern/desktop/index.js +1 -1
- package/modal/modern/index.js +1 -1
- package/modal/modern/mobile/Component.mobile.js +1 -1
- package/modal/modern/mobile/index.js +1 -1
- package/notification/Component.js +2 -1
- package/notification/cssm/Component.js +2 -1
- package/notification/esm/Component.js +2 -1
- package/notification/esm/index.js +1 -0
- package/notification/modern/Component.js +2 -1
- package/notification/modern/index.js +1 -0
- package/notification-manager/component.js +2 -1
- package/notification-manager/cssm/component.js +2 -1
- package/notification-manager/esm/component.js +2 -1
- package/notification-manager/esm/index.js +1 -0
- package/notification-manager/modern/component.js +2 -1
- package/notification-manager/modern/index.js +1 -0
- package/package.json +2 -1
- package/picker-button/cssm/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/esm/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/index-bdb4c6b9.d.ts +1 -13
- package/picker-button/modern/index-bdb4c6b9.d.ts +1 -13
- package/popover/Component.js +2 -1
- package/popover/cssm/Component.js +2 -1
- package/popover/esm/Component.js +2 -1
- package/popover/esm/index.js +1 -0
- package/popover/modern/Component.js +2 -1
- package/popover/modern/index.js +1 -0
- package/select/esm/Component.responsive.js +1 -1
- package/select/esm/index.js +1 -1
- package/select/esm/mobile/Component.mobile.js +1 -1
- package/select/esm/mobile/Component.modal.mobile.js +1 -1
- package/select/esm/mobile/index.js +1 -1
- package/select/esm/presets/index.js +1 -1
- package/select/esm/presets/useSelectWithApply/hook.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/esm/shared/index.js +1 -1
- package/select/mobile/Component.mobile.js +1 -1
- package/select/modern/Component.responsive.js +1 -1
- package/select/modern/index.js +1 -1
- package/select/modern/mobile/Component.mobile.js +1 -1
- package/select/modern/mobile/Component.modal.mobile.js +1 -1
- package/select/modern/mobile/index.js +1 -1
- package/select/modern/presets/index.js +1 -1
- package/select/modern/presets/useSelectWithApply/hook.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/modern/shared/index.js +1 -1
- package/select/presets/index.js +1 -1
- package/select/presets/useSelectWithApply/hook.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
- package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
- package/select/shared/index.js +1 -1
- package/side-panel/components/controls/Component.js +1 -1
- package/side-panel/components/footer/Component.js +1 -1
- package/side-panel/esm/Component.responsive.js +1 -1
- package/side-panel/esm/components/controls/Component.js +1 -1
- package/side-panel/esm/components/controls/index.js +1 -1
- package/side-panel/esm/components/footer/Component.desktop.js +1 -1
- package/side-panel/esm/components/footer/Component.js +1 -1
- package/side-panel/esm/components/footer/Component.mobile.js +1 -1
- package/side-panel/esm/desktop/Component.desktop.js +1 -1
- package/side-panel/esm/desktop/index.js +1 -1
- package/side-panel/esm/index.js +1 -1
- package/side-panel/esm/mobile/Component.mobile.js +1 -1
- package/side-panel/esm/mobile/index.js +1 -1
- package/side-panel/modern/Component.responsive.js +1 -1
- package/side-panel/modern/components/controls/Component.js +1 -1
- package/side-panel/modern/components/controls/index.js +1 -1
- package/side-panel/modern/components/footer/Component.desktop.js +1 -1
- package/side-panel/modern/components/footer/Component.js +1 -1
- package/side-panel/modern/components/footer/Component.mobile.js +1 -1
- package/side-panel/modern/desktop/Component.desktop.js +1 -1
- package/side-panel/modern/desktop/index.js +1 -1
- package/side-panel/modern/index.js +1 -1
- package/side-panel/modern/mobile/Component.mobile.js +1 -1
- package/side-panel/modern/mobile/index.js +1 -1
- package/stack/component.js +4 -4
- package/stack/cssm/component.js +4 -4
- package/stack/cssm/index.d.ts +0 -1
- package/stack/cssm/index.js +0 -3
- package/stack/esm/component.js +1 -1
- package/stack/esm/index.d.ts +0 -1
- package/stack/esm/index.js +1 -1
- package/stack/index.d.ts +0 -1
- package/stack/index.js +0 -3
- package/stack/modern/component.js +1 -1
- package/stack/modern/index.d.ts +0 -1
- package/stack/modern/index.js +1 -1
- package/steps/Component.js +9 -8
- package/steps/cssm/Component.js +9 -8
- package/steps/esm/Component.js +10 -9
- package/steps/modern/Component.js +10 -9
- 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/compiled/mobile-dark-bluetint.css +178 -39
- package/toast/components/base-toast/component.js +2 -1
- package/toast/cssm/components/base-toast/component.js +2 -1
- package/toast/esm/Component.responsive.js +1 -0
- package/toast/esm/components/base-toast/component.js +2 -1
- package/toast/esm/components/base-toast/index.js +1 -0
- package/toast/esm/desktop/Component.desktop.js +1 -0
- package/toast/esm/desktop/index.js +1 -0
- package/toast/esm/index.js +1 -0
- package/toast/esm/mobile/Component.mobile.js +1 -0
- package/toast/esm/mobile/index.js +1 -0
- package/toast/modern/Component.responsive.js +1 -0
- package/toast/modern/components/base-toast/component.js +2 -1
- package/toast/modern/components/base-toast/index.js +1 -0
- package/toast/modern/desktop/Component.desktop.js +1 -0
- package/toast/modern/desktop/index.js +1 -0
- package/toast/modern/index.js +1 -0
- package/toast/modern/mobile/Component.mobile.js +1 -0
- package/toast/modern/mobile/index.js +1 -0
- package/toast-plate/components/base-toast-plate/component.js +1 -1
- package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/Component.responsive.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/component.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/index.js +1 -1
- package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/esm/desktop/Component.desktop.js +1 -1
- package/toast-plate/esm/desktop/index.js +1 -1
- package/toast-plate/esm/index-307da6d7.d.ts +1 -1
- package/toast-plate/esm/index.js +1 -1
- package/toast-plate/esm/mobile/Component.mobile.js +1 -1
- package/toast-plate/esm/mobile/index.js +1 -1
- package/toast-plate/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/Component.responsive.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/component.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/index.js +1 -1
- package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
- package/toast-plate/modern/desktop/Component.desktop.js +1 -1
- package/toast-plate/modern/desktop/index.js +1 -1
- package/toast-plate/modern/index-307da6d7.d.ts +1 -1
- package/toast-plate/modern/index.js +1 -1
- package/toast-plate/modern/mobile/Component.mobile.js +1 -1
- package/toast-plate/modern/mobile/index.js +1 -1
- 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 +1 -13
- package/universal-date-input/esm/index-5712fce2.d.ts +1 -13
- package/universal-date-input/index-5712fce2.d.ts +1 -13
- package/universal-date-input/modern/index-5712fce2.d.ts +1 -13
- package/international-phone-input/cssm/index-136acbb1.d.ts +0 -28
- package/international-phone-input/esm/index-136acbb1.d.ts +0 -28
- package/international-phone-input/index-136acbb1.d.ts +0 -28
- package/international-phone-input/modern/index-136acbb1.d.ts +0 -28
- package/stack/context.d.ts +0 -29
- package/stack/context.js +0 -34
- package/stack/cssm/context.d.ts +0 -29
- package/stack/cssm/context.js +0 -34
- package/stack/esm/context.d.ts +0 -29
- package/stack/esm/context.js +0 -31
- package/stack/modern/context.d.ts +0 -29
- package/stack/modern/context.js +0 -31
- /package/confirmation/{countdown-section-756d249f.d.ts → countdown-section-80b2f871.d.ts} +0 -0
- /package/confirmation/{countdown-section-756d249f.js → countdown-section-80b2f871.js} +0 -0
- /package/confirmation/esm/{countdown-section-7dc1e811.d.ts → countdown-section-acc1051f.d.ts} +0 -0
- /package/confirmation/esm/{countdown-section-7dc1e811.js → countdown-section-acc1051f.js} +0 -0
- /package/confirmation/modern/{countdown-section-eccb06b6.d.ts → countdown-section-91463948.d.ts} +0 -0
- /package/confirmation/modern/{countdown-section-eccb06b6.js → countdown-section-91463948.js} +0 -0
- /package/gallery/{buttons-0e0683d9.d.ts → buttons-2d32d0ff.d.ts} +0 -0
- /package/gallery/{buttons-0e0683d9.js → buttons-2d32d0ff.js} +0 -0
- /package/gallery/esm/{buttons-eabdb51b.d.ts → buttons-7f3fd122.d.ts} +0 -0
- /package/gallery/esm/{buttons-eabdb51b.js → buttons-7f3fd122.js} +0 -0
- /package/gallery/esm/{slide-a8f6ccc1.d.ts → slide-296478be.d.ts} +0 -0
- /package/gallery/esm/{slide-a8f6ccc1.js → slide-296478be.js} +0 -0
- /package/gallery/modern/{buttons-062ff167.d.ts → buttons-efa9898e.d.ts} +0 -0
- /package/gallery/modern/{buttons-062ff167.js → buttons-efa9898e.js} +0 -0
- /package/gallery/modern/{slide-b5566e19.d.ts → slide-7d442501.d.ts} +0 -0
- /package/gallery/modern/{slide-b5566e19.js → slide-7d442501.js} +0 -0
- /package/gallery/{slide-3d8ed06b.d.ts → slide-4fbf6ff4.d.ts} +0 -0
- /package/gallery/{slide-3d8ed06b.js → slide-4fbf6ff4.js} +0 -0
- /package/modal/esm/{layout.module-912924e9.js → layout.module-8c2ad581.js} +0 -0
- /package/modal/{layout.module-e38411cc.js → layout.module-9c7f42a7.js} +0 -0
- /package/modal/modern/{layout.module-020e2ced.js → layout.module-7b9f84d6.js} +0 -0
- /package/select/esm/{hook-ec5dced0.d.ts → hook-74e64a0c.d.ts} +0 -0
- /package/select/esm/{hook-ec5dced0.js → hook-74e64a0c.js} +0 -0
- /package/select/{hook-24546f56.d.ts → hook-0bb52889.d.ts} +0 -0
- /package/select/{hook-24546f56.js → hook-0bb52889.js} +0 -0
- /package/select/modern/{hook-b714aff5.d.ts → hook-6af684e1.d.ts} +0 -0
- /package/select/modern/{hook-b714aff5.js → hook-6af684e1.js} +0 -0
- /package/side-panel/esm/{layout.module-bde8ec44.js → layout.module-42bf261d.js} +0 -0
- /package/side-panel/{layout.module-a60d58a0.js → layout.module-2ea47a88.js} +0 -0
- /package/side-panel/modern/{layout.module-f1c80687.js → layout.module-39651e51.js} +0 -0
- /package/textarea/{PseudoTextArea-7681334c.d.ts → PseudoTextArea-53ba3572.d.ts} +0 -0
- /package/textarea/{PseudoTextArea-7681334c.js → PseudoTextArea-53ba3572.js} +0 -0
- /package/textarea/esm/{PseudoTextArea-850a55b5.d.ts → PseudoTextArea-278ebb87.d.ts} +0 -0
- /package/textarea/esm/{PseudoTextArea-850a55b5.js → PseudoTextArea-278ebb87.js} +0 -0
- /package/textarea/modern/{PseudoTextArea-c51ed577.d.ts → PseudoTextArea-0d65e973.d.ts} +0 -0
- /package/textarea/modern/{PseudoTextArea-c51ed577.js → PseudoTextArea-0d65e973.js} +0 -0
- /package/toast-plate/esm/{getDataTestId-185adec6.d.ts → getDataTestId-32d52205.d.ts} +0 -0
- /package/toast-plate/esm/{getDataTestId-185adec6.js → getDataTestId-32d52205.js} +0 -0
- /package/toast-plate/{getDataTestId-3138baed.d.ts → getDataTestId-1de39d74.d.ts} +0 -0
- /package/toast-plate/{getDataTestId-3138baed.js → getDataTestId-1de39d74.js} +0 -0
- /package/toast-plate/modern/{getDataTestId-3a028081.d.ts → getDataTestId-dd00ab19.d.ts} +0 -0
- /package/toast-plate/modern/{getDataTestId-3a028081.js → getDataTestId-dd00ab19.js} +0 -0
- /package/typography/{colors.module-eb3d91ee.js → colors.module-95ea7fc4.js} +0 -0
- /package/typography/{common.module-a8409ce9.js → common.module-ae53b4de.js} +0 -0
- /package/typography/esm/{colors.module-457deb40.js → colors.module-2b53143b.js} +0 -0
- /package/typography/esm/{common.module-99428575.js → common.module-1373fada.js} +0 -0
- /package/typography/modern/{colors.module-a0d2e648.js → colors.module-5db1b616.js} +0 -0
- /package/typography/modern/{common.module-5bbb2813.js → common.module-49874e31.js} +0 -0
|
@@ -3,7 +3,7 @@ import { GalleryContext } from '../../context.js';
|
|
|
3
3
|
import { isSmallImage } from '../../utils/utils.js';
|
|
4
4
|
import { TestIds } from '../../utils/constants.js';
|
|
5
5
|
import { HeaderInfoBlock } from '../header-info-block/Component.js';
|
|
6
|
-
import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-
|
|
6
|
+
import { s as styles, D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-efa9898e.js';
|
|
7
7
|
import '../../../../typography/modern';
|
|
8
8
|
import '../../utils/split-filename.js';
|
|
9
9
|
import '../../../../icon-button/modern';
|
|
@@ -5,4 +5,4 @@ import '@alfalab/icons-glyph/ArrowsInwardMIcon';
|
|
|
5
5
|
import '@alfalab/icons-glyph/ArrowsOutwardMIcon';
|
|
6
6
|
import '@alfalab/icons-glyph/CrossMIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/PointerDownMIcon';
|
|
8
|
-
export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-
|
|
8
|
+
export { D as Download, E as Exit, a as ExitFullscreen, F as Fullscreen } from '../../buttons-efa9898e.js';
|
|
@@ -6,7 +6,7 @@ import '../../utils/constants.js';
|
|
|
6
6
|
import '../header-info-block/Component.js';
|
|
7
7
|
import '../../../../typography/modern';
|
|
8
8
|
import '../../utils/split-filename.js';
|
|
9
|
-
import '../../buttons-
|
|
9
|
+
import '../../buttons-efa9898e.js';
|
|
10
10
|
import '../../../../icon-button/modern';
|
|
11
11
|
import '../../../../tooltip/modern/desktop';
|
|
12
12
|
import '@alfalab/icons-glyph/ArrowsInwardMIcon';
|
|
@@ -19,7 +19,7 @@ import 'swiper/react';
|
|
|
19
19
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
20
20
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
21
21
|
import '../../utils/constants.js';
|
|
22
|
-
import '../../slide-
|
|
22
|
+
import '../../slide-7d442501.js';
|
|
23
23
|
import '../image-viewer/paths.js';
|
|
24
24
|
import 'swiper/swiper.min.css';
|
|
25
25
|
|
|
@@ -19,7 +19,7 @@ import '@alfalab/hooks';
|
|
|
19
19
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
20
20
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
21
21
|
import '../../utils/constants.js';
|
|
22
|
-
import '../../slide-
|
|
22
|
+
import '../../slide-7d442501.js';
|
|
23
23
|
import '../image-viewer/paths.js';
|
|
24
24
|
import 'swiper/swiper.min.css';
|
|
25
25
|
import './paths.js';
|
|
@@ -9,7 +9,7 @@ import { ChevronForwardHeavyMIcon } from '@alfalab/icons-glyph/ChevronForwardHea
|
|
|
9
9
|
import { GalleryContext } from '../../context.js';
|
|
10
10
|
import { getImageAlt, getImageKey } from '../../utils/utils.js';
|
|
11
11
|
import { TestIds } from '../../utils/constants.js';
|
|
12
|
-
import { s as styles, S as Slide } from '../../slide-
|
|
12
|
+
import { s as styles, S as Slide } from '../../slide-7d442501.js';
|
|
13
13
|
import 'swiper/swiper.min.css';
|
|
14
14
|
import '../../../../typography/modern';
|
|
15
15
|
import './paths.js';
|
|
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
|
10
10
|
import '../../context.js';
|
|
11
11
|
import '../../utils/utils.js';
|
|
12
12
|
import '../../utils/constants.js';
|
|
13
|
-
import '../../slide-
|
|
13
|
+
import '../../slide-7d442501.js';
|
|
14
14
|
import '../../../../typography/modern';
|
|
15
15
|
import './paths.js';
|
|
16
16
|
import 'swiper/swiper.min.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
3
|
import '../../../../typography/modern';
|
|
4
|
-
export { S as Slide } from '../../slide-
|
|
4
|
+
export { S as Slide } from '../../slide-7d442501.js';
|
|
5
5
|
import '../../utils/utils.js';
|
|
6
6
|
import '../../utils/constants.js';
|
|
7
7
|
import './paths.js';
|
|
@@ -21,10 +21,10 @@ import 'swiper/react';
|
|
|
21
21
|
import '@alfalab/hooks';
|
|
22
22
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
23
23
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
24
|
-
import '../slide-
|
|
24
|
+
import '../slide-7d442501.js';
|
|
25
25
|
import './image-viewer/paths.js';
|
|
26
26
|
import 'swiper/swiper.min.css';
|
|
27
27
|
import './image-preview/paths.js';
|
|
28
28
|
import './header-info-block/Component.js';
|
|
29
29
|
import '../utils/split-filename.js';
|
|
30
|
-
import '../buttons-
|
|
30
|
+
import '../buttons-efa9898e.js';
|
|
@@ -19,7 +19,7 @@ import 'swiper/react';
|
|
|
19
19
|
import '@alfalab/hooks';
|
|
20
20
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
21
21
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
22
|
-
import '../../slide-
|
|
22
|
+
import '../../slide-7d442501.js';
|
|
23
23
|
import '../image-viewer/paths.js';
|
|
24
24
|
import 'swiper/swiper.min.css';
|
|
25
25
|
import '../image-preview/paths.js';
|
|
@@ -20,7 +20,7 @@ import 'swiper/react';
|
|
|
20
20
|
import '@alfalab/hooks';
|
|
21
21
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
22
22
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
23
|
-
import '../../slide-
|
|
23
|
+
import '../../slide-7d442501.js';
|
|
24
24
|
import '../image-viewer/paths.js';
|
|
25
25
|
import 'swiper/swiper.min.css';
|
|
26
26
|
import '../image-preview/paths.js';
|
package/gallery/modern/index.js
CHANGED
|
@@ -22,10 +22,10 @@ import 'swiper/react';
|
|
|
22
22
|
import '@alfalab/hooks';
|
|
23
23
|
import '@alfalab/icons-glyph/ChevronBackHeavyMIcon';
|
|
24
24
|
import '@alfalab/icons-glyph/ChevronForwardHeavyMIcon';
|
|
25
|
-
import './slide-
|
|
25
|
+
import './slide-7d442501.js';
|
|
26
26
|
import './components/image-viewer/paths.js';
|
|
27
27
|
import 'swiper/swiper.min.css';
|
|
28
28
|
import './components/image-preview/paths.js';
|
|
29
29
|
import './components/header/Component.js';
|
|
30
30
|
import './components/header-info-block/Component.js';
|
|
31
|
-
import './buttons-
|
|
31
|
+
import './buttons-efa9898e.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
type StackProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Render prop, в который передается функция.
|
|
5
|
+
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
6
|
+
*/
|
|
7
|
+
children: (value: number) => ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Исходное значение для z-index.
|
|
10
|
+
* @default 5
|
|
11
|
+
*/
|
|
12
|
+
value?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const Stack: FC<StackProps>;
|
|
15
|
+
export { StackProps, Stack };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
type StackProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Render prop, в который передается функция.
|
|
5
|
+
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
6
|
+
*/
|
|
7
|
+
children: (value: number) => ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Исходное значение для z-index.
|
|
10
|
+
* @default 5
|
|
11
|
+
*/
|
|
12
|
+
value?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const Stack: FC<StackProps>;
|
|
15
|
+
export { StackProps, Stack };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
type StackProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Render prop, в который передается функция.
|
|
5
|
+
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
6
|
+
*/
|
|
7
|
+
children: (value: number) => ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Исходное значение для z-index.
|
|
10
|
+
* @default 5
|
|
11
|
+
*/
|
|
12
|
+
value?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const Stack: FC<StackProps>;
|
|
15
|
+
export { StackProps, Stack };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
|
+
type StackProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Render prop, в который передается функция.
|
|
5
|
+
* Функция принимает аргумент со значением z-index из текущего контекста.
|
|
6
|
+
*/
|
|
7
|
+
children: (value: number) => ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Исходное значение для z-index.
|
|
10
|
+
* @default 5
|
|
11
|
+
*/
|
|
12
|
+
value?: number;
|
|
13
|
+
};
|
|
14
|
+
declare const Stack: FC<StackProps>;
|
|
15
|
+
export { StackProps, Stack };
|
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var cn = require('classnames');
|
|
5
5
|
var coreComponentsShared = require('../../../shared');
|
|
6
6
|
var ResponsiveContext = require('../../ResponsiveContext.js');
|
|
7
|
-
var layout_module = require('../../layout.module-
|
|
7
|
+
var layout_module = require('../../layout.module-9c7f42a7.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
10
|
|
|
@@ -6,7 +6,7 @@ var coreComponentsShared = require('../../../shared');
|
|
|
6
6
|
var consts = require('../../consts.js');
|
|
7
7
|
var Context = require('../../Context.js');
|
|
8
8
|
var ResponsiveContext = require('../../ResponsiveContext.js');
|
|
9
|
-
var layout_module = require('../../layout.module-
|
|
9
|
+
var layout_module = require('../../layout.module-9c7f42a7.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
12
12
|
|
|
@@ -12,7 +12,7 @@ import './consts.js';
|
|
|
12
12
|
import './Context.js';
|
|
13
13
|
import '../../base-modal/esm';
|
|
14
14
|
import './ResponsiveContext.js';
|
|
15
|
-
import './layout.module-
|
|
15
|
+
import './layout.module-8c2ad581.js';
|
|
16
16
|
import '../../navigation-bar-private/esm';
|
|
17
17
|
import 'react-merge-refs';
|
|
18
18
|
|
|
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { getDataTestId } from '../../../../shared/esm';
|
|
4
4
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
5
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
5
|
+
import { l as layoutStyles } from '../../layout.module-8c2ad581.js';
|
|
6
6
|
|
|
7
7
|
var styles = {"component":"modal__component_6629a"};
|
|
8
8
|
require('./index.css');
|
|
@@ -4,7 +4,7 @@ import { getDataTestId } from '../../../../shared/esm';
|
|
|
4
4
|
import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
|
|
5
5
|
import { ModalContext } from '../../Context.js';
|
|
6
6
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
7
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
7
|
+
import { l as layoutStyles } from '../../layout.module-8c2ad581.js';
|
|
8
8
|
import '../../../../base-modal/esm';
|
|
9
9
|
|
|
10
10
|
var desktopStyles = {"footer":"modal__footer_e5vdf","sticky":"modal__sticky_e5vdf","fullscreen":"modal__fullscreen_e5vdf","size-500":"modal__size-500_e5vdf","size-600":"modal__size-600_e5vdf","size-800":"modal__size-800_e5vdf","size-1140":"modal__size-1140_e5vdf"};
|
|
@@ -12,7 +12,7 @@ import '../consts.js';
|
|
|
12
12
|
import '../ResponsiveContext.js';
|
|
13
13
|
import '../../../shared/esm';
|
|
14
14
|
import '../Context.js';
|
|
15
|
-
import '../layout.module-
|
|
15
|
+
import '../layout.module-8c2ad581.js';
|
|
16
16
|
import '../../../navigation-bar-private/esm';
|
|
17
17
|
|
|
18
18
|
var ModalDesktopComponent = forwardRef(function (props, ref) { return (React.createElement(Modal, __assign({}, props, { ref: ref, view: 'desktop' }))); });
|
|
@@ -11,7 +11,7 @@ import '../components/content/Component.js';
|
|
|
11
11
|
import '../../../shared/esm';
|
|
12
12
|
import '../Context.js';
|
|
13
13
|
import '../components/controls/Component.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-8c2ad581.js';
|
|
15
15
|
import '../components/footer/Component.js';
|
|
16
16
|
import '../components/header/Component.js';
|
|
17
17
|
import '../../../navigation-bar-private/esm';
|
package/modal/esm/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import './Context.js';
|
|
|
10
10
|
import '../../base-modal/esm';
|
|
11
11
|
import './ResponsiveContext.js';
|
|
12
12
|
import './components/controls/Component.js';
|
|
13
|
-
import './layout.module-
|
|
13
|
+
import './layout.module-8c2ad581.js';
|
|
14
14
|
import './components/footer/Component.js';
|
|
15
15
|
import './components/header/Component.js';
|
|
16
16
|
import '../../navigation-bar-private/esm';
|
|
@@ -12,7 +12,7 @@ import '../consts.js';
|
|
|
12
12
|
import '../ResponsiveContext.js';
|
|
13
13
|
import '../../../shared/esm';
|
|
14
14
|
import '../Context.js';
|
|
15
|
-
import '../layout.module-
|
|
15
|
+
import '../layout.module-8c2ad581.js';
|
|
16
16
|
import '../../../navigation-bar-private/esm';
|
|
17
17
|
|
|
18
18
|
var ModalMobileComponent = forwardRef(function (props, ref) { return (React.createElement(Modal, __assign({}, props, { ref: ref, view: 'mobile' }))); });
|
|
@@ -11,7 +11,7 @@ import '../components/content/Component.js';
|
|
|
11
11
|
import '../../../shared/esm';
|
|
12
12
|
import '../Context.js';
|
|
13
13
|
import '../components/controls/Component.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-8c2ad581.js';
|
|
15
15
|
import '../components/footer/Component.js';
|
|
16
16
|
import '../components/header/Component.js';
|
|
17
17
|
import '../../../navigation-bar-private/esm';
|
|
@@ -11,7 +11,7 @@ import './consts.js';
|
|
|
11
11
|
import './Context.js';
|
|
12
12
|
import '../../base-modal/modern';
|
|
13
13
|
import './ResponsiveContext.js';
|
|
14
|
-
import './layout.module-
|
|
14
|
+
import './layout.module-7b9f84d6.js';
|
|
15
15
|
import '../../navigation-bar-private/modern';
|
|
16
16
|
import 'react-merge-refs';
|
|
17
17
|
|
|
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { getDataTestId } from '../../../../shared/modern';
|
|
4
4
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
5
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
5
|
+
import { l as layoutStyles } from '../../layout.module-7b9f84d6.js';
|
|
6
6
|
|
|
7
7
|
const styles = {"component":"modal__component_6629a"};
|
|
8
8
|
require('./index.css');
|
|
@@ -4,7 +4,7 @@ import { getDataTestId } from '../../../../shared/modern';
|
|
|
4
4
|
import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
|
|
5
5
|
import { ModalContext } from '../../Context.js';
|
|
6
6
|
import { ResponsiveContext } from '../../ResponsiveContext.js';
|
|
7
|
-
import { l as layoutStyles } from '../../layout.module-
|
|
7
|
+
import { l as layoutStyles } from '../../layout.module-7b9f84d6.js';
|
|
8
8
|
import '../../../../base-modal/modern';
|
|
9
9
|
|
|
10
10
|
const desktopStyles = {"footer":"modal__footer_e5vdf","sticky":"modal__sticky_e5vdf","fullscreen":"modal__fullscreen_e5vdf","size-500":"modal__size-500_e5vdf","size-600":"modal__size-600_e5vdf","size-800":"modal__size-800_e5vdf","size-1140":"modal__size-1140_e5vdf"};
|
|
@@ -11,7 +11,7 @@ import '../consts.js';
|
|
|
11
11
|
import '../ResponsiveContext.js';
|
|
12
12
|
import '../../../shared/modern';
|
|
13
13
|
import '../Context.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-7b9f84d6.js';
|
|
15
15
|
import '../../../navigation-bar-private/modern';
|
|
16
16
|
|
|
17
17
|
const ModalDesktopComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'desktop' })));
|
|
@@ -10,7 +10,7 @@ import '../components/content/Component.js';
|
|
|
10
10
|
import '../../../shared/modern';
|
|
11
11
|
import '../Context.js';
|
|
12
12
|
import '../components/controls/Component.js';
|
|
13
|
-
import '../layout.module-
|
|
13
|
+
import '../layout.module-7b9f84d6.js';
|
|
14
14
|
import '../components/footer/Component.js';
|
|
15
15
|
import '../components/header/Component.js';
|
|
16
16
|
import '../../../navigation-bar-private/modern';
|
package/modal/modern/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import './Context.js';
|
|
|
9
9
|
import '../../base-modal/modern';
|
|
10
10
|
import './ResponsiveContext.js';
|
|
11
11
|
import './components/controls/Component.js';
|
|
12
|
-
import './layout.module-
|
|
12
|
+
import './layout.module-7b9f84d6.js';
|
|
13
13
|
import './components/footer/Component.js';
|
|
14
14
|
import './components/header/Component.js';
|
|
15
15
|
import '../../navigation-bar-private/modern';
|
|
@@ -11,7 +11,7 @@ import '../consts.js';
|
|
|
11
11
|
import '../ResponsiveContext.js';
|
|
12
12
|
import '../../../shared/modern';
|
|
13
13
|
import '../Context.js';
|
|
14
|
-
import '../layout.module-
|
|
14
|
+
import '../layout.module-7b9f84d6.js';
|
|
15
15
|
import '../../../navigation-bar-private/modern';
|
|
16
16
|
|
|
17
17
|
const ModalMobileComponent = forwardRef((props, ref) => (React.createElement(Modal, { ...props, ref: ref, view: 'mobile' })));
|
|
@@ -10,7 +10,7 @@ import '../components/content/Component.js';
|
|
|
10
10
|
import '../../../shared/modern';
|
|
11
11
|
import '../Context.js';
|
|
12
12
|
import '../components/controls/Component.js';
|
|
13
|
-
import '../layout.module-
|
|
13
|
+
import '../layout.module-7b9f84d6.js';
|
|
14
14
|
import '../components/footer/Component.js';
|
|
15
15
|
import '../components/header/Component.js';
|
|
16
16
|
import '../../../navigation-bar-private/modern';
|
|
@@ -9,6 +9,7 @@ var elementClosest = require('element-closest');
|
|
|
9
9
|
var coreComponentsPortal = require('../portal');
|
|
10
10
|
var coreComponentsStack = require('../stack');
|
|
11
11
|
var desktop = require('../toast-plate/desktop');
|
|
12
|
+
var stackContext = require('@alfalab/stack-context');
|
|
12
13
|
var utils_index = require('./utils/index.js');
|
|
13
14
|
|
|
14
15
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -23,7 +24,7 @@ require('./index.css');
|
|
|
23
24
|
|
|
24
25
|
var notificationClassNameSelector = ".".concat(styles.notificationComponent);
|
|
25
26
|
var Notification = React.forwardRef(function (_a, ref) {
|
|
26
|
-
var className = _a.className, actionSectionClassName = _a.actionSectionClassName, children = _a.children, visible = _a.visible, _b = _a.offset, offset = _b === void 0 ? 108 : _b, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, _d = _a.autoCloseDelay, autoCloseDelay = _d === void 0 ? 5000 : _d, _e = _a.usePortal, usePortal = _e === void 0 ? true : _e, _f = _a.zIndex, zIndex = _f === void 0 ?
|
|
27
|
+
var className = _a.className, actionSectionClassName = _a.actionSectionClassName, children = _a.children, visible = _a.visible, _b = _a.offset, offset = _b === void 0 ? 108 : _b, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, _d = _a.autoCloseDelay, autoCloseDelay = _d === void 0 ? 5000 : _d, _e = _a.usePortal, usePortal = _e === void 0 ? true : _e, _f = _a.zIndex, zIndex = _f === void 0 ? stackContext.stackingOrder.TOAST : _f, style = _a.style, onClose = _a.onClose, onCloseTimeout = _a.onCloseTimeout, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onClickOutside = _a.onClickOutside, restProps = tslib.__rest(_a, ["className", "actionSectionClassName", "children", "visible", "offset", "hasCloser", "autoCloseDelay", "usePortal", "zIndex", "style", "onClose", "onCloseTimeout", "onMouseEnter", "onMouseLeave", "onClickOutside"]);
|
|
27
28
|
var notificationRef = React.useRef(null);
|
|
28
29
|
var autoCloseTimeoutRef = React.useRef(0);
|
|
29
30
|
var closeTimeoutRef = React.useRef(0);
|
|
@@ -9,6 +9,7 @@ var elementClosest = require('element-closest');
|
|
|
9
9
|
var coreComponentsPortal = require('../../portal/cssm');
|
|
10
10
|
var coreComponentsStack = require('../../stack/cssm');
|
|
11
11
|
var desktop = require('../../toast-plate/cssm/desktop');
|
|
12
|
+
var stackContext = require('@alfalab/stack-context');
|
|
12
13
|
var utils_index = require('./utils/index.js');
|
|
13
14
|
var styles = require('./index.module.css');
|
|
14
15
|
|
|
@@ -22,7 +23,7 @@ var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
|
|
|
22
23
|
|
|
23
24
|
var notificationClassNameSelector = ".".concat(styles__default.default.notificationComponent);
|
|
24
25
|
var Notification = React.forwardRef(function (_a, ref) {
|
|
25
|
-
var className = _a.className, actionSectionClassName = _a.actionSectionClassName, children = _a.children, visible = _a.visible, _b = _a.offset, offset = _b === void 0 ? 108 : _b, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, _d = _a.autoCloseDelay, autoCloseDelay = _d === void 0 ? 5000 : _d, _e = _a.usePortal, usePortal = _e === void 0 ? true : _e, _f = _a.zIndex, zIndex = _f === void 0 ?
|
|
26
|
+
var className = _a.className, actionSectionClassName = _a.actionSectionClassName, children = _a.children, visible = _a.visible, _b = _a.offset, offset = _b === void 0 ? 108 : _b, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, _d = _a.autoCloseDelay, autoCloseDelay = _d === void 0 ? 5000 : _d, _e = _a.usePortal, usePortal = _e === void 0 ? true : _e, _f = _a.zIndex, zIndex = _f === void 0 ? stackContext.stackingOrder.TOAST : _f, style = _a.style, onClose = _a.onClose, onCloseTimeout = _a.onCloseTimeout, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onClickOutside = _a.onClickOutside, restProps = tslib.__rest(_a, ["className", "actionSectionClassName", "children", "visible", "offset", "hasCloser", "autoCloseDelay", "usePortal", "zIndex", "style", "onClose", "onCloseTimeout", "onMouseEnter", "onMouseLeave", "onClickOutside"]);
|
|
26
27
|
var notificationRef = React.useRef(null);
|
|
27
28
|
var autoCloseTimeoutRef = React.useRef(0);
|
|
28
29
|
var closeTimeoutRef = React.useRef(0);
|
|
@@ -5,8 +5,9 @@ import { useSwipeable } from 'react-swipeable';
|
|
|
5
5
|
import cn from 'classnames';
|
|
6
6
|
import elementClosest from 'element-closest';
|
|
7
7
|
import { Portal } from '../../portal/esm';
|
|
8
|
-
import {
|
|
8
|
+
import { Stack } from '../../stack/esm';
|
|
9
9
|
import { ToastPlateDesktop } from '../../toast-plate/esm/desktop';
|
|
10
|
+
import { stackingOrder } from '@alfalab/stack-context';
|
|
10
11
|
import { useClickOutside } from './utils/index.js';
|
|
11
12
|
|
|
12
13
|
var styles = {"notificationComponent":"notification__notificationComponent_x5voa","isVisible":"notification__isVisible_x5voa","isClosing":"notification__isClosing_x5voa","toastContent":"notification__toastContent_x5voa","actionSection":"notification__actionSection_x5voa"};
|
|
@@ -4,8 +4,9 @@ import { useSwipeable } from 'react-swipeable';
|
|
|
4
4
|
import cn from 'classnames';
|
|
5
5
|
import elementClosest from 'element-closest';
|
|
6
6
|
import { Portal } from '../../portal/modern';
|
|
7
|
-
import { Stack
|
|
7
|
+
import { Stack } from '../../stack/modern';
|
|
8
8
|
import { ToastPlateDesktop } from '../../toast-plate/modern/desktop';
|
|
9
|
+
import { stackingOrder } from '@alfalab/stack-context';
|
|
9
10
|
import { useClickOutside } from './utils/index.js';
|
|
10
11
|
|
|
11
12
|
const styles = {"notificationComponent":"notification__notificationComponent_x5voa","isVisible":"notification__isVisible_x5voa","isClosing":"notification__isClosing_x5voa","toastContent":"notification__toastContent_x5voa","actionSection":"notification__actionSection_x5voa"};
|
|
@@ -6,6 +6,7 @@ var reactTransitionGroup = require('react-transition-group');
|
|
|
6
6
|
var cn = require('classnames');
|
|
7
7
|
var coreComponentsPortal = require('../portal');
|
|
8
8
|
var coreComponentsStack = require('../stack');
|
|
9
|
+
var stackContext = require('@alfalab/stack-context');
|
|
9
10
|
var components_notification_component = require('./components/notification/component.js');
|
|
10
11
|
|
|
11
12
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -25,7 +26,7 @@ var TIMEOUT = {
|
|
|
25
26
|
enter: 400,
|
|
26
27
|
};
|
|
27
28
|
var NotificationManager = React.forwardRef(function (_a, ref) {
|
|
28
|
-
var notifications = _a.notifications, className = _a.className, dataTestId = _a.dataTestId, _b = _a.zIndex, zIndex = _b === void 0 ?
|
|
29
|
+
var notifications = _a.notifications, className = _a.className, dataTestId = _a.dataTestId, _b = _a.zIndex, zIndex = _b === void 0 ? stackContext.stackingOrder.TOAST : _b, _c = _a.style, style = _c === void 0 ? {} : _c, offset = _a.offset, onRemoveNotification = _a.onRemoveNotification, container = _a.container, restProps = tslib.__rest(_a, ["notifications", "className", "dataTestId", "zIndex", "style", "offset", "onRemoveNotification", "container"]);
|
|
29
30
|
return (React__default.default.createElement(coreComponentsStack.Stack, { value: zIndex }, function (computedZIndex) { return (React__default.default.createElement(coreComponentsPortal.Portal, { getPortalContainer: container },
|
|
30
31
|
React__default.default.createElement("div", tslib.__assign({ className: cn__default.default(styles.component, className), ref: ref, "data-test-id": dataTestId, style: tslib.__assign({ zIndex: computedZIndex, top: offset }, style) }, restProps),
|
|
31
32
|
React__default.default.createElement(reactTransitionGroup.TransitionGroup, null, notifications.map(function (element, index) {
|
|
@@ -6,6 +6,7 @@ var reactTransitionGroup = require('react-transition-group');
|
|
|
6
6
|
var cn = require('classnames');
|
|
7
7
|
var coreComponentsPortal = require('../../portal/cssm');
|
|
8
8
|
var coreComponentsStack = require('../../stack/cssm');
|
|
9
|
+
var stackContext = require('@alfalab/stack-context');
|
|
9
10
|
var components_notification_component = require('./components/notification/component.js');
|
|
10
11
|
var styles = require('./index.module.css');
|
|
11
12
|
|
|
@@ -24,7 +25,7 @@ var TIMEOUT = {
|
|
|
24
25
|
enter: 400,
|
|
25
26
|
};
|
|
26
27
|
var NotificationManager = React.forwardRef(function (_a, ref) {
|
|
27
|
-
var notifications = _a.notifications, className = _a.className, dataTestId = _a.dataTestId, _b = _a.zIndex, zIndex = _b === void 0 ?
|
|
28
|
+
var notifications = _a.notifications, className = _a.className, dataTestId = _a.dataTestId, _b = _a.zIndex, zIndex = _b === void 0 ? stackContext.stackingOrder.TOAST : _b, _c = _a.style, style = _c === void 0 ? {} : _c, offset = _a.offset, onRemoveNotification = _a.onRemoveNotification, container = _a.container, restProps = tslib.__rest(_a, ["notifications", "className", "dataTestId", "zIndex", "style", "offset", "onRemoveNotification", "container"]);
|
|
28
29
|
return (React__default.default.createElement(coreComponentsStack.Stack, { value: zIndex }, function (computedZIndex) { return (React__default.default.createElement(coreComponentsPortal.Portal, { getPortalContainer: container },
|
|
29
30
|
React__default.default.createElement("div", tslib.__assign({ className: cn__default.default(styles__default.default.component, className), ref: ref, "data-test-id": dataTestId, style: tslib.__assign({ zIndex: computedZIndex, top: offset }, style) }, restProps),
|
|
30
31
|
React__default.default.createElement(reactTransitionGroup.TransitionGroup, null, notifications.map(function (element, index) {
|
|
@@ -3,7 +3,8 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { TransitionGroup, CSSTransition } from 'react-transition-group';
|
|
4
4
|
import cn from 'classnames';
|
|
5
5
|
import { Portal } from '../../portal/esm';
|
|
6
|
-
import {
|
|
6
|
+
import { Stack } from '../../stack/esm';
|
|
7
|
+
import { stackingOrder } from '@alfalab/stack-context';
|
|
7
8
|
import { Notification } from './components/notification/component.js';
|
|
8
9
|
|
|
9
10
|
var styles = {"component":"notification-manager__component_1xrx7","notification":"notification-manager__notification_1xrx7","withoutMargin":"notification-manager__withoutMargin_1xrx7","enter":"notification-manager__enter_1xrx7","enterActive":"notification-manager__enterActive_1xrx7"};
|
|
@@ -2,7 +2,8 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { TransitionGroup, CSSTransition } from 'react-transition-group';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { Portal } from '../../portal/modern';
|
|
5
|
-
import { Stack
|
|
5
|
+
import { Stack } from '../../stack/modern';
|
|
6
|
+
import { stackingOrder } from '@alfalab/stack-context';
|
|
6
7
|
import { Notification } from './components/notification/component.js';
|
|
7
8
|
|
|
8
9
|
const styles = {"component":"notification-manager__component_1xrx7","notification":"notification-manager__notification_1xrx7","withoutMargin":"notification-manager__withoutMargin_1xrx7","enter":"notification-manager__enter_1xrx7","enterActive":"notification-manager__enterActive_1xrx7"};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components",
|
|
3
|
-
"version": "46.0.0-beta.
|
|
3
|
+
"version": "46.0.0-beta.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"@alfalab/hooks": "^1.13.0",
|
|
57
57
|
"@alfalab/icons-glyph": "^2.139.0",
|
|
58
58
|
"@alfalab/icons-logotype": "^2.27.0",
|
|
59
|
+
"@alfalab/stack-context": "^1.16.0",
|
|
59
60
|
"@alfalab/utils": "^1.15.2",
|
|
60
61
|
"@dnd-kit/core": "^6.0.7",
|
|
61
62
|
"@dnd-kit/sortable": "^7.0.2",
|
|
@@ -174,18 +174,6 @@ declare function isScrolledToBottom(target: HTMLElement): boolean;
|
|
|
174
174
|
declare function hasScrollbar(target: HTMLElement): boolean;
|
|
175
175
|
declare const restoreContainerStyles: (container: HTMLElement) => void;
|
|
176
176
|
declare const handleContainer: (container?: HTMLElement, shouldIOSLock?: boolean) => void;
|
|
177
|
-
/**
|
|
178
|
-
* Набор констант для z-index соответствующих классов компонентов.
|
|
179
|
-
* Значения выбраны по приоритету.
|
|
180
|
-
*/
|
|
181
|
-
declare const stackingOrder: {
|
|
182
|
-
FOCUSED: number;
|
|
183
|
-
DEFAULT: number;
|
|
184
|
-
POPOVER: number;
|
|
185
|
-
MODAL: number;
|
|
186
|
-
TOAST: number;
|
|
187
|
-
};
|
|
188
|
-
declare const StackingContext: import("react").Context<number>;
|
|
189
177
|
type StackProps = {
|
|
190
178
|
/**
|
|
191
179
|
* Render prop, в который передается функция.
|
|
@@ -226,5 +214,5 @@ declare class GlobalStore {
|
|
|
226
214
|
constructor();
|
|
227
215
|
getModalStore: () => ModalStore;
|
|
228
216
|
}
|
|
229
|
-
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer,
|
|
217
|
+
export { BaseModalProps, BaseModalContext, BaseModal, isScrolledToTop, isScrolledToBottom, hasScrollbar, restoreContainerStyles, handleContainer, StackProps, Stack, lockScroll, unlockScroll, syncHeight, PORTAL_CONTAINER_ATTRIBUTE, getDefaultPortalContainer, setRef, getModalStore, GlobalStore };
|
|
230
218
|
export type { SavedStyle };
|