@alfalab/core-components-pure-cell 4.2.0 → 4.2.2

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 (156) hide show
  1. package/{component-6d80a6bb.d.ts → component-3ebd102c.d.ts} +0 -0
  2. package/{component-6d80a6bb.js → component-3ebd102c.js} +9 -9
  3. package/component-c49f24a8.d.ts +4 -4
  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 +5 -5
  9. package/components/amount/index.css +2 -2
  10. package/components/amount/index.js +2 -2
  11. package/components/amount-title/component.js +5 -5
  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 +5 -5
  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/cssm/{component-73a2c8e0.d.ts → component-bd74da42.d.ts} +0 -0
  41. package/cssm/{component-73a2c8e0.js → component-bd74da42.js} +4 -4
  42. package/cssm/component-c49f24a8.d.ts +4 -4
  43. package/cssm/component.js +2 -2
  44. package/cssm/components/amount/component.js +3 -3
  45. package/cssm/components/amount/index.js +1 -1
  46. package/cssm/components/amount-title/component.js +3 -3
  47. package/cssm/components/amount-title/index.js +1 -1
  48. package/cssm/components/content/component.js +2 -2
  49. package/cssm/components/content/index.d.ts +1 -1
  50. package/cssm/components/content/index.js +2 -2
  51. package/cssm/components/footer-button/component.js +3 -3
  52. package/cssm/components/footer-button/index.js +1 -1
  53. package/cssm/components/main/component.js +2 -2
  54. package/cssm/components/main/index.d.ts +1 -1
  55. package/cssm/components/main/index.js +2 -2
  56. package/cssm/components/text/component.js +2 -2
  57. package/cssm/components/text/index.d.ts +1 -1
  58. package/cssm/components/text/index.js +2 -2
  59. package/cssm/index.js +2 -2
  60. package/esm/{component-2162d463.d.ts → component-a57ad7eb.d.ts} +0 -0
  61. package/esm/{component-2162d463.js → component-a57ad7eb.js} +6 -6
  62. package/esm/component-c49f24a8.d.ts +4 -4
  63. package/esm/component.js +3 -3
  64. package/esm/components/addon/component.js +2 -2
  65. package/esm/components/addon/index.css +9 -9
  66. package/esm/components/addon/index.js +1 -1
  67. package/esm/components/amount/component.js +3 -3
  68. package/esm/components/amount/index.css +2 -2
  69. package/esm/components/amount/index.js +2 -2
  70. package/esm/components/amount-title/component.js +3 -3
  71. package/esm/components/amount-title/index.css +3 -3
  72. package/esm/components/amount-title/index.js +2 -2
  73. package/esm/components/category/component.js +2 -2
  74. package/esm/components/category/index.css +5 -5
  75. package/esm/components/category/index.js +1 -1
  76. package/esm/components/content/component.js +3 -3
  77. package/esm/components/content/index.css +3 -3
  78. package/esm/components/content/index.d.ts +1 -1
  79. package/esm/components/content/index.js +3 -3
  80. package/esm/components/footer/component.js +2 -2
  81. package/esm/components/footer/index.css +4 -4
  82. package/esm/components/footer/index.js +1 -1
  83. package/esm/components/footer-button/component.js +3 -3
  84. package/esm/components/footer-button/index.css +2 -2
  85. package/esm/components/footer-button/index.js +2 -2
  86. package/esm/components/footer-text/component.js +1 -1
  87. package/esm/components/footer-text/index.js +1 -1
  88. package/esm/components/graphics/component.js +2 -2
  89. package/esm/components/graphics/index.css +5 -5
  90. package/esm/components/graphics/index.js +1 -1
  91. package/esm/components/main/component.js +3 -3
  92. package/esm/components/main/index.css +4 -4
  93. package/esm/components/main/index.d.ts +1 -1
  94. package/esm/components/main/index.js +3 -3
  95. package/esm/components/text/component.js +3 -3
  96. package/esm/components/text/index.css +7 -7
  97. package/esm/components/text/index.d.ts +1 -1
  98. package/esm/components/text/index.js +3 -3
  99. package/esm/{getDataTestId-d27be4d9.d.ts → getDataTestId-6f2a1754.d.ts} +0 -0
  100. package/esm/{getDataTestId-d27be4d9.js → getDataTestId-6f2a1754.js} +0 -0
  101. package/esm/index.css +21 -21
  102. package/esm/index.js +3 -3
  103. package/{getDataTestId-447314e8.d.ts → getDataTestId-b72d3494.d.ts} +0 -0
  104. package/{getDataTestId-447314e8.js → getDataTestId-b72d3494.js} +0 -0
  105. package/index.css +21 -21
  106. package/index.js +3 -3
  107. package/modern/{component-97272d9b.d.ts → component-3a507f4c.d.ts} +0 -0
  108. package/modern/{component-97272d9b.js → component-3a507f4c.js} +5 -5
  109. package/modern/component-c49f24a8.d.ts +4 -4
  110. package/modern/component.js +2 -2
  111. package/modern/components/addon/component.js +2 -2
  112. package/modern/components/addon/index.css +9 -9
  113. package/modern/components/addon/index.js +1 -1
  114. package/modern/components/amount/component.js +2 -2
  115. package/modern/components/amount/index.css +2 -2
  116. package/modern/components/amount/index.js +1 -1
  117. package/modern/components/amount-title/component.js +2 -2
  118. package/modern/components/amount-title/index.css +3 -3
  119. package/modern/components/amount-title/index.js +1 -1
  120. package/modern/components/category/component.js +2 -2
  121. package/modern/components/category/index.css +5 -5
  122. package/modern/components/category/index.js +1 -1
  123. package/modern/components/content/component.js +2 -2
  124. package/modern/components/content/index.css +3 -3
  125. package/modern/components/content/index.d.ts +1 -1
  126. package/modern/components/content/index.js +2 -2
  127. package/modern/components/footer/component.js +2 -2
  128. package/modern/components/footer/index.css +4 -4
  129. package/modern/components/footer/index.js +1 -1
  130. package/modern/components/footer-button/component.js +2 -2
  131. package/modern/components/footer-button/index.css +2 -2
  132. package/modern/components/footer-button/index.js +1 -1
  133. package/modern/components/footer-text/component.js +1 -1
  134. package/modern/components/footer-text/index.js +1 -1
  135. package/modern/components/graphics/component.js +2 -2
  136. package/modern/components/graphics/index.css +5 -5
  137. package/modern/components/graphics/index.js +1 -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-c31400ee.d.ts → getDataTestId-951ce18f.d.ts} +0 -0
  147. package/modern/{getDataTestId-c31400ee.js → getDataTestId-951ce18f.js} +0 -0
  148. package/modern/index.css +21 -21
  149. package/modern/index.js +2 -2
  150. package/package.json +7 -6
  151. package/cssm/tslib.es6-bbd6cd2a.d.ts +0 -36
  152. package/cssm/tslib.es6-bbd6cd2a.js +0 -42
  153. package/esm/tslib.es6-fc167669.d.ts +0 -36
  154. package/esm/tslib.es6-fc167669.js +0 -40
  155. package/tslib.es6-dc91a022.d.ts +0 -36
  156. package/tslib.es6-dc91a022.js +0 -42
@@ -3,7 +3,7 @@
3
3
  var components_graphics_component = require('./component.js');
4
4
  require('react');
5
5
  require('classnames');
6
- require('../../getDataTestId-447314e8.js');
6
+ require('../../getDataTestId-b72d3494.js');
7
7
 
8
8
 
9
9
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  require('react');
4
4
  require('classnames');
5
- require('../../getDataTestId-447314e8.js');
6
- var components_content_component = require('../../component-6d80a6bb.js');
7
- require('../../tslib.es6-dc91a022.js');
5
+ require('../../getDataTestId-b72d3494.js');
6
+ var components_content_component = require('../../component-3ebd102c.js');
7
+ require('tslib');
8
8
  require('react-merge-refs');
9
9
  require('@alfalab/core-components-comment');
10
10
  require('@alfalab/hooks');
@@ -1,4 +1,4 @@
1
- /* hash: 97364 */
1
+ /* hash: btr36 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -15,20 +15,20 @@
15
15
  --gap-3xs: 2px;
16
16
  } :root {
17
17
  } :root {
18
- } .pure-cell__component_1rtkh {
18
+ } .pure-cell__component_rsjfn {
19
19
  display: flex;
20
20
  flex-direction: column;
21
21
  align-self: center;
22
22
 
23
23
  /* can use /r/n */
24
24
  white-space: pre-line
25
- } .pure-cell__component_1rtkh.pure-cell__vertical_1rtkh {
25
+ } .pure-cell__component_rsjfn.pure-cell__vertical_rsjfn {
26
26
  grid-row-gap: var(--gap-3xs);
27
27
  justify-content: center;
28
28
  align-items: center;
29
29
 
30
30
  /* for button */
31
31
  text-align: center;
32
- } .pure-cell__component_1rtkh.pure-cell__reverse_1rtkh {
32
+ } .pure-cell__component_rsjfn.pure-cell__reverse_rsjfn {
33
33
  flex-direction: column-reverse;
34
34
  }
@@ -1 +1 @@
1
- export * from "../../component-6d80a6bb";
1
+ export * from "../../component-3ebd102c";
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('../../component-6d80a6bb.js');
4
- require('../../tslib.es6-dc91a022.js');
3
+ var components_content_component = require('../../component-3ebd102c.js');
4
+ require('tslib');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-comment');
9
9
  require('@alfalab/hooks');
10
10
  require('../addon/component.js');
11
- require('../../getDataTestId-447314e8.js');
11
+ require('../../getDataTestId-b72d3494.js');
12
12
  require('../amount/component.js');
13
13
  require('@alfalab/core-components-amount');
14
14
  require('@alfalab/core-components-typography');
@@ -3,9 +3,9 @@
3
3
  require('react');
4
4
  require('classnames');
5
5
  require('@alfalab/core-components-typography');
6
- require('../../getDataTestId-447314e8.js');
7
- var components_content_component = require('../../component-6d80a6bb.js');
8
- require('../../tslib.es6-dc91a022.js');
6
+ require('../../getDataTestId-b72d3494.js');
7
+ var components_content_component = require('../../component-3ebd102c.js');
8
+ require('tslib');
9
9
  require('react-merge-refs');
10
10
  require('@alfalab/core-components-comment');
11
11
  require('@alfalab/hooks');
@@ -1,4 +1,4 @@
1
- /* hash: cxydr */
1
+ /* hash: ki4n6 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -16,29 +16,29 @@
16
16
  --gap-m: 16px;
17
17
  } :root {
18
18
  } :root {
19
- } .pure-cell__horizontal_n59dw {
19
+ } .pure-cell__horizontal_15344 {
20
20
  padding: var(--gap-3xs) 0;
21
- } .pure-cell__rowLimit1_n59dw {
21
+ } .pure-cell__rowLimit1_15344 {
22
22
  -webkit-line-clamp: 1;
23
23
  display: -webkit-box;
24
24
  -webkit-box-orient: vertical;
25
25
  overflow: hidden;
26
26
  word-break: break-all;
27
- } .pure-cell__rowLimit2_n59dw {
27
+ } .pure-cell__rowLimit2_15344 {
28
28
  -webkit-line-clamp: 2;
29
29
  display: -webkit-box;
30
30
  -webkit-box-orient: vertical;
31
31
  overflow: hidden;
32
- } .pure-cell__component_n59dw {
32
+ } .pure-cell__component_15344 {
33
33
  display: flex;
34
34
  flex-direction: row;
35
35
  flex-wrap: nowrap;
36
36
  justify-content: space-between;
37
37
  margin: var(--gap-3xs) 0;
38
38
  word-break: break-word;
39
- } .pure-cell__component_n59dw .pure-cell__vertical_n59dw {
39
+ } .pure-cell__component_15344 .pure-cell__vertical_15344 {
40
40
  justify-content: center;
41
- } .pure-cell__title_n59dw + .pure-cell__value_n59dw {
41
+ } .pure-cell__title_15344 + .pure-cell__value_15344 {
42
42
  margin-left: var(--gap-m);
43
43
  flex-shrink: 0;
44
44
  }
@@ -1 +1 @@
1
- export * from "../../component-6d80a6bb";
1
+ export * from "../../component-3ebd102c";
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('../../component-6d80a6bb.js');
4
- require('../../tslib.es6-dc91a022.js');
3
+ var components_content_component = require('../../component-3ebd102c.js');
4
+ require('tslib');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-comment');
9
9
  require('@alfalab/hooks');
10
10
  require('../addon/component.js');
11
- require('../../getDataTestId-447314e8.js');
11
+ require('../../getDataTestId-b72d3494.js');
12
12
  require('../amount/component.js');
13
13
  require('@alfalab/core-components-amount');
14
14
  require('@alfalab/core-components-typography');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-bbd6cd2a.js');
3
+ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var mergeRefs = require('react-merge-refs');
6
6
  var cn = require('classnames');
@@ -63,7 +63,7 @@ var Text = function (_a) {
63
63
  var PureCellContext = React__default.default.createContext({});
64
64
  var PureCellComponent = React.forwardRef(function (_a, ref) {
65
65
  var _b, _c;
66
- var className = _a.className, dataTestId = _a.dataTestId, onClick = _a.onClick, href = _a.href, _d = _a.tag, Component = _d === void 0 ? (href && 'a') || (onClick && 'button') || 'section' : _d, children = _a.children, _e = _a.horizontalPadding, horizontalPadding = _e === void 0 ? 'none' : _e, _f = _a.verticalPadding, verticalPadding = _f === void 0 ? 'none' : _f, _g = _a.direction, direction = _g === void 0 ? 'horizontal' : _g, restProps = tslib_es6.__rest(_a, ["className", "dataTestId", "onClick", "href", "tag", "children", "horizontalPadding", "verticalPadding", "direction"]);
66
+ var className = _a.className, dataTestId = _a.dataTestId, onClick = _a.onClick, href = _a.href, _d = _a.tag, Component = _d === void 0 ? (href && 'a') || (onClick && 'button') || 'section' : _d, children = _a.children, _e = _a.horizontalPadding, horizontalPadding = _e === void 0 ? 'none' : _e, _f = _a.verticalPadding, verticalPadding = _f === void 0 ? 'none' : _f, _g = _a.direction, direction = _g === void 0 ? 'horizontal' : _g, restProps = tslib.__rest(_a, ["className", "dataTestId", "onClick", "href", "tag", "children", "horizontalPadding", "verticalPadding", "direction"]);
67
67
  var cellRef = React.useRef(null);
68
68
  var focused = hooks.useFocus(cellRef, 'keyboard')[0];
69
69
  var addClasses = (_b = {},
@@ -78,11 +78,11 @@ var PureCellComponent = React.forwardRef(function (_a, ref) {
78
78
  var target = restProps.target;
79
79
  // Для совместимости с react-router-dom, меняем href на to
80
80
  var hrefProps = (_c = {}, _c[typeof Component === 'string' ? 'href' : 'to'] = href, _c);
81
- return (React__default.default.createElement(Component, tslib_es6.__assign({ rel: target === '_blank' ? 'noreferrer noopener' : undefined }, restProps, hrefProps, { ref: mergeRefs__default.default([cellRef, ref]), className: cn__default.default(styles__default$3.default.link, addClasses, className), "data-test-id": dataTestId, onClick: onClick }),
81
+ return (React__default.default.createElement(Component, tslib.__assign({ rel: target === '_blank' ? 'noreferrer noopener' : undefined }, restProps, hrefProps, { ref: mergeRefs__default.default([cellRef, ref]), className: cn__default.default(styles__default$3.default.link, addClasses, className), "data-test-id": dataTestId, onClick: onClick }),
82
82
  React__default.default.createElement(PureCellContext.Provider, { value: { direction: direction } }, children)));
83
83
  }
84
84
  if (onClick) {
85
- return (React__default.default.createElement(Component, tslib_es6.__assign({}, restProps, { ref: mergeRefs__default.default([cellRef, ref]), className: cn__default.default(styles__default$3.default.button, addClasses, className), "data-test-id": dataTestId, onClick: onClick }),
85
+ return (React__default.default.createElement(Component, tslib.__assign({}, restProps, { ref: mergeRefs__default.default([cellRef, ref]), className: cn__default.default(styles__default$3.default.button, addClasses, className), "data-test-id": dataTestId, onClick: onClick }),
86
86
  React__default.default.createElement(PureCellContext.Provider, { value: { direction: direction } }, children)));
87
87
  }
88
88
  return (React__default.default.createElement(Component, { ref: ref, tabIndex: 0, className: cn__default.default(addClasses, className), "data-test-id": dataTestId },
@@ -67,19 +67,19 @@ declare const PureCell: React.ForwardRefExoticComponent<PureProps & React.RefAtt
67
67
  rowLimit?: 1 | 2 | undefined;
68
68
  view: "component" | "primary-large" | "primary-medium" | "primary-small";
69
69
  titleWeight?: "bold" | "regular" | undefined;
70
- titleColor: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative";
70
+ titleColor: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent";
71
71
  value?: React.ReactNode;
72
- valueColor?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
72
+ valueColor?: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
73
73
  dataTestId?: string | undefined;
74
74
  }>;
75
75
  Amount: React.FC<{
76
76
  weight?: "bold" | "normal" | undefined;
77
77
  textView?: "component" | "primary-small" | undefined;
78
- color?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
78
+ color?: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
79
79
  dataTestId?: string | undefined;
80
80
  } & import("./components/typesProps").AmountProps>;
81
81
  AmountTitle: React.FC<{
82
- color?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
82
+ color?: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
83
83
  } & import("./components/typesProps").AmountProps>;
84
84
  Addon: React.FC<{
85
85
  verticalAlign?: "top" | "center" | "bottom" | undefined;
package/cssm/component.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- require('./tslib.es6-bbd6cd2a.js');
3
+ require('tslib');
4
4
  require('react');
5
5
  require('react-merge-refs');
6
6
  require('classnames');
@@ -10,7 +10,7 @@ require('./components/addon/component.js');
10
10
  require('./components/amount/component.js');
11
11
  require('./components/amount-title/component.js');
12
12
  require('./components/category/component.js');
13
- var components_content_component = require('./component-73a2c8e0.js');
13
+ var components_content_component = require('./component-bd74da42.js');
14
14
  require('./components/footer/component.js');
15
15
  require('./components/footer-button/component.js');
16
16
  require('./components/footer-text/component.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-bbd6cd2a.js');
3
+ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var coreComponentsAmount = require('@alfalab/core-components-amount/cssm');
@@ -15,9 +15,9 @@ var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
  var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
16
16
 
17
17
  var Amount = function (_a) {
18
- var _b = _a.weight, weight = _b === void 0 ? 'normal' : _b, _c = _a.textView, textView = _c === void 0 ? 'component' : _c, _d = _a.color, color = _d === void 0 ? 'primary' : _d, minority = _a.minority, _e = _a.minorUnits, minorUnits = _e === void 0 ? 100 : _e, dataTestId = _a.dataTestId, restProps = tslib_es6.__rest(_a, ["weight", "textView", "color", "minority", "minorUnits", "dataTestId"]);
18
+ var _b = _a.weight, weight = _b === void 0 ? 'normal' : _b, _c = _a.textView, textView = _c === void 0 ? 'component' : _c, _d = _a.color, color = _d === void 0 ? 'primary' : _d, minority = _a.minority, _e = _a.minorUnits, minorUnits = _e === void 0 ? 100 : _e, dataTestId = _a.dataTestId, restProps = tslib.__rest(_a, ["weight", "textView", "color", "minority", "minorUnits", "dataTestId"]);
19
19
  return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: textView, dataTestId: getDataTestId.getDataTestId(dataTestId, 'amount-text'), className: cn__default.default(styles__default.default.component), color: color },
20
- React__default.default.createElement(coreComponentsAmount.Amount, tslib_es6.__assign({ minority: minority || minorUnits, bold: weight === 'bold' ? 'full' : 'none', dataTestId: getDataTestId.getDataTestId(dataTestId, 'amount') }, restProps))));
20
+ React__default.default.createElement(coreComponentsAmount.Amount, tslib.__assign({ minority: minority || minorUnits, bold: weight === 'bold' ? 'full' : 'none', dataTestId: getDataTestId.getDataTestId(dataTestId, 'amount') }, restProps))));
21
21
  };
22
22
 
23
23
  exports.Amount = Amount;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var components_amount_component = require('./component.js');
4
- require('../../tslib.es6-bbd6cd2a.js');
4
+ require('tslib');
5
5
  require('react');
6
6
  require('classnames');
7
7
  require('@alfalab/core-components-amount/cssm');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-bbd6cd2a.js');
3
+ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var coreComponentsAmount = require('@alfalab/core-components-amount/cssm');
@@ -15,9 +15,9 @@ var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
  var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
16
16
 
17
17
  var AmountTitle = function (_a) {
18
- var minority = _a.minority, _b = _a.minorUnits, minorUnits = _b === void 0 ? 100 : _b, className = _a.className, _c = _a.color, color = _c === void 0 ? 'primary' : _c, dataTestId = _a.dataTestId, restProps = tslib_es6.__rest(_a, ["minority", "minorUnits", "className", "color", "dataTestId"]);
18
+ var minority = _a.minority, _b = _a.minorUnits, minorUnits = _b === void 0 ? 100 : _b, className = _a.className, _c = _a.color, color = _c === void 0 ? 'primary' : _c, dataTestId = _a.dataTestId, restProps = tslib.__rest(_a, ["minority", "minorUnits", "className", "color", "dataTestId"]);
19
19
  return (React__default.default.createElement(coreComponentsTypography.Typography.Title, { tag: 'h4', view: 'small', dataTestId: getDataTestId.getDataTestId(dataTestId, 'amount-title'), className: styles__default.default.component, color: color },
20
- React__default.default.createElement(coreComponentsAmount.Amount, tslib_es6.__assign({ minority: minority || minorUnits, className: cn__default.default(styles__default.default.weight, className), dataTestId: getDataTestId.getDataTestId(dataTestId, 'core-amount-title') }, restProps, { bold: 'none' }))));
20
+ React__default.default.createElement(coreComponentsAmount.Amount, tslib.__assign({ minority: minority || minorUnits, className: cn__default.default(styles__default.default.weight, className), dataTestId: getDataTestId.getDataTestId(dataTestId, 'core-amount-title') }, restProps, { bold: 'none' }))));
21
21
  };
22
22
 
23
23
  exports.AmountTitle = AmountTitle;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var components_amountTitle_component = require('./component.js');
4
- require('../../tslib.es6-bbd6cd2a.js');
4
+ require('tslib');
5
5
  require('react');
6
6
  require('classnames');
7
7
  require('@alfalab/core-components-amount/cssm');
@@ -3,9 +3,9 @@
3
3
  require('react');
4
4
  require('classnames');
5
5
  require('../../getDataTestId-5c876d98.js');
6
- var components_content_component = require('../../component-73a2c8e0.js');
6
+ var components_content_component = require('../../component-bd74da42.js');
7
7
  require('./index.module.css');
8
- require('../../tslib.es6-bbd6cd2a.js');
8
+ require('tslib');
9
9
  require('react-merge-refs');
10
10
  require('@alfalab/core-components-comment/cssm');
11
11
  require('@alfalab/hooks');
@@ -1 +1 @@
1
- export * from "../../component-73a2c8e0";
1
+ export * from "../../component-bd74da42";
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('../../component-73a2c8e0.js');
4
- require('../../tslib.es6-bbd6cd2a.js');
3
+ var components_content_component = require('../../component-bd74da42.js');
4
+ require('tslib');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-bbd6cd2a.js');
3
+ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var coreComponentsButton = require('@alfalab/core-components-button/cssm');
6
6
  var getDataTestId = require('../../getDataTestId-5c876d98.js');
@@ -12,8 +12,8 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
13
13
 
14
14
  var FooterButton = function (_a) {
15
- var children = _a.children, dataTestId = _a.dataTestId, props = tslib_es6.__rest(_a, ["children", "dataTestId"]);
16
- return (React__default.default.createElement(coreComponentsButton.Button, tslib_es6.__assign({}, props, { size: 'xxs', dataTestId: getDataTestId.getDataTestId(dataTestId, 'button'), className: styles__default.default.component }), children));
15
+ var children = _a.children, dataTestId = _a.dataTestId, props = tslib.__rest(_a, ["children", "dataTestId"]);
16
+ return (React__default.default.createElement(coreComponentsButton.Button, tslib.__assign({}, props, { size: 'xxs', dataTestId: getDataTestId.getDataTestId(dataTestId, 'button'), className: styles__default.default.component }), children));
17
17
  };
18
18
 
19
19
  exports.FooterButton = FooterButton;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var components_footerButton_component = require('./component.js');
4
- require('../../tslib.es6-bbd6cd2a.js');
4
+ require('tslib');
5
5
  require('react');
6
6
  require('@alfalab/core-components-button/cssm');
7
7
  require('../../getDataTestId-5c876d98.js');
@@ -3,9 +3,9 @@
3
3
  require('react');
4
4
  require('classnames');
5
5
  require('../../getDataTestId-5c876d98.js');
6
- var components_content_component = require('../../component-73a2c8e0.js');
6
+ var components_content_component = require('../../component-bd74da42.js');
7
7
  require('./index.module.css');
8
- require('../../tslib.es6-bbd6cd2a.js');
8
+ require('tslib');
9
9
  require('react-merge-refs');
10
10
  require('@alfalab/core-components-comment/cssm');
11
11
  require('@alfalab/hooks');
@@ -1 +1 @@
1
- export * from "../../component-73a2c8e0";
1
+ export * from "../../component-bd74da42";
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('../../component-73a2c8e0.js');
4
- require('../../tslib.es6-bbd6cd2a.js');
3
+ var components_content_component = require('../../component-bd74da42.js');
4
+ require('tslib');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
@@ -4,9 +4,9 @@ require('react');
4
4
  require('classnames');
5
5
  require('@alfalab/core-components-typography/cssm');
6
6
  require('../../getDataTestId-5c876d98.js');
7
- var components_content_component = require('../../component-73a2c8e0.js');
7
+ var components_content_component = require('../../component-bd74da42.js');
8
8
  require('./index.module.css');
9
- require('../../tslib.es6-bbd6cd2a.js');
9
+ require('tslib');
10
10
  require('react-merge-refs');
11
11
  require('@alfalab/core-components-comment/cssm');
12
12
  require('@alfalab/hooks');
@@ -1 +1 @@
1
- export * from "../../component-73a2c8e0";
1
+ export * from "../../component-bd74da42";
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('../../component-73a2c8e0.js');
4
- require('../../tslib.es6-bbd6cd2a.js');
3
+ var components_content_component = require('../../component-bd74da42.js');
4
+ require('tslib');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
package/cssm/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('./component-73a2c8e0.js');
4
- require('./tslib.es6-bbd6cd2a.js');
3
+ var components_content_component = require('./component-bd74da42.js');
4
+ require('tslib');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from './tslib.es6-fc167669.js';
1
+ import { __rest, __assign } from 'tslib';
2
2
  import React, { useContext, forwardRef, useRef } from 'react';
3
3
  import mergeRefs from 'react-merge-refs';
4
4
  import cn from 'classnames';
@@ -8,14 +8,14 @@ import { Addon } from './components/addon/component.js';
8
8
  import { Amount } from './components/amount/component.js';
9
9
  import { AmountTitle } from './components/amount-title/component.js';
10
10
  import { Category } from './components/category/component.js';
11
- import { g as getDataTestId } from './getDataTestId-d27be4d9.js';
11
+ import { g as getDataTestId } from './getDataTestId-6f2a1754.js';
12
12
  import { Footer } from './components/footer/component.js';
13
13
  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
  import { Typography } from '@alfalab/core-components-typography/esm';
17
17
 
18
- var styles$3 = {"component":"pure-cell__component_jy6vo","horizontal":"pure-cell__horizontal_jy6vo"};
18
+ var styles$3 = {"component":"pure-cell__component_ubpeg","horizontal":"pure-cell__horizontal_ubpeg"};
19
19
  require('./components/content/index.css')
20
20
 
21
21
  var Content = function (_a) {
@@ -25,7 +25,7 @@ var Content = function (_a) {
25
25
  return (React.createElement("section", { className: cn(styles$3.component, (_b = {}, _b[styles$3.horizontal] = direction === 'horizontal', _b)), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
26
26
  };
27
27
 
28
- var styles$2 = {"component":"pure-cell__component_1rtkh","vertical":"pure-cell__vertical_1rtkh","reverse":"pure-cell__reverse_1rtkh"};
28
+ var styles$2 = {"component":"pure-cell__component_rsjfn","vertical":"pure-cell__vertical_rsjfn","reverse":"pure-cell__reverse_rsjfn"};
29
29
  require('./components/main/index.css')
30
30
 
31
31
  var Main = function (_a) {
@@ -37,7 +37,7 @@ var Main = function (_a) {
37
37
  _b)), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
38
38
  };
39
39
 
40
- var styles$1 = {"horizontal":"pure-cell__horizontal_n59dw","rowLimit1":"pure-cell__rowLimit1_n59dw","rowLimit2":"pure-cell__rowLimit2_n59dw","component":"pure-cell__component_n59dw","vertical":"pure-cell__vertical_n59dw","title":"pure-cell__title_n59dw","value":"pure-cell__value_n59dw"};
40
+ var styles$1 = {"horizontal":"pure-cell__horizontal_15344","rowLimit1":"pure-cell__rowLimit1_15344","rowLimit2":"pure-cell__rowLimit2_15344","component":"pure-cell__component_15344","vertical":"pure-cell__vertical_15344","title":"pure-cell__title_15344","value":"pure-cell__value_15344"};
41
41
  require('./components/text/index.css')
42
42
 
43
43
  var Text = function (_a) {
@@ -52,7 +52,7 @@ var Text = function (_a) {
52
52
  value !== undefined && (React.createElement("span", { className: styles$1.value }, typeof value === 'string' ? (React.createElement(Typography.Text, { view: view, color: valueColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, value)) : (value)))));
53
53
  };
54
54
 
55
- var styles = {"component":"pure-cell__component_7sqoe","horizontal":"pure-cell__horizontal_7sqoe","vertical":"pure-cell__vertical_7sqoe","button":"pure-cell__button_7sqoe","link":"pure-cell__link_7sqoe","none":"pure-cell__none_7sqoe","airy":"pure-cell__airy_7sqoe","defaultPadding":"pure-cell__defaultPadding_7sqoe","compact":"pure-cell__compact_7sqoe","tiny":"pure-cell__tiny_7sqoe","left":"pure-cell__left_7sqoe","right":"pure-cell__right_7sqoe","both":"pure-cell__both_7sqoe","focused":"pure-cell__focused_7sqoe"};
55
+ var styles = {"component":"pure-cell__component_khcg4","horizontal":"pure-cell__horizontal_khcg4","vertical":"pure-cell__vertical_khcg4","button":"pure-cell__button_khcg4","link":"pure-cell__link_khcg4","none":"pure-cell__none_khcg4","airy":"pure-cell__airy_khcg4","defaultPadding":"pure-cell__defaultPadding_khcg4","compact":"pure-cell__compact_khcg4","tiny":"pure-cell__tiny_khcg4","left":"pure-cell__left_khcg4","right":"pure-cell__right_khcg4","both":"pure-cell__both_khcg4","focused":"pure-cell__focused_khcg4"};
56
56
  require('./index.css')
57
57
 
58
58
  // eslint-disable-next-line @typescript-eslint/no-redeclare
@@ -67,19 +67,19 @@ declare const PureCell: React.ForwardRefExoticComponent<PureProps & React.RefAtt
67
67
  rowLimit?: 1 | 2 | undefined;
68
68
  view: "component" | "primary-large" | "primary-medium" | "primary-small";
69
69
  titleWeight?: "bold" | "regular" | undefined;
70
- titleColor: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative";
70
+ titleColor: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent";
71
71
  value?: React.ReactNode;
72
- valueColor?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
72
+ valueColor?: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
73
73
  dataTestId?: string | undefined;
74
74
  }>;
75
75
  Amount: React.FC<{
76
76
  weight?: "bold" | "normal" | undefined;
77
77
  textView?: "component" | "primary-small" | undefined;
78
- color?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
78
+ color?: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
79
79
  dataTestId?: string | undefined;
80
80
  } & import("./components/typesProps").AmountProps>;
81
81
  AmountTitle: React.FC<{
82
- color?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
82
+ color?: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
83
83
  } & import("./components/typesProps").AmountProps>;
84
84
  Addon: React.FC<{
85
85
  verticalAlign?: "top" | "center" | "bottom" | undefined;
package/esm/component.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-fc167669.js';
1
+ import 'tslib';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
@@ -8,12 +8,12 @@ import './components/addon/component.js';
8
8
  import './components/amount/component.js';
9
9
  import './components/amount-title/component.js';
10
10
  import './components/category/component.js';
11
- export { P as PureCell, a as PureCellContext } from './component-2162d463.js';
11
+ export { P as PureCell, a as PureCellContext } from './component-a57ad7eb.js';
12
12
  import './components/footer/component.js';
13
13
  import './components/footer-button/component.js';
14
14
  import './components/footer-text/component.js';
15
15
  import './components/graphics/component.js';
16
- import './getDataTestId-d27be4d9.js';
16
+ import './getDataTestId-6f2a1754.js';
17
17
  import '@alfalab/core-components-amount/esm';
18
18
  import '@alfalab/core-components-typography/esm';
19
19
  import '@alfalab/core-components-button/esm';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-6f2a1754.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_auu0z","none":"pure-cell__none_auu0z","default":"pure-cell__default_auu0z","addonPadding":"pure-cell__addonPadding_auu0z","top":"pure-cell__top_auu0z","center":"pure-cell__center_auu0z","bottom":"pure-cell__bottom_auu0z"};
5
+ var styles = {"component":"pure-cell__component_15waf","none":"pure-cell__none_15waf","default":"pure-cell__default_15waf","addonPadding":"pure-cell__addonPadding_15waf","top":"pure-cell__top_15waf","center":"pure-cell__center_15waf","bottom":"pure-cell__bottom_15waf"};
6
6
  require('./index.css')
7
7
 
8
8
  var Addon = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 14h8o */
1
+ /* hash: 1vf8w */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -15,22 +15,22 @@
15
15
  --gap-m: 16px;
16
16
  } :root {
17
17
  } :root {
18
- } .pure-cell__component_auu0z {
18
+ } .pure-cell__component_15waf {
19
19
  display: flex;
20
20
  flex-direction: column;
21
21
  align-items: flex-end
22
- } .pure-cell__component_auu0z > * {
22
+ } .pure-cell__component_15waf > * {
23
23
  justify-content: flex-end;
24
- } .pure-cell__component_auu0z.pure-cell__none_auu0z {
24
+ } .pure-cell__component_15waf.pure-cell__none_15waf {
25
25
  padding-left: 0;
26
- } .pure-cell__component_auu0z.pure-cell__default_auu0z {
26
+ } .pure-cell__component_15waf.pure-cell__default_15waf {
27
27
  padding-left: var(--gap-m);
28
- } .pure-cell__component_auu0z.pure-cell__addonPadding_auu0z {
28
+ } .pure-cell__component_15waf.pure-cell__addonPadding_15waf {
29
29
  padding-left: var(--gap-m);
30
- } .pure-cell__component_auu0z.pure-cell__top_auu0z {
30
+ } .pure-cell__component_15waf.pure-cell__top_15waf {
31
31
  align-self: flex-start;
32
- } .pure-cell__component_auu0z.pure-cell__center_auu0z {
32
+ } .pure-cell__component_15waf.pure-cell__center_15waf {
33
33
  align-self: center;
34
- } .pure-cell__component_auu0z.pure-cell__bottom_auu0z {
34
+ } .pure-cell__component_15waf.pure-cell__bottom_15waf {
35
35
  align-self: flex-end;
36
36
  }
@@ -1,4 +1,4 @@
1
1
  export { Addon } from './component.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
- import '../../getDataTestId-d27be4d9.js';
4
+ import '../../getDataTestId-6f2a1754.js';
@@ -1,11 +1,11 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-fc167669.js';
1
+ import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Amount as Amount$1 } from '@alfalab/core-components-amount/esm';
5
5
  import { Typography } from '@alfalab/core-components-typography/esm';
6
- import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
6
+ import { g as getDataTestId } from '../../getDataTestId-6f2a1754.js';
7
7
 
8
- var styles = {"component":"pure-cell__component_1r3hi"};
8
+ var styles = {"component":"pure-cell__component_1j45e"};
9
9
  require('./index.css')
10
10
 
11
11
  var Amount = function (_a) {