@alfalab/core-components-pure-cell 4.5.2 → 4.6.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 (262) hide show
  1. package/component-8ae5e9f0.d.ts +211 -0
  2. package/component-8ae5e9f0.js +200 -0
  3. package/{component-5a229016.d.ts → component-fd7196d2.d.ts} +1 -0
  4. package/component.js +3 -15
  5. package/components/addon/component.d.ts +0 -24
  6. package/components/addon/component.js +5 -15
  7. package/components/addon/index.css +10 -10
  8. package/components/addon/index.d.ts +1 -1
  9. package/components/addon/index.js +1 -4
  10. package/components/amount/component.d.ts +0 -25
  11. package/components/amount/component.js +8 -19
  12. package/components/amount/index.css +2 -2
  13. package/components/amount/index.d.ts +1 -1
  14. package/components/amount/index.js +2 -8
  15. package/components/amount-title/component.d.ts +0 -22
  16. package/components/amount-title/component.js +8 -20
  17. package/components/amount-title/index.css +3 -3
  18. package/components/amount-title/index.d.ts +1 -1
  19. package/components/amount-title/index.js +2 -8
  20. package/components/category/component.d.ts +0 -25
  21. package/components/category/component.js +5 -19
  22. package/components/category/index.css +5 -5
  23. package/components/category/index.d.ts +1 -1
  24. package/components/category/index.js +2 -5
  25. package/components/content/component.js +2 -17
  26. package/components/content/index.css +3 -3
  27. package/components/content/index.d.ts +1 -1
  28. package/components/content/index.js +2 -20
  29. package/components/footer/component.d.ts +0 -20
  30. package/components/footer/component.js +5 -15
  31. package/components/footer/index.css +4 -4
  32. package/components/footer/index.d.ts +1 -1
  33. package/components/footer/index.js +2 -5
  34. package/components/footer-button/component.d.ts +0 -14
  35. package/components/footer-button/component.js +6 -15
  36. package/components/footer-button/index.css +2 -2
  37. package/components/footer-button/index.d.ts +1 -1
  38. package/components/footer-button/index.js +2 -6
  39. package/components/footer-text/component.d.ts +0 -21
  40. package/components/footer-text/component.js +5 -11
  41. package/components/footer-text/index.d.ts +1 -1
  42. package/components/footer-text/index.js +2 -5
  43. package/components/graphics/component.d.ts +0 -20
  44. package/components/graphics/component.js +5 -15
  45. package/components/graphics/index.css +5 -5
  46. package/components/graphics/index.d.ts +1 -1
  47. package/components/graphics/index.js +2 -5
  48. package/components/main/component.js +2 -17
  49. package/components/main/index.css +4 -4
  50. package/components/main/index.d.ts +1 -1
  51. package/components/main/index.js +2 -20
  52. package/components/text/component.js +2 -16
  53. package/components/text/index.css +7 -7
  54. package/components/text/index.d.ts +1 -1
  55. package/components/text/index.js +2 -20
  56. package/cssm/component-4445c77d.d.ts +211 -0
  57. package/cssm/component-4445c77d.js +189 -0
  58. package/{modern/component-5a229016.d.ts → cssm/component-fd7196d2.d.ts} +1 -0
  59. package/cssm/component.js +3 -25
  60. package/cssm/components/addon/component.d.ts +0 -24
  61. package/cssm/components/addon/component.js +6 -14
  62. package/cssm/components/addon/index.d.ts +1 -1
  63. package/cssm/components/addon/index.js +1 -5
  64. package/cssm/components/amount/component.d.ts +0 -25
  65. package/cssm/components/amount/component.js +9 -18
  66. package/cssm/components/amount/index.d.ts +1 -1
  67. package/cssm/components/amount/index.js +2 -9
  68. package/cssm/components/amount-title/component.d.ts +0 -22
  69. package/cssm/components/amount-title/component.js +9 -19
  70. package/cssm/components/amount-title/index.d.ts +1 -1
  71. package/cssm/components/amount-title/index.js +2 -9
  72. package/cssm/components/category/component.d.ts +0 -25
  73. package/cssm/components/category/component.js +6 -18
  74. package/cssm/components/category/index.d.ts +1 -1
  75. package/cssm/components/category/index.js +2 -6
  76. package/cssm/components/content/component.js +2 -27
  77. package/cssm/components/content/index.d.ts +1 -1
  78. package/cssm/components/content/index.js +2 -31
  79. package/cssm/components/footer/component.d.ts +0 -20
  80. package/cssm/components/footer/component.js +6 -14
  81. package/cssm/components/footer/index.d.ts +1 -1
  82. package/cssm/components/footer/index.js +2 -6
  83. package/cssm/components/footer-button/component.d.ts +0 -14
  84. package/cssm/components/footer-button/component.js +7 -14
  85. package/cssm/components/footer-button/index.d.ts +1 -1
  86. package/cssm/components/footer-button/index.js +2 -7
  87. package/cssm/components/footer-text/component.d.ts +0 -21
  88. package/cssm/components/footer-text/component.js +5 -11
  89. package/cssm/components/footer-text/index.d.ts +1 -1
  90. package/cssm/components/footer-text/index.js +2 -5
  91. package/cssm/components/graphics/component.d.ts +0 -20
  92. package/cssm/components/graphics/component.js +6 -14
  93. package/cssm/components/graphics/index.d.ts +1 -1
  94. package/cssm/components/graphics/index.js +2 -6
  95. package/cssm/components/main/component.js +2 -27
  96. package/cssm/components/main/index.d.ts +1 -1
  97. package/cssm/components/main/index.js +2 -31
  98. package/cssm/components/text/component.js +2 -26
  99. package/cssm/components/text/index.d.ts +1 -1
  100. package/cssm/components/text/index.js +2 -31
  101. package/cssm/index.d.ts +1 -1
  102. package/cssm/index.js +2 -31
  103. package/cssm/shared/index.d.ts +1 -0
  104. package/cssm/shared/index.js +9 -0
  105. package/cssm/utils.d.ts +20 -0
  106. package/cssm/utils.js +29 -0
  107. package/esm/component-7bedc2d7.d.ts +211 -0
  108. package/esm/component-7bedc2d7.js +180 -0
  109. package/esm/{component-5a229016.d.ts → component-fd7196d2.d.ts} +1 -0
  110. package/esm/component.js +1 -13
  111. package/esm/components/addon/component.d.ts +0 -24
  112. package/esm/components/addon/component.js +4 -13
  113. package/esm/components/addon/index.css +10 -10
  114. package/esm/components/addon/index.d.ts +1 -1
  115. package/esm/components/addon/index.js +1 -4
  116. package/esm/components/amount/component.d.ts +0 -25
  117. package/esm/components/amount/component.js +7 -17
  118. package/esm/components/amount/index.css +2 -2
  119. package/esm/components/amount/index.d.ts +1 -1
  120. package/esm/components/amount/index.js +1 -7
  121. package/esm/components/amount-title/component.d.ts +0 -22
  122. package/esm/components/amount-title/component.js +7 -18
  123. package/esm/components/amount-title/index.css +3 -3
  124. package/esm/components/amount-title/index.d.ts +1 -1
  125. package/esm/components/amount-title/index.js +1 -7
  126. package/esm/components/category/component.d.ts +0 -25
  127. package/esm/components/category/component.js +4 -18
  128. package/esm/components/category/index.css +5 -5
  129. package/esm/components/category/index.d.ts +1 -1
  130. package/esm/components/category/index.js +1 -4
  131. package/esm/components/content/component.js +1 -16
  132. package/esm/components/content/index.css +3 -3
  133. package/esm/components/content/index.d.ts +1 -1
  134. package/esm/components/content/index.js +1 -19
  135. package/esm/components/footer/component.d.ts +0 -20
  136. package/esm/components/footer/component.js +4 -13
  137. package/esm/components/footer/index.css +4 -4
  138. package/esm/components/footer/index.d.ts +1 -1
  139. package/esm/components/footer/index.js +1 -4
  140. package/esm/components/footer-button/component.d.ts +0 -14
  141. package/esm/components/footer-button/component.js +5 -14
  142. package/esm/components/footer-button/index.css +2 -2
  143. package/esm/components/footer-button/index.d.ts +1 -1
  144. package/esm/components/footer-button/index.js +1 -5
  145. package/esm/components/footer-text/component.d.ts +0 -21
  146. package/esm/components/footer-text/component.js +4 -10
  147. package/esm/components/footer-text/index.d.ts +1 -1
  148. package/esm/components/footer-text/index.js +1 -4
  149. package/esm/components/graphics/component.d.ts +0 -20
  150. package/esm/components/graphics/component.js +4 -13
  151. package/esm/components/graphics/index.css +5 -5
  152. package/esm/components/graphics/index.d.ts +1 -1
  153. package/esm/components/graphics/index.js +1 -4
  154. package/esm/components/main/component.js +1 -16
  155. package/esm/components/main/index.css +4 -4
  156. package/esm/components/main/index.d.ts +1 -1
  157. package/esm/components/main/index.js +1 -19
  158. package/esm/components/text/component.js +1 -15
  159. package/esm/components/text/index.css +7 -7
  160. package/esm/components/text/index.d.ts +1 -1
  161. package/esm/components/text/index.js +1 -19
  162. package/esm/index.css +21 -21
  163. package/esm/index.d.ts +1 -1
  164. package/esm/index.js +1 -19
  165. package/esm/shared/index.d.ts +1 -0
  166. package/esm/shared/index.js +1 -0
  167. package/esm/utils.d.ts +20 -0
  168. package/esm/utils.js +25 -0
  169. package/index.css +21 -21
  170. package/index.d.ts +1 -1
  171. package/index.js +2 -20
  172. package/modern/component-edffa17d.d.ts +211 -0
  173. package/modern/component-edffa17d.js +169 -0
  174. package/{cssm/component-5a229016.d.ts → modern/component-fd7196d2.d.ts} +1 -0
  175. package/modern/component.js +1 -13
  176. package/modern/components/addon/component.d.ts +0 -24
  177. package/modern/components/addon/component.js +4 -10
  178. package/modern/components/addon/index.css +10 -10
  179. package/modern/components/addon/index.d.ts +1 -1
  180. package/modern/components/addon/index.js +1 -4
  181. package/modern/components/amount/component.d.ts +0 -25
  182. package/modern/components/amount/component.js +6 -13
  183. package/modern/components/amount/index.css +2 -2
  184. package/modern/components/amount/index.d.ts +1 -1
  185. package/modern/components/amount/index.js +1 -6
  186. package/modern/components/amount-title/component.d.ts +0 -22
  187. package/modern/components/amount-title/component.js +6 -21
  188. package/modern/components/amount-title/index.css +3 -3
  189. package/modern/components/amount-title/index.d.ts +1 -1
  190. package/modern/components/amount-title/index.js +1 -6
  191. package/modern/components/category/component.d.ts +0 -25
  192. package/modern/components/category/component.js +4 -15
  193. package/modern/components/category/index.css +5 -5
  194. package/modern/components/category/index.d.ts +1 -1
  195. package/modern/components/category/index.js +1 -4
  196. package/modern/components/content/component.js +1 -15
  197. package/modern/components/content/index.css +3 -3
  198. package/modern/components/content/index.d.ts +1 -1
  199. package/modern/components/content/index.js +1 -18
  200. package/modern/components/footer/component.d.ts +0 -20
  201. package/modern/components/footer/component.js +4 -10
  202. package/modern/components/footer/index.css +4 -4
  203. package/modern/components/footer/index.d.ts +1 -1
  204. package/modern/components/footer/index.js +1 -4
  205. package/modern/components/footer-button/component.d.ts +0 -14
  206. package/modern/components/footer-button/component.js +4 -10
  207. package/modern/components/footer-button/index.css +2 -2
  208. package/modern/components/footer-button/index.d.ts +1 -1
  209. package/modern/components/footer-button/index.js +1 -4
  210. package/modern/components/footer-text/component.d.ts +0 -21
  211. package/modern/components/footer-text/component.js +4 -7
  212. package/modern/components/footer-text/index.d.ts +1 -1
  213. package/modern/components/footer-text/index.js +1 -4
  214. package/modern/components/graphics/component.d.ts +0 -20
  215. package/modern/components/graphics/component.js +4 -10
  216. package/modern/components/graphics/index.css +5 -5
  217. package/modern/components/graphics/index.d.ts +1 -1
  218. package/modern/components/graphics/index.js +1 -4
  219. package/modern/components/main/component.js +1 -15
  220. package/modern/components/main/index.css +4 -4
  221. package/modern/components/main/index.d.ts +1 -1
  222. package/modern/components/main/index.js +1 -18
  223. package/modern/components/text/component.js +1 -14
  224. package/modern/components/text/index.css +7 -7
  225. package/modern/components/text/index.d.ts +1 -1
  226. package/modern/components/text/index.js +1 -18
  227. package/modern/index.css +21 -21
  228. package/modern/index.d.ts +1 -1
  229. package/modern/index.js +1 -18
  230. package/modern/shared/index.d.ts +1 -0
  231. package/modern/shared/index.js +1 -0
  232. package/modern/utils.d.ts +20 -0
  233. package/modern/utils.js +25 -0
  234. package/package.json +4 -4
  235. package/shared/index.d.ts +1 -0
  236. package/shared/index.js +9 -0
  237. package/shared/package.json +3 -0
  238. package/src/component.tsx +4 -3
  239. package/src/components/addon/component.tsx +14 -9
  240. package/src/components/amount/component.tsx +21 -16
  241. package/src/components/amount-title/component.tsx +9 -3
  242. package/src/components/category/component.tsx +42 -27
  243. package/src/components/content/component.tsx +2 -2
  244. package/src/components/footer/component.tsx +14 -9
  245. package/src/components/footer-button/component.tsx +18 -12
  246. package/src/components/footer-text/component.tsx +16 -10
  247. package/src/components/graphics/component.tsx +14 -9
  248. package/src/components/main/component.tsx +2 -2
  249. package/src/components/text/component.tsx +3 -3
  250. package/src/shared/index.ts +1 -0
  251. package/src/shared/package.json +3 -0
  252. package/src/utils.ts +23 -0
  253. package/utils.d.ts +20 -0
  254. package/utils.js +29 -0
  255. package/component-6fbf202b.d.ts +0 -74
  256. package/component-6fbf202b.js +0 -121
  257. package/cssm/component-3ca297e4.d.ts +0 -74
  258. package/cssm/component-3ca297e4.js +0 -117
  259. package/esm/component-609a6e2f.d.ts +0 -74
  260. package/esm/component-609a6e2f.js +0 -109
  261. package/modern/component-f75dd263.d.ts +0 -74
  262. package/modern/component-f75dd263.js +0 -101
@@ -1,13 +1,6 @@
1
- import React from 'react';
2
- import cn from 'classnames';
3
- import { Amount as Amount$1 } from '@alfalab/core-components-amount/modern';
4
- import { getDataTestId } from '@alfalab/core-components-shared/modern';
5
- import { Typography } from '@alfalab/core-components-typography/modern';
6
-
7
- const styles = {"component":"pure-cell__component_1qggl"};
8
- require('./index.css')
9
-
10
- const Amount = ({ weight = 'normal', textView = 'component', color = 'primary', minority, minorUnits = 100, dataTestId, ...restProps }) => (React.createElement(Typography.Text, { view: textView, dataTestId: getDataTestId(dataTestId, 'amount-text'), className: cn(styles.component), color: color },
11
- React.createElement(Amount$1, { minority: minority || minorUnits, bold: weight === 'bold' ? 'full' : 'none', dataTestId: getDataTestId(dataTestId, 'amount'), ...restProps })));
12
-
13
- export { Amount };
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-amount/modern';
4
+ import '@alfalab/core-components-shared/modern';
5
+ import '@alfalab/core-components-typography/modern';
6
+ export { a as Amount } from '../../component-edffa17d.js';
@@ -1,4 +1,4 @@
1
- /* hash: uqrps */
1
+ /* hash: ohq2d */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,7 +15,7 @@
15
15
  --gap-3xs: 2px;
16
16
  } :root {
17
17
  } :root {
18
- } .pure-cell__component_1qggl {
18
+ } .pure-cell__component_tkfh7 {
19
19
  padding: var(--gap-3xs) 0;
20
20
  display: flex;
21
21
  }
@@ -1 +1 @@
1
- export * from "./component";
1
+ export * from "../../component-edffa17d";
@@ -1,6 +1 @@
1
- export { Amount } from './component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-amount/modern';
5
- import '@alfalab/core-components-shared/modern';
6
- import '@alfalab/core-components-typography/modern';
1
+ export { a as Amount } from '../../component-edffa17d.js';
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { Color, TitleProps } from "@alfalab/core-components-typography";
4
- import { AmountProps as AmountType } from "../typesProps";
5
- type Props = {
6
- /**
7
- * Цвет денежного значения
8
- * @deprecated Используйте titleProps.color
9
- */
10
- color?: Color;
11
- /**
12
- * Пропсы, которые будут прокинуты в компонент типографики
13
- */
14
- titleProps?: TitleProps;
15
- /**
16
- * Идентификатор для систем автоматизированного тестирования.
17
- * Для typography используется модификатор -amount-title, для компонента Amount -core-amount-title
18
- */
19
- dataTestId?: string;
20
- } & Omit<AmountType, 'dataTestId'>;
21
- declare const AmountTitle: React.FC<Props>;
22
- export { AmountTitle };
@@ -1,21 +1,6 @@
1
- import React from 'react';
2
- import cn from 'classnames';
3
- import { Amount } from '@alfalab/core-components-amount/modern';
4
- import { getDataTestId } from '@alfalab/core-components-shared/modern';
5
- import { Typography } from '@alfalab/core-components-typography/modern';
6
-
7
- const styles = {"component":"pure-cell__component_1bo36","weight":"pure-cell__weight_1bo36"};
8
- require('./index.css')
9
-
10
- const AmountTitle = ({ minority, minorUnits = 100, className, color = 'primary', dataTestId, titleProps = {}, ...restProps }) => {
11
- const titleDefaultProps = {
12
- tag: 'h4',
13
- view: 'small',
14
- color,
15
- ...titleProps,
16
- };
17
- return (React.createElement(Typography.Title, { ...titleDefaultProps, dataTestId: getDataTestId(dataTestId, 'amount-title'), className: cn(styles.component, titleProps.className) },
18
- React.createElement(Amount, { minority: minority || minorUnits, className: cn(styles.weight, className), dataTestId: getDataTestId(dataTestId, 'core-amount-title'), ...restProps, bold: 'none' })));
19
- };
20
-
21
- export { AmountTitle };
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-amount/modern';
4
+ import '@alfalab/core-components-shared/modern';
5
+ import '@alfalab/core-components-typography/modern';
6
+ export { b as AmountTitle } from '../../component-edffa17d.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1tlor */
1
+ /* hash: 4rltj */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,8 +14,8 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .pure-cell__component_1bo36 {
17
+ } .pure-cell__component_9j08u {
18
18
  display: flex;
19
- } .pure-cell__weight_1bo36 {
19
+ } .pure-cell__weight_9j08u {
20
20
  font-weight: inherit;
21
21
  }
@@ -1 +1 @@
1
- export * from "./component";
1
+ export * from "../../component-edffa17d";
@@ -1,6 +1 @@
1
- export { AmountTitle } from './component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-amount/modern';
5
- import '@alfalab/core-components-shared/modern';
6
- import '@alfalab/core-components-typography/modern';
1
+ export { b as AmountTitle } from '../../component-edffa17d.js';
@@ -1,25 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { ReactNode } from "react";
4
- type Props = {
5
- /**
6
- * Наименование категории
7
- */
8
- categoryName: string;
9
- /**
10
- * Процент категории
11
- */
12
- categoryPercent?: number;
13
- /**
14
- * Слот справа
15
- */
16
- rightAddons?: ReactNode;
17
- /**
18
- * Идентификатор для систем автоматизированного тестирования.
19
- * Для наименования категории используется модификатор -category-name,
20
- * процент категории -category-percent, слота справа -category-right-addon
21
- */
22
- dataTestId?: string;
23
- };
24
- declare const Category: React.FC<Props>;
25
- export { Category };
@@ -1,15 +1,4 @@
1
- import React from 'react';
2
- import { getDataTestId } from '@alfalab/core-components-shared/modern';
3
- import { Typography } from '@alfalab/core-components-typography/modern';
4
-
5
- const styles = {"component":"pure-cell__component_xcagc","categoryName":"pure-cell__categoryName_xcagc","categoryPercent":"pure-cell__categoryPercent_xcagc","rightAddon":"pure-cell__rightAddon_xcagc"};
6
- require('./index.css')
7
-
8
- const Category = ({ categoryName, categoryPercent, rightAddons, dataTestId, }) => (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
9
- React.createElement(Typography.Text, { view: 'primary-small', color: 'secondary', dataTestId: getDataTestId(dataTestId, 'category-name'), className: styles.categoryName }, categoryName),
10
- categoryPercent !== undefined && (React.createElement(Typography.Text, { tag: 'div', view: 'primary-small', color: 'secondary', className: styles.categoryPercent, dataTestId: getDataTestId(dataTestId, 'category-percent') },
11
- categoryPercent,
12
- "%")),
13
- rightAddons !== undefined && (React.createElement("div", { className: styles.rightAddon, "data-test-id": getDataTestId(dataTestId, 'category-right-addon') }, rightAddons))));
14
-
15
- export { Category };
1
+ import 'react';
2
+ import '@alfalab/core-components-shared/modern';
3
+ import '@alfalab/core-components-typography/modern';
4
+ export { C as Category } from '../../component-edffa17d.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1qg7m */
1
+ /* hash: 1k75z */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-secondary: #f2f3f5; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -19,21 +19,21 @@
19
19
  --gap-xs: 8px;
20
20
  } :root {
21
21
  } :root {
22
- } .pure-cell__component_xcagc {
22
+ } .pure-cell__component_g9byr {
23
23
  display: flex;
24
24
  overflow: hidden;
25
25
  padding: var(--gap-3xs) 0;
26
- } .pure-cell__categoryName_xcagc {
26
+ } .pure-cell__categoryName_g9byr {
27
27
  display: -webkit-box;
28
28
  -webkit-line-clamp: 1;
29
29
  -webkit-box-orient: vertical;
30
30
  overflow: hidden;
31
31
  word-break: break-all;
32
- } .pure-cell__categoryPercent_xcagc {
32
+ } .pure-cell__categoryPercent_g9byr {
33
33
  padding: 0 var(--gap-xs);
34
34
  background-color: var(--color-light-bg-secondary);
35
35
  border-radius: var(--border-radius-xl);
36
36
  margin-left: var(--gap-2xs);
37
- } .pure-cell__rightAddon_xcagc {
37
+ } .pure-cell__rightAddon_g9byr {
38
38
  margin-left: var(--gap-2xs);
39
39
  }
@@ -1 +1 @@
1
- export * from "./component";
1
+ export * from "../../component-edffa17d";
@@ -1,4 +1 @@
1
- export { Category } from './component.js';
2
- import 'react';
3
- import '@alfalab/core-components-shared/modern';
4
- import '@alfalab/core-components-typography/modern';
1
+ export { C as Category } from '../../component-edffa17d.js';
@@ -1,18 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-shared/modern';
4
- export { C as Content } from '../../component-f75dd263.js';
5
- import 'react-merge-refs';
6
- import '@alfalab/core-components-comment/modern';
7
- import '@alfalab/hooks';
8
- import '../addon/component.js';
9
- import '../amount/component.js';
10
- import '@alfalab/core-components-amount/modern';
11
- import '@alfalab/core-components-typography/modern';
12
- import '../amount-title/component.js';
13
- import '../category/component.js';
14
- import '../footer/component.js';
15
- import '../footer-button/component.js';
16
- import '@alfalab/core-components-button/modern';
17
- import '../footer-text/component.js';
18
- import '../graphics/component.js';
4
+ export { c as Content } from '../../component-edffa17d.js';
@@ -1,4 +1,4 @@
1
- /* hash: 6solv */
1
+ /* hash: m8yot */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,11 +14,11 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .pure-cell__component_15r7a {
17
+ } .pure-cell__component_3m4d1 {
18
18
  flex-basis: 100%;
19
19
  display: grid;
20
20
  grid-template-columns: 1fr auto
21
- } .pure-cell__component_15r7a.pure-cell__horizontal_15r7a {
21
+ } .pure-cell__component_3m4d1.pure-cell__horizontal_3m4d1 {
22
22
  /* for button */
23
23
  align-self: stretch;
24
24
  }
@@ -1 +1 @@
1
- export * from "../../component-f75dd263";
1
+ export * from "../../component-edffa17d";
@@ -1,18 +1 @@
1
- export { C as Content } from '../../component-f75dd263.js';
2
- import 'react';
3
- import 'react-merge-refs';
4
- import 'classnames';
5
- import '@alfalab/core-components-comment/modern';
6
- import '@alfalab/hooks';
7
- import '../addon/component.js';
8
- import '@alfalab/core-components-shared/modern';
9
- import '../amount/component.js';
10
- import '@alfalab/core-components-amount/modern';
11
- import '@alfalab/core-components-typography/modern';
12
- import '../amount-title/component.js';
13
- import '../category/component.js';
14
- import '../footer/component.js';
15
- import '../footer-button/component.js';
16
- import '@alfalab/core-components-button/modern';
17
- import '../footer-text/component.js';
18
- import '../graphics/component.js';
1
+ export { c as Content } from '../../component-edffa17d.js';
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { FooterElement } from "../types";
4
- type Props = {
5
- /**
6
- * Компоненты
7
- */
8
- children: FooterElement;
9
- /**
10
- * Вертикальные отступы
11
- */
12
- footerPadding?: 'default' | 'none';
13
- /**
14
- * Идентификатор для систем автоматизированного тестирования.
15
- * Используется модификатор -footer
16
- */
17
- dataTestId?: string;
18
- };
19
- declare const Footer: React.FC<Props>;
20
- export { Footer };
@@ -1,10 +1,4 @@
1
- import React from 'react';
2
- import cn from 'classnames';
3
- import { getDataTestId } from '@alfalab/core-components-shared/modern';
4
-
5
- const styles = {"component":"pure-cell__component_1s84p","none":"pure-cell__none_1s84p","default":"pure-cell__default_1s84p"};
6
- require('./index.css')
7
-
8
- const Footer = ({ children, footerPadding = 'default', dataTestId }) => (React.createElement("footer", { className: cn(styles.component, styles[footerPadding]), "data-test-id": getDataTestId(dataTestId, 'footer') }, children));
9
-
10
- export { Footer };
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-shared/modern';
4
+ export { F as Footer } from '../../component-edffa17d.js';
@@ -1,4 +1,4 @@
1
- /* hash: fj8pr */
1
+ /* hash: pq9tq */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,12 +15,12 @@
15
15
  --gap-xs: 8px;
16
16
  } :root {
17
17
  } :root {
18
- } .pure-cell__component_1s84p {
18
+ } .pure-cell__component_q31rg {
19
19
  grid-column: 1/3;
20
20
  display: grid;
21
21
  grid-row-gap: var(--gap-xs)
22
- } .pure-cell__component_1s84p.pure-cell__none_1s84p {
22
+ } .pure-cell__component_q31rg.pure-cell__none_q31rg {
23
23
  margin-top: 0;
24
- } .pure-cell__component_1s84p.pure-cell__default_1s84p {
24
+ } .pure-cell__component_q31rg.pure-cell__default_q31rg {
25
25
  margin-top: var(--gap-xs);
26
26
  }
@@ -1 +1 @@
1
- export * from "./component";
1
+ export * from "../../component-edffa17d";
@@ -1,4 +1 @@
1
- export { Footer } from './component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-shared/modern';
1
+ export { F as Footer } from '../../component-edffa17d.js';
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { AnchorHTMLAttributes, ButtonHTMLAttributes } from "react";
4
- import { ButtonProps } from "@alfalab/core-components-button";
5
- type ComponentProps = Omit<ButtonProps, 'dataTestId'> & {
6
- /**
7
- * Идентификатор для систем автоматизированного тестирования.
8
- * Используется модификатор -button
9
- */
10
- dataTestId?: string;
11
- };
12
- type FooterButtonProps = ComponentProps & Partial<AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>>;
13
- declare const FooterButton: React.ForwardRefExoticComponent<FooterButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
14
- export { FooterButton };
@@ -1,10 +1,4 @@
1
- import React, { forwardRef } from 'react';
2
- import { Button } from '@alfalab/core-components-button/modern';
3
- import { getDataTestId } from '@alfalab/core-components-shared/modern';
4
-
5
- const styles = {"component":"pure-cell__component_1ew6d"};
6
- require('./index.css')
7
-
8
- const FooterButton = forwardRef(({ children, dataTestId, ...props }, ref) => (React.createElement(Button, { ...props, size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component, ref: ref }, children)));
9
-
10
- export { FooterButton };
1
+ import 'react';
2
+ import '@alfalab/core-components-button/modern';
3
+ import '@alfalab/core-components-shared/modern';
4
+ export { d as FooterButton } from '../../component-edffa17d.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1o31d */
1
+ /* hash: 1dw09 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,6 +14,6 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .pure-cell__component_1ew6d {
17
+ } .pure-cell__component_i0599 {
18
18
  justify-self: start;
19
19
  }
@@ -1 +1 @@
1
- export * from "./component";
1
+ export * from "../../component-edffa17d";
@@ -1,4 +1 @@
1
- export { FooterButton } from './component.js';
2
- import 'react';
3
- import '@alfalab/core-components-button/modern';
4
- import '@alfalab/core-components-shared/modern';
1
+ export { d as FooterButton } from '../../component-edffa17d.js';
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { ReactNode } from "react";
4
- import { Color } from "@alfalab/core-components-typography";
5
- type Props = {
6
- /**
7
- * Цвет текста
8
- */
9
- color?: Color;
10
- /**
11
- * Идентификатор для систем автоматизированного тестирования.
12
- * Используется модификатор -footer-title
13
- */
14
- dataTestId?: string;
15
- /**
16
- * Дочерние элементы.
17
- */
18
- children?: ReactNode;
19
- };
20
- declare const FooterText: React.FC<Props>;
21
- export { Props, FooterText };
@@ -1,7 +1,4 @@
1
- import React from 'react';
2
- import { getDataTestId } from '@alfalab/core-components-shared/modern';
3
- import { Typography } from '@alfalab/core-components-typography/modern';
4
-
5
- const FooterText = ({ children, color = 'secondary', dataTestId }) => (React.createElement(Typography.Text, { view: 'primary-small', color: color, "data-test-id": getDataTestId(dataTestId, 'footer-title') }, children));
6
-
7
- export { FooterText };
1
+ import 'react';
2
+ import '@alfalab/core-components-shared/modern';
3
+ import '@alfalab/core-components-typography/modern';
4
+ export { e as FooterText } from '../../component-edffa17d.js';
@@ -1 +1 @@
1
- export * from "./component";
1
+ export * from "../../component-edffa17d";
@@ -1,4 +1 @@
1
- export { FooterText } from './component.js';
2
- import 'react';
3
- import '@alfalab/core-components-shared/modern';
4
- import '@alfalab/core-components-typography/modern';
1
+ export { e as FooterText } from '../../component-edffa17d.js';
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { GraphicsElement } from "../types";
4
- type Props = {
5
- /**
6
- * Компоненты
7
- */
8
- children: GraphicsElement;
9
- /**
10
- * Идентификатор для систем автоматизированного тестирования.
11
- * Используется модификатор -graphics
12
- */
13
- dataTestId?: string;
14
- /**
15
- * Вертикальное выравнивание
16
- */
17
- verticalAlign?: 'top' | 'center' | 'bottom';
18
- };
19
- declare const Graphics: React.FC<Props>;
20
- export { Props, Graphics };
@@ -1,10 +1,4 @@
1
- import React from 'react';
2
- import cn from 'classnames';
3
- import { getDataTestId } from '@alfalab/core-components-shared/modern';
4
-
5
- const styles = {"component":"pure-cell__component_1fsrr","top":"pure-cell__top_1fsrr","center":"pure-cell__center_1fsrr","bottom":"pure-cell__bottom_1fsrr"};
6
- require('./index.css')
7
-
8
- const Graphics = ({ children, dataTestId, verticalAlign = 'top' }) => (React.createElement("section", { className: cn(styles.component, styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'graphics') }, children));
9
-
10
- export { Graphics };
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-shared/modern';
4
+ export { G as Graphics } from '../../component-edffa17d.js';
@@ -1,4 +1,4 @@
1
- /* hash: i4mlh */
1
+ /* hash: iqvel */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .pure-cell__component_1fsrr {
17
+ } .pure-cell__component_1s05n {
18
18
  display: inline-flex;
19
19
  flex-basis: auto;
20
- } .pure-cell__top_1fsrr {
20
+ } .pure-cell__top_1s05n {
21
21
  align-self: flex-start;
22
- } .pure-cell__center_1fsrr {
22
+ } .pure-cell__center_1s05n {
23
23
  align-self: center;
24
- } .pure-cell__bottom_1fsrr {
24
+ } .pure-cell__bottom_1s05n {
25
25
  align-self: flex-end;
26
26
  }
@@ -1 +1 @@
1
- export * from "./component";
1
+ export * from "../../component-edffa17d";
@@ -1,4 +1 @@
1
- export { Graphics } from './component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '@alfalab/core-components-shared/modern';
1
+ export { G as Graphics } from '../../component-edffa17d.js';
@@ -1,18 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-shared/modern';
4
- export { M as Main } from '../../component-f75dd263.js';
5
- import 'react-merge-refs';
6
- import '@alfalab/core-components-comment/modern';
7
- import '@alfalab/hooks';
8
- import '../addon/component.js';
9
- import '../amount/component.js';
10
- import '@alfalab/core-components-amount/modern';
11
- import '@alfalab/core-components-typography/modern';
12
- import '../amount-title/component.js';
13
- import '../category/component.js';
14
- import '../footer/component.js';
15
- import '../footer-button/component.js';
16
- import '@alfalab/core-components-button/modern';
17
- import '../footer-text/component.js';
18
- import '../graphics/component.js';
4
+ export { M as Main } from '../../component-edffa17d.js';
@@ -1,4 +1,4 @@
1
- /* hash: 8sp7n */
1
+ /* hash: f1qv3 */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -15,20 +15,20 @@
15
15
  --gap-3xs: 2px;
16
16
  } :root {
17
17
  } :root {
18
- } .pure-cell__component_151x2 {
18
+ } .pure-cell__component_2wu4y {
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_151x2.pure-cell__vertical_151x2 {
25
+ } .pure-cell__component_2wu4y.pure-cell__vertical_2wu4y {
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_151x2.pure-cell__reverse_151x2 {
32
+ } .pure-cell__component_2wu4y.pure-cell__reverse_2wu4y {
33
33
  flex-direction: column-reverse;
34
34
  }
@@ -1 +1 @@
1
- export * from "../../component-f75dd263";
1
+ export * from "../../component-edffa17d";