@alfalab/core-components-pure-cell 2.0.0 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/{component-be1c5bc8.d.ts → component-117bbc7b.d.ts} +0 -0
  2. package/{component-be1c5bc8.js → component-117bbc7b.js} +2 -2
  3. package/{component-2f7bcf5b.d.ts → component-1fa3509f.d.ts} +0 -0
  4. package/{component-2f7bcf5b.js → component-1fa3509f.js} +7 -7
  5. package/{component-7b7f28f3.d.ts → component-3b03b872.d.ts} +0 -0
  6. package/component.js +3 -3
  7. package/components/addon/component.js +2 -2
  8. package/components/addon/index.css +8 -7
  9. package/components/addon/index.js +1 -1
  10. package/components/amount/component.js +2 -2
  11. package/components/amount/index.css +2 -2
  12. package/components/amount/index.js +1 -1
  13. package/components/amount-title/component.js +2 -2
  14. package/components/amount-title/index.css +3 -3
  15. package/components/amount-title/index.js +1 -1
  16. package/components/category/component.js +2 -2
  17. package/components/category/index.css +7 -6
  18. package/components/category/index.js +1 -1
  19. package/components/comment/component.js +2 -2
  20. package/components/comment/index.css +3 -3
  21. package/components/comment/index.js +1 -1
  22. package/components/content/component.js +3 -3
  23. package/components/content/index.css +3 -3
  24. package/components/content/index.d.ts +1 -1
  25. package/components/content/index.js +3 -3
  26. package/components/footer/component.js +2 -2
  27. package/components/footer/index.css +4 -4
  28. package/components/footer/index.js +1 -1
  29. package/components/footer-button/component.js +2 -2
  30. package/components/footer-button/index.css +2 -2
  31. package/components/footer-button/index.d.ts +1 -1
  32. package/components/footer-button/index.js +2 -2
  33. package/components/footer-text/component.js +1 -1
  34. package/components/footer-text/index.js +1 -1
  35. package/components/graphics/component.js +2 -2
  36. package/components/graphics/index.css +2 -2
  37. package/components/graphics/index.js +1 -1
  38. package/components/main/component.js +3 -3
  39. package/components/main/index.css +4 -4
  40. package/components/main/index.d.ts +1 -1
  41. package/components/main/index.js +3 -3
  42. package/components/text/component.js +3 -3
  43. package/components/text/index.css +8 -8
  44. package/components/text/index.d.ts +1 -1
  45. package/components/text/index.js +3 -3
  46. package/cssm/{component-a5914e3d.d.ts → component-1338a186.d.ts} +0 -0
  47. package/cssm/{component-a5914e3d.js → component-1338a186.js} +1 -1
  48. package/cssm/{component-7b7f28f3.d.ts → component-3b03b872.d.ts} +0 -0
  49. package/cssm/component.js +1 -1
  50. package/cssm/components/addon/index.module.css +2 -1
  51. package/cssm/components/category/index.module.css +3 -2
  52. package/cssm/components/content/component.js +1 -1
  53. package/cssm/components/content/index.d.ts +1 -1
  54. package/cssm/components/content/index.js +1 -1
  55. package/cssm/components/main/component.js +1 -1
  56. package/cssm/components/main/index.d.ts +1 -1
  57. package/cssm/components/main/index.js +1 -1
  58. package/cssm/components/text/component.js +1 -1
  59. package/cssm/components/text/index.d.ts +1 -1
  60. package/cssm/components/text/index.js +1 -1
  61. package/cssm/index.d.ts +1 -1
  62. package/cssm/index.js +1 -1
  63. package/cssm/index.module.css +20 -17
  64. package/esm/{component-7b7f28f3.d.ts → component-3b03b872.d.ts} +0 -0
  65. package/esm/{component-73852676.d.ts → component-441f32d6.d.ts} +0 -0
  66. package/esm/{component-73852676.js → component-441f32d6.js} +7 -7
  67. package/esm/{component-22a9c049.d.ts → component-97507715.d.ts} +0 -0
  68. package/esm/{component-22a9c049.js → component-97507715.js} +2 -2
  69. package/esm/component.js +3 -3
  70. package/esm/components/addon/component.js +2 -2
  71. package/esm/components/addon/index.css +8 -7
  72. package/esm/components/addon/index.js +1 -1
  73. package/esm/components/amount/component.js +2 -2
  74. package/esm/components/amount/index.css +2 -2
  75. package/esm/components/amount/index.js +1 -1
  76. package/esm/components/amount-title/component.js +2 -2
  77. package/esm/components/amount-title/index.css +3 -3
  78. package/esm/components/amount-title/index.js +1 -1
  79. package/esm/components/category/component.js +2 -2
  80. package/esm/components/category/index.css +7 -6
  81. package/esm/components/category/index.js +1 -1
  82. package/esm/components/comment/component.js +2 -2
  83. package/esm/components/comment/index.css +3 -3
  84. package/esm/components/comment/index.js +1 -1
  85. package/esm/components/content/component.js +3 -3
  86. package/esm/components/content/index.css +3 -3
  87. package/esm/components/content/index.d.ts +1 -1
  88. package/esm/components/content/index.js +3 -3
  89. package/esm/components/footer/component.js +2 -2
  90. package/esm/components/footer/index.css +4 -4
  91. package/esm/components/footer/index.js +1 -1
  92. package/esm/components/footer-button/component.js +2 -2
  93. package/esm/components/footer-button/index.css +2 -2
  94. package/esm/components/footer-button/index.d.ts +1 -1
  95. package/esm/components/footer-button/index.js +2 -2
  96. package/esm/components/footer-text/component.js +1 -1
  97. package/esm/components/footer-text/index.js +1 -1
  98. package/esm/components/graphics/component.js +2 -2
  99. package/esm/components/graphics/index.css +2 -2
  100. package/esm/components/graphics/index.js +1 -1
  101. package/esm/components/main/component.js +3 -3
  102. package/esm/components/main/index.css +4 -4
  103. package/esm/components/main/index.d.ts +1 -1
  104. package/esm/components/main/index.js +3 -3
  105. package/esm/components/text/component.js +3 -3
  106. package/esm/components/text/index.css +8 -8
  107. package/esm/components/text/index.d.ts +1 -1
  108. package/esm/components/text/index.js +3 -3
  109. package/esm/{getDataTestId-19c3037f.d.ts → getDataTestId-9d99176e.d.ts} +0 -0
  110. package/esm/{getDataTestId-19c3037f.js → getDataTestId-9d99176e.js} +0 -0
  111. package/esm/index.css +39 -36
  112. package/esm/index.d.ts +1 -1
  113. package/esm/index.js +3 -3
  114. package/{getDataTestId-feb8c7ba.d.ts → getDataTestId-e68fb1ee.d.ts} +0 -0
  115. package/{getDataTestId-feb8c7ba.js → getDataTestId-e68fb1ee.js} +0 -0
  116. package/index.css +39 -36
  117. package/index.d.ts +1 -1
  118. package/index.js +3 -3
  119. package/modern/{component-7b7f28f3.d.ts → component-3b03b872.d.ts} +0 -0
  120. package/modern/{component-9c5ac7a3.d.ts → component-45177723.d.ts} +0 -0
  121. package/modern/{component-9c5ac7a3.js → component-45177723.js} +6 -6
  122. package/modern/component.js +2 -2
  123. package/modern/components/addon/component.js +2 -2
  124. package/modern/components/addon/index.css +8 -7
  125. package/modern/components/addon/index.js +1 -1
  126. package/modern/components/amount/component.js +2 -2
  127. package/modern/components/amount/index.css +2 -2
  128. package/modern/components/amount/index.js +1 -1
  129. package/modern/components/amount-title/component.js +2 -2
  130. package/modern/components/amount-title/index.css +3 -3
  131. package/modern/components/amount-title/index.js +1 -1
  132. package/modern/components/category/component.js +2 -2
  133. package/modern/components/category/index.css +7 -6
  134. package/modern/components/category/index.js +1 -1
  135. package/modern/components/comment/component.js +2 -2
  136. package/modern/components/comment/index.css +3 -3
  137. package/modern/components/comment/index.js +1 -1
  138. package/modern/components/content/component.js +2 -2
  139. package/modern/components/content/index.css +3 -3
  140. package/modern/components/content/index.d.ts +1 -1
  141. package/modern/components/content/index.js +2 -2
  142. package/modern/components/footer/component.js +2 -2
  143. package/modern/components/footer/index.css +4 -4
  144. package/modern/components/footer/index.js +1 -1
  145. package/modern/components/footer-button/component.js +2 -2
  146. package/modern/components/footer-button/index.css +2 -2
  147. package/modern/components/footer-button/index.js +1 -1
  148. package/modern/components/footer-text/component.js +1 -1
  149. package/modern/components/footer-text/index.js +1 -1
  150. package/modern/components/graphics/component.js +2 -2
  151. package/modern/components/graphics/index.css +2 -2
  152. package/modern/components/graphics/index.js +1 -1
  153. package/modern/components/main/component.js +2 -2
  154. package/modern/components/main/index.css +4 -4
  155. package/modern/components/main/index.d.ts +1 -1
  156. package/modern/components/main/index.js +2 -2
  157. package/modern/components/text/component.js +2 -2
  158. package/modern/components/text/index.css +8 -8
  159. package/modern/components/text/index.d.ts +1 -1
  160. package/modern/components/text/index.js +2 -2
  161. package/modern/{getDataTestId-76d8d721.d.ts → getDataTestId-7307cc73.d.ts} +0 -0
  162. package/modern/{getDataTestId-76d8d721.js → getDataTestId-7307cc73.js} +0 -0
  163. package/modern/index.css +39 -36
  164. package/modern/index.d.ts +1 -1
  165. package/modern/index.js +2 -2
  166. package/package.json +4 -4
package/index.css CHANGED
@@ -1,22 +1,39 @@
1
- /* hash: taydf */
2
- .pure-cell__component_kb511 {
3
- text-align: unset;
1
+ /* hash: 1242b */
2
+ :root {
3
+ --color-light-border-link: #007aff;
4
4
  }
5
+ :root {
6
+
7
+ /* Hard */
8
+
9
+ /* Up */
5
10
 
6
- .pure-cell__horizontal_kb511 {
11
+ /* Hard up */
12
+ }
13
+ :root {
14
+ --gap-2xs: 4px;
15
+ --gap-xs: 8px;
16
+ --gap-s: 12px;
17
+ --gap-m: 16px;
18
+ }
19
+ :root {
20
+ --focus-color: var(--color-light-border-link);
21
+ }
22
+ .pure-cell__component_1vl7d {
23
+ text-align: unset;
24
+ }
25
+ .pure-cell__horizontal_1vl7d {
7
26
  display: flex;
8
27
  width: 100%;
9
28
  grid-column-gap: var(--gap-m);
10
29
  }
11
-
12
- .pure-cell__vertical_kb511 {
30
+ .pure-cell__vertical_1vl7d {
13
31
  display: flex;
14
32
  align-items: center;
15
33
  flex-direction: column;
16
34
  grid-row-gap: var(--gap-s);
17
35
  }
18
-
19
- .pure-cell__button_kb511 {
36
+ .pure-cell__button_1vl7d {
20
37
  font-family: inherit;
21
38
  background: none;
22
39
  border: 0;
@@ -25,64 +42,50 @@
25
42
  transition: opacity 0.15s ease-in-out;
26
43
  padding: 0
27
44
  }
28
-
29
- .pure-cell__button_kb511:hover {
45
+ .pure-cell__button_1vl7d:hover {
30
46
  opacity: 0.8;
31
47
  }
32
-
33
- .pure-cell__button_kb511:active {
48
+ .pure-cell__button_1vl7d:active {
34
49
  opacity: 0.6;
35
50
  }
36
-
37
- .pure-cell__link_kb511 {
51
+ .pure-cell__link_1vl7d {
38
52
  text-decoration: none;
39
53
  color: inherit;
40
54
  cursor: pointer;
41
55
  transition: opacity 0.15s ease-in-out
42
56
  }
43
-
44
- .pure-cell__link_kb511:hover {
57
+ .pure-cell__link_1vl7d:hover {
45
58
  opacity: 0.8;
46
59
  }
47
-
48
- .pure-cell__link_kb511:active {
60
+ .pure-cell__link_1vl7d:active {
49
61
  opacity: 0.6;
50
62
  }
51
-
52
- .pure-cell__none_kb511 {
63
+ .pure-cell__none_1vl7d {
53
64
  padding: 0;
54
65
  }
55
-
56
- .pure-cell__airy_kb511 {
66
+ .pure-cell__airy_1vl7d {
57
67
  padding: var(--gap-m) 0;
58
68
  }
59
-
60
- .pure-cell__default_kb511 {
69
+ .pure-cell__default_1vl7d {
61
70
  padding: var(--gap-s) 0;
62
71
  }
63
-
64
- .pure-cell__compact_kb511 {
72
+ .pure-cell__compact_1vl7d {
65
73
  padding: var(--gap-xs) 0;
66
74
  }
67
-
68
- .pure-cell__tiny_kb511 {
75
+ .pure-cell__tiny_1vl7d {
69
76
  padding: var(--gap-2xs) 0;
70
77
  }
71
-
72
- .pure-cell__left_kb511 {
78
+ .pure-cell__left_1vl7d {
73
79
  padding-left: var(--gap-m);
74
80
  }
75
-
76
- .pure-cell__right_kb511 {
81
+ .pure-cell__right_1vl7d {
77
82
  padding-right: var(--gap-m);
78
83
  }
79
-
80
- .pure-cell__both_kb511 {
84
+ .pure-cell__both_1vl7d {
81
85
  padding-right: var(--gap-m);
82
86
  padding-left: var(--gap-m);
83
87
  }
84
-
85
- .pure-cell__focused_kb511 {
88
+ .pure-cell__focused_1vl7d {
86
89
  outline: 2px solid var(--focus-color);
87
90
  outline-offset: 2px;
88
91
  }
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { PureCell } from "./component-7b7f28f3";
1
+ export { PureCell } from "./component-3b03b872";
package/index.js CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./component-be1c5bc8.js');
5
+ require('./component-117bbc7b.js');
6
6
  require('react');
7
7
  require('react-merge-refs');
8
8
  require('classnames');
9
9
  require('@alfalab/hooks');
10
- require('./getDataTestId-feb8c7ba.js');
10
+ require('./getDataTestId-e68fb1ee.js');
11
11
  require('./components/addon/component.js');
12
12
  require('@alfalab/core-components-typography');
13
13
  require('@alfalab/core-components-amount');
@@ -15,7 +15,7 @@ require('./components/amount/component.js');
15
15
  require('./components/amount-title/component.js');
16
16
  require('./components/category/component.js');
17
17
  require('./components/comment/component.js');
18
- var components_content_component = require('./component-2f7bcf5b.js');
18
+ var components_content_component = require('./component-1fa3509f.js');
19
19
  require('./components/footer/component.js');
20
20
  require('@alfalab/core-components-button');
21
21
  require('./components/footer-text/component.js');
@@ -2,7 +2,7 @@ import React, { useContext, forwardRef, useRef } from 'react';
2
2
  import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
  import { useFocus } from '@alfalab/hooks';
5
- import { g as getDataTestId } from './getDataTestId-76d8d721.js';
5
+ import { g as getDataTestId } from './getDataTestId-7307cc73.js';
6
6
  import { Addon } from './components/addon/component.js';
7
7
  import { Typography } from '@alfalab/core-components-typography/modern';
8
8
  import { Amount } from './components/amount/component.js';
@@ -14,7 +14,7 @@ import { FooterButton } from './components/footer-button/component.js';
14
14
  import { FooterText } from './components/footer-text/component.js';
15
15
  import { Graphics } from './components/graphics/component.js';
16
16
 
17
- var styles = {"component":"pure-cell__component_shn3s","horizontal":"pure-cell__horizontal_shn3s"};
17
+ var styles = {"component":"pure-cell__component_6eg9k","horizontal":"pure-cell__horizontal_6eg9k"};
18
18
  require('./components/content/index.css')
19
19
 
20
20
  const Content = ({ children, dataTestId }) => {
@@ -22,7 +22,7 @@ const Content = ({ children, dataTestId }) => {
22
22
  return (React.createElement("section", { className: cn(styles.component, { [styles.horizontal]: direction === 'horizontal' }), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
23
23
  };
24
24
 
25
- var styles$1 = {"component":"pure-cell__component_1splb","vertical":"pure-cell__vertical_1splb","reverse":"pure-cell__reverse_1splb"};
25
+ var styles$1 = {"component":"pure-cell__component_1bvng","vertical":"pure-cell__vertical_1bvng","reverse":"pure-cell__reverse_1bvng"};
26
26
  require('./components/main/index.css')
27
27
 
28
28
  const Main = ({ children, isReverse, dataTestId }) => {
@@ -32,7 +32,7 @@ const Main = ({ children, isReverse, dataTestId }) => {
32
32
  }), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
33
33
  };
34
34
 
35
- var styles$2 = {"horizontal":"pure-cell__horizontal_ry7r2","rowLimit1":"pure-cell__rowLimit1_ry7r2","rowLimit2":"pure-cell__rowLimit2_ry7r2","component":"pure-cell__component_ry7r2","multiline":"pure-cell__multiline_ry7r2","vertical":"pure-cell__vertical_ry7r2","title":"pure-cell__title_ry7r2"};
35
+ var styles$2 = {"horizontal":"pure-cell__horizontal_h5uzp","rowLimit1":"pure-cell__rowLimit1_h5uzp","rowLimit2":"pure-cell__rowLimit2_h5uzp","component":"pure-cell__component_h5uzp","multiline":"pure-cell__multiline_h5uzp","vertical":"pure-cell__vertical_h5uzp","title":"pure-cell__title_h5uzp"};
36
36
  require('./components/text/index.css')
37
37
 
38
38
  const Text = ({ children, value, rowLimit, isMultiline, view = 'component', titleColor, valueColor, dataTestId, }) => {
@@ -51,7 +51,7 @@ const Text = ({ children, value, rowLimit, isMultiline, view = 'component', titl
51
51
  }), "data-test-id": getDataTestId(dataTestId, 'text') }, value))));
52
52
  };
53
53
 
54
- var styles$3 = {"component":"pure-cell__component_kb511","horizontal":"pure-cell__horizontal_kb511","vertical":"pure-cell__vertical_kb511","button":"pure-cell__button_kb511","link":"pure-cell__link_kb511","none":"pure-cell__none_kb511","airy":"pure-cell__airy_kb511","default":"pure-cell__default_kb511","compact":"pure-cell__compact_kb511","tiny":"pure-cell__tiny_kb511","left":"pure-cell__left_kb511","right":"pure-cell__right_kb511","both":"pure-cell__both_kb511","focused":"pure-cell__focused_kb511"};
54
+ var styles$3 = {"component":"pure-cell__component_1vl7d","horizontal":"pure-cell__horizontal_1vl7d","vertical":"pure-cell__vertical_1vl7d","button":"pure-cell__button_1vl7d","link":"pure-cell__link_1vl7d","none":"pure-cell__none_1vl7d","airy":"pure-cell__airy_1vl7d","default":"pure-cell__default_1vl7d","compact":"pure-cell__compact_1vl7d","tiny":"pure-cell__tiny_1vl7d","left":"pure-cell__left_1vl7d","right":"pure-cell__right_1vl7d","both":"pure-cell__both_1vl7d","focused":"pure-cell__focused_1vl7d"};
55
55
  require('./index.css')
56
56
 
57
57
  const PureCellContext = React.createContext({});
@@ -67,7 +67,7 @@ const PureCellComponent = forwardRef(({ className, dataTestId, onClick, href, ta
67
67
  const { target } = restProps;
68
68
  // Для совместимости с react-router-dom, меняем href на to
69
69
  const hrefProps = { [typeof Component === 'string' ? 'href' : 'to']: href };
70
- return (React.createElement(Component, Object.assign({ rel: target === '_blank' ? 'noreferrer noopener' : undefined }, restProps, hrefProps, { ref: mergeRefs([cellRef, ref]), className: cn(styles$3.link, addClasses, className, styles$3[horizontalPadding], styles$3[verticalPadding]), "data-test-id": dataTestId }),
70
+ return (React.createElement(Component, Object.assign({ rel: target === '_blank' ? 'noreferrer noopener' : undefined }, restProps, hrefProps, { ref: mergeRefs([cellRef, ref]), className: cn(styles$3.link, addClasses, className, styles$3[horizontalPadding], styles$3[verticalPadding]), "data-test-id": dataTestId, onClick: onClick }),
71
71
  React.createElement(PureCellContext.Provider, { value: { direction } }, children)));
72
72
  }
73
73
  if (onClick) {
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import './getDataTestId-76d8d721.js';
5
+ import './getDataTestId-7307cc73.js';
6
6
  import './components/addon/component.js';
7
7
  import '@alfalab/core-components-typography/modern';
8
8
  import '@alfalab/core-components-amount/modern';
@@ -10,7 +10,7 @@ import './components/amount/component.js';
10
10
  import './components/amount-title/component.js';
11
11
  import './components/category/component.js';
12
12
  import './components/comment/component.js';
13
- export { P as PureCell, a as PureCellContext } from './component-9c5ac7a3.js';
13
+ export { P as PureCell, a as PureCellContext } from './component-45177723.js';
14
14
  import './components/footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import './components/footer-button/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-76d8d721.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-7307cc73.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_15q30","none":"pure-cell__none_15q30","default":"pure-cell__default_15q30","center":"pure-cell__center_15q30"};
5
+ var styles = {"component":"pure-cell__component_1ttjk","none":"pure-cell__none_1ttjk","default":"pure-cell__default_1ttjk","center":"pure-cell__center_1ttjk"};
6
6
  require('./index.css')
7
7
 
8
8
  const Addon = ({ children, verticalAlign, addonPadding = 'default', dataTestId, }) => (React.createElement("section", { className: cn(styles.component, styles[addonPadding], {
@@ -1,4 +1,4 @@
1
- /* hash: jwn7o */
1
+ /* hash: spr5t */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,19 +10,20 @@
10
10
  :root {
11
11
  --gap-m: 16px;
12
12
  }
13
- .pure-cell__component_15q30 {
14
- grid-column: 2/3;
13
+ .pure-cell__component_1ttjk {
14
+ display: flex;
15
+ flex-direction: column;
15
16
  padding-left: var(--gap-m)
16
17
  }
17
- .pure-cell__component_15q30 > * {
18
+ .pure-cell__component_1ttjk > * {
18
19
  justify-content: flex-end;
19
20
  }
20
- .pure-cell__component_15q30.pure-cell__none_15q30 {
21
+ .pure-cell__component_1ttjk.pure-cell__none_1ttjk {
21
22
  padding-left: 0;
22
23
  }
23
- .pure-cell__component_15q30.pure-cell__default_15q30 {
24
+ .pure-cell__component_1ttjk.pure-cell__default_1ttjk {
24
25
  padding-left: var(--gap-m);
25
26
  }
26
- .pure-cell__component_15q30.pure-cell__center_15q30 {
27
+ .pure-cell__component_1ttjk.pure-cell__center_1ttjk {
27
28
  align-self: center;
28
29
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-76d8d721.js';
3
+ import '../../getDataTestId-7307cc73.js';
4
4
  export { Addon } from './component.js';
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-76d8d721.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-7307cc73.js';
4
4
  import { Typography } from '@alfalab/core-components-typography/modern';
5
5
  import { Amount as Amount$1 } from '@alfalab/core-components-amount/modern';
6
6
 
7
- var styles = {"component":"pure-cell__component_qn351"};
7
+ var styles = {"component":"pure-cell__component_v6w9n"};
8
8
  require('./index.css')
9
9
 
10
10
  const Amount = ({ amount, weight = 'normal', view = 'component', color = 'primary', dataTestId, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 3ixfz */
1
+ /* hash: zzj74 */
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_qn351 {
13
+ .pure-cell__component_v6w9n {
14
14
  padding: var(--gap-3xs) 0;
15
15
  display: flex;
16
16
  }
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-76d8d721.js';
3
+ import '../../getDataTestId-7307cc73.js';
4
4
  import '@alfalab/core-components-typography/modern';
5
5
  import '@alfalab/core-components-amount/modern';
6
6
  export { Amount } from './component.js';
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-76d8d721.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-7307cc73.js';
4
4
  import { Typography } from '@alfalab/core-components-typography/modern';
5
5
  import { Amount } from '@alfalab/core-components-amount/modern';
6
6
 
7
- var styles = {"component":"pure-cell__component_1ak86","weight":"pure-cell__weight_1ak86"};
7
+ var styles = {"component":"pure-cell__component_cl9na","weight":"pure-cell__weight_cl9na"};
8
8
  require('./index.css')
9
9
 
10
10
  const AmountTitle = ({ amount, color = 'primary', dataTestId }) => {
@@ -1,4 +1,4 @@
1
- /* hash: n3s7r */
1
+ /* hash: zga3u */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,9 +7,9 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1ak86 {
10
+ .pure-cell__component_cl9na {
11
11
  display: flex;
12
12
  }
13
- .pure-cell__weight_1ak86 {
13
+ .pure-cell__weight_cl9na {
14
14
  font-weight: inherit;
15
15
  }
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-76d8d721.js';
3
+ import '../../getDataTestId-7307cc73.js';
4
4
  import '@alfalab/core-components-typography/modern';
5
5
  import '@alfalab/core-components-amount/modern';
6
6
  export { AmountTitle } from './component.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-76d8d721.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-7307cc73.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_17eql","categoryName":"pure-cell__categoryName_17eql","categoryPercent":"pure-cell__categoryPercent_17eql"};
5
+ var styles = {"component":"pure-cell__component_orxxp","categoryName":"pure-cell__categoryName_orxxp","categoryPercent":"pure-cell__categoryPercent_orxxp"};
6
6
  require('./index.css')
7
7
 
8
8
  const Category = ({ categoryName, categoryPercent, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
@@ -1,4 +1,4 @@
1
- /* hash: 1fc6u */
1
+ /* hash: crojl */
2
2
  :root {
3
3
  --color-light-bg-secondary: #f3f4f5;
4
4
  }
@@ -18,17 +18,18 @@
18
18
  :root {
19
19
  --border-radius-xl: 16px;
20
20
  }
21
- .pure-cell__component_17eql {
21
+ .pure-cell__component_orxxp {
22
22
  display: flex;
23
23
  overflow: hidden;
24
24
  padding: var(--gap-3xs) 0;
25
25
  }
26
- .pure-cell__categoryName_17eql {
27
- text-overflow: ellipsis;
28
- white-space: nowrap;
26
+ .pure-cell__categoryName_orxxp {
27
+ display: -webkit-box;
28
+ -webkit-line-clamp: 1;
29
+ -webkit-box-orient: vertical;
29
30
  overflow: hidden;
30
31
  }
31
- .pure-cell__categoryPercent_17eql {
32
+ .pure-cell__categoryPercent_orxxp {
32
33
  padding: 0 var(--gap-xs);
33
34
  background-color: var(--color-light-bg-secondary);
34
35
  border-radius: var(--border-radius-xl);
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-76d8d721.js';
2
+ import '../../getDataTestId-7307cc73.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
4
  export { Category } from './component.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-76d8d721.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-7307cc73.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_18l4t","text":"pure-cell__text_18l4t"};
5
+ var styles = {"component":"pure-cell__component_1hfqv","text":"pure-cell__text_1hfqv"};
6
6
  require('./index.css')
7
7
 
8
8
  const Comment = ({ children, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'comment') },
@@ -1,4 +1,4 @@
1
- /* hash: 1jluc */
1
+ /* hash: 1asqe */
2
2
  :root {
3
3
  --color-light-bg-secondary: #f3f4f5;
4
4
  }
@@ -18,7 +18,7 @@
18
18
  --border-radius-xs: 2px;
19
19
  --border-radius-xxl: 20px;
20
20
  }
21
- .pure-cell__component_18l4t {
21
+ .pure-cell__component_1hfqv {
22
22
  width: -moz-fit-content;
23
23
  width: fit-content;
24
24
  padding: var(--gap-xs) var(--gap-m);
@@ -26,7 +26,7 @@
26
26
  border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
27
27
  var(--border-radius-xxl);
28
28
  }
29
- .pure-cell__text_18l4t {
29
+ .pure-cell__text_1hfqv {
30
30
  display: -webkit-box;
31
31
  -webkit-line-clamp: 2;
32
32
  -webkit-box-orient: vertical;
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-76d8d721.js';
2
+ import '../../getDataTestId-7307cc73.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
4
  export { Comment } from './component.js';
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '../../getDataTestId-76d8d721.js';
5
+ import '../../getDataTestId-7307cc73.js';
6
6
  import '../addon/component.js';
7
7
  import '@alfalab/core-components-typography/modern';
8
8
  import '@alfalab/core-components-amount/modern';
@@ -10,7 +10,7 @@ import '../amount/component.js';
10
10
  import '../amount-title/component.js';
11
11
  import '../category/component.js';
12
12
  import '../comment/component.js';
13
- export { C as Content } from '../../component-9c5ac7a3.js';
13
+ export { C as Content } from '../../component-45177723.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 11yyn */
1
+ /* hash: 1boe0 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,12 +7,12 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_shn3s {
10
+ .pure-cell__component_6eg9k {
11
11
  flex-basis: 100%;
12
12
  display: grid;
13
13
  grid-template-columns: 1fr auto
14
14
  }
15
- .pure-cell__component_shn3s.pure-cell__horizontal_shn3s {
15
+ .pure-cell__component_6eg9k.pure-cell__horizontal_6eg9k {
16
16
  /* for button */
17
17
  align-self: stretch;
18
18
  }
@@ -1 +1 @@
1
- export * from "../../component-9c5ac7a3";
1
+ export * from "../../component-45177723";
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '../../getDataTestId-76d8d721.js';
5
+ import '../../getDataTestId-7307cc73.js';
6
6
  import '../addon/component.js';
7
7
  import '@alfalab/core-components-typography/modern';
8
8
  import '@alfalab/core-components-amount/modern';
@@ -10,7 +10,7 @@ import '../amount/component.js';
10
10
  import '../amount-title/component.js';
11
11
  import '../category/component.js';
12
12
  import '../comment/component.js';
13
- export { C as Content } from '../../component-9c5ac7a3.js';
13
+ export { C as Content } from '../../component-45177723.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/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-76d8d721.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-7307cc73.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_14f1w","none":"pure-cell__none_14f1w","default":"pure-cell__default_14f1w"};
5
+ var styles = {"component":"pure-cell__component_6g3cm","none":"pure-cell__none_6g3cm","default":"pure-cell__default_6g3cm"};
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: 5hyb2 */
1
+ /* hash: 14b4m */
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_14f1w {
13
+ .pure-cell__component_6g3cm {
14
14
  grid-column: 1/3;
15
15
  display: grid;
16
16
  grid-row-gap: var(--gap-xs)
17
17
  }
18
- .pure-cell__component_14f1w.pure-cell__none_14f1w {
18
+ .pure-cell__component_6g3cm.pure-cell__none_6g3cm {
19
19
  margin-top: 0;
20
20
  }
21
- .pure-cell__component_14f1w.pure-cell__default_14f1w {
21
+ .pure-cell__component_6g3cm.pure-cell__default_6g3cm {
22
22
  margin-top: var(--gap-xs);
23
23
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-76d8d721.js';
3
+ import '../../getDataTestId-7307cc73.js';
4
4
  export { Footer } from './component.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-76d8d721.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-7307cc73.js';
3
3
  import { Button } from '@alfalab/core-components-button/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_14z4s"};
5
+ var styles = {"component":"pure-cell__component_1kjuh"};
6
6
  require('./index.css')
7
7
 
8
8
  const FooterButton = ({ children, dataTestId, ...props }) => (React.createElement(Button, Object.assign({}, props, { size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }), children));
@@ -1,4 +1,4 @@
1
- /* hash: 1vxgo */
1
+ /* hash: j7byy */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,6 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_14z4s {
10
+ .pure-cell__component_1kjuh {
11
11
  justify-self: start;
12
12
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-76d8d721.js';
2
+ import '../../getDataTestId-7307cc73.js';
3
3
  import '@alfalab/core-components-button/modern';
4
4
  export { FooterButton } from './component.js';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-76d8d721.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-7307cc73.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
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));
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-76d8d721.js';
2
+ import '../../getDataTestId-7307cc73.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
4
  export { FooterText } from './component.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-76d8d721.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-7307cc73.js';
3
3
 
4
- var styles = {"component":"pure-cell__component_kcxdr"};
4
+ var styles = {"component":"pure-cell__component_i6mv2"};
5
5
  require('./index.css')
6
6
 
7
7
  const Graphics = ({ children, dataTestId }) => {