@alfalab/core-components-pure-cell 1.1.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 (301) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/component-6a05fa6a.d.ts +36 -0
  3. package/dist/component-6a05fa6a.js +59 -0
  4. package/dist/component-7b7f28f3.d.ts +107 -0
  5. package/dist/component-f199efcf.d.ts +62 -0
  6. package/dist/component-f199efcf.js +120 -0
  7. package/dist/component.d.ts +0 -0
  8. package/dist/component.js +27 -0
  9. package/dist/components/addon/component.d.ts +23 -0
  10. package/dist/components/addon/component.js +25 -0
  11. package/dist/components/addon/index.css +28 -0
  12. package/dist/components/addon/index.d.ts +1 -0
  13. package/dist/components/addon/index.js +12 -0
  14. package/dist/components/amount/component.d.ts +28 -0
  15. package/dist/components/amount/component.js +26 -0
  16. package/dist/components/amount/index.css +16 -0
  17. package/dist/components/amount/index.d.ts +1 -0
  18. package/dist/components/amount/index.js +14 -0
  19. package/dist/components/amount-title/component.d.ts +20 -0
  20. package/dist/components/amount-title/component.js +26 -0
  21. package/dist/components/amount-title/index.css +15 -0
  22. package/dist/components/amount-title/index.d.ts +1 -0
  23. package/dist/components/amount-title/index.js +14 -0
  24. package/dist/components/category/component.d.ts +18 -0
  25. package/dist/components/category/component.js +25 -0
  26. package/dist/components/category/index.css +36 -0
  27. package/dist/components/category/index.d.ts +1 -0
  28. package/dist/components/category/index.js +12 -0
  29. package/dist/components/comment/component.d.ts +15 -0
  30. package/dist/components/comment/component.js +22 -0
  31. package/dist/components/comment/index.css +34 -0
  32. package/dist/components/comment/index.d.ts +1 -0
  33. package/dist/components/comment/index.js +12 -0
  34. package/dist/components/content/component.d.ts +0 -0
  35. package/dist/components/content/component.js +26 -0
  36. package/dist/components/content/index.css +17 -0
  37. package/dist/components/content/index.d.ts +1 -0
  38. package/dist/components/content/index.js +26 -0
  39. package/dist/components/footer/component.d.ts +19 -0
  40. package/dist/components/footer/component.js +22 -0
  41. package/dist/components/footer/index.css +23 -0
  42. package/dist/components/footer/index.d.ts +1 -0
  43. package/dist/components/footer/index.js +12 -0
  44. package/dist/components/footer-button/component.d.ts +0 -0
  45. package/dist/components/footer-button/component.js +12 -0
  46. package/dist/components/footer-button/index.css +12 -0
  47. package/dist/components/footer-button/index.d.ts +1 -0
  48. package/dist/components/footer-button/index.js +12 -0
  49. package/dist/components/footer-text/component.d.ts +15 -0
  50. package/dist/components/footer-text/component.js +18 -0
  51. package/dist/components/footer-text/index.d.ts +1 -0
  52. package/dist/components/footer-text/index.js +12 -0
  53. package/dist/components/graphics/component.d.ts +15 -0
  54. package/dist/components/graphics/component.js +20 -0
  55. package/dist/components/graphics/index.css +12 -0
  56. package/dist/components/graphics/index.d.ts +1 -0
  57. package/dist/components/graphics/index.js +11 -0
  58. package/dist/components/main/component.d.ts +0 -0
  59. package/dist/components/main/component.js +26 -0
  60. package/dist/components/main/index.css +31 -0
  61. package/dist/components/main/index.d.ts +1 -0
  62. package/dist/components/main/index.js +26 -0
  63. package/dist/components/text/component.d.ts +0 -0
  64. package/dist/components/text/component.js +26 -0
  65. package/dist/components/text/index.css +47 -0
  66. package/dist/components/text/index.d.ts +1 -0
  67. package/dist/components/text/index.js +26 -0
  68. package/dist/components/types.d.ts +21 -0
  69. package/dist/components/types.js +2 -0
  70. package/dist/components/typesProps.d.ts +46 -0
  71. package/dist/components/typesProps.js +2 -0
  72. package/dist/cssm/component-22ece846.d.ts +36 -0
  73. package/dist/cssm/component-22ece846.js +58 -0
  74. package/dist/cssm/component-7b7f28f3.d.ts +107 -0
  75. package/dist/cssm/component-a5914e3d.d.ts +62 -0
  76. package/dist/cssm/component-a5914e3d.js +116 -0
  77. package/dist/cssm/component.d.ts +0 -0
  78. package/dist/cssm/component.js +39 -0
  79. package/dist/cssm/components/addon/component.d.ts +23 -0
  80. package/dist/cssm/components/addon/component.js +24 -0
  81. package/dist/cssm/components/addon/index.d.ts +1 -0
  82. package/dist/cssm/components/addon/index.js +13 -0
  83. package/dist/cssm/components/addon/index.module.css +27 -0
  84. package/dist/cssm/components/amount/component.d.ts +28 -0
  85. package/dist/cssm/components/amount/component.js +25 -0
  86. package/dist/cssm/components/amount/index.d.ts +1 -0
  87. package/dist/cssm/components/amount/index.js +15 -0
  88. package/dist/cssm/components/amount/index.module.css +15 -0
  89. package/dist/cssm/components/amount-title/component.d.ts +20 -0
  90. package/dist/cssm/components/amount-title/component.js +25 -0
  91. package/dist/cssm/components/amount-title/index.d.ts +1 -0
  92. package/dist/cssm/components/amount-title/index.js +15 -0
  93. package/dist/cssm/components/amount-title/index.module.css +14 -0
  94. package/dist/cssm/components/category/component.d.ts +18 -0
  95. package/dist/cssm/components/category/component.js +24 -0
  96. package/dist/cssm/components/category/index.d.ts +1 -0
  97. package/dist/cssm/components/category/index.js +13 -0
  98. package/dist/cssm/components/category/index.module.css +35 -0
  99. package/dist/cssm/components/comment/component.d.ts +15 -0
  100. package/dist/cssm/components/comment/component.js +21 -0
  101. package/dist/cssm/components/comment/index.d.ts +1 -0
  102. package/dist/cssm/components/comment/index.js +13 -0
  103. package/dist/cssm/components/comment/index.module.css +33 -0
  104. package/dist/cssm/components/content/component.d.ts +0 -0
  105. package/dist/cssm/components/content/component.js +38 -0
  106. package/dist/cssm/components/content/index.d.ts +1 -0
  107. package/dist/cssm/components/content/index.js +38 -0
  108. package/dist/cssm/components/content/index.module.css +16 -0
  109. package/dist/cssm/components/footer/component.d.ts +19 -0
  110. package/dist/cssm/components/footer/component.js +21 -0
  111. package/dist/cssm/components/footer/index.d.ts +1 -0
  112. package/dist/cssm/components/footer/index.js +13 -0
  113. package/dist/cssm/components/footer/index.module.css +22 -0
  114. package/dist/cssm/components/footer-button/component.d.ts +0 -0
  115. package/dist/cssm/components/footer-button/component.js +13 -0
  116. package/dist/cssm/components/footer-button/index.d.ts +1 -0
  117. package/dist/cssm/components/footer-button/index.js +13 -0
  118. package/dist/cssm/components/footer-button/index.module.css +11 -0
  119. package/dist/cssm/components/footer-text/component.d.ts +15 -0
  120. package/dist/cssm/components/footer-text/component.js +18 -0
  121. package/dist/cssm/components/footer-text/index.d.ts +1 -0
  122. package/dist/cssm/components/footer-text/index.js +12 -0
  123. package/dist/cssm/components/graphics/component.d.ts +15 -0
  124. package/dist/cssm/components/graphics/component.js +19 -0
  125. package/dist/cssm/components/graphics/index.d.ts +1 -0
  126. package/dist/cssm/components/graphics/index.js +12 -0
  127. package/dist/cssm/components/graphics/index.module.css +11 -0
  128. package/dist/cssm/components/main/component.d.ts +0 -0
  129. package/dist/cssm/components/main/component.js +38 -0
  130. package/dist/cssm/components/main/index.d.ts +1 -0
  131. package/dist/cssm/components/main/index.js +38 -0
  132. package/dist/cssm/components/main/index.module.css +30 -0
  133. package/dist/cssm/components/text/component.d.ts +0 -0
  134. package/dist/cssm/components/text/component.js +38 -0
  135. package/dist/cssm/components/text/index.d.ts +1 -0
  136. package/dist/cssm/components/text/index.js +38 -0
  137. package/dist/cssm/components/text/index.module.css +46 -0
  138. package/dist/cssm/components/types.d.ts +21 -0
  139. package/dist/cssm/components/types.js +2 -0
  140. package/dist/cssm/components/typesProps.d.ts +46 -0
  141. package/dist/cssm/components/typesProps.js +2 -0
  142. package/dist/cssm/getDataTestId-12a31ec3.d.ts +2 -0
  143. package/dist/cssm/getDataTestId-12a31ec3.js +8 -0
  144. package/dist/cssm/index.d.ts +1 -0
  145. package/dist/cssm/index.js +38 -0
  146. package/dist/cssm/index.module.css +87 -0
  147. package/dist/esm/component-0a200d52.d.ts +62 -0
  148. package/dist/esm/component-0a200d52.js +108 -0
  149. package/dist/esm/component-7afaa00b.d.ts +36 -0
  150. package/dist/esm/component-7afaa00b.js +52 -0
  151. package/dist/esm/component-7b7f28f3.d.ts +107 -0
  152. package/dist/esm/component.d.ts +0 -0
  153. package/dist/esm/component.js +18 -0
  154. package/dist/esm/components/addon/component.d.ts +23 -0
  155. package/dist/esm/components/addon/component.js +16 -0
  156. package/dist/esm/components/addon/index.css +28 -0
  157. package/dist/esm/components/addon/index.d.ts +1 -0
  158. package/dist/esm/components/addon/index.js +4 -0
  159. package/dist/esm/components/amount/component.d.ts +28 -0
  160. package/dist/esm/components/amount/component.js +17 -0
  161. package/dist/esm/components/amount/index.css +16 -0
  162. package/dist/esm/components/amount/index.d.ts +1 -0
  163. package/dist/esm/components/amount/index.js +6 -0
  164. package/dist/esm/components/amount-title/component.d.ts +20 -0
  165. package/dist/esm/components/amount-title/component.js +17 -0
  166. package/dist/esm/components/amount-title/index.css +15 -0
  167. package/dist/esm/components/amount-title/index.d.ts +1 -0
  168. package/dist/esm/components/amount-title/index.js +6 -0
  169. package/dist/esm/components/category/component.d.ts +18 -0
  170. package/dist/esm/components/category/component.js +17 -0
  171. package/dist/esm/components/category/index.css +36 -0
  172. package/dist/esm/components/category/index.d.ts +1 -0
  173. package/dist/esm/components/category/index.js +4 -0
  174. package/dist/esm/components/comment/component.d.ts +15 -0
  175. package/dist/esm/components/comment/component.js +14 -0
  176. package/dist/esm/components/comment/index.css +34 -0
  177. package/dist/esm/components/comment/index.d.ts +1 -0
  178. package/dist/esm/components/comment/index.js +4 -0
  179. package/dist/esm/components/content/component.d.ts +0 -0
  180. package/dist/esm/components/content/component.js +18 -0
  181. package/dist/esm/components/content/index.css +17 -0
  182. package/dist/esm/components/content/index.d.ts +1 -0
  183. package/dist/esm/components/content/index.js +18 -0
  184. package/dist/esm/components/footer/component.d.ts +19 -0
  185. package/dist/esm/components/footer/component.js +13 -0
  186. package/dist/esm/components/footer/index.css +23 -0
  187. package/dist/esm/components/footer/index.d.ts +1 -0
  188. package/dist/esm/components/footer/index.js +4 -0
  189. package/dist/esm/components/footer-button/component.d.ts +0 -0
  190. package/dist/esm/components/footer-button/component.js +4 -0
  191. package/dist/esm/components/footer-button/index.css +12 -0
  192. package/dist/esm/components/footer-button/index.d.ts +1 -0
  193. package/dist/esm/components/footer-button/index.js +4 -0
  194. package/dist/esm/components/footer-text/component.d.ts +15 -0
  195. package/dist/esm/components/footer-text/component.js +10 -0
  196. package/dist/esm/components/footer-text/index.d.ts +1 -0
  197. package/dist/esm/components/footer-text/index.js +4 -0
  198. package/dist/esm/components/graphics/component.d.ts +15 -0
  199. package/dist/esm/components/graphics/component.js +12 -0
  200. package/dist/esm/components/graphics/index.css +12 -0
  201. package/dist/esm/components/graphics/index.d.ts +1 -0
  202. package/dist/esm/components/graphics/index.js +3 -0
  203. package/dist/esm/components/main/component.d.ts +0 -0
  204. package/dist/esm/components/main/component.js +18 -0
  205. package/dist/esm/components/main/index.css +31 -0
  206. package/dist/esm/components/main/index.d.ts +1 -0
  207. package/dist/esm/components/main/index.js +18 -0
  208. package/dist/esm/components/text/component.d.ts +0 -0
  209. package/dist/esm/components/text/component.js +18 -0
  210. package/dist/esm/components/text/index.css +47 -0
  211. package/dist/esm/components/text/index.d.ts +1 -0
  212. package/dist/esm/components/text/index.js +18 -0
  213. package/dist/esm/components/types.d.ts +21 -0
  214. package/dist/esm/components/types.js +1 -0
  215. package/dist/esm/components/typesProps.d.ts +46 -0
  216. package/dist/esm/components/typesProps.js +1 -0
  217. package/dist/esm/getDataTestId-babf3783.d.ts +2 -0
  218. package/dist/esm/getDataTestId-babf3783.js +6 -0
  219. package/dist/esm/index.css +88 -0
  220. package/dist/esm/index.d.ts +1 -0
  221. package/dist/esm/index.js +18 -0
  222. package/dist/getDataTestId-00d7409e.d.ts +2 -0
  223. package/dist/getDataTestId-00d7409e.js +8 -0
  224. package/dist/index.css +88 -0
  225. package/dist/index.d.ts +1 -0
  226. package/dist/index.js +26 -0
  227. package/dist/modern/component-7b7f28f3.d.ts +107 -0
  228. package/dist/modern/component-9c1fe763.d.ts +62 -0
  229. package/dist/modern/component-9c1fe763.js +100 -0
  230. package/dist/modern/component.d.ts +0 -0
  231. package/dist/modern/component.js +18 -0
  232. package/dist/modern/components/addon/component.d.ts +23 -0
  233. package/dist/modern/components/addon/component.js +12 -0
  234. package/dist/modern/components/addon/index.css +28 -0
  235. package/dist/modern/components/addon/index.d.ts +1 -0
  236. package/dist/modern/components/addon/index.js +4 -0
  237. package/dist/modern/components/amount/component.d.ts +28 -0
  238. package/dist/modern/components/amount/component.js +16 -0
  239. package/dist/modern/components/amount/index.css +16 -0
  240. package/dist/modern/components/amount/index.d.ts +1 -0
  241. package/dist/modern/components/amount/index.js +6 -0
  242. package/dist/modern/components/amount-title/component.d.ts +20 -0
  243. package/dist/modern/components/amount-title/component.js +16 -0
  244. package/dist/modern/components/amount-title/index.css +15 -0
  245. package/dist/modern/components/amount-title/index.d.ts +1 -0
  246. package/dist/modern/components/amount-title/index.js +6 -0
  247. package/dist/modern/components/category/component.d.ts +18 -0
  248. package/dist/modern/components/category/component.js +14 -0
  249. package/dist/modern/components/category/index.css +36 -0
  250. package/dist/modern/components/category/index.d.ts +1 -0
  251. package/dist/modern/components/category/index.js +4 -0
  252. package/dist/modern/components/comment/component.d.ts +15 -0
  253. package/dist/modern/components/comment/component.js +11 -0
  254. package/dist/modern/components/comment/index.css +34 -0
  255. package/dist/modern/components/comment/index.d.ts +1 -0
  256. package/dist/modern/components/comment/index.js +4 -0
  257. package/dist/modern/components/content/component.d.ts +0 -0
  258. package/dist/modern/components/content/component.js +18 -0
  259. package/dist/modern/components/content/index.css +17 -0
  260. package/dist/modern/components/content/index.d.ts +1 -0
  261. package/dist/modern/components/content/index.js +18 -0
  262. package/dist/modern/components/footer/component.d.ts +19 -0
  263. package/dist/modern/components/footer/component.js +10 -0
  264. package/dist/modern/components/footer/index.css +23 -0
  265. package/dist/modern/components/footer/index.d.ts +1 -0
  266. package/dist/modern/components/footer/index.js +4 -0
  267. package/dist/modern/components/footer-button/component.d.ts +5 -0
  268. package/dist/modern/components/footer-button/component.js +10 -0
  269. package/dist/modern/components/footer-button/index.css +12 -0
  270. package/dist/modern/components/footer-button/index.d.ts +1 -0
  271. package/dist/modern/components/footer-button/index.js +4 -0
  272. package/dist/modern/components/footer-text/component.d.ts +15 -0
  273. package/dist/modern/components/footer-text/component.js +7 -0
  274. package/dist/modern/components/footer-text/index.d.ts +1 -0
  275. package/dist/modern/components/footer-text/index.js +4 -0
  276. package/dist/modern/components/graphics/component.d.ts +15 -0
  277. package/dist/modern/components/graphics/component.js +11 -0
  278. package/dist/modern/components/graphics/index.css +12 -0
  279. package/dist/modern/components/graphics/index.d.ts +1 -0
  280. package/dist/modern/components/graphics/index.js +3 -0
  281. package/dist/modern/components/main/component.d.ts +0 -0
  282. package/dist/modern/components/main/component.js +18 -0
  283. package/dist/modern/components/main/index.css +31 -0
  284. package/dist/modern/components/main/index.d.ts +1 -0
  285. package/dist/modern/components/main/index.js +18 -0
  286. package/dist/modern/components/text/component.d.ts +0 -0
  287. package/dist/modern/components/text/component.js +18 -0
  288. package/dist/modern/components/text/index.css +47 -0
  289. package/dist/modern/components/text/index.d.ts +1 -0
  290. package/dist/modern/components/text/index.js +18 -0
  291. package/dist/modern/components/types.d.ts +21 -0
  292. package/dist/modern/components/types.js +1 -0
  293. package/dist/modern/components/typesProps.d.ts +46 -0
  294. package/dist/modern/components/typesProps.js +1 -0
  295. package/dist/modern/getDataTestId-0bb060c4.d.ts +2 -0
  296. package/dist/modern/getDataTestId-0bb060c4.js +6 -0
  297. package/dist/modern/index.css +88 -0
  298. package/dist/modern/index.d.ts +1 -0
  299. package/dist/modern/index.js +18 -0
  300. package/dist/send-stats.js +82 -0
  301. package/package.json +31 -0
@@ -0,0 +1,16 @@
1
+ /* hash: k07ei */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ :root {
11
+ --gap-3xs: 2px;
12
+ }
13
+ .pure-cell__component_1plik {
14
+ padding: var(--gap-3xs) 0;
15
+ display: flex;
16
+ }
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1,6 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '../../getDataTestId-0bb060c4.js';
4
+ import '@alfalab/core-components-typography/dist/modern';
5
+ import '@alfalab/core-components-amount/dist/modern';
6
+ export { Amount } from './component.js';
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { Color } from "@alfalab/core-components-typography";
4
+ import { AmountProps as AmountType } from "../typesProps";
5
+ type Props = {
6
+ /**
7
+ * Props свойственные для компонента Amount
8
+ */
9
+ amount: AmountType;
10
+ /**
11
+ * Цвет денежного значения
12
+ */
13
+ color?: Color;
14
+ /**
15
+ * Идентификатор для систем автоматизированного тестирования
16
+ */
17
+ dataTestId?: string;
18
+ };
19
+ declare const AmountTitle: React.FC<Props>;
20
+ export { AmountTitle };
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import cn from 'classnames';
3
+ import { g as getDataTestId } from '../../getDataTestId-0bb060c4.js';
4
+ import { Typography } from '@alfalab/core-components-typography/dist/modern';
5
+ import { Amount } from '@alfalab/core-components-amount/dist/modern';
6
+
7
+ var styles = {"component":"pure-cell__component_7pgdc","weight":"pure-cell__weight_7pgdc"};
8
+ require('./index.css')
9
+
10
+ const AmountTitle = ({ amount, color = 'primary', dataTestId }) => {
11
+ const { value, currency, minority, minorUnits, rightAddons, showPlus, className } = amount;
12
+ return (React.createElement(Typography.Title, { tag: 'h4', view: 'small', dataTestId: getDataTestId(dataTestId, 'amount-title'), className: styles.component, color: color },
13
+ React.createElement(Amount, { minority: minority === undefined ? minorUnits : minority, value: value, rightAddons: rightAddons, showPlus: showPlus, className: cn(styles.weight, className), currency: currency, dataTestId: getDataTestId(dataTestId, 'core-amount-title'), view: 'withZeroMinorPart' })));
14
+ };
15
+
16
+ export { AmountTitle };
@@ -0,0 +1,15 @@
1
+ /* hash: h4dqq */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ .pure-cell__component_7pgdc {
11
+ display: flex;
12
+ }
13
+ .pure-cell__weight_7pgdc {
14
+ font-weight: inherit;
15
+ }
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1,6 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '../../getDataTestId-0bb060c4.js';
4
+ import '@alfalab/core-components-typography/dist/modern';
5
+ import '@alfalab/core-components-amount/dist/modern';
6
+ export { AmountTitle } from './component.js';
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ type Props = {
4
+ /**
5
+ * Наименование категории
6
+ */
7
+ categoryName: string;
8
+ /**
9
+ * Процент категории
10
+ */
11
+ categoryPercent?: number;
12
+ /**
13
+ * Идентификатор для систем автоматизированного тестирования
14
+ */
15
+ dataTestId?: string;
16
+ };
17
+ declare const Category: React.FC<Props>;
18
+ export { Category };
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { g as getDataTestId } from '../../getDataTestId-0bb060c4.js';
3
+ import { Typography } from '@alfalab/core-components-typography/dist/modern';
4
+
5
+ var styles = {"component":"pure-cell__component_182xj","categoryName":"pure-cell__categoryName_182xj","categoryPercent":"pure-cell__categoryPercent_182xj"};
6
+ require('./index.css')
7
+
8
+ const Category = ({ categoryName, categoryPercent, 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
+
14
+ export { Category };
@@ -0,0 +1,36 @@
1
+ /* hash: 1vtgs */
2
+ :root {
3
+ --color-light-bg-secondary: #f3f4f5;
4
+ }
5
+ :root {
6
+
7
+ /* Hard */
8
+
9
+ /* Up */
10
+
11
+ /* Hard up */
12
+ }
13
+ :root {
14
+ --gap-3xs: 2px;
15
+ --gap-2xs: 4px;
16
+ --gap-xs: 8px;
17
+ }
18
+ :root {
19
+ --border-radius-xl: 16px;
20
+ }
21
+ .pure-cell__component_182xj {
22
+ display: flex;
23
+ overflow: hidden;
24
+ padding: var(--gap-3xs) 0;
25
+ }
26
+ .pure-cell__categoryName_182xj {
27
+ text-overflow: ellipsis;
28
+ white-space: nowrap;
29
+ overflow: hidden;
30
+ }
31
+ .pure-cell__categoryPercent_182xj {
32
+ padding: 0 var(--gap-xs);
33
+ background-color: var(--color-light-bg-secondary);
34
+ border-radius: var(--border-radius-xl);
35
+ margin-left: var(--gap-2xs);
36
+ }
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1,4 @@
1
+ import 'react';
2
+ import '../../getDataTestId-0bb060c4.js';
3
+ import '@alfalab/core-components-typography/dist/modern';
4
+ export { Category } from './component.js';
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { CommentElement } from "../types";
4
+ type Props = {
5
+ /**
6
+ * Компоненты
7
+ */
8
+ children: CommentElement;
9
+ /**
10
+ * Идентификатор для систем автоматизированного тестирования
11
+ */
12
+ dataTestId?: string;
13
+ };
14
+ declare const Comment: React.FC<Props>;
15
+ export { Comment };
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { g as getDataTestId } from '../../getDataTestId-0bb060c4.js';
3
+ import { Typography } from '@alfalab/core-components-typography/dist/modern';
4
+
5
+ var styles = {"component":"pure-cell__component_1lilp","text":"pure-cell__text_1lilp"};
6
+ require('./index.css')
7
+
8
+ const Comment = ({ children, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'comment') },
9
+ React.createElement(Typography.Text, { tag: 'div', view: 'primary-small', className: styles.text, color: 'primary' }, children)));
10
+
11
+ export { Comment };
@@ -0,0 +1,34 @@
1
+ /* hash: 134ke */
2
+ :root {
3
+ --color-light-bg-secondary: #f3f4f5;
4
+ }
5
+ :root {
6
+
7
+ /* Hard */
8
+
9
+ /* Up */
10
+
11
+ /* Hard up */
12
+ }
13
+ :root {
14
+ --gap-xs: 8px;
15
+ --gap-m: 16px;
16
+ }
17
+ :root {
18
+ --border-radius-xs: 2px;
19
+ --border-radius-xxl: 20px;
20
+ }
21
+ .pure-cell__component_1lilp {
22
+ width: -moz-fit-content;
23
+ width: fit-content;
24
+ padding: var(--gap-xs) var(--gap-m);
25
+ background-color: var(--color-light-bg-secondary);
26
+ border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
27
+ var(--border-radius-xxl);
28
+ }
29
+ .pure-cell__text_1lilp {
30
+ display: -webkit-box;
31
+ -webkit-line-clamp: 2;
32
+ -webkit-box-orient: vertical;
33
+ overflow: hidden;
34
+ }
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1,4 @@
1
+ import 'react';
2
+ import '../../getDataTestId-0bb060c4.js';
3
+ import '@alfalab/core-components-typography/dist/modern';
4
+ export { Comment } from './component.js';
File without changes
@@ -0,0 +1,18 @@
1
+ import 'react';
2
+ import 'react-merge-refs';
3
+ import 'classnames';
4
+ import '@alfalab/hooks';
5
+ import '../../getDataTestId-0bb060c4.js';
6
+ import '../addon/component.js';
7
+ import '@alfalab/core-components-typography/dist/modern';
8
+ import '@alfalab/core-components-amount/dist/modern';
9
+ import '../amount/component.js';
10
+ import '../amount-title/component.js';
11
+ import '../category/component.js';
12
+ import '../comment/component.js';
13
+ export { C as Content } from '../../component-9c1fe763.js';
14
+ import '../footer/component.js';
15
+ import '@alfalab/core-components-button/dist/modern';
16
+ import '../footer-button/component.js';
17
+ import '../footer-text/component.js';
18
+ import '../graphics/component.js';
@@ -0,0 +1,17 @@
1
+ /* hash: hj8x5 */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ .pure-cell__component_1vkg3 {
11
+ flex-basis: 100%;
12
+ display: grid
13
+ }
14
+ .pure-cell__component_1vkg3.pure-cell__horizontal_1vkg3 {
15
+ /* for button */
16
+ align-self: stretch;
17
+ }
@@ -0,0 +1 @@
1
+ export * from "../../component-9c1fe763";
@@ -0,0 +1,18 @@
1
+ import 'react';
2
+ import 'react-merge-refs';
3
+ import 'classnames';
4
+ import '@alfalab/hooks';
5
+ import '../../getDataTestId-0bb060c4.js';
6
+ import '../addon/component.js';
7
+ import '@alfalab/core-components-typography/dist/modern';
8
+ import '@alfalab/core-components-amount/dist/modern';
9
+ import '../amount/component.js';
10
+ import '../amount-title/component.js';
11
+ import '../category/component.js';
12
+ import '../comment/component.js';
13
+ export { C as Content } from '../../component-9c1fe763.js';
14
+ import '../footer/component.js';
15
+ import '@alfalab/core-components-button/dist/modern';
16
+ import '../footer-button/component.js';
17
+ import '../footer-text/component.js';
18
+ import '../graphics/component.js';
@@ -0,0 +1,19 @@
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
+ */
16
+ dataTestId?: string;
17
+ };
18
+ declare const Footer: React.FC<Props>;
19
+ export { Footer };
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import cn from 'classnames';
3
+ import { g as getDataTestId } from '../../getDataTestId-0bb060c4.js';
4
+
5
+ var styles = {"component":"pure-cell__component_12b5m","none":"pure-cell__none_12b5m","default":"pure-cell__default_12b5m"};
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 };
@@ -0,0 +1,23 @@
1
+ /* hash: lz89l */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ :root {
11
+ --gap-xs: 8px;
12
+ }
13
+ .pure-cell__component_12b5m {
14
+ grid-column: 1/3;
15
+ display: grid;
16
+ grid-row-gap: var(--gap-xs)
17
+ }
18
+ .pure-cell__component_12b5m.pure-cell__none_12b5m {
19
+ margin-top: 0;
20
+ }
21
+ .pure-cell__component_12b5m.pure-cell__default_12b5m {
22
+ margin-top: var(--gap-xs);
23
+ }
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1,4 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '../../getDataTestId-0bb060c4.js';
4
+ export { Footer } from './component.js';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { ButtonProps } from "@alfalab/core-components-button";
4
+ declare const FooterButton: React.FC<ButtonProps>;
5
+ export { FooterButton };
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { g as getDataTestId } from '../../getDataTestId-0bb060c4.js';
3
+ import { Button } from '@alfalab/core-components-button/dist/modern';
4
+
5
+ var styles = {"component":"pure-cell__component_8ssjt"};
6
+ require('./index.css')
7
+
8
+ const FooterButton = ({ children, dataTestId, ...props }) => (React.createElement(Button, Object.assign({}, props, { size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }), children));
9
+
10
+ export { FooterButton };
@@ -0,0 +1,12 @@
1
+ /* hash: 1ilq0 */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ .pure-cell__component_8ssjt {
11
+ justify-self: start;
12
+ }
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1,4 @@
1
+ import 'react';
2
+ import '../../getDataTestId-0bb060c4.js';
3
+ import '@alfalab/core-components-button/dist/modern';
4
+ export { FooterButton } from './component.js';
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { Color } from "@alfalab/core-components-typography";
4
+ type Props = {
5
+ /**
6
+ * Цвет текста
7
+ */
8
+ color?: Color;
9
+ /**
10
+ * Идентификатор для систем автоматизированного тестирования
11
+ */
12
+ dataTestId?: string;
13
+ };
14
+ declare const FooterText: React.FC<Props>;
15
+ export { Props, FooterText };
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { g as getDataTestId } from '../../getDataTestId-0bb060c4.js';
3
+ import { Typography } from '@alfalab/core-components-typography/dist/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 };
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1,4 @@
1
+ import 'react';
2
+ import '../../getDataTestId-0bb060c4.js';
3
+ import '@alfalab/core-components-typography/dist/modern';
4
+ export { FooterText } from './component.js';
@@ -0,0 +1,15 @@
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
+ */
12
+ dataTestId?: string;
13
+ };
14
+ declare const Graphics: React.FC<Props>;
15
+ export { Props, Graphics };
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { g as getDataTestId } from '../../getDataTestId-0bb060c4.js';
3
+
4
+ var styles = {"component":"pure-cell__component_1u4xg"};
5
+ require('./index.css')
6
+
7
+ const Graphics = ({ children, dataTestId }) => {
8
+ return (React.createElement("section", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'graphics') }, children));
9
+ };
10
+
11
+ export { Graphics };
@@ -0,0 +1,12 @@
1
+ /* hash: 1rvbe */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ .pure-cell__component_1u4xg {
11
+ flex-basis: auto;
12
+ }
@@ -0,0 +1 @@
1
+ export * from "./component";
@@ -0,0 +1,3 @@
1
+ import 'react';
2
+ import '../../getDataTestId-0bb060c4.js';
3
+ export { Graphics } from './component.js';
File without changes
@@ -0,0 +1,18 @@
1
+ import 'react';
2
+ import 'react-merge-refs';
3
+ import 'classnames';
4
+ import '@alfalab/hooks';
5
+ import '../../getDataTestId-0bb060c4.js';
6
+ import '../addon/component.js';
7
+ import '@alfalab/core-components-typography/dist/modern';
8
+ import '@alfalab/core-components-amount/dist/modern';
9
+ import '../amount/component.js';
10
+ import '../amount-title/component.js';
11
+ import '../category/component.js';
12
+ import '../comment/component.js';
13
+ export { M as Main } from '../../component-9c1fe763.js';
14
+ import '../footer/component.js';
15
+ import '@alfalab/core-components-button/dist/modern';
16
+ import '../footer-button/component.js';
17
+ import '../footer-text/component.js';
18
+ import '../graphics/component.js';
@@ -0,0 +1,31 @@
1
+ /* hash: 10lr7 */
2
+ :root {
3
+
4
+ /* Hard */
5
+
6
+ /* Up */
7
+
8
+ /* Hard up */
9
+ }
10
+ :root {
11
+ --gap-3xs: 2px;
12
+ }
13
+ .pure-cell__component_raiu9 {
14
+ display: flex;
15
+ flex-direction: column;
16
+ align-self: center;
17
+
18
+ /* can use /r/n */
19
+ white-space: pre-line
20
+ }
21
+ .pure-cell__component_raiu9.pure-cell__vertical_raiu9 {
22
+ grid-row-gap: var(--gap-3xs);
23
+ justify-content: center;
24
+ align-items: center;
25
+
26
+ /* for button */
27
+ text-align: center;
28
+ }
29
+ .pure-cell__component_raiu9.pure-cell__reverse_raiu9 {
30
+ flex-direction: column-reverse;
31
+ }
@@ -0,0 +1 @@
1
+ export * from "../../component-9c1fe763";
@@ -0,0 +1,18 @@
1
+ import 'react';
2
+ import 'react-merge-refs';
3
+ import 'classnames';
4
+ import '@alfalab/hooks';
5
+ import '../../getDataTestId-0bb060c4.js';
6
+ import '../addon/component.js';
7
+ import '@alfalab/core-components-typography/dist/modern';
8
+ import '@alfalab/core-components-amount/dist/modern';
9
+ import '../amount/component.js';
10
+ import '../amount-title/component.js';
11
+ import '../category/component.js';
12
+ import '../comment/component.js';
13
+ export { M as Main } from '../../component-9c1fe763.js';
14
+ import '../footer/component.js';
15
+ import '@alfalab/core-components-button/dist/modern';
16
+ import '../footer-button/component.js';
17
+ import '../footer-text/component.js';
18
+ import '../graphics/component.js';
File without changes
@@ -0,0 +1,18 @@
1
+ import 'react';
2
+ import 'react-merge-refs';
3
+ import 'classnames';
4
+ import '@alfalab/hooks';
5
+ import '../../getDataTestId-0bb060c4.js';
6
+ import '../addon/component.js';
7
+ import '@alfalab/core-components-typography/dist/modern';
8
+ import '@alfalab/core-components-amount/dist/modern';
9
+ import '../amount/component.js';
10
+ import '../amount-title/component.js';
11
+ import '../category/component.js';
12
+ import '../comment/component.js';
13
+ export { T as Text } from '../../component-9c1fe763.js';
14
+ import '../footer/component.js';
15
+ import '@alfalab/core-components-button/dist/modern';
16
+ import '../footer-button/component.js';
17
+ import '../footer-text/component.js';
18
+ import '../graphics/component.js';