@alfalab/core-components-pure-cell 3.0.3 → 4.0.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 (187) hide show
  1. package/component-3f45f3c4.d.ts +5 -7
  2. package/{component-7b340665.d.ts → component-e81848a4.d.ts} +0 -0
  3. package/{component-7b340665.js → component-e81848a4.js} +11 -10
  4. package/component.js +4 -3
  5. package/components/addon/component.d.ts +1 -1
  6. package/components/addon/component.js +4 -7
  7. package/components/addon/index.css +15 -8
  8. package/components/addon/index.js +1 -1
  9. package/components/amount/component.d.ts +2 -6
  10. package/components/amount/component.js +6 -6
  11. package/components/amount/index.css +2 -2
  12. package/components/amount/index.js +2 -1
  13. package/components/amount-title/component.d.ts +1 -9
  14. package/components/amount-title/component.js +5 -5
  15. package/components/amount-title/index.css +3 -3
  16. package/components/amount-title/index.js +2 -1
  17. package/components/category/component.d.ts +5 -0
  18. package/components/category/component.js +5 -4
  19. package/components/category/index.css +8 -4
  20. package/components/category/index.js +1 -1
  21. package/components/content/component.js +4 -3
  22. package/components/content/index.css +3 -3
  23. package/components/content/index.d.ts +1 -1
  24. package/components/content/index.js +4 -3
  25. package/components/footer/component.js +2 -2
  26. package/components/footer/index.css +4 -4
  27. package/components/footer/index.js +1 -1
  28. package/components/footer-button/component.d.ts +5 -0
  29. package/components/footer-button/component.js +15 -5
  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 +3 -2
  33. package/components/footer-text/component.js +1 -1
  34. package/components/footer-text/index.js +1 -1
  35. package/components/graphics/component.js +2 -2
  36. package/components/graphics/index.css +2 -2
  37. package/components/graphics/index.js +1 -1
  38. package/components/main/component.js +4 -3
  39. package/components/main/index.css +4 -4
  40. package/components/main/index.d.ts +1 -1
  41. package/components/main/index.js +4 -3
  42. package/components/text/component.js +4 -3
  43. package/components/text/index.css +10 -8
  44. package/components/text/index.d.ts +1 -1
  45. package/components/text/index.js +4 -3
  46. package/components/typesProps.d.ts +2 -2
  47. package/cssm/{component-d3306cf3.d.ts → component-0839382a.d.ts} +0 -0
  48. package/cssm/{component-d3306cf3.js → component-0839382a.js} +6 -5
  49. package/cssm/component-3f45f3c4.d.ts +11 -13
  50. package/cssm/component.js +3 -2
  51. package/cssm/components/addon/component.d.ts +1 -1
  52. package/cssm/components/addon/component.js +2 -5
  53. package/cssm/components/addon/index.module.css +8 -1
  54. package/cssm/components/amount/component.d.ts +2 -6
  55. package/cssm/components/amount/component.js +4 -4
  56. package/cssm/components/amount/index.js +1 -0
  57. package/cssm/components/amount-title/component.d.ts +1 -9
  58. package/cssm/components/amount-title/component.js +3 -3
  59. package/cssm/components/amount-title/index.js +1 -0
  60. package/cssm/components/category/component.d.ts +5 -0
  61. package/cssm/components/category/component.js +3 -2
  62. package/cssm/components/category/index.module.css +4 -0
  63. package/cssm/components/content/component.js +3 -2
  64. package/cssm/components/content/index.d.ts +1 -1
  65. package/cssm/components/content/index.js +3 -2
  66. package/cssm/components/footer-button/component.d.ts +5 -0
  67. package/cssm/components/footer-button/component.js +14 -6
  68. package/cssm/components/footer-button/index.d.ts +1 -1
  69. package/cssm/components/footer-button/index.js +2 -1
  70. package/cssm/components/main/component.js +3 -2
  71. package/cssm/components/main/index.d.ts +1 -1
  72. package/cssm/components/main/index.js +3 -2
  73. package/cssm/components/text/component.js +3 -2
  74. package/cssm/components/text/index.d.ts +1 -1
  75. package/cssm/components/text/index.js +3 -2
  76. package/cssm/components/text/index.module.css +4 -2
  77. package/cssm/components/typesProps.d.ts +2 -2
  78. package/cssm/index.js +3 -2
  79. package/{esm/component-ef452835.d.ts → cssm/tslib.es6-ce870b46.d.ts} +1 -5
  80. package/{component-80973026.js → cssm/tslib.es6-ce870b46.js} +0 -17
  81. package/esm/component-3f45f3c4.d.ts +5 -7
  82. package/esm/{component-922dd03a.d.ts → component-92010732.d.ts} +0 -0
  83. package/esm/{component-922dd03a.js → component-92010732.js} +8 -7
  84. package/esm/component.js +4 -3
  85. package/esm/components/addon/component.d.ts +1 -1
  86. package/esm/components/addon/component.js +4 -7
  87. package/esm/components/addon/index.css +15 -8
  88. package/esm/components/addon/index.js +1 -1
  89. package/esm/components/amount/component.d.ts +2 -6
  90. package/esm/components/amount/component.js +6 -6
  91. package/esm/components/amount/index.css +2 -2
  92. package/esm/components/amount/index.js +2 -1
  93. package/esm/components/amount-title/component.d.ts +1 -9
  94. package/esm/components/amount-title/component.js +5 -5
  95. package/esm/components/amount-title/index.css +3 -3
  96. package/esm/components/amount-title/index.js +2 -1
  97. package/esm/components/category/component.d.ts +5 -0
  98. package/esm/components/category/component.js +5 -4
  99. package/esm/components/category/index.css +8 -4
  100. package/esm/components/category/index.js +1 -1
  101. package/esm/components/content/component.js +4 -3
  102. package/esm/components/content/index.css +3 -3
  103. package/esm/components/content/index.d.ts +1 -1
  104. package/esm/components/content/index.js +4 -3
  105. package/esm/components/footer/component.js +2 -2
  106. package/esm/components/footer/index.css +4 -4
  107. package/esm/components/footer/index.js +1 -1
  108. package/esm/components/footer-button/component.d.ts +5 -0
  109. package/esm/components/footer-button/component.js +14 -4
  110. package/esm/components/footer-button/index.css +2 -2
  111. package/esm/components/footer-button/index.d.ts +1 -1
  112. package/esm/components/footer-button/index.js +3 -2
  113. package/esm/components/footer-text/component.js +1 -1
  114. package/esm/components/footer-text/index.js +1 -1
  115. package/esm/components/graphics/component.js +2 -2
  116. package/esm/components/graphics/index.css +2 -2
  117. package/esm/components/graphics/index.js +1 -1
  118. package/esm/components/main/component.js +4 -3
  119. package/esm/components/main/index.css +4 -4
  120. package/esm/components/main/index.d.ts +1 -1
  121. package/esm/components/main/index.js +4 -3
  122. package/esm/components/text/component.js +4 -3
  123. package/esm/components/text/index.css +10 -8
  124. package/esm/components/text/index.d.ts +1 -1
  125. package/esm/components/text/index.js +4 -3
  126. package/esm/components/typesProps.d.ts +2 -2
  127. package/esm/{getDataTestId-181163b5.d.ts → getDataTestId-a5ad08de.d.ts} +0 -0
  128. package/esm/{getDataTestId-181163b5.js → getDataTestId-a5ad08de.js} +0 -0
  129. package/esm/index.css +19 -19
  130. package/esm/index.js +4 -3
  131. package/{cssm/component-22ece846.d.ts → esm/tslib.es6-1c2475cc.d.ts} +1 -5
  132. package/esm/{component-ef452835.js → tslib.es6-1c2475cc.js} +1 -13
  133. package/{getDataTestId-3a7e2404.d.ts → getDataTestId-874edbee.d.ts} +0 -0
  134. package/{getDataTestId-3a7e2404.js → getDataTestId-874edbee.js} +0 -0
  135. package/index.css +19 -19
  136. package/index.js +4 -3
  137. package/modern/{component-99f95ea2.d.ts → component-0aebd563.d.ts} +0 -0
  138. package/modern/{component-99f95ea2.js → component-0aebd563.js} +6 -6
  139. package/modern/component-3f45f3c4.d.ts +5 -7
  140. package/modern/component.js +2 -2
  141. package/modern/components/addon/component.d.ts +1 -1
  142. package/modern/components/addon/component.js +3 -5
  143. package/modern/components/addon/index.css +15 -8
  144. package/modern/components/addon/index.js +1 -1
  145. package/modern/components/amount/component.d.ts +2 -6
  146. package/modern/components/amount/component.js +5 -6
  147. package/modern/components/amount/index.css +2 -2
  148. package/modern/components/amount/index.js +1 -1
  149. package/modern/components/amount-title/component.d.ts +1 -9
  150. package/modern/components/amount-title/component.js +4 -5
  151. package/modern/components/amount-title/index.css +3 -3
  152. package/modern/components/amount-title/index.js +1 -1
  153. package/modern/components/category/component.d.ts +5 -0
  154. package/modern/components/category/component.js +5 -4
  155. package/modern/components/category/index.css +8 -4
  156. package/modern/components/category/index.js +1 -1
  157. package/modern/components/content/component.js +2 -2
  158. package/modern/components/content/index.css +3 -3
  159. package/modern/components/content/index.d.ts +1 -1
  160. package/modern/components/content/index.js +2 -2
  161. package/modern/components/footer/component.js +2 -2
  162. package/modern/components/footer/index.css +4 -4
  163. package/modern/components/footer/index.js +1 -1
  164. package/modern/components/footer-button/component.js +2 -2
  165. package/modern/components/footer-button/index.css +2 -2
  166. package/modern/components/footer-button/index.js +1 -1
  167. package/modern/components/footer-text/component.js +1 -1
  168. package/modern/components/footer-text/index.js +1 -1
  169. package/modern/components/graphics/component.js +2 -2
  170. package/modern/components/graphics/index.css +2 -2
  171. package/modern/components/graphics/index.js +1 -1
  172. package/modern/components/main/component.js +2 -2
  173. package/modern/components/main/index.css +4 -4
  174. package/modern/components/main/index.d.ts +1 -1
  175. package/modern/components/main/index.js +2 -2
  176. package/modern/components/text/component.js +2 -2
  177. package/modern/components/text/index.css +10 -8
  178. package/modern/components/text/index.d.ts +1 -1
  179. package/modern/components/text/index.js +2 -2
  180. package/modern/components/typesProps.d.ts +2 -2
  181. package/modern/{getDataTestId-60d7e355.d.ts → getDataTestId-997a290e.d.ts} +0 -0
  182. package/modern/{getDataTestId-60d7e355.js → getDataTestId-997a290e.js} +0 -0
  183. package/modern/index.css +19 -19
  184. package/modern/index.js +2 -2
  185. package/package.json +2 -2
  186. package/{component-80973026.d.ts → tslib.es6-37028810.d.ts} +1 -5
  187. package/{cssm/component-22ece846.js → tslib.es6-37028810.js} +0 -16
@@ -3,10 +3,6 @@ import React from 'react';
3
3
  import { Color } from "@alfalab/core-components-typography";
4
4
  import { AmountProps as AmountType } from "../typesProps";
5
5
  type Props = {
6
- /**
7
- * Props свойственные для компонента Amount
8
- */
9
- amount: AmountType;
10
6
  /**
11
7
  * Начертание шрифта денежного значения
12
8
  */
@@ -14,7 +10,7 @@ type Props = {
14
10
  /**
15
11
  * Размер денежного значения
16
12
  */
17
- view?: 'component' | 'primary-small';
13
+ textView?: 'component' | 'primary-small';
18
14
  /**
19
15
  * Цвет денежного значения
20
16
  */
@@ -23,6 +19,6 @@ type Props = {
23
19
  * Идентификатор для систем автоматизированного тестирования
24
20
  */
25
21
  dataTestId?: string;
26
- };
22
+ } & AmountType;
27
23
  declare const Amount: React.FC<Props>;
28
24
  export { Amount };
@@ -1,17 +1,17 @@
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-1c2475cc.js';
1
2
  import React from 'react';
2
3
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-181163b5.js';
4
+ import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
4
5
  import { Typography } from '@alfalab/core-components-typography/esm';
5
6
  import { Amount as Amount$1 } from '@alfalab/core-components-amount/esm';
6
7
 
7
- var styles = {"component":"pure-cell__component_oo1kr"};
8
+ var styles = {"component":"pure-cell__component_1ohsg"};
8
9
  require('./index.css')
9
10
 
10
11
  var Amount = function (_a) {
11
- var amount = _a.amount, _b = _a.weight, weight = _b === void 0 ? 'normal' : _b, _c = _a.view, view = _c === void 0 ? 'component' : _c, _d = _a.color, color = _d === void 0 ? 'primary' : _d, dataTestId = _a.dataTestId;
12
- var value = amount.value, currency = amount.currency, minority = amount.minority, minorUnits = amount.minorUnits, rightAddons = amount.rightAddons, showPlus = amount.showPlus, className = amount.className, transparentMinor = amount.transparentMinor, viewAmount = amount.view;
13
- return (React.createElement(Typography.Text, { view: view, dataTestId: getDataTestId(dataTestId, 'amount-text'), className: cn(styles.component), color: color },
14
- React.createElement(Amount$1, { minority: minority === undefined ? minorUnits : minority, value: value, transparentMinor: transparentMinor, bold: weight === 'bold' ? 'full' : 'none', rightAddons: rightAddons, showPlus: showPlus, className: className, currency: currency, dataTestId: getDataTestId(dataTestId, 'amount'), view: viewAmount })));
12
+ var _b = _a.weight, weight = _b === void 0 ? 'normal' : _b, _c = _a.textView, textView = _c === void 0 ? 'component' : _c, _d = _a.color, color = _d === void 0 ? 'primary' : _d, minority = _a.minority, _e = _a.minorUnits, minorUnits = _e === void 0 ? 100 : _e, dataTestId = _a.dataTestId, restProps = __rest(_a, ["weight", "textView", "color", "minority", "minorUnits", "dataTestId"]);
13
+ return (React.createElement(Typography.Text, { view: textView, dataTestId: getDataTestId(dataTestId, 'amount-text'), className: cn(styles.component), color: color },
14
+ React.createElement(Amount$1, __assign({ minority: minority || minorUnits, bold: weight === 'bold' ? 'full' : 'none', dataTestId: getDataTestId(dataTestId, 'amount') }, restProps))));
15
15
  };
16
16
 
17
17
  export { Amount };
@@ -1,4 +1,4 @@
1
- /* hash: 172fu */
1
+ /* hash: alrxs */
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_oo1kr {
13
+ .pure-cell__component_1ohsg {
14
14
  padding: var(--gap-3xs) 0;
15
15
  display: flex;
16
16
  }
@@ -1,6 +1,7 @@
1
+ import '../../tslib.es6-1c2475cc.js';
1
2
  import 'react';
2
3
  import 'classnames';
3
- import '../../getDataTestId-181163b5.js';
4
+ import '../../getDataTestId-a5ad08de.js';
4
5
  import '@alfalab/core-components-typography/esm';
5
6
  import '@alfalab/core-components-amount/esm';
6
7
  export { Amount } from './component.js';
@@ -3,18 +3,10 @@ import React from 'react';
3
3
  import { Color } from "@alfalab/core-components-typography";
4
4
  import { AmountProps as AmountType } from "../typesProps";
5
5
  type Props = {
6
- /**
7
- * Props свойственные для компонента Amount
8
- */
9
- amount: AmountType;
10
6
  /**
11
7
  * Цвет денежного значения
12
8
  */
13
9
  color?: Color;
14
- /**
15
- * Идентификатор для систем автоматизированного тестирования
16
- */
17
- dataTestId?: string;
18
- };
10
+ } & AmountType;
19
11
  declare const AmountTitle: React.FC<Props>;
20
12
  export { AmountTitle };
@@ -1,17 +1,17 @@
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-1c2475cc.js';
1
2
  import React from 'react';
2
3
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-181163b5.js';
4
+ import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
4
5
  import { Typography } from '@alfalab/core-components-typography/esm';
5
6
  import { Amount } from '@alfalab/core-components-amount/esm';
6
7
 
7
- var styles = {"component":"pure-cell__component_k73fl","weight":"pure-cell__weight_k73fl"};
8
+ var styles = {"component":"pure-cell__component_18dk0","weight":"pure-cell__weight_18dk0"};
8
9
  require('./index.css')
9
10
 
10
11
  var AmountTitle = function (_a) {
11
- var amount = _a.amount, _b = _a.color, color = _b === void 0 ? 'primary' : _b, dataTestId = _a.dataTestId;
12
- var value = amount.value, currency = amount.currency, minority = amount.minority, minorUnits = amount.minorUnits, rightAddons = amount.rightAddons, showPlus = amount.showPlus, className = amount.className;
12
+ var minority = _a.minority, _b = _a.minorUnits, minorUnits = _b === void 0 ? 100 : _b, className = _a.className, _c = _a.color, color = _c === void 0 ? 'primary' : _c, dataTestId = _a.dataTestId, restProps = __rest(_a, ["minority", "minorUnits", "className", "color", "dataTestId"]);
13
13
  return (React.createElement(Typography.Title, { tag: 'h4', view: 'small', dataTestId: getDataTestId(dataTestId, 'amount-title'), className: styles.component, color: color },
14
- React.createElement(Amount, { minority: minority === undefined ? minorUnits : minority, value: value, rightAddons: rightAddons, showPlus: showPlus, className: cn(styles.weight, className), currency: currency, dataTestId: getDataTestId(dataTestId, 'core-amount-title'), view: 'withZeroMinorPart' })));
14
+ React.createElement(Amount, __assign({ minority: minority || minorUnits, className: cn(styles.weight, className), dataTestId: getDataTestId(dataTestId, 'core-amount-title') }, restProps, { bold: 'none' }))));
15
15
  };
16
16
 
17
17
  export { AmountTitle };
@@ -1,4 +1,4 @@
1
- /* hash: 146m6 */
1
+ /* hash: 1ou1d */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,9 +7,9 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_k73fl {
10
+ .pure-cell__component_18dk0 {
11
11
  display: flex;
12
12
  }
13
- .pure-cell__weight_k73fl {
13
+ .pure-cell__weight_18dk0 {
14
14
  font-weight: inherit;
15
15
  }
@@ -1,6 +1,7 @@
1
+ import '../../tslib.es6-1c2475cc.js';
1
2
  import 'react';
2
3
  import 'classnames';
3
- import '../../getDataTestId-181163b5.js';
4
+ import '../../getDataTestId-a5ad08de.js';
4
5
  import '@alfalab/core-components-typography/esm';
5
6
  import '@alfalab/core-components-amount/esm';
6
7
  export { AmountTitle } 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
  type Props = {
4
5
  /**
5
6
  * Наименование категории
@@ -9,6 +10,10 @@ type Props = {
9
10
  * Процент категории
10
11
  */
11
12
  categoryPercent?: number;
13
+ /**
14
+ * Слот справа
15
+ */
16
+ rightAddons?: ReactNode;
12
17
  /**
13
18
  * Идентификатор для систем автоматизированного тестирования
14
19
  */
@@ -1,17 +1,18 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-181163b5.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/esm';
4
4
 
5
- var styles = {"component":"pure-cell__component_1yxco","categoryName":"pure-cell__categoryName_1yxco","categoryPercent":"pure-cell__categoryPercent_1yxco"};
5
+ var styles = {"component":"pure-cell__component_zpzi0","categoryName":"pure-cell__categoryName_zpzi0","categoryPercent":"pure-cell__categoryPercent_zpzi0","rightAddon":"pure-cell__rightAddon_zpzi0"};
6
6
  require('./index.css')
7
7
 
8
8
  var Category = function (_a) {
9
- var categoryName = _a.categoryName, categoryPercent = _a.categoryPercent, dataTestId = _a.dataTestId;
9
+ var categoryName = _a.categoryName, categoryPercent = _a.categoryPercent, rightAddons = _a.rightAddons, dataTestId = _a.dataTestId;
10
10
  return (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
11
11
  React.createElement(Typography.Text, { view: 'primary-small', color: 'secondary', dataTestId: getDataTestId(dataTestId, 'category-name'), className: styles.categoryName }, categoryName),
12
12
  categoryPercent !== undefined && (React.createElement(Typography.Text, { tag: 'div', view: 'primary-small', color: 'secondary', className: styles.categoryPercent, dataTestId: getDataTestId(dataTestId, 'category-percent') },
13
13
  categoryPercent,
14
- "%"))));
14
+ "%")),
15
+ rightAddons !== undefined && (React.createElement("div", { className: styles.rightAddon, "data-test-id": getDataTestId(dataTestId, 'category-right-addon') }, rightAddons))));
15
16
  };
16
17
 
17
18
  export { Category };
@@ -1,4 +1,4 @@
1
- /* hash: jul6s */
1
+ /* hash: 1mf1c */
2
2
  :root {
3
3
  --color-light-bg-secondary: #f3f4f5;
4
4
  }
@@ -18,20 +18,24 @@
18
18
  :root {
19
19
  --border-radius-xl: 16px;
20
20
  }
21
- .pure-cell__component_1yxco {
21
+ .pure-cell__component_zpzi0 {
22
22
  display: flex;
23
23
  overflow: hidden;
24
24
  padding: var(--gap-3xs) 0;
25
25
  }
26
- .pure-cell__categoryName_1yxco {
26
+ .pure-cell__categoryName_zpzi0 {
27
27
  display: -webkit-box;
28
28
  -webkit-line-clamp: 1;
29
29
  -webkit-box-orient: vertical;
30
30
  overflow: hidden;
31
+ word-break: break-all;
31
32
  }
32
- .pure-cell__categoryPercent_1yxco {
33
+ .pure-cell__categoryPercent_zpzi0 {
33
34
  padding: 0 var(--gap-xs);
34
35
  background-color: var(--color-light-bg-secondary);
35
36
  border-radius: var(--border-radius-xl);
36
37
  margin-left: var(--gap-2xs);
37
38
  }
39
+ .pure-cell__rightAddon_zpzi0 {
40
+ margin-left: var(--gap-2xs);
41
+ }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-181163b5.js';
2
+ import '../../getDataTestId-a5ad08de.js';
3
3
  import '@alfalab/core-components-typography/esm';
4
4
  export { Category } from './component.js';
@@ -1,18 +1,19 @@
1
- import '../../component-ef452835.js';
1
+ import '../../tslib.es6-1c2475cc.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
5
5
  import '@alfalab/hooks';
6
6
  import '@alfalab/core-components-comment/esm';
7
- import '../../getDataTestId-181163b5.js';
7
+ import '../../getDataTestId-a5ad08de.js';
8
8
  import '../addon/component.js';
9
9
  import '@alfalab/core-components-typography/esm';
10
10
  import '@alfalab/core-components-amount/esm';
11
11
  import '../amount/component.js';
12
12
  import '../amount-title/component.js';
13
13
  import '../category/component.js';
14
- export { C as Content } from '../../component-922dd03a.js';
14
+ export { C as Content } from '../../component-92010732.js';
15
15
  import '../footer/component.js';
16
16
  import '@alfalab/core-components-button/esm';
17
+ import '../footer-button/component.js';
17
18
  import '../footer-text/component.js';
18
19
  import '../graphics/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 14lhc */
1
+ /* hash: 2117i */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,12 +7,12 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_swkbf {
10
+ .pure-cell__component_1s3xh {
11
11
  flex-basis: 100%;
12
12
  display: grid;
13
13
  grid-template-columns: 1fr auto
14
14
  }
15
- .pure-cell__component_swkbf.pure-cell__horizontal_swkbf {
15
+ .pure-cell__component_1s3xh.pure-cell__horizontal_1s3xh {
16
16
  /* for button */
17
17
  align-self: stretch;
18
18
  }
@@ -1 +1 @@
1
- export * from "../../component-922dd03a";
1
+ export * from "../../component-92010732";
@@ -1,18 +1,19 @@
1
- import '../../component-ef452835.js';
1
+ import '../../tslib.es6-1c2475cc.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
5
5
  import '@alfalab/hooks';
6
6
  import '@alfalab/core-components-comment/esm';
7
- import '../../getDataTestId-181163b5.js';
7
+ import '../../getDataTestId-a5ad08de.js';
8
8
  import '../addon/component.js';
9
9
  import '@alfalab/core-components-typography/esm';
10
10
  import '@alfalab/core-components-amount/esm';
11
11
  import '../amount/component.js';
12
12
  import '../amount-title/component.js';
13
13
  import '../category/component.js';
14
- export { C as Content } from '../../component-922dd03a.js';
14
+ export { C as Content } from '../../component-92010732.js';
15
15
  import '../footer/component.js';
16
16
  import '@alfalab/core-components-button/esm';
17
+ import '../footer-button/component.js';
17
18
  import '../footer-text/component.js';
18
19
  import '../graphics/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-181163b5.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_werrj","none":"pure-cell__none_werrj","default":"pure-cell__default_werrj"};
5
+ var styles = {"component":"pure-cell__component_1kl8c","none":"pure-cell__none_1kl8c","default":"pure-cell__default_1kl8c"};
6
6
  require('./index.css')
7
7
 
8
8
  var Footer = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 191gp */
1
+ /* hash: 1tovw */
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_werrj {
13
+ .pure-cell__component_1kl8c {
14
14
  grid-column: 1/3;
15
15
  display: grid;
16
16
  grid-row-gap: var(--gap-xs)
17
17
  }
18
- .pure-cell__component_werrj.pure-cell__none_werrj {
18
+ .pure-cell__component_1kl8c.pure-cell__none_1kl8c {
19
19
  margin-top: 0;
20
20
  }
21
- .pure-cell__component_werrj.pure-cell__default_werrj {
21
+ .pure-cell__component_1kl8c.pure-cell__default_1kl8c {
22
22
  margin-top: var(--gap-xs);
23
23
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-181163b5.js';
3
+ import '../../getDataTestId-a5ad08de.js';
4
4
  export { Footer } from './component.js';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { ButtonProps } from "@alfalab/core-components-button";
4
+ declare const FooterButton: React.FC<ButtonProps>;
5
+ export { FooterButton };
@@ -1,4 +1,14 @@
1
- export { F as FooterButton } from '../../component-ef452835.js';
2
- import 'react';
3
- import '../../getDataTestId-181163b5.js';
4
- import '@alfalab/core-components-button/esm';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-1c2475cc.js';
2
+ import React from 'react';
3
+ import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
4
+ import { Button } from '@alfalab/core-components-button/esm';
5
+
6
+ var styles = {"component":"pure-cell__component_ork4a"};
7
+ require('./index.css')
8
+
9
+ var FooterButton = function (_a) {
10
+ var children = _a.children, dataTestId = _a.dataTestId, props = __rest(_a, ["children", "dataTestId"]);
11
+ return (React.createElement(Button, __assign({}, props, { size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }), children));
12
+ };
13
+
14
+ export { FooterButton };
@@ -1,4 +1,4 @@
1
- /* hash: vjhl4 */
1
+ /* hash: 1suor */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,6 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1cy0p {
10
+ .pure-cell__component_ork4a {
11
11
  justify-self: start;
12
12
  }
@@ -1 +1 @@
1
- export * from "../../component-ef452835";
1
+ export * from "./component";
@@ -1,4 +1,5 @@
1
- export { F as FooterButton } from '../../component-ef452835.js';
1
+ import '../../tslib.es6-1c2475cc.js';
2
2
  import 'react';
3
- import '../../getDataTestId-181163b5.js';
3
+ import '../../getDataTestId-a5ad08de.js';
4
4
  import '@alfalab/core-components-button/esm';
5
+ export { FooterButton } from './component.js';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-181163b5.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/esm';
4
4
 
5
5
  var FooterText = function (_a) {
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-181163b5.js';
2
+ import '../../getDataTestId-a5ad08de.js';
3
3
  import '@alfalab/core-components-typography/esm';
4
4
  export { FooterText } from './component.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-181163b5.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
3
3
 
4
- var styles = {"component":"pure-cell__component_1fety"};
4
+ var styles = {"component":"pure-cell__component_111dx"};
5
5
  require('./index.css')
6
6
 
7
7
  var Graphics = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: fwfso */
1
+ /* hash: dd73g */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,6 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1fety {
10
+ .pure-cell__component_111dx {
11
11
  flex-basis: auto;
12
12
  }
@@ -1,3 +1,3 @@
1
1
  import 'react';
2
- import '../../getDataTestId-181163b5.js';
2
+ import '../../getDataTestId-a5ad08de.js';
3
3
  export { Graphics } from './component.js';
@@ -1,18 +1,19 @@
1
- import '../../component-ef452835.js';
1
+ import '../../tslib.es6-1c2475cc.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
5
5
  import '@alfalab/hooks';
6
6
  import '@alfalab/core-components-comment/esm';
7
- import '../../getDataTestId-181163b5.js';
7
+ import '../../getDataTestId-a5ad08de.js';
8
8
  import '../addon/component.js';
9
9
  import '@alfalab/core-components-typography/esm';
10
10
  import '@alfalab/core-components-amount/esm';
11
11
  import '../amount/component.js';
12
12
  import '../amount-title/component.js';
13
13
  import '../category/component.js';
14
- export { M as Main } from '../../component-922dd03a.js';
14
+ export { M as Main } from '../../component-92010732.js';
15
15
  import '../footer/component.js';
16
16
  import '@alfalab/core-components-button/esm';
17
+ import '../footer-button/component.js';
17
18
  import '../footer-text/component.js';
18
19
  import '../graphics/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: djirz */
1
+ /* hash: sxozn */
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_1iei5 {
13
+ .pure-cell__component_ikr9m {
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_1iei5.pure-cell__vertical_1iei5 {
21
+ .pure-cell__component_ikr9m.pure-cell__vertical_ikr9m {
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_1iei5.pure-cell__reverse_1iei5 {
29
+ .pure-cell__component_ikr9m.pure-cell__reverse_ikr9m {
30
30
  flex-direction: column-reverse;
31
31
  }
@@ -1 +1 @@
1
- export * from "../../component-922dd03a";
1
+ export * from "../../component-92010732";
@@ -1,18 +1,19 @@
1
- import '../../component-ef452835.js';
1
+ import '../../tslib.es6-1c2475cc.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
5
5
  import '@alfalab/hooks';
6
6
  import '@alfalab/core-components-comment/esm';
7
- import '../../getDataTestId-181163b5.js';
7
+ import '../../getDataTestId-a5ad08de.js';
8
8
  import '../addon/component.js';
9
9
  import '@alfalab/core-components-typography/esm';
10
10
  import '@alfalab/core-components-amount/esm';
11
11
  import '../amount/component.js';
12
12
  import '../amount-title/component.js';
13
13
  import '../category/component.js';
14
- export { M as Main } from '../../component-922dd03a.js';
14
+ export { M as Main } from '../../component-92010732.js';
15
15
  import '../footer/component.js';
16
16
  import '@alfalab/core-components-button/esm';
17
+ import '../footer-button/component.js';
17
18
  import '../footer-text/component.js';
18
19
  import '../graphics/component.js';
@@ -1,18 +1,19 @@
1
- import '../../component-ef452835.js';
1
+ import '../../tslib.es6-1c2475cc.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
5
5
  import '@alfalab/hooks';
6
6
  import '@alfalab/core-components-comment/esm';
7
- import '../../getDataTestId-181163b5.js';
7
+ import '../../getDataTestId-a5ad08de.js';
8
8
  import '../addon/component.js';
9
9
  import '@alfalab/core-components-typography/esm';
10
10
  import '@alfalab/core-components-amount/esm';
11
11
  import '../amount/component.js';
12
12
  import '../amount-title/component.js';
13
13
  import '../category/component.js';
14
- export { T as Text } from '../../component-922dd03a.js';
14
+ export { T as Text } from '../../component-92010732.js';
15
15
  import '../footer/component.js';
16
16
  import '@alfalab/core-components-button/esm';
17
+ import '../footer-button/component.js';
17
18
  import '../footer-text/component.js';
18
19
  import '../graphics/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1k4g6 */
1
+ /* hash: 5qrb6 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,31 +11,33 @@
11
11
  --gap-3xs: 2px;
12
12
  --gap-m: 16px;
13
13
  }
14
- .pure-cell__horizontal_174je {
14
+ .pure-cell__horizontal_1vazz {
15
15
  padding: var(--gap-3xs) 0;
16
16
  }
17
- .pure-cell__rowLimit1_174je {
17
+ .pure-cell__rowLimit1_1vazz {
18
18
  display: -webkit-box;
19
19
  -webkit-line-clamp: 1;
20
20
  -webkit-box-orient: vertical;
21
21
  overflow: hidden;
22
+ word-break: break-all;
22
23
  }
23
- .pure-cell__rowLimit2_174je {
24
+ .pure-cell__rowLimit2_1vazz {
24
25
  display: -webkit-box;
25
26
  -webkit-line-clamp: 2;
26
27
  -webkit-box-orient: vertical;
27
28
  overflow: hidden;
28
29
  }
29
- .pure-cell__component_174je {
30
+ .pure-cell__component_1vazz {
30
31
  display: flex;
31
32
  flex-direction: row;
32
33
  flex-wrap: nowrap;
33
34
  justify-content: space-between;
34
35
  margin: var(--gap-3xs) 0;
35
36
  }
36
- .pure-cell__component_174je .pure-cell__vertical_174je {
37
+ .pure-cell__component_1vazz .pure-cell__vertical_1vazz {
37
38
  justify-content: center;
38
39
  }
39
- .pure-cell__title_174je {
40
- margin-right: var(--gap-m);
40
+ .pure-cell__title_1vazz + .pure-cell__value_1vazz {
41
+ margin-left: var(--gap-m);
42
+ flex-shrink: 0;
41
43
  }
@@ -1 +1 @@
1
- export * from "../../component-922dd03a";
1
+ export * from "../../component-92010732";