@alfalab/core-components-pure-cell 2.0.6 → 3.0.1

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 (179) hide show
  1. package/{modern/component-2ad59c5c.d.ts → component-3598b982.d.ts} +4 -8
  2. package/{component-3f80589a.js → component-3598b982.js} +15 -19
  3. package/{component-cf0927a9.d.ts → component-3f45f3c4.d.ts} +2 -6
  4. package/{component-04c6d9c4.d.ts → component-b7e6ca82.d.ts} +0 -0
  5. package/{component-04c6d9c4.js → component-b7e6ca82.js} +2 -2
  6. package/component.js +4 -4
  7. package/components/addon/component.js +2 -2
  8. package/components/addon/index.css +7 -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 +4 -4
  18. package/components/category/index.js +1 -1
  19. package/components/content/component.js +4 -4
  20. package/components/content/index.css +3 -3
  21. package/components/content/index.d.ts +1 -1
  22. package/components/content/index.js +4 -4
  23. package/components/footer/component.js +2 -2
  24. package/components/footer/index.css +4 -4
  25. package/components/footer/index.js +1 -1
  26. package/components/footer-button/component.js +2 -2
  27. package/components/footer-button/index.css +2 -2
  28. package/components/footer-button/index.d.ts +1 -1
  29. package/components/footer-button/index.js +2 -2
  30. package/components/footer-text/component.js +1 -1
  31. package/components/footer-text/index.js +1 -1
  32. package/components/graphics/component.js +2 -2
  33. package/components/graphics/index.css +2 -2
  34. package/components/graphics/index.js +1 -1
  35. package/components/main/component.js +4 -4
  36. package/components/main/index.css +4 -4
  37. package/components/main/index.d.ts +1 -1
  38. package/components/main/index.js +4 -4
  39. package/components/text/component.js +4 -4
  40. package/components/text/index.css +7 -13
  41. package/components/text/index.d.ts +1 -1
  42. package/components/text/index.js +4 -4
  43. package/components/types.d.ts +1 -1
  44. package/{esm/component-cf0927a9.d.ts → cssm/component-3f45f3c4.d.ts} +2 -6
  45. package/{esm/component-cc5a30ff.d.ts → cssm/component-d3306cf3.d.ts} +4 -8
  46. package/cssm/{component-f60efddd.js → component-d3306cf3.js} +9 -13
  47. package/cssm/component.js +2 -3
  48. package/cssm/components/content/component.js +2 -3
  49. package/cssm/components/content/index.d.ts +1 -1
  50. package/cssm/components/content/index.js +2 -3
  51. package/cssm/components/main/component.js +2 -3
  52. package/cssm/components/main/index.d.ts +1 -1
  53. package/cssm/components/main/index.js +2 -3
  54. package/cssm/components/text/component.js +2 -3
  55. package/cssm/components/text/index.d.ts +1 -1
  56. package/cssm/components/text/index.js +2 -3
  57. package/cssm/components/text/index.module.css +0 -6
  58. package/cssm/components/types.d.ts +1 -1
  59. package/cssm/index.d.ts +1 -1
  60. package/cssm/index.js +2 -3
  61. package/{cssm/component-cf0927a9.d.ts → esm/component-3f45f3c4.d.ts} +2 -6
  62. package/{component-3f80589a.d.ts → esm/component-ca807645.d.ts} +4 -8
  63. package/esm/{component-cc5a30ff.js → component-ca807645.js} +14 -18
  64. package/esm/{component-d1a6702b.d.ts → component-de143750.d.ts} +0 -0
  65. package/esm/{component-d1a6702b.js → component-de143750.js} +2 -2
  66. package/esm/component.js +4 -4
  67. package/esm/components/addon/component.js +2 -2
  68. package/esm/components/addon/index.css +7 -7
  69. package/esm/components/addon/index.js +1 -1
  70. package/esm/components/amount/component.js +2 -2
  71. package/esm/components/amount/index.css +2 -2
  72. package/esm/components/amount/index.js +1 -1
  73. package/esm/components/amount-title/component.js +2 -2
  74. package/esm/components/amount-title/index.css +3 -3
  75. package/esm/components/amount-title/index.js +1 -1
  76. package/esm/components/category/component.js +2 -2
  77. package/esm/components/category/index.css +4 -4
  78. package/esm/components/category/index.js +1 -1
  79. package/esm/components/content/component.js +4 -4
  80. package/esm/components/content/index.css +3 -3
  81. package/esm/components/content/index.d.ts +1 -1
  82. package/esm/components/content/index.js +4 -4
  83. package/esm/components/footer/component.js +2 -2
  84. package/esm/components/footer/index.css +4 -4
  85. package/esm/components/footer/index.js +1 -1
  86. package/esm/components/footer-button/component.js +2 -2
  87. package/esm/components/footer-button/index.css +2 -2
  88. package/esm/components/footer-button/index.d.ts +1 -1
  89. package/esm/components/footer-button/index.js +2 -2
  90. package/esm/components/footer-text/component.js +1 -1
  91. package/esm/components/footer-text/index.js +1 -1
  92. package/esm/components/graphics/component.js +2 -2
  93. package/esm/components/graphics/index.css +2 -2
  94. package/esm/components/graphics/index.js +1 -1
  95. package/esm/components/main/component.js +4 -4
  96. package/esm/components/main/index.css +4 -4
  97. package/esm/components/main/index.d.ts +1 -1
  98. package/esm/components/main/index.js +4 -4
  99. package/esm/components/text/component.js +4 -4
  100. package/esm/components/text/index.css +7 -13
  101. package/esm/components/text/index.d.ts +1 -1
  102. package/esm/components/text/index.js +4 -4
  103. package/esm/components/types.d.ts +1 -1
  104. package/esm/{getDataTestId-84bfcaab.d.ts → getDataTestId-6abe051e.d.ts} +0 -0
  105. package/esm/{getDataTestId-84bfcaab.js → getDataTestId-6abe051e.js} +0 -0
  106. package/esm/index.css +19 -19
  107. package/esm/index.d.ts +1 -1
  108. package/esm/index.js +4 -4
  109. package/{getDataTestId-49bb5c39.d.ts → getDataTestId-b63e3505.d.ts} +0 -0
  110. package/{getDataTestId-49bb5c39.js → getDataTestId-b63e3505.js} +0 -0
  111. package/index.css +19 -19
  112. package/index.d.ts +1 -1
  113. package/index.js +4 -4
  114. package/{cssm/component-f60efddd.d.ts → modern/component-3b7c93c8.d.ts} +4 -8
  115. package/modern/{component-2ad59c5c.js → component-3b7c93c8.js} +11 -15
  116. package/modern/{component-cf0927a9.d.ts → component-3f45f3c4.d.ts} +2 -6
  117. package/modern/component.js +3 -3
  118. package/modern/components/addon/component.js +2 -2
  119. package/modern/components/addon/index.css +7 -7
  120. package/modern/components/addon/index.js +1 -1
  121. package/modern/components/amount/component.js +2 -2
  122. package/modern/components/amount/index.css +2 -2
  123. package/modern/components/amount/index.js +1 -1
  124. package/modern/components/amount-title/component.js +2 -2
  125. package/modern/components/amount-title/index.css +3 -3
  126. package/modern/components/amount-title/index.js +1 -1
  127. package/modern/components/category/component.js +2 -2
  128. package/modern/components/category/index.css +4 -4
  129. package/modern/components/category/index.js +1 -1
  130. package/modern/components/content/component.js +3 -3
  131. package/modern/components/content/index.css +3 -3
  132. package/modern/components/content/index.d.ts +1 -1
  133. package/modern/components/content/index.js +3 -3
  134. package/modern/components/footer/component.js +2 -2
  135. package/modern/components/footer/index.css +4 -4
  136. package/modern/components/footer/index.js +1 -1
  137. package/modern/components/footer-button/component.js +2 -2
  138. package/modern/components/footer-button/index.css +2 -2
  139. package/modern/components/footer-button/index.js +1 -1
  140. package/modern/components/footer-text/component.js +1 -1
  141. package/modern/components/footer-text/index.js +1 -1
  142. package/modern/components/graphics/component.js +2 -2
  143. package/modern/components/graphics/index.css +2 -2
  144. package/modern/components/graphics/index.js +1 -1
  145. package/modern/components/main/component.js +3 -3
  146. package/modern/components/main/index.css +4 -4
  147. package/modern/components/main/index.d.ts +1 -1
  148. package/modern/components/main/index.js +3 -3
  149. package/modern/components/text/component.js +3 -3
  150. package/modern/components/text/index.css +7 -13
  151. package/modern/components/text/index.d.ts +1 -1
  152. package/modern/components/text/index.js +3 -3
  153. package/modern/components/types.d.ts +1 -1
  154. package/modern/{getDataTestId-8debaee9.d.ts → getDataTestId-1896dab9.d.ts} +0 -0
  155. package/modern/{getDataTestId-8debaee9.js → getDataTestId-1896dab9.js} +0 -0
  156. package/modern/index.css +19 -19
  157. package/modern/index.d.ts +1 -1
  158. package/modern/index.js +3 -3
  159. package/package.json +2 -1
  160. package/components/comment/component.d.ts +0 -15
  161. package/components/comment/component.js +0 -22
  162. package/components/comment/index.css +0 -34
  163. package/components/comment/index.d.ts +0 -1
  164. package/components/comment/index.js +0 -12
  165. package/cssm/components/comment/component.d.ts +0 -15
  166. package/cssm/components/comment/component.js +0 -21
  167. package/cssm/components/comment/index.d.ts +0 -1
  168. package/cssm/components/comment/index.js +0 -13
  169. package/cssm/components/comment/index.module.css +0 -33
  170. package/esm/components/comment/component.d.ts +0 -15
  171. package/esm/components/comment/component.js +0 -14
  172. package/esm/components/comment/index.css +0 -34
  173. package/esm/components/comment/index.d.ts +0 -1
  174. package/esm/components/comment/index.js +0 -4
  175. package/modern/components/comment/component.d.ts +0 -15
  176. package/modern/components/comment/component.js +0 -11
  177. package/modern/components/comment/index.css +0 -34
  178. package/modern/components/comment/index.d.ts +0 -1
  179. package/modern/components/comment/index.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: r334g */
1
+ /* hash: 15kwp */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,37 +11,31 @@
11
11
  --gap-3xs: 2px;
12
12
  --gap-m: 16px;
13
13
  }
14
- .pure-cell__horizontal_1dq04 {
14
+ .pure-cell__horizontal_17xa5 {
15
15
  padding: var(--gap-3xs) 0;
16
16
  }
17
- .pure-cell__rowLimit1_1dq04 {
17
+ .pure-cell__rowLimit1_17xa5 {
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_1dq04 {
23
+ .pure-cell__rowLimit2_17xa5 {
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_1dq04 {
29
+ .pure-cell__component_17xa5 {
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_1dq04 .pure-cell__multiline_1dq04 {
37
- display: -webkit-box;
38
- -webkit-line-clamp: 5;
39
- -webkit-box-orient: vertical;
40
- overflow: hidden;
41
- }
42
- .pure-cell__component_1dq04 .pure-cell__vertical_1dq04 {
36
+ .pure-cell__component_17xa5 .pure-cell__vertical_17xa5 {
43
37
  justify-content: center;
44
38
  }
45
- .pure-cell__title_1dq04 {
39
+ .pure-cell__title_17xa5 {
46
40
  margin-right: var(--gap-m);
47
41
  }
@@ -1 +1 @@
1
- export * from "../../component-cc5a30ff";
1
+ export * from "../../component-ca807645";
@@ -1,17 +1,17 @@
1
- import '../../component-d1a6702b.js';
1
+ import '../../component-de143750.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
5
5
  import '@alfalab/hooks';
6
- import '../../getDataTestId-84bfcaab.js';
6
+ import '@alfalab/core-components-comment/esm';
7
+ import '../../getDataTestId-6abe051e.js';
7
8
  import '../addon/component.js';
8
9
  import '@alfalab/core-components-typography/esm';
9
10
  import '@alfalab/core-components-amount/esm';
10
11
  import '../amount/component.js';
11
12
  import '../amount-title/component.js';
12
13
  import '../category/component.js';
13
- import '../comment/component.js';
14
- export { T as Text } from '../../component-cc5a30ff.js';
14
+ export { T as Text } from '../../component-ca807645.js';
15
15
  import '../footer/component.js';
16
16
  import '@alfalab/core-components-button/esm';
17
17
  import '../footer-text/component.js';
@@ -1,7 +1,7 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
+ import { Comment } from "@alfalab/core-components-comment";
2
3
  import { Amount } from "./amount/index";
3
4
  import { AmountTitle } from "./amount-title/index";
4
- import { Comment } from "./comment/index";
5
5
  import { FooterButton } from "./footer-button/index";
6
6
  import { FooterText } from "./footer-text/index";
7
7
  import { Graphics } from "./graphics/index";
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1hgn7 */
1
+ /* hash: 1tbtv */
2
2
  :root {
3
3
  --color-light-border-link: #007aff;
4
4
  }
@@ -19,21 +19,21 @@
19
19
  :root {
20
20
  --focus-color: var(--color-light-border-link);
21
21
  }
22
- .pure-cell__component_iwfp2 {
22
+ .pure-cell__component_skrgg {
23
23
  text-align: unset;
24
24
  }
25
- .pure-cell__horizontal_iwfp2 {
25
+ .pure-cell__horizontal_skrgg {
26
26
  display: flex;
27
27
  width: 100%;
28
28
  grid-column-gap: var(--gap-m);
29
29
  }
30
- .pure-cell__vertical_iwfp2 {
30
+ .pure-cell__vertical_skrgg {
31
31
  display: flex;
32
32
  align-items: center;
33
33
  flex-direction: column;
34
34
  grid-row-gap: var(--gap-s);
35
35
  }
36
- .pure-cell__button_iwfp2 {
36
+ .pure-cell__button_skrgg {
37
37
  font-family: inherit;
38
38
  background: none;
39
39
  border: 0;
@@ -42,50 +42,50 @@
42
42
  transition: opacity 0.15s ease-in-out;
43
43
  padding: 0
44
44
  }
45
- .pure-cell__button_iwfp2:hover {
45
+ .pure-cell__button_skrgg:hover {
46
46
  opacity: 0.8;
47
47
  }
48
- .pure-cell__button_iwfp2:active {
48
+ .pure-cell__button_skrgg:active {
49
49
  opacity: 0.6;
50
50
  }
51
- .pure-cell__link_iwfp2 {
51
+ .pure-cell__link_skrgg {
52
52
  text-decoration: none;
53
53
  color: inherit;
54
54
  cursor: pointer;
55
55
  transition: opacity 0.15s ease-in-out
56
56
  }
57
- .pure-cell__link_iwfp2:hover {
57
+ .pure-cell__link_skrgg:hover {
58
58
  opacity: 0.8;
59
59
  }
60
- .pure-cell__link_iwfp2:active {
60
+ .pure-cell__link_skrgg:active {
61
61
  opacity: 0.6;
62
62
  }
63
- .pure-cell__none_iwfp2 {
63
+ .pure-cell__none_skrgg {
64
64
  padding: 0;
65
65
  }
66
- .pure-cell__airy_iwfp2 {
66
+ .pure-cell__airy_skrgg {
67
67
  padding: var(--gap-m) 0;
68
68
  }
69
- .pure-cell__defaultPadding_iwfp2 {
69
+ .pure-cell__defaultPadding_skrgg {
70
70
  padding: var(--gap-s) 0;
71
71
  }
72
- .pure-cell__compact_iwfp2 {
72
+ .pure-cell__compact_skrgg {
73
73
  padding: var(--gap-xs) 0;
74
74
  }
75
- .pure-cell__tiny_iwfp2 {
75
+ .pure-cell__tiny_skrgg {
76
76
  padding: var(--gap-2xs) 0;
77
77
  }
78
- .pure-cell__left_iwfp2 {
78
+ .pure-cell__left_skrgg {
79
79
  padding-left: var(--gap-m);
80
80
  }
81
- .pure-cell__right_iwfp2 {
81
+ .pure-cell__right_skrgg {
82
82
  padding-right: var(--gap-m);
83
83
  }
84
- .pure-cell__both_iwfp2 {
84
+ .pure-cell__both_skrgg {
85
85
  padding-right: var(--gap-m);
86
86
  padding-left: var(--gap-m);
87
87
  }
88
- .pure-cell__focused_iwfp2 {
88
+ .pure-cell__focused_skrgg {
89
89
  outline: 2px solid var(--focus-color);
90
90
  outline-offset: 2px;
91
91
  }
package/esm/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { PureCell } from "./component-cf0927a9";
1
+ export { PureCell } from "./component-3f45f3c4";
package/esm/index.js CHANGED
@@ -1,17 +1,17 @@
1
- import './component-d1a6702b.js';
1
+ import './component-de143750.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
5
5
  import '@alfalab/hooks';
6
- import './getDataTestId-84bfcaab.js';
6
+ import '@alfalab/core-components-comment/esm';
7
+ import './getDataTestId-6abe051e.js';
7
8
  import './components/addon/component.js';
8
9
  import '@alfalab/core-components-typography/esm';
9
10
  import '@alfalab/core-components-amount/esm';
10
11
  import './components/amount/component.js';
11
12
  import './components/amount-title/component.js';
12
13
  import './components/category/component.js';
13
- import './components/comment/component.js';
14
- export { P as PureCell } from './component-cc5a30ff.js';
14
+ export { P as PureCell } from './component-ca807645.js';
15
15
  import './components/footer/component.js';
16
16
  import '@alfalab/core-components-button/esm';
17
17
  import './components/footer-text/component.js';
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1hgn7 */
1
+ /* hash: 1tbtv */
2
2
  :root {
3
3
  --color-light-border-link: #007aff;
4
4
  }
@@ -19,21 +19,21 @@
19
19
  :root {
20
20
  --focus-color: var(--color-light-border-link);
21
21
  }
22
- .pure-cell__component_iwfp2 {
22
+ .pure-cell__component_skrgg {
23
23
  text-align: unset;
24
24
  }
25
- .pure-cell__horizontal_iwfp2 {
25
+ .pure-cell__horizontal_skrgg {
26
26
  display: flex;
27
27
  width: 100%;
28
28
  grid-column-gap: var(--gap-m);
29
29
  }
30
- .pure-cell__vertical_iwfp2 {
30
+ .pure-cell__vertical_skrgg {
31
31
  display: flex;
32
32
  align-items: center;
33
33
  flex-direction: column;
34
34
  grid-row-gap: var(--gap-s);
35
35
  }
36
- .pure-cell__button_iwfp2 {
36
+ .pure-cell__button_skrgg {
37
37
  font-family: inherit;
38
38
  background: none;
39
39
  border: 0;
@@ -42,50 +42,50 @@
42
42
  transition: opacity 0.15s ease-in-out;
43
43
  padding: 0
44
44
  }
45
- .pure-cell__button_iwfp2:hover {
45
+ .pure-cell__button_skrgg:hover {
46
46
  opacity: 0.8;
47
47
  }
48
- .pure-cell__button_iwfp2:active {
48
+ .pure-cell__button_skrgg:active {
49
49
  opacity: 0.6;
50
50
  }
51
- .pure-cell__link_iwfp2 {
51
+ .pure-cell__link_skrgg {
52
52
  text-decoration: none;
53
53
  color: inherit;
54
54
  cursor: pointer;
55
55
  transition: opacity 0.15s ease-in-out
56
56
  }
57
- .pure-cell__link_iwfp2:hover {
57
+ .pure-cell__link_skrgg:hover {
58
58
  opacity: 0.8;
59
59
  }
60
- .pure-cell__link_iwfp2:active {
60
+ .pure-cell__link_skrgg:active {
61
61
  opacity: 0.6;
62
62
  }
63
- .pure-cell__none_iwfp2 {
63
+ .pure-cell__none_skrgg {
64
64
  padding: 0;
65
65
  }
66
- .pure-cell__airy_iwfp2 {
66
+ .pure-cell__airy_skrgg {
67
67
  padding: var(--gap-m) 0;
68
68
  }
69
- .pure-cell__defaultPadding_iwfp2 {
69
+ .pure-cell__defaultPadding_skrgg {
70
70
  padding: var(--gap-s) 0;
71
71
  }
72
- .pure-cell__compact_iwfp2 {
72
+ .pure-cell__compact_skrgg {
73
73
  padding: var(--gap-xs) 0;
74
74
  }
75
- .pure-cell__tiny_iwfp2 {
75
+ .pure-cell__tiny_skrgg {
76
76
  padding: var(--gap-2xs) 0;
77
77
  }
78
- .pure-cell__left_iwfp2 {
78
+ .pure-cell__left_skrgg {
79
79
  padding-left: var(--gap-m);
80
80
  }
81
- .pure-cell__right_iwfp2 {
81
+ .pure-cell__right_skrgg {
82
82
  padding-right: var(--gap-m);
83
83
  }
84
- .pure-cell__both_iwfp2 {
84
+ .pure-cell__both_skrgg {
85
85
  padding-right: var(--gap-m);
86
86
  padding-left: var(--gap-m);
87
87
  }
88
- .pure-cell__focused_iwfp2 {
88
+ .pure-cell__focused_skrgg {
89
89
  outline: 2px solid var(--focus-color);
90
90
  outline-offset: 2px;
91
91
  }
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { PureCell } from "./component-cf0927a9";
1
+ export { PureCell } from "./component-3f45f3c4";
package/index.js CHANGED
@@ -2,20 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./component-04c6d9c4.js');
5
+ require('./component-b7e6ca82.js');
6
6
  require('react');
7
7
  require('react-merge-refs');
8
8
  require('classnames');
9
9
  require('@alfalab/hooks');
10
- require('./getDataTestId-49bb5c39.js');
10
+ require('@alfalab/core-components-comment');
11
+ require('./getDataTestId-b63e3505.js');
11
12
  require('./components/addon/component.js');
12
13
  require('@alfalab/core-components-typography');
13
14
  require('@alfalab/core-components-amount');
14
15
  require('./components/amount/component.js');
15
16
  require('./components/amount-title/component.js');
16
17
  require('./components/category/component.js');
17
- require('./components/comment/component.js');
18
- var components_content_component = require('./component-3f80589a.js');
18
+ var components_content_component = require('./component-3598b982.js');
19
19
  require('./components/footer/component.js');
20
20
  require('@alfalab/core-components-button');
21
21
  require('./components/footer-text/component.js');
@@ -31,13 +31,13 @@ type Props$0 = {
31
31
  declare const Content: React.FC<Props$0>;
32
32
  type Props$1 = {
33
33
  /**
34
- * Количество строк
34
+ * Контент
35
35
  */
36
- rowLimit?: 1 | 2;
36
+ children?: ReactNode;
37
37
  /**
38
- * Многострочный ли компонент
38
+ * Количество строк
39
39
  */
40
- isMultiline?: boolean;
40
+ rowLimit?: 1 | 2;
41
41
  /**
42
42
  * Размер текста
43
43
  */
@@ -58,10 +58,6 @@ type Props$1 = {
58
58
  * Идентификатор для систем автоматизированного тестирования
59
59
  */
60
60
  dataTestId?: string;
61
- /**
62
- * Дочерние элементы.
63
- */
64
- children?: ReactNode;
65
61
  };
66
62
  declare const Text: React.FC<Props$1>;
67
63
  export { Main, Content, Text };
@@ -2,19 +2,19 @@ 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-8debaee9.js';
5
+ import { Comment } from '@alfalab/core-components-comment/modern';
6
+ import { g as getDataTestId } from './getDataTestId-1896dab9.js';
6
7
  import { Addon } from './components/addon/component.js';
7
8
  import { Typography } from '@alfalab/core-components-typography/modern';
8
9
  import { Amount } from './components/amount/component.js';
9
10
  import { AmountTitle } from './components/amount-title/component.js';
10
11
  import { Category } from './components/category/component.js';
11
- import { Comment } from './components/comment/component.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
 
17
- var styles = {"component":"pure-cell__component_klqs4","horizontal":"pure-cell__horizontal_klqs4"};
17
+ var styles = {"component":"pure-cell__component_14q7n","horizontal":"pure-cell__horizontal_14q7n"};
18
18
  require('./components/content/index.css')
19
19
 
20
20
  const Content = ({ children, dataTestId }) => {
@@ -22,34 +22,30 @@ 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_1q2xz","vertical":"pure-cell__vertical_1q2xz","reverse":"pure-cell__reverse_1q2xz"};
25
+ var styles$1 = {"component":"pure-cell__component_1u85h","vertical":"pure-cell__vertical_1u85h","reverse":"pure-cell__reverse_1u85h"};
26
26
  require('./components/main/index.css')
27
27
 
28
28
  const Main = ({ children, isReverse, dataTestId }) => {
29
29
  const { direction = 'horizontal' } = useContext(PureCellContext);
30
- return (React.createElement("main", { className: cn(styles$1.component, styles$1[direction], {
30
+ return (React.createElement("div", { className: cn(styles$1.component, styles$1[direction], {
31
31
  [styles$1.reverse]: isReverse,
32
32
  }), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
33
33
  };
34
34
 
35
- var styles$2 = {"horizontal":"pure-cell__horizontal_1dq04","rowLimit1":"pure-cell__rowLimit1_1dq04","rowLimit2":"pure-cell__rowLimit2_1dq04","component":"pure-cell__component_1dq04","multiline":"pure-cell__multiline_1dq04","vertical":"pure-cell__vertical_1dq04","title":"pure-cell__title_1dq04"};
35
+ var styles$2 = {"horizontal":"pure-cell__horizontal_17xa5","rowLimit1":"pure-cell__rowLimit1_17xa5","rowLimit2":"pure-cell__rowLimit2_17xa5","component":"pure-cell__component_17xa5","vertical":"pure-cell__vertical_17xa5","title":"pure-cell__title_17xa5"};
36
36
  require('./components/text/index.css')
37
37
 
38
- const Text = ({ children, value, rowLimit, isMultiline, view = 'component', titleColor, valueColor, dataTestId, }) => {
38
+ const Text = ({ children, value, rowLimit, view = 'component', titleColor, valueColor, dataTestId, }) => {
39
39
  const { direction = 'horizontal' } = useContext(PureCellContext);
40
+ const className = rowLimit && styles$2[`rowLimit${rowLimit}`];
40
41
  return (React.createElement("div", { className: cn(styles$2.component, {
41
42
  [styles$2.vertical]: direction !== 'horizontal',
42
43
  }) },
43
- React.createElement("span", { className: cn(styles$2.title) }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, color: titleColor, className: cn(rowLimit && styles$2[`rowLimit${rowLimit}`], {
44
- [styles$2.rowLimit1]: !isMultiline,
45
- }), "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
46
- React.createElement("span", null, typeof value === 'string' ? (React.createElement(Typography.Text, { view: view, color: valueColor, className: cn({
47
- [styles$2[`rowLimit${rowLimit}`]]: rowLimit,
48
- [styles$2.multiline]: isMultiline,
49
- }), "data-test-id": getDataTestId(dataTestId, 'text') }, value)) : (value))));
44
+ React.createElement("span", { className: styles$2.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
45
+ React.createElement("span", null, typeof value === 'string' ? (React.createElement(Typography.Text, { view: view, color: valueColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, value)) : (value))));
50
46
  };
51
47
 
52
- var styles$3 = {"component":"pure-cell__component_iwfp2","horizontal":"pure-cell__horizontal_iwfp2","vertical":"pure-cell__vertical_iwfp2","button":"pure-cell__button_iwfp2","link":"pure-cell__link_iwfp2","none":"pure-cell__none_iwfp2","airy":"pure-cell__airy_iwfp2","defaultPadding":"pure-cell__defaultPadding_iwfp2","compact":"pure-cell__compact_iwfp2","tiny":"pure-cell__tiny_iwfp2","left":"pure-cell__left_iwfp2","right":"pure-cell__right_iwfp2","both":"pure-cell__both_iwfp2","focused":"pure-cell__focused_iwfp2"};
48
+ var styles$3 = {"component":"pure-cell__component_skrgg","horizontal":"pure-cell__horizontal_skrgg","vertical":"pure-cell__vertical_skrgg","button":"pure-cell__button_skrgg","link":"pure-cell__link_skrgg","none":"pure-cell__none_skrgg","airy":"pure-cell__airy_skrgg","defaultPadding":"pure-cell__defaultPadding_skrgg","compact":"pure-cell__compact_skrgg","tiny":"pure-cell__tiny_skrgg","left":"pure-cell__left_skrgg","right":"pure-cell__right_skrgg","both":"pure-cell__both_skrgg","focused":"pure-cell__focused_skrgg"};
53
49
  require('./index.css')
54
50
 
55
51
  const PureCellContext = React.createContext({});
@@ -61,14 +61,13 @@ declare const PureCell: React.ForwardRefExoticComponent<(Partial<AnchorPureCellP
61
61
  dataTestId?: string | undefined;
62
62
  }>;
63
63
  Text: React.FC<{
64
+ children?: React.ReactNode;
64
65
  rowLimit?: 1 | 2 | undefined;
65
- isMultiline?: boolean | undefined;
66
66
  view: "primary-small" | "component";
67
67
  titleColor: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative";
68
68
  value?: React.ReactNode;
69
69
  valueColor?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
70
70
  dataTestId?: string | undefined;
71
- children?: React.ReactNode;
72
71
  }>;
73
72
  Amount: React.FC<{
74
73
  amount: import("./components/typesProps").AmountProps;
@@ -95,10 +94,7 @@ declare const PureCell: React.ForwardRefExoticComponent<(Partial<AnchorPureCellP
95
94
  }>;
96
95
  ExtraSubtitle: React.FC<import("./components/footer-text/index").Props>;
97
96
  FooterButton: React.FC<Partial<import("@alfalab/core-components-button").AnchorButtonProps> | Partial<import("@alfalab/core-components-button").NativeButtonProps>>;
98
- Comment: React.FC<{
99
- children: import("./components/types").CommentElement;
100
- dataTestId?: string | undefined;
101
- }>;
97
+ Comment: React.FC<import("@alfalab/core-components-comment").CommentProps>;
102
98
  Category: React.FC<{
103
99
  categoryName: string;
104
100
  categoryPercent?: number | undefined;
@@ -2,15 +2,15 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import './getDataTestId-8debaee9.js';
5
+ import '@alfalab/core-components-comment/modern';
6
+ import './getDataTestId-1896dab9.js';
6
7
  import './components/addon/component.js';
7
8
  import '@alfalab/core-components-typography/modern';
8
9
  import '@alfalab/core-components-amount/modern';
9
10
  import './components/amount/component.js';
10
11
  import './components/amount-title/component.js';
11
12
  import './components/category/component.js';
12
- import './components/comment/component.js';
13
- export { P as PureCell, a as PureCellContext } from './component-2ad59c5c.js';
13
+ export { P as PureCell, a as PureCellContext } from './component-3b7c93c8.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-8debaee9.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-1896dab9.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1xt1b","none":"pure-cell__none_1xt1b","default":"pure-cell__default_1xt1b","addonPadding":"pure-cell__addonPadding_1xt1b","center":"pure-cell__center_1xt1b"};
5
+ var styles = {"component":"pure-cell__component_8g90u","none":"pure-cell__none_8g90u","default":"pure-cell__default_8g90u","addonPadding":"pure-cell__addonPadding_8g90u","center":"pure-cell__center_8g90u"};
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: 1gsdo */
1
+ /* hash: 1jxip */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,22 +10,22 @@
10
10
  :root {
11
11
  --gap-m: 16px;
12
12
  }
13
- .pure-cell__component_1xt1b {
13
+ .pure-cell__component_8g90u {
14
14
  display: flex;
15
15
  flex-direction: column
16
16
  }
17
- .pure-cell__component_1xt1b > * {
17
+ .pure-cell__component_8g90u > * {
18
18
  justify-content: flex-end;
19
19
  }
20
- .pure-cell__component_1xt1b.pure-cell__none_1xt1b {
20
+ .pure-cell__component_8g90u.pure-cell__none_8g90u {
21
21
  padding-left: 0;
22
22
  }
23
- .pure-cell__component_1xt1b.pure-cell__default_1xt1b {
23
+ .pure-cell__component_8g90u.pure-cell__default_8g90u {
24
24
  padding-left: var(--gap-m);
25
25
  }
26
- .pure-cell__component_1xt1b.pure-cell__addonPadding_1xt1b {
26
+ .pure-cell__component_8g90u.pure-cell__addonPadding_8g90u {
27
27
  padding-left: var(--gap-m);
28
28
  }
29
- .pure-cell__component_1xt1b.pure-cell__center_1xt1b {
29
+ .pure-cell__component_8g90u.pure-cell__center_8g90u {
30
30
  align-self: center;
31
31
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-8debaee9.js';
3
+ import '../../getDataTestId-1896dab9.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-8debaee9.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-1896dab9.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_gzlr3"};
7
+ var styles = {"component":"pure-cell__component_cue8h"};
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: yaobj */
1
+ /* hash: siwd1 */
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_gzlr3 {
13
+ .pure-cell__component_cue8h {
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-8debaee9.js';
3
+ import '../../getDataTestId-1896dab9.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-8debaee9.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-1896dab9.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_qsk5u","weight":"pure-cell__weight_qsk5u"};
7
+ var styles = {"component":"pure-cell__component_kzu6x","weight":"pure-cell__weight_kzu6x"};
8
8
  require('./index.css')
9
9
 
10
10
  const AmountTitle = ({ amount, color = 'primary', dataTestId }) => {
@@ -1,4 +1,4 @@
1
- /* hash: jvaqq */
1
+ /* hash: pn2p9 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,9 +7,9 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_qsk5u {
10
+ .pure-cell__component_kzu6x {
11
11
  display: flex;
12
12
  }
13
- .pure-cell__weight_qsk5u {
13
+ .pure-cell__weight_kzu6x {
14
14
  font-weight: inherit;
15
15
  }
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-8debaee9.js';
3
+ import '../../getDataTestId-1896dab9.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-8debaee9.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-1896dab9.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_1r8wu","categoryName":"pure-cell__categoryName_1r8wu","categoryPercent":"pure-cell__categoryPercent_1r8wu"};
5
+ var styles = {"component":"pure-cell__component_1n3pb","categoryName":"pure-cell__categoryName_1n3pb","categoryPercent":"pure-cell__categoryPercent_1n3pb"};
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' },