@alfalab/core-components-pure-cell 4.1.10 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/{component-d9194093.d.ts → component-6d80a6bb.d.ts} +5 -1
  2. package/{component-d9194093.js → component-6d80a6bb.js} +8 -8
  3. package/component-c49f24a8.d.ts +2 -1
  4. package/component.js +3 -3
  5. package/components/addon/component.js +2 -2
  6. package/components/addon/index.css +9 -9
  7. package/components/addon/index.js +1 -1
  8. package/components/amount/component.js +3 -3
  9. package/components/amount/index.css +2 -2
  10. package/components/amount/index.js +2 -2
  11. package/components/amount-title/component.js +3 -3
  12. package/components/amount-title/index.css +3 -3
  13. package/components/amount-title/index.js +2 -2
  14. package/components/category/component.js +2 -2
  15. package/components/category/index.css +5 -5
  16. package/components/category/index.js +1 -1
  17. package/components/content/component.js +3 -3
  18. package/components/content/index.css +3 -3
  19. package/components/content/index.d.ts +1 -1
  20. package/components/content/index.js +3 -3
  21. package/components/footer/component.js +2 -2
  22. package/components/footer/index.css +4 -4
  23. package/components/footer/index.js +1 -1
  24. package/components/footer-button/component.js +3 -3
  25. package/components/footer-button/index.css +2 -2
  26. package/components/footer-button/index.js +2 -2
  27. package/components/footer-text/component.js +1 -1
  28. package/components/footer-text/index.js +1 -1
  29. package/components/graphics/component.js +2 -2
  30. package/components/graphics/index.css +5 -5
  31. package/components/graphics/index.js +1 -1
  32. package/components/main/component.js +3 -3
  33. package/components/main/index.css +4 -4
  34. package/components/main/index.d.ts +1 -1
  35. package/components/main/index.js +3 -3
  36. package/components/text/component.js +3 -3
  37. package/components/text/index.css +7 -7
  38. package/components/text/index.d.ts +1 -1
  39. package/components/text/index.js +3 -3
  40. package/{esm/component-fafe2cb3.d.ts → cssm/component-73a2c8e0.d.ts} +5 -1
  41. package/cssm/{component-094dfd9a.js → component-73a2c8e0.js} +2 -2
  42. package/cssm/component-c49f24a8.d.ts +2 -1
  43. package/cssm/component.js +1 -1
  44. package/cssm/components/content/component.js +1 -1
  45. package/cssm/components/content/index.d.ts +1 -1
  46. package/cssm/components/content/index.js +1 -1
  47. package/cssm/components/main/component.js +1 -1
  48. package/cssm/components/main/index.d.ts +1 -1
  49. package/cssm/components/main/index.js +1 -1
  50. package/cssm/components/text/component.js +1 -1
  51. package/cssm/components/text/index.d.ts +1 -1
  52. package/cssm/components/text/index.js +1 -1
  53. package/cssm/index.js +1 -1
  54. package/{cssm/component-094dfd9a.d.ts → esm/component-2162d463.d.ts} +5 -1
  55. package/esm/{component-fafe2cb3.js → component-2162d463.js} +8 -8
  56. package/esm/component-c49f24a8.d.ts +2 -1
  57. package/esm/component.js +3 -3
  58. package/esm/components/addon/component.js +2 -2
  59. package/esm/components/addon/index.css +9 -9
  60. package/esm/components/addon/index.js +1 -1
  61. package/esm/components/amount/component.js +3 -3
  62. package/esm/components/amount/index.css +2 -2
  63. package/esm/components/amount/index.js +2 -2
  64. package/esm/components/amount-title/component.js +3 -3
  65. package/esm/components/amount-title/index.css +3 -3
  66. package/esm/components/amount-title/index.js +2 -2
  67. package/esm/components/category/component.js +2 -2
  68. package/esm/components/category/index.css +5 -5
  69. package/esm/components/category/index.js +1 -1
  70. package/esm/components/content/component.js +3 -3
  71. package/esm/components/content/index.css +3 -3
  72. package/esm/components/content/index.d.ts +1 -1
  73. package/esm/components/content/index.js +3 -3
  74. package/esm/components/footer/component.js +2 -2
  75. package/esm/components/footer/index.css +4 -4
  76. package/esm/components/footer/index.js +1 -1
  77. package/esm/components/footer-button/component.js +3 -3
  78. package/esm/components/footer-button/index.css +2 -2
  79. package/esm/components/footer-button/index.js +2 -2
  80. package/esm/components/footer-text/component.js +1 -1
  81. package/esm/components/footer-text/index.js +1 -1
  82. package/esm/components/graphics/component.js +2 -2
  83. package/esm/components/graphics/index.css +5 -5
  84. package/esm/components/graphics/index.js +1 -1
  85. package/esm/components/main/component.js +3 -3
  86. package/esm/components/main/index.css +4 -4
  87. package/esm/components/main/index.d.ts +1 -1
  88. package/esm/components/main/index.js +3 -3
  89. package/esm/components/text/component.js +3 -3
  90. package/esm/components/text/index.css +7 -7
  91. package/esm/components/text/index.d.ts +1 -1
  92. package/esm/components/text/index.js +3 -3
  93. package/esm/{getDataTestId-5cbe94d4.d.ts → getDataTestId-d27be4d9.d.ts} +0 -0
  94. package/esm/{getDataTestId-5cbe94d4.js → getDataTestId-d27be4d9.js} +0 -0
  95. package/esm/index.css +21 -21
  96. package/esm/index.js +3 -3
  97. package/esm/{tslib.es6-faae201a.d.ts → tslib.es6-fc167669.d.ts} +0 -0
  98. package/esm/{tslib.es6-faae201a.js → tslib.es6-fc167669.js} +0 -0
  99. package/{getDataTestId-24f1a34d.d.ts → getDataTestId-447314e8.d.ts} +0 -0
  100. package/{getDataTestId-24f1a34d.js → getDataTestId-447314e8.js} +0 -0
  101. package/index.css +21 -21
  102. package/index.js +3 -3
  103. package/modern/{component-e7dc125a.d.ts → component-97272d9b.d.ts} +5 -1
  104. package/modern/{component-e7dc125a.js → component-97272d9b.js} +7 -7
  105. package/modern/component-c49f24a8.d.ts +2 -1
  106. package/modern/component.js +2 -2
  107. package/modern/components/addon/component.js +2 -2
  108. package/modern/components/addon/index.css +9 -9
  109. package/modern/components/addon/index.js +1 -1
  110. package/modern/components/amount/component.js +2 -2
  111. package/modern/components/amount/index.css +2 -2
  112. package/modern/components/amount/index.js +1 -1
  113. package/modern/components/amount-title/component.js +2 -2
  114. package/modern/components/amount-title/index.css +3 -3
  115. package/modern/components/amount-title/index.js +1 -1
  116. package/modern/components/category/component.js +2 -2
  117. package/modern/components/category/index.css +5 -5
  118. package/modern/components/category/index.js +1 -1
  119. package/modern/components/content/component.js +2 -2
  120. package/modern/components/content/index.css +3 -3
  121. package/modern/components/content/index.d.ts +1 -1
  122. package/modern/components/content/index.js +2 -2
  123. package/modern/components/footer/component.js +2 -2
  124. package/modern/components/footer/index.css +4 -4
  125. package/modern/components/footer/index.js +1 -1
  126. package/modern/components/footer-button/component.js +2 -2
  127. package/modern/components/footer-button/index.css +2 -2
  128. package/modern/components/footer-button/index.js +1 -1
  129. package/modern/components/footer-text/component.js +1 -1
  130. package/modern/components/footer-text/index.js +1 -1
  131. package/modern/components/graphics/component.js +2 -2
  132. package/modern/components/graphics/index.css +5 -5
  133. package/modern/components/graphics/index.js +1 -1
  134. package/modern/components/main/component.js +2 -2
  135. package/modern/components/main/index.css +4 -4
  136. package/modern/components/main/index.d.ts +1 -1
  137. package/modern/components/main/index.js +2 -2
  138. package/modern/components/text/component.js +2 -2
  139. package/modern/components/text/index.css +7 -7
  140. package/modern/components/text/index.d.ts +1 -1
  141. package/modern/components/text/index.js +2 -2
  142. package/modern/{getDataTestId-b209a23f.d.ts → getDataTestId-c31400ee.d.ts} +0 -0
  143. package/modern/{getDataTestId-b209a23f.js → getDataTestId-c31400ee.js} +0 -0
  144. package/modern/index.css +21 -21
  145. package/modern/index.js +2 -2
  146. package/package.json +2 -2
  147. /package/{tslib.es6-30deefff.d.ts → tslib.es6-dc91a022.d.ts} +0 -0
  148. /package/{tslib.es6-30deefff.js → tslib.es6-dc91a022.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('../../component-d9194093.js');
4
- require('../../tslib.es6-30deefff.js');
3
+ var components_content_component = require('../../component-6d80a6bb.js');
4
+ require('../../tslib.es6-dc91a022.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-comment');
9
9
  require('@alfalab/hooks');
10
10
  require('../addon/component.js');
11
- require('../../getDataTestId-24f1a34d.js');
11
+ require('../../getDataTestId-447314e8.js');
12
12
  require('../amount/component.js');
13
13
  require('@alfalab/core-components-amount');
14
14
  require('@alfalab/core-components-typography');
@@ -3,9 +3,9 @@
3
3
  require('react');
4
4
  require('classnames');
5
5
  require('@alfalab/core-components-typography');
6
- require('../../getDataTestId-24f1a34d.js');
7
- var components_content_component = require('../../component-d9194093.js');
8
- require('../../tslib.es6-30deefff.js');
6
+ require('../../getDataTestId-447314e8.js');
7
+ var components_content_component = require('../../component-6d80a6bb.js');
8
+ require('../../tslib.es6-dc91a022.js');
9
9
  require('react-merge-refs');
10
10
  require('@alfalab/core-components-comment');
11
11
  require('@alfalab/hooks');
@@ -1,4 +1,4 @@
1
- /* hash: ekdwm */
1
+ /* hash: cxydr */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -16,29 +16,29 @@
16
16
  --gap-m: 16px;
17
17
  } :root {
18
18
  } :root {
19
- } .pure-cell__horizontal_1ln4r {
19
+ } .pure-cell__horizontal_n59dw {
20
20
  padding: var(--gap-3xs) 0;
21
- } .pure-cell__rowLimit1_1ln4r {
21
+ } .pure-cell__rowLimit1_n59dw {
22
22
  -webkit-line-clamp: 1;
23
23
  display: -webkit-box;
24
24
  -webkit-box-orient: vertical;
25
25
  overflow: hidden;
26
26
  word-break: break-all;
27
- } .pure-cell__rowLimit2_1ln4r {
27
+ } .pure-cell__rowLimit2_n59dw {
28
28
  -webkit-line-clamp: 2;
29
29
  display: -webkit-box;
30
30
  -webkit-box-orient: vertical;
31
31
  overflow: hidden;
32
- } .pure-cell__component_1ln4r {
32
+ } .pure-cell__component_n59dw {
33
33
  display: flex;
34
34
  flex-direction: row;
35
35
  flex-wrap: nowrap;
36
36
  justify-content: space-between;
37
37
  margin: var(--gap-3xs) 0;
38
38
  word-break: break-word;
39
- } .pure-cell__component_1ln4r .pure-cell__vertical_1ln4r {
39
+ } .pure-cell__component_n59dw .pure-cell__vertical_n59dw {
40
40
  justify-content: center;
41
- } .pure-cell__title_1ln4r + .pure-cell__value_1ln4r {
41
+ } .pure-cell__title_n59dw + .pure-cell__value_n59dw {
42
42
  margin-left: var(--gap-m);
43
43
  flex-shrink: 0;
44
44
  }
@@ -1 +1 @@
1
- export * from "../../component-d9194093";
1
+ export * from "../../component-6d80a6bb";
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('../../component-d9194093.js');
4
- require('../../tslib.es6-30deefff.js');
3
+ var components_content_component = require('../../component-6d80a6bb.js');
4
+ require('../../tslib.es6-dc91a022.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-comment');
9
9
  require('@alfalab/hooks');
10
10
  require('../addon/component.js');
11
- require('../../getDataTestId-24f1a34d.js');
11
+ require('../../getDataTestId-447314e8.js');
12
12
  require('../amount/component.js');
13
13
  require('@alfalab/core-components-amount');
14
14
  require('@alfalab/core-components-typography');
@@ -41,7 +41,11 @@ type Props$1 = {
41
41
  /**
42
42
  * Размер текста
43
43
  */
44
- view: 'primary-small' | 'component';
44
+ view: 'primary-large' | 'primary-medium' | 'primary-small' | 'component';
45
+ /**
46
+ * Толщина title
47
+ */
48
+ titleWeight?: 'regular' | 'bold';
45
49
  /**
46
50
  * Цвет title
47
51
  */
@@ -49,13 +49,13 @@ var Main = function (_a) {
49
49
 
50
50
  var Text = function (_a) {
51
51
  var _b;
52
- var children = _a.children, value = _a.value, rowLimit = _a.rowLimit, _c = _a.view, view = _c === void 0 ? 'component' : _c, titleColor = _a.titleColor, valueColor = _a.valueColor, dataTestId = _a.dataTestId;
52
+ var children = _a.children, value = _a.value, rowLimit = _a.rowLimit, _c = _a.view, view = _c === void 0 ? 'component' : _c, titleWeight = _a.titleWeight, titleColor = _a.titleColor, valueColor = _a.valueColor, dataTestId = _a.dataTestId;
53
53
  var _d = React.useContext(PureCellContext).direction, direction = _d === void 0 ? 'horizontal' : _d;
54
54
  var className = rowLimit && styles__default$2.default["rowLimit".concat(rowLimit)];
55
55
  return (React__default.default.createElement("div", { className: cn__default.default(styles__default$2.default.component, (_b = {},
56
56
  _b[styles__default$2.default.vertical] = direction !== 'horizontal',
57
57
  _b)) },
58
- React__default.default.createElement("span", { className: styles__default$2.default.title }, typeof children === 'string' ? (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: view, color: titleColor, className: className, "data-test-id": getDataTestId.getDataTestId(dataTestId, 'text') }, children)) : (children)),
58
+ React__default.default.createElement("span", { className: styles__default$2.default.title }, typeof children === 'string' ? (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: view, weight: titleWeight, color: titleColor, className: className, "data-test-id": getDataTestId.getDataTestId(dataTestId, 'text') }, children)) : (children)),
59
59
  value !== undefined && (React__default.default.createElement("span", { className: styles__default$2.default.value }, typeof value === 'string' ? (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: view, color: valueColor, className: className, "data-test-id": getDataTestId.getDataTestId(dataTestId, 'text') }, value)) : (value)))));
60
60
  };
61
61
 
@@ -65,7 +65,8 @@ declare const PureCell: React.ForwardRefExoticComponent<PureProps & React.RefAtt
65
65
  Text: React.FC<{
66
66
  children?: React.ReactNode;
67
67
  rowLimit?: 1 | 2 | undefined;
68
- view: "component" | "primary-small";
68
+ view: "component" | "primary-large" | "primary-medium" | "primary-small";
69
+ titleWeight?: "bold" | "regular" | undefined;
69
70
  titleColor: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative";
70
71
  value?: React.ReactNode;
71
72
  valueColor?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
package/cssm/component.js CHANGED
@@ -10,7 +10,7 @@ require('./components/addon/component.js');
10
10
  require('./components/amount/component.js');
11
11
  require('./components/amount-title/component.js');
12
12
  require('./components/category/component.js');
13
- var components_content_component = require('./component-094dfd9a.js');
13
+ var components_content_component = require('./component-73a2c8e0.js');
14
14
  require('./components/footer/component.js');
15
15
  require('./components/footer-button/component.js');
16
16
  require('./components/footer-text/component.js');
@@ -3,7 +3,7 @@
3
3
  require('react');
4
4
  require('classnames');
5
5
  require('../../getDataTestId-5c876d98.js');
6
- var components_content_component = require('../../component-094dfd9a.js');
6
+ var components_content_component = require('../../component-73a2c8e0.js');
7
7
  require('./index.module.css');
8
8
  require('../../tslib.es6-bbd6cd2a.js');
9
9
  require('react-merge-refs');
@@ -1 +1 @@
1
- export * from "../../component-094dfd9a";
1
+ export * from "../../component-73a2c8e0";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('../../component-094dfd9a.js');
3
+ var components_content_component = require('../../component-73a2c8e0.js');
4
4
  require('../../tslib.es6-bbd6cd2a.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
@@ -3,7 +3,7 @@
3
3
  require('react');
4
4
  require('classnames');
5
5
  require('../../getDataTestId-5c876d98.js');
6
- var components_content_component = require('../../component-094dfd9a.js');
6
+ var components_content_component = require('../../component-73a2c8e0.js');
7
7
  require('./index.module.css');
8
8
  require('../../tslib.es6-bbd6cd2a.js');
9
9
  require('react-merge-refs');
@@ -1 +1 @@
1
- export * from "../../component-094dfd9a";
1
+ export * from "../../component-73a2c8e0";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('../../component-094dfd9a.js');
3
+ var components_content_component = require('../../component-73a2c8e0.js');
4
4
  require('../../tslib.es6-bbd6cd2a.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
@@ -4,7 +4,7 @@ require('react');
4
4
  require('classnames');
5
5
  require('@alfalab/core-components-typography/cssm');
6
6
  require('../../getDataTestId-5c876d98.js');
7
- var components_content_component = require('../../component-094dfd9a.js');
7
+ var components_content_component = require('../../component-73a2c8e0.js');
8
8
  require('./index.module.css');
9
9
  require('../../tslib.es6-bbd6cd2a.js');
10
10
  require('react-merge-refs');
@@ -1 +1 @@
1
- export * from "../../component-094dfd9a";
1
+ export * from "../../component-73a2c8e0";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('../../component-094dfd9a.js');
3
+ var components_content_component = require('../../component-73a2c8e0.js');
4
4
  require('../../tslib.es6-bbd6cd2a.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
package/cssm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('./component-094dfd9a.js');
3
+ var components_content_component = require('./component-73a2c8e0.js');
4
4
  require('./tslib.es6-bbd6cd2a.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
@@ -41,7 +41,11 @@ type Props$1 = {
41
41
  /**
42
42
  * Размер текста
43
43
  */
44
- view: 'primary-small' | 'component';
44
+ view: 'primary-large' | 'primary-medium' | 'primary-small' | 'component';
45
+ /**
46
+ * Толщина title
47
+ */
48
+ titleWeight?: 'regular' | 'bold';
45
49
  /**
46
50
  * Цвет title
47
51
  */
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-faae201a.js';
1
+ import { _ as __rest, a as __assign } from './tslib.es6-fc167669.js';
2
2
  import React, { useContext, forwardRef, useRef } from 'react';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
@@ -8,14 +8,14 @@ import { Addon } from './components/addon/component.js';
8
8
  import { Amount } from './components/amount/component.js';
9
9
  import { AmountTitle } from './components/amount-title/component.js';
10
10
  import { Category } from './components/category/component.js';
11
- import { g as getDataTestId } from './getDataTestId-5cbe94d4.js';
11
+ import { g as getDataTestId } from './getDataTestId-d27be4d9.js';
12
12
  import { Footer } from './components/footer/component.js';
13
13
  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
  import { Typography } from '@alfalab/core-components-typography/esm';
17
17
 
18
- var styles$3 = {"component":"pure-cell__component_94x5r","horizontal":"pure-cell__horizontal_94x5r"};
18
+ var styles$3 = {"component":"pure-cell__component_jy6vo","horizontal":"pure-cell__horizontal_jy6vo"};
19
19
  require('./components/content/index.css')
20
20
 
21
21
  var Content = function (_a) {
@@ -25,7 +25,7 @@ var Content = function (_a) {
25
25
  return (React.createElement("section", { className: cn(styles$3.component, (_b = {}, _b[styles$3.horizontal] = direction === 'horizontal', _b)), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
26
26
  };
27
27
 
28
- var styles$2 = {"component":"pure-cell__component_ymuzq","vertical":"pure-cell__vertical_ymuzq","reverse":"pure-cell__reverse_ymuzq"};
28
+ var styles$2 = {"component":"pure-cell__component_1rtkh","vertical":"pure-cell__vertical_1rtkh","reverse":"pure-cell__reverse_1rtkh"};
29
29
  require('./components/main/index.css')
30
30
 
31
31
  var Main = function (_a) {
@@ -37,22 +37,22 @@ var Main = function (_a) {
37
37
  _b)), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
38
38
  };
39
39
 
40
- var styles$1 = {"horizontal":"pure-cell__horizontal_1ln4r","rowLimit1":"pure-cell__rowLimit1_1ln4r","rowLimit2":"pure-cell__rowLimit2_1ln4r","component":"pure-cell__component_1ln4r","vertical":"pure-cell__vertical_1ln4r","title":"pure-cell__title_1ln4r","value":"pure-cell__value_1ln4r"};
40
+ var styles$1 = {"horizontal":"pure-cell__horizontal_n59dw","rowLimit1":"pure-cell__rowLimit1_n59dw","rowLimit2":"pure-cell__rowLimit2_n59dw","component":"pure-cell__component_n59dw","vertical":"pure-cell__vertical_n59dw","title":"pure-cell__title_n59dw","value":"pure-cell__value_n59dw"};
41
41
  require('./components/text/index.css')
42
42
 
43
43
  var Text = function (_a) {
44
44
  var _b;
45
- var children = _a.children, value = _a.value, rowLimit = _a.rowLimit, _c = _a.view, view = _c === void 0 ? 'component' : _c, titleColor = _a.titleColor, valueColor = _a.valueColor, dataTestId = _a.dataTestId;
45
+ var children = _a.children, value = _a.value, rowLimit = _a.rowLimit, _c = _a.view, view = _c === void 0 ? 'component' : _c, titleWeight = _a.titleWeight, titleColor = _a.titleColor, valueColor = _a.valueColor, dataTestId = _a.dataTestId;
46
46
  var _d = useContext(PureCellContext).direction, direction = _d === void 0 ? 'horizontal' : _d;
47
47
  var className = rowLimit && styles$1["rowLimit".concat(rowLimit)];
48
48
  return (React.createElement("div", { className: cn(styles$1.component, (_b = {},
49
49
  _b[styles$1.vertical] = direction !== 'horizontal',
50
50
  _b)) },
51
- 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)),
51
+ React.createElement("span", { className: styles$1.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, weight: titleWeight, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
52
52
  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)))));
53
53
  };
54
54
 
55
- var styles = {"component":"pure-cell__component_n80bd","horizontal":"pure-cell__horizontal_n80bd","vertical":"pure-cell__vertical_n80bd","button":"pure-cell__button_n80bd","link":"pure-cell__link_n80bd","none":"pure-cell__none_n80bd","airy":"pure-cell__airy_n80bd","defaultPadding":"pure-cell__defaultPadding_n80bd","compact":"pure-cell__compact_n80bd","tiny":"pure-cell__tiny_n80bd","left":"pure-cell__left_n80bd","right":"pure-cell__right_n80bd","both":"pure-cell__both_n80bd","focused":"pure-cell__focused_n80bd"};
55
+ var styles = {"component":"pure-cell__component_7sqoe","horizontal":"pure-cell__horizontal_7sqoe","vertical":"pure-cell__vertical_7sqoe","button":"pure-cell__button_7sqoe","link":"pure-cell__link_7sqoe","none":"pure-cell__none_7sqoe","airy":"pure-cell__airy_7sqoe","defaultPadding":"pure-cell__defaultPadding_7sqoe","compact":"pure-cell__compact_7sqoe","tiny":"pure-cell__tiny_7sqoe","left":"pure-cell__left_7sqoe","right":"pure-cell__right_7sqoe","both":"pure-cell__both_7sqoe","focused":"pure-cell__focused_7sqoe"};
56
56
  require('./index.css')
57
57
 
58
58
  // eslint-disable-next-line @typescript-eslint/no-redeclare
@@ -65,7 +65,8 @@ declare const PureCell: React.ForwardRefExoticComponent<PureProps & React.RefAtt
65
65
  Text: React.FC<{
66
66
  children?: React.ReactNode;
67
67
  rowLimit?: 1 | 2 | undefined;
68
- view: "component" | "primary-small";
68
+ view: "component" | "primary-large" | "primary-medium" | "primary-small";
69
+ titleWeight?: "bold" | "regular" | undefined;
69
70
  titleColor: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative";
70
71
  value?: React.ReactNode;
71
72
  valueColor?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
package/esm/component.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-faae201a.js';
1
+ import './tslib.es6-fc167669.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
@@ -8,12 +8,12 @@ import './components/addon/component.js';
8
8
  import './components/amount/component.js';
9
9
  import './components/amount-title/component.js';
10
10
  import './components/category/component.js';
11
- export { P as PureCell, a as PureCellContext } from './component-fafe2cb3.js';
11
+ export { P as PureCell, a as PureCellContext } from './component-2162d463.js';
12
12
  import './components/footer/component.js';
13
13
  import './components/footer-button/component.js';
14
14
  import './components/footer-text/component.js';
15
15
  import './components/graphics/component.js';
16
- import './getDataTestId-5cbe94d4.js';
16
+ import './getDataTestId-d27be4d9.js';
17
17
  import '@alfalab/core-components-amount/esm';
18
18
  import '@alfalab/core-components-typography/esm';
19
19
  import '@alfalab/core-components-button/esm';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-5cbe94d4.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_13udf","none":"pure-cell__none_13udf","default":"pure-cell__default_13udf","addonPadding":"pure-cell__addonPadding_13udf","top":"pure-cell__top_13udf","center":"pure-cell__center_13udf","bottom":"pure-cell__bottom_13udf"};
5
+ var styles = {"component":"pure-cell__component_auu0z","none":"pure-cell__none_auu0z","default":"pure-cell__default_auu0z","addonPadding":"pure-cell__addonPadding_auu0z","top":"pure-cell__top_auu0z","center":"pure-cell__center_auu0z","bottom":"pure-cell__bottom_auu0z"};
6
6
  require('./index.css')
7
7
 
8
8
  var Addon = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: w1wrl */
1
+ /* hash: 14h8o */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -15,22 +15,22 @@
15
15
  --gap-m: 16px;
16
16
  } :root {
17
17
  } :root {
18
- } .pure-cell__component_13udf {
18
+ } .pure-cell__component_auu0z {
19
19
  display: flex;
20
20
  flex-direction: column;
21
21
  align-items: flex-end
22
- } .pure-cell__component_13udf > * {
22
+ } .pure-cell__component_auu0z > * {
23
23
  justify-content: flex-end;
24
- } .pure-cell__component_13udf.pure-cell__none_13udf {
24
+ } .pure-cell__component_auu0z.pure-cell__none_auu0z {
25
25
  padding-left: 0;
26
- } .pure-cell__component_13udf.pure-cell__default_13udf {
26
+ } .pure-cell__component_auu0z.pure-cell__default_auu0z {
27
27
  padding-left: var(--gap-m);
28
- } .pure-cell__component_13udf.pure-cell__addonPadding_13udf {
28
+ } .pure-cell__component_auu0z.pure-cell__addonPadding_auu0z {
29
29
  padding-left: var(--gap-m);
30
- } .pure-cell__component_13udf.pure-cell__top_13udf {
30
+ } .pure-cell__component_auu0z.pure-cell__top_auu0z {
31
31
  align-self: flex-start;
32
- } .pure-cell__component_13udf.pure-cell__center_13udf {
32
+ } .pure-cell__component_auu0z.pure-cell__center_auu0z {
33
33
  align-self: center;
34
- } .pure-cell__component_13udf.pure-cell__bottom_13udf {
34
+ } .pure-cell__component_auu0z.pure-cell__bottom_auu0z {
35
35
  align-self: flex-end;
36
36
  }
@@ -1,4 +1,4 @@
1
1
  export { Addon } from './component.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
- import '../../getDataTestId-5cbe94d4.js';
4
+ import '../../getDataTestId-d27be4d9.js';
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-faae201a.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-fc167669.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Amount as Amount$1 } from '@alfalab/core-components-amount/esm';
5
5
  import { Typography } from '@alfalab/core-components-typography/esm';
6
- import { g as getDataTestId } from '../../getDataTestId-5cbe94d4.js';
6
+ import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
7
7
 
8
- var styles = {"component":"pure-cell__component_18foq"};
8
+ var styles = {"component":"pure-cell__component_1r3hi"};
9
9
  require('./index.css')
10
10
 
11
11
  var Amount = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 4j3wt */
1
+ /* hash: 1ls9a */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -15,7 +15,7 @@
15
15
  --gap-3xs: 2px;
16
16
  } :root {
17
17
  } :root {
18
- } .pure-cell__component_18foq {
18
+ } .pure-cell__component_1r3hi {
19
19
  padding: var(--gap-3xs) 0;
20
20
  display: flex;
21
21
  }
@@ -1,7 +1,7 @@
1
1
  export { Amount } from './component.js';
2
- import '../../tslib.es6-faae201a.js';
2
+ import '../../tslib.es6-fc167669.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '@alfalab/core-components-amount/esm';
6
6
  import '@alfalab/core-components-typography/esm';
7
- import '../../getDataTestId-5cbe94d4.js';
7
+ import '../../getDataTestId-d27be4d9.js';
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-faae201a.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-fc167669.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Amount } from '@alfalab/core-components-amount/esm';
5
5
  import { Typography } from '@alfalab/core-components-typography/esm';
6
- import { g as getDataTestId } from '../../getDataTestId-5cbe94d4.js';
6
+ import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
7
7
 
8
- var styles = {"component":"pure-cell__component_fg9wm","weight":"pure-cell__weight_fg9wm"};
8
+ var styles = {"component":"pure-cell__component_nef73","weight":"pure-cell__weight_nef73"};
9
9
  require('./index.css')
10
10
 
11
11
  var AmountTitle = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ks8ik */
1
+ /* hash: 1d4m0 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,8 +14,8 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .pure-cell__component_fg9wm {
17
+ } .pure-cell__component_nef73 {
18
18
  display: flex;
19
- } .pure-cell__weight_fg9wm {
19
+ } .pure-cell__weight_nef73 {
20
20
  font-weight: inherit;
21
21
  }
@@ -1,7 +1,7 @@
1
1
  export { AmountTitle } from './component.js';
2
- import '../../tslib.es6-faae201a.js';
2
+ import '../../tslib.es6-fc167669.js';
3
3
  import 'react';
4
4
  import 'classnames';
5
5
  import '@alfalab/core-components-amount/esm';
6
6
  import '@alfalab/core-components-typography/esm';
7
- import '../../getDataTestId-5cbe94d4.js';
7
+ import '../../getDataTestId-d27be4d9.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { Typography } from '@alfalab/core-components-typography/esm';
3
- import { g as getDataTestId } from '../../getDataTestId-5cbe94d4.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1kerb","categoryName":"pure-cell__categoryName_1kerb","categoryPercent":"pure-cell__categoryPercent_1kerb","rightAddon":"pure-cell__rightAddon_1kerb"};
5
+ var styles = {"component":"pure-cell__component_1piac","categoryName":"pure-cell__categoryName_1piac","categoryPercent":"pure-cell__categoryPercent_1piac","rightAddon":"pure-cell__rightAddon_1piac"};
6
6
  require('./index.css')
7
7
 
8
8
  var Category = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: hmrdx */
1
+ /* hash: sxr82 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-secondary: #f3f4f5;
@@ -19,21 +19,21 @@
19
19
  --gap-xs: 8px;
20
20
  } :root {
21
21
  } :root {
22
- } .pure-cell__component_1kerb {
22
+ } .pure-cell__component_1piac {
23
23
  display: flex;
24
24
  overflow: hidden;
25
25
  padding: var(--gap-3xs) 0;
26
- } .pure-cell__categoryName_1kerb {
26
+ } .pure-cell__categoryName_1piac {
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
- } .pure-cell__categoryPercent_1kerb {
32
+ } .pure-cell__categoryPercent_1piac {
33
33
  padding: 0 var(--gap-xs);
34
34
  background-color: var(--color-light-bg-secondary);
35
35
  border-radius: var(--border-radius-xl);
36
36
  margin-left: var(--gap-2xs);
37
- } .pure-cell__rightAddon_1kerb {
37
+ } .pure-cell__rightAddon_1piac {
38
38
  margin-left: var(--gap-2xs);
39
39
  }
@@ -1,4 +1,4 @@
1
1
  export { Category } from './component.js';
2
2
  import 'react';
3
3
  import '@alfalab/core-components-typography/esm';
4
- import '../../getDataTestId-5cbe94d4.js';
4
+ import '../../getDataTestId-d27be4d9.js';
@@ -1,8 +1,8 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-5cbe94d4.js';
4
- export { C as Content } from '../../component-fafe2cb3.js';
5
- import '../../tslib.es6-faae201a.js';
3
+ import '../../getDataTestId-d27be4d9.js';
4
+ export { C as Content } from '../../component-2162d463.js';
5
+ import '../../tslib.es6-fc167669.js';
6
6
  import 'react-merge-refs';
7
7
  import '@alfalab/core-components-comment/esm';
8
8
  import '@alfalab/hooks';
@@ -1,4 +1,4 @@
1
- /* hash: qmplp */
1
+ /* hash: ohhjd */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,11 +14,11 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .pure-cell__component_94x5r {
17
+ } .pure-cell__component_jy6vo {
18
18
  flex-basis: 100%;
19
19
  display: grid;
20
20
  grid-template-columns: 1fr auto
21
- } .pure-cell__component_94x5r.pure-cell__horizontal_94x5r {
21
+ } .pure-cell__component_jy6vo.pure-cell__horizontal_jy6vo {
22
22
  /* for button */
23
23
  align-self: stretch;
24
24
  }
@@ -1 +1 @@
1
- export * from "../../component-fafe2cb3";
1
+ export * from "../../component-2162d463";
@@ -1,12 +1,12 @@
1
- export { C as Content } from '../../component-fafe2cb3.js';
2
- import '../../tslib.es6-faae201a.js';
1
+ export { C as Content } from '../../component-2162d463.js';
2
+ import '../../tslib.es6-fc167669.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-comment/esm';
7
7
  import '@alfalab/hooks';
8
8
  import '../addon/component.js';
9
- import '../../getDataTestId-5cbe94d4.js';
9
+ import '../../getDataTestId-d27be4d9.js';
10
10
  import '../amount/component.js';
11
11
  import '@alfalab/core-components-amount/esm';
12
12
  import '@alfalab/core-components-typography/esm';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-5cbe94d4.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1axd4","none":"pure-cell__none_1axd4","default":"pure-cell__default_1axd4"};
5
+ var styles = {"component":"pure-cell__component_zm3j1","none":"pure-cell__none_zm3j1","default":"pure-cell__default_zm3j1"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {