@alfalab/core-components-pure-cell 2.0.2 → 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 (164) hide show
  1. package/{component-0d444503.d.ts → component-117bbc7b.d.ts} +0 -0
  2. package/{component-0d444503.js → component-117bbc7b.js} +2 -2
  3. package/{component-3acfd0bd.d.ts → component-1fa3509f.d.ts} +0 -0
  4. package/{component-3acfd0bd.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 +6 -6
  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 +4 -4
  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/content/component.js +1 -1
  51. package/cssm/components/content/index.d.ts +1 -1
  52. package/cssm/components/content/index.js +1 -1
  53. package/cssm/components/main/component.js +1 -1
  54. package/cssm/components/main/index.d.ts +1 -1
  55. package/cssm/components/main/index.js +1 -1
  56. package/cssm/components/text/component.js +1 -1
  57. package/cssm/components/text/index.d.ts +1 -1
  58. package/cssm/components/text/index.js +1 -1
  59. package/cssm/index.d.ts +1 -1
  60. package/cssm/index.js +1 -1
  61. package/cssm/index.module.css +20 -17
  62. package/esm/{component-7b7f28f3.d.ts → component-3b03b872.d.ts} +0 -0
  63. package/esm/{component-12f1342a.d.ts → component-441f32d6.d.ts} +0 -0
  64. package/esm/{component-12f1342a.js → component-441f32d6.js} +7 -7
  65. package/esm/{component-faec6e62.d.ts → component-97507715.d.ts} +0 -0
  66. package/esm/{component-faec6e62.js → component-97507715.js} +2 -2
  67. package/esm/component.js +3 -3
  68. package/esm/components/addon/component.js +2 -2
  69. package/esm/components/addon/index.css +6 -6
  70. package/esm/components/addon/index.js +1 -1
  71. package/esm/components/amount/component.js +2 -2
  72. package/esm/components/amount/index.css +2 -2
  73. package/esm/components/amount/index.js +1 -1
  74. package/esm/components/amount-title/component.js +2 -2
  75. package/esm/components/amount-title/index.css +3 -3
  76. package/esm/components/amount-title/index.js +1 -1
  77. package/esm/components/category/component.js +2 -2
  78. package/esm/components/category/index.css +4 -4
  79. package/esm/components/category/index.js +1 -1
  80. package/esm/components/comment/component.js +2 -2
  81. package/esm/components/comment/index.css +3 -3
  82. package/esm/components/comment/index.js +1 -1
  83. package/esm/components/content/component.js +3 -3
  84. package/esm/components/content/index.css +3 -3
  85. package/esm/components/content/index.d.ts +1 -1
  86. package/esm/components/content/index.js +3 -3
  87. package/esm/components/footer/component.js +2 -2
  88. package/esm/components/footer/index.css +4 -4
  89. package/esm/components/footer/index.js +1 -1
  90. package/esm/components/footer-button/component.js +2 -2
  91. package/esm/components/footer-button/index.css +2 -2
  92. package/esm/components/footer-button/index.d.ts +1 -1
  93. package/esm/components/footer-button/index.js +2 -2
  94. package/esm/components/footer-text/component.js +1 -1
  95. package/esm/components/footer-text/index.js +1 -1
  96. package/esm/components/graphics/component.js +2 -2
  97. package/esm/components/graphics/index.css +2 -2
  98. package/esm/components/graphics/index.js +1 -1
  99. package/esm/components/main/component.js +3 -3
  100. package/esm/components/main/index.css +4 -4
  101. package/esm/components/main/index.d.ts +1 -1
  102. package/esm/components/main/index.js +3 -3
  103. package/esm/components/text/component.js +3 -3
  104. package/esm/components/text/index.css +8 -8
  105. package/esm/components/text/index.d.ts +1 -1
  106. package/esm/components/text/index.js +3 -3
  107. package/esm/{getDataTestId-5f31517b.d.ts → getDataTestId-9d99176e.d.ts} +0 -0
  108. package/esm/{getDataTestId-5f31517b.js → getDataTestId-9d99176e.js} +0 -0
  109. package/esm/index.css +39 -36
  110. package/esm/index.d.ts +1 -1
  111. package/esm/index.js +3 -3
  112. package/{getDataTestId-7a81c8e4.d.ts → getDataTestId-e68fb1ee.d.ts} +0 -0
  113. package/{getDataTestId-7a81c8e4.js → getDataTestId-e68fb1ee.js} +0 -0
  114. package/index.css +39 -36
  115. package/index.d.ts +1 -1
  116. package/index.js +3 -3
  117. package/modern/{component-7b7f28f3.d.ts → component-3b03b872.d.ts} +0 -0
  118. package/modern/{component-4be0f365.d.ts → component-45177723.d.ts} +0 -0
  119. package/modern/{component-4be0f365.js → component-45177723.js} +6 -6
  120. package/modern/component.js +2 -2
  121. package/modern/components/addon/component.js +2 -2
  122. package/modern/components/addon/index.css +6 -6
  123. package/modern/components/addon/index.js +1 -1
  124. package/modern/components/amount/component.js +2 -2
  125. package/modern/components/amount/index.css +2 -2
  126. package/modern/components/amount/index.js +1 -1
  127. package/modern/components/amount-title/component.js +2 -2
  128. package/modern/components/amount-title/index.css +3 -3
  129. package/modern/components/amount-title/index.js +1 -1
  130. package/modern/components/category/component.js +2 -2
  131. package/modern/components/category/index.css +4 -4
  132. package/modern/components/category/index.js +1 -1
  133. package/modern/components/comment/component.js +2 -2
  134. package/modern/components/comment/index.css +3 -3
  135. package/modern/components/comment/index.js +1 -1
  136. package/modern/components/content/component.js +2 -2
  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 +2 -2
  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 +1 -1
  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 +1 -1
  146. package/modern/components/footer-text/component.js +1 -1
  147. package/modern/components/footer-text/index.js +1 -1
  148. package/modern/components/graphics/component.js +2 -2
  149. package/modern/components/graphics/index.css +2 -2
  150. package/modern/components/graphics/index.js +1 -1
  151. package/modern/components/main/component.js +2 -2
  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 +2 -2
  155. package/modern/components/text/component.js +2 -2
  156. package/modern/components/text/index.css +8 -8
  157. package/modern/components/text/index.d.ts +1 -1
  158. package/modern/components/text/index.js +2 -2
  159. package/modern/{getDataTestId-97ba9c1f.d.ts → getDataTestId-7307cc73.d.ts} +0 -0
  160. package/modern/{getDataTestId-97ba9c1f.js → getDataTestId-7307cc73.js} +0 -0
  161. package/modern/index.css +39 -36
  162. package/modern/index.d.ts +1 -1
  163. package/modern/index.js +2 -2
  164. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- /* hash: 10ebt */
1
+ /* hash: 3jxqb */
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_1e9am {
13
+ .pure-cell__component_1bvng {
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_1e9am.pure-cell__vertical_1e9am {
21
+ .pure-cell__component_1bvng.pure-cell__vertical_1bvng {
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_1e9am.pure-cell__reverse_1e9am {
29
+ .pure-cell__component_1bvng.pure-cell__reverse_1bvng {
30
30
  flex-direction: column-reverse;
31
31
  }
@@ -1 +1 @@
1
- export * from "../../component-3acfd0bd";
1
+ export * from "../../component-1fa3509f";
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../component-0d444503.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-7a81c8e4.js');
10
+ require('../../getDataTestId-e68fb1ee.js');
11
11
  require('../addon/component.js');
12
12
  require('@alfalab/core-components-typography');
13
13
  require('@alfalab/core-components-amount');
@@ -15,7 +15,7 @@ require('../amount/component.js');
15
15
  require('../amount-title/component.js');
16
16
  require('../category/component.js');
17
17
  require('../comment/component.js');
18
- var components_content_component = require('../../component-3acfd0bd.js');
18
+ var components_content_component = require('../../component-1fa3509f.js');
19
19
  require('../footer/component.js');
20
20
  require('@alfalab/core-components-button');
21
21
  require('../footer-text/component.js');
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../component-0d444503.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-7a81c8e4.js');
10
+ require('../../getDataTestId-e68fb1ee.js');
11
11
  require('../addon/component.js');
12
12
  require('@alfalab/core-components-typography');
13
13
  require('@alfalab/core-components-amount');
@@ -15,7 +15,7 @@ require('../amount/component.js');
15
15
  require('../amount-title/component.js');
16
16
  require('../category/component.js');
17
17
  require('../comment/component.js');
18
- var components_content_component = require('../../component-3acfd0bd.js');
18
+ var components_content_component = require('../../component-1fa3509f.js');
19
19
  require('../footer/component.js');
20
20
  require('@alfalab/core-components-button');
21
21
  require('../footer-text/component.js');
@@ -1,4 +1,4 @@
1
- /* hash: 1uyny */
1
+ /* hash: 1fe43 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,37 +11,37 @@
11
11
  --gap-3xs: 2px;
12
12
  --gap-m: 16px;
13
13
  }
14
- .pure-cell__horizontal_1cx9d {
14
+ .pure-cell__horizontal_h5uzp {
15
15
  padding: var(--gap-3xs) 0;
16
16
  }
17
- .pure-cell__rowLimit1_1cx9d {
17
+ .pure-cell__rowLimit1_h5uzp {
18
18
  display: -webkit-box;
19
19
  -webkit-line-clamp: 1;
20
20
  -webkit-box-orient: vertical;
21
21
  overflow: hidden;
22
22
  }
23
- .pure-cell__rowLimit2_1cx9d {
23
+ .pure-cell__rowLimit2_h5uzp {
24
24
  display: -webkit-box;
25
25
  -webkit-line-clamp: 2;
26
26
  -webkit-box-orient: vertical;
27
27
  overflow: hidden;
28
28
  }
29
- .pure-cell__component_1cx9d {
29
+ .pure-cell__component_h5uzp {
30
30
  display: flex;
31
31
  flex-direction: row;
32
32
  flex-wrap: nowrap;
33
33
  justify-content: space-between;
34
34
  margin: var(--gap-3xs) 0;
35
35
  }
36
- .pure-cell__component_1cx9d .pure-cell__multiline_1cx9d {
36
+ .pure-cell__component_h5uzp .pure-cell__multiline_h5uzp {
37
37
  display: -webkit-box;
38
38
  -webkit-line-clamp: 5;
39
39
  -webkit-box-orient: vertical;
40
40
  overflow: hidden;
41
41
  }
42
- .pure-cell__component_1cx9d .pure-cell__vertical_1cx9d {
42
+ .pure-cell__component_h5uzp .pure-cell__vertical_h5uzp {
43
43
  justify-content: center;
44
44
  }
45
- .pure-cell__title_1cx9d {
45
+ .pure-cell__title_h5uzp {
46
46
  margin-right: var(--gap-m);
47
47
  }
@@ -1 +1 @@
1
- export * from "../../component-3acfd0bd";
1
+ export * from "../../component-1fa3509f";
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../component-0d444503.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-7a81c8e4.js');
10
+ require('../../getDataTestId-e68fb1ee.js');
11
11
  require('../addon/component.js');
12
12
  require('@alfalab/core-components-typography');
13
13
  require('@alfalab/core-components-amount');
@@ -15,7 +15,7 @@ require('../amount/component.js');
15
15
  require('../amount-title/component.js');
16
16
  require('../category/component.js');
17
17
  require('../comment/component.js');
18
- var components_content_component = require('../../component-3acfd0bd.js');
18
+ var components_content_component = require('../../component-1fa3509f.js');
19
19
  require('../footer/component.js');
20
20
  require('@alfalab/core-components-button');
21
21
  require('../footer-text/component.js');
@@ -79,7 +79,7 @@ var PureCellComponent = React.forwardRef(function (_a, ref) {
79
79
  var target = restProps.target;
80
80
  // Для совместимости с react-router-dom, меняем href на to
81
81
  var hrefProps = (_c = {}, _c[typeof Component === 'string' ? 'href' : 'to'] = href, _c);
82
- return (React__default['default'].createElement(Component, components_footerButton_component.__assign({ rel: target === '_blank' ? 'noreferrer noopener' : undefined }, restProps, hrefProps, { ref: mergeRefs__default['default']([cellRef, ref]), className: cn__default['default'](styles__default$3['default'].link, addClasses, className, styles__default$3['default'][horizontalPadding], styles__default$3['default'][verticalPadding]), "data-test-id": dataTestId }),
82
+ return (React__default['default'].createElement(Component, components_footerButton_component.__assign({ rel: target === '_blank' ? 'noreferrer noopener' : undefined }, restProps, hrefProps, { ref: mergeRefs__default['default']([cellRef, ref]), className: cn__default['default'](styles__default$3['default'].link, addClasses, className, styles__default$3['default'][horizontalPadding], styles__default$3['default'][verticalPadding]), "data-test-id": dataTestId, onClick: onClick }),
83
83
  React__default['default'].createElement(PureCellContext.Provider, { value: { direction: direction } }, children)));
84
84
  }
85
85
  if (onClick) {
package/cssm/component.js CHANGED
@@ -21,7 +21,7 @@ require('./components/category/component.js');
21
21
  require('./components/comment/index.module.css');
22
22
  require('./components/comment/component.js');
23
23
  require('./components/content/index.module.css');
24
- var components_content_component = require('./component-a5914e3d.js');
24
+ var components_content_component = require('./component-1338a186.js');
25
25
  require('./components/footer/index.module.css');
26
26
  require('./components/footer/component.js');
27
27
  require('@alfalab/core-components-button/cssm');
@@ -21,7 +21,7 @@ require('../category/component.js');
21
21
  require('../comment/index.module.css');
22
22
  require('../comment/component.js');
23
23
  require('./index.module.css');
24
- var components_content_component = require('../../component-a5914e3d.js');
24
+ var components_content_component = require('../../component-1338a186.js');
25
25
  require('../footer/index.module.css');
26
26
  require('../footer/component.js');
27
27
  require('@alfalab/core-components-button/cssm');
@@ -1 +1 @@
1
- export * from "../../component-a5914e3d";
1
+ export * from "../../component-1338a186";
@@ -21,7 +21,7 @@ require('../category/component.js');
21
21
  require('../comment/index.module.css');
22
22
  require('../comment/component.js');
23
23
  require('./index.module.css');
24
- var components_content_component = require('../../component-a5914e3d.js');
24
+ var components_content_component = require('../../component-1338a186.js');
25
25
  require('../footer/index.module.css');
26
26
  require('../footer/component.js');
27
27
  require('@alfalab/core-components-button/cssm');
@@ -21,7 +21,7 @@ require('../category/component.js');
21
21
  require('../comment/index.module.css');
22
22
  require('../comment/component.js');
23
23
  require('../content/index.module.css');
24
- var components_content_component = require('../../component-a5914e3d.js');
24
+ var components_content_component = require('../../component-1338a186.js');
25
25
  require('../footer/index.module.css');
26
26
  require('../footer/component.js');
27
27
  require('@alfalab/core-components-button/cssm');
@@ -1 +1 @@
1
- export * from "../../component-a5914e3d";
1
+ export * from "../../component-1338a186";
@@ -21,7 +21,7 @@ require('../category/component.js');
21
21
  require('../comment/index.module.css');
22
22
  require('../comment/component.js');
23
23
  require('../content/index.module.css');
24
- var components_content_component = require('../../component-a5914e3d.js');
24
+ var components_content_component = require('../../component-1338a186.js');
25
25
  require('../footer/index.module.css');
26
26
  require('../footer/component.js');
27
27
  require('@alfalab/core-components-button/cssm');
@@ -21,7 +21,7 @@ require('../category/component.js');
21
21
  require('../comment/index.module.css');
22
22
  require('../comment/component.js');
23
23
  require('../content/index.module.css');
24
- var components_content_component = require('../../component-a5914e3d.js');
24
+ var components_content_component = require('../../component-1338a186.js');
25
25
  require('../footer/index.module.css');
26
26
  require('../footer/component.js');
27
27
  require('@alfalab/core-components-button/cssm');
@@ -1 +1 @@
1
- export * from "../../component-a5914e3d";
1
+ export * from "../../component-1338a186";
@@ -21,7 +21,7 @@ require('../category/component.js');
21
21
  require('../comment/index.module.css');
22
22
  require('../comment/component.js');
23
23
  require('../content/index.module.css');
24
- var components_content_component = require('../../component-a5914e3d.js');
24
+ var components_content_component = require('../../component-1338a186.js');
25
25
  require('../footer/index.module.css');
26
26
  require('../footer/component.js');
27
27
  require('@alfalab/core-components-button/cssm');
package/cssm/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { PureCell } from "./component-7b7f28f3";
1
+ export { PureCell } from "./component-3b03b872";
package/cssm/index.js CHANGED
@@ -21,7 +21,7 @@ require('./components/category/component.js');
21
21
  require('./components/comment/index.module.css');
22
22
  require('./components/comment/component.js');
23
23
  require('./components/content/index.module.css');
24
- var components_content_component = require('./component-a5914e3d.js');
24
+ var components_content_component = require('./component-1338a186.js');
25
25
  require('./components/footer/index.module.css');
26
26
  require('./components/footer/component.js');
27
27
  require('@alfalab/core-components-button/cssm');
@@ -1,20 +1,37 @@
1
+ :root {
2
+ --color-light-border-link: #007aff;
3
+ }
4
+ :root {
5
+
6
+ /* Hard */
7
+
8
+ /* Up */
9
+
10
+ /* Hard up */
11
+ }
12
+ :root {
13
+ --gap-2xs: 4px;
14
+ --gap-xs: 8px;
15
+ --gap-s: 12px;
16
+ --gap-m: 16px;
17
+ }
18
+ :root {
19
+ --focus-color: var(--color-light-border-link);
20
+ }
1
21
  .component {
2
22
  text-align: unset;
3
23
  }
4
-
5
24
  .horizontal {
6
25
  display: flex;
7
26
  width: 100%;
8
27
  grid-column-gap: var(--gap-m);
9
28
  }
10
-
11
29
  .vertical {
12
30
  display: flex;
13
31
  align-items: center;
14
32
  flex-direction: column;
15
33
  grid-row-gap: var(--gap-s);
16
34
  }
17
-
18
35
  .button {
19
36
  font-family: inherit;
20
37
  background: none;
@@ -24,63 +41,49 @@
24
41
  transition: opacity 0.15s ease-in-out;
25
42
  padding: 0
26
43
  }
27
-
28
44
  .button:hover {
29
45
  opacity: 0.8;
30
46
  }
31
-
32
47
  .button:active {
33
48
  opacity: 0.6;
34
49
  }
35
-
36
50
  .link {
37
51
  text-decoration: none;
38
52
  color: inherit;
39
53
  cursor: pointer;
40
54
  transition: opacity 0.15s ease-in-out
41
55
  }
42
-
43
56
  .link:hover {
44
57
  opacity: 0.8;
45
58
  }
46
-
47
59
  .link:active {
48
60
  opacity: 0.6;
49
61
  }
50
-
51
62
  .none {
52
63
  padding: 0;
53
64
  }
54
-
55
65
  .airy {
56
66
  padding: var(--gap-m) 0;
57
67
  }
58
-
59
68
  .default {
60
69
  padding: var(--gap-s) 0;
61
70
  }
62
-
63
71
  .compact {
64
72
  padding: var(--gap-xs) 0;
65
73
  }
66
-
67
74
  .tiny {
68
75
  padding: var(--gap-2xs) 0;
69
76
  }
70
-
71
77
  .left {
72
78
  padding-left: var(--gap-m);
73
79
  }
74
-
75
80
  .right {
76
81
  padding-right: var(--gap-m);
77
82
  }
78
-
79
83
  .both {
80
84
  padding-right: var(--gap-m);
81
85
  padding-left: var(--gap-m);
82
86
  }
83
-
84
87
  .focused {
85
88
  outline: 2px solid var(--focus-color);
86
89
  outline-offset: 2px;
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign, F as FooterButton } from './component-faec6e62.js';
1
+ import { _ as __rest, a as __assign, F as FooterButton } from './component-97507715.js';
2
2
  import React, { useContext, forwardRef, useRef } from 'react';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
5
5
  import { useFocus } from '@alfalab/hooks';
6
- import { g as getDataTestId } from './getDataTestId-5f31517b.js';
6
+ import { g as getDataTestId } from './getDataTestId-9d99176e.js';
7
7
  import { Addon } from './components/addon/component.js';
8
8
  import { Typography } from '@alfalab/core-components-typography/esm';
9
9
  import { Amount } from './components/amount/component.js';
@@ -14,7 +14,7 @@ import { Footer } from './components/footer/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_8s3fu","horizontal":"pure-cell__horizontal_8s3fu"};
17
+ var styles = {"component":"pure-cell__component_6eg9k","horizontal":"pure-cell__horizontal_6eg9k"};
18
18
  require('./components/content/index.css')
19
19
 
20
20
  var Content = function (_a) {
@@ -24,7 +24,7 @@ var Content = function (_a) {
24
24
  return (React.createElement("section", { className: cn(styles.component, (_b = {}, _b[styles.horizontal] = direction === 'horizontal', _b)), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
25
25
  };
26
26
 
27
- var styles$1 = {"component":"pure-cell__component_1e9am","vertical":"pure-cell__vertical_1e9am","reverse":"pure-cell__reverse_1e9am"};
27
+ var styles$1 = {"component":"pure-cell__component_1bvng","vertical":"pure-cell__vertical_1bvng","reverse":"pure-cell__reverse_1bvng"};
28
28
  require('./components/main/index.css')
29
29
 
30
30
  var Main = function (_a) {
@@ -36,7 +36,7 @@ var Main = function (_a) {
36
36
  _b)), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
37
37
  };
38
38
 
39
- var styles$2 = {"horizontal":"pure-cell__horizontal_1cx9d","rowLimit1":"pure-cell__rowLimit1_1cx9d","rowLimit2":"pure-cell__rowLimit2_1cx9d","component":"pure-cell__component_1cx9d","multiline":"pure-cell__multiline_1cx9d","vertical":"pure-cell__vertical_1cx9d","title":"pure-cell__title_1cx9d"};
39
+ 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"};
40
40
  require('./components/text/index.css')
41
41
 
42
42
  var Text = function (_a) {
@@ -57,7 +57,7 @@ var Text = function (_a) {
57
57
  _d)), "data-test-id": getDataTestId(dataTestId, 'text') }, value))));
58
58
  };
59
59
 
60
- var styles$3 = {"component":"pure-cell__component_sptbm","horizontal":"pure-cell__horizontal_sptbm","vertical":"pure-cell__vertical_sptbm","button":"pure-cell__button_sptbm","link":"pure-cell__link_sptbm","none":"pure-cell__none_sptbm","airy":"pure-cell__airy_sptbm","default":"pure-cell__default_sptbm","compact":"pure-cell__compact_sptbm","tiny":"pure-cell__tiny_sptbm","left":"pure-cell__left_sptbm","right":"pure-cell__right_sptbm","both":"pure-cell__both_sptbm","focused":"pure-cell__focused_sptbm"};
60
+ 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"};
61
61
  require('./index.css')
62
62
 
63
63
  var PureCellContext = React.createContext({});
@@ -75,7 +75,7 @@ var PureCellComponent = forwardRef(function (_a, ref) {
75
75
  var target = restProps.target;
76
76
  // Для совместимости с react-router-dom, меняем href на to
77
77
  var hrefProps = (_c = {}, _c[typeof Component === 'string' ? 'href' : 'to'] = href, _c);
78
- return (React.createElement(Component, __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 }),
78
+ return (React.createElement(Component, __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 }),
79
79
  React.createElement(PureCellContext.Provider, { value: { direction: direction } }, children)));
80
80
  }
81
81
  if (onClick) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from './getDataTestId-5f31517b.js';
2
+ import { g as getDataTestId } from './getDataTestId-9d99176e.js';
3
3
  import { Button } from '@alfalab/core-components-button/esm';
4
4
 
5
5
  /*! *****************************************************************************
@@ -41,7 +41,7 @@ function __rest(s, e) {
41
41
  return t;
42
42
  }
43
43
 
44
- var styles = {"component":"pure-cell__component_175aq"};
44
+ var styles = {"component":"pure-cell__component_1kjuh"};
45
45
  require('./components/footer-button/index.css')
46
46
 
47
47
  var FooterButton = function (_a) {
package/esm/component.js CHANGED
@@ -1,9 +1,9 @@
1
- import './component-faec6e62.js';
1
+ import './component-97507715.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
5
5
  import '@alfalab/hooks';
6
- import './getDataTestId-5f31517b.js';
6
+ import './getDataTestId-9d99176e.js';
7
7
  import './components/addon/component.js';
8
8
  import '@alfalab/core-components-typography/esm';
9
9
  import '@alfalab/core-components-amount/esm';
@@ -11,7 +11,7 @@ import './components/amount/component.js';
11
11
  import './components/amount-title/component.js';
12
12
  import './components/category/component.js';
13
13
  import './components/comment/component.js';
14
- export { P as PureCell, a as PureCellContext } from './component-12f1342a.js';
14
+ export { P as PureCell, a as PureCellContext } from './component-441f32d6.js';
15
15
  import './components/footer/component.js';
16
16
  import '@alfalab/core-components-button/esm';
17
17
  import './components/footer-text/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-5f31517b.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-9d99176e.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_8law0","none":"pure-cell__none_8law0","default":"pure-cell__default_8law0","center":"pure-cell__center_8law0"};
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
  var Addon = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: cwsu3 */
1
+ /* hash: spr5t */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,20 +10,20 @@
10
10
  :root {
11
11
  --gap-m: 16px;
12
12
  }
13
- .pure-cell__component_8law0 {
13
+ .pure-cell__component_1ttjk {
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  padding-left: var(--gap-m)
17
17
  }
18
- .pure-cell__component_8law0 > * {
18
+ .pure-cell__component_1ttjk > * {
19
19
  justify-content: flex-end;
20
20
  }
21
- .pure-cell__component_8law0.pure-cell__none_8law0 {
21
+ .pure-cell__component_1ttjk.pure-cell__none_1ttjk {
22
22
  padding-left: 0;
23
23
  }
24
- .pure-cell__component_8law0.pure-cell__default_8law0 {
24
+ .pure-cell__component_1ttjk.pure-cell__default_1ttjk {
25
25
  padding-left: var(--gap-m);
26
26
  }
27
- .pure-cell__component_8law0.pure-cell__center_8law0 {
27
+ .pure-cell__component_1ttjk.pure-cell__center_1ttjk {
28
28
  align-self: center;
29
29
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-5f31517b.js';
3
+ import '../../getDataTestId-9d99176e.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-5f31517b.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-9d99176e.js';
4
4
  import { Typography } from '@alfalab/core-components-typography/esm';
5
5
  import { Amount as Amount$1 } from '@alfalab/core-components-amount/esm';
6
6
 
7
- var styles = {"component":"pure-cell__component_st93e"};
7
+ var styles = {"component":"pure-cell__component_v6w9n"};
8
8
  require('./index.css')
9
9
 
10
10
  var Amount = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 3553p */
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_st93e {
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-5f31517b.js';
3
+ import '../../getDataTestId-9d99176e.js';
4
4
  import '@alfalab/core-components-typography/esm';
5
5
  import '@alfalab/core-components-amount/esm';
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-5f31517b.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-9d99176e.js';
4
4
  import { Typography } from '@alfalab/core-components-typography/esm';
5
5
  import { Amount } from '@alfalab/core-components-amount/esm';
6
6
 
7
- var styles = {"component":"pure-cell__component_pzteh","weight":"pure-cell__weight_pzteh"};
7
+ var styles = {"component":"pure-cell__component_cl9na","weight":"pure-cell__weight_cl9na"};
8
8
  require('./index.css')
9
9
 
10
10
  var AmountTitle = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1f0ty */
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_pzteh {
10
+ .pure-cell__component_cl9na {
11
11
  display: flex;
12
12
  }
13
- .pure-cell__weight_pzteh {
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-5f31517b.js';
3
+ import '../../getDataTestId-9d99176e.js';
4
4
  import '@alfalab/core-components-typography/esm';
5
5
  import '@alfalab/core-components-amount/esm';
6
6
  export { AmountTitle } from './component.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-5f31517b.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-9d99176e.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/esm';
4
4
 
5
- var styles = {"component":"pure-cell__component_41g4t","categoryName":"pure-cell__categoryName_41g4t","categoryPercent":"pure-cell__categoryPercent_41g4t"};
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
  var Category = function (_a) {