@alfalab/core-components-pure-cell 4.1.11 → 4.2.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 (148) hide show
  1. package/{component-e2669cc2.d.ts → component-6d80a6bb.d.ts} +5 -1
  2. package/{component-e2669cc2.js → component-6d80a6bb.js} +8 -8
  3. package/component-c49f24a8.d.ts +2 -1
  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/{esm/component-ce3b8d8e.d.ts → cssm/component-73a2c8e0.d.ts} +5 -1
  41. package/cssm/{component-094dfd9a.js → component-73a2c8e0.js} +2 -2
  42. package/cssm/component-c49f24a8.d.ts +2 -1
  43. package/cssm/component.js +1 -1
  44. package/cssm/components/content/component.js +1 -1
  45. package/cssm/components/content/index.d.ts +1 -1
  46. package/cssm/components/content/index.js +1 -1
  47. package/cssm/components/main/component.js +1 -1
  48. package/cssm/components/main/index.d.ts +1 -1
  49. package/cssm/components/main/index.js +1 -1
  50. package/cssm/components/text/component.js +1 -1
  51. package/cssm/components/text/index.d.ts +1 -1
  52. package/cssm/components/text/index.js +1 -1
  53. package/cssm/index.js +1 -1
  54. package/{cssm/component-094dfd9a.d.ts → esm/component-2162d463.d.ts} +5 -1
  55. package/esm/{component-ce3b8d8e.js → component-2162d463.js} +8 -8
  56. package/esm/component-c49f24a8.d.ts +2 -1
  57. package/esm/component.js +3 -3
  58. package/esm/components/addon/component.js +2 -2
  59. package/esm/components/addon/index.css +9 -9
  60. package/esm/components/addon/index.js +1 -1
  61. package/esm/components/amount/component.js +3 -3
  62. package/esm/components/amount/index.css +2 -2
  63. package/esm/components/amount/index.js +2 -2
  64. package/esm/components/amount-title/component.js +3 -3
  65. package/esm/components/amount-title/index.css +3 -3
  66. package/esm/components/amount-title/index.js +2 -2
  67. package/esm/components/category/component.js +2 -2
  68. package/esm/components/category/index.css +5 -5
  69. package/esm/components/category/index.js +1 -1
  70. package/esm/components/content/component.js +3 -3
  71. package/esm/components/content/index.css +3 -3
  72. package/esm/components/content/index.d.ts +1 -1
  73. package/esm/components/content/index.js +3 -3
  74. package/esm/components/footer/component.js +2 -2
  75. package/esm/components/footer/index.css +4 -4
  76. package/esm/components/footer/index.js +1 -1
  77. package/esm/components/footer-button/component.js +3 -3
  78. package/esm/components/footer-button/index.css +2 -2
  79. package/esm/components/footer-button/index.js +2 -2
  80. package/esm/components/footer-text/component.js +1 -1
  81. package/esm/components/footer-text/index.js +1 -1
  82. package/esm/components/graphics/component.js +2 -2
  83. package/esm/components/graphics/index.css +5 -5
  84. package/esm/components/graphics/index.js +1 -1
  85. package/esm/components/main/component.js +3 -3
  86. package/esm/components/main/index.css +4 -4
  87. package/esm/components/main/index.d.ts +1 -1
  88. package/esm/components/main/index.js +3 -3
  89. package/esm/components/text/component.js +3 -3
  90. package/esm/components/text/index.css +7 -7
  91. package/esm/components/text/index.d.ts +1 -1
  92. package/esm/components/text/index.js +3 -3
  93. package/esm/{getDataTestId-6b257645.d.ts → getDataTestId-d27be4d9.d.ts} +0 -0
  94. package/esm/{getDataTestId-6b257645.js → getDataTestId-d27be4d9.js} +0 -0
  95. package/esm/index.css +21 -21
  96. package/esm/index.js +3 -3
  97. package/esm/{tslib.es6-2976061b.d.ts → tslib.es6-fc167669.d.ts} +0 -0
  98. package/esm/{tslib.es6-2976061b.js → tslib.es6-fc167669.js} +0 -0
  99. package/{getDataTestId-7b531eab.d.ts → getDataTestId-447314e8.d.ts} +0 -0
  100. package/{getDataTestId-7b531eab.js → getDataTestId-447314e8.js} +0 -0
  101. package/index.css +21 -21
  102. package/index.js +3 -3
  103. package/modern/{component-ecc16265.d.ts → component-97272d9b.d.ts} +5 -1
  104. package/modern/{component-ecc16265.js → component-97272d9b.js} +7 -7
  105. package/modern/component-c49f24a8.d.ts +2 -1
  106. package/modern/component.js +2 -2
  107. package/modern/components/addon/component.js +2 -2
  108. package/modern/components/addon/index.css +9 -9
  109. package/modern/components/addon/index.js +1 -1
  110. package/modern/components/amount/component.js +2 -2
  111. package/modern/components/amount/index.css +2 -2
  112. package/modern/components/amount/index.js +1 -1
  113. package/modern/components/amount-title/component.js +2 -2
  114. package/modern/components/amount-title/index.css +3 -3
  115. package/modern/components/amount-title/index.js +1 -1
  116. package/modern/components/category/component.js +2 -2
  117. package/modern/components/category/index.css +5 -5
  118. package/modern/components/category/index.js +1 -1
  119. package/modern/components/content/component.js +2 -2
  120. package/modern/components/content/index.css +3 -3
  121. package/modern/components/content/index.d.ts +1 -1
  122. package/modern/components/content/index.js +2 -2
  123. package/modern/components/footer/component.js +2 -2
  124. package/modern/components/footer/index.css +4 -4
  125. package/modern/components/footer/index.js +1 -1
  126. package/modern/components/footer-button/component.js +2 -2
  127. package/modern/components/footer-button/index.css +2 -2
  128. package/modern/components/footer-button/index.js +1 -1
  129. package/modern/components/footer-text/component.js +1 -1
  130. package/modern/components/footer-text/index.js +1 -1
  131. package/modern/components/graphics/component.js +2 -2
  132. package/modern/components/graphics/index.css +5 -5
  133. package/modern/components/graphics/index.js +1 -1
  134. package/modern/components/main/component.js +2 -2
  135. package/modern/components/main/index.css +4 -4
  136. package/modern/components/main/index.d.ts +1 -1
  137. package/modern/components/main/index.js +2 -2
  138. package/modern/components/text/component.js +2 -2
  139. package/modern/components/text/index.css +7 -7
  140. package/modern/components/text/index.d.ts +1 -1
  141. package/modern/components/text/index.js +2 -2
  142. package/modern/{getDataTestId-46ae5f7e.d.ts → getDataTestId-c31400ee.d.ts} +0 -0
  143. package/modern/{getDataTestId-46ae5f7e.js → getDataTestId-c31400ee.js} +0 -0
  144. package/modern/index.css +21 -21
  145. package/modern/index.js +2 -2
  146. package/package.json +1 -1
  147. /package/{tslib.es6-1fc63a53.d.ts → tslib.es6-dc91a022.d.ts} +0 -0
  148. /package/{tslib.es6-1fc63a53.js → tslib.es6-dc91a022.js} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: iv5wp */
1
+ /* hash: 1oknb */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -15,12 +15,12 @@
15
15
  --gap-xs: 8px;
16
16
  } :root {
17
17
  } :root {
18
- } .pure-cell__component_1qqdl {
18
+ } .pure-cell__component_zm3j1 {
19
19
  grid-column: 1/3;
20
20
  display: grid;
21
21
  grid-row-gap: var(--gap-xs)
22
- } .pure-cell__component_1qqdl.pure-cell__none_1qqdl {
22
+ } .pure-cell__component_zm3j1.pure-cell__none_zm3j1 {
23
23
  margin-top: 0;
24
- } .pure-cell__component_1qqdl.pure-cell__default_1qqdl {
24
+ } .pure-cell__component_zm3j1.pure-cell__default_zm3j1 {
25
25
  margin-top: var(--gap-xs);
26
26
  }
@@ -1,4 +1,4 @@
1
1
  export { Footer } from './component.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
- import '../../getDataTestId-6b257645.js';
4
+ import '../../getDataTestId-d27be4d9.js';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-2976061b.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-fc167669.js';
2
2
  import React from 'react';
3
3
  import { Button } from '@alfalab/core-components-button/esm';
4
- import { g as getDataTestId } from '../../getDataTestId-6b257645.js';
4
+ import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
5
5
 
6
- var styles = {"component":"pure-cell__component_imew1"};
6
+ var styles = {"component":"pure-cell__component_19qoy"};
7
7
  require('./index.css')
8
8
 
9
9
  var FooterButton = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: lmy4n */
1
+ /* hash: 1eyks */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,6 +14,6 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .pure-cell__component_imew1 {
17
+ } .pure-cell__component_19qoy {
18
18
  justify-self: start;
19
19
  }
@@ -1,5 +1,5 @@
1
1
  export { FooterButton } from './component.js';
2
- import '../../tslib.es6-2976061b.js';
2
+ import '../../tslib.es6-fc167669.js';
3
3
  import 'react';
4
4
  import '@alfalab/core-components-button/esm';
5
- import '../../getDataTestId-6b257645.js';
5
+ import '../../getDataTestId-d27be4d9.js';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Typography } from '@alfalab/core-components-typography/esm';
3
- import { g as getDataTestId } from '../../getDataTestId-6b257645.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
4
4
 
5
5
  var FooterText = function (_a) {
6
6
  var children = _a.children, _b = _a.color, color = _b === void 0 ? 'secondary' : _b, dataTestId = _a.dataTestId;
@@ -1,4 +1,4 @@
1
1
  export { FooterText } from './component.js';
2
2
  import 'react';
3
3
  import '@alfalab/core-components-typography/esm';
4
- import '../../getDataTestId-6b257645.js';
4
+ import '../../getDataTestId-d27be4d9.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-6b257645.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_3ft1i","top":"pure-cell__top_3ft1i","center":"pure-cell__center_3ft1i","bottom":"pure-cell__bottom_3ft1i"};
5
+ var styles = {"component":"pure-cell__component_1glw0","top":"pure-cell__top_1glw0","center":"pure-cell__center_1glw0","bottom":"pure-cell__bottom_1glw0"};
6
6
  require('./index.css')
7
7
 
8
8
  var Graphics = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ua6ph */
1
+ /* hash: 1v4tv */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,12 +14,12 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .pure-cell__component_3ft1i {
17
+ } .pure-cell__component_1glw0 {
18
18
  flex-basis: auto;
19
- } .pure-cell__top_3ft1i {
19
+ } .pure-cell__top_1glw0 {
20
20
  align-self: flex-start;
21
- } .pure-cell__center_3ft1i {
21
+ } .pure-cell__center_1glw0 {
22
22
  align-self: center;
23
- } .pure-cell__bottom_3ft1i {
23
+ } .pure-cell__bottom_1glw0 {
24
24
  align-self: flex-end;
25
25
  }
@@ -1,4 +1,4 @@
1
1
  export { Graphics } from './component.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
- import '../../getDataTestId-6b257645.js';
4
+ import '../../getDataTestId-d27be4d9.js';
@@ -1,8 +1,8 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-6b257645.js';
4
- export { M as Main } from '../../component-ce3b8d8e.js';
5
- import '../../tslib.es6-2976061b.js';
3
+ import '../../getDataTestId-d27be4d9.js';
4
+ export { M as Main } from '../../component-2162d463.js';
5
+ import '../../tslib.es6-fc167669.js';
6
6
  import 'react-merge-refs';
7
7
  import '@alfalab/core-components-comment/esm';
8
8
  import '@alfalab/hooks';
@@ -1,4 +1,4 @@
1
- /* hash: 18kax */
1
+ /* hash: 97364 */
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_1qmha {
18
+ } .pure-cell__component_1rtkh {
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_1qmha.pure-cell__vertical_1qmha {
25
+ } .pure-cell__component_1rtkh.pure-cell__vertical_1rtkh {
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_1qmha.pure-cell__reverse_1qmha {
32
+ } .pure-cell__component_1rtkh.pure-cell__reverse_1rtkh {
33
33
  flex-direction: column-reverse;
34
34
  }
@@ -1 +1 @@
1
- export * from "../../component-ce3b8d8e";
1
+ export * from "../../component-2162d463";
@@ -1,12 +1,12 @@
1
- export { M as Main } from '../../component-ce3b8d8e.js';
2
- import '../../tslib.es6-2976061b.js';
1
+ export { M as Main } from '../../component-2162d463.js';
2
+ import '../../tslib.es6-fc167669.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-comment/esm';
7
7
  import '@alfalab/hooks';
8
8
  import '../addon/component.js';
9
- import '../../getDataTestId-6b257645.js';
9
+ import '../../getDataTestId-d27be4d9.js';
10
10
  import '../amount/component.js';
11
11
  import '@alfalab/core-components-amount/esm';
12
12
  import '@alfalab/core-components-typography/esm';
@@ -1,9 +1,9 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-typography/esm';
4
- import '../../getDataTestId-6b257645.js';
5
- export { T as Text } from '../../component-ce3b8d8e.js';
6
- import '../../tslib.es6-2976061b.js';
4
+ import '../../getDataTestId-d27be4d9.js';
5
+ export { T as Text } from '../../component-2162d463.js';
6
+ import '../../tslib.es6-fc167669.js';
7
7
  import 'react-merge-refs';
8
8
  import '@alfalab/core-components-comment/esm';
9
9
  import '@alfalab/hooks';
@@ -1,4 +1,4 @@
1
- /* hash: 169l1 */
1
+ /* hash: cxydr */
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_1e9jf {
19
+ } .pure-cell__horizontal_n59dw {
20
20
  padding: var(--gap-3xs) 0;
21
- } .pure-cell__rowLimit1_1e9jf {
21
+ } .pure-cell__rowLimit1_n59dw {
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_1e9jf {
27
+ } .pure-cell__rowLimit2_n59dw {
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_1e9jf {
32
+ } .pure-cell__component_n59dw {
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_1e9jf .pure-cell__vertical_1e9jf {
39
+ } .pure-cell__component_n59dw .pure-cell__vertical_n59dw {
40
40
  justify-content: center;
41
- } .pure-cell__title_1e9jf + .pure-cell__value_1e9jf {
41
+ } .pure-cell__title_n59dw + .pure-cell__value_n59dw {
42
42
  margin-left: var(--gap-m);
43
43
  flex-shrink: 0;
44
44
  }
@@ -1 +1 @@
1
- export * from "../../component-ce3b8d8e";
1
+ export * from "../../component-2162d463";
@@ -1,12 +1,12 @@
1
- export { T as Text } from '../../component-ce3b8d8e.js';
2
- import '../../tslib.es6-2976061b.js';
1
+ export { T as Text } from '../../component-2162d463.js';
2
+ import '../../tslib.es6-fc167669.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-comment/esm';
7
7
  import '@alfalab/hooks';
8
8
  import '../addon/component.js';
9
- import '../../getDataTestId-6b257645.js';
9
+ import '../../getDataTestId-d27be4d9.js';
10
10
  import '../amount/component.js';
11
11
  import '@alfalab/core-components-amount/esm';
12
12
  import '@alfalab/core-components-typography/esm';
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1m7we */
1
+ /* hash: 1hnhz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #007aff;
@@ -20,24 +20,24 @@
20
20
  } :root {
21
21
  } :root {
22
22
  --focus-color: var(--color-light-border-link);
23
- } .pure-cell__component_tnrrf {
23
+ } .pure-cell__component_7sqoe {
24
24
  text-align: unset;
25
25
 
26
26
  /** line-height наследуется. Если его не обнулить, то все иконки внутри будут иметь неверный размер */
27
27
  line-height: 0;
28
28
  box-sizing: border-box;
29
- } .pure-cell__horizontal_tnrrf {
29
+ } .pure-cell__horizontal_7sqoe {
30
30
  display: flex;
31
31
  width: 100%
32
- } .pure-cell__horizontal_tnrrf > section:not(:last-child) {
32
+ } .pure-cell__horizontal_7sqoe > section:not(:last-child) {
33
33
  margin-right: var(--gap-m);
34
- } .pure-cell__vertical_tnrrf {
34
+ } .pure-cell__vertical_7sqoe {
35
35
  display: flex;
36
36
  align-items: center;
37
37
  flex-direction: column
38
- } .pure-cell__vertical_tnrrf > section:not(:last-child) {
38
+ } .pure-cell__vertical_7sqoe > section:not(:last-child) {
39
39
  margin-bottom: var(--gap-s);
40
- } .pure-cell__button_tnrrf {
40
+ } .pure-cell__button_7sqoe {
41
41
  font-family: inherit;
42
42
  background: none;
43
43
  border: 0;
@@ -45,37 +45,37 @@
45
45
  cursor: pointer;
46
46
  transition: opacity 0.15s ease-in-out;
47
47
  padding: 0
48
- } .pure-cell__button_tnrrf:hover {
48
+ } .pure-cell__button_7sqoe:hover {
49
49
  opacity: 0.8;
50
- } .pure-cell__button_tnrrf:active {
50
+ } .pure-cell__button_7sqoe:active {
51
51
  opacity: 0.6;
52
- } .pure-cell__link_tnrrf {
52
+ } .pure-cell__link_7sqoe {
53
53
  text-decoration: none;
54
54
  color: inherit;
55
55
  cursor: pointer;
56
56
  transition: opacity 0.15s ease-in-out
57
- } .pure-cell__link_tnrrf:hover {
57
+ } .pure-cell__link_7sqoe:hover {
58
58
  opacity: 0.8;
59
- } .pure-cell__link_tnrrf:active {
59
+ } .pure-cell__link_7sqoe:active {
60
60
  opacity: 0.6;
61
- } .pure-cell__none_tnrrf {
61
+ } .pure-cell__none_7sqoe {
62
62
  padding: 0;
63
- } .pure-cell__airy_tnrrf {
63
+ } .pure-cell__airy_7sqoe {
64
64
  padding: var(--gap-m) 0;
65
- } .pure-cell__defaultPadding_tnrrf {
65
+ } .pure-cell__defaultPadding_7sqoe {
66
66
  padding: var(--gap-s) 0;
67
- } .pure-cell__compact_tnrrf {
67
+ } .pure-cell__compact_7sqoe {
68
68
  padding: var(--gap-xs) 0;
69
- } .pure-cell__tiny_tnrrf {
69
+ } .pure-cell__tiny_7sqoe {
70
70
  padding: var(--gap-2xs) 0;
71
- } .pure-cell__left_tnrrf {
71
+ } .pure-cell__left_7sqoe {
72
72
  padding-left: var(--gap-m);
73
- } .pure-cell__right_tnrrf {
73
+ } .pure-cell__right_7sqoe {
74
74
  padding-right: var(--gap-m);
75
- } .pure-cell__both_tnrrf {
75
+ } .pure-cell__both_7sqoe {
76
76
  padding-right: var(--gap-m);
77
77
  padding-left: var(--gap-m);
78
- } .pure-cell__focused_tnrrf {
78
+ } .pure-cell__focused_7sqoe {
79
79
  outline: 2px solid var(--focus-color);
80
80
  outline-offset: 2px;
81
81
  }
package/esm/index.js CHANGED
@@ -1,12 +1,12 @@
1
- export { P as PureCell } from './component-ce3b8d8e.js';
2
- import './tslib.es6-2976061b.js';
1
+ export { P as PureCell } from './component-2162d463.js';
2
+ import './tslib.es6-fc167669.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-comment/esm';
7
7
  import '@alfalab/hooks';
8
8
  import './components/addon/component.js';
9
- import './getDataTestId-6b257645.js';
9
+ import './getDataTestId-d27be4d9.js';
10
10
  import './components/amount/component.js';
11
11
  import '@alfalab/core-components-amount/esm';
12
12
  import '@alfalab/core-components-typography/esm';
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1m7we */
1
+ /* hash: 1hnhz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-link: #007aff;
@@ -20,24 +20,24 @@
20
20
  } :root {
21
21
  } :root {
22
22
  --focus-color: var(--color-light-border-link);
23
- } .pure-cell__component_tnrrf {
23
+ } .pure-cell__component_7sqoe {
24
24
  text-align: unset;
25
25
 
26
26
  /** line-height наследуется. Если его не обнулить, то все иконки внутри будут иметь неверный размер */
27
27
  line-height: 0;
28
28
  box-sizing: border-box;
29
- } .pure-cell__horizontal_tnrrf {
29
+ } .pure-cell__horizontal_7sqoe {
30
30
  display: flex;
31
31
  width: 100%
32
- } .pure-cell__horizontal_tnrrf > section:not(:last-child) {
32
+ } .pure-cell__horizontal_7sqoe > section:not(:last-child) {
33
33
  margin-right: var(--gap-m);
34
- } .pure-cell__vertical_tnrrf {
34
+ } .pure-cell__vertical_7sqoe {
35
35
  display: flex;
36
36
  align-items: center;
37
37
  flex-direction: column
38
- } .pure-cell__vertical_tnrrf > section:not(:last-child) {
38
+ } .pure-cell__vertical_7sqoe > section:not(:last-child) {
39
39
  margin-bottom: var(--gap-s);
40
- } .pure-cell__button_tnrrf {
40
+ } .pure-cell__button_7sqoe {
41
41
  font-family: inherit;
42
42
  background: none;
43
43
  border: 0;
@@ -45,37 +45,37 @@
45
45
  cursor: pointer;
46
46
  transition: opacity 0.15s ease-in-out;
47
47
  padding: 0
48
- } .pure-cell__button_tnrrf:hover {
48
+ } .pure-cell__button_7sqoe:hover {
49
49
  opacity: 0.8;
50
- } .pure-cell__button_tnrrf:active {
50
+ } .pure-cell__button_7sqoe:active {
51
51
  opacity: 0.6;
52
- } .pure-cell__link_tnrrf {
52
+ } .pure-cell__link_7sqoe {
53
53
  text-decoration: none;
54
54
  color: inherit;
55
55
  cursor: pointer;
56
56
  transition: opacity 0.15s ease-in-out
57
- } .pure-cell__link_tnrrf:hover {
57
+ } .pure-cell__link_7sqoe:hover {
58
58
  opacity: 0.8;
59
- } .pure-cell__link_tnrrf:active {
59
+ } .pure-cell__link_7sqoe:active {
60
60
  opacity: 0.6;
61
- } .pure-cell__none_tnrrf {
61
+ } .pure-cell__none_7sqoe {
62
62
  padding: 0;
63
- } .pure-cell__airy_tnrrf {
63
+ } .pure-cell__airy_7sqoe {
64
64
  padding: var(--gap-m) 0;
65
- } .pure-cell__defaultPadding_tnrrf {
65
+ } .pure-cell__defaultPadding_7sqoe {
66
66
  padding: var(--gap-s) 0;
67
- } .pure-cell__compact_tnrrf {
67
+ } .pure-cell__compact_7sqoe {
68
68
  padding: var(--gap-xs) 0;
69
- } .pure-cell__tiny_tnrrf {
69
+ } .pure-cell__tiny_7sqoe {
70
70
  padding: var(--gap-2xs) 0;
71
- } .pure-cell__left_tnrrf {
71
+ } .pure-cell__left_7sqoe {
72
72
  padding-left: var(--gap-m);
73
- } .pure-cell__right_tnrrf {
73
+ } .pure-cell__right_7sqoe {
74
74
  padding-right: var(--gap-m);
75
- } .pure-cell__both_tnrrf {
75
+ } .pure-cell__both_7sqoe {
76
76
  padding-right: var(--gap-m);
77
77
  padding-left: var(--gap-m);
78
- } .pure-cell__focused_tnrrf {
78
+ } .pure-cell__focused_7sqoe {
79
79
  outline: 2px solid var(--focus-color);
80
80
  outline-offset: 2px;
81
81
  }
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var components_content_component = require('./component-e2669cc2.js');
4
- require('./tslib.es6-1fc63a53.js');
3
+ var components_content_component = require('./component-6d80a6bb.js');
4
+ require('./tslib.es6-dc91a022.js');
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('./components/addon/component.js');
11
- require('./getDataTestId-7b531eab.js');
11
+ require('./getDataTestId-447314e8.js');
12
12
  require('./components/amount/component.js');
13
13
  require('@alfalab/core-components-amount');
14
14
  require('@alfalab/core-components-typography');
@@ -41,7 +41,11 @@ type Props$1 = {
41
41
  /**
42
42
  * Размер текста
43
43
  */
44
- view: 'primary-small' | 'component';
44
+ view: 'primary-large' | 'primary-medium' | 'primary-small' | 'component';
45
+ /**
46
+ * Толщина title
47
+ */
48
+ titleWeight?: 'regular' | 'bold';
45
49
  /**
46
50
  * Цвет title
47
51
  */
@@ -7,14 +7,14 @@ import { Addon } from './components/addon/component.js';
7
7
  import { Amount } from './components/amount/component.js';
8
8
  import { AmountTitle } from './components/amount-title/component.js';
9
9
  import { Category } from './components/category/component.js';
10
- import { g as getDataTestId } from './getDataTestId-46ae5f7e.js';
10
+ import { g as getDataTestId } from './getDataTestId-c31400ee.js';
11
11
  import { Footer } from './components/footer/component.js';
12
12
  import { FooterButton } from './components/footer-button/component.js';
13
13
  import { FooterText } from './components/footer-text/component.js';
14
14
  import { Graphics } from './components/graphics/component.js';
15
15
  import { Typography } from '@alfalab/core-components-typography/modern';
16
16
 
17
- const styles$3 = {"component":"pure-cell__component_l5a35","horizontal":"pure-cell__horizontal_l5a35"};
17
+ const styles$3 = {"component":"pure-cell__component_jy6vo","horizontal":"pure-cell__horizontal_jy6vo"};
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$3.component, { [styles$3.horizontal]: direction === 'horizontal' }), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
23
23
  };
24
24
 
25
- const styles$2 = {"component":"pure-cell__component_1qmha","vertical":"pure-cell__vertical_1qmha","reverse":"pure-cell__reverse_1qmha"};
25
+ const styles$2 = {"component":"pure-cell__component_1rtkh","vertical":"pure-cell__vertical_1rtkh","reverse":"pure-cell__reverse_1rtkh"};
26
26
  require('./components/main/index.css')
27
27
 
28
28
  const Main = ({ children, isReverse, dataTestId }) => {
@@ -32,20 +32,20 @@ const Main = ({ children, isReverse, dataTestId }) => {
32
32
  }), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
33
33
  };
34
34
 
35
- const styles$1 = {"horizontal":"pure-cell__horizontal_1e9jf","rowLimit1":"pure-cell__rowLimit1_1e9jf","rowLimit2":"pure-cell__rowLimit2_1e9jf","component":"pure-cell__component_1e9jf","vertical":"pure-cell__vertical_1e9jf","title":"pure-cell__title_1e9jf","value":"pure-cell__value_1e9jf"};
35
+ const 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"};
36
36
  require('./components/text/index.css')
37
37
 
38
- const Text = ({ children, value, rowLimit, view = 'component', titleColor, valueColor, dataTestId, }) => {
38
+ const Text = ({ children, value, rowLimit, view = 'component', titleWeight, titleColor, valueColor, dataTestId, }) => {
39
39
  const { direction = 'horizontal' } = useContext(PureCellContext);
40
40
  const className = rowLimit && styles$1[`rowLimit${rowLimit}`];
41
41
  return (React.createElement("div", { className: cn(styles$1.component, {
42
42
  [styles$1.vertical]: direction !== 'horizontal',
43
43
  }) },
44
- React.createElement("span", { className: styles$1.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
44
+ React.createElement("span", { className: styles$1.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, weight: titleWeight, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
45
45
  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)))));
46
46
  };
47
47
 
48
- const styles = {"component":"pure-cell__component_tnrrf","horizontal":"pure-cell__horizontal_tnrrf","vertical":"pure-cell__vertical_tnrrf","button":"pure-cell__button_tnrrf","link":"pure-cell__link_tnrrf","none":"pure-cell__none_tnrrf","airy":"pure-cell__airy_tnrrf","defaultPadding":"pure-cell__defaultPadding_tnrrf","compact":"pure-cell__compact_tnrrf","tiny":"pure-cell__tiny_tnrrf","left":"pure-cell__left_tnrrf","right":"pure-cell__right_tnrrf","both":"pure-cell__both_tnrrf","focused":"pure-cell__focused_tnrrf"};
48
+ const 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"};
49
49
  require('./index.css')
50
50
 
51
51
  /* eslint-disable react/jsx-no-constructed-context-values */
@@ -65,7 +65,8 @@ declare const PureCell: React.ForwardRefExoticComponent<PureProps & React.RefAtt
65
65
  Text: React.FC<{
66
66
  children?: React.ReactNode;
67
67
  rowLimit?: 1 | 2 | undefined;
68
- view: "component" | "primary-small";
68
+ view: "component" | "primary-large" | "primary-medium" | "primary-small";
69
+ titleWeight?: "bold" | "regular" | undefined;
69
70
  titleColor: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative";
70
71
  value?: React.ReactNode;
71
72
  valueColor?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
@@ -7,12 +7,12 @@ import './components/addon/component.js';
7
7
  import './components/amount/component.js';
8
8
  import './components/amount-title/component.js';
9
9
  import './components/category/component.js';
10
- export { P as PureCell, a as PureCellContext } from './component-ecc16265.js';
10
+ export { P as PureCell, a as PureCellContext } from './component-97272d9b.js';
11
11
  import './components/footer/component.js';
12
12
  import './components/footer-button/component.js';
13
13
  import './components/footer-text/component.js';
14
14
  import './components/graphics/component.js';
15
- import './getDataTestId-46ae5f7e.js';
15
+ import './getDataTestId-c31400ee.js';
16
16
  import '@alfalab/core-components-amount/modern';
17
17
  import '@alfalab/core-components-typography/modern';
18
18
  import '@alfalab/core-components-button/modern';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-46ae5f7e.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-c31400ee.js';
4
4
 
5
- const styles = {"component":"pure-cell__component_wpv40","none":"pure-cell__none_wpv40","default":"pure-cell__default_wpv40","addonPadding":"pure-cell__addonPadding_wpv40","top":"pure-cell__top_wpv40","center":"pure-cell__center_wpv40","bottom":"pure-cell__bottom_wpv40"};
5
+ const 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"};
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));