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

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 (173) hide show
  1. package/{component-9d5aabde.d.ts → component-ab8c215c.d.ts} +0 -0
  2. package/component-ab8c215c.js +119 -0
  3. package/component.js +6 -8
  4. package/components/addon/component.js +6 -8
  5. package/components/addon/index.css +9 -9
  6. package/components/addon/index.js +2 -4
  7. package/components/amount/component.js +8 -10
  8. package/components/amount/index.css +2 -2
  9. package/components/amount/index.js +3 -5
  10. package/components/amount-title/component.js +8 -10
  11. package/components/amount-title/index.css +3 -3
  12. package/components/amount-title/index.js +3 -5
  13. package/components/category/component.js +8 -10
  14. package/components/category/index.css +5 -5
  15. package/components/category/index.js +2 -4
  16. package/components/content/component.js +6 -8
  17. package/components/content/index.css +3 -3
  18. package/components/content/index.d.ts +1 -1
  19. package/components/content/index.js +5 -7
  20. package/components/footer/component.js +6 -8
  21. package/components/footer/index.css +4 -4
  22. package/components/footer/index.js +2 -4
  23. package/components/footer-button/component.js +6 -8
  24. package/components/footer-button/index.css +2 -2
  25. package/components/footer-button/index.js +3 -5
  26. package/components/footer-text/component.js +4 -6
  27. package/components/footer-text/index.js +2 -4
  28. package/components/graphics/component.js +6 -8
  29. package/components/graphics/index.css +5 -5
  30. package/components/graphics/index.js +2 -4
  31. package/components/main/component.js +6 -8
  32. package/components/main/index.css +4 -4
  33. package/components/main/index.d.ts +1 -1
  34. package/components/main/index.js +5 -7
  35. package/components/text/component.js +7 -9
  36. package/components/text/index.css +8 -7
  37. package/components/text/index.d.ts +1 -1
  38. package/components/text/index.js +5 -7
  39. package/cssm/{component-5cffadbf.d.ts → component-094dfd9a.d.ts} +0 -0
  40. package/cssm/{component-5cffadbf.js → component-094dfd9a.js} +33 -33
  41. package/cssm/component.js +14 -16
  42. package/cssm/components/addon/component.js +6 -8
  43. package/cssm/components/addon/index.js +2 -4
  44. package/cssm/components/amount/component.js +8 -10
  45. package/cssm/components/amount/index.js +3 -5
  46. package/cssm/components/amount-title/component.js +8 -10
  47. package/cssm/components/amount-title/index.js +3 -5
  48. package/cssm/components/category/component.js +8 -10
  49. package/cssm/components/category/index.js +2 -4
  50. package/cssm/components/content/component.js +12 -14
  51. package/cssm/components/content/index.d.ts +1 -1
  52. package/cssm/components/content/index.js +11 -13
  53. package/cssm/components/footer/component.js +6 -8
  54. package/cssm/components/footer/index.js +2 -4
  55. package/cssm/components/footer-button/component.js +6 -8
  56. package/cssm/components/footer-button/index.js +3 -5
  57. package/cssm/components/footer-text/component.js +4 -6
  58. package/cssm/components/footer-text/index.js +2 -4
  59. package/cssm/components/graphics/component.js +6 -8
  60. package/cssm/components/graphics/index.js +2 -4
  61. package/cssm/components/main/component.js +13 -15
  62. package/cssm/components/main/index.d.ts +1 -1
  63. package/cssm/components/main/index.js +11 -13
  64. package/cssm/components/text/component.js +14 -16
  65. package/cssm/components/text/index.d.ts +1 -1
  66. package/cssm/components/text/index.js +11 -13
  67. package/cssm/components/text/index.module.css +1 -0
  68. package/cssm/getDataTestId-5c876d98.d.ts +2 -0
  69. package/cssm/getDataTestId-5c876d98.js +8 -0
  70. package/cssm/index.js +11 -13
  71. package/cssm/{tslib.es6-9682e485.d.ts → tslib.es6-bbd6cd2a.d.ts} +0 -0
  72. package/cssm/{tslib.es6-9682e485.js → tslib.es6-bbd6cd2a.js} +0 -0
  73. package/esm/{component-65ac8158.d.ts → component-350a970b.d.ts} +0 -0
  74. package/esm/{component-65ac8158.js → component-350a970b.js} +23 -23
  75. package/esm/component.js +6 -6
  76. package/esm/components/addon/component.js +2 -2
  77. package/esm/components/addon/index.css +9 -9
  78. package/esm/components/addon/index.js +2 -2
  79. package/esm/components/amount/component.js +3 -3
  80. package/esm/components/amount/index.css +2 -2
  81. package/esm/components/amount/index.js +3 -3
  82. package/esm/components/amount-title/component.js +3 -3
  83. package/esm/components/amount-title/index.css +3 -3
  84. package/esm/components/amount-title/index.js +3 -3
  85. package/esm/components/category/component.js +2 -2
  86. package/esm/components/category/index.css +5 -5
  87. package/esm/components/category/index.js +2 -2
  88. package/esm/components/content/component.js +6 -6
  89. package/esm/components/content/index.css +3 -3
  90. package/esm/components/content/index.d.ts +1 -1
  91. package/esm/components/content/index.js +5 -5
  92. package/esm/components/footer/component.js +2 -2
  93. package/esm/components/footer/index.css +4 -4
  94. package/esm/components/footer/index.js +2 -2
  95. package/esm/components/footer-button/component.js +3 -3
  96. package/esm/components/footer-button/index.css +2 -2
  97. package/esm/components/footer-button/index.js +3 -3
  98. package/esm/components/footer-text/component.js +1 -1
  99. package/esm/components/footer-text/index.js +2 -2
  100. package/esm/components/graphics/component.js +2 -2
  101. package/esm/components/graphics/index.css +5 -5
  102. package/esm/components/graphics/index.js +2 -2
  103. package/esm/components/main/component.js +6 -6
  104. package/esm/components/main/index.css +4 -4
  105. package/esm/components/main/index.d.ts +1 -1
  106. package/esm/components/main/index.js +5 -5
  107. package/esm/components/text/component.js +7 -7
  108. package/esm/components/text/index.css +8 -7
  109. package/esm/components/text/index.d.ts +1 -1
  110. package/esm/components/text/index.js +5 -5
  111. package/esm/getDataTestId-2800bbc6.d.ts +2 -0
  112. package/esm/getDataTestId-2800bbc6.js +6 -0
  113. package/esm/index.css +19 -19
  114. package/esm/index.js +5 -5
  115. package/esm/{tslib.es6-0b81605a.d.ts → tslib.es6-4ea7ff32.d.ts} +0 -0
  116. package/esm/{tslib.es6-0b81605a.js → tslib.es6-4ea7ff32.js} +0 -0
  117. package/getDataTestId-3bdabc47.d.ts +2 -0
  118. package/getDataTestId-3bdabc47.js +8 -0
  119. package/index.css +19 -19
  120. package/index.js +5 -7
  121. package/modern/{component-24de356a.d.ts → component-32934228.d.ts} +0 -0
  122. package/modern/{component-24de356a.js → component-32934228.js} +22 -22
  123. package/modern/component.js +5 -5
  124. package/modern/components/addon/component.js +2 -2
  125. package/modern/components/addon/index.css +9 -9
  126. package/modern/components/addon/index.js +2 -2
  127. package/modern/components/amount/component.js +2 -2
  128. package/modern/components/amount/index.css +2 -2
  129. package/modern/components/amount/index.js +2 -2
  130. package/modern/components/amount-title/component.js +2 -2
  131. package/modern/components/amount-title/index.css +3 -3
  132. package/modern/components/amount-title/index.js +2 -2
  133. package/modern/components/category/component.js +2 -2
  134. package/modern/components/category/index.css +5 -5
  135. package/modern/components/category/index.js +2 -2
  136. package/modern/components/content/component.js +5 -5
  137. package/modern/components/content/index.css +3 -3
  138. package/modern/components/content/index.d.ts +1 -1
  139. package/modern/components/content/index.js +4 -4
  140. package/modern/components/footer/component.js +2 -2
  141. package/modern/components/footer/index.css +4 -4
  142. package/modern/components/footer/index.js +2 -2
  143. package/modern/components/footer-button/component.js +2 -2
  144. package/modern/components/footer-button/index.css +2 -2
  145. package/modern/components/footer-button/index.js +2 -2
  146. package/modern/components/footer-text/component.js +1 -1
  147. package/modern/components/footer-text/index.js +2 -2
  148. package/modern/components/graphics/component.js +2 -2
  149. package/modern/components/graphics/index.css +5 -5
  150. package/modern/components/graphics/index.js +2 -2
  151. package/modern/components/main/component.js +5 -5
  152. package/modern/components/main/index.css +4 -4
  153. package/modern/components/main/index.d.ts +1 -1
  154. package/modern/components/main/index.js +4 -4
  155. package/modern/components/text/component.js +6 -6
  156. package/modern/components/text/index.css +8 -7
  157. package/modern/components/text/index.d.ts +1 -1
  158. package/modern/components/text/index.js +4 -4
  159. package/modern/getDataTestId-03117f64.d.ts +2 -0
  160. package/modern/{getDataTestId-d2f80834.js → getDataTestId-03117f64.js} +0 -0
  161. package/modern/index.css +19 -19
  162. package/modern/index.js +4 -4
  163. package/package.json +5 -5
  164. package/{tslib.es6-8010907c.d.ts → tslib.es6-049a484d.d.ts} +0 -0
  165. package/{tslib.es6-8010907c.js → tslib.es6-049a484d.js} +0 -0
  166. package/component-9d5aabde.js +0 -119
  167. package/cssm/getDataTestId-12a31ec3.d.ts +0 -2
  168. package/cssm/getDataTestId-12a31ec3.js +0 -8
  169. package/esm/getDataTestId-d9920c56.d.ts +0 -2
  170. package/esm/getDataTestId-d9920c56.js +0 -6
  171. package/getDataTestId-10edb210.d.ts +0 -2
  172. package/getDataTestId-10edb210.js +0 -8
  173. package/modern/getDataTestId-d2f80834.d.ts +0 -2
@@ -1,5 +1,5 @@
1
- import '../../tslib.es6-0b81605a.js';
1
+ export { FooterButton } from './component.js';
2
+ import '../../tslib.es6-4ea7ff32.js';
2
3
  import 'react';
3
- import '../../getDataTestId-d9920c56.js';
4
4
  import '@alfalab/core-components-button/esm';
5
- export { FooterButton } from './component.js';
5
+ import '../../getDataTestId-2800bbc6.js';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-d9920c56.js';
3
2
  import { Typography } from '@alfalab/core-components-typography/esm';
3
+ import { g as getDataTestId } from '../../getDataTestId-2800bbc6.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
+ export { FooterText } from './component.js';
1
2
  import 'react';
2
- import '../../getDataTestId-d9920c56.js';
3
3
  import '@alfalab/core-components-typography/esm';
4
- export { FooterText } from './component.js';
4
+ import '../../getDataTestId-2800bbc6.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-d9920c56.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-2800bbc6.js';
4
4
 
5
- var styles = {"component":"pure-cell__component_1qvws","top":"pure-cell__top_1qvws","center":"pure-cell__center_1qvws","bottom":"pure-cell__bottom_1qvws"};
5
+ var styles = {"component":"pure-cell__component_18194","top":"pure-cell__top_18194","center":"pure-cell__center_18194","bottom":"pure-cell__bottom_18194"};
6
6
  require('./index.css')
7
7
 
8
8
  var Graphics = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1ur52 */
1
+ /* hash: j6x1b */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,15 +7,15 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .pure-cell__component_1qvws {
10
+ .pure-cell__component_18194 {
11
11
  flex-basis: auto;
12
12
  }
13
- .pure-cell__top_1qvws {
13
+ .pure-cell__top_18194 {
14
14
  align-self: flex-start;
15
15
  }
16
- .pure-cell__center_1qvws {
16
+ .pure-cell__center_18194 {
17
17
  align-self: center;
18
18
  }
19
- .pure-cell__bottom_1qvws {
19
+ .pure-cell__bottom_18194 {
20
20
  align-self: flex-end;
21
21
  }
@@ -1,4 +1,4 @@
1
+ export { Graphics } from './component.js';
1
2
  import 'react';
2
3
  import 'classnames';
3
- import '../../getDataTestId-d9920c56.js';
4
- export { Graphics } from './component.js';
4
+ import '../../getDataTestId-2800bbc6.js';
@@ -1,19 +1,19 @@
1
- import '../../tslib.es6-0b81605a.js';
2
1
  import 'react';
3
- import 'react-merge-refs';
4
2
  import 'classnames';
3
+ import '../../getDataTestId-2800bbc6.js';
4
+ export { M as Main } from '../../component-350a970b.js';
5
+ import '../../tslib.es6-4ea7ff32.js';
6
+ import 'react-merge-refs';
5
7
  import '@alfalab/core-components-comment/esm';
6
8
  import '@alfalab/hooks';
7
- import '../../getDataTestId-d9920c56.js';
8
9
  import '../addon/component.js';
10
+ import '../amount/component.js';
9
11
  import '@alfalab/core-components-amount/esm';
10
12
  import '@alfalab/core-components-typography/esm';
11
- import '../amount/component.js';
12
13
  import '../amount-title/component.js';
13
14
  import '../category/component.js';
14
- export { M as Main } from '../../component-65ac8158.js';
15
15
  import '../footer/component.js';
16
- import '@alfalab/core-components-button/esm';
17
16
  import '../footer-button/component.js';
17
+ import '@alfalab/core-components-button/esm';
18
18
  import '../footer-text/component.js';
19
19
  import '../graphics/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 122l9 */
1
+ /* hash: pmltb */
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_36djl {
13
+ .pure-cell__component_1agic {
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_36djl.pure-cell__vertical_36djl {
21
+ .pure-cell__component_1agic.pure-cell__vertical_1agic {
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_36djl.pure-cell__reverse_36djl {
29
+ .pure-cell__component_1agic.pure-cell__reverse_1agic {
30
30
  flex-direction: column-reverse;
31
31
  }
@@ -1 +1 @@
1
- export * from "../../component-65ac8158";
1
+ export * from "../../component-350a970b";
@@ -1,19 +1,19 @@
1
- import '../../tslib.es6-0b81605a.js';
1
+ export { M as Main } from '../../component-350a970b.js';
2
+ import '../../tslib.es6-4ea7ff32.js';
2
3
  import 'react';
3
4
  import 'react-merge-refs';
4
5
  import 'classnames';
5
6
  import '@alfalab/core-components-comment/esm';
6
7
  import '@alfalab/hooks';
7
- import '../../getDataTestId-d9920c56.js';
8
8
  import '../addon/component.js';
9
+ import '../../getDataTestId-2800bbc6.js';
10
+ import '../amount/component.js';
9
11
  import '@alfalab/core-components-amount/esm';
10
12
  import '@alfalab/core-components-typography/esm';
11
- import '../amount/component.js';
12
13
  import '../amount-title/component.js';
13
14
  import '../category/component.js';
14
- export { M as Main } from '../../component-65ac8158.js';
15
15
  import '../footer/component.js';
16
- import '@alfalab/core-components-button/esm';
17
16
  import '../footer-button/component.js';
17
+ import '@alfalab/core-components-button/esm';
18
18
  import '../footer-text/component.js';
19
19
  import '../graphics/component.js';
@@ -1,19 +1,19 @@
1
- import '../../tslib.es6-0b81605a.js';
2
1
  import 'react';
3
- import 'react-merge-refs';
4
2
  import 'classnames';
3
+ import '@alfalab/core-components-typography/esm';
4
+ import '../../getDataTestId-2800bbc6.js';
5
+ export { T as Text } from '../../component-350a970b.js';
6
+ import '../../tslib.es6-4ea7ff32.js';
7
+ import 'react-merge-refs';
5
8
  import '@alfalab/core-components-comment/esm';
6
9
  import '@alfalab/hooks';
7
- import '../../getDataTestId-d9920c56.js';
8
10
  import '../addon/component.js';
9
- import '@alfalab/core-components-amount/esm';
10
- import '@alfalab/core-components-typography/esm';
11
11
  import '../amount/component.js';
12
+ import '@alfalab/core-components-amount/esm';
12
13
  import '../amount-title/component.js';
13
14
  import '../category/component.js';
14
- export { T as Text } from '../../component-65ac8158.js';
15
15
  import '../footer/component.js';
16
- import '@alfalab/core-components-button/esm';
17
16
  import '../footer-button/component.js';
17
+ import '@alfalab/core-components-button/esm';
18
18
  import '../footer-text/component.js';
19
19
  import '../graphics/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: dsewg */
1
+ /* hash: 17aw1 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,34 +11,35 @@
11
11
  --gap-3xs: 2px;
12
12
  --gap-m: 16px;
13
13
  }
14
- .pure-cell__horizontal_1pv4w {
14
+ .pure-cell__horizontal_1mfvi {
15
15
  padding: var(--gap-3xs) 0;
16
16
  }
17
- .pure-cell__rowLimit1_1pv4w {
17
+ .pure-cell__rowLimit1_1mfvi {
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_1pv4w {
24
+ .pure-cell__rowLimit2_1mfvi {
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_1pv4w {
31
+ .pure-cell__component_1mfvi {
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
+ word-break: break-word;
37
38
  }
38
- .pure-cell__component_1pv4w .pure-cell__vertical_1pv4w {
39
+ .pure-cell__component_1mfvi .pure-cell__vertical_1mfvi {
39
40
  justify-content: center;
40
41
  }
41
- .pure-cell__title_1pv4w + .pure-cell__value_1pv4w {
42
+ .pure-cell__title_1mfvi + .pure-cell__value_1mfvi {
42
43
  margin-left: var(--gap-m);
43
44
  flex-shrink: 0;
44
45
  }
@@ -1 +1 @@
1
- export * from "../../component-65ac8158";
1
+ export * from "../../component-350a970b";
@@ -1,19 +1,19 @@
1
- import '../../tslib.es6-0b81605a.js';
1
+ export { T as Text } from '../../component-350a970b.js';
2
+ import '../../tslib.es6-4ea7ff32.js';
2
3
  import 'react';
3
4
  import 'react-merge-refs';
4
5
  import 'classnames';
5
6
  import '@alfalab/core-components-comment/esm';
6
7
  import '@alfalab/hooks';
7
- import '../../getDataTestId-d9920c56.js';
8
8
  import '../addon/component.js';
9
+ import '../../getDataTestId-2800bbc6.js';
10
+ import '../amount/component.js';
9
11
  import '@alfalab/core-components-amount/esm';
10
12
  import '@alfalab/core-components-typography/esm';
11
- import '../amount/component.js';
12
13
  import '../amount-title/component.js';
13
14
  import '../category/component.js';
14
- export { T as Text } from '../../component-65ac8158.js';
15
15
  import '../footer/component.js';
16
- import '@alfalab/core-components-button/esm';
17
16
  import '../footer-button/component.js';
17
+ import '@alfalab/core-components-button/esm';
18
18
  import '../footer-text/component.js';
19
19
  import '../graphics/component.js';
@@ -0,0 +1,2 @@
1
+ declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
2
+ export { getDataTestId };
@@ -0,0 +1,6 @@
1
+ var getDataTestId = function (dataTestId, element) {
2
+ var elementPart = element ? "-".concat(element.toLowerCase()) : '';
3
+ return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
4
+ };
5
+
6
+ export { getDataTestId as g };
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: m5rsn */
1
+ /* hash: 14ncc */
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_159d8 {
22
+ .pure-cell__component_1x11u {
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_159d8 {
29
+ .pure-cell__horizontal_1x11u {
30
30
  display: flex;
31
31
  width: 100%;
32
32
  grid-column-gap: var(--gap-m);
33
33
  }
34
- .pure-cell__vertical_159d8 {
34
+ .pure-cell__vertical_1x11u {
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_159d8 {
40
+ .pure-cell__button_1x11u {
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_159d8:hover {
49
+ .pure-cell__button_1x11u:hover {
50
50
  opacity: 0.8;
51
51
  }
52
- .pure-cell__button_159d8:active {
52
+ .pure-cell__button_1x11u:active {
53
53
  opacity: 0.6;
54
54
  }
55
- .pure-cell__link_159d8 {
55
+ .pure-cell__link_1x11u {
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_159d8:hover {
61
+ .pure-cell__link_1x11u:hover {
62
62
  opacity: 0.8;
63
63
  }
64
- .pure-cell__link_159d8:active {
64
+ .pure-cell__link_1x11u:active {
65
65
  opacity: 0.6;
66
66
  }
67
- .pure-cell__none_159d8 {
67
+ .pure-cell__none_1x11u {
68
68
  padding: 0;
69
69
  }
70
- .pure-cell__airy_159d8 {
70
+ .pure-cell__airy_1x11u {
71
71
  padding: var(--gap-m) 0;
72
72
  }
73
- .pure-cell__defaultPadding_159d8 {
73
+ .pure-cell__defaultPadding_1x11u {
74
74
  padding: var(--gap-s) 0;
75
75
  }
76
- .pure-cell__compact_159d8 {
76
+ .pure-cell__compact_1x11u {
77
77
  padding: var(--gap-xs) 0;
78
78
  }
79
- .pure-cell__tiny_159d8 {
79
+ .pure-cell__tiny_1x11u {
80
80
  padding: var(--gap-2xs) 0;
81
81
  }
82
- .pure-cell__left_159d8 {
82
+ .pure-cell__left_1x11u {
83
83
  padding-left: var(--gap-m);
84
84
  }
85
- .pure-cell__right_159d8 {
85
+ .pure-cell__right_1x11u {
86
86
  padding-right: var(--gap-m);
87
87
  }
88
- .pure-cell__both_159d8 {
88
+ .pure-cell__both_1x11u {
89
89
  padding-right: var(--gap-m);
90
90
  padding-left: var(--gap-m);
91
91
  }
92
- .pure-cell__focused_159d8 {
92
+ .pure-cell__focused_1x11u {
93
93
  outline: 2px solid var(--focus-color);
94
94
  outline-offset: 2px;
95
95
  }
package/esm/index.js CHANGED
@@ -1,19 +1,19 @@
1
- import './tslib.es6-0b81605a.js';
1
+ export { P as PureCell } from './component-350a970b.js';
2
+ import './tslib.es6-4ea7ff32.js';
2
3
  import 'react';
3
4
  import 'react-merge-refs';
4
5
  import 'classnames';
5
6
  import '@alfalab/core-components-comment/esm';
6
7
  import '@alfalab/hooks';
7
- import './getDataTestId-d9920c56.js';
8
8
  import './components/addon/component.js';
9
+ import './getDataTestId-2800bbc6.js';
10
+ import './components/amount/component.js';
9
11
  import '@alfalab/core-components-amount/esm';
10
12
  import '@alfalab/core-components-typography/esm';
11
- import './components/amount/component.js';
12
13
  import './components/amount-title/component.js';
13
14
  import './components/category/component.js';
14
- export { P as PureCell } from './component-65ac8158.js';
15
15
  import './components/footer/component.js';
16
- import '@alfalab/core-components-button/esm';
17
16
  import './components/footer-button/component.js';
17
+ import '@alfalab/core-components-button/esm';
18
18
  import './components/footer-text/component.js';
19
19
  import './components/graphics/component.js';
@@ -0,0 +1,2 @@
1
+ declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
2
+ export { getDataTestId };
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ var getDataTestId = function (dataTestId, element) {
4
+ var elementPart = element ? "-".concat(element.toLowerCase()) : '';
5
+ return dataTestId ? "".concat(dataTestId).concat(elementPart) : undefined;
6
+ };
7
+
8
+ exports.getDataTestId = getDataTestId;
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: m5rsn */
1
+ /* hash: 14ncc */
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_159d8 {
22
+ .pure-cell__component_1x11u {
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_159d8 {
29
+ .pure-cell__horizontal_1x11u {
30
30
  display: flex;
31
31
  width: 100%;
32
32
  grid-column-gap: var(--gap-m);
33
33
  }
34
- .pure-cell__vertical_159d8 {
34
+ .pure-cell__vertical_1x11u {
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_159d8 {
40
+ .pure-cell__button_1x11u {
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_159d8:hover {
49
+ .pure-cell__button_1x11u:hover {
50
50
  opacity: 0.8;
51
51
  }
52
- .pure-cell__button_159d8:active {
52
+ .pure-cell__button_1x11u:active {
53
53
  opacity: 0.6;
54
54
  }
55
- .pure-cell__link_159d8 {
55
+ .pure-cell__link_1x11u {
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_159d8:hover {
61
+ .pure-cell__link_1x11u:hover {
62
62
  opacity: 0.8;
63
63
  }
64
- .pure-cell__link_159d8:active {
64
+ .pure-cell__link_1x11u:active {
65
65
  opacity: 0.6;
66
66
  }
67
- .pure-cell__none_159d8 {
67
+ .pure-cell__none_1x11u {
68
68
  padding: 0;
69
69
  }
70
- .pure-cell__airy_159d8 {
70
+ .pure-cell__airy_1x11u {
71
71
  padding: var(--gap-m) 0;
72
72
  }
73
- .pure-cell__defaultPadding_159d8 {
73
+ .pure-cell__defaultPadding_1x11u {
74
74
  padding: var(--gap-s) 0;
75
75
  }
76
- .pure-cell__compact_159d8 {
76
+ .pure-cell__compact_1x11u {
77
77
  padding: var(--gap-xs) 0;
78
78
  }
79
- .pure-cell__tiny_159d8 {
79
+ .pure-cell__tiny_1x11u {
80
80
  padding: var(--gap-2xs) 0;
81
81
  }
82
- .pure-cell__left_159d8 {
82
+ .pure-cell__left_1x11u {
83
83
  padding-left: var(--gap-m);
84
84
  }
85
- .pure-cell__right_159d8 {
85
+ .pure-cell__right_1x11u {
86
86
  padding-right: var(--gap-m);
87
87
  }
88
- .pure-cell__both_159d8 {
88
+ .pure-cell__both_1x11u {
89
89
  padding-right: var(--gap-m);
90
90
  padding-left: var(--gap-m);
91
91
  }
92
- .pure-cell__focused_159d8 {
92
+ .pure-cell__focused_1x11u {
93
93
  outline: 2px solid var(--focus-color);
94
94
  outline-offset: 2px;
95
95
  }
package/index.js CHANGED
@@ -1,24 +1,22 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- require('./tslib.es6-8010907c.js');
3
+ var components_content_component = require('./component-ab8c215c.js');
4
+ require('./tslib.es6-049a484d.js');
6
5
  require('react');
7
6
  require('react-merge-refs');
8
7
  require('classnames');
9
8
  require('@alfalab/core-components-comment');
10
9
  require('@alfalab/hooks');
11
- require('./getDataTestId-10edb210.js');
12
10
  require('./components/addon/component.js');
11
+ require('./getDataTestId-3bdabc47.js');
12
+ require('./components/amount/component.js');
13
13
  require('@alfalab/core-components-amount');
14
14
  require('@alfalab/core-components-typography');
15
- require('./components/amount/component.js');
16
15
  require('./components/amount-title/component.js');
17
16
  require('./components/category/component.js');
18
- var components_content_component = require('./component-9d5aabde.js');
19
17
  require('./components/footer/component.js');
20
- require('@alfalab/core-components-button');
21
18
  require('./components/footer-button/component.js');
19
+ require('@alfalab/core-components-button');
22
20
  require('./components/footer-text/component.js');
23
21
  require('./components/graphics/component.js');
24
22