@alfalab/core-components-pure-cell 4.0.3 → 4.1.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 (152) hide show
  1. package/{component-ae7a8198.d.ts → component-e689bcd5.d.ts} +0 -0
  2. package/{component-ae7a8198.js → component-e689bcd5.js} +6 -6
  3. package/component.js +3 -3
  4. package/components/addon/component.js +2 -2
  5. package/components/addon/index.css +9 -9
  6. package/components/addon/index.js +1 -1
  7. package/components/amount/component.js +3 -3
  8. package/components/amount/index.css +2 -2
  9. package/components/amount/index.js +2 -2
  10. package/components/amount-title/component.js +3 -3
  11. package/components/amount-title/index.css +3 -3
  12. package/components/amount-title/index.js +2 -2
  13. package/components/category/component.js +2 -2
  14. package/components/category/index.css +5 -5
  15. package/components/category/index.js +1 -1
  16. package/components/content/component.js +3 -3
  17. package/components/content/index.css +3 -3
  18. package/components/content/index.d.ts +1 -1
  19. package/components/content/index.js +3 -3
  20. package/components/footer/component.js +2 -2
  21. package/components/footer/index.css +4 -4
  22. package/components/footer/index.js +1 -1
  23. package/components/footer-button/component.js +3 -3
  24. package/components/footer-button/index.css +2 -2
  25. package/components/footer-button/index.js +2 -2
  26. package/components/footer-text/component.js +1 -1
  27. package/components/footer-text/index.js +1 -1
  28. package/components/graphics/component.d.ts +4 -0
  29. package/components/graphics/component.js +6 -4
  30. package/components/graphics/index.css +11 -2
  31. package/components/graphics/index.js +2 -1
  32. package/components/main/component.js +3 -3
  33. package/components/main/index.css +4 -4
  34. package/components/main/index.d.ts +1 -1
  35. package/components/main/index.js +3 -3
  36. package/components/text/component.js +3 -3
  37. package/components/text/index.css +7 -7
  38. package/components/text/index.d.ts +1 -1
  39. package/components/text/index.js +3 -3
  40. package/cssm/{component-c4e268e7.d.ts → component-5cffadbf.d.ts} +0 -0
  41. package/cssm/{component-c4e268e7.js → component-5cffadbf.js} +0 -0
  42. package/cssm/component.js +1 -1
  43. package/cssm/components/content/component.js +1 -1
  44. package/cssm/components/content/index.d.ts +1 -1
  45. package/cssm/components/content/index.js +1 -1
  46. package/cssm/components/graphics/component.d.ts +4 -0
  47. package/cssm/components/graphics/component.js +4 -2
  48. package/cssm/components/graphics/index.js +1 -0
  49. package/cssm/components/graphics/index.module.css +9 -0
  50. package/cssm/components/main/component.js +1 -1
  51. package/cssm/components/main/index.d.ts +1 -1
  52. package/cssm/components/main/index.js +1 -1
  53. package/cssm/components/text/component.js +1 -1
  54. package/cssm/components/text/index.d.ts +1 -1
  55. package/cssm/components/text/index.js +1 -1
  56. package/cssm/index.js +1 -1
  57. package/cssm/index.module.css +4 -0
  58. package/esm/{component-5128c56e.d.ts → component-0b42a82a.d.ts} +0 -0
  59. package/esm/{component-5128c56e.js → component-0b42a82a.js} +6 -6
  60. package/esm/component.js +3 -3
  61. package/esm/components/addon/component.js +2 -2
  62. package/esm/components/addon/index.css +9 -9
  63. package/esm/components/addon/index.js +1 -1
  64. package/esm/components/amount/component.js +3 -3
  65. package/esm/components/amount/index.css +2 -2
  66. package/esm/components/amount/index.js +2 -2
  67. package/esm/components/amount-title/component.js +3 -3
  68. package/esm/components/amount-title/index.css +3 -3
  69. package/esm/components/amount-title/index.js +2 -2
  70. package/esm/components/category/component.js +2 -2
  71. package/esm/components/category/index.css +5 -5
  72. package/esm/components/category/index.js +1 -1
  73. package/esm/components/content/component.js +3 -3
  74. package/esm/components/content/index.css +3 -3
  75. package/esm/components/content/index.d.ts +1 -1
  76. package/esm/components/content/index.js +3 -3
  77. package/esm/components/footer/component.js +2 -2
  78. package/esm/components/footer/index.css +4 -4
  79. package/esm/components/footer/index.js +1 -1
  80. package/esm/components/footer-button/component.js +3 -3
  81. package/esm/components/footer-button/index.css +2 -2
  82. package/esm/components/footer-button/index.js +2 -2
  83. package/esm/components/footer-text/component.js +1 -1
  84. package/esm/components/footer-text/index.js +1 -1
  85. package/esm/components/graphics/component.d.ts +4 -0
  86. package/esm/components/graphics/component.js +5 -4
  87. package/esm/components/graphics/index.css +11 -2
  88. package/esm/components/graphics/index.js +2 -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 +7 -7
  95. package/esm/components/text/index.d.ts +1 -1
  96. package/esm/components/text/index.js +3 -3
  97. package/esm/{getDataTestId-048281b8.d.ts → getDataTestId-fae3f76e.d.ts} +0 -0
  98. package/esm/{getDataTestId-048281b8.js → getDataTestId-fae3f76e.js} +0 -0
  99. package/esm/index.css +23 -19
  100. package/esm/index.js +3 -3
  101. package/esm/{tslib.es6-e02b61a7.d.ts → tslib.es6-cc1aca61.d.ts} +0 -0
  102. package/esm/{tslib.es6-e02b61a7.js → tslib.es6-cc1aca61.js} +0 -0
  103. package/{getDataTestId-03270a4e.d.ts → getDataTestId-e9051599.d.ts} +0 -0
  104. package/{getDataTestId-03270a4e.js → getDataTestId-e9051599.js} +0 -0
  105. package/index.css +23 -19
  106. package/index.js +3 -3
  107. package/modern/{component-d8e1fafe.d.ts → component-9814fff5.d.ts} +0 -0
  108. package/modern/{component-d8e1fafe.js → component-9814fff5.js} +5 -5
  109. package/modern/component.js +2 -2
  110. package/modern/components/addon/component.js +2 -2
  111. package/modern/components/addon/index.css +9 -9
  112. package/modern/components/addon/index.js +1 -1
  113. package/modern/components/amount/component.js +2 -2
  114. package/modern/components/amount/index.css +2 -2
  115. package/modern/components/amount/index.js +1 -1
  116. package/modern/components/amount-title/component.js +2 -2
  117. package/modern/components/amount-title/index.css +3 -3
  118. package/modern/components/amount-title/index.js +1 -1
  119. package/modern/components/category/component.js +2 -2
  120. package/modern/components/category/index.css +5 -5
  121. package/modern/components/category/index.js +1 -1
  122. package/modern/components/content/component.js +2 -2
  123. package/modern/components/content/index.css +3 -3
  124. package/modern/components/content/index.d.ts +1 -1
  125. package/modern/components/content/index.js +2 -2
  126. package/modern/components/footer/component.js +2 -2
  127. package/modern/components/footer/index.css +4 -4
  128. package/modern/components/footer/index.js +1 -1
  129. package/modern/components/footer-button/component.js +2 -2
  130. package/modern/components/footer-button/index.css +2 -2
  131. package/modern/components/footer-button/index.js +1 -1
  132. package/modern/components/footer-text/component.js +1 -1
  133. package/modern/components/footer-text/index.js +1 -1
  134. package/modern/components/graphics/component.d.ts +4 -0
  135. package/modern/components/graphics/component.js +4 -3
  136. package/modern/components/graphics/index.css +11 -2
  137. package/modern/components/graphics/index.js +2 -1
  138. package/modern/components/main/component.js +2 -2
  139. package/modern/components/main/index.css +4 -4
  140. package/modern/components/main/index.d.ts +1 -1
  141. package/modern/components/main/index.js +2 -2
  142. package/modern/components/text/component.js +2 -2
  143. package/modern/components/text/index.css +7 -7
  144. package/modern/components/text/index.d.ts +1 -1
  145. package/modern/components/text/index.js +2 -2
  146. package/modern/{getDataTestId-8ec615b8.d.ts → getDataTestId-356875da.d.ts} +0 -0
  147. package/modern/{getDataTestId-8ec615b8.js → getDataTestId-356875da.js} +0 -0
  148. package/modern/index.css +23 -19
  149. package/modern/index.js +2 -2
  150. package/package.json +3 -3
  151. /package/{tslib.es6-80f30c79.d.ts → tslib.es6-bbdecc78.d.ts} +0 -0
  152. /package/{tslib.es6-80f30c79.js → tslib.es6-bbdecc78.js} +0 -0
package/index.js CHANGED
@@ -2,20 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-80f30c79.js');
5
+ require('./tslib.es6-bbdecc78.js');
6
6
  require('react');
7
7
  require('react-merge-refs');
8
8
  require('classnames');
9
9
  require('@alfalab/core-components-comment');
10
10
  require('@alfalab/hooks');
11
- require('./getDataTestId-03270a4e.js');
11
+ require('./getDataTestId-e9051599.js');
12
12
  require('./components/addon/component.js');
13
13
  require('@alfalab/core-components-amount');
14
14
  require('@alfalab/core-components-typography');
15
15
  require('./components/amount/component.js');
16
16
  require('./components/amount-title/component.js');
17
17
  require('./components/category/component.js');
18
- var components_content_component = require('./component-ae7a8198.js');
18
+ var components_content_component = require('./component-e689bcd5.js');
19
19
  require('./components/footer/component.js');
20
20
  require('@alfalab/core-components-button');
21
21
  require('./components/footer-button/component.js');
@@ -3,7 +3,7 @@ import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
  import { Comment } from '@alfalab/core-components-comment/modern';
5
5
  import { useFocus } from '@alfalab/hooks';
6
- import { g as getDataTestId } from './getDataTestId-8ec615b8.js';
6
+ import { g as getDataTestId } from './getDataTestId-356875da.js';
7
7
  import { Addon } from './components/addon/component.js';
8
8
  import { Typography } from '@alfalab/core-components-typography/modern';
9
9
  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_1a1dz","horizontal":"pure-cell__horizontal_1a1dz"};
17
+ var styles = {"component":"pure-cell__component_1739o","horizontal":"pure-cell__horizontal_1739o"};
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_ivnjs","vertical":"pure-cell__vertical_ivnjs","reverse":"pure-cell__reverse_ivnjs"};
25
+ var styles$1 = {"component":"pure-cell__component_1wl7i","vertical":"pure-cell__vertical_1wl7i","reverse":"pure-cell__reverse_1wl7i"};
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_7m9y9","rowLimit1":"pure-cell__rowLimit1_7m9y9","rowLimit2":"pure-cell__rowLimit2_7m9y9","component":"pure-cell__component_7m9y9","vertical":"pure-cell__vertical_7m9y9","title":"pure-cell__title_7m9y9","value":"pure-cell__value_7m9y9"};
35
+ var styles$2 = {"horizontal":"pure-cell__horizontal_4o5n3","rowLimit1":"pure-cell__rowLimit1_4o5n3","rowLimit2":"pure-cell__rowLimit2_4o5n3","component":"pure-cell__component_4o5n3","vertical":"pure-cell__vertical_4o5n3","title":"pure-cell__title_4o5n3","value":"pure-cell__value_4o5n3"};
36
36
  require('./components/text/index.css')
37
37
 
38
38
  const Text = ({ children, value, rowLimit, view = 'component', titleColor, valueColor, dataTestId, }) => {
@@ -45,7 +45,7 @@ const Text = ({ children, value, rowLimit, view = 'component', titleColor, value
45
45
  value !== undefined && (React.createElement("span", { className: styles$2.value }, typeof value === 'string' ? (React.createElement(Typography.Text, { view: view, color: valueColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, value)) : (value)))));
46
46
  };
47
47
 
48
- var styles$3 = {"component":"pure-cell__component_iakja","horizontal":"pure-cell__horizontal_iakja","vertical":"pure-cell__vertical_iakja","button":"pure-cell__button_iakja","link":"pure-cell__link_iakja","none":"pure-cell__none_iakja","airy":"pure-cell__airy_iakja","defaultPadding":"pure-cell__defaultPadding_iakja","compact":"pure-cell__compact_iakja","tiny":"pure-cell__tiny_iakja","left":"pure-cell__left_iakja","right":"pure-cell__right_iakja","both":"pure-cell__both_iakja","focused":"pure-cell__focused_iakja"};
48
+ var styles$3 = {"component":"pure-cell__component_54ngr","horizontal":"pure-cell__horizontal_54ngr","vertical":"pure-cell__vertical_54ngr","button":"pure-cell__button_54ngr","link":"pure-cell__link_54ngr","none":"pure-cell__none_54ngr","airy":"pure-cell__airy_54ngr","defaultPadding":"pure-cell__defaultPadding_54ngr","compact":"pure-cell__compact_54ngr","tiny":"pure-cell__tiny_54ngr","left":"pure-cell__left_54ngr","right":"pure-cell__right_54ngr","both":"pure-cell__both_54ngr","focused":"pure-cell__focused_54ngr"};
49
49
  require('./index.css')
50
50
 
51
51
  /* eslint-disable react/jsx-no-constructed-context-values */
@@ -3,14 +3,14 @@ import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-comment/modern';
5
5
  import '@alfalab/hooks';
6
- import './getDataTestId-8ec615b8.js';
6
+ import './getDataTestId-356875da.js';
7
7
  import './components/addon/component.js';
8
8
  import '@alfalab/core-components-amount/modern';
9
9
  import '@alfalab/core-components-typography/modern';
10
10
  import './components/amount/component.js';
11
11
  import './components/amount-title/component.js';
12
12
  import './components/category/component.js';
13
- export { P as PureCell, a as PureCellContext } from './component-d8e1fafe.js';
13
+ export { P as PureCell, a as PureCellContext } from './component-9814fff5.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-8ec615b8.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-356875da.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1et58","none":"pure-cell__none_1et58","default":"pure-cell__default_1et58","addonPadding":"pure-cell__addonPadding_1et58","top":"pure-cell__top_1et58","center":"pure-cell__center_1et58","bottom":"pure-cell__bottom_1et58"};
5
+ var styles = {"component":"pure-cell__component_11n85","none":"pure-cell__none_11n85","default":"pure-cell__default_11n85","addonPadding":"pure-cell__addonPadding_11n85","top":"pure-cell__top_11n85","center":"pure-cell__center_11n85","bottom":"pure-cell__bottom_11n85"};
6
6
  require('./index.css')
7
7
 
8
8
  const Addon = ({ children, verticalAlign = 'top', addonPadding = 'default', dataTestId, }) => (React.createElement("section", { className: cn(styles.component, styles[addonPadding], styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'addon') }, children));
@@ -1,4 +1,4 @@
1
- /* hash: 1r8ad */
1
+ /* hash: 3hz4i */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,29 +10,29 @@
10
10
  :root {
11
11
  --gap-m: 16px;
12
12
  }
13
- .pure-cell__component_1et58 {
13
+ .pure-cell__component_11n85 {
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  align-items: flex-end
17
17
  }
18
- .pure-cell__component_1et58 > * {
18
+ .pure-cell__component_11n85 > * {
19
19
  justify-content: flex-end;
20
20
  }
21
- .pure-cell__component_1et58.pure-cell__none_1et58 {
21
+ .pure-cell__component_11n85.pure-cell__none_11n85 {
22
22
  padding-left: 0;
23
23
  }
24
- .pure-cell__component_1et58.pure-cell__default_1et58 {
24
+ .pure-cell__component_11n85.pure-cell__default_11n85 {
25
25
  padding-left: var(--gap-m);
26
26
  }
27
- .pure-cell__component_1et58.pure-cell__addonPadding_1et58 {
27
+ .pure-cell__component_11n85.pure-cell__addonPadding_11n85 {
28
28
  padding-left: var(--gap-m);
29
29
  }
30
- .pure-cell__component_1et58.pure-cell__top_1et58 {
30
+ .pure-cell__component_11n85.pure-cell__top_11n85 {
31
31
  align-self: flex-start;
32
32
  }
33
- .pure-cell__component_1et58.pure-cell__center_1et58 {
33
+ .pure-cell__component_11n85.pure-cell__center_11n85 {
34
34
  align-self: center;
35
35
  }
36
- .pure-cell__component_1et58.pure-cell__bottom_1et58 {
36
+ .pure-cell__component_11n85.pure-cell__bottom_11n85 {
37
37
  align-self: flex-end;
38
38
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-8ec615b8.js';
3
+ import '../../getDataTestId-356875da.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-8ec615b8.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-356875da.js';
4
4
  import { Amount as Amount$1 } from '@alfalab/core-components-amount/modern';
5
5
  import { Typography } from '@alfalab/core-components-typography/modern';
6
6
 
7
- var styles = {"component":"pure-cell__component_1o6w6"};
7
+ var styles = {"component":"pure-cell__component_ahc7h"};
8
8
  require('./index.css')
9
9
 
10
10
  const Amount = ({ weight = 'normal', textView = 'component', color = 'primary', minority, minorUnits = 100, dataTestId, ...restProps }) => (React.createElement(Typography.Text, { view: textView, dataTestId: getDataTestId(dataTestId, 'amount-text'), className: cn(styles.component), color: color },
@@ -1,4 +1,4 @@
1
- /* hash: 1als6 */
1
+ /* hash: 14x2b */
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_1o6w6 {
13
+ .pure-cell__component_ahc7h {
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-8ec615b8.js';
3
+ import '../../getDataTestId-356875da.js';
4
4
  import '@alfalab/core-components-amount/modern';
5
5
  import '@alfalab/core-components-typography/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-8ec615b8.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-356875da.js';
4
4
  import { Amount } from '@alfalab/core-components-amount/modern';
5
5
  import { Typography } from '@alfalab/core-components-typography/modern';
6
6
 
7
- var styles = {"component":"pure-cell__component_11bx4","weight":"pure-cell__weight_11bx4"};
7
+ var styles = {"component":"pure-cell__component_ydssv","weight":"pure-cell__weight_ydssv"};
8
8
  require('./index.css')
9
9
 
10
10
  const AmountTitle = ({ minority, minorUnits = 100, className, color = 'primary', dataTestId, ...restProps }) => (React.createElement(Typography.Title, { tag: 'h4', view: 'small', dataTestId: getDataTestId(dataTestId, 'amount-title'), className: styles.component, color: color },
@@ -1,4 +1,4 @@
1
- /* hash: 4zacz */
1
+ /* hash: 1v8mv */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,9 +7,9 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_11bx4 {
10
+ .pure-cell__component_ydssv {
11
11
  display: flex;
12
12
  }
13
- .pure-cell__weight_11bx4 {
13
+ .pure-cell__weight_ydssv {
14
14
  font-weight: inherit;
15
15
  }
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-8ec615b8.js';
3
+ import '../../getDataTestId-356875da.js';
4
4
  import '@alfalab/core-components-amount/modern';
5
5
  import '@alfalab/core-components-typography/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-8ec615b8.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-356875da.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_h12an","categoryName":"pure-cell__categoryName_h12an","categoryPercent":"pure-cell__categoryPercent_h12an","rightAddon":"pure-cell__rightAddon_h12an"};
5
+ var styles = {"component":"pure-cell__component_12cmd","categoryName":"pure-cell__categoryName_12cmd","categoryPercent":"pure-cell__categoryPercent_12cmd","rightAddon":"pure-cell__rightAddon_12cmd"};
6
6
  require('./index.css')
7
7
 
8
8
  const Category = ({ categoryName, categoryPercent, rightAddons, dataTestId, }) => (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
@@ -1,4 +1,4 @@
1
- /* hash: 1hbsu */
1
+ /* hash: 1bn2z */
2
2
  :root {
3
3
  --color-light-bg-secondary: #f3f4f5;
4
4
  }
@@ -18,24 +18,24 @@
18
18
  :root {
19
19
  --border-radius-xl: 16px;
20
20
  }
21
- .pure-cell__component_h12an {
21
+ .pure-cell__component_12cmd {
22
22
  display: flex;
23
23
  overflow: hidden;
24
24
  padding: var(--gap-3xs) 0;
25
25
  }
26
- .pure-cell__categoryName_h12an {
26
+ .pure-cell__categoryName_12cmd {
27
27
  display: -webkit-box;
28
28
  -webkit-line-clamp: 1;
29
29
  -webkit-box-orient: vertical;
30
30
  overflow: hidden;
31
31
  word-break: break-all;
32
32
  }
33
- .pure-cell__categoryPercent_h12an {
33
+ .pure-cell__categoryPercent_12cmd {
34
34
  padding: 0 var(--gap-xs);
35
35
  background-color: var(--color-light-bg-secondary);
36
36
  border-radius: var(--border-radius-xl);
37
37
  margin-left: var(--gap-2xs);
38
38
  }
39
- .pure-cell__rightAddon_h12an {
39
+ .pure-cell__rightAddon_12cmd {
40
40
  margin-left: var(--gap-2xs);
41
41
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-8ec615b8.js';
2
+ import '../../getDataTestId-356875da.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
4
  export { Category } from './component.js';
@@ -3,14 +3,14 @@ import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-comment/modern';
5
5
  import '@alfalab/hooks';
6
- import '../../getDataTestId-8ec615b8.js';
6
+ import '../../getDataTestId-356875da.js';
7
7
  import '../addon/component.js';
8
8
  import '@alfalab/core-components-amount/modern';
9
9
  import '@alfalab/core-components-typography/modern';
10
10
  import '../amount/component.js';
11
11
  import '../amount-title/component.js';
12
12
  import '../category/component.js';
13
- export { C as Content } from '../../component-d8e1fafe.js';
13
+ export { C as Content } from '../../component-9814fff5.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: 4wkfs */
1
+ /* hash: 1vni2 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,12 +7,12 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1a1dz {
10
+ .pure-cell__component_1739o {
11
11
  flex-basis: 100%;
12
12
  display: grid;
13
13
  grid-template-columns: 1fr auto
14
14
  }
15
- .pure-cell__component_1a1dz.pure-cell__horizontal_1a1dz {
15
+ .pure-cell__component_1739o.pure-cell__horizontal_1739o {
16
16
  /* for button */
17
17
  align-self: stretch;
18
18
  }
@@ -1 +1 @@
1
- export * from "../../component-d8e1fafe";
1
+ export * from "../../component-9814fff5";
@@ -3,14 +3,14 @@ import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-comment/modern';
5
5
  import '@alfalab/hooks';
6
- import '../../getDataTestId-8ec615b8.js';
6
+ import '../../getDataTestId-356875da.js';
7
7
  import '../addon/component.js';
8
8
  import '@alfalab/core-components-amount/modern';
9
9
  import '@alfalab/core-components-typography/modern';
10
10
  import '../amount/component.js';
11
11
  import '../amount-title/component.js';
12
12
  import '../category/component.js';
13
- export { C as Content } from '../../component-d8e1fafe.js';
13
+ export { C as Content } from '../../component-9814fff5.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-8ec615b8.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-356875da.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1vxmd","none":"pure-cell__none_1vxmd","default":"pure-cell__default_1vxmd"};
5
+ var styles = {"component":"pure-cell__component_1szi2","none":"pure-cell__none_1szi2","default":"pure-cell__default_1szi2"};
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: 1exdm */
1
+ /* hash: 165m2 */
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_1vxmd {
13
+ .pure-cell__component_1szi2 {
14
14
  grid-column: 1/3;
15
15
  display: grid;
16
16
  grid-row-gap: var(--gap-xs)
17
17
  }
18
- .pure-cell__component_1vxmd.pure-cell__none_1vxmd {
18
+ .pure-cell__component_1szi2.pure-cell__none_1szi2 {
19
19
  margin-top: 0;
20
20
  }
21
- .pure-cell__component_1vxmd.pure-cell__default_1vxmd {
21
+ .pure-cell__component_1szi2.pure-cell__default_1szi2 {
22
22
  margin-top: var(--gap-xs);
23
23
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-8ec615b8.js';
3
+ import '../../getDataTestId-356875da.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-8ec615b8.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-356875da.js';
3
3
  import { Button } from '@alfalab/core-components-button/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_vt713"};
5
+ var styles = {"component":"pure-cell__component_yrbc8"};
6
6
  require('./index.css')
7
7
 
8
8
  const FooterButton = ({ children, dataTestId, ...props }) => (React.createElement(Button, { ...props, size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }, children));
@@ -1,4 +1,4 @@
1
- /* hash: 1uqte */
1
+ /* hash: 4hgw1 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,6 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_vt713 {
10
+ .pure-cell__component_yrbc8 {
11
11
  justify-self: start;
12
12
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-8ec615b8.js';
2
+ import '../../getDataTestId-356875da.js';
3
3
  import '@alfalab/core-components-button/modern';
4
4
  export { FooterButton } from './component.js';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-8ec615b8.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-356875da.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-8ec615b8.js';
2
+ import '../../getDataTestId-356875da.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
4
  export { FooterText } from './component.js';
@@ -10,6 +10,10 @@ type Props = {
10
10
  * Идентификатор для систем автоматизированного тестирования
11
11
  */
12
12
  dataTestId?: string;
13
+ /**
14
+ * Вертикальное выравнивание
15
+ */
16
+ verticalAlign?: 'top' | 'center' | 'bottom';
13
17
  };
14
18
  declare const Graphics: React.FC<Props>;
15
19
  export { Props, Graphics };
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-8ec615b8.js';
2
+ import cn from 'classnames';
3
+ import { g as getDataTestId } from '../../getDataTestId-356875da.js';
3
4
 
4
- var styles = {"component":"pure-cell__component_fwkic"};
5
+ var styles = {"component":"pure-cell__component_1bfxc","top":"pure-cell__top_1bfxc","center":"pure-cell__center_1bfxc","bottom":"pure-cell__bottom_1bfxc"};
5
6
  require('./index.css')
6
7
 
7
- const Graphics = ({ children, dataTestId }) => (React.createElement("section", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'graphics') }, children));
8
+ const Graphics = ({ children, dataTestId, verticalAlign = 'top' }) => (React.createElement("section", { className: cn(styles.component, styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'graphics') }, children));
8
9
 
9
10
  export { Graphics };
@@ -1,4 +1,4 @@
1
- /* hash: 14yxo */
1
+ /* hash: t4mjx */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,15 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_fwkic {
10
+ .pure-cell__component_1bfxc {
11
11
  flex-basis: auto;
12
12
  }
13
+ .pure-cell__top_1bfxc {
14
+ align-self: flex-start;
15
+ }
16
+ .pure-cell__center_1bfxc {
17
+ align-self: center;
18
+ }
19
+ .pure-cell__bottom_1bfxc {
20
+ align-self: flex-end;
21
+ }
@@ -1,3 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-8ec615b8.js';
2
+ import 'classnames';
3
+ import '../../getDataTestId-356875da.js';
3
4
  export { Graphics } from './component.js';
@@ -3,14 +3,14 @@ import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-comment/modern';
5
5
  import '@alfalab/hooks';
6
- import '../../getDataTestId-8ec615b8.js';
6
+ import '../../getDataTestId-356875da.js';
7
7
  import '../addon/component.js';
8
8
  import '@alfalab/core-components-amount/modern';
9
9
  import '@alfalab/core-components-typography/modern';
10
10
  import '../amount/component.js';
11
11
  import '../amount-title/component.js';
12
12
  import '../category/component.js';
13
- export { M as Main } from '../../component-d8e1fafe.js';
13
+ export { M as Main } from '../../component-9814fff5.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: a06fj */
1
+ /* hash: fowao */
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_ivnjs {
13
+ .pure-cell__component_1wl7i {
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_ivnjs.pure-cell__vertical_ivnjs {
21
+ .pure-cell__component_1wl7i.pure-cell__vertical_1wl7i {
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_ivnjs.pure-cell__reverse_ivnjs {
29
+ .pure-cell__component_1wl7i.pure-cell__reverse_1wl7i {
30
30
  flex-direction: column-reverse;
31
31
  }
@@ -1 +1 @@
1
- export * from "../../component-d8e1fafe";
1
+ export * from "../../component-9814fff5";
@@ -3,14 +3,14 @@ import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-comment/modern';
5
5
  import '@alfalab/hooks';
6
- import '../../getDataTestId-8ec615b8.js';
6
+ import '../../getDataTestId-356875da.js';
7
7
  import '../addon/component.js';
8
8
  import '@alfalab/core-components-amount/modern';
9
9
  import '@alfalab/core-components-typography/modern';
10
10
  import '../amount/component.js';
11
11
  import '../amount-title/component.js';
12
12
  import '../category/component.js';
13
- export { M as Main } from '../../component-d8e1fafe.js';
13
+ export { M as Main } from '../../component-9814fff5.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';
@@ -3,14 +3,14 @@ import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/core-components-comment/modern';
5
5
  import '@alfalab/hooks';
6
- import '../../getDataTestId-8ec615b8.js';
6
+ import '../../getDataTestId-356875da.js';
7
7
  import '../addon/component.js';
8
8
  import '@alfalab/core-components-amount/modern';
9
9
  import '@alfalab/core-components-typography/modern';
10
10
  import '../amount/component.js';
11
11
  import '../amount-title/component.js';
12
12
  import '../category/component.js';
13
- export { T as Text } from '../../component-d8e1fafe.js';
13
+ export { T as Text } from '../../component-9814fff5.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';