@alfalab/core-components-pure-cell 1.1.2 → 1.2.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 (153) hide show
  1. package/component-7b7f28f3.d.ts +1 -0
  2. package/{modern/component-9375e7dd.d.ts → component-ce1374ce.d.ts} +5 -0
  3. package/{component-3a8090b8.js → component-ce1374ce.js} +6 -6
  4. package/{component-4c2382d4.d.ts → component-f59cbc85.d.ts} +0 -0
  5. package/{component-4c2382d4.js → component-f59cbc85.js} +2 -2
  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 +5 -4
  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.d.ts +5 -0
  34. package/components/footer-text/component.js +1 -1
  35. package/components/footer-text/index.js +1 -1
  36. package/components/graphics/component.js +2 -2
  37. package/components/graphics/index.css +2 -2
  38. package/components/graphics/index.js +1 -1
  39. package/components/main/component.js +3 -3
  40. package/components/main/index.css +4 -4
  41. package/components/main/index.d.ts +1 -1
  42. package/components/main/index.js +3 -3
  43. package/components/text/component.js +3 -3
  44. package/components/text/index.css +8 -8
  45. package/components/text/index.d.ts +1 -1
  46. package/components/text/index.js +3 -3
  47. package/cssm/component-7b7f28f3.d.ts +3 -2
  48. package/cssm/component-a5914e3d.d.ts +5 -0
  49. package/cssm/components/content/index.module.css +2 -1
  50. package/cssm/components/footer-text/component.d.ts +5 -0
  51. package/esm/{component-3f539066.d.ts → component-05c752bf.d.ts} +0 -0
  52. package/esm/{component-3f539066.js → component-05c752bf.js} +2 -2
  53. package/esm/component-7b7f28f3.d.ts +1 -0
  54. package/{component-3a8090b8.d.ts → esm/component-9fcaa8c3.d.ts} +5 -0
  55. package/esm/{component-37b8f481.js → component-9fcaa8c3.js} +6 -6
  56. package/esm/component.js +3 -3
  57. package/esm/components/addon/component.js +2 -2
  58. package/esm/components/addon/index.css +6 -6
  59. package/esm/components/addon/index.js +1 -1
  60. package/esm/components/amount/component.js +2 -2
  61. package/esm/components/amount/index.css +2 -2
  62. package/esm/components/amount/index.js +1 -1
  63. package/esm/components/amount-title/component.js +2 -2
  64. package/esm/components/amount-title/index.css +3 -3
  65. package/esm/components/amount-title/index.js +1 -1
  66. package/esm/components/category/component.js +2 -2
  67. package/esm/components/category/index.css +4 -4
  68. package/esm/components/category/index.js +1 -1
  69. package/esm/components/comment/component.js +2 -2
  70. package/esm/components/comment/index.css +3 -3
  71. package/esm/components/comment/index.js +1 -1
  72. package/esm/components/content/component.js +3 -3
  73. package/esm/components/content/index.css +5 -4
  74. package/esm/components/content/index.d.ts +1 -1
  75. package/esm/components/content/index.js +3 -3
  76. package/esm/components/footer/component.js +2 -2
  77. package/esm/components/footer/index.css +4 -4
  78. package/esm/components/footer/index.js +1 -1
  79. package/esm/components/footer-button/component.js +2 -2
  80. package/esm/components/footer-button/index.css +2 -2
  81. package/esm/components/footer-button/index.d.ts +1 -1
  82. package/esm/components/footer-button/index.js +2 -2
  83. package/esm/components/footer-text/component.d.ts +5 -0
  84. package/esm/components/footer-text/component.js +1 -1
  85. package/esm/components/footer-text/index.js +1 -1
  86. package/esm/components/graphics/component.js +2 -2
  87. package/esm/components/graphics/index.css +2 -2
  88. package/esm/components/graphics/index.js +1 -1
  89. package/esm/components/main/component.js +3 -3
  90. package/esm/components/main/index.css +4 -4
  91. package/esm/components/main/index.d.ts +1 -1
  92. package/esm/components/main/index.js +3 -3
  93. package/esm/components/text/component.js +3 -3
  94. package/esm/components/text/index.css +8 -8
  95. package/esm/components/text/index.d.ts +1 -1
  96. package/esm/components/text/index.js +3 -3
  97. package/esm/{getDataTestId-9282b1f5.d.ts → getDataTestId-174aa641.d.ts} +0 -0
  98. package/esm/{getDataTestId-9282b1f5.js → getDataTestId-174aa641.js} +0 -0
  99. package/esm/index.css +19 -19
  100. package/esm/index.js +3 -3
  101. package/{getDataTestId-77ad9ee5.d.ts → getDataTestId-cdf2bbf5.d.ts} +0 -0
  102. package/{getDataTestId-77ad9ee5.js → getDataTestId-cdf2bbf5.js} +0 -0
  103. package/index.css +19 -19
  104. package/index.js +3 -3
  105. package/modern/component-7b7f28f3.d.ts +1 -0
  106. package/{esm/component-37b8f481.d.ts → modern/component-e801d014.d.ts} +5 -0
  107. package/modern/{component-9375e7dd.js → component-e801d014.js} +5 -5
  108. package/modern/component.js +2 -2
  109. package/modern/components/addon/component.js +2 -2
  110. package/modern/components/addon/index.css +6 -6
  111. package/modern/components/addon/index.js +1 -1
  112. package/modern/components/amount/component.js +2 -2
  113. package/modern/components/amount/index.css +2 -2
  114. package/modern/components/amount/index.js +1 -1
  115. package/modern/components/amount-title/component.js +2 -2
  116. package/modern/components/amount-title/index.css +3 -3
  117. package/modern/components/amount-title/index.js +1 -1
  118. package/modern/components/category/component.js +2 -2
  119. package/modern/components/category/index.css +4 -4
  120. package/modern/components/category/index.js +1 -1
  121. package/modern/components/comment/component.js +2 -2
  122. package/modern/components/comment/index.css +3 -3
  123. package/modern/components/comment/index.js +1 -1
  124. package/modern/components/content/component.js +2 -2
  125. package/modern/components/content/index.css +5 -4
  126. package/modern/components/content/index.d.ts +1 -1
  127. package/modern/components/content/index.js +2 -2
  128. package/modern/components/footer/component.js +2 -2
  129. package/modern/components/footer/index.css +4 -4
  130. package/modern/components/footer/index.js +1 -1
  131. package/modern/components/footer-button/component.js +2 -2
  132. package/modern/components/footer-button/index.css +2 -2
  133. package/modern/components/footer-button/index.js +1 -1
  134. package/modern/components/footer-text/component.d.ts +5 -0
  135. package/modern/components/footer-text/component.js +1 -1
  136. package/modern/components/footer-text/index.js +1 -1
  137. package/modern/components/graphics/component.js +2 -2
  138. package/modern/components/graphics/index.css +2 -2
  139. package/modern/components/graphics/index.js +1 -1
  140. package/modern/components/main/component.js +2 -2
  141. package/modern/components/main/index.css +4 -4
  142. package/modern/components/main/index.d.ts +1 -1
  143. package/modern/components/main/index.js +2 -2
  144. package/modern/components/text/component.js +2 -2
  145. package/modern/components/text/index.css +8 -8
  146. package/modern/components/text/index.d.ts +1 -1
  147. package/modern/components/text/index.js +2 -2
  148. package/modern/{getDataTestId-a4e1ac43.d.ts → getDataTestId-7483bf97.d.ts} +0 -0
  149. package/modern/{getDataTestId-a4e1ac43.js → getDataTestId-7483bf97.js} +0 -0
  150. package/modern/index.css +19 -19
  151. package/modern/index.js +2 -2
  152. package/package.json +8 -8
  153. package/CHANGELOG.md +0 -35
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
+ import { ReactNode } from "react";
3
4
  import { MainElement, ContentElement } from "./components/types";
4
5
  import { Color } from "@alfalab/core-components-typography";
5
6
  type Props = {
@@ -57,6 +58,10 @@ type Props$1 = {
57
58
  * Идентификатор для систем автоматизированного тестирования
58
59
  */
59
60
  dataTestId?: string;
61
+ /**
62
+ * Дочерние элементы.
63
+ */
64
+ children?: ReactNode;
60
65
  };
61
66
  declare const Text: React.FC<Props$1>;
62
67
  export { Main, Content, Text };
@@ -2,7 +2,7 @@ import React, { useContext, forwardRef, useRef } from 'react';
2
2
  import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
  import { useFocus } from '@alfalab/hooks';
5
- import { g as getDataTestId } from './getDataTestId-a4e1ac43.js';
5
+ import { g as getDataTestId } from './getDataTestId-7483bf97.js';
6
6
  import { Addon } from './components/addon/component.js';
7
7
  import { Typography } from '@alfalab/core-components-typography/modern';
8
8
  import { Amount } from './components/amount/component.js';
@@ -14,7 +14,7 @@ import { FooterButton } from './components/footer-button/component.js';
14
14
  import { FooterText } from './components/footer-text/component.js';
15
15
  import { Graphics } from './components/graphics/component.js';
16
16
 
17
- var styles = {"component":"pure-cell__component_10nc1","horizontal":"pure-cell__horizontal_10nc1"};
17
+ var styles = {"component":"pure-cell__component_cuvm2","horizontal":"pure-cell__horizontal_cuvm2"};
18
18
  require('./components/content/index.css')
19
19
 
20
20
  const Content = ({ children, dataTestId }) => {
@@ -22,7 +22,7 @@ const Content = ({ children, dataTestId }) => {
22
22
  return (React.createElement("section", { className: cn(styles.component, { [styles.horizontal]: direction === 'horizontal' }), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
23
23
  };
24
24
 
25
- var styles$1 = {"component":"pure-cell__component_o1qoj","vertical":"pure-cell__vertical_o1qoj","reverse":"pure-cell__reverse_o1qoj"};
25
+ var styles$1 = {"component":"pure-cell__component_1pzi6","vertical":"pure-cell__vertical_1pzi6","reverse":"pure-cell__reverse_1pzi6"};
26
26
  require('./components/main/index.css')
27
27
 
28
28
  const Main = ({ children, isReverse, dataTestId }) => {
@@ -32,7 +32,7 @@ const Main = ({ children, isReverse, dataTestId }) => {
32
32
  }), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
33
33
  };
34
34
 
35
- var styles$2 = {"horizontal":"pure-cell__horizontal_1wrgx","rowLimit1":"pure-cell__rowLimit1_1wrgx","rowLimit2":"pure-cell__rowLimit2_1wrgx","component":"pure-cell__component_1wrgx","multiline":"pure-cell__multiline_1wrgx","vertical":"pure-cell__vertical_1wrgx","title":"pure-cell__title_1wrgx"};
35
+ var styles$2 = {"horizontal":"pure-cell__horizontal_f9lzd","rowLimit1":"pure-cell__rowLimit1_f9lzd","rowLimit2":"pure-cell__rowLimit2_f9lzd","component":"pure-cell__component_f9lzd","multiline":"pure-cell__multiline_f9lzd","vertical":"pure-cell__vertical_f9lzd","title":"pure-cell__title_f9lzd"};
36
36
  require('./components/text/index.css')
37
37
 
38
38
  const Text = ({ children, value, rowLimit, isMultiline, view = 'component', titleColor, valueColor, dataTestId, }) => {
@@ -51,7 +51,7 @@ const Text = ({ children, value, rowLimit, isMultiline, view = 'component', titl
51
51
  }), "data-test-id": getDataTestId(dataTestId, 'text') }, value))));
52
52
  };
53
53
 
54
- var styles$3 = {"component":"pure-cell__component_1w8ic","horizontal":"pure-cell__horizontal_1w8ic","vertical":"pure-cell__vertical_1w8ic","button":"pure-cell__button_1w8ic","link":"pure-cell__link_1w8ic","none":"pure-cell__none_1w8ic","airy":"pure-cell__airy_1w8ic","default":"pure-cell__default_1w8ic","compact":"pure-cell__compact_1w8ic","tiny":"pure-cell__tiny_1w8ic","left":"pure-cell__left_1w8ic","right":"pure-cell__right_1w8ic","both":"pure-cell__both_1w8ic","focused":"pure-cell__focused_1w8ic"};
54
+ var styles$3 = {"component":"pure-cell__component_sah4v","horizontal":"pure-cell__horizontal_sah4v","vertical":"pure-cell__vertical_sah4v","button":"pure-cell__button_sah4v","link":"pure-cell__link_sah4v","none":"pure-cell__none_sah4v","airy":"pure-cell__airy_sah4v","default":"pure-cell__default_sah4v","compact":"pure-cell__compact_sah4v","tiny":"pure-cell__tiny_sah4v","left":"pure-cell__left_sah4v","right":"pure-cell__right_sah4v","both":"pure-cell__both_sah4v","focused":"pure-cell__focused_sah4v"};
55
55
  require('./index.css')
56
56
 
57
57
  const PureCellContext = React.createContext({});
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import './getDataTestId-a4e1ac43.js';
5
+ import './getDataTestId-7483bf97.js';
6
6
  import './components/addon/component.js';
7
7
  import '@alfalab/core-components-typography/modern';
8
8
  import '@alfalab/core-components-amount/modern';
@@ -10,7 +10,7 @@ import './components/amount/component.js';
10
10
  import './components/amount-title/component.js';
11
11
  import './components/category/component.js';
12
12
  import './components/comment/component.js';
13
- export { P as PureCell, a as PureCellContext } from './component-9375e7dd.js';
13
+ export { P as PureCell, a as PureCellContext } from './component-e801d014.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-a4e1ac43.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-7483bf97.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1r1h7","none":"pure-cell__none_1r1h7","default":"pure-cell__default_1r1h7","center":"pure-cell__center_1r1h7"};
5
+ var styles = {"component":"pure-cell__component_vckhg","none":"pure-cell__none_vckhg","default":"pure-cell__default_vckhg","center":"pure-cell__center_vckhg"};
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: 1w13w */
1
+ /* hash: ofx1z */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,19 +10,19 @@
10
10
  :root {
11
11
  --gap-m: 16px;
12
12
  }
13
- .pure-cell__component_1r1h7 {
13
+ .pure-cell__component_vckhg {
14
14
  grid-column: 2/3;
15
15
  padding-left: var(--gap-m)
16
16
  }
17
- .pure-cell__component_1r1h7 > * {
17
+ .pure-cell__component_vckhg > * {
18
18
  justify-content: flex-end;
19
19
  }
20
- .pure-cell__component_1r1h7.pure-cell__none_1r1h7 {
20
+ .pure-cell__component_vckhg.pure-cell__none_vckhg {
21
21
  padding-left: 0;
22
22
  }
23
- .pure-cell__component_1r1h7.pure-cell__default_1r1h7 {
23
+ .pure-cell__component_vckhg.pure-cell__default_vckhg {
24
24
  padding-left: var(--gap-m);
25
25
  }
26
- .pure-cell__component_1r1h7.pure-cell__center_1r1h7 {
26
+ .pure-cell__component_vckhg.pure-cell__center_vckhg {
27
27
  align-self: center;
28
28
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-a4e1ac43.js';
3
+ import '../../getDataTestId-7483bf97.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-a4e1ac43.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-7483bf97.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_1vaxs"};
7
+ var styles = {"component":"pure-cell__component_td69x"};
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: qfedc */
1
+ /* hash: 1w2er */
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_1vaxs {
13
+ .pure-cell__component_td69x {
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-a4e1ac43.js';
3
+ import '../../getDataTestId-7483bf97.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-a4e1ac43.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-7483bf97.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_1ori8","weight":"pure-cell__weight_1ori8"};
7
+ var styles = {"component":"pure-cell__component_firsj","weight":"pure-cell__weight_firsj"};
8
8
  require('./index.css')
9
9
 
10
10
  const AmountTitle = ({ amount, color = 'primary', dataTestId }) => {
@@ -1,4 +1,4 @@
1
- /* hash: p5o6d */
1
+ /* hash: 1t6l3 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,9 +7,9 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1ori8 {
10
+ .pure-cell__component_firsj {
11
11
  display: flex;
12
12
  }
13
- .pure-cell__weight_1ori8 {
13
+ .pure-cell__weight_firsj {
14
14
  font-weight: inherit;
15
15
  }
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-a4e1ac43.js';
3
+ import '../../getDataTestId-7483bf97.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-a4e1ac43.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-7483bf97.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_1lgm3","categoryName":"pure-cell__categoryName_1lgm3","categoryPercent":"pure-cell__categoryPercent_1lgm3"};
5
+ var styles = {"component":"pure-cell__component_rrz3k","categoryName":"pure-cell__categoryName_rrz3k","categoryPercent":"pure-cell__categoryPercent_rrz3k"};
6
6
  require('./index.css')
7
7
 
8
8
  const Category = ({ categoryName, categoryPercent, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
@@ -1,4 +1,4 @@
1
- /* hash: 37jpt */
1
+ /* hash: 18uk3 */
2
2
  :root {
3
3
  --color-light-bg-secondary: #f3f4f5;
4
4
  }
@@ -18,17 +18,17 @@
18
18
  :root {
19
19
  --border-radius-xl: 16px;
20
20
  }
21
- .pure-cell__component_1lgm3 {
21
+ .pure-cell__component_rrz3k {
22
22
  display: flex;
23
23
  overflow: hidden;
24
24
  padding: var(--gap-3xs) 0;
25
25
  }
26
- .pure-cell__categoryName_1lgm3 {
26
+ .pure-cell__categoryName_rrz3k {
27
27
  text-overflow: ellipsis;
28
28
  white-space: nowrap;
29
29
  overflow: hidden;
30
30
  }
31
- .pure-cell__categoryPercent_1lgm3 {
31
+ .pure-cell__categoryPercent_rrz3k {
32
32
  padding: 0 var(--gap-xs);
33
33
  background-color: var(--color-light-bg-secondary);
34
34
  border-radius: var(--border-radius-xl);
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-a4e1ac43.js';
2
+ import '../../getDataTestId-7483bf97.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
4
  export { Category } from './component.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-a4e1ac43.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-7483bf97.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_mkybu","text":"pure-cell__text_mkybu"};
5
+ var styles = {"component":"pure-cell__component_1qizj","text":"pure-cell__text_1qizj"};
6
6
  require('./index.css')
7
7
 
8
8
  const Comment = ({ children, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'comment') },
@@ -1,4 +1,4 @@
1
- /* hash: 7hdnr */
1
+ /* hash: 1f2ki */
2
2
  :root {
3
3
  --color-light-bg-secondary: #f3f4f5;
4
4
  }
@@ -18,7 +18,7 @@
18
18
  --border-radius-xs: 2px;
19
19
  --border-radius-xxl: 20px;
20
20
  }
21
- .pure-cell__component_mkybu {
21
+ .pure-cell__component_1qizj {
22
22
  width: -moz-fit-content;
23
23
  width: fit-content;
24
24
  padding: var(--gap-xs) var(--gap-m);
@@ -26,7 +26,7 @@
26
26
  border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
27
27
  var(--border-radius-xxl);
28
28
  }
29
- .pure-cell__text_mkybu {
29
+ .pure-cell__text_1qizj {
30
30
  display: -webkit-box;
31
31
  -webkit-line-clamp: 2;
32
32
  -webkit-box-orient: vertical;
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-a4e1ac43.js';
2
+ import '../../getDataTestId-7483bf97.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
4
  export { Comment } from './component.js';
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '../../getDataTestId-a4e1ac43.js';
5
+ import '../../getDataTestId-7483bf97.js';
6
6
  import '../addon/component.js';
7
7
  import '@alfalab/core-components-typography/modern';
8
8
  import '@alfalab/core-components-amount/modern';
@@ -10,7 +10,7 @@ import '../amount/component.js';
10
10
  import '../amount-title/component.js';
11
11
  import '../category/component.js';
12
12
  import '../comment/component.js';
13
- export { C as Content } from '../../component-9375e7dd.js';
13
+ export { C as Content } from '../../component-e801d014.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: kbadt */
1
+ /* hash: bmtwv */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,11 +7,12 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_10nc1 {
10
+ .pure-cell__component_cuvm2 {
11
11
  flex-basis: 100%;
12
- display: grid
12
+ display: grid;
13
+ grid-template-columns: 1fr auto
13
14
  }
14
- .pure-cell__component_10nc1.pure-cell__horizontal_10nc1 {
15
+ .pure-cell__component_cuvm2.pure-cell__horizontal_cuvm2 {
15
16
  /* for button */
16
17
  align-self: stretch;
17
18
  }
@@ -1 +1 @@
1
- export * from "../../component-9375e7dd";
1
+ export * from "../../component-e801d014";
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '../../getDataTestId-a4e1ac43.js';
5
+ import '../../getDataTestId-7483bf97.js';
6
6
  import '../addon/component.js';
7
7
  import '@alfalab/core-components-typography/modern';
8
8
  import '@alfalab/core-components-amount/modern';
@@ -10,7 +10,7 @@ import '../amount/component.js';
10
10
  import '../amount-title/component.js';
11
11
  import '../category/component.js';
12
12
  import '../comment/component.js';
13
- export { C as Content } from '../../component-9375e7dd.js';
13
+ export { C as Content } from '../../component-e801d014.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-a4e1ac43.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-7483bf97.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_a7711","none":"pure-cell__none_a7711","default":"pure-cell__default_a7711"};
5
+ var styles = {"component":"pure-cell__component_rqg4i","none":"pure-cell__none_rqg4i","default":"pure-cell__default_rqg4i"};
6
6
  require('./index.css')
7
7
 
8
8
  const Footer = ({ children, footerPadding = 'default', dataTestId }) => (React.createElement("footer", { className: cn(styles.component, styles[footerPadding]), "data-test-id": getDataTestId(dataTestId, 'footer') }, children));
@@ -1,4 +1,4 @@
1
- /* hash: u0ip8 */
1
+ /* hash: 1y1fm */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,14 +10,14 @@
10
10
  :root {
11
11
  --gap-xs: 8px;
12
12
  }
13
- .pure-cell__component_a7711 {
13
+ .pure-cell__component_rqg4i {
14
14
  grid-column: 1/3;
15
15
  display: grid;
16
16
  grid-row-gap: var(--gap-xs)
17
17
  }
18
- .pure-cell__component_a7711.pure-cell__none_a7711 {
18
+ .pure-cell__component_rqg4i.pure-cell__none_rqg4i {
19
19
  margin-top: 0;
20
20
  }
21
- .pure-cell__component_a7711.pure-cell__default_a7711 {
21
+ .pure-cell__component_rqg4i.pure-cell__default_rqg4i {
22
22
  margin-top: var(--gap-xs);
23
23
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-a4e1ac43.js';
3
+ import '../../getDataTestId-7483bf97.js';
4
4
  export { Footer } from './component.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-a4e1ac43.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-7483bf97.js';
3
3
  import { Button } from '@alfalab/core-components-button/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_qruq8"};
5
+ var styles = {"component":"pure-cell__component_zh4ls"};
6
6
  require('./index.css')
7
7
 
8
8
  const FooterButton = ({ children, dataTestId, ...props }) => (React.createElement(Button, Object.assign({}, props, { size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }), children));
@@ -1,4 +1,4 @@
1
- /* hash: 1akfl */
1
+ /* hash: 1oi51 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,6 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_qruq8 {
10
+ .pure-cell__component_zh4ls {
11
11
  justify-self: start;
12
12
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-a4e1ac43.js';
2
+ import '../../getDataTestId-7483bf97.js';
3
3
  import '@alfalab/core-components-button/modern';
4
4
  export { FooterButton } from './component.js';
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
+ import { ReactNode } from "react";
3
4
  import { Color } from "@alfalab/core-components-typography";
4
5
  type Props = {
5
6
  /**
@@ -10,6 +11,10 @@ type Props = {
10
11
  * Идентификатор для систем автоматизированного тестирования
11
12
  */
12
13
  dataTestId?: string;
14
+ /**
15
+ * Дочерние элементы.
16
+ */
17
+ children?: ReactNode;
13
18
  };
14
19
  declare const FooterText: React.FC<Props>;
15
20
  export { Props, FooterText };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-a4e1ac43.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-7483bf97.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
5
  const FooterText = ({ children, color = 'secondary', dataTestId }) => (React.createElement(Typography.Text, { view: 'primary-small', color: color, "data-test-id": getDataTestId(dataTestId, 'footer-title') }, children));
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-a4e1ac43.js';
2
+ import '../../getDataTestId-7483bf97.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
4
  export { FooterText } from './component.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-a4e1ac43.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-7483bf97.js';
3
3
 
4
- var styles = {"component":"pure-cell__component_8sqof"};
4
+ var styles = {"component":"pure-cell__component_sc9hm"};
5
5
  require('./index.css')
6
6
 
7
7
  const Graphics = ({ children, dataTestId }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 10645 */
1
+ /* hash: 1axzt */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,6 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_8sqof {
10
+ .pure-cell__component_sc9hm {
11
11
  flex-basis: auto;
12
12
  }
@@ -1,3 +1,3 @@
1
1
  import 'react';
2
- import '../../getDataTestId-a4e1ac43.js';
2
+ import '../../getDataTestId-7483bf97.js';
3
3
  export { Graphics } from './component.js';
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '../../getDataTestId-a4e1ac43.js';
5
+ import '../../getDataTestId-7483bf97.js';
6
6
  import '../addon/component.js';
7
7
  import '@alfalab/core-components-typography/modern';
8
8
  import '@alfalab/core-components-amount/modern';
@@ -10,7 +10,7 @@ import '../amount/component.js';
10
10
  import '../amount-title/component.js';
11
11
  import '../category/component.js';
12
12
  import '../comment/component.js';
13
- export { M as Main } from '../../component-9375e7dd.js';
13
+ export { M as Main } from '../../component-e801d014.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: u6k8x */
1
+ /* hash: 16i68 */
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_o1qoj {
13
+ .pure-cell__component_1pzi6 {
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_o1qoj.pure-cell__vertical_o1qoj {
21
+ .pure-cell__component_1pzi6.pure-cell__vertical_1pzi6 {
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_o1qoj.pure-cell__reverse_o1qoj {
29
+ .pure-cell__component_1pzi6.pure-cell__reverse_1pzi6 {
30
30
  flex-direction: column-reverse;
31
31
  }
@@ -1 +1 @@
1
- export * from "../../component-9375e7dd";
1
+ export * from "../../component-e801d014";
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '../../getDataTestId-a4e1ac43.js';
5
+ import '../../getDataTestId-7483bf97.js';
6
6
  import '../addon/component.js';
7
7
  import '@alfalab/core-components-typography/modern';
8
8
  import '@alfalab/core-components-amount/modern';
@@ -10,7 +10,7 @@ import '../amount/component.js';
10
10
  import '../amount-title/component.js';
11
11
  import '../category/component.js';
12
12
  import '../comment/component.js';
13
- export { M as Main } from '../../component-9375e7dd.js';
13
+ export { M as Main } from '../../component-e801d014.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '../../getDataTestId-a4e1ac43.js';
5
+ import '../../getDataTestId-7483bf97.js';
6
6
  import '../addon/component.js';
7
7
  import '@alfalab/core-components-typography/modern';
8
8
  import '@alfalab/core-components-amount/modern';
@@ -10,7 +10,7 @@ import '../amount/component.js';
10
10
  import '../amount-title/component.js';
11
11
  import '../category/component.js';
12
12
  import '../comment/component.js';
13
- export { T as Text } from '../../component-9375e7dd.js';
13
+ export { T as Text } from '../../component-e801d014.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';