@astral/ui 4.40.0 → 4.42.0

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.
Files changed (71) hide show
  1. package/components/Notification/Notification.js +1 -0
  2. package/components/Notification/NotificationContainer/styles.js +16 -5
  3. package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +3 -3
  4. package/components/Notification/NotificationStackContainer/styles.js +261 -23
  5. package/components/Notification/NotificationStackContainer/useLogic/hooks/index.d.ts +1 -0
  6. package/components/Notification/NotificationStackContainer/useLogic/hooks/index.js +1 -0
  7. package/components/Notification/NotificationStackContainer/useLogic/hooks/useHover/useHover.d.ts +5 -1
  8. package/components/Notification/NotificationStackContainer/useLogic/hooks/useHover/useHover.js +6 -2
  9. package/components/Notification/NotificationStackContainer/useLogic/hooks/useTouchStackExpand/index.d.ts +1 -0
  10. package/components/Notification/NotificationStackContainer/useLogic/hooks/useTouchStackExpand/index.js +1 -0
  11. package/components/Notification/NotificationStackContainer/useLogic/hooks/useTouchStackExpand/useTouchStackExpand.d.ts +10 -0
  12. package/components/Notification/NotificationStackContainer/useLogic/hooks/useTouchStackExpand/useTouchStackExpand.js +54 -0
  13. package/components/Notification/NotificationStackContainer/useLogic/useLogic.d.ts +1 -1
  14. package/components/Notification/NotificationStackContainer/useLogic/useLogic.js +19 -9
  15. package/components/Notification/NotificationTemplate/styles.js +20 -0
  16. package/components/Notification/constants.d.ts +4 -0
  17. package/components/Notification/constants.js +4 -0
  18. package/components/PageLayoutSection/PageLayoutSection.d.ts +21 -0
  19. package/components/PageLayoutSection/PageLayoutSection.js +19 -0
  20. package/components/PageLayoutSection/PageLayoutSectionContainer/PageLayoutSectionContainer.d.ts +25 -0
  21. package/components/PageLayoutSection/PageLayoutSectionContainer/PageLayoutSectionContainer.js +28 -0
  22. package/components/PageLayoutSection/PageLayoutSectionContainer/constants.d.ts +4 -0
  23. package/components/PageLayoutSection/PageLayoutSectionContainer/constants.js +4 -0
  24. package/components/PageLayoutSection/PageLayoutSectionContainer/index.d.ts +1 -0
  25. package/components/PageLayoutSection/PageLayoutSectionContainer/index.js +1 -0
  26. package/components/PageLayoutSection/PageLayoutSectionContainer/styles.d.ts +5 -0
  27. package/components/PageLayoutSection/PageLayoutSectionContainer/styles.js +51 -0
  28. package/components/PageLayoutSection/index.d.ts +2 -0
  29. package/components/PageLayoutSection/index.js +2 -0
  30. package/components/PageLayoutSection/public.d.ts +2 -0
  31. package/components/PageLayoutSection/public.js +2 -0
  32. package/components/PageLayoutSection/styles.d.ts +9 -0
  33. package/components/PageLayoutSection/styles.js +21 -0
  34. package/components/index.d.ts +1 -0
  35. package/components/index.js +1 -0
  36. package/node/components/Notification/Notification.js +1 -0
  37. package/node/components/Notification/NotificationContainer/styles.js +15 -4
  38. package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +3 -3
  39. package/node/components/Notification/NotificationStackContainer/styles.js +260 -22
  40. package/node/components/Notification/NotificationStackContainer/useLogic/hooks/index.d.ts +1 -0
  41. package/node/components/Notification/NotificationStackContainer/useLogic/hooks/index.js +1 -0
  42. package/node/components/Notification/NotificationStackContainer/useLogic/hooks/useHover/useHover.d.ts +5 -1
  43. package/node/components/Notification/NotificationStackContainer/useLogic/hooks/useHover/useHover.js +6 -2
  44. package/node/components/Notification/NotificationStackContainer/useLogic/hooks/useTouchStackExpand/index.d.ts +1 -0
  45. package/node/components/Notification/NotificationStackContainer/useLogic/hooks/useTouchStackExpand/index.js +17 -0
  46. package/node/components/Notification/NotificationStackContainer/useLogic/hooks/useTouchStackExpand/useTouchStackExpand.d.ts +10 -0
  47. package/node/components/Notification/NotificationStackContainer/useLogic/hooks/useTouchStackExpand/useTouchStackExpand.js +58 -0
  48. package/node/components/Notification/NotificationStackContainer/useLogic/useLogic.d.ts +1 -1
  49. package/node/components/Notification/NotificationStackContainer/useLogic/useLogic.js +18 -8
  50. package/node/components/Notification/NotificationTemplate/styles.js +20 -0
  51. package/node/components/Notification/constants.d.ts +4 -0
  52. package/node/components/Notification/constants.js +5 -1
  53. package/node/components/PageLayoutSection/PageLayoutSection.d.ts +21 -0
  54. package/node/components/PageLayoutSection/PageLayoutSection.js +22 -0
  55. package/node/components/PageLayoutSection/PageLayoutSectionContainer/PageLayoutSectionContainer.d.ts +25 -0
  56. package/node/components/PageLayoutSection/PageLayoutSectionContainer/PageLayoutSectionContainer.js +32 -0
  57. package/node/components/PageLayoutSection/PageLayoutSectionContainer/constants.d.ts +4 -0
  58. package/node/components/PageLayoutSection/PageLayoutSectionContainer/constants.js +7 -0
  59. package/node/components/PageLayoutSection/PageLayoutSectionContainer/index.d.ts +1 -0
  60. package/node/components/PageLayoutSection/PageLayoutSectionContainer/index.js +5 -0
  61. package/node/components/PageLayoutSection/PageLayoutSectionContainer/styles.d.ts +5 -0
  62. package/node/components/PageLayoutSection/PageLayoutSectionContainer/styles.js +54 -0
  63. package/node/components/PageLayoutSection/index.d.ts +2 -0
  64. package/node/components/PageLayoutSection/index.js +7 -0
  65. package/node/components/PageLayoutSection/public.d.ts +2 -0
  66. package/node/components/PageLayoutSection/public.js +7 -0
  67. package/node/components/PageLayoutSection/styles.d.ts +9 -0
  68. package/node/components/PageLayoutSection/styles.js +24 -0
  69. package/node/components/index.d.ts +1 -0
  70. package/node/components/index.js +5 -2
  71. package/package.json +1 -1
@@ -18,9 +18,13 @@ export declare const NOTIFY_STATIC_CONTAINER_ID = "static-notify-container";
18
18
  export declare const BANNER_CONTAINER_ID = "banner-container-id";
19
19
  export declare const NOTIFY_NO_TRANSITION_ATTR = "data-no-transition";
20
20
  export declare const NOTIFY_HEIGHT = "56px";
21
+ export declare const NOTIFY_HEIGHT_MOBILE = "40px";
21
22
  export declare const notifyClassnames: {
22
23
  root: string;
23
24
  body: string;
25
+ stack: string;
26
+ /** Обёртка только над stacked ToastContainer — без :has() отделяем внешний .Toastify от статичного */
27
+ stackHost: string;
24
28
  container: string;
25
29
  animationIn: string;
26
30
  animationOut: string;
@@ -20,9 +20,13 @@ export const NOTIFY_STATIC_CONTAINER_ID = 'static-notify-container';
20
20
  export const BANNER_CONTAINER_ID = 'banner-container-id';
21
21
  export const NOTIFY_NO_TRANSITION_ATTR = 'data-no-transition';
22
22
  export const NOTIFY_HEIGHT = '56px';
23
+ export const NOTIFY_HEIGHT_MOBILE = '40px';
23
24
  export const notifyClassnames = {
24
25
  root: createUIKitClassname('notify'),
25
26
  body: createUIKitClassname('notify__body'),
27
+ stack: createUIKitClassname('notify__stack'),
28
+ /** Обёртка только над stacked ToastContainer — без :has() отделяем внешний .Toastify от статичного */
29
+ stackHost: createUIKitClassname('notify__stack-host'),
26
30
  container: createUIKitClassname('notify__container'),
27
31
  animationIn: createUIKitClassname('notify_animation-in'),
28
32
  animationOut: createUIKitClassname('notify_animation-out'),
@@ -0,0 +1,21 @@
1
+ import { type ReactNode } from 'react';
2
+ export type PageLayoutSectionProps = {
3
+ children: ReactNode;
4
+ /**
5
+ * Название класса, применяется к корневому компоненту
6
+ */
7
+ className?: string;
8
+ };
9
+ /**
10
+ * Секция страницы. На десктопе между секциями отображается разделитель или отступ. На мобильных разрешениях секции оформляются как карточки.
11
+ *
12
+ * @example
13
+ * <PageLayout content={
14
+ * <PageLayoutSectionContainer>
15
+ * <PageLayoutSection>
16
+ * Секция 1
17
+ * </PageLayoutSection>
18
+ * </PageLayoutSectionContainer>
19
+ * } />
20
+ */
21
+ export declare const PageLayoutSection: import("react").ForwardRefExoticComponent<PageLayoutSectionProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from 'react';
3
+ import { Section, SectionInner } from './styles';
4
+ /**
5
+ * Секция страницы. На десктопе между секциями отображается разделитель или отступ. На мобильных разрешениях секции оформляются как карточки.
6
+ *
7
+ * @example
8
+ * <PageLayout content={
9
+ * <PageLayoutSectionContainer>
10
+ * <PageLayoutSection>
11
+ * Секция 1
12
+ * </PageLayoutSection>
13
+ * </PageLayoutSectionContainer>
14
+ * } />
15
+ */
16
+ export const PageLayoutSection = forwardRef((props, ref) => {
17
+ const { children, className } = props;
18
+ return (_jsx(Section, { className: className, ref: ref, children: _jsx(SectionInner, { children: children }) }));
19
+ });
@@ -0,0 +1,25 @@
1
+ import { type ReactNode } from 'react';
2
+ export type PageLayoutSectionContainerProps = {
3
+ children: ReactNode;
4
+ /**
5
+ * Название класса, применяется к корневому компоненту
6
+ */
7
+ className?: string;
8
+ /**
9
+ * На десктопе между секциями отображается разделитель; на мобиле по-прежнему карточки с отступами между ними.
10
+ */
11
+ isShowDivider?: boolean;
12
+ };
13
+ /**
14
+ * Контейнер для секций страницы.
15
+ *
16
+ * @example
17
+ * <PageLayout content={
18
+ * <PageLayoutSectionContainer>
19
+ * <PageLayoutSection>
20
+ * Секция 1
21
+ * </PageLayoutSection>
22
+ * </PageLayoutSectionContainer>
23
+ * } />
24
+ */
25
+ export declare const PageLayoutSectionContainer: ({ children, className, isShowDivider, }: PageLayoutSectionContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useContext, useMemo } from 'react';
3
+ import { PageContext } from '../../PageContext';
4
+ import { classNames } from '../../utils/classNames';
5
+ import { pageLayoutSectionContainerClassnames } from './constants';
6
+ import { SectionContainer } from './styles';
7
+ /**
8
+ * Контейнер для секций страницы.
9
+ *
10
+ * @example
11
+ * <PageLayout content={
12
+ * <PageLayoutSectionContainer>
13
+ * <PageLayoutSection>
14
+ * Секция 1
15
+ * </PageLayoutSection>
16
+ * </PageLayoutSectionContainer>
17
+ * } />
18
+ */
19
+ export const PageLayoutSectionContainer = ({ children, className, isShowDivider = false, }) => {
20
+ const { hasAside } = useContext(PageContext);
21
+ const classes = useMemo(() => {
22
+ return classNames(className, {
23
+ [pageLayoutSectionContainerClassnames.withAside]: hasAside,
24
+ [pageLayoutSectionContainerClassnames.withDivider]: isShowDivider,
25
+ });
26
+ }, [className, hasAside, isShowDivider]);
27
+ return _jsx(SectionContainer, { className: classes, children: children });
28
+ };
@@ -0,0 +1,4 @@
1
+ export declare const pageLayoutSectionContainerClassnames: {
2
+ withAside: string;
3
+ withDivider: string;
4
+ };
@@ -0,0 +1,4 @@
1
+ export const pageLayoutSectionContainerClassnames = {
2
+ withAside: 'page-layout-section__container_with-aside',
3
+ withDivider: 'page-layout-section__container_with-divider',
4
+ };
@@ -0,0 +1 @@
1
+ export { PageLayoutSectionContainer, type PageLayoutSectionContainerProps, } from './PageLayoutSectionContainer';
@@ -0,0 +1 @@
1
+ export { PageLayoutSectionContainer, } from './PageLayoutSectionContainer';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const SectionContainer: import("../../styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,51 @@
1
+ import { styled } from '../../styled';
2
+ import { pageLayoutSectionContainerClassnames } from './constants';
3
+ export const SectionContainer = styled.div `
4
+ overflow-y: auto;
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: ${({ theme }) => theme.spacing(6)};
8
+
9
+ padding-top: 0;
10
+ padding-bottom: ${({ theme }) => theme.spacing(4)};
11
+
12
+ border-top: none;
13
+
14
+ &.${pageLayoutSectionContainerClassnames.withAside} {
15
+ padding-top: ${({ theme }) => theme.spacing(4)};
16
+
17
+ border-top: ${({ theme }) => `1px solid ${theme.palette.grey[300]}`};
18
+ }
19
+
20
+ ${({ theme }) => theme.breakpoints.down('laptop')} {
21
+ gap: ${({ theme }) => theme.spacing(5)};
22
+ }
23
+
24
+ ${({ theme }) => theme.breakpoints.up('sm')} {
25
+ &.${pageLayoutSectionContainerClassnames.withDivider} {
26
+ & > :not(:last-child)::after {
27
+ content: '';
28
+
29
+ display: block;
30
+
31
+ width: 100%;
32
+ height: 1px;
33
+ margin-top: ${({ theme }) => theme.spacing(6)};
34
+
35
+ background-color: ${({ theme }) => theme.palette.grey[300]};
36
+ }
37
+ }
38
+ }
39
+
40
+ ${({ theme }) => theme.breakpoints.down('sm')} {
41
+ overflow: unset;
42
+ gap: ${({ theme }) => theme.spacing(4)};
43
+ order: 4;
44
+
45
+ &.${pageLayoutSectionContainerClassnames.withAside} {
46
+ padding-top: 0;
47
+
48
+ border-top: none;
49
+ }
50
+ }
51
+ `;
@@ -0,0 +1,2 @@
1
+ export { PageLayoutSection, type PageLayoutSectionProps, } from './PageLayoutSection';
2
+ export { PageLayoutSectionContainer, type PageLayoutSectionContainerProps, } from './PageLayoutSectionContainer';
@@ -0,0 +1,2 @@
1
+ export { PageLayoutSection, } from './PageLayoutSection';
2
+ export { PageLayoutSectionContainer, } from './PageLayoutSectionContainer';
@@ -0,0 +1,2 @@
1
+ export { PageLayoutSection, type PageLayoutSectionProps, } from './PageLayoutSection';
2
+ export { PageLayoutSectionContainer, type PageLayoutSectionContainerProps, } from './PageLayoutSectionContainer';
@@ -0,0 +1,2 @@
1
+ export { PageLayoutSection, } from './PageLayoutSection';
2
+ export { PageLayoutSectionContainer, } from './PageLayoutSectionContainer';
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export declare const Section: import("../styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
6
+ export declare const SectionInner: import("../styled").StyledComponent<{
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,21 @@
1
+ import { styled } from '../styled';
2
+ export const Section = styled.section `
3
+ ${({ theme }) => theme.breakpoints.down('sm')} {
4
+ margin: ${({ theme }) => theme.spacing(0, 4)};
5
+
6
+ background-color: ${({ theme }) => theme.palette.background.default};
7
+ border: 1px solid ${({ theme }) => theme.palette.grey[300]};
8
+ border-radius: ${({ theme }) => theme.shape.medium};
9
+ }
10
+ `;
11
+ export const SectionInner = styled.div `
12
+ padding: ${({ theme }) => theme.spacing(0, 6)};
13
+
14
+ ${({ theme }) => theme.breakpoints.down('laptop')} {
15
+ padding: ${({ theme }) => theme.spacing(0, 4)};
16
+ }
17
+
18
+ ${({ theme }) => theme.breakpoints.down('sm')} {
19
+ padding: ${({ theme }) => theme.spacing(4)};
20
+ }
21
+ `;
@@ -146,6 +146,7 @@ export * from './OverflowTypography';
146
146
  export { PageAlert, type PageAlertProps, } from './PageAlert';
147
147
  export { PageAside, type PageAsideProps, } from './PageAside';
148
148
  export { PageLayout, type PageLayoutProps, } from './PageLayout';
149
+ export { PageLayoutSection, type PageLayoutSectionProps, PageLayoutSectionContainer, type PageLayoutSectionContainerProps, } from './PageLayoutSection';
149
150
  export { PageAsideBlock, type PageAsideBlockProps, } from './PageAsideBlock';
150
151
  export { PageContent, PageContentHeader, PageContentHeaderActions, type PageContentHeaderActionsProps, type PageContentHeaderProps, type PageContentProps, pageContentClassnames, } from './PageContent';
151
152
  export { PageContext, type PageContextProps, PageContextProvider, } from './PageContext';
@@ -145,6 +145,7 @@ export * from './OverflowTypography';
145
145
  export { PageAlert, } from './PageAlert';
146
146
  export { PageAside, } from './PageAside';
147
147
  export { PageLayout, } from './PageLayout';
148
+ export { PageLayoutSection, PageLayoutSectionContainer, } from './PageLayoutSection';
148
149
  export { PageAsideBlock, } from './PageAsideBlock';
149
150
  export { PageContent, PageContentHeader, PageContentHeaderActions, pageContentClassnames, } from './PageContent';
150
151
  export { PageContext, PageContextProvider, } from './PageContext';
@@ -8,6 +8,7 @@ const utils_1 = require("./utils");
8
8
  const leave = (0, react_toastify_next_1.cssTransition)({
9
9
  enter: constants_1.notifyClassnames.animationIn,
10
10
  exit: constants_1.notifyClassnames.animationOut,
11
+ collapse: false,
11
12
  });
12
13
  exports.notify = {
13
14
  success: (title, { icon, ...options } = {}) => (0, react_toastify_next_1.toast)(({ toastProps }) => constants_2.NOTIFICATION_VARIANT.success({ ...options, icon, title }, toastProps), {
@@ -49,23 +49,28 @@ exports.Wrapper = (0, styled_1.styled)('div', {
49
49
  `}
50
50
  }
51
51
 
52
+ .Toastify__toast-container {
53
+ ${({ theme }) => theme.breakpoints.down('sm')} {
54
+ padding: ${({ theme }) => theme.spacing(4)};
55
+ }
56
+ }
57
+
52
58
  .${constants_1.notifyClassnames.animationIn} {
53
- animation: ${leaveIn} ease-in-out 0.34s;
59
+ animation: ${leaveIn} ease-in-out ${({ theme }) => theme.transitions.duration.standard}ms;
54
60
  animation-fill-mode: both;
55
61
 
56
62
  ${({ theme }) => theme.breakpoints.down('sm')} {
57
- animation: ${leaveInMobile} ease-in-out 0.34s;
63
+ animation: ${leaveInMobile} ease-in-out ${({ theme }) => theme.transitions.duration.standard}ms;
58
64
  animation-fill-mode: both;
59
65
  }
60
66
  }
61
67
 
62
68
  .${constants_1.notifyClassnames.animationOut} {
63
- animation: ${leaveOut} ease-in-out 0.34s;
69
+ animation: ${leaveOut} ease-in-out ${({ theme }) => theme.transitions.duration.standard}ms;
64
70
  animation-fill-mode: both;
65
71
  }
66
72
 
67
73
  .${constants_1.notifyClassnames.root} {
68
- min-height: ${constants_1.NOTIFY_HEIGHT};
69
74
  margin-bottom: ${({ theme }) => theme.spacing(1)};
70
75
  padding: 0;
71
76
 
@@ -84,6 +89,12 @@ exports.Wrapper = (0, styled_1.styled)('div', {
84
89
  width: 100%;
85
90
  height: 3px;
86
91
  }
92
+ ${({ theme }) => theme.breakpoints.up('sm')} {
93
+ min-height: ${constants_1.NOTIFY_HEIGHT};
94
+ }
95
+ ${({ theme }) => theme.breakpoints.down('sm')} {
96
+ min-height: ${constants_1.NOTIFY_HEIGHT_MOBILE};
97
+ }
87
98
 
88
99
  ${({ theme }) => theme.breakpoints.down('sm')} {
89
100
  margin-bottom: ${({ theme }) => theme.spacing(3)};
@@ -11,12 +11,12 @@ if (typeof window !== 'undefined') {
11
11
  (0, inject_style_1.injectStyle)();
12
12
  }
13
13
  const NotificationStackContainer = ({ containerId = constants_1.NOTIFY_CONTAINER_ID, staticContainerId = constants_1.NOTIFY_STATIC_CONTAINER_ID, bannerContainer, closeButton, ...props }) => {
14
- const { isVisibleCloseButton, isHoveredContainer, isStartedClosingNotify, closeAll, } = (0, useLogic_1.useLogic)({
14
+ const { isVisibleCloseButton, isStackExpanded, isStartedClosingNotify, closeAll, } = (0, useLogic_1.useLogic)({
15
15
  containerId,
16
16
  });
17
17
  return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { className: (0, classNames_1.classNames)({
18
- [constants_1.notifyClassnames.container]: isHoveredContainer,
19
- }), children: [(0, jsx_runtime_1.jsx)(styles_1.Inner, { ...props, ...{ stacked: true }, containerId: containerId, pauseOnFocusLoss: true, position: constants_1.NOTIFY_POSITIONS.BOTTOM_RIGHT, newestOnTop: false, closeOnClick: false, draggable: false, rtl: false, closeButton: false, bodyClassName: `${constants_1.notifyClassnames.body}`, toastClassName: constants_1.notifyClassnames.root, progressClassName: `${constants_1.notifyClassnames.progress}` }), isVisibleCloseButton && ((0, jsx_runtime_1.jsx)(styles_1.CloseButton, { size: "small", variant: "light", color: "grey", className: (0, classNames_1.classNames)({
18
+ [constants_1.notifyClassnames.container]: isStackExpanded,
19
+ }), children: [(0, jsx_runtime_1.jsx)("div", { className: constants_1.notifyClassnames.stackHost, children: (0, jsx_runtime_1.jsx)(styles_1.Inner, { ...props, className: (0, classNames_1.classNames)(constants_1.notifyClassnames.stack, props.className), ...{ stacked: true }, containerId: containerId, pauseOnFocusLoss: true, position: constants_1.NOTIFY_POSITIONS.BOTTOM_RIGHT, newestOnTop: false, closeOnClick: false, draggable: false, rtl: false, closeButton: false, bodyClassName: `${constants_1.notifyClassnames.body}`, toastClassName: constants_1.notifyClassnames.root, progressClassName: `${constants_1.notifyClassnames.progress}` }) }), isVisibleCloseButton && ((0, jsx_runtime_1.jsx)(styles_1.CloseButton, { size: "small", variant: "light", color: "grey", className: (0, classNames_1.classNames)({
20
20
  [constants_1.notifyClassnames.closeButtonAnimationOut]: isStartedClosingNotify,
21
21
  }), onClick: closeAll, children: "\u0421\u043A\u0440\u044B\u0442\u044C \u0432\u0441\u0435" })), (0, jsx_runtime_1.jsx)(styles_1.StaticInner, { containerId: staticContainerId, position: constants_1.NOTIFY_POSITIONS.BOTTOM_RIGHT, newestOnTop: false, closeOnClick: false, draggable: false, rtl: false, closeButton: false, bodyClassName: `${constants_1.notifyClassnames.body}`, toastClassName: constants_1.notifyClassnames.root, progressClassName: `${constants_1.notifyClassnames.progress}` }), bannerContainer] }));
22
22
  };