@alfalab/core-components-pure-cell 4.1.2 → 4.1.3

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 (136) hide show
  1. package/{component-cf0c249b.d.ts → component-9d5aabde.d.ts} +0 -0
  2. package/{component-cf0c249b.js → component-9d5aabde.js} +6 -6
  3. package/component-c49f24a8.d.ts +8 -8
  4. package/component.js +3 -3
  5. package/components/addon/component.js +2 -2
  6. package/components/addon/index.css +9 -9
  7. package/components/addon/index.js +1 -1
  8. package/components/amount/component.js +3 -3
  9. package/components/amount/index.css +2 -2
  10. package/components/amount/index.js +2 -2
  11. package/components/amount-title/component.js +3 -3
  12. package/components/amount-title/index.css +3 -3
  13. package/components/amount-title/index.js +2 -2
  14. package/components/category/component.js +2 -2
  15. package/components/category/index.css +5 -5
  16. package/components/category/index.js +1 -1
  17. package/components/content/component.js +3 -3
  18. package/components/content/index.css +3 -3
  19. package/components/content/index.d.ts +1 -1
  20. package/components/content/index.js +3 -3
  21. package/components/footer/component.js +2 -2
  22. package/components/footer/index.css +4 -4
  23. package/components/footer/index.js +1 -1
  24. package/components/footer-button/component.js +3 -3
  25. package/components/footer-button/index.css +2 -2
  26. package/components/footer-button/index.js +2 -2
  27. package/components/footer-text/component.js +1 -1
  28. package/components/footer-text/index.js +1 -1
  29. package/components/graphics/component.js +2 -2
  30. package/components/graphics/index.css +5 -5
  31. package/components/graphics/index.js +1 -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/components/types.d.ts +1 -1
  41. package/cssm/components/types.d.ts +1 -1
  42. package/esm/{component-00a473f9.d.ts → component-65ac8158.d.ts} +0 -0
  43. package/esm/{component-00a473f9.js → component-65ac8158.js} +6 -6
  44. package/esm/component.js +3 -3
  45. package/esm/components/addon/component.js +2 -2
  46. package/esm/components/addon/index.css +9 -9
  47. package/esm/components/addon/index.js +1 -1
  48. package/esm/components/amount/component.js +3 -3
  49. package/esm/components/amount/index.css +2 -2
  50. package/esm/components/amount/index.js +2 -2
  51. package/esm/components/amount-title/component.js +3 -3
  52. package/esm/components/amount-title/index.css +3 -3
  53. package/esm/components/amount-title/index.js +2 -2
  54. package/esm/components/category/component.js +2 -2
  55. package/esm/components/category/index.css +5 -5
  56. package/esm/components/category/index.js +1 -1
  57. package/esm/components/content/component.js +3 -3
  58. package/esm/components/content/index.css +3 -3
  59. package/esm/components/content/index.d.ts +1 -1
  60. package/esm/components/content/index.js +3 -3
  61. package/esm/components/footer/component.js +2 -2
  62. package/esm/components/footer/index.css +4 -4
  63. package/esm/components/footer/index.js +1 -1
  64. package/esm/components/footer-button/component.js +3 -3
  65. package/esm/components/footer-button/index.css +2 -2
  66. package/esm/components/footer-button/index.js +2 -2
  67. package/esm/components/footer-text/component.js +1 -1
  68. package/esm/components/footer-text/index.js +1 -1
  69. package/esm/components/graphics/component.js +2 -2
  70. package/esm/components/graphics/index.css +5 -5
  71. package/esm/components/graphics/index.js +1 -1
  72. package/esm/components/main/component.js +3 -3
  73. package/esm/components/main/index.css +4 -4
  74. package/esm/components/main/index.d.ts +1 -1
  75. package/esm/components/main/index.js +3 -3
  76. package/esm/components/text/component.js +3 -3
  77. package/esm/components/text/index.css +7 -7
  78. package/esm/components/text/index.d.ts +1 -1
  79. package/esm/components/text/index.js +3 -3
  80. package/esm/components/types.d.ts +1 -1
  81. package/esm/{getDataTestId-59f312e8.d.ts → getDataTestId-d9920c56.d.ts} +0 -0
  82. package/esm/{getDataTestId-59f312e8.js → getDataTestId-d9920c56.js} +0 -0
  83. package/esm/index.css +19 -19
  84. package/esm/index.js +3 -3
  85. package/esm/{tslib.es6-abb523cb.d.ts → tslib.es6-0b81605a.d.ts} +0 -0
  86. package/esm/{tslib.es6-abb523cb.js → tslib.es6-0b81605a.js} +0 -0
  87. package/{getDataTestId-dd8c396a.d.ts → getDataTestId-10edb210.d.ts} +0 -0
  88. package/{getDataTestId-dd8c396a.js → getDataTestId-10edb210.js} +0 -0
  89. package/index.css +19 -19
  90. package/index.js +3 -3
  91. package/modern/{component-fc8739ab.d.ts → component-24de356a.d.ts} +0 -0
  92. package/modern/{component-fc8739ab.js → component-24de356a.js} +5 -5
  93. package/modern/component.js +2 -2
  94. package/modern/components/addon/component.js +2 -2
  95. package/modern/components/addon/index.css +9 -9
  96. package/modern/components/addon/index.js +1 -1
  97. package/modern/components/amount/component.js +2 -2
  98. package/modern/components/amount/index.css +2 -2
  99. package/modern/components/amount/index.js +1 -1
  100. package/modern/components/amount-title/component.js +2 -2
  101. package/modern/components/amount-title/index.css +3 -3
  102. package/modern/components/amount-title/index.js +1 -1
  103. package/modern/components/category/component.js +2 -2
  104. package/modern/components/category/index.css +5 -5
  105. package/modern/components/category/index.js +1 -1
  106. package/modern/components/content/component.js +2 -2
  107. package/modern/components/content/index.css +3 -3
  108. package/modern/components/content/index.d.ts +1 -1
  109. package/modern/components/content/index.js +2 -2
  110. package/modern/components/footer/component.js +2 -2
  111. package/modern/components/footer/index.css +4 -4
  112. package/modern/components/footer/index.js +1 -1
  113. package/modern/components/footer-button/component.js +2 -2
  114. package/modern/components/footer-button/index.css +2 -2
  115. package/modern/components/footer-button/index.js +1 -1
  116. package/modern/components/footer-text/component.js +1 -1
  117. package/modern/components/footer-text/index.js +1 -1
  118. package/modern/components/graphics/component.js +2 -2
  119. package/modern/components/graphics/index.css +5 -5
  120. package/modern/components/graphics/index.js +1 -1
  121. package/modern/components/main/component.js +2 -2
  122. package/modern/components/main/index.css +4 -4
  123. package/modern/components/main/index.d.ts +1 -1
  124. package/modern/components/main/index.js +2 -2
  125. package/modern/components/text/component.js +2 -2
  126. package/modern/components/text/index.css +7 -7
  127. package/modern/components/text/index.d.ts +1 -1
  128. package/modern/components/text/index.js +2 -2
  129. package/modern/components/types.d.ts +1 -1
  130. package/modern/{getDataTestId-17fdbf5d.d.ts → getDataTestId-d2f80834.d.ts} +0 -0
  131. package/modern/{getDataTestId-17fdbf5d.js → getDataTestId-d2f80834.js} +0 -0
  132. package/modern/index.css +19 -19
  133. package/modern/index.js +2 -2
  134. package/package.json +3 -3
  135. /package/{tslib.es6-74c9baf4.d.ts → tslib.es6-8010907c.d.ts} +0 -0
  136. /package/{tslib.es6-74c9baf4.js → tslib.es6-8010907c.js} +0 -0
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-17fdbf5d.js';
3
+ import '../../getDataTestId-d2f80834.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-17fdbf5d.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d2f80834.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_1o6hm"};
7
+ var styles = {"component":"pure-cell__component_4v24m"};
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: 7pxbd */
1
+ /* hash: 1gvny */
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_1o6hm {
13
+ .pure-cell__component_4v24m {
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-17fdbf5d.js';
3
+ import '../../getDataTestId-d2f80834.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-17fdbf5d.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d2f80834.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_18ouu","weight":"pure-cell__weight_18ouu"};
7
+ var styles = {"component":"pure-cell__component_kjo0f","weight":"pure-cell__weight_kjo0f"};
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: hlf3z */
1
+ /* hash: rsg7y */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,9 +7,9 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_18ouu {
10
+ .pure-cell__component_kjo0f {
11
11
  display: flex;
12
12
  }
13
- .pure-cell__weight_18ouu {
13
+ .pure-cell__weight_kjo0f {
14
14
  font-weight: inherit;
15
15
  }
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-17fdbf5d.js';
3
+ import '../../getDataTestId-d2f80834.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-17fdbf5d.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
3
3
  import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_h0nqw","categoryName":"pure-cell__categoryName_h0nqw","categoryPercent":"pure-cell__categoryPercent_h0nqw","rightAddon":"pure-cell__rightAddon_h0nqw"};
5
+ var styles = {"component":"pure-cell__component_wqcau","categoryName":"pure-cell__categoryName_wqcau","categoryPercent":"pure-cell__categoryPercent_wqcau","rightAddon":"pure-cell__rightAddon_wqcau"};
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: efxzc */
1
+ /* hash: 86wbx */
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_h0nqw {
21
+ .pure-cell__component_wqcau {
22
22
  display: flex;
23
23
  overflow: hidden;
24
24
  padding: var(--gap-3xs) 0;
25
25
  }
26
- .pure-cell__categoryName_h0nqw {
26
+ .pure-cell__categoryName_wqcau {
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_h0nqw {
33
+ .pure-cell__categoryPercent_wqcau {
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_h0nqw {
39
+ .pure-cell__rightAddon_wqcau {
40
40
  margin-left: var(--gap-2xs);
41
41
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-17fdbf5d.js';
2
+ import '../../getDataTestId-d2f80834.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-17fdbf5d.js';
6
+ import '../../getDataTestId-d2f80834.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-fc8739ab.js';
13
+ export { C as Content } from '../../component-24de356a.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: ttj0a */
1
+ /* hash: 199t3 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,12 +7,12 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1sf8b {
10
+ .pure-cell__component_ecump {
11
11
  flex-basis: 100%;
12
12
  display: grid;
13
13
  grid-template-columns: 1fr auto
14
14
  }
15
- .pure-cell__component_1sf8b.pure-cell__horizontal_1sf8b {
15
+ .pure-cell__component_ecump.pure-cell__horizontal_ecump {
16
16
  /* for button */
17
17
  align-self: stretch;
18
18
  }
@@ -1 +1 @@
1
- export * from "../../component-fc8739ab";
1
+ export * from "../../component-24de356a";
@@ -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-17fdbf5d.js';
6
+ import '../../getDataTestId-d2f80834.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-fc8739ab.js';
13
+ export { C as Content } from '../../component-24de356a.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-17fdbf5d.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_49g1w","none":"pure-cell__none_49g1w","default":"pure-cell__default_49g1w"};
5
+ var styles = {"component":"pure-cell__component_1f5d9","none":"pure-cell__none_1f5d9","default":"pure-cell__default_1f5d9"};
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: 1rjid */
1
+ /* hash: 2pffb */
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_49g1w {
13
+ .pure-cell__component_1f5d9 {
14
14
  grid-column: 1/3;
15
15
  display: grid;
16
16
  grid-row-gap: var(--gap-xs)
17
17
  }
18
- .pure-cell__component_49g1w.pure-cell__none_49g1w {
18
+ .pure-cell__component_1f5d9.pure-cell__none_1f5d9 {
19
19
  margin-top: 0;
20
20
  }
21
- .pure-cell__component_49g1w.pure-cell__default_49g1w {
21
+ .pure-cell__component_1f5d9.pure-cell__default_1f5d9 {
22
22
  margin-top: var(--gap-xs);
23
23
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-17fdbf5d.js';
3
+ import '../../getDataTestId-d2f80834.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-17fdbf5d.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
3
3
  import { Button } from '@alfalab/core-components-button/modern';
4
4
 
5
- var styles = {"component":"pure-cell__component_og9ad"};
5
+ var styles = {"component":"pure-cell__component_1clg4"};
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: 1126y */
1
+ /* hash: qv5uu */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,6 +7,6 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_og9ad {
10
+ .pure-cell__component_1clg4 {
11
11
  justify-self: start;
12
12
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
- import '../../getDataTestId-17fdbf5d.js';
2
+ import '../../getDataTestId-d2f80834.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-17fdbf5d.js';
2
+ import { g as getDataTestId } from '../../getDataTestId-d2f80834.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-17fdbf5d.js';
2
+ import '../../getDataTestId-d2f80834.js';
3
3
  import '@alfalab/core-components-typography/modern';
4
4
  export { FooterText } from './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-17fdbf5d.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d2f80834.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_klb9z","top":"pure-cell__top_klb9z","center":"pure-cell__center_klb9z","bottom":"pure-cell__bottom_klb9z"};
5
+ var styles = {"component":"pure-cell__component_1qvws","top":"pure-cell__top_1qvws","center":"pure-cell__center_1qvws","bottom":"pure-cell__bottom_1qvws"};
6
6
  require('./index.css')
7
7
 
8
8
  const Graphics = ({ children, dataTestId, verticalAlign = 'top' }) => (React.createElement("section", { className: cn(styles.component, styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'graphics') }, children));
@@ -1,4 +1,4 @@
1
- /* hash: 1u4w9 */
1
+ /* hash: 1ur52 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,15 +7,15 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_klb9z {
10
+ .pure-cell__component_1qvws {
11
11
  flex-basis: auto;
12
12
  }
13
- .pure-cell__top_klb9z {
13
+ .pure-cell__top_1qvws {
14
14
  align-self: flex-start;
15
15
  }
16
- .pure-cell__center_klb9z {
16
+ .pure-cell__center_1qvws {
17
17
  align-self: center;
18
18
  }
19
- .pure-cell__bottom_klb9z {
19
+ .pure-cell__bottom_1qvws {
20
20
  align-self: flex-end;
21
21
  }
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-17fdbf5d.js';
3
+ import '../../getDataTestId-d2f80834.js';
4
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-17fdbf5d.js';
6
+ import '../../getDataTestId-d2f80834.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-fc8739ab.js';
13
+ export { M as Main } from '../../component-24de356a.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: vtjm2 */
1
+ /* hash: 122l9 */
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_iw23j {
13
+ .pure-cell__component_36djl {
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_iw23j.pure-cell__vertical_iw23j {
21
+ .pure-cell__component_36djl.pure-cell__vertical_36djl {
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_iw23j.pure-cell__reverse_iw23j {
29
+ .pure-cell__component_36djl.pure-cell__reverse_36djl {
30
30
  flex-direction: column-reverse;
31
31
  }
@@ -1 +1 @@
1
- export * from "../../component-fc8739ab";
1
+ export * from "../../component-24de356a";
@@ -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-17fdbf5d.js';
6
+ import '../../getDataTestId-d2f80834.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-fc8739ab.js';
13
+ export { M as Main } from '../../component-24de356a.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-17fdbf5d.js';
6
+ import '../../getDataTestId-d2f80834.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-fc8739ab.js';
13
+ export { T as Text } from '../../component-24de356a.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: 3ldsh */
1
+ /* hash: dsewg */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,34 +11,34 @@
11
11
  --gap-3xs: 2px;
12
12
  --gap-m: 16px;
13
13
  }
14
- .pure-cell__horizontal_ez7oz {
14
+ .pure-cell__horizontal_1pv4w {
15
15
  padding: var(--gap-3xs) 0;
16
16
  }
17
- .pure-cell__rowLimit1_ez7oz {
17
+ .pure-cell__rowLimit1_1pv4w {
18
18
  -webkit-line-clamp: 1;
19
19
  display: -webkit-box;
20
20
  -webkit-box-orient: vertical;
21
21
  overflow: hidden;
22
22
  word-break: break-all;
23
23
  }
24
- .pure-cell__rowLimit2_ez7oz {
24
+ .pure-cell__rowLimit2_1pv4w {
25
25
  -webkit-line-clamp: 2;
26
26
  display: -webkit-box;
27
27
  -webkit-box-orient: vertical;
28
28
  overflow: hidden;
29
29
  word-break: break-all;
30
30
  }
31
- .pure-cell__component_ez7oz {
31
+ .pure-cell__component_1pv4w {
32
32
  display: flex;
33
33
  flex-direction: row;
34
34
  flex-wrap: nowrap;
35
35
  justify-content: space-between;
36
36
  margin: var(--gap-3xs) 0;
37
37
  }
38
- .pure-cell__component_ez7oz .pure-cell__vertical_ez7oz {
38
+ .pure-cell__component_1pv4w .pure-cell__vertical_1pv4w {
39
39
  justify-content: center;
40
40
  }
41
- .pure-cell__title_ez7oz + .pure-cell__value_ez7oz {
41
+ .pure-cell__title_1pv4w + .pure-cell__value_1pv4w {
42
42
  margin-left: var(--gap-m);
43
43
  flex-shrink: 0;
44
44
  }
@@ -1 +1 @@
1
- export * from "../../component-fc8739ab";
1
+ export * from "../../component-24de356a";
@@ -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-17fdbf5d.js';
6
+ import '../../getDataTestId-d2f80834.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-fc8739ab.js';
13
+ export { T as Text } from '../../component-24de356a.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';
@@ -14,7 +14,7 @@ type CommentElement = ReactElement<typeof Comment>;
14
14
  type FooterButtonElement = ReactElement<typeof FooterButton>;
15
15
  type FooterTitleElement = ReactElement<typeof FooterText>;
16
16
  type FooterElement = Array<ReactElement<FooterButtonElement> | FooterTitleElement> | CommentElement;
17
- type MainElement = Array<TextElement | AmountElement | AmountTitleElement> | (TextElement | AmountElement | AmountTitleElement);
17
+ type MainElement = Array<undefined | '' | TextElement | AmountElement | AmountTitleElement> | (TextElement | AmountElement | AmountTitleElement);
18
18
  type ContentElement = Array<MainElement | AddonElement | FooterElement> | MainElement;
19
19
  type AddonElement = Array<TextElement | ReactNode> | TextElement | ReactNode;
20
20
  type PureCellElement = Array<GraphicsElement | ContentElement> | ContentElement;
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 8bj7a */
1
+ /* hash: m5rsn */
2
2
  :root {
3
3
  --color-light-border-link: #007aff;
4
4
  }
@@ -19,25 +19,25 @@
19
19
  :root {
20
20
  --focus-color: var(--color-light-border-link);
21
21
  }
22
- .pure-cell__component_pke0p {
22
+ .pure-cell__component_159d8 {
23
23
  text-align: unset;
24
24
 
25
25
  /** line-height наследуется. Если его не обнулить, то все иконки внутри будут иметь неверный размер */
26
26
  line-height: 0;
27
27
  box-sizing: border-box;
28
28
  }
29
- .pure-cell__horizontal_pke0p {
29
+ .pure-cell__horizontal_159d8 {
30
30
  display: flex;
31
31
  width: 100%;
32
32
  grid-column-gap: var(--gap-m);
33
33
  }
34
- .pure-cell__vertical_pke0p {
34
+ .pure-cell__vertical_159d8 {
35
35
  display: flex;
36
36
  align-items: center;
37
37
  flex-direction: column;
38
38
  grid-row-gap: var(--gap-s);
39
39
  }
40
- .pure-cell__button_pke0p {
40
+ .pure-cell__button_159d8 {
41
41
  font-family: inherit;
42
42
  background: none;
43
43
  border: 0;
@@ -46,50 +46,50 @@
46
46
  transition: opacity 0.15s ease-in-out;
47
47
  padding: 0
48
48
  }
49
- .pure-cell__button_pke0p:hover {
49
+ .pure-cell__button_159d8:hover {
50
50
  opacity: 0.8;
51
51
  }
52
- .pure-cell__button_pke0p:active {
52
+ .pure-cell__button_159d8:active {
53
53
  opacity: 0.6;
54
54
  }
55
- .pure-cell__link_pke0p {
55
+ .pure-cell__link_159d8 {
56
56
  text-decoration: none;
57
57
  color: inherit;
58
58
  cursor: pointer;
59
59
  transition: opacity 0.15s ease-in-out
60
60
  }
61
- .pure-cell__link_pke0p:hover {
61
+ .pure-cell__link_159d8:hover {
62
62
  opacity: 0.8;
63
63
  }
64
- .pure-cell__link_pke0p:active {
64
+ .pure-cell__link_159d8:active {
65
65
  opacity: 0.6;
66
66
  }
67
- .pure-cell__none_pke0p {
67
+ .pure-cell__none_159d8 {
68
68
  padding: 0;
69
69
  }
70
- .pure-cell__airy_pke0p {
70
+ .pure-cell__airy_159d8 {
71
71
  padding: var(--gap-m) 0;
72
72
  }
73
- .pure-cell__defaultPadding_pke0p {
73
+ .pure-cell__defaultPadding_159d8 {
74
74
  padding: var(--gap-s) 0;
75
75
  }
76
- .pure-cell__compact_pke0p {
76
+ .pure-cell__compact_159d8 {
77
77
  padding: var(--gap-xs) 0;
78
78
  }
79
- .pure-cell__tiny_pke0p {
79
+ .pure-cell__tiny_159d8 {
80
80
  padding: var(--gap-2xs) 0;
81
81
  }
82
- .pure-cell__left_pke0p {
82
+ .pure-cell__left_159d8 {
83
83
  padding-left: var(--gap-m);
84
84
  }
85
- .pure-cell__right_pke0p {
85
+ .pure-cell__right_159d8 {
86
86
  padding-right: var(--gap-m);
87
87
  }
88
- .pure-cell__both_pke0p {
88
+ .pure-cell__both_159d8 {
89
89
  padding-right: var(--gap-m);
90
90
  padding-left: var(--gap-m);
91
91
  }
92
- .pure-cell__focused_pke0p {
92
+ .pure-cell__focused_159d8 {
93
93
  outline: 2px solid var(--focus-color);
94
94
  outline-offset: 2px;
95
95
  }
package/modern/index.js CHANGED
@@ -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-17fdbf5d.js';
6
+ import './getDataTestId-d2f80834.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 } from './component-fc8739ab.js';
13
+ export { P as PureCell } from './component-24de356a.js';
14
14
  import './components/footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import './components/footer-button/component.js';