@alfalab/core-components-pure-cell 4.11.6 → 4.12.1

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 (236) hide show
  1. package/{component-50cf799c.js → component-317da0eb.js} +11 -11
  2. package/component.js +1 -1
  3. package/components/addon/component.js +1 -1
  4. package/components/addon/index.css +17 -16
  5. package/components/addon/index.d.ts +1 -1
  6. package/components/addon/index.js +1 -1
  7. package/components/amount/component.js +1 -1
  8. package/components/amount/index.css +4 -3
  9. package/components/amount/index.d.ts +1 -1
  10. package/components/amount/index.js +1 -1
  11. package/components/amount-title/component.js +1 -1
  12. package/components/amount-title/index.css +3 -3
  13. package/components/amount-title/index.d.ts +1 -1
  14. package/components/amount-title/index.js +1 -1
  15. package/components/category/component.js +1 -1
  16. package/components/category/index.css +10 -8
  17. package/components/category/index.d.ts +1 -1
  18. package/components/category/index.js +1 -1
  19. package/components/content/component.js +1 -1
  20. package/components/content/index.css +3 -3
  21. package/components/content/index.d.ts +1 -1
  22. package/components/content/index.js +1 -1
  23. package/components/footer/component.js +1 -1
  24. package/components/footer/index.css +6 -5
  25. package/components/footer/index.d.ts +1 -1
  26. package/components/footer/index.js +1 -1
  27. package/components/footer-button/component.js +1 -1
  28. package/components/footer-button/index.css +2 -2
  29. package/components/footer-button/index.d.ts +1 -1
  30. package/components/footer-button/index.js +1 -1
  31. package/components/footer-text/component.js +1 -1
  32. package/components/footer-text/index.d.ts +1 -1
  33. package/components/footer-text/index.js +1 -1
  34. package/components/graphics/component.js +1 -1
  35. package/components/graphics/index.css +23 -22
  36. package/components/graphics/index.d.ts +1 -1
  37. package/components/graphics/index.js +1 -1
  38. package/components/main/component.js +1 -1
  39. package/components/main/index.css +10 -9
  40. package/components/main/index.d.ts +1 -1
  41. package/components/main/index.js +1 -1
  42. package/components/text/component.js +1 -1
  43. package/components/text/index.css +10 -9
  44. package/components/text/index.d.ts +1 -1
  45. package/components/text/index.js +1 -1
  46. package/cssm/components/addon/index.module.css +4 -3
  47. package/cssm/components/amount/index.module.css +2 -1
  48. package/cssm/components/category/index.module.css +5 -3
  49. package/cssm/components/footer/index.module.css +2 -1
  50. package/cssm/components/graphics/index.module.css +5 -4
  51. package/cssm/components/main/index.module.css +3 -2
  52. package/cssm/components/text/index.module.css +3 -2
  53. package/cssm/index.module.css +9 -8
  54. package/esm/{component-7d6886c9.js → component-9671f3bb.js} +11 -11
  55. package/esm/component.js +1 -1
  56. package/esm/components/addon/component.js +1 -1
  57. package/esm/components/addon/index.css +17 -16
  58. package/esm/components/addon/index.d.ts +1 -1
  59. package/esm/components/addon/index.js +1 -1
  60. package/esm/components/amount/component.js +1 -1
  61. package/esm/components/amount/index.css +4 -3
  62. package/esm/components/amount/index.d.ts +1 -1
  63. package/esm/components/amount/index.js +1 -1
  64. package/esm/components/amount-title/component.js +1 -1
  65. package/esm/components/amount-title/index.css +3 -3
  66. package/esm/components/amount-title/index.d.ts +1 -1
  67. package/esm/components/amount-title/index.js +1 -1
  68. package/esm/components/category/component.js +1 -1
  69. package/esm/components/category/index.css +10 -8
  70. package/esm/components/category/index.d.ts +1 -1
  71. package/esm/components/category/index.js +1 -1
  72. package/esm/components/content/component.js +1 -1
  73. package/esm/components/content/index.css +3 -3
  74. package/esm/components/content/index.d.ts +1 -1
  75. package/esm/components/content/index.js +1 -1
  76. package/esm/components/footer/component.js +1 -1
  77. package/esm/components/footer/index.css +6 -5
  78. package/esm/components/footer/index.d.ts +1 -1
  79. package/esm/components/footer/index.js +1 -1
  80. package/esm/components/footer-button/component.js +1 -1
  81. package/esm/components/footer-button/index.css +2 -2
  82. package/esm/components/footer-button/index.d.ts +1 -1
  83. package/esm/components/footer-button/index.js +1 -1
  84. package/esm/components/footer-text/component.js +1 -1
  85. package/esm/components/footer-text/index.d.ts +1 -1
  86. package/esm/components/footer-text/index.js +1 -1
  87. package/esm/components/graphics/component.js +1 -1
  88. package/esm/components/graphics/index.css +23 -22
  89. package/esm/components/graphics/index.d.ts +1 -1
  90. package/esm/components/graphics/index.js +1 -1
  91. package/esm/components/main/component.js +1 -1
  92. package/esm/components/main/index.css +10 -9
  93. package/esm/components/main/index.d.ts +1 -1
  94. package/esm/components/main/index.js +1 -1
  95. package/esm/components/text/component.js +1 -1
  96. package/esm/components/text/index.css +10 -9
  97. package/esm/components/text/index.d.ts +1 -1
  98. package/esm/components/text/index.js +1 -1
  99. package/esm/index.css +38 -37
  100. package/esm/index.js +1 -1
  101. package/index.css +38 -37
  102. package/index.js +1 -1
  103. package/modern/{component-f5e0c9cb.js → component-792615ae.js} +11 -11
  104. package/modern/component.js +1 -1
  105. package/modern/components/addon/component.js +1 -1
  106. package/modern/components/addon/index.css +17 -16
  107. package/modern/components/addon/index.d.ts +1 -1
  108. package/modern/components/addon/index.js +1 -1
  109. package/modern/components/amount/component.js +1 -1
  110. package/modern/components/amount/index.css +4 -3
  111. package/modern/components/amount/index.d.ts +1 -1
  112. package/modern/components/amount/index.js +1 -1
  113. package/modern/components/amount-title/component.js +1 -1
  114. package/modern/components/amount-title/index.css +3 -3
  115. package/modern/components/amount-title/index.d.ts +1 -1
  116. package/modern/components/amount-title/index.js +1 -1
  117. package/modern/components/category/component.js +1 -1
  118. package/modern/components/category/index.css +10 -8
  119. package/modern/components/category/index.d.ts +1 -1
  120. package/modern/components/category/index.js +1 -1
  121. package/modern/components/content/component.js +1 -1
  122. package/modern/components/content/index.css +3 -3
  123. package/modern/components/content/index.d.ts +1 -1
  124. package/modern/components/content/index.js +1 -1
  125. package/modern/components/footer/component.js +1 -1
  126. package/modern/components/footer/index.css +6 -5
  127. package/modern/components/footer/index.d.ts +1 -1
  128. package/modern/components/footer/index.js +1 -1
  129. package/modern/components/footer-button/component.js +1 -1
  130. package/modern/components/footer-button/index.css +2 -2
  131. package/modern/components/footer-button/index.d.ts +1 -1
  132. package/modern/components/footer-button/index.js +1 -1
  133. package/modern/components/footer-text/component.js +1 -1
  134. package/modern/components/footer-text/index.d.ts +1 -1
  135. package/modern/components/footer-text/index.js +1 -1
  136. package/modern/components/graphics/component.js +1 -1
  137. package/modern/components/graphics/index.css +23 -22
  138. package/modern/components/graphics/index.d.ts +1 -1
  139. package/modern/components/graphics/index.js +1 -1
  140. package/modern/components/main/component.js +1 -1
  141. package/modern/components/main/index.css +10 -9
  142. package/modern/components/main/index.d.ts +1 -1
  143. package/modern/components/main/index.js +1 -1
  144. package/modern/components/text/component.js +1 -1
  145. package/modern/components/text/index.css +10 -9
  146. package/modern/components/text/index.d.ts +1 -1
  147. package/modern/components/text/index.js +1 -1
  148. package/modern/index.css +38 -37
  149. package/modern/index.js +1 -1
  150. package/moderncssm/component-511ba1c0.d.ts +227 -0
  151. package/moderncssm/component-511ba1c0.js +252 -0
  152. package/moderncssm/component-8c83a9ca.d.ts +125 -0
  153. package/moderncssm/component.d.ts +0 -0
  154. package/moderncssm/component.js +7 -0
  155. package/moderncssm/components/addon/component.d.ts +0 -0
  156. package/moderncssm/components/addon/component.js +5 -0
  157. package/moderncssm/components/addon/index.d.ts +1 -0
  158. package/moderncssm/components/addon/index.js +1 -0
  159. package/moderncssm/components/addon/index.module.css +72 -0
  160. package/moderncssm/components/amount/component.d.ts +0 -0
  161. package/moderncssm/components/amount/component.js +7 -0
  162. package/moderncssm/components/amount/index.d.ts +1 -0
  163. package/moderncssm/components/amount/index.js +1 -0
  164. package/moderncssm/components/amount/index.module.css +6 -0
  165. package/moderncssm/components/amount-title/component.d.ts +0 -0
  166. package/moderncssm/components/amount-title/component.js +7 -0
  167. package/moderncssm/components/amount-title/index.d.ts +1 -0
  168. package/moderncssm/components/amount-title/index.js +1 -0
  169. package/moderncssm/components/amount-title/index.module.css +9 -0
  170. package/moderncssm/components/category/component.d.ts +0 -0
  171. package/moderncssm/components/category/component.js +5 -0
  172. package/moderncssm/components/category/index.d.ts +1 -0
  173. package/moderncssm/components/category/index.js +1 -0
  174. package/moderncssm/components/category/index.module.css +26 -0
  175. package/moderncssm/components/content/component.d.ts +0 -0
  176. package/moderncssm/components/content/component.js +5 -0
  177. package/moderncssm/components/content/index.d.ts +1 -0
  178. package/moderncssm/components/content/index.js +1 -0
  179. package/moderncssm/components/content/index.module.css +12 -0
  180. package/moderncssm/components/footer/component.d.ts +0 -0
  181. package/moderncssm/components/footer/component.js +5 -0
  182. package/moderncssm/components/footer/index.d.ts +1 -0
  183. package/moderncssm/components/footer/index.js +1 -0
  184. package/moderncssm/components/footer/index.module.css +15 -0
  185. package/moderncssm/components/footer-button/component.d.ts +0 -0
  186. package/moderncssm/components/footer-button/component.js +5 -0
  187. package/moderncssm/components/footer-button/index.d.ts +1 -0
  188. package/moderncssm/components/footer-button/index.js +1 -0
  189. package/moderncssm/components/footer-button/index.module.css +5 -0
  190. package/moderncssm/components/footer-text/component.d.ts +0 -0
  191. package/moderncssm/components/footer-text/component.js +4 -0
  192. package/moderncssm/components/footer-text/index.d.ts +1 -0
  193. package/moderncssm/components/footer-text/index.js +1 -0
  194. package/moderncssm/components/graphics/component.d.ts +0 -0
  195. package/moderncssm/components/graphics/component.js +5 -0
  196. package/moderncssm/components/graphics/index.d.ts +1 -0
  197. package/moderncssm/components/graphics/index.js +1 -0
  198. package/moderncssm/components/graphics/index.module.css +92 -0
  199. package/moderncssm/components/main/component.d.ts +0 -0
  200. package/moderncssm/components/main/component.js +5 -0
  201. package/moderncssm/components/main/index.d.ts +1 -0
  202. package/moderncssm/components/main/index.js +1 -0
  203. package/moderncssm/components/main/index.module.css +57 -0
  204. package/moderncssm/components/text/component.d.ts +0 -0
  205. package/moderncssm/components/text/component.js +6 -0
  206. package/moderncssm/components/text/index.d.ts +1 -0
  207. package/moderncssm/components/text/index.js +1 -0
  208. package/moderncssm/components/text/index.module.css +38 -0
  209. package/moderncssm/components/types.d.ts +21 -0
  210. package/moderncssm/components/types.js +1 -0
  211. package/moderncssm/components/typesProps.d.ts +46 -0
  212. package/moderncssm/components/typesProps.js +1 -0
  213. package/moderncssm/index.d.ts +2 -0
  214. package/moderncssm/index.js +1 -0
  215. package/moderncssm/index.module.css +128 -0
  216. package/moderncssm/shared/index.d.ts +1 -0
  217. package/moderncssm/shared/index.js +1 -0
  218. package/moderncssm/utils.d.ts +20 -0
  219. package/moderncssm/utils.js +25 -0
  220. package/moderncssm/vars.css +2 -0
  221. package/package.json +8 -8
  222. package/src/components/addon/index.module.css +2 -2
  223. package/src/components/amount/index.module.css +2 -2
  224. package/src/components/amount-title/index.module.css +1 -1
  225. package/src/components/category/index.module.css +4 -4
  226. package/src/components/content/index.module.css +1 -1
  227. package/src/components/footer/index.module.css +2 -2
  228. package/src/components/footer-button/index.module.css +1 -1
  229. package/src/components/graphics/index.module.css +3 -3
  230. package/src/components/main/index.module.css +1 -1
  231. package/src/components/text/index.module.css +3 -3
  232. package/src/index.module.css +9 -9
  233. package/src/vars.css +1 -1
  234. /package/{component-50cf799c.d.ts → component-317da0eb.d.ts} +0 -0
  235. /package/esm/{component-7d6886c9.d.ts → component-9671f3bb.d.ts} +0 -0
  236. /package/modern/{component-f5e0c9cb.d.ts → component-792615ae.d.ts} +0 -0
@@ -0,0 +1,125 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType, HTMLAttributes } from "react";
4
+ import { ButtonProps } from "@alfalab/core-components-button";
5
+ import { FooterTextProps } from "./components/footer-text/index";
6
+ import { PureCellElement } from "./components/types";
7
+ type PureCellContext = {
8
+ /** Направление */
9
+ direction?: 'horizontal' | 'vertical';
10
+ dataTestId?: string;
11
+ setMainHover?: () => void;
12
+ unsetMainHover?: () => void;
13
+ };
14
+ declare const PureCellContext: React.Context<PureCellContext>;
15
+ type BasePureCellProps = {
16
+ /**
17
+ * Направление
18
+ */
19
+ direction?: 'horizontal' | 'vertical';
20
+ /**
21
+ * Сss класс для стилизации общей обёртки
22
+ */
23
+ className?: string;
24
+ /**
25
+ * Выводит ссылку в виде ячейки
26
+ */
27
+ href?: string;
28
+ /**
29
+ * Вертикальные отступы
30
+ */
31
+ verticalPadding?: 'airy' | 'default' | 'compact' | 'tiny' | 'none' | {
32
+ /**
33
+ * Вертикальный отступ сверху
34
+ */
35
+ top?: 'airy' | 'default' | 'compact' | 'tiny' | 'none';
36
+ /**
37
+ * Вертикальный отступ снизу
38
+ */
39
+ bottom?: 'airy' | 'default' | 'compact' | 'tiny' | 'none';
40
+ };
41
+ /**
42
+ * Горизонтальные отступы
43
+ */
44
+ horizontalPadding?: 'left' | 'right' | 'both' | 'none';
45
+ /**
46
+ * Позволяет использовать кастомный компонент для кнопки (например Link из роутера)
47
+ */
48
+ tag?: ElementType;
49
+ /**
50
+ * Компоненты
51
+ */
52
+ children: PureCellElement;
53
+ /**
54
+ * Идентификатор для систем автоматизированного тестирования
55
+ */
56
+ dataTestId?: string;
57
+ };
58
+ type AnchorPureCellProps = BasePureCellProps & AnchorHTMLAttributes<HTMLAnchorElement>;
59
+ type ButtonPureCellProps = BasePureCellProps & ButtonHTMLAttributes<HTMLButtonElement>;
60
+ type ElementPureCellProps = BasePureCellProps & HTMLAttributes<HTMLElement>;
61
+ type PureCellProps = Partial<AnchorPureCellProps | ButtonPureCellProps | ElementPureCellProps>;
62
+ /**
63
+ * Универсальный конструктор для сборки любой ячейки.
64
+ *
65
+ * [Макет](https://www.figma.com/file/KlFOLLkKO8rtvvQE3RXuhq/Click-Library?node-id=43525%3A240018)
66
+ */
67
+ declare const PureCell: React.ForwardRefExoticComponent<PureCellProps & React.RefAttributes<HTMLElement>> & {
68
+ Main: React.FC<{
69
+ children: import("./components/types").MainElement;
70
+ isReverse?: boolean | undefined;
71
+ className?: string | undefined;
72
+ dataTestId?: string | undefined;
73
+ onClick?: (() => void) | undefined;
74
+ }>;
75
+ Graphics: React.FC<import("./components/graphics/index").Props>;
76
+ Content: React.FC<{
77
+ children: import("./components/types").ContentElement;
78
+ dataTestId?: string | undefined;
79
+ }>;
80
+ Text: React.FC<{
81
+ children?: React.ReactNode;
82
+ rowLimit?: 1 | 2 | undefined;
83
+ view?: "component" | "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "component-primary" | undefined;
84
+ titleWeight?: "bold" | "regular" | undefined;
85
+ titleColor: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark";
86
+ value?: React.ReactNode;
87
+ valueColor?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
88
+ dataTestId?: string | undefined;
89
+ }>;
90
+ Amount: React.FC<{
91
+ weight?: "bold" | "normal" | undefined;
92
+ textView?: "component" | "primary-small" | undefined;
93
+ color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
94
+ dataTestId?: string | undefined;
95
+ } & Omit<import("./components/typesProps").AmountProps, "dataTestId">>;
96
+ AmountTitle: React.FC<{
97
+ color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
98
+ titleProps?: import("@alfalab/core-components-typography").TitleProps | undefined;
99
+ dataTestId?: string | undefined;
100
+ } & Omit<import("./components/typesProps").AmountProps, "dataTestId">>;
101
+ Addon: React.FC<{
102
+ verticalAlign?: "center" | "auto" | "top" | "bottom" | undefined;
103
+ addonPadding?: "none" | "default" | undefined;
104
+ children: import("./components/types").AddonElement;
105
+ dataTestId?: string | undefined;
106
+ onClick?: (() => void) | undefined;
107
+ }>;
108
+ Footer: React.FC<{
109
+ children: import("./components/types").FooterElement;
110
+ footerPadding?: "none" | "default" | undefined;
111
+ dataTestId?: string | undefined;
112
+ }>;
113
+ ExtraSubtitle: React.FC<FooterTextProps>;
114
+ FooterButton: React.ForwardRefExoticComponent<(Omit<ButtonProps, "dataTestId"> & {
115
+ dataTestId?: string | undefined;
116
+ } & Partial<React.AnchorHTMLAttributes<HTMLAnchorElement> | React.ButtonHTMLAttributes<HTMLButtonElement>>) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
117
+ Comment: React.FC<import("@alfalab/core-components-comment").CommentProps>;
118
+ Category: React.FC<{
119
+ categoryName: string;
120
+ categoryPercent?: number | undefined;
121
+ rightAddons?: React.ReactNode;
122
+ dataTestId?: string | undefined;
123
+ }>;
124
+ };
125
+ export { PureCellContext, PureCellProps, PureCell };
File without changes
@@ -0,0 +1,7 @@
1
+ import 'react';
2
+ import 'react-merge-refs';
3
+ import 'classnames';
4
+ import '@alfalab/core-components-comment/moderncssm';
5
+ import '@alfalab/hooks';
6
+ export { P as PureCell, f as PureCellContext } from './component-511ba1c0.js';
7
+ import './index.module.css';
File without changes
@@ -0,0 +1,5 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-shared/moderncssm';
4
+ export { A as Addon } from '../../component-511ba1c0.js';
5
+ import './index.module.css';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { A as Addon } from '../../component-511ba1c0.js';
@@ -0,0 +1,72 @@
1
+ /* */
2
+
3
+ :root {
4
+ --pure-cell-clickable-area-hover-opacity: 1;
5
+ --pure-cell-clickable-area-active-opacity: 1;
6
+ }
7
+
8
+ .component {
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: flex-end
12
+ }
13
+
14
+ .component > * {
15
+ justify-content: flex-end;
16
+ }
17
+
18
+ .component.none {
19
+ padding-left: var(--gap-0);
20
+ }
21
+
22
+ .component.default {
23
+ padding-left: var(--gap-16);
24
+ }
25
+
26
+ .component.addonPadding {
27
+ padding-left: var(--gap-16);
28
+ }
29
+
30
+ .component.auto {
31
+ align-self: auto;
32
+ }
33
+
34
+ .component.top {
35
+ align-self: flex-start;
36
+ }
37
+
38
+ .component.center {
39
+ align-self: center;
40
+ }
41
+
42
+ .component.bottom {
43
+ align-self: flex-end;
44
+ }
45
+
46
+ .button {
47
+ box-sizing: border-box;
48
+ background-color: transparent;
49
+ -webkit-tap-highlight-color: transparent;
50
+ outline: none;
51
+ border: 0;
52
+ margin: var(--gap-0);
53
+ box-shadow: none;
54
+ border-radius: 0;
55
+ -webkit-user-select: none;
56
+ user-select: none;
57
+ vertical-align: middle;
58
+ appearance: none;
59
+ text-decoration: none;
60
+ min-width: 0;
61
+ cursor: pointer;
62
+ padding: var(--gap-0);
63
+ transition: opacity 0.15s ease-in-out
64
+ }
65
+
66
+ .button:hover {
67
+ opacity: var(--pure-cell-clickable-area-hover-opacity);
68
+ }
69
+
70
+ .button:active {
71
+ opacity: var(--pure-cell-clickable-area-active-opacity);
72
+ }
File without changes
@@ -0,0 +1,7 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-amount/moderncssm';
4
+ import '@alfalab/core-components-shared/moderncssm';
5
+ import '@alfalab/core-components-typography/moderncssm';
6
+ export { a as Amount } from '../../component-511ba1c0.js';
7
+ import './index.module.css';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { a as Amount } from '../../component-511ba1c0.js';
@@ -0,0 +1,6 @@
1
+ /* */
2
+
3
+ .component {
4
+ padding: var(--gap-2) var(--gap-0);
5
+ display: flex;
6
+ }
@@ -0,0 +1,7 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-amount/moderncssm';
4
+ import '@alfalab/core-components-shared/moderncssm';
5
+ import '@alfalab/core-components-typography/moderncssm';
6
+ export { b as AmountTitle } from '../../component-511ba1c0.js';
7
+ import './index.module.css';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { b as AmountTitle } from '../../component-511ba1c0.js';
@@ -0,0 +1,9 @@
1
+ /* */
2
+
3
+ .component {
4
+ display: flex;
5
+ }
6
+
7
+ .weight {
8
+ font-weight: inherit;
9
+ }
File without changes
@@ -0,0 +1,5 @@
1
+ import 'react';
2
+ import '@alfalab/core-components-shared/moderncssm';
3
+ import '@alfalab/core-components-typography/moderncssm';
4
+ export { C as Category } from '../../component-511ba1c0.js';
5
+ import './index.module.css';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { C as Category } from '../../component-511ba1c0.js';
@@ -0,0 +1,26 @@
1
+ /* */
2
+
3
+ .component {
4
+ display: flex;
5
+ overflow: hidden;
6
+ padding: var(--gap-2) var(--gap-0);
7
+ }
8
+
9
+ .categoryName {
10
+ display: -webkit-box;
11
+ -webkit-line-clamp: 1;
12
+ -webkit-box-orient: vertical;
13
+ overflow: hidden;
14
+ word-break: break-all;
15
+ }
16
+
17
+ .categoryPercent {
18
+ padding: var(--gap-0) var(--gap-8);
19
+ background-color: var(--color-light-base-bg-secondary);
20
+ border-radius: var(--border-radius-16);
21
+ margin-left: var(--gap-4);
22
+ }
23
+
24
+ .rightAddon {
25
+ margin-left: var(--gap-4);
26
+ }
File without changes
@@ -0,0 +1,5 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-shared/moderncssm';
4
+ export { c as Content } from '../../component-511ba1c0.js';
5
+ import './index.module.css';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { c as Content } from '../../component-511ba1c0.js';
@@ -0,0 +1,12 @@
1
+ /* */
2
+
3
+ .component {
4
+ flex-basis: 100%;
5
+ display: grid;
6
+ grid-template-columns: 1fr auto
7
+ }
8
+
9
+ .component.horizontal {
10
+ /* for button */
11
+ align-self: stretch;
12
+ }
File without changes
@@ -0,0 +1,5 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-shared/moderncssm';
4
+ export { F as Footer } from '../../component-511ba1c0.js';
5
+ import './index.module.css';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { F as Footer } from '../../component-511ba1c0.js';
@@ -0,0 +1,15 @@
1
+ /* */
2
+
3
+ .component {
4
+ grid-column: 1/3;
5
+ display: grid;
6
+ grid-row-gap: var(--gap-8)
7
+ }
8
+
9
+ .component.none {
10
+ margin-top: var(--gap-0);
11
+ }
12
+
13
+ .component.default {
14
+ margin-top: var(--gap-8);
15
+ }
@@ -0,0 +1,5 @@
1
+ import 'react';
2
+ import '@alfalab/core-components-button/moderncssm';
3
+ import '@alfalab/core-components-shared/moderncssm';
4
+ export { d as FooterButton } from '../../component-511ba1c0.js';
5
+ import './index.module.css';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { d as FooterButton } from '../../component-511ba1c0.js';
@@ -0,0 +1,5 @@
1
+ /* */
2
+
3
+ .component {
4
+ justify-self: start;
5
+ }
@@ -0,0 +1,4 @@
1
+ import 'react';
2
+ import '@alfalab/core-components-shared/moderncssm';
3
+ import '@alfalab/core-components-typography/moderncssm';
4
+ export { e as FooterText } from '../../component-511ba1c0.js';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { e as FooterText } from '../../component-511ba1c0.js';
File without changes
@@ -0,0 +1,5 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-shared/moderncssm';
4
+ export { G as Graphics } from '../../component-511ba1c0.js';
5
+ import './index.module.css';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { G as Graphics } from '../../component-511ba1c0.js';
@@ -0,0 +1,92 @@
1
+ /* */
2
+
3
+ :root {
4
+ --pure-cell-clickable-area-hover-opacity: 1;
5
+ --pure-cell-clickable-area-active-opacity: 1;
6
+ }
7
+
8
+ .component {
9
+ display: inline-flex;
10
+ flex-basis: auto;
11
+ }
12
+
13
+ .top {
14
+ align-self: flex-start;
15
+ }
16
+
17
+ .center {
18
+ align-self: center;
19
+ }
20
+
21
+ .bottom {
22
+ align-self: flex-end;
23
+ }
24
+
25
+ .horizontal:not(:last-child).none {
26
+ margin-right: var(--gap-0);
27
+ }
28
+
29
+ .horizontal:not(:last-child).airy {
30
+ margin-right: var(--gap-16);
31
+ }
32
+
33
+ .horizontal:not(:last-child).default {
34
+ margin-right: var(--gap-12);
35
+ }
36
+
37
+ .horizontal:not(:last-child).compact {
38
+ margin-right: var(--gap-8);
39
+ }
40
+
41
+ .horizontal:not(:last-child).tiny {
42
+ margin-right: var(--gap-4);
43
+ }
44
+
45
+ .vertical:not(:last-child).none {
46
+ margin-bottom: var(--gap-0);
47
+ }
48
+
49
+ .vertical:not(:last-child).airy {
50
+ margin-bottom: var(--gap-16);
51
+ }
52
+
53
+ .vertical:not(:last-child).default {
54
+ margin-bottom: var(--gap-12);
55
+ }
56
+
57
+ .vertical:not(:last-child).compact {
58
+ margin-bottom: var(--gap-8);
59
+ }
60
+
61
+ .vertical:not(:last-child).tiny {
62
+ margin-bottom: var(--gap-4);
63
+ }
64
+
65
+ .button {
66
+ box-sizing: border-box;
67
+ background-color: transparent;
68
+ -webkit-tap-highlight-color: transparent;
69
+ outline: none;
70
+ border: 0;
71
+ margin: var(--gap-0);
72
+ box-shadow: none;
73
+ border-radius: 0;
74
+ -webkit-user-select: none;
75
+ user-select: none;
76
+ vertical-align: middle;
77
+ appearance: none;
78
+ text-decoration: none;
79
+ min-width: 0;
80
+ cursor: pointer;
81
+ padding: var(--gap-0);
82
+ transition: opacity 0.15s ease-in-out;
83
+ min-width: auto
84
+ }
85
+
86
+ .button:hover {
87
+ opacity: var(--pure-cell-clickable-area-hover-opacity);
88
+ }
89
+
90
+ .button:active {
91
+ opacity: var(--pure-cell-clickable-area-active-opacity);
92
+ }
File without changes
@@ -0,0 +1,5 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-shared/moderncssm';
4
+ export { M as Main } from '../../component-511ba1c0.js';
5
+ import './index.module.css';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { M as Main } from '../../component-511ba1c0.js';
@@ -0,0 +1,57 @@
1
+ /* */
2
+
3
+ :root {
4
+ --pure-cell-clickable-area-hover-opacity: 1;
5
+ --pure-cell-clickable-area-active-opacity: 1;
6
+ }
7
+
8
+ .component {
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-self: center;
12
+
13
+ /* can use /r/n */
14
+ white-space: pre-line
15
+ }
16
+
17
+ .component.vertical {
18
+ grid-row-gap: var(--gap-2);
19
+ justify-content: center;
20
+ align-items: center;
21
+
22
+ /* for button */
23
+ text-align: center;
24
+ }
25
+
26
+ .component.reverse {
27
+ flex-direction: column-reverse;
28
+ }
29
+
30
+ .component.button {
31
+ box-sizing: border-box;
32
+ background-color: transparent;
33
+ -webkit-tap-highlight-color: transparent;
34
+ outline: none;
35
+ border: 0;
36
+ margin: var(--gap-0);
37
+ box-shadow: none;
38
+ border-radius: 0;
39
+ -webkit-user-select: none;
40
+ user-select: none;
41
+ vertical-align: middle;
42
+ appearance: none;
43
+ text-decoration: none;
44
+ min-width: 0;
45
+ cursor: pointer;
46
+ padding: var(--gap-0);
47
+ transition: opacity 0.15s ease-in-out;
48
+ min-width: auto
49
+ }
50
+
51
+ .component.button:hover {
52
+ opacity: var(--pure-cell-clickable-area-hover-opacity);
53
+ }
54
+
55
+ .component.button:active {
56
+ opacity: var(--pure-cell-clickable-area-active-opacity);
57
+ }
File without changes
@@ -0,0 +1,6 @@
1
+ import 'react';
2
+ import 'classnames';
3
+ import '@alfalab/core-components-shared/moderncssm';
4
+ import '@alfalab/core-components-typography/moderncssm';
5
+ export { T as Text } from '../../component-511ba1c0.js';
6
+ import './index.module.css';
@@ -0,0 +1 @@
1
+ export * from "../../component-511ba1c0";
@@ -0,0 +1 @@
1
+ export { T as Text } from '../../component-511ba1c0.js';