@alfalab/core-components-pure-cell 4.1.3 → 4.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/{component-9d5aabde.d.ts → component-ab8c215c.d.ts} +0 -0
  2. package/component-ab8c215c.js +119 -0
  3. package/component.js +6 -8
  4. package/components/addon/component.js +6 -8
  5. package/components/addon/index.css +9 -9
  6. package/components/addon/index.js +2 -4
  7. package/components/amount/component.js +8 -10
  8. package/components/amount/index.css +2 -2
  9. package/components/amount/index.js +3 -5
  10. package/components/amount-title/component.js +8 -10
  11. package/components/amount-title/index.css +3 -3
  12. package/components/amount-title/index.js +3 -5
  13. package/components/category/component.js +8 -10
  14. package/components/category/index.css +5 -5
  15. package/components/category/index.js +2 -4
  16. package/components/content/component.js +6 -8
  17. package/components/content/index.css +3 -3
  18. package/components/content/index.d.ts +1 -1
  19. package/components/content/index.js +5 -7
  20. package/components/footer/component.js +6 -8
  21. package/components/footer/index.css +4 -4
  22. package/components/footer/index.js +2 -4
  23. package/components/footer-button/component.js +6 -8
  24. package/components/footer-button/index.css +2 -2
  25. package/components/footer-button/index.js +3 -5
  26. package/components/footer-text/component.js +4 -6
  27. package/components/footer-text/index.js +2 -4
  28. package/components/graphics/component.js +6 -8
  29. package/components/graphics/index.css +5 -5
  30. package/components/graphics/index.js +2 -4
  31. package/components/main/component.js +6 -8
  32. package/components/main/index.css +4 -4
  33. package/components/main/index.d.ts +1 -1
  34. package/components/main/index.js +5 -7
  35. package/components/text/component.js +7 -9
  36. package/components/text/index.css +8 -7
  37. package/components/text/index.d.ts +1 -1
  38. package/components/text/index.js +5 -7
  39. package/cssm/{component-5cffadbf.d.ts → component-094dfd9a.d.ts} +0 -0
  40. package/cssm/{component-5cffadbf.js → component-094dfd9a.js} +33 -33
  41. package/cssm/component.js +14 -16
  42. package/cssm/components/addon/component.js +6 -8
  43. package/cssm/components/addon/index.js +2 -4
  44. package/cssm/components/amount/component.js +8 -10
  45. package/cssm/components/amount/index.js +3 -5
  46. package/cssm/components/amount-title/component.js +8 -10
  47. package/cssm/components/amount-title/index.js +3 -5
  48. package/cssm/components/category/component.js +8 -10
  49. package/cssm/components/category/index.js +2 -4
  50. package/cssm/components/content/component.js +12 -14
  51. package/cssm/components/content/index.d.ts +1 -1
  52. package/cssm/components/content/index.js +11 -13
  53. package/cssm/components/footer/component.js +6 -8
  54. package/cssm/components/footer/index.js +2 -4
  55. package/cssm/components/footer-button/component.js +6 -8
  56. package/cssm/components/footer-button/index.js +3 -5
  57. package/cssm/components/footer-text/component.js +4 -6
  58. package/cssm/components/footer-text/index.js +2 -4
  59. package/cssm/components/graphics/component.js +6 -8
  60. package/cssm/components/graphics/index.js +2 -4
  61. package/cssm/components/main/component.js +13 -15
  62. package/cssm/components/main/index.d.ts +1 -1
  63. package/cssm/components/main/index.js +11 -13
  64. package/cssm/components/text/component.js +14 -16
  65. package/cssm/components/text/index.d.ts +1 -1
  66. package/cssm/components/text/index.js +11 -13
  67. package/cssm/components/text/index.module.css +1 -0
  68. package/cssm/getDataTestId-5c876d98.d.ts +2 -0
  69. package/cssm/getDataTestId-5c876d98.js +8 -0
  70. package/cssm/index.js +11 -13
  71. package/cssm/{tslib.es6-9682e485.d.ts → tslib.es6-bbd6cd2a.d.ts} +0 -0
  72. package/cssm/{tslib.es6-9682e485.js → tslib.es6-bbd6cd2a.js} +0 -0
  73. package/esm/{component-65ac8158.d.ts → component-350a970b.d.ts} +0 -0
  74. package/esm/{component-65ac8158.js → component-350a970b.js} +23 -23
  75. package/esm/component.js +6 -6
  76. package/esm/components/addon/component.js +2 -2
  77. package/esm/components/addon/index.css +9 -9
  78. package/esm/components/addon/index.js +2 -2
  79. package/esm/components/amount/component.js +3 -3
  80. package/esm/components/amount/index.css +2 -2
  81. package/esm/components/amount/index.js +3 -3
  82. package/esm/components/amount-title/component.js +3 -3
  83. package/esm/components/amount-title/index.css +3 -3
  84. package/esm/components/amount-title/index.js +3 -3
  85. package/esm/components/category/component.js +2 -2
  86. package/esm/components/category/index.css +5 -5
  87. package/esm/components/category/index.js +2 -2
  88. package/esm/components/content/component.js +6 -6
  89. package/esm/components/content/index.css +3 -3
  90. package/esm/components/content/index.d.ts +1 -1
  91. package/esm/components/content/index.js +5 -5
  92. package/esm/components/footer/component.js +2 -2
  93. package/esm/components/footer/index.css +4 -4
  94. package/esm/components/footer/index.js +2 -2
  95. package/esm/components/footer-button/component.js +3 -3
  96. package/esm/components/footer-button/index.css +2 -2
  97. package/esm/components/footer-button/index.js +3 -3
  98. package/esm/components/footer-text/component.js +1 -1
  99. package/esm/components/footer-text/index.js +2 -2
  100. package/esm/components/graphics/component.js +2 -2
  101. package/esm/components/graphics/index.css +5 -5
  102. package/esm/components/graphics/index.js +2 -2
  103. package/esm/components/main/component.js +6 -6
  104. package/esm/components/main/index.css +4 -4
  105. package/esm/components/main/index.d.ts +1 -1
  106. package/esm/components/main/index.js +5 -5
  107. package/esm/components/text/component.js +7 -7
  108. package/esm/components/text/index.css +8 -7
  109. package/esm/components/text/index.d.ts +1 -1
  110. package/esm/components/text/index.js +5 -5
  111. package/esm/getDataTestId-2800bbc6.d.ts +2 -0
  112. package/esm/getDataTestId-2800bbc6.js +6 -0
  113. package/esm/index.css +19 -19
  114. package/esm/index.js +5 -5
  115. package/esm/{tslib.es6-0b81605a.d.ts → tslib.es6-4ea7ff32.d.ts} +0 -0
  116. package/esm/{tslib.es6-0b81605a.js → tslib.es6-4ea7ff32.js} +0 -0
  117. package/getDataTestId-3bdabc47.d.ts +2 -0
  118. package/getDataTestId-3bdabc47.js +8 -0
  119. package/index.css +19 -19
  120. package/index.js +5 -7
  121. package/modern/{component-24de356a.d.ts → component-32934228.d.ts} +0 -0
  122. package/modern/{component-24de356a.js → component-32934228.js} +22 -22
  123. package/modern/component.js +5 -5
  124. package/modern/components/addon/component.js +2 -2
  125. package/modern/components/addon/index.css +9 -9
  126. package/modern/components/addon/index.js +2 -2
  127. package/modern/components/amount/component.js +2 -2
  128. package/modern/components/amount/index.css +2 -2
  129. package/modern/components/amount/index.js +2 -2
  130. package/modern/components/amount-title/component.js +2 -2
  131. package/modern/components/amount-title/index.css +3 -3
  132. package/modern/components/amount-title/index.js +2 -2
  133. package/modern/components/category/component.js +2 -2
  134. package/modern/components/category/index.css +5 -5
  135. package/modern/components/category/index.js +2 -2
  136. package/modern/components/content/component.js +5 -5
  137. package/modern/components/content/index.css +3 -3
  138. package/modern/components/content/index.d.ts +1 -1
  139. package/modern/components/content/index.js +4 -4
  140. package/modern/components/footer/component.js +2 -2
  141. package/modern/components/footer/index.css +4 -4
  142. package/modern/components/footer/index.js +2 -2
  143. package/modern/components/footer-button/component.js +2 -2
  144. package/modern/components/footer-button/index.css +2 -2
  145. package/modern/components/footer-button/index.js +2 -2
  146. package/modern/components/footer-text/component.js +1 -1
  147. package/modern/components/footer-text/index.js +2 -2
  148. package/modern/components/graphics/component.js +2 -2
  149. package/modern/components/graphics/index.css +5 -5
  150. package/modern/components/graphics/index.js +2 -2
  151. package/modern/components/main/component.js +5 -5
  152. package/modern/components/main/index.css +4 -4
  153. package/modern/components/main/index.d.ts +1 -1
  154. package/modern/components/main/index.js +4 -4
  155. package/modern/components/text/component.js +6 -6
  156. package/modern/components/text/index.css +8 -7
  157. package/modern/components/text/index.d.ts +1 -1
  158. package/modern/components/text/index.js +4 -4
  159. package/modern/getDataTestId-03117f64.d.ts +2 -0
  160. package/modern/{getDataTestId-d2f80834.js → getDataTestId-03117f64.js} +0 -0
  161. package/modern/index.css +19 -19
  162. package/modern/index.js +4 -4
  163. package/package.json +5 -5
  164. package/{tslib.es6-8010907c.d.ts → tslib.es6-049a484d.d.ts} +0 -0
  165. package/{tslib.es6-8010907c.js → tslib.es6-049a484d.js} +0 -0
  166. package/component-9d5aabde.js +0 -119
  167. package/cssm/getDataTestId-12a31ec3.d.ts +0 -2
  168. package/cssm/getDataTestId-12a31ec3.js +0 -8
  169. package/esm/getDataTestId-d9920c56.d.ts +0 -2
  170. package/esm/getDataTestId-d9920c56.js +0 -6
  171. package/getDataTestId-10edb210.d.ts +0 -2
  172. package/getDataTestId-10edb210.js +0 -8
  173. package/modern/getDataTestId-d2f80834.d.ts +0 -2
@@ -3,49 +3,49 @@ import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
  import { Comment } from '@alfalab/core-components-comment/modern';
5
5
  import { useFocus } from '@alfalab/hooks';
6
- import { g as getDataTestId } from './getDataTestId-d2f80834.js';
7
6
  import { Addon } from './components/addon/component.js';
8
- import { Typography } from '@alfalab/core-components-typography/modern';
9
7
  import { Amount } from './components/amount/component.js';
10
8
  import { AmountTitle } from './components/amount-title/component.js';
11
9
  import { Category } from './components/category/component.js';
10
+ import { g as getDataTestId } from './getDataTestId-03117f64.js';
12
11
  import { Footer } from './components/footer/component.js';
13
12
  import { FooterButton } from './components/footer-button/component.js';
14
13
  import { FooterText } from './components/footer-text/component.js';
15
14
  import { Graphics } from './components/graphics/component.js';
15
+ import { Typography } from '@alfalab/core-components-typography/modern';
16
16
 
17
- var styles = {"component":"pure-cell__component_ecump","horizontal":"pure-cell__horizontal_ecump"};
17
+ const styles$3 = {"component":"pure-cell__component_kyki2","horizontal":"pure-cell__horizontal_kyki2"};
18
18
  require('./components/content/index.css')
19
19
 
20
20
  const Content = ({ children, dataTestId }) => {
21
21
  const { direction } = useContext(PureCellContext);
22
- return (React.createElement("section", { className: cn(styles.component, { [styles.horizontal]: direction === 'horizontal' }), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
22
+ return (React.createElement("section", { className: cn(styles$3.component, { [styles$3.horizontal]: direction === 'horizontal' }), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
23
23
  };
24
24
 
25
- var styles$1 = {"component":"pure-cell__component_36djl","vertical":"pure-cell__vertical_36djl","reverse":"pure-cell__reverse_36djl"};
25
+ const styles$2 = {"component":"pure-cell__component_1agic","vertical":"pure-cell__vertical_1agic","reverse":"pure-cell__reverse_1agic"};
26
26
  require('./components/main/index.css')
27
27
 
28
28
  const Main = ({ children, isReverse, dataTestId }) => {
29
29
  const { direction = 'horizontal' } = useContext(PureCellContext);
30
- return (React.createElement("div", { className: cn(styles$1.component, styles$1[direction], {
31
- [styles$1.reverse]: isReverse,
30
+ return (React.createElement("div", { className: cn(styles$2.component, styles$2[direction], {
31
+ [styles$2.reverse]: isReverse,
32
32
  }), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
33
33
  };
34
34
 
35
- var styles$2 = {"horizontal":"pure-cell__horizontal_1pv4w","rowLimit1":"pure-cell__rowLimit1_1pv4w","rowLimit2":"pure-cell__rowLimit2_1pv4w","component":"pure-cell__component_1pv4w","vertical":"pure-cell__vertical_1pv4w","title":"pure-cell__title_1pv4w","value":"pure-cell__value_1pv4w"};
35
+ const styles$1 = {"horizontal":"pure-cell__horizontal_1mfvi","rowLimit1":"pure-cell__rowLimit1_1mfvi","rowLimit2":"pure-cell__rowLimit2_1mfvi","component":"pure-cell__component_1mfvi","vertical":"pure-cell__vertical_1mfvi","title":"pure-cell__title_1mfvi","value":"pure-cell__value_1mfvi"};
36
36
  require('./components/text/index.css')
37
37
 
38
38
  const Text = ({ children, value, rowLimit, view = 'component', titleColor, valueColor, dataTestId, }) => {
39
39
  const { direction = 'horizontal' } = useContext(PureCellContext);
40
- const className = rowLimit && styles$2[`rowLimit${rowLimit}`];
41
- return (React.createElement("div", { className: cn(styles$2.component, {
42
- [styles$2.vertical]: direction !== 'horizontal',
40
+ const className = rowLimit && styles$1[`rowLimit${rowLimit}`];
41
+ return (React.createElement("div", { className: cn(styles$1.component, {
42
+ [styles$1.vertical]: direction !== 'horizontal',
43
43
  }) },
44
- React.createElement("span", { className: styles$2.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
45
- value !== undefined && (React.createElement("span", { className: styles$2.value }, typeof value === 'string' ? (React.createElement(Typography.Text, { view: view, color: valueColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, value)) : (value)))));
44
+ React.createElement("span", { className: styles$1.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
45
+ value !== undefined && (React.createElement("span", { className: styles$1.value }, typeof value === 'string' ? (React.createElement(Typography.Text, { view: view, color: valueColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, value)) : (value)))));
46
46
  };
47
47
 
48
- var styles$3 = {"component":"pure-cell__component_159d8","horizontal":"pure-cell__horizontal_159d8","vertical":"pure-cell__vertical_159d8","button":"pure-cell__button_159d8","link":"pure-cell__link_159d8","none":"pure-cell__none_159d8","airy":"pure-cell__airy_159d8","defaultPadding":"pure-cell__defaultPadding_159d8","compact":"pure-cell__compact_159d8","tiny":"pure-cell__tiny_159d8","left":"pure-cell__left_159d8","right":"pure-cell__right_159d8","both":"pure-cell__both_159d8","focused":"pure-cell__focused_159d8"};
48
+ const styles = {"component":"pure-cell__component_1x11u","horizontal":"pure-cell__horizontal_1x11u","vertical":"pure-cell__vertical_1x11u","button":"pure-cell__button_1x11u","link":"pure-cell__link_1x11u","none":"pure-cell__none_1x11u","airy":"pure-cell__airy_1x11u","defaultPadding":"pure-cell__defaultPadding_1x11u","compact":"pure-cell__compact_1x11u","tiny":"pure-cell__tiny_1x11u","left":"pure-cell__left_1x11u","right":"pure-cell__right_1x11u","both":"pure-cell__both_1x11u","focused":"pure-cell__focused_1x11u"};
49
49
  require('./index.css')
50
50
 
51
51
  /* eslint-disable react/jsx-no-constructed-context-values */
@@ -55,22 +55,22 @@ const PureCellComponent = forwardRef(({ className, dataTestId, onClick, href, ta
55
55
  const cellRef = useRef(null);
56
56
  const [focused] = useFocus(cellRef, 'keyboard');
57
57
  const addClasses = {
58
- [styles$3.component]: true,
59
- [styles$3.focused]: focused,
60
- [styles$3[direction]]: true,
61
- [styles$3.defaultPadding]: verticalPadding === 'default',
62
- [styles$3[verticalPadding]]: verticalPadding !== 'default',
63
- [styles$3[horizontalPadding]]: true,
58
+ [styles.component]: true,
59
+ [styles.focused]: focused,
60
+ [styles[direction]]: true,
61
+ [styles.defaultPadding]: verticalPadding === 'default',
62
+ [styles[verticalPadding]]: verticalPadding !== 'default',
63
+ [styles[horizontalPadding]]: true,
64
64
  };
65
65
  if (href) {
66
66
  const { target } = restProps;
67
67
  // Для совместимости с react-router-dom, меняем href на to
68
68
  const hrefProps = { [typeof Component === 'string' ? 'href' : 'to']: href };
69
- return (React.createElement(Component, { rel: target === '_blank' ? 'noreferrer noopener' : undefined, ...restProps, ...hrefProps, ref: mergeRefs([cellRef, ref]), className: cn(styles$3.link, addClasses, className), "data-test-id": dataTestId, onClick: onClick },
69
+ return (React.createElement(Component, { rel: target === '_blank' ? 'noreferrer noopener' : undefined, ...restProps, ...hrefProps, ref: mergeRefs([cellRef, ref]), className: cn(styles.link, addClasses, className), "data-test-id": dataTestId, onClick: onClick },
70
70
  React.createElement(PureCellContext.Provider, { value: { direction } }, children)));
71
71
  }
72
72
  if (onClick) {
73
- return (React.createElement(Component, { ...restProps, ref: mergeRefs([cellRef, ref]), className: cn(styles$3.button, addClasses, className), "data-test-id": dataTestId, onClick: onClick },
73
+ return (React.createElement(Component, { ...restProps, ref: mergeRefs([cellRef, ref]), className: cn(styles.button, addClasses, className), "data-test-id": dataTestId, onClick: onClick },
74
74
  React.createElement(PureCellContext.Provider, { value: { direction } }, children)));
75
75
  }
76
76
  return (React.createElement(Component, { ref: ref, tabIndex: 0, className: cn(addClasses, className), "data-test-id": dataTestId },
@@ -3,16 +3,16 @@ import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-comment/modern';
5
5
  import '@alfalab/hooks';
6
- import './getDataTestId-d2f80834.js';
7
6
  import './components/addon/component.js';
8
- import '@alfalab/core-components-amount/modern';
9
- import '@alfalab/core-components-typography/modern';
10
7
  import './components/amount/component.js';
11
8
  import './components/amount-title/component.js';
12
9
  import './components/category/component.js';
13
- export { P as PureCell, a as PureCellContext } from './component-24de356a.js';
10
+ export { P as PureCell, a as PureCellContext } from './component-32934228.js';
14
11
  import './components/footer/component.js';
15
- import '@alfalab/core-components-button/modern';
16
12
  import './components/footer-button/component.js';
17
13
  import './components/footer-text/component.js';
18
14
  import './components/graphics/component.js';
15
+ import './getDataTestId-03117f64.js';
16
+ import '@alfalab/core-components-amount/modern';
17
+ import '@alfalab/core-components-typography/modern';
18
+ import '@alfalab/core-components-button/modern';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-03117f64.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_2qtvc","none":"pure-cell__none_2qtvc","default":"pure-cell__default_2qtvc","addonPadding":"pure-cell__addonPadding_2qtvc","top":"pure-cell__top_2qtvc","center":"pure-cell__center_2qtvc","bottom":"pure-cell__bottom_2qtvc"};
5
+ const styles = {"component":"pure-cell__component_emawe","none":"pure-cell__none_emawe","default":"pure-cell__default_emawe","addonPadding":"pure-cell__addonPadding_emawe","top":"pure-cell__top_emawe","center":"pure-cell__center_emawe","bottom":"pure-cell__bottom_emawe"};
6
6
  require('./index.css')
7
7
 
8
8
  const Addon = ({ children, verticalAlign = 'top', addonPadding = 'default', dataTestId, }) => (React.createElement("section", { className: cn(styles.component, styles[addonPadding], styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'addon') }, children));
@@ -1,4 +1,4 @@
1
- /* hash: 16pby */
1
+ /* hash: a17hq */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,29 +10,29 @@
10
10
  :root {
11
11
  --gap-m: 16px;
12
12
  }
13
- .pure-cell__component_2qtvc {
13
+ .pure-cell__component_emawe {
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  align-items: flex-end
17
17
  }
18
- .pure-cell__component_2qtvc > * {
18
+ .pure-cell__component_emawe > * {
19
19
  justify-content: flex-end;
20
20
  }
21
- .pure-cell__component_2qtvc.pure-cell__none_2qtvc {
21
+ .pure-cell__component_emawe.pure-cell__none_emawe {
22
22
  padding-left: 0;
23
23
  }
24
- .pure-cell__component_2qtvc.pure-cell__default_2qtvc {
24
+ .pure-cell__component_emawe.pure-cell__default_emawe {
25
25
  padding-left: var(--gap-m);
26
26
  }
27
- .pure-cell__component_2qtvc.pure-cell__addonPadding_2qtvc {
27
+ .pure-cell__component_emawe.pure-cell__addonPadding_emawe {
28
28
  padding-left: var(--gap-m);
29
29
  }
30
- .pure-cell__component_2qtvc.pure-cell__top_2qtvc {
30
+ .pure-cell__component_emawe.pure-cell__top_emawe {
31
31
  align-self: flex-start;
32
32
  }
33
- .pure-cell__component_2qtvc.pure-cell__center_2qtvc {
33
+ .pure-cell__component_emawe.pure-cell__center_emawe {
34
34
  align-self: center;
35
35
  }
36
- .pure-cell__component_2qtvc.pure-cell__bottom_2qtvc {
36
+ .pure-cell__component_emawe.pure-cell__bottom_emawe {
37
37
  align-self: flex-end;
38
38
  }
@@ -1,4 +1,4 @@
1
+ export { Addon } from './component.js';
1
2
  import 'react';
2
3
  import 'classnames';
3
- import '../../getDataTestId-d2f80834.js';
4
- export { Addon } from './component.js';
4
+ import '../../getDataTestId-03117f64.js';
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
4
3
  import { Amount as Amount$1 } from '@alfalab/core-components-amount/modern';
5
4
  import { Typography } from '@alfalab/core-components-typography/modern';
5
+ import { g as getDataTestId } from '../../getDataTestId-03117f64.js';
6
6
 
7
- var styles = {"component":"pure-cell__component_4v24m"};
7
+ const styles = {"component":"pure-cell__component_wm1e5"};
8
8
  require('./index.css')
9
9
 
10
10
  const Amount = ({ weight = 'normal', textView = 'component', color = 'primary', minority, minorUnits = 100, dataTestId, ...restProps }) => (React.createElement(Typography.Text, { view: textView, dataTestId: getDataTestId(dataTestId, 'amount-text'), className: cn(styles.component), color: color },
@@ -1,4 +1,4 @@
1
- /* hash: 1gvny */
1
+ /* hash: uzcsz */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,7 +10,7 @@
10
10
  :root {
11
11
  --gap-3xs: 2px;
12
12
  }
13
- .pure-cell__component_4v24m {
13
+ .pure-cell__component_wm1e5 {
14
14
  padding: var(--gap-3xs) 0;
15
15
  display: flex;
16
16
  }
@@ -1,6 +1,6 @@
1
+ export { Amount } from './component.js';
1
2
  import 'react';
2
3
  import 'classnames';
3
- import '../../getDataTestId-d2f80834.js';
4
4
  import '@alfalab/core-components-amount/modern';
5
5
  import '@alfalab/core-components-typography/modern';
6
- export { Amount } from './component.js';
6
+ import '../../getDataTestId-03117f64.js';
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
4
3
  import { Amount } from '@alfalab/core-components-amount/modern';
5
4
  import { Typography } from '@alfalab/core-components-typography/modern';
5
+ import { g as getDataTestId } from '../../getDataTestId-03117f64.js';
6
6
 
7
- var styles = {"component":"pure-cell__component_kjo0f","weight":"pure-cell__weight_kjo0f"};
7
+ const styles = {"component":"pure-cell__component_18719","weight":"pure-cell__weight_18719"};
8
8
  require('./index.css')
9
9
 
10
10
  const AmountTitle = ({ minority, minorUnits = 100, className, color = 'primary', dataTestId, ...restProps }) => (React.createElement(Typography.Title, { tag: 'h4', view: 'small', dataTestId: getDataTestId(dataTestId, 'amount-title'), className: styles.component, color: color },
@@ -1,4 +1,4 @@
1
- /* hash: rsg7y */
1
+ /* hash: 658c9 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,9 +7,9 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_kjo0f {
10
+ .pure-cell__component_18719 {
11
11
  display: flex;
12
12
  }
13
- .pure-cell__weight_kjo0f {
13
+ .pure-cell__weight_18719 {
14
14
  font-weight: inherit;
15
15
  }
@@ -1,6 +1,6 @@
1
+ export { AmountTitle } from './component.js';
1
2
  import 'react';
2
3
  import 'classnames';
3
- import '../../getDataTestId-d2f80834.js';
4
4
  import '@alfalab/core-components-amount/modern';
5
5
  import '@alfalab/core-components-typography/modern';
6
- export { AmountTitle } from './component.js';
6
+ import '../../getDataTestId-03117f64.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
3
2
  import { Typography } from '@alfalab/core-components-typography/modern';
3
+ import { g as getDataTestId } from '../../getDataTestId-03117f64.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_wqcau","categoryName":"pure-cell__categoryName_wqcau","categoryPercent":"pure-cell__categoryPercent_wqcau","rightAddon":"pure-cell__rightAddon_wqcau"};
5
+ const styles = {"component":"pure-cell__component_18l3z","categoryName":"pure-cell__categoryName_18l3z","categoryPercent":"pure-cell__categoryPercent_18l3z","rightAddon":"pure-cell__rightAddon_18l3z"};
6
6
  require('./index.css')
7
7
 
8
8
  const Category = ({ categoryName, categoryPercent, rightAddons, dataTestId, }) => (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
@@ -1,4 +1,4 @@
1
- /* hash: 86wbx */
1
+ /* hash: 1lksi */
2
2
  :root {
3
3
  --color-light-bg-secondary: #f3f4f5;
4
4
  }
@@ -18,24 +18,24 @@
18
18
  :root {
19
19
  --border-radius-xl: 16px;
20
20
  }
21
- .pure-cell__component_wqcau {
21
+ .pure-cell__component_18l3z {
22
22
  display: flex;
23
23
  overflow: hidden;
24
24
  padding: var(--gap-3xs) 0;
25
25
  }
26
- .pure-cell__categoryName_wqcau {
26
+ .pure-cell__categoryName_18l3z {
27
27
  display: -webkit-box;
28
28
  -webkit-line-clamp: 1;
29
29
  -webkit-box-orient: vertical;
30
30
  overflow: hidden;
31
31
  word-break: break-all;
32
32
  }
33
- .pure-cell__categoryPercent_wqcau {
33
+ .pure-cell__categoryPercent_18l3z {
34
34
  padding: 0 var(--gap-xs);
35
35
  background-color: var(--color-light-bg-secondary);
36
36
  border-radius: var(--border-radius-xl);
37
37
  margin-left: var(--gap-2xs);
38
38
  }
39
- .pure-cell__rightAddon_wqcau {
39
+ .pure-cell__rightAddon_18l3z {
40
40
  margin-left: var(--gap-2xs);
41
41
  }
@@ -1,4 +1,4 @@
1
+ export { Category } from './component.js';
1
2
  import 'react';
2
- import '../../getDataTestId-d2f80834.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
- export { Category } from './component.js';
4
+ import '../../getDataTestId-03117f64.js';
@@ -1,18 +1,18 @@
1
1
  import 'react';
2
- import 'react-merge-refs';
3
2
  import 'classnames';
3
+ import '../../getDataTestId-03117f64.js';
4
+ export { C as Content } from '../../component-32934228.js';
5
+ import 'react-merge-refs';
4
6
  import '@alfalab/core-components-comment/modern';
5
7
  import '@alfalab/hooks';
6
- import '../../getDataTestId-d2f80834.js';
7
8
  import '../addon/component.js';
9
+ import '../amount/component.js';
8
10
  import '@alfalab/core-components-amount/modern';
9
11
  import '@alfalab/core-components-typography/modern';
10
- import '../amount/component.js';
11
12
  import '../amount-title/component.js';
12
13
  import '../category/component.js';
13
- export { C as Content } from '../../component-24de356a.js';
14
14
  import '../footer/component.js';
15
- import '@alfalab/core-components-button/modern';
16
15
  import '../footer-button/component.js';
16
+ import '@alfalab/core-components-button/modern';
17
17
  import '../footer-text/component.js';
18
18
  import '../graphics/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 199t3 */
1
+ /* hash: 6k3io */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,12 +7,12 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_ecump {
10
+ .pure-cell__component_kyki2 {
11
11
  flex-basis: 100%;
12
12
  display: grid;
13
13
  grid-template-columns: 1fr auto
14
14
  }
15
- .pure-cell__component_ecump.pure-cell__horizontal_ecump {
15
+ .pure-cell__component_kyki2.pure-cell__horizontal_kyki2 {
16
16
  /* for button */
17
17
  align-self: stretch;
18
18
  }
@@ -1 +1 @@
1
- export * from "../../component-24de356a";
1
+ export * from "../../component-32934228";
@@ -1,18 +1,18 @@
1
+ export { C as Content } from '../../component-32934228.js';
1
2
  import 'react';
2
3
  import 'react-merge-refs';
3
4
  import 'classnames';
4
5
  import '@alfalab/core-components-comment/modern';
5
6
  import '@alfalab/hooks';
6
- import '../../getDataTestId-d2f80834.js';
7
7
  import '../addon/component.js';
8
+ import '../../getDataTestId-03117f64.js';
9
+ import '../amount/component.js';
8
10
  import '@alfalab/core-components-amount/modern';
9
11
  import '@alfalab/core-components-typography/modern';
10
- import '../amount/component.js';
11
12
  import '../amount-title/component.js';
12
13
  import '../category/component.js';
13
- export { C as Content } from '../../component-24de356a.js';
14
14
  import '../footer/component.js';
15
- import '@alfalab/core-components-button/modern';
16
15
  import '../footer-button/component.js';
16
+ import '@alfalab/core-components-button/modern';
17
17
  import '../footer-text/component.js';
18
18
  import '../graphics/component.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-03117f64.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1f5d9","none":"pure-cell__none_1f5d9","default":"pure-cell__default_1f5d9"};
5
+ const styles = {"component":"pure-cell__component_1bq3v","none":"pure-cell__none_1bq3v","default":"pure-cell__default_1bq3v"};
6
6
  require('./index.css')
7
7
 
8
8
  const Footer = ({ children, footerPadding = 'default', dataTestId }) => (React.createElement("footer", { className: cn(styles.component, styles[footerPadding]), "data-test-id": getDataTestId(dataTestId, 'footer') }, children));
@@ -1,4 +1,4 @@
1
- /* hash: 2pffb */
1
+ /* hash: w7wkc */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,14 +10,14 @@
10
10
  :root {
11
11
  --gap-xs: 8px;
12
12
  }
13
- .pure-cell__component_1f5d9 {
13
+ .pure-cell__component_1bq3v {
14
14
  grid-column: 1/3;
15
15
  display: grid;
16
16
  grid-row-gap: var(--gap-xs)
17
17
  }
18
- .pure-cell__component_1f5d9.pure-cell__none_1f5d9 {
18
+ .pure-cell__component_1bq3v.pure-cell__none_1bq3v {
19
19
  margin-top: 0;
20
20
  }
21
- .pure-cell__component_1f5d9.pure-cell__default_1f5d9 {
21
+ .pure-cell__component_1bq3v.pure-cell__default_1bq3v {
22
22
  margin-top: var(--gap-xs);
23
23
  }
@@ -1,4 +1,4 @@
1
+ export { Footer } from './component.js';
1
2
  import 'react';
2
3
  import 'classnames';
3
- import '../../getDataTestId-d2f80834.js';
4
- export { Footer } from './component.js';
4
+ import '../../getDataTestId-03117f64.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
3
2
  import { Button } from '@alfalab/core-components-button/modern';
3
+ import { g as getDataTestId } from '../../getDataTestId-03117f64.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1clg4"};
5
+ const styles = {"component":"pure-cell__component_1vwx3"};
6
6
  require('./index.css')
7
7
 
8
8
  const FooterButton = ({ children, dataTestId, ...props }) => (React.createElement(Button, { ...props, size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }, children));
@@ -1,4 +1,4 @@
1
- /* hash: qv5uu */
1
+ /* hash: 1tkvf */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,6 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1clg4 {
10
+ .pure-cell__component_1vwx3 {
11
11
  justify-self: start;
12
12
  }
@@ -1,4 +1,4 @@
1
+ export { FooterButton } from './component.js';
1
2
  import 'react';
2
- import '../../getDataTestId-d2f80834.js';
3
3
  import '@alfalab/core-components-button/modern';
4
- export { FooterButton } from './component.js';
4
+ import '../../getDataTestId-03117f64.js';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
3
2
  import { Typography } from '@alfalab/core-components-typography/modern';
3
+ import { g as getDataTestId } from '../../getDataTestId-03117f64.js';
4
4
 
5
5
  const FooterText = ({ children, color = 'secondary', dataTestId }) => (React.createElement(Typography.Text, { view: 'primary-small', color: color, "data-test-id": getDataTestId(dataTestId, 'footer-title') }, children));
6
6
 
@@ -1,4 +1,4 @@
1
+ export { FooterText } from './component.js';
1
2
  import 'react';
2
- import '../../getDataTestId-d2f80834.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
- export { FooterText } from './component.js';
4
+ import '../../getDataTestId-03117f64.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-03117f64.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1qvws","top":"pure-cell__top_1qvws","center":"pure-cell__center_1qvws","bottom":"pure-cell__bottom_1qvws"};
5
+ const styles = {"component":"pure-cell__component_18194","top":"pure-cell__top_18194","center":"pure-cell__center_18194","bottom":"pure-cell__bottom_18194"};
6
6
  require('./index.css')
7
7
 
8
8
  const Graphics = ({ children, dataTestId, verticalAlign = 'top' }) => (React.createElement("section", { className: cn(styles.component, styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'graphics') }, children));
@@ -1,4 +1,4 @@
1
- /* hash: 1ur52 */
1
+ /* hash: j6x1b */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,15 +7,15 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1qvws {
10
+ .pure-cell__component_18194 {
11
11
  flex-basis: auto;
12
12
  }
13
- .pure-cell__top_1qvws {
13
+ .pure-cell__top_18194 {
14
14
  align-self: flex-start;
15
15
  }
16
- .pure-cell__center_1qvws {
16
+ .pure-cell__center_18194 {
17
17
  align-self: center;
18
18
  }
19
- .pure-cell__bottom_1qvws {
19
+ .pure-cell__bottom_18194 {
20
20
  align-self: flex-end;
21
21
  }
@@ -1,4 +1,4 @@
1
+ export { Graphics } from './component.js';
1
2
  import 'react';
2
3
  import 'classnames';
3
- import '../../getDataTestId-d2f80834.js';
4
- export { Graphics } from './component.js';
4
+ import '../../getDataTestId-03117f64.js';
@@ -1,18 +1,18 @@
1
1
  import 'react';
2
- import 'react-merge-refs';
3
2
  import 'classnames';
3
+ import '../../getDataTestId-03117f64.js';
4
+ export { M as Main } from '../../component-32934228.js';
5
+ import 'react-merge-refs';
4
6
  import '@alfalab/core-components-comment/modern';
5
7
  import '@alfalab/hooks';
6
- import '../../getDataTestId-d2f80834.js';
7
8
  import '../addon/component.js';
9
+ import '../amount/component.js';
8
10
  import '@alfalab/core-components-amount/modern';
9
11
  import '@alfalab/core-components-typography/modern';
10
- import '../amount/component.js';
11
12
  import '../amount-title/component.js';
12
13
  import '../category/component.js';
13
- export { M as Main } from '../../component-24de356a.js';
14
14
  import '../footer/component.js';
15
- import '@alfalab/core-components-button/modern';
16
15
  import '../footer-button/component.js';
16
+ import '@alfalab/core-components-button/modern';
17
17
  import '../footer-text/component.js';
18
18
  import '../graphics/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 122l9 */
1
+ /* hash: pmltb */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,7 +10,7 @@
10
10
  :root {
11
11
  --gap-3xs: 2px;
12
12
  }
13
- .pure-cell__component_36djl {
13
+ .pure-cell__component_1agic {
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  align-self: center;
@@ -18,7 +18,7 @@
18
18
  /* can use /r/n */
19
19
  white-space: pre-line
20
20
  }
21
- .pure-cell__component_36djl.pure-cell__vertical_36djl {
21
+ .pure-cell__component_1agic.pure-cell__vertical_1agic {
22
22
  grid-row-gap: var(--gap-3xs);
23
23
  justify-content: center;
24
24
  align-items: center;
@@ -26,6 +26,6 @@
26
26
  /* for button */
27
27
  text-align: center;
28
28
  }
29
- .pure-cell__component_36djl.pure-cell__reverse_36djl {
29
+ .pure-cell__component_1agic.pure-cell__reverse_1agic {
30
30
  flex-direction: column-reverse;
31
31
  }
@@ -1 +1 @@
1
- export * from "../../component-24de356a";
1
+ export * from "../../component-32934228";
@@ -1,18 +1,18 @@
1
+ export { M as Main } from '../../component-32934228.js';
1
2
  import 'react';
2
3
  import 'react-merge-refs';
3
4
  import 'classnames';
4
5
  import '@alfalab/core-components-comment/modern';
5
6
  import '@alfalab/hooks';
6
- import '../../getDataTestId-d2f80834.js';
7
7
  import '../addon/component.js';
8
+ import '../../getDataTestId-03117f64.js';
9
+ import '../amount/component.js';
8
10
  import '@alfalab/core-components-amount/modern';
9
11
  import '@alfalab/core-components-typography/modern';
10
- import '../amount/component.js';
11
12
  import '../amount-title/component.js';
12
13
  import '../category/component.js';
13
- export { M as Main } from '../../component-24de356a.js';
14
14
  import '../footer/component.js';
15
- import '@alfalab/core-components-button/modern';
16
15
  import '../footer-button/component.js';
16
+ import '@alfalab/core-components-button/modern';
17
17
  import '../footer-text/component.js';
18
18
  import '../graphics/component.js';