@hh.ru/magritte-ui-modal 4.0.2 → 4.0.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/Modal.js CHANGED
@@ -15,7 +15,7 @@ import { Layer } from '@hh.ru/magritte-ui-layer';
15
15
  import { ModalContentWithHeader } from './ModalContentWithHeader.js';
16
16
  import { ModalFooter } from './ModalFooter.js';
17
17
  import { useModalOrder } from './useModalOrder.js';
18
- import { s as styles } from './modal-sPPpHqQi.js';
18
+ import { s as styles } from './modal-qb74afY1.js';
19
19
  import '@hh.ru/magritte-common-func-utils';
20
20
  import '@hh.ru/magritte-ui-divider';
21
21
  import './ModalHeader.js';
@@ -1,11 +1,11 @@
1
1
  import './index.css';
2
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
- import { useState, useRef, useLayoutEffect } from 'react';
3
+ import { useRef, useLayoutEffect } from 'react';
4
4
  import classnames from 'classnames';
5
5
  import { requestAnimation } from '@hh.ru/magritte-common-func-utils';
6
6
  import { Divider } from '@hh.ru/magritte-ui-divider';
7
7
  import { ModalHeader } from './ModalHeader.js';
8
- import { s as styles } from './modal-sPPpHqQi.js';
8
+ import { s as styles } from './modal-qb74afY1.js';
9
9
  import '@hh.ru/magritte-ui-title';
10
10
 
11
11
  const checkIsScrolledToBottom = (el) => {
@@ -13,12 +13,22 @@ const checkIsScrolledToBottom = (el) => {
13
13
  };
14
14
  const ModalContentWithHeader = ({ labelId, children, ...modalHeaderProps }) => {
15
15
  const { title, headerImage, actions, actionLink, options } = modalHeaderProps;
16
- const [isDividerVisible, setDividerVisible] = useState(false);
17
- const [isTopDividerVisible, setTopDividerVisible] = useState(false);
16
+ const topDividerVisibleRef = useRef(false);
17
+ const bottomDividerVisibleRef = useRef(false);
18
18
  const contentContainerRef = useRef(null);
19
+ /*
20
+ * Для управления отображением элементов и переключения стилизации используются рефы вместо стейта.
21
+ * Так сделано потому, что при изменении стилей контент внутри модала смещается. При этом внутри модала могут быть
22
+ * активаторы вызывающие показ дропов. Дропы обновляют свое позиционирование при скролле. Если обновлять стили
23
+ * с помощью изменения стейта, то новые стили будут применяться асинхронно, после вычисления дропом новой позиции.
24
+ * Это приведет к тому, что дропы будут позиционироваться не корректно в части случаев. Поэтому классы переключаются
25
+ * синхронно, а состояние сохраняется в рефы чтобы при ререндере стили были актуальными.
26
+ */
27
+ const bottomDividerContainerRef = useRef(null);
28
+ const topDividerContainerRef = useRef(null);
19
29
  const withoutHeader = !title && !headerImage && !actions && !actionLink && !options;
20
30
  const onlyActions = !title && !headerImage && !options && (actions || actionLink);
21
- const showTopDivider = isTopDividerVisible && (options || !headerImage) && !onlyActions && !withoutHeader;
31
+ const isTopDividerVisible = () => topDividerVisibleRef.current && (options || !headerImage) && !onlyActions && !withoutHeader;
22
32
  useLayoutEffect(() => {
23
33
  if (contentContainerRef.current) {
24
34
  const observer = new ResizeObserver(requestAnimation(() => {
@@ -27,25 +37,33 @@ const ModalContentWithHeader = ({ labelId, children, ...modalHeaderProps }) => {
27
37
  }
28
38
  const isScrollable = contentContainerRef.current.scrollHeight > contentContainerRef.current.clientHeight;
29
39
  const hasScroll = isScrollable && !checkIsScrolledToBottom(contentContainerRef.current);
30
- setDividerVisible(hasScroll);
40
+ bottomDividerVisibleRef.current = hasScroll;
41
+ bottomDividerContainerRef.current?.classList.toggle(styles.dividerContainerHidden, !bottomDividerVisibleRef.current);
31
42
  }));
32
43
  observer.observe(contentContainerRef.current);
33
44
  return () => observer.disconnect();
34
45
  }
35
46
  return undefined;
36
- }, [setDividerVisible]);
47
+ }, []);
37
48
  const handleScroll = () => {
38
49
  if (!contentContainerRef.current) {
39
50
  return;
40
51
  }
41
- setTopDividerVisible(contentContainerRef.current.scrollTop !== 0);
42
- setDividerVisible(!checkIsScrolledToBottom(contentContainerRef.current));
52
+ topDividerVisibleRef.current = contentContainerRef.current.scrollTop !== 0;
53
+ bottomDividerVisibleRef.current = !checkIsScrolledToBottom(contentContainerRef.current);
54
+ contentContainerRef.current.classList.toggle(styles.modalContentWithDivider, !!(topDividerVisibleRef.current && headerImage && !options));
55
+ bottomDividerContainerRef.current?.classList.toggle(styles.dividerContainerHidden, !bottomDividerVisibleRef.current);
56
+ topDividerContainerRef.current?.classList.toggle(styles.dividerContainerHidden, !isTopDividerVisible());
43
57
  };
44
58
  return (jsxs(Fragment, { children: [jsxs("div", { className: classnames(styles.modalContentWrapper, {
45
59
  [styles.modalContentWrapperOneLine]: onlyActions,
46
- }), children: [jsx(ModalHeader, { ...modalHeaderProps, labelId: labelId }), showTopDivider && (jsx("div", { className: styles.dividerContainer, children: jsx(Divider, {}) })), jsx("div", { className: classnames(styles.modalContent, {
47
- [styles.modalContentWithDivider]: isTopDividerVisible && headerImage && !options,
48
- }), ref: contentContainerRef, onScroll: handleScroll, children: children })] }), isDividerVisible && (jsx("div", { className: styles.dividerContainer, children: jsx(Divider, {}) }))] }));
60
+ }), children: [jsx(ModalHeader, { ...modalHeaderProps, labelId: labelId }), jsx("div", { className: classnames(styles.dividerContainer, {
61
+ [styles.dividerContainerHidden]: !isTopDividerVisible(),
62
+ }), ref: topDividerContainerRef, children: jsx(Divider, {}) }), jsx("div", { className: classnames(styles.modalContent, {
63
+ [styles.modalContentWithDivider]: topDividerVisibleRef.current && headerImage && !options,
64
+ }), ref: contentContainerRef, onScroll: handleScroll, children: children })] }), jsx("div", { className: classnames(styles.dividerContainer, {
65
+ [styles.dividerContainerHidden]: !bottomDividerVisibleRef.current,
66
+ }), ref: bottomDividerContainerRef, children: jsx(Divider, {}) })] }));
49
67
  };
50
68
 
51
69
  export { ModalContentWithHeader };
@@ -1 +1 @@
1
- {"version":3,"file":"ModalContentWithHeader.js","sources":["../src/ModalContentWithHeader.tsx"],"sourcesContent":["import { FC, PropsWithChildren, useLayoutEffect, useRef, useState } from 'react';\nimport classnames from 'classnames';\n\nimport { requestAnimation } from '@hh.ru/magritte-common-func-utils';\nimport { Divider } from '@hh.ru/magritte-ui-divider';\nimport { ModalHeader } from '@hh.ru/magritte-ui-modal/ModalHeader';\nimport { ModalHeaderProps } from '@hh.ru/magritte-ui-modal/types';\n\nimport styles from './modal.less';\n\nconst checkIsScrolledToBottom = (el: HTMLElement) => {\n return Math.abs(el.scrollHeight - el.scrollTop - el.clientHeight) < 1;\n};\n\nexport const ModalContentWithHeader: FC<PropsWithChildren<ModalHeaderProps & { labelId: string }>> = ({\n labelId,\n children,\n ...modalHeaderProps\n}) => {\n const { title, headerImage, actions, actionLink, options } = modalHeaderProps;\n const [isDividerVisible, setDividerVisible] = useState(false);\n const [isTopDividerVisible, setTopDividerVisible] = useState(false);\n const contentContainerRef = useRef<HTMLDivElement>(null);\n const withoutHeader = !title && !headerImage && !actions && !actionLink && !options;\n const onlyActions = !title && !headerImage && !options && (actions || actionLink);\n const showTopDivider = isTopDividerVisible && (options || !headerImage) && !onlyActions && !withoutHeader;\n\n useLayoutEffect(() => {\n if (contentContainerRef.current) {\n const observer = new ResizeObserver(\n requestAnimation(() => {\n if (!contentContainerRef.current) {\n return;\n }\n const isScrollable =\n contentContainerRef.current.scrollHeight > contentContainerRef.current.clientHeight;\n const hasScroll = isScrollable && !checkIsScrolledToBottom(contentContainerRef.current);\n setDividerVisible(hasScroll);\n })\n );\n observer.observe(contentContainerRef.current);\n return () => observer.disconnect();\n }\n\n return undefined;\n }, [setDividerVisible]);\n\n const handleScroll = () => {\n if (!contentContainerRef.current) {\n return;\n }\n setTopDividerVisible(contentContainerRef.current.scrollTop !== 0);\n setDividerVisible(!checkIsScrolledToBottom(contentContainerRef.current));\n };\n return (\n <>\n <div\n className={classnames(styles.modalContentWrapper, {\n [styles.modalContentWrapperOneLine]: onlyActions,\n })}\n >\n <ModalHeader {...modalHeaderProps} labelId={labelId} />\n {showTopDivider && (\n <div className={styles.dividerContainer}>\n <Divider />\n </div>\n )}\n <div\n className={classnames(styles.modalContent, {\n [styles.modalContentWithDivider]: isTopDividerVisible && headerImage && !options,\n })}\n ref={contentContainerRef}\n onScroll={handleScroll}\n >\n {children}\n </div>\n </div>\n {isDividerVisible && (\n <div className={styles.dividerContainer}>\n <Divider />\n </div>\n )}\n </>\n );\n};\n"],"names":["_jsxs","_Fragment","_jsx"],"mappings":";;;;;;;;;AAUA,MAAM,uBAAuB,GAAG,CAAC,EAAe,KAAI;AAChD,IAAA,OAAO,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,YAAY,GAAG,EAAE,CAAC,SAAS,GAAG,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;AAC1E,CAAC,CAAC;AAEK,MAAM,sBAAsB,GAAkE,CAAC,EAClG,OAAO,EACP,QAAQ,EACR,GAAG,gBAAgB,EACtB,KAAI;AACD,IAAA,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,gBAAgB,CAAC;IAC9E,MAAM,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9D,MAAM,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;AACpE,IAAA,MAAM,mBAAmB,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;AACzD,IAAA,MAAM,aAAa,GAAG,CAAC,KAAK,IAAI,CAAC,WAAW,IAAI,CAAC,OAAO,IAAI,CAAC,UAAU,IAAI,CAAC,OAAO,CAAC;AACpF,IAAA,MAAM,WAAW,GAAG,CAAC,KAAK,IAAI,CAAC,WAAW,IAAI,CAAC,OAAO,KAAK,OAAO,IAAI,UAAU,CAAC,CAAC;AAClF,IAAA,MAAM,cAAc,GAAG,mBAAmB,KAAK,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,aAAa,CAAC;IAE1G,eAAe,CAAC,MAAK;QACjB,IAAI,mBAAmB,CAAC,OAAO,EAAE;YAC7B,MAAM,QAAQ,GAAG,IAAI,cAAc,CAC/B,gBAAgB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,GAAA,CAAC,OAAO,EAAA,EAAA,CAAG,GACT,CACT,EACDA,GACI,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,YAAY,EAAE;4BACvC,CAAC,MAAM,CAAC,uBAAuB,GAAG,mBAAmB,IAAI,WAAW,IAAI,CAAC,OAAO;AACnF,yBAAA,CAAC,EACF,GAAG,EAAE,mBAAmB,EACxB,QAAQ,EAAE,YAAY,EAErB,QAAA,EAAA,QAAQ,EACP,CAAA,CAAA,EAAA,CACJ,EACL,gBAAgB,KACbA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,gBAAgB,EAAA,QAAA,EACnCA,GAAC,CAAA,OAAO,EAAG,EAAA,CAAA,EAAA,CACT,CACT,CAAA,EAAA,CACF,EACL;AACN;;;;"}
1
+ {"version":3,"file":"ModalContentWithHeader.js","sources":["../src/ModalContentWithHeader.tsx"],"sourcesContent":["import { FC, PropsWithChildren, useLayoutEffect, useRef } from 'react';\nimport classnames from 'classnames';\n\nimport { requestAnimation } from '@hh.ru/magritte-common-func-utils';\nimport { Divider } from '@hh.ru/magritte-ui-divider';\nimport { ModalHeader } from '@hh.ru/magritte-ui-modal/ModalHeader';\nimport { ModalHeaderProps } from '@hh.ru/magritte-ui-modal/types';\n\nimport styles from './modal.less';\n\nconst checkIsScrolledToBottom = (el: HTMLElement) => {\n return Math.abs(el.scrollHeight - el.scrollTop - el.clientHeight) < 1;\n};\n\nexport const ModalContentWithHeader: FC<PropsWithChildren<ModalHeaderProps & { labelId: string }>> = ({\n labelId,\n children,\n ...modalHeaderProps\n}) => {\n const { title, headerImage, actions, actionLink, options } = modalHeaderProps;\n const topDividerVisibleRef = useRef(false);\n const bottomDividerVisibleRef = useRef(false);\n const contentContainerRef = useRef<HTMLDivElement>(null);\n\n /*\n * Для управления отображением элементов и переключения стилизации используются рефы вместо стейта.\n * Так сделано потому, что при изменении стилей контент внутри модала смещается. При этом внутри модала могут быть\n * активаторы вызывающие показ дропов. Дропы обновляют свое позиционирование при скролле. Если обновлять стили\n * с помощью изменения стейта, то новые стили будут применяться асинхронно, после вычисления дропом новой позиции.\n * Это приведет к тому, что дропы будут позиционироваться не корректно в части случаев. Поэтому классы переключаются\n * синхронно, а состояние сохраняется в рефы чтобы при ререндере стили были актуальными.\n */\n const bottomDividerContainerRef = useRef<HTMLDivElement>(null);\n const topDividerContainerRef = useRef<HTMLDivElement>(null);\n\n const withoutHeader = !title && !headerImage && !actions && !actionLink && !options;\n const onlyActions = !title && !headerImage && !options && (actions || actionLink);\n\n const isTopDividerVisible = () =>\n topDividerVisibleRef.current && (options || !headerImage) && !onlyActions && !withoutHeader;\n\n useLayoutEffect(() => {\n if (contentContainerRef.current) {\n const observer = new ResizeObserver(\n requestAnimation(() => {\n if (!contentContainerRef.current) {\n return;\n }\n const isScrollable =\n contentContainerRef.current.scrollHeight > contentContainerRef.current.clientHeight;\n const hasScroll = isScrollable && !checkIsScrolledToBottom(contentContainerRef.current);\n bottomDividerVisibleRef.current = hasScroll;\n bottomDividerContainerRef.current?.classList.toggle(\n styles.dividerContainerHidden,\n !bottomDividerVisibleRef.current\n );\n })\n );\n observer.observe(contentContainerRef.current);\n return () => observer.disconnect();\n }\n\n return undefined;\n }, []);\n\n const handleScroll = () => {\n if (!contentContainerRef.current) {\n return;\n }\n topDividerVisibleRef.current = contentContainerRef.current.scrollTop !== 0;\n bottomDividerVisibleRef.current = !checkIsScrolledToBottom(contentContainerRef.current);\n contentContainerRef.current.classList.toggle(\n styles.modalContentWithDivider,\n !!(topDividerVisibleRef.current && headerImage && !options)\n );\n bottomDividerContainerRef.current?.classList.toggle(\n styles.dividerContainerHidden,\n !bottomDividerVisibleRef.current\n );\n topDividerContainerRef.current?.classList.toggle(styles.dividerContainerHidden, !isTopDividerVisible());\n };\n return (\n <>\n <div\n className={classnames(styles.modalContentWrapper, {\n [styles.modalContentWrapperOneLine]: onlyActions,\n })}\n >\n <ModalHeader {...modalHeaderProps} labelId={labelId} />\n <div\n className={classnames(styles.dividerContainer, {\n [styles.dividerContainerHidden]: !isTopDividerVisible(),\n })}\n ref={topDividerContainerRef}\n >\n <Divider />\n </div>\n <div\n className={classnames(styles.modalContent, {\n [styles.modalContentWithDivider]: topDividerVisibleRef.current && headerImage && !options,\n })}\n ref={contentContainerRef}\n onScroll={handleScroll}\n >\n {children}\n </div>\n </div>\n <div\n className={classnames(styles.dividerContainer, {\n [styles.dividerContainerHidden]: !bottomDividerVisibleRef.current,\n })}\n ref={bottomDividerContainerRef}\n >\n <Divider />\n </div>\n </>\n );\n};\n"],"names":["_jsxs","_Fragment","_jsx"],"mappings":";;;;;;;;;AAUA,MAAM,uBAAuB,GAAG,CAAC,EAAe,KAAI;AAChD,IAAA,OAAO,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,YAAY,GAAG,EAAE,CAAC,SAAS,GAAG,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;AAC1E,CAAC,CAAC;AAEK,MAAM,sBAAsB,GAAkE,CAAC,EAClG,OAAO,EACP,QAAQ,EACR,GAAG,gBAAgB,EACtB,KAAI;AACD,IAAA,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,gBAAgB,CAAC;AAC9E,IAAA,MAAM,oBAAoB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;AAC3C,IAAA,MAAM,uBAAuB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;AAC9C,IAAA,MAAM,mBAAmB,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;AAEzD;;;;;;;AAOG;AACH,IAAA,MAAM,yBAAyB,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;AAC/D,IAAA,MAAM,sBAAsB,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;AAE5D,IAAA,MAAM,aAAa,GAAG,CAAC,KAAK,IAAI,CAAC,WAAW,IAAI,CAAC,OAAO,IAAI,CA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GAAG,oBAAoB,CAAC,OAAO,IAAI,WAAW,IAAI,CAAC,OAAO;yBAC5F,CAAC,EACF,GAAG,EAAE,mBAAmB,EACxB,QAAQ,EAAE,YAAY,EAErB,QAAA,EAAA,QAAQ,GACP,CACJ,EAAA,CAAA,EACNA,aACI,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,gBAAgB,EAAE;oBAC3C,CAAC,MAAM,CAAC,sBAAsB,GAAG,CAAC,uBAAuB,CAAC,OAAO;iBACpE,CAAC,EACF,GAAG,EAAE,yBAAyB,EAAA,QAAA,EAE9BA,GAAC,CAAA,OAAO,EAAG,EAAA,CAAA,EAAA,CACT,CACP,EAAA,CAAA,EACL;AACN;;;;"}
package/ModalFooter.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
- import { s as styles } from './modal-sPPpHqQi.js';
3
+ import { s as styles } from './modal-qb74afY1.js';
4
4
 
5
5
  const ModalFooter = ({ leftButtons, rightButtons }) => {
6
6
  if (!leftButtons && !rightButtons) {
package/ModalHeader.js CHANGED
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import classnames from 'classnames';
4
4
  import { Title } from '@hh.ru/magritte-ui-title';
5
5
 
6
- var styles = {"wrapper":"magritte-wrapper___zH8vB_4-0-2","content":"magritte-content___o6ktq_4-0-2","options":"magritte-options___qfErQ_4-0-2","content-with-image":"magritte-content-with-image___YarBO_4-0-2","contentWithImage":"magritte-content-with-image___YarBO_4-0-2","actions":"magritte-actions___nQILV_4-0-2","actions-with-link":"magritte-actions-with-link___hnDux_4-0-2","actionsWithLink":"magritte-actions-with-link___hnDux_4-0-2","actions-single":"magritte-actions-single___usfKu_4-0-2","actionsSingle":"magritte-actions-single___usfKu_4-0-2"};
6
+ var styles = {"wrapper":"magritte-wrapper___zH8vB_4-0-4","content":"magritte-content___o6ktq_4-0-4","options":"magritte-options___qfErQ_4-0-4","content-with-image":"magritte-content-with-image___YarBO_4-0-4","contentWithImage":"magritte-content-with-image___YarBO_4-0-4","actions":"magritte-actions___nQILV_4-0-4","actions-with-link":"magritte-actions-with-link___hnDux_4-0-4","actionsWithLink":"magritte-actions-with-link___hnDux_4-0-4","actions-single":"magritte-actions-single___usfKu_4-0-4","actionsSingle":"magritte-actions-single___usfKu_4-0-4"};
7
7
 
8
8
  const ModalHeader = ({ title, headerImage, headerHeight = 0, titleAlignment, titleElement, titleMaxLines, titleSize, titleDescription, titleDescriptionMaxLines, titleStyle, titleDescriptionStyle, options, actions: _actions, actionLink, labelId, }) => {
9
9
  const actions = Array.isArray(_actions) ? _actions.slice(0, 5) : _actions;
package/index.css CHANGED
@@ -10,30 +10,30 @@
10
10
  --magritte-color-component-modal-background-action-v18-3-0:#20262b99;
11
11
  --magritte-gradient-component-modal-background-fade-v18-3-0:linear-gradient(180deg, #00000000 0%, #0000007a 100%);
12
12
  }
13
- .magritte-wrapper___zH8vB_4-0-2{
13
+ .magritte-wrapper___zH8vB_4-0-4{
14
14
  margin-bottom:32px;
15
15
  }
16
- .magritte-content___o6ktq_4-0-2{
16
+ .magritte-content___o6ktq_4-0-4{
17
17
  display:flex;
18
18
  align-items:flex-start;
19
19
  }
20
- .magritte-content___o6ktq_4-0-2 + .magritte-options___qfErQ_4-0-2{
20
+ .magritte-content___o6ktq_4-0-4 + .magritte-options___qfErQ_4-0-4{
21
21
  margin-top:24px;
22
22
  }
23
- .magritte-content___o6ktq_4-0-2.magritte-content-with-image___YarBO_4-0-2 + .magritte-options___qfErQ_4-0-2{
23
+ .magritte-content___o6ktq_4-0-4.magritte-content-with-image___YarBO_4-0-4 + .magritte-options___qfErQ_4-0-4{
24
24
  margin-top:32px;
25
25
  }
26
- .magritte-actions___nQILV_4-0-2{
26
+ .magritte-actions___nQILV_4-0-4{
27
27
  display:flex;
28
28
  padding-left:16px;
29
29
  gap:4px;
30
30
  margin-left:auto;
31
31
  --magritte-ui-link-padding-override:9px;
32
32
  }
33
- .magritte-actions-with-link___hnDux_4-0-2{
33
+ .magritte-actions-with-link___hnDux_4-0-4{
34
34
  padding:0 8px 0 28px;
35
35
  }
36
- .magritte-content-with-image___YarBO_4-0-2{
36
+ .magritte-content-with-image___YarBO_4-0-4{
37
37
  flex-direction:column;
38
38
  justify-content:flex-end;
39
39
  margin:-20px -20px 0;
@@ -43,18 +43,18 @@
43
43
  padding:12px 24px 24px;
44
44
  box-sizing:border-box;
45
45
  }
46
- .magritte-content-with-image___YarBO_4-0-2 .magritte-actions___nQILV_4-0-2{
46
+ .magritte-content-with-image___YarBO_4-0-4 .magritte-actions___nQILV_4-0-4{
47
47
  order:-1;
48
48
  gap:0;
49
49
  margin-right:-12px;
50
50
  margin-bottom:auto;
51
51
  }
52
- .magritte-content-with-image___YarBO_4-0-2 .magritte-actions___nQILV_4-0-2:not(.magritte-actions-with-link___hnDux_4-0-2){
52
+ .magritte-content-with-image___YarBO_4-0-4 .magritte-actions___nQILV_4-0-4:not(.magritte-actions-with-link___hnDux_4-0-4){
53
53
  padding:0 4px;
54
54
  background-color:var(--magritte-color-component-modal-background-action-v18-3-0);
55
55
  border-radius:var(--magritte-static-border-radius-300-v18-3-0);
56
56
  }
57
- .magritte-content-with-image___YarBO_4-0-2 .magritte-actions___nQILV_4-0-2.magritte-actions-single___usfKu_4-0-2:not(.magritte-actions-with-link___hnDux_4-0-2){
57
+ .magritte-content-with-image___YarBO_4-0-4 .magritte-actions___nQILV_4-0-4.magritte-actions-single___usfKu_4-0-4:not(.magritte-actions-with-link___hnDux_4-0-4){
58
58
  padding:0;
59
59
  }
60
60
 
@@ -73,7 +73,7 @@
73
73
  --magritte-color-background-overlay-v18-3-0:#20262b99;
74
74
  --magritte-color-component-modal-background-content-v18-3-0:#1B1B1B;
75
75
  }
76
- .magritte-modal-overlay___lK22l_4-0-2{
76
+ .magritte-modal-overlay___lK22l_4-0-4{
77
77
  position:fixed;
78
78
  top:0;
79
79
  right:0;
@@ -86,7 +86,7 @@
86
86
  z-index:1;
87
87
  user-select:text;
88
88
  }
89
- .magritte-modal___RAW6S_4-0-2{
89
+ .magritte-modal___RAW6S_4-0-4{
90
90
  display:flex;
91
91
  box-sizing:border-box;
92
92
  width:720px;
@@ -99,86 +99,89 @@
99
99
  border-radius:var(--magritte-static-border-radius-800-v18-3-0);
100
100
  overflow:hidden;
101
101
  }
102
- .magritte-modal-small___MMQT4_4-0-2{
102
+ .magritte-modal-small___MMQT4_4-0-4{
103
103
  width:460px;
104
104
  }
105
- .magritte-modal-content___46QFS_4-0-2{
105
+ .magritte-modal-content___46QFS_4-0-4{
106
106
  flex:1 1;
107
107
  overflow-y:auto;
108
108
  padding:0 5px;
109
109
  margin:0 -5px;
110
110
  overscroll-behavior:none;
111
111
  }
112
- .magritte-modal-content__with-divider___an3I5_4-0-2{
112
+ .magritte-modal-content__with-divider___an3I5_4-0-4{
113
113
  margin-top:-16px;
114
114
  }
115
- .magritte-modal-content-wrapper___23XFT_4-0-2{
115
+ .magritte-modal-content-wrapper___23XFT_4-0-4{
116
116
  display:flex;
117
117
  flex-direction:column;
118
118
  min-height:0;
119
119
  flex:1 1;
120
120
  }
121
- .magritte-modal-content-wrapper__one-line___tYg8d_4-0-2{
121
+ .magritte-modal-content-wrapper__one-line___tYg8d_4-0-4{
122
122
  flex-direction:row-reverse;
123
123
  }
124
- .magritte-divider-container___qP3VK_4-0-2{
124
+ .magritte-divider-container___qP3VK_4-0-4{
125
125
  margin:0 -32px;
126
126
  }
127
- .magritte-modal-footer___8xPqQ_4-0-2{
127
+ .magritte-divider-container___qP3VK_4-0-4.magritte-divider-container-hidden___EIxB-_4-0-4{
128
+ display:none;
129
+ }
130
+ .magritte-modal-footer___8xPqQ_4-0-4{
128
131
  flex:0 0;
129
132
  padding-top:32px;
130
133
  display:flex;
131
134
  justify-content:space-between;
132
135
  }
133
- .magritte-modal-buttons-container___1O1Nr_4-0-2{
136
+ .magritte-modal-buttons-container___1O1Nr_4-0-4{
134
137
  display:flex;
135
138
  gap:12px;
136
139
  }
137
- .magritte-animation-timeout___w-j7K_4-0-2,
138
- .magritte-modal-animation-enter-active___E8KLu_4-0-2,
139
- .magritte-modal-animation-exit-active___ERjKa_4-0-2{
140
+ .magritte-animation-timeout___w-j7K_4-0-4,
141
+ .magritte-modal-animation-enter-active___E8KLu_4-0-4,
142
+ .magritte-modal-animation-exit-active___ERjKa_4-0-4{
140
143
  --enter-animation-duration:0;
141
144
  --exit-animation-duration:0;
142
145
  }
143
146
  @media (prefers-reduced-motion: no-preference){
144
- .magritte-animation-timeout___w-j7K_4-0-2,
145
- .magritte-modal-animation-enter-active___E8KLu_4-0-2,
146
- .magritte-modal-animation-exit-active___ERjKa_4-0-2{
147
+ .magritte-animation-timeout___w-j7K_4-0-4,
148
+ .magritte-modal-animation-enter-active___E8KLu_4-0-4,
149
+ .magritte-modal-animation-exit-active___ERjKa_4-0-4{
147
150
  --enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v18-3-0);
148
151
  --exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v18-3-0);
149
152
  }
150
153
  }
151
- .magritte-modal-animation-enter___kruLO_4-0-2.magritte-modal-overlay___lK22l_4-0-2{
154
+ .magritte-modal-animation-enter___kruLO_4-0-4.magritte-modal-overlay___lK22l_4-0-4{
152
155
  opacity:0;
153
156
  }
154
- .magritte-modal-animation-enter___kruLO_4-0-2 .magritte-modal___RAW6S_4-0-2{
157
+ .magritte-modal-animation-enter___kruLO_4-0-4 .magritte-modal___RAW6S_4-0-4{
155
158
  opacity:0;
156
159
  transform:scale(0.96);
157
160
  }
158
- .magritte-modal-animation-enter-active___E8KLu_4-0-2 .magritte-modal___RAW6S_4-0-2,
159
- .magritte-modal-animation-enter-active___E8KLu_4-0-2.magritte-modal-overlay___lK22l_4-0-2{
161
+ .magritte-modal-animation-enter-active___E8KLu_4-0-4 .magritte-modal___RAW6S_4-0-4,
162
+ .magritte-modal-animation-enter-active___E8KLu_4-0-4.magritte-modal-overlay___lK22l_4-0-4{
160
163
  opacity:1;
161
164
  transform:scale(1);
162
165
  transition-property:opacity, transform;
163
166
  transition-duration:var(--enter-animation-duration);
164
167
  transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-v18-3-0);
165
168
  }
166
- .magritte-modal-animation-exit___0jNgl_4-0-2.magritte-modal-overlay___lK22l_4-0-2{
169
+ .magritte-modal-animation-exit___0jNgl_4-0-4.magritte-modal-overlay___lK22l_4-0-4{
167
170
  opacity:1;
168
171
  }
169
- .magritte-modal-animation-exit___0jNgl_4-0-2 .magritte-modal___RAW6S_4-0-2{
172
+ .magritte-modal-animation-exit___0jNgl_4-0-4 .magritte-modal___RAW6S_4-0-4{
170
173
  opacity:1;
171
174
  transform:scale(1);
172
175
  }
173
- .magritte-modal-animation-exit-active___ERjKa_4-0-2.magritte-modal-overlay___lK22l_4-0-2{
176
+ .magritte-modal-animation-exit-active___ERjKa_4-0-4.magritte-modal-overlay___lK22l_4-0-4{
174
177
  opacity:0;
175
178
  }
176
- .magritte-modal-animation-exit-active___ERjKa_4-0-2 .magritte-modal___RAW6S_4-0-2{
179
+ .magritte-modal-animation-exit-active___ERjKa_4-0-4 .magritte-modal___RAW6S_4-0-4{
177
180
  opacity:0;
178
181
  transform:scale(0.96);
179
182
  }
180
- .magritte-modal-animation-exit-active___ERjKa_4-0-2 .magritte-modal___RAW6S_4-0-2,
181
- .magritte-modal-animation-exit-active___ERjKa_4-0-2.magritte-modal-overlay___lK22l_4-0-2{
183
+ .magritte-modal-animation-exit-active___ERjKa_4-0-4 .magritte-modal___RAW6S_4-0-4,
184
+ .magritte-modal-animation-exit-active___ERjKa_4-0-4.magritte-modal-overlay___lK22l_4-0-4{
182
185
  transition-property:opacity, transform;
183
186
  transition-duration:var(--exit-animation-duration);
184
187
  transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v18-3-0);
package/index.js CHANGED
@@ -19,7 +19,7 @@ import '@hh.ru/magritte-common-func-utils';
19
19
  import '@hh.ru/magritte-ui-divider';
20
20
  import './ModalHeader.js';
21
21
  import '@hh.ru/magritte-ui-title';
22
- import './modal-sPPpHqQi.js';
22
+ import './modal-qb74afY1.js';
23
23
  import './ModalFooter.js';
24
24
  import './useModalOrder.js';
25
25
  import '@hh.ru/magritte-common-dom-storage';
@@ -0,0 +1,5 @@
1
+ import './index.css';
2
+ var styles = {"modal-overlay":"magritte-modal-overlay___lK22l_4-0-4","modalOverlay":"magritte-modal-overlay___lK22l_4-0-4","modal":"magritte-modal___RAW6S_4-0-4","modal-small":"magritte-modal-small___MMQT4_4-0-4","modalSmall":"magritte-modal-small___MMQT4_4-0-4","modal-content":"magritte-modal-content___46QFS_4-0-4","modalContent":"magritte-modal-content___46QFS_4-0-4","modal-content__with-divider":"magritte-modal-content__with-divider___an3I5_4-0-4","modalContentWithDivider":"magritte-modal-content__with-divider___an3I5_4-0-4","modal-content-wrapper":"magritte-modal-content-wrapper___23XFT_4-0-4","modalContentWrapper":"magritte-modal-content-wrapper___23XFT_4-0-4","modal-content-wrapper__one-line":"magritte-modal-content-wrapper__one-line___tYg8d_4-0-4","modalContentWrapperOneLine":"magritte-modal-content-wrapper__one-line___tYg8d_4-0-4","divider-container":"magritte-divider-container___qP3VK_4-0-4","dividerContainer":"magritte-divider-container___qP3VK_4-0-4","divider-container-hidden":"magritte-divider-container-hidden___EIxB-_4-0-4","dividerContainerHidden":"magritte-divider-container-hidden___EIxB-_4-0-4","modal-footer":"magritte-modal-footer___8xPqQ_4-0-4","modalFooter":"magritte-modal-footer___8xPqQ_4-0-4","modal-buttons-container":"magritte-modal-buttons-container___1O1Nr_4-0-4","modalButtonsContainer":"magritte-modal-buttons-container___1O1Nr_4-0-4","animation-timeout":"magritte-animation-timeout___w-j7K_4-0-4","animationTimeout":"magritte-animation-timeout___w-j7K_4-0-4","modal-animation-enter-active":"magritte-modal-animation-enter-active___E8KLu_4-0-4","modalAnimationEnterActive":"magritte-modal-animation-enter-active___E8KLu_4-0-4","modal-animation-exit-active":"magritte-modal-animation-exit-active___ERjKa_4-0-4","modalAnimationExitActive":"magritte-modal-animation-exit-active___ERjKa_4-0-4","modal-animation-enter":"magritte-modal-animation-enter___kruLO_4-0-4","modalAnimationEnter":"magritte-modal-animation-enter___kruLO_4-0-4","modal-animation-exit":"magritte-modal-animation-exit___0jNgl_4-0-4","modalAnimationExit":"magritte-modal-animation-exit___0jNgl_4-0-4"};
3
+
4
+ export { styles as s };
5
+ //# sourceMappingURL=modal-qb74afY1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal-qb74afY1.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-modal",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -28,12 +28,12 @@
28
28
  "@hh.ru/magritte-common-use-multiple-refs": "1.1.4",
29
29
  "@hh.ru/magritte-common-use-no-bubbling": "1.0.1",
30
30
  "@hh.ru/magritte-design-tokens": "18.3.0",
31
- "@hh.ru/magritte-internal-layer-name": "2.1.2",
32
- "@hh.ru/magritte-ui-action": "4.3.16",
31
+ "@hh.ru/magritte-internal-layer-name": "2.2.0",
32
+ "@hh.ru/magritte-ui-action": "4.3.17",
33
33
  "@hh.ru/magritte-ui-breakpoint": "4.0.3",
34
34
  "@hh.ru/magritte-ui-divider": "1.1.30",
35
35
  "@hh.ru/magritte-ui-icon": "7.2.1",
36
- "@hh.ru/magritte-ui-layer": "2.0.5",
36
+ "@hh.ru/magritte-ui-layer": "2.0.6",
37
37
  "@hh.ru/magritte-ui-mock-component": "1.0.11",
38
38
  "@hh.ru/magritte-ui-theme-provider": "1.1.26",
39
39
  "@hh.ru/magritte-ui-title": "5.0.4"
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "23a49dd5966b82e16231d34828bf2852ca211dcb"
50
+ "gitHead": "e7a6ffbcfdc2a1626062c73336e4d389433327d8"
51
51
  }
package/modal-sPPpHqQi.js DELETED
@@ -1,5 +0,0 @@
1
- import './index.css';
2
- var styles = {"modal-overlay":"magritte-modal-overlay___lK22l_4-0-2","modalOverlay":"magritte-modal-overlay___lK22l_4-0-2","modal":"magritte-modal___RAW6S_4-0-2","modal-small":"magritte-modal-small___MMQT4_4-0-2","modalSmall":"magritte-modal-small___MMQT4_4-0-2","modal-content":"magritte-modal-content___46QFS_4-0-2","modalContent":"magritte-modal-content___46QFS_4-0-2","modal-content__with-divider":"magritte-modal-content__with-divider___an3I5_4-0-2","modalContentWithDivider":"magritte-modal-content__with-divider___an3I5_4-0-2","modal-content-wrapper":"magritte-modal-content-wrapper___23XFT_4-0-2","modalContentWrapper":"magritte-modal-content-wrapper___23XFT_4-0-2","modal-content-wrapper__one-line":"magritte-modal-content-wrapper__one-line___tYg8d_4-0-2","modalContentWrapperOneLine":"magritte-modal-content-wrapper__one-line___tYg8d_4-0-2","divider-container":"magritte-divider-container___qP3VK_4-0-2","dividerContainer":"magritte-divider-container___qP3VK_4-0-2","modal-footer":"magritte-modal-footer___8xPqQ_4-0-2","modalFooter":"magritte-modal-footer___8xPqQ_4-0-2","modal-buttons-container":"magritte-modal-buttons-container___1O1Nr_4-0-2","modalButtonsContainer":"magritte-modal-buttons-container___1O1Nr_4-0-2","animation-timeout":"magritte-animation-timeout___w-j7K_4-0-2","animationTimeout":"magritte-animation-timeout___w-j7K_4-0-2","modal-animation-enter-active":"magritte-modal-animation-enter-active___E8KLu_4-0-2","modalAnimationEnterActive":"magritte-modal-animation-enter-active___E8KLu_4-0-2","modal-animation-exit-active":"magritte-modal-animation-exit-active___ERjKa_4-0-2","modalAnimationExitActive":"magritte-modal-animation-exit-active___ERjKa_4-0-2","modal-animation-enter":"magritte-modal-animation-enter___kruLO_4-0-2","modalAnimationEnter":"magritte-modal-animation-enter___kruLO_4-0-2","modal-animation-exit":"magritte-modal-animation-exit___0jNgl_4-0-2","modalAnimationExit":"magritte-modal-animation-exit___0jNgl_4-0-2"};
3
-
4
- export { styles as s };
5
- //# sourceMappingURL=modal-sPPpHqQi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal-sPPpHqQi.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}