@alfalab/core-components-pure-cell 4.0.2 → 4.1.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 (153) hide show
  1. package/{component-c04791cf.d.ts → component-08aef3f6.d.ts} +0 -0
  2. package/{component-c04791cf.js → component-08aef3f6.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-9010b0ab.d.ts → component-d000b3e4.d.ts} +0 -0
  59. package/esm/{component-9010b0ab.js → component-d000b3e4.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-a82f2b26.d.ts → getDataTestId-886016db.d.ts} +0 -0
  98. package/esm/{getDataTestId-a82f2b26.js → getDataTestId-886016db.js} +0 -0
  99. package/esm/index.css +23 -19
  100. package/esm/index.js +3 -3
  101. package/esm/{tslib.es6-26d6dd58.d.ts → tslib.es6-ccb7f8e5.d.ts} +0 -0
  102. package/esm/{tslib.es6-26d6dd58.js → tslib.es6-ccb7f8e5.js} +0 -0
  103. package/{getDataTestId-36b0b09b.d.ts → getDataTestId-2118139f.d.ts} +0 -0
  104. package/{getDataTestId-36b0b09b.js → getDataTestId-2118139f.js} +0 -0
  105. package/index.css +23 -19
  106. package/index.js +3 -3
  107. package/modern/{component-699dc784.d.ts → component-079ad2a0.d.ts} +0 -0
  108. package/modern/{component-699dc784.js → component-079ad2a0.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-a3e2fdbc.d.ts → getDataTestId-c3a3a8f3.d.ts} +0 -0
  147. package/modern/{getDataTestId-a3e2fdbc.js → getDataTestId-c3a3a8f3.js} +0 -0
  148. package/modern/index.css +23 -19
  149. package/modern/index.js +2 -2
  150. package/package.json +2 -2
  151. package/send-stats.js +1 -1
  152. /package/{tslib.es6-d4614c2f.d.ts → tslib.es6-d56318fa.d.ts} +0 -0
  153. /package/{tslib.es6-d4614c2f.js → tslib.es6-d56318fa.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-d4614c2f.js');
5
+ require('./tslib.es6-d56318fa.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-36b0b09b.js');
11
+ require('./getDataTestId-2118139f.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-c04791cf.js');
18
+ var components_content_component = require('./component-08aef3f6.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-a3e2fdbc.js';
6
+ import { g as getDataTestId } from './getDataTestId-c3a3a8f3.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_1b8h7","horizontal":"pure-cell__horizontal_1b8h7"};
17
+ var styles = {"component":"pure-cell__component_vj775","horizontal":"pure-cell__horizontal_vj775"};
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_hokcb","vertical":"pure-cell__vertical_hokcb","reverse":"pure-cell__reverse_hokcb"};
25
+ var styles$1 = {"component":"pure-cell__component_1l151","vertical":"pure-cell__vertical_1l151","reverse":"pure-cell__reverse_1l151"};
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_yqk08","rowLimit1":"pure-cell__rowLimit1_yqk08","rowLimit2":"pure-cell__rowLimit2_yqk08","component":"pure-cell__component_yqk08","vertical":"pure-cell__vertical_yqk08","title":"pure-cell__title_yqk08","value":"pure-cell__value_yqk08"};
35
+ var styles$2 = {"horizontal":"pure-cell__horizontal_1h4am","rowLimit1":"pure-cell__rowLimit1_1h4am","rowLimit2":"pure-cell__rowLimit2_1h4am","component":"pure-cell__component_1h4am","vertical":"pure-cell__vertical_1h4am","title":"pure-cell__title_1h4am","value":"pure-cell__value_1h4am"};
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_oqwpp","horizontal":"pure-cell__horizontal_oqwpp","vertical":"pure-cell__vertical_oqwpp","button":"pure-cell__button_oqwpp","link":"pure-cell__link_oqwpp","none":"pure-cell__none_oqwpp","airy":"pure-cell__airy_oqwpp","defaultPadding":"pure-cell__defaultPadding_oqwpp","compact":"pure-cell__compact_oqwpp","tiny":"pure-cell__tiny_oqwpp","left":"pure-cell__left_oqwpp","right":"pure-cell__right_oqwpp","both":"pure-cell__both_oqwpp","focused":"pure-cell__focused_oqwpp"};
48
+ var styles$3 = {"component":"pure-cell__component_11rrx","horizontal":"pure-cell__horizontal_11rrx","vertical":"pure-cell__vertical_11rrx","button":"pure-cell__button_11rrx","link":"pure-cell__link_11rrx","none":"pure-cell__none_11rrx","airy":"pure-cell__airy_11rrx","defaultPadding":"pure-cell__defaultPadding_11rrx","compact":"pure-cell__compact_11rrx","tiny":"pure-cell__tiny_11rrx","left":"pure-cell__left_11rrx","right":"pure-cell__right_11rrx","both":"pure-cell__both_11rrx","focused":"pure-cell__focused_11rrx"};
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-a3e2fdbc.js';
6
+ import './getDataTestId-c3a3a8f3.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-699dc784.js';
13
+ export { P as PureCell, a as PureCellContext } from './component-079ad2a0.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-a3e2fdbc.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-c3a3a8f3.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1l9he","none":"pure-cell__none_1l9he","default":"pure-cell__default_1l9he","addonPadding":"pure-cell__addonPadding_1l9he","top":"pure-cell__top_1l9he","center":"pure-cell__center_1l9he","bottom":"pure-cell__bottom_1l9he"};
5
+ var styles = {"component":"pure-cell__component_1yacm","none":"pure-cell__none_1yacm","default":"pure-cell__default_1yacm","addonPadding":"pure-cell__addonPadding_1yacm","top":"pure-cell__top_1yacm","center":"pure-cell__center_1yacm","bottom":"pure-cell__bottom_1yacm"};
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: 8c4yd */
1
+ /* hash: 1exyx */
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_1l9he {
13
+ .pure-cell__component_1yacm {
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  align-items: flex-end
17
17
  }
18
- .pure-cell__component_1l9he > * {
18
+ .pure-cell__component_1yacm > * {
19
19
  justify-content: flex-end;
20
20
  }
21
- .pure-cell__component_1l9he.pure-cell__none_1l9he {
21
+ .pure-cell__component_1yacm.pure-cell__none_1yacm {
22
22
  padding-left: 0;
23
23
  }
24
- .pure-cell__component_1l9he.pure-cell__default_1l9he {
24
+ .pure-cell__component_1yacm.pure-cell__default_1yacm {
25
25
  padding-left: var(--gap-m);
26
26
  }
27
- .pure-cell__component_1l9he.pure-cell__addonPadding_1l9he {
27
+ .pure-cell__component_1yacm.pure-cell__addonPadding_1yacm {
28
28
  padding-left: var(--gap-m);
29
29
  }
30
- .pure-cell__component_1l9he.pure-cell__top_1l9he {
30
+ .pure-cell__component_1yacm.pure-cell__top_1yacm {
31
31
  align-self: flex-start;
32
32
  }
33
- .pure-cell__component_1l9he.pure-cell__center_1l9he {
33
+ .pure-cell__component_1yacm.pure-cell__center_1yacm {
34
34
  align-self: center;
35
35
  }
36
- .pure-cell__component_1l9he.pure-cell__bottom_1l9he {
36
+ .pure-cell__component_1yacm.pure-cell__bottom_1yacm {
37
37
  align-self: flex-end;
38
38
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-a3e2fdbc.js';
3
+ import '../../getDataTestId-c3a3a8f3.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-a3e2fdbc.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-c3a3a8f3.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_1pdzd"};
7
+ var styles = {"component":"pure-cell__component_m1ep2"};
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: 1eomj */
1
+ /* hash: b8fvr */
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_1pdzd {
13
+ .pure-cell__component_m1ep2 {
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-a3e2fdbc.js';
3
+ import '../../getDataTestId-c3a3a8f3.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-a3e2fdbc.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-c3a3a8f3.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_1sg76","weight":"pure-cell__weight_1sg76"};
7
+ var styles = {"component":"pure-cell__component_bstqc","weight":"pure-cell__weight_bstqc"};
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: 1lh2n */
1
+ /* hash: i0w05 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,9 +7,9 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1sg76 {
10
+ .pure-cell__component_bstqc {
11
11
  display: flex;
12
12
  }
13
- .pure-cell__weight_1sg76 {
13
+ .pure-cell__weight_bstqc {
14
14
  font-weight: inherit;
15
15
  }
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-a3e2fdbc.js';
3
+ import '../../getDataTestId-c3a3a8f3.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-a3e2fdbc.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-c3a3a8f3.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_i85i4","categoryName":"pure-cell__categoryName_i85i4","categoryPercent":"pure-cell__categoryPercent_i85i4","rightAddon":"pure-cell__rightAddon_i85i4"};
5
+ var styles = {"component":"pure-cell__component_1dwov","categoryName":"pure-cell__categoryName_1dwov","categoryPercent":"pure-cell__categoryPercent_1dwov","rightAddon":"pure-cell__rightAddon_1dwov"};
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: 1len7 */
1
+ /* hash: hygjq */
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_i85i4 {
21
+ .pure-cell__component_1dwov {
22
22
  display: flex;
23
23
  overflow: hidden;
24
24
  padding: var(--gap-3xs) 0;
25
25
  }
26
- .pure-cell__categoryName_i85i4 {
26
+ .pure-cell__categoryName_1dwov {
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_i85i4 {
33
+ .pure-cell__categoryPercent_1dwov {
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_i85i4 {
39
+ .pure-cell__rightAddon_1dwov {
40
40
  margin-left: var(--gap-2xs);
41
41
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-a3e2fdbc.js';
2
+ import '../../getDataTestId-c3a3a8f3.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-a3e2fdbc.js';
6
+ import '../../getDataTestId-c3a3a8f3.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-699dc784.js';
13
+ export { C as Content } from '../../component-079ad2a0.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: 1lvxu */
1
+ /* hash: zi8vf */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,12 +7,12 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1b8h7 {
10
+ .pure-cell__component_vj775 {
11
11
  flex-basis: 100%;
12
12
  display: grid;
13
13
  grid-template-columns: 1fr auto
14
14
  }
15
- .pure-cell__component_1b8h7.pure-cell__horizontal_1b8h7 {
15
+ .pure-cell__component_vj775.pure-cell__horizontal_vj775 {
16
16
  /* for button */
17
17
  align-self: stretch;
18
18
  }
@@ -1 +1 @@
1
- export * from "../../component-699dc784";
1
+ export * from "../../component-079ad2a0";
@@ -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-a3e2fdbc.js';
6
+ import '../../getDataTestId-c3a3a8f3.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-699dc784.js';
13
+ export { C as Content } from '../../component-079ad2a0.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-a3e2fdbc.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-c3a3a8f3.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_o0sd5","none":"pure-cell__none_o0sd5","default":"pure-cell__default_o0sd5"};
5
+ var styles = {"component":"pure-cell__component_16eiz","none":"pure-cell__none_16eiz","default":"pure-cell__default_16eiz"};
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: we1v6 */
1
+ /* hash: 1ryz9 */
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_o0sd5 {
13
+ .pure-cell__component_16eiz {
14
14
  grid-column: 1/3;
15
15
  display: grid;
16
16
  grid-row-gap: var(--gap-xs)
17
17
  }
18
- .pure-cell__component_o0sd5.pure-cell__none_o0sd5 {
18
+ .pure-cell__component_16eiz.pure-cell__none_16eiz {
19
19
  margin-top: 0;
20
20
  }
21
- .pure-cell__component_o0sd5.pure-cell__default_o0sd5 {
21
+ .pure-cell__component_16eiz.pure-cell__default_16eiz {
22
22
  margin-top: var(--gap-xs);
23
23
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-a3e2fdbc.js';
3
+ import '../../getDataTestId-c3a3a8f3.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-a3e2fdbc.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-c3a3a8f3.js';
3
3
  import { Button } from '@alfalab/core-components-button/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_4owz3"};
5
+ var styles = {"component":"pure-cell__component_1lcae"};
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: e913u */
1
+ /* hash: 10mq2 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,6 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_4owz3 {
10
+ .pure-cell__component_1lcae {
11
11
  justify-self: start;
12
12
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-a3e2fdbc.js';
2
+ import '../../getDataTestId-c3a3a8f3.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-a3e2fdbc.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-c3a3a8f3.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-a3e2fdbc.js';
2
+ import '../../getDataTestId-c3a3a8f3.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-a3e2fdbc.js';
2
+ import cn from 'classnames';
3
+ import { g as getDataTestId } from '../../getDataTestId-c3a3a8f3.js';
3
4
 
4
- var styles = {"component":"pure-cell__component_mcwor"};
5
+ var styles = {"component":"pure-cell__component_1nebg","top":"pure-cell__top_1nebg","center":"pure-cell__center_1nebg","bottom":"pure-cell__bottom_1nebg"};
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: kvzko */
1
+ /* hash: 1mii2 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,15 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_mcwor {
10
+ .pure-cell__component_1nebg {
11
11
  flex-basis: auto;
12
12
  }
13
+ .pure-cell__top_1nebg {
14
+ align-self: flex-start;
15
+ }
16
+ .pure-cell__center_1nebg {
17
+ align-self: center;
18
+ }
19
+ .pure-cell__bottom_1nebg {
20
+ align-self: flex-end;
21
+ }
@@ -1,3 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-a3e2fdbc.js';
2
+ import 'classnames';
3
+ import '../../getDataTestId-c3a3a8f3.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-a3e2fdbc.js';
6
+ import '../../getDataTestId-c3a3a8f3.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-699dc784.js';
13
+ export { M as Main } from '../../component-079ad2a0.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: 5xc2v */
1
+ /* hash: sb11p */
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_hokcb {
13
+ .pure-cell__component_1l151 {
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_hokcb.pure-cell__vertical_hokcb {
21
+ .pure-cell__component_1l151.pure-cell__vertical_1l151 {
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_hokcb.pure-cell__reverse_hokcb {
29
+ .pure-cell__component_1l151.pure-cell__reverse_1l151 {
30
30
  flex-direction: column-reverse;
31
31
  }
@@ -1 +1 @@
1
- export * from "../../component-699dc784";
1
+ export * from "../../component-079ad2a0";
@@ -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-a3e2fdbc.js';
6
+ import '../../getDataTestId-c3a3a8f3.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-699dc784.js';
13
+ export { M as Main } from '../../component-079ad2a0.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-a3e2fdbc.js';
6
+ import '../../getDataTestId-c3a3a8f3.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-699dc784.js';
13
+ export { T as Text } from '../../component-079ad2a0.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';