@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.
- package/{component-50cf799c.js → component-317da0eb.js} +11 -11
- package/component.js +1 -1
- package/components/addon/component.js +1 -1
- package/components/addon/index.css +17 -16
- package/components/addon/index.d.ts +1 -1
- package/components/addon/index.js +1 -1
- package/components/amount/component.js +1 -1
- package/components/amount/index.css +4 -3
- package/components/amount/index.d.ts +1 -1
- package/components/amount/index.js +1 -1
- package/components/amount-title/component.js +1 -1
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.d.ts +1 -1
- package/components/amount-title/index.js +1 -1
- package/components/category/component.js +1 -1
- package/components/category/index.css +10 -8
- package/components/category/index.d.ts +1 -1
- package/components/category/index.js +1 -1
- package/components/content/component.js +1 -1
- package/components/content/index.css +3 -3
- package/components/content/index.d.ts +1 -1
- package/components/content/index.js +1 -1
- package/components/footer/component.js +1 -1
- package/components/footer/index.css +6 -5
- package/components/footer/index.d.ts +1 -1
- package/components/footer/index.js +1 -1
- package/components/footer-button/component.js +1 -1
- package/components/footer-button/index.css +2 -2
- package/components/footer-button/index.d.ts +1 -1
- package/components/footer-button/index.js +1 -1
- package/components/footer-text/component.js +1 -1
- package/components/footer-text/index.d.ts +1 -1
- package/components/footer-text/index.js +1 -1
- package/components/graphics/component.js +1 -1
- package/components/graphics/index.css +23 -22
- package/components/graphics/index.d.ts +1 -1
- package/components/graphics/index.js +1 -1
- package/components/main/component.js +1 -1
- package/components/main/index.css +10 -9
- package/components/main/index.d.ts +1 -1
- package/components/main/index.js +1 -1
- package/components/text/component.js +1 -1
- package/components/text/index.css +10 -9
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +1 -1
- package/cssm/components/addon/index.module.css +4 -3
- package/cssm/components/amount/index.module.css +2 -1
- package/cssm/components/category/index.module.css +5 -3
- package/cssm/components/footer/index.module.css +2 -1
- package/cssm/components/graphics/index.module.css +5 -4
- package/cssm/components/main/index.module.css +3 -2
- package/cssm/components/text/index.module.css +3 -2
- package/cssm/index.module.css +9 -8
- package/esm/{component-7d6886c9.js → component-9671f3bb.js} +11 -11
- package/esm/component.js +1 -1
- package/esm/components/addon/component.js +1 -1
- package/esm/components/addon/index.css +17 -16
- package/esm/components/addon/index.d.ts +1 -1
- package/esm/components/addon/index.js +1 -1
- package/esm/components/amount/component.js +1 -1
- package/esm/components/amount/index.css +4 -3
- package/esm/components/amount/index.d.ts +1 -1
- package/esm/components/amount/index.js +1 -1
- package/esm/components/amount-title/component.js +1 -1
- package/esm/components/amount-title/index.css +3 -3
- package/esm/components/amount-title/index.d.ts +1 -1
- package/esm/components/amount-title/index.js +1 -1
- package/esm/components/category/component.js +1 -1
- package/esm/components/category/index.css +10 -8
- package/esm/components/category/index.d.ts +1 -1
- package/esm/components/category/index.js +1 -1
- package/esm/components/content/component.js +1 -1
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/index.d.ts +1 -1
- package/esm/components/content/index.js +1 -1
- package/esm/components/footer/component.js +1 -1
- package/esm/components/footer/index.css +6 -5
- package/esm/components/footer/index.d.ts +1 -1
- package/esm/components/footer/index.js +1 -1
- package/esm/components/footer-button/component.js +1 -1
- package/esm/components/footer-button/index.css +2 -2
- package/esm/components/footer-button/index.d.ts +1 -1
- package/esm/components/footer-button/index.js +1 -1
- package/esm/components/footer-text/component.js +1 -1
- package/esm/components/footer-text/index.d.ts +1 -1
- package/esm/components/footer-text/index.js +1 -1
- package/esm/components/graphics/component.js +1 -1
- package/esm/components/graphics/index.css +23 -22
- package/esm/components/graphics/index.d.ts +1 -1
- package/esm/components/graphics/index.js +1 -1
- package/esm/components/main/component.js +1 -1
- package/esm/components/main/index.css +10 -9
- package/esm/components/main/index.d.ts +1 -1
- package/esm/components/main/index.js +1 -1
- package/esm/components/text/component.js +1 -1
- package/esm/components/text/index.css +10 -9
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +1 -1
- package/esm/index.css +38 -37
- package/esm/index.js +1 -1
- package/index.css +38 -37
- package/index.js +1 -1
- package/modern/{component-f5e0c9cb.js → component-792615ae.js} +11 -11
- package/modern/component.js +1 -1
- package/modern/components/addon/component.js +1 -1
- package/modern/components/addon/index.css +17 -16
- package/modern/components/addon/index.d.ts +1 -1
- package/modern/components/addon/index.js +1 -1
- package/modern/components/amount/component.js +1 -1
- package/modern/components/amount/index.css +4 -3
- package/modern/components/amount/index.d.ts +1 -1
- package/modern/components/amount/index.js +1 -1
- package/modern/components/amount-title/component.js +1 -1
- package/modern/components/amount-title/index.css +3 -3
- package/modern/components/amount-title/index.d.ts +1 -1
- package/modern/components/amount-title/index.js +1 -1
- package/modern/components/category/component.js +1 -1
- package/modern/components/category/index.css +10 -8
- package/modern/components/category/index.d.ts +1 -1
- package/modern/components/category/index.js +1 -1
- package/modern/components/content/component.js +1 -1
- package/modern/components/content/index.css +3 -3
- package/modern/components/content/index.d.ts +1 -1
- package/modern/components/content/index.js +1 -1
- package/modern/components/footer/component.js +1 -1
- package/modern/components/footer/index.css +6 -5
- package/modern/components/footer/index.d.ts +1 -1
- package/modern/components/footer/index.js +1 -1
- package/modern/components/footer-button/component.js +1 -1
- package/modern/components/footer-button/index.css +2 -2
- package/modern/components/footer-button/index.d.ts +1 -1
- package/modern/components/footer-button/index.js +1 -1
- package/modern/components/footer-text/component.js +1 -1
- package/modern/components/footer-text/index.d.ts +1 -1
- package/modern/components/footer-text/index.js +1 -1
- package/modern/components/graphics/component.js +1 -1
- package/modern/components/graphics/index.css +23 -22
- package/modern/components/graphics/index.d.ts +1 -1
- package/modern/components/graphics/index.js +1 -1
- package/modern/components/main/component.js +1 -1
- package/modern/components/main/index.css +10 -9
- package/modern/components/main/index.d.ts +1 -1
- package/modern/components/main/index.js +1 -1
- package/modern/components/text/component.js +1 -1
- package/modern/components/text/index.css +10 -9
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +1 -1
- package/modern/index.css +38 -37
- package/modern/index.js +1 -1
- package/moderncssm/component-511ba1c0.d.ts +227 -0
- package/moderncssm/component-511ba1c0.js +252 -0
- package/moderncssm/component-8c83a9ca.d.ts +125 -0
- package/moderncssm/component.d.ts +0 -0
- package/moderncssm/component.js +7 -0
- package/moderncssm/components/addon/component.d.ts +0 -0
- package/moderncssm/components/addon/component.js +5 -0
- package/moderncssm/components/addon/index.d.ts +1 -0
- package/moderncssm/components/addon/index.js +1 -0
- package/moderncssm/components/addon/index.module.css +72 -0
- package/moderncssm/components/amount/component.d.ts +0 -0
- package/moderncssm/components/amount/component.js +7 -0
- package/moderncssm/components/amount/index.d.ts +1 -0
- package/moderncssm/components/amount/index.js +1 -0
- package/moderncssm/components/amount/index.module.css +6 -0
- package/moderncssm/components/amount-title/component.d.ts +0 -0
- package/moderncssm/components/amount-title/component.js +7 -0
- package/moderncssm/components/amount-title/index.d.ts +1 -0
- package/moderncssm/components/amount-title/index.js +1 -0
- package/moderncssm/components/amount-title/index.module.css +9 -0
- package/moderncssm/components/category/component.d.ts +0 -0
- package/moderncssm/components/category/component.js +5 -0
- package/moderncssm/components/category/index.d.ts +1 -0
- package/moderncssm/components/category/index.js +1 -0
- package/moderncssm/components/category/index.module.css +26 -0
- package/moderncssm/components/content/component.d.ts +0 -0
- package/moderncssm/components/content/component.js +5 -0
- package/moderncssm/components/content/index.d.ts +1 -0
- package/moderncssm/components/content/index.js +1 -0
- package/moderncssm/components/content/index.module.css +12 -0
- package/moderncssm/components/footer/component.d.ts +0 -0
- package/moderncssm/components/footer/component.js +5 -0
- package/moderncssm/components/footer/index.d.ts +1 -0
- package/moderncssm/components/footer/index.js +1 -0
- package/moderncssm/components/footer/index.module.css +15 -0
- package/moderncssm/components/footer-button/component.d.ts +0 -0
- package/moderncssm/components/footer-button/component.js +5 -0
- package/moderncssm/components/footer-button/index.d.ts +1 -0
- package/moderncssm/components/footer-button/index.js +1 -0
- package/moderncssm/components/footer-button/index.module.css +5 -0
- package/moderncssm/components/footer-text/component.d.ts +0 -0
- package/moderncssm/components/footer-text/component.js +4 -0
- package/moderncssm/components/footer-text/index.d.ts +1 -0
- package/moderncssm/components/footer-text/index.js +1 -0
- package/moderncssm/components/graphics/component.d.ts +0 -0
- package/moderncssm/components/graphics/component.js +5 -0
- package/moderncssm/components/graphics/index.d.ts +1 -0
- package/moderncssm/components/graphics/index.js +1 -0
- package/moderncssm/components/graphics/index.module.css +92 -0
- package/moderncssm/components/main/component.d.ts +0 -0
- package/moderncssm/components/main/component.js +5 -0
- package/moderncssm/components/main/index.d.ts +1 -0
- package/moderncssm/components/main/index.js +1 -0
- package/moderncssm/components/main/index.module.css +57 -0
- package/moderncssm/components/text/component.d.ts +0 -0
- package/moderncssm/components/text/component.js +6 -0
- package/moderncssm/components/text/index.d.ts +1 -0
- package/moderncssm/components/text/index.js +1 -0
- package/moderncssm/components/text/index.module.css +38 -0
- package/moderncssm/components/types.d.ts +21 -0
- package/moderncssm/components/types.js +1 -0
- package/moderncssm/components/typesProps.d.ts +46 -0
- package/moderncssm/components/typesProps.js +1 -0
- package/moderncssm/index.d.ts +2 -0
- package/moderncssm/index.js +1 -0
- package/moderncssm/index.module.css +128 -0
- package/moderncssm/shared/index.d.ts +1 -0
- package/moderncssm/shared/index.js +1 -0
- package/moderncssm/utils.d.ts +20 -0
- package/moderncssm/utils.js +25 -0
- package/moderncssm/vars.css +2 -0
- package/package.json +8 -8
- package/src/components/addon/index.module.css +2 -2
- package/src/components/amount/index.module.css +2 -2
- package/src/components/amount-title/index.module.css +1 -1
- package/src/components/category/index.module.css +4 -4
- package/src/components/content/index.module.css +1 -1
- package/src/components/footer/index.module.css +2 -2
- package/src/components/footer-button/index.module.css +1 -1
- package/src/components/graphics/index.module.css +3 -3
- package/src/components/main/index.module.css +1 -1
- package/src/components/text/index.module.css +3 -3
- package/src/index.module.css +9 -9
- package/src/vars.css +1 -1
- /package/{component-50cf799c.d.ts → component-317da0eb.d.ts} +0 -0
- /package/esm/{component-7d6886c9.d.ts → component-9671f3bb.d.ts} +0 -0
- /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
|
|
File without changes
|
|
@@ -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';
|
|
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 { 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';
|
|
File without changes
|
|
@@ -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 @@
|
|
|
1
|
+
export * from "../../component-511ba1c0";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { c as Content } from '../../component-511ba1c0.js';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../component-511ba1c0";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { F as Footer } from '../../component-511ba1c0.js';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../component-511ba1c0";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { d as FooterButton } from '../../component-511ba1c0.js';
|
|
File without changes
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
export * from "../../component-511ba1c0";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { T as Text } from '../../component-511ba1c0.js';
|