@alfalab/core-components-pure-cell 4.1.11 → 4.2.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-e2669cc2.d.ts → component-1dea020c.d.ts} +5 -1
- package/{component-e2669cc2.js → component-1dea020c.js} +11 -11
- package/component-c49f24a8.d.ts +6 -5
- package/component.js +3 -3
- package/components/addon/component.js +2 -2
- package/components/addon/index.css +9 -9
- package/components/addon/index.js +1 -1
- package/components/amount/component.js +5 -5
- package/components/amount/index.css +2 -2
- package/components/amount/index.js +2 -2
- package/components/amount-title/component.js +5 -5
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.js +2 -2
- package/components/category/component.js +2 -2
- package/components/category/index.css +5 -5
- package/components/category/index.js +1 -1
- package/components/content/component.js +3 -3
- package/components/content/index.css +3 -3
- package/components/content/index.d.ts +1 -1
- package/components/content/index.js +3 -3
- package/components/footer/component.js +2 -2
- package/components/footer/index.css +4 -4
- package/components/footer/index.js +1 -1
- package/components/footer-button/component.js +5 -5
- package/components/footer-button/index.css +2 -2
- package/components/footer-button/index.js +2 -2
- package/components/footer-text/component.js +1 -1
- package/components/footer-text/index.js +1 -1
- package/components/graphics/component.js +2 -2
- package/components/graphics/index.css +5 -5
- package/components/graphics/index.js +1 -1
- package/components/main/component.js +3 -3
- package/components/main/index.css +4 -4
- package/components/main/index.d.ts +1 -1
- package/components/main/index.js +3 -3
- package/components/text/component.js +3 -3
- package/components/text/index.css +7 -7
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +3 -3
- package/{esm/component-ce3b8d8e.d.ts → cssm/component-bd74da42.d.ts} +5 -1
- package/cssm/{component-094dfd9a.js → component-bd74da42.js} +6 -6
- package/cssm/component-c49f24a8.d.ts +6 -5
- package/cssm/component.js +2 -2
- package/cssm/components/amount/component.js +3 -3
- package/cssm/components/amount/index.js +1 -1
- package/cssm/components/amount-title/component.js +3 -3
- package/cssm/components/amount-title/index.js +1 -1
- package/cssm/components/content/component.js +2 -2
- package/cssm/components/content/index.d.ts +1 -1
- package/cssm/components/content/index.js +2 -2
- package/cssm/components/footer-button/component.js +3 -3
- package/cssm/components/footer-button/index.js +1 -1
- package/cssm/components/main/component.js +2 -2
- package/cssm/components/main/index.d.ts +1 -1
- package/cssm/components/main/index.js +2 -2
- package/cssm/components/text/component.js +2 -2
- package/cssm/components/text/index.d.ts +1 -1
- package/cssm/components/text/index.js +2 -2
- package/cssm/index.js +2 -2
- package/{cssm/component-094dfd9a.d.ts → esm/component-298df540.d.ts} +5 -1
- package/esm/{component-ce3b8d8e.js → component-298df540.js} +8 -8
- package/esm/component-c49f24a8.d.ts +6 -5
- package/esm/component.js +3 -3
- package/esm/components/addon/component.js +2 -2
- package/esm/components/addon/index.css +9 -9
- package/esm/components/addon/index.js +1 -1
- package/esm/components/amount/component.js +3 -3
- package/esm/components/amount/index.css +2 -2
- package/esm/components/amount/index.js +2 -2
- package/esm/components/amount-title/component.js +3 -3
- package/esm/components/amount-title/index.css +3 -3
- package/esm/components/amount-title/index.js +2 -2
- package/esm/components/category/component.js +2 -2
- package/esm/components/category/index.css +5 -5
- package/esm/components/category/index.js +1 -1
- package/esm/components/content/component.js +3 -3
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/index.d.ts +1 -1
- package/esm/components/content/index.js +3 -3
- package/esm/components/footer/component.js +2 -2
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/index.js +1 -1
- package/esm/components/footer-button/component.js +3 -3
- package/esm/components/footer-button/index.css +2 -2
- package/esm/components/footer-button/index.js +2 -2
- package/esm/components/footer-text/component.js +1 -1
- package/esm/components/footer-text/index.js +1 -1
- package/esm/components/graphics/component.js +2 -2
- package/esm/components/graphics/index.css +5 -5
- package/esm/components/graphics/index.js +1 -1
- package/esm/components/main/component.js +3 -3
- package/esm/components/main/index.css +4 -4
- package/esm/components/main/index.d.ts +1 -1
- package/esm/components/main/index.js +3 -3
- package/esm/components/text/component.js +3 -3
- package/esm/components/text/index.css +7 -7
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +3 -3
- package/esm/{getDataTestId-6b257645.d.ts → getDataTestId-326b3d3b.d.ts} +0 -0
- package/esm/{getDataTestId-6b257645.js → getDataTestId-326b3d3b.js} +0 -0
- package/esm/index.css +21 -21
- package/esm/index.js +3 -3
- package/{getDataTestId-7b531eab.d.ts → getDataTestId-a610299d.d.ts} +0 -0
- package/{getDataTestId-7b531eab.js → getDataTestId-a610299d.js} +0 -0
- package/index.css +21 -21
- package/index.js +3 -3
- package/modern/{component-ecc16265.d.ts → component-a8aa353d.d.ts} +5 -1
- package/modern/{component-ecc16265.js → component-a8aa353d.js} +7 -7
- package/modern/component-c49f24a8.d.ts +6 -5
- package/modern/component.js +2 -2
- package/modern/components/addon/component.js +2 -2
- package/modern/components/addon/index.css +9 -9
- package/modern/components/addon/index.js +1 -1
- package/modern/components/amount/component.js +2 -2
- package/modern/components/amount/index.css +2 -2
- package/modern/components/amount/index.js +1 -1
- package/modern/components/amount-title/component.js +2 -2
- package/modern/components/amount-title/index.css +3 -3
- package/modern/components/amount-title/index.js +1 -1
- package/modern/components/category/component.js +2 -2
- package/modern/components/category/index.css +5 -5
- package/modern/components/category/index.js +1 -1
- package/modern/components/content/component.js +2 -2
- package/modern/components/content/index.css +3 -3
- package/modern/components/content/index.d.ts +1 -1
- package/modern/components/content/index.js +2 -2
- package/modern/components/footer/component.js +2 -2
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/index.js +1 -1
- package/modern/components/footer-button/component.js +2 -2
- package/modern/components/footer-button/index.css +2 -2
- package/modern/components/footer-button/index.js +1 -1
- package/modern/components/footer-text/component.js +1 -1
- package/modern/components/footer-text/index.js +1 -1
- package/modern/components/graphics/component.js +2 -2
- package/modern/components/graphics/index.css +5 -5
- package/modern/components/graphics/index.js +1 -1
- package/modern/components/main/component.js +2 -2
- package/modern/components/main/index.css +4 -4
- package/modern/components/main/index.d.ts +1 -1
- package/modern/components/main/index.js +2 -2
- package/modern/components/text/component.js +2 -2
- package/modern/components/text/index.css +7 -7
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +2 -2
- package/modern/{getDataTestId-46ae5f7e.d.ts → getDataTestId-aee86588.d.ts} +0 -0
- package/modern/{getDataTestId-46ae5f7e.js → getDataTestId-aee86588.js} +0 -0
- package/modern/index.css +21 -21
- package/modern/index.js +2 -2
- package/package.json +7 -6
- package/cssm/tslib.es6-bbd6cd2a.d.ts +0 -36
- package/cssm/tslib.es6-bbd6cd2a.js +0 -42
- package/esm/tslib.es6-2976061b.d.ts +0 -36
- package/esm/tslib.es6-2976061b.js +0 -40
- package/tslib.es6-1fc63a53.d.ts +0 -36
- package/tslib.es6-1fc63a53.js +0 -42
package/esm/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { P as PureCell } from './component-
|
|
2
|
-
import '
|
|
1
|
+
export { P as PureCell } from './component-298df540.js';
|
|
2
|
+
import 'tslib';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-merge-refs';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '@alfalab/core-components-comment/esm';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import './components/addon/component.js';
|
|
9
|
-
import './getDataTestId-
|
|
9
|
+
import './getDataTestId-326b3d3b.js';
|
|
10
10
|
import './components/amount/component.js';
|
|
11
11
|
import '@alfalab/core-components-amount/esm';
|
|
12
12
|
import '@alfalab/core-components-typography/esm';
|
|
File without changes
|
|
File without changes
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1n605 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
} :root {
|
|
21
21
|
} :root {
|
|
22
22
|
--focus-color: var(--color-light-border-link);
|
|
23
|
-
} .pure-
|
|
23
|
+
} .pure-cell__component_1a6qa {
|
|
24
24
|
text-align: unset;
|
|
25
25
|
|
|
26
26
|
/** line-height наследуется. Если его не обнулить, то все иконки внутри будут иметь неверный размер */
|
|
27
27
|
line-height: 0;
|
|
28
28
|
box-sizing: border-box;
|
|
29
|
-
} .pure-
|
|
29
|
+
} .pure-cell__horizontal_1a6qa {
|
|
30
30
|
display: flex;
|
|
31
31
|
width: 100%
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__horizontal_1a6qa > section:not(:last-child) {
|
|
33
33
|
margin-right: var(--gap-m);
|
|
34
|
-
} .pure-
|
|
34
|
+
} .pure-cell__vertical_1a6qa {
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
flex-direction: column
|
|
38
|
-
} .pure-
|
|
38
|
+
} .pure-cell__vertical_1a6qa > section:not(:last-child) {
|
|
39
39
|
margin-bottom: var(--gap-s);
|
|
40
|
-
} .pure-
|
|
40
|
+
} .pure-cell__button_1a6qa {
|
|
41
41
|
font-family: inherit;
|
|
42
42
|
background: none;
|
|
43
43
|
border: 0;
|
|
@@ -45,37 +45,37 @@
|
|
|
45
45
|
cursor: pointer;
|
|
46
46
|
transition: opacity 0.15s ease-in-out;
|
|
47
47
|
padding: 0
|
|
48
|
-
} .pure-
|
|
48
|
+
} .pure-cell__button_1a6qa:hover {
|
|
49
49
|
opacity: 0.8;
|
|
50
|
-
} .pure-
|
|
50
|
+
} .pure-cell__button_1a6qa:active {
|
|
51
51
|
opacity: 0.6;
|
|
52
|
-
} .pure-
|
|
52
|
+
} .pure-cell__link_1a6qa {
|
|
53
53
|
text-decoration: none;
|
|
54
54
|
color: inherit;
|
|
55
55
|
cursor: pointer;
|
|
56
56
|
transition: opacity 0.15s ease-in-out
|
|
57
|
-
} .pure-
|
|
57
|
+
} .pure-cell__link_1a6qa:hover {
|
|
58
58
|
opacity: 0.8;
|
|
59
|
-
} .pure-
|
|
59
|
+
} .pure-cell__link_1a6qa:active {
|
|
60
60
|
opacity: 0.6;
|
|
61
|
-
} .pure-
|
|
61
|
+
} .pure-cell__none_1a6qa {
|
|
62
62
|
padding: 0;
|
|
63
|
-
} .pure-
|
|
63
|
+
} .pure-cell__airy_1a6qa {
|
|
64
64
|
padding: var(--gap-m) 0;
|
|
65
|
-
} .pure-
|
|
65
|
+
} .pure-cell__defaultPadding_1a6qa {
|
|
66
66
|
padding: var(--gap-s) 0;
|
|
67
|
-
} .pure-
|
|
67
|
+
} .pure-cell__compact_1a6qa {
|
|
68
68
|
padding: var(--gap-xs) 0;
|
|
69
|
-
} .pure-
|
|
69
|
+
} .pure-cell__tiny_1a6qa {
|
|
70
70
|
padding: var(--gap-2xs) 0;
|
|
71
|
-
} .pure-
|
|
71
|
+
} .pure-cell__left_1a6qa {
|
|
72
72
|
padding-left: var(--gap-m);
|
|
73
|
-
} .pure-
|
|
73
|
+
} .pure-cell__right_1a6qa {
|
|
74
74
|
padding-right: var(--gap-m);
|
|
75
|
-
} .pure-
|
|
75
|
+
} .pure-cell__both_1a6qa {
|
|
76
76
|
padding-right: var(--gap-m);
|
|
77
77
|
padding-left: var(--gap-m);
|
|
78
|
-
} .pure-
|
|
78
|
+
} .pure-cell__focused_1a6qa {
|
|
79
79
|
outline: 2px solid var(--focus-color);
|
|
80
80
|
outline-offset: 2px;
|
|
81
81
|
}
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var components_content_component = require('./component-
|
|
4
|
-
require('
|
|
3
|
+
var components_content_component = require('./component-1dea020c.js');
|
|
4
|
+
require('tslib');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-merge-refs');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-comment');
|
|
9
9
|
require('@alfalab/hooks');
|
|
10
10
|
require('./components/addon/component.js');
|
|
11
|
-
require('./getDataTestId-
|
|
11
|
+
require('./getDataTestId-a610299d.js');
|
|
12
12
|
require('./components/amount/component.js');
|
|
13
13
|
require('@alfalab/core-components-amount');
|
|
14
14
|
require('@alfalab/core-components-typography');
|
|
@@ -41,7 +41,11 @@ type Props$1 = {
|
|
|
41
41
|
/**
|
|
42
42
|
* Размер текста
|
|
43
43
|
*/
|
|
44
|
-
view: 'primary-small' | 'component';
|
|
44
|
+
view: 'primary-large' | 'primary-medium' | 'primary-small' | 'component';
|
|
45
|
+
/**
|
|
46
|
+
* Толщина title
|
|
47
|
+
*/
|
|
48
|
+
titleWeight?: 'regular' | 'bold';
|
|
45
49
|
/**
|
|
46
50
|
* Цвет title
|
|
47
51
|
*/
|
|
@@ -7,14 +7,14 @@ import { Addon } from './components/addon/component.js';
|
|
|
7
7
|
import { Amount } from './components/amount/component.js';
|
|
8
8
|
import { AmountTitle } from './components/amount-title/component.js';
|
|
9
9
|
import { Category } from './components/category/component.js';
|
|
10
|
-
import { g as getDataTestId } from './getDataTestId-
|
|
10
|
+
import { g as getDataTestId } from './getDataTestId-aee86588.js';
|
|
11
11
|
import { Footer } from './components/footer/component.js';
|
|
12
12
|
import { FooterButton } from './components/footer-button/component.js';
|
|
13
13
|
import { FooterText } from './components/footer-text/component.js';
|
|
14
14
|
import { Graphics } from './components/graphics/component.js';
|
|
15
15
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
16
16
|
|
|
17
|
-
const styles$3 = {"component":"pure-
|
|
17
|
+
const styles$3 = {"component":"pure-cell__component_vi9d9","horizontal":"pure-cell__horizontal_vi9d9"};
|
|
18
18
|
require('./components/content/index.css')
|
|
19
19
|
|
|
20
20
|
const Content = ({ children, dataTestId }) => {
|
|
@@ -22,7 +22,7 @@ const Content = ({ children, dataTestId }) => {
|
|
|
22
22
|
return (React.createElement("section", { className: cn(styles$3.component, { [styles$3.horizontal]: direction === 'horizontal' }), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
const styles$2 = {"component":"pure-
|
|
25
|
+
const styles$2 = {"component":"pure-cell__component_4cix5","vertical":"pure-cell__vertical_4cix5","reverse":"pure-cell__reverse_4cix5"};
|
|
26
26
|
require('./components/main/index.css')
|
|
27
27
|
|
|
28
28
|
const Main = ({ children, isReverse, dataTestId }) => {
|
|
@@ -32,20 +32,20 @@ const Main = ({ children, isReverse, dataTestId }) => {
|
|
|
32
32
|
}), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
const styles$1 = {"horizontal":"pure-
|
|
35
|
+
const styles$1 = {"horizontal":"pure-cell__horizontal_19q8g","rowLimit1":"pure-cell__rowLimit1_19q8g","rowLimit2":"pure-cell__rowLimit2_19q8g","component":"pure-cell__component_19q8g","vertical":"pure-cell__vertical_19q8g","title":"pure-cell__title_19q8g","value":"pure-cell__value_19q8g"};
|
|
36
36
|
require('./components/text/index.css')
|
|
37
37
|
|
|
38
|
-
const Text = ({ children, value, rowLimit, view = 'component', titleColor, valueColor, dataTestId, }) => {
|
|
38
|
+
const Text = ({ children, value, rowLimit, view = 'component', titleWeight, titleColor, valueColor, dataTestId, }) => {
|
|
39
39
|
const { direction = 'horizontal' } = useContext(PureCellContext);
|
|
40
40
|
const className = rowLimit && styles$1[`rowLimit${rowLimit}`];
|
|
41
41
|
return (React.createElement("div", { className: cn(styles$1.component, {
|
|
42
42
|
[styles$1.vertical]: direction !== 'horizontal',
|
|
43
43
|
}) },
|
|
44
|
-
React.createElement("span", { className: styles$1.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
|
|
44
|
+
React.createElement("span", { className: styles$1.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, weight: titleWeight, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
|
|
45
45
|
value !== undefined && (React.createElement("span", { className: styles$1.value }, typeof value === 'string' ? (React.createElement(Typography.Text, { view: view, color: valueColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, value)) : (value)))));
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
const styles = {"component":"pure-
|
|
48
|
+
const styles = {"component":"pure-cell__component_1a6qa","horizontal":"pure-cell__horizontal_1a6qa","vertical":"pure-cell__vertical_1a6qa","button":"pure-cell__button_1a6qa","link":"pure-cell__link_1a6qa","none":"pure-cell__none_1a6qa","airy":"pure-cell__airy_1a6qa","defaultPadding":"pure-cell__defaultPadding_1a6qa","compact":"pure-cell__compact_1a6qa","tiny":"pure-cell__tiny_1a6qa","left":"pure-cell__left_1a6qa","right":"pure-cell__right_1a6qa","both":"pure-cell__both_1a6qa","focused":"pure-cell__focused_1a6qa"};
|
|
49
49
|
require('./index.css')
|
|
50
50
|
|
|
51
51
|
/* eslint-disable react/jsx-no-constructed-context-values */
|
|
@@ -65,20 +65,21 @@ declare const PureCell: React.ForwardRefExoticComponent<PureProps & React.RefAtt
|
|
|
65
65
|
Text: React.FC<{
|
|
66
66
|
children?: React.ReactNode;
|
|
67
67
|
rowLimit?: 1 | 2 | undefined;
|
|
68
|
-
view: "component" | "primary-small";
|
|
69
|
-
|
|
68
|
+
view: "component" | "primary-large" | "primary-medium" | "primary-small";
|
|
69
|
+
titleWeight?: "bold" | "regular" | undefined;
|
|
70
|
+
titleColor: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative";
|
|
70
71
|
value?: React.ReactNode;
|
|
71
|
-
valueColor?: "link" | "
|
|
72
|
+
valueColor?: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
|
|
72
73
|
dataTestId?: string | undefined;
|
|
73
74
|
}>;
|
|
74
75
|
Amount: React.FC<{
|
|
75
76
|
weight?: "bold" | "normal" | undefined;
|
|
76
77
|
textView?: "component" | "primary-small" | undefined;
|
|
77
|
-
color?: "link" | "
|
|
78
|
+
color?: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
|
|
78
79
|
dataTestId?: string | undefined;
|
|
79
80
|
} & import("./components/typesProps").AmountProps>;
|
|
80
81
|
AmountTitle: React.FC<{
|
|
81
|
-
color?: "link" | "
|
|
82
|
+
color?: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
|
|
82
83
|
} & import("./components/typesProps").AmountProps>;
|
|
83
84
|
Addon: React.FC<{
|
|
84
85
|
verticalAlign?: "top" | "center" | "bottom" | undefined;
|
package/modern/component.js
CHANGED
|
@@ -7,12 +7,12 @@ import './components/addon/component.js';
|
|
|
7
7
|
import './components/amount/component.js';
|
|
8
8
|
import './components/amount-title/component.js';
|
|
9
9
|
import './components/category/component.js';
|
|
10
|
-
export { P as PureCell, a as PureCellContext } from './component-
|
|
10
|
+
export { P as PureCell, a as PureCellContext } from './component-a8aa353d.js';
|
|
11
11
|
import './components/footer/component.js';
|
|
12
12
|
import './components/footer-button/component.js';
|
|
13
13
|
import './components/footer-text/component.js';
|
|
14
14
|
import './components/graphics/component.js';
|
|
15
|
-
import './getDataTestId-
|
|
15
|
+
import './getDataTestId-aee86588.js';
|
|
16
16
|
import '@alfalab/core-components-amount/modern';
|
|
17
17
|
import '@alfalab/core-components-typography/modern';
|
|
18
18
|
import '@alfalab/core-components-button/modern';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-aee86588.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_1d8tm","none":"pure-cell__none_1d8tm","default":"pure-cell__default_1d8tm","addonPadding":"pure-cell__addonPadding_1d8tm","top":"pure-cell__top_1d8tm","center":"pure-cell__center_1d8tm","bottom":"pure-cell__bottom_1d8tm"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Addon = ({ children, verticalAlign = 'top', addonPadding = 'default', dataTestId, }) => (React.createElement("section", { className: cn(styles.component, styles[addonPadding], styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'addon') }, children));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 8og9k */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
--gap-m: 16px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_1d8tm {
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
21
21
|
align-items: flex-end
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_1d8tm > * {
|
|
23
23
|
justify-content: flex-end;
|
|
24
|
-
} .pure-
|
|
24
|
+
} .pure-cell__component_1d8tm.pure-cell__none_1d8tm {
|
|
25
25
|
padding-left: 0;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__component_1d8tm.pure-cell__default_1d8tm {
|
|
27
27
|
padding-left: var(--gap-m);
|
|
28
|
-
} .pure-
|
|
28
|
+
} .pure-cell__component_1d8tm.pure-cell__addonPadding_1d8tm {
|
|
29
29
|
padding-left: var(--gap-m);
|
|
30
|
-
} .pure-
|
|
30
|
+
} .pure-cell__component_1d8tm.pure-cell__top_1d8tm {
|
|
31
31
|
align-self: flex-start;
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__component_1d8tm.pure-cell__center_1d8tm {
|
|
33
33
|
align-self: center;
|
|
34
|
-
} .pure-
|
|
34
|
+
} .pure-cell__component_1d8tm.pure-cell__bottom_1d8tm {
|
|
35
35
|
align-self: flex-end;
|
|
36
36
|
}
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Amount as Amount$1 } from '@alfalab/core-components-amount/modern';
|
|
4
4
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
5
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
5
|
+
import { g as getDataTestId } from '../../getDataTestId-aee86588.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"component":"pure-
|
|
7
|
+
const styles = {"component":"pure-cell__component_1fjf0"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Amount = ({ weight = 'normal', textView = 'component', color = 'primary', minority, minorUnits = 100, dataTestId, ...restProps }) => (React.createElement(Typography.Text, { view: textView, dataTestId: getDataTestId(dataTestId, 'amount-text'), className: cn(styles.component), color: color },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1r325 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
--gap-3xs: 2px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_1fjf0 {
|
|
19
19
|
padding: var(--gap-3xs) 0;
|
|
20
20
|
display: flex;
|
|
21
21
|
}
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Amount } from '@alfalab/core-components-amount/modern';
|
|
4
4
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
5
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
5
|
+
import { g as getDataTestId } from '../../getDataTestId-aee86588.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"component":"pure-
|
|
7
|
+
const styles = {"component":"pure-cell__component_19ze9","weight":"pure-cell__weight_19ze9"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const AmountTitle = ({ minority, minorUnits = 100, className, color = 'primary', dataTestId, ...restProps }) => (React.createElement(Typography.Title, { tag: 'h4', view: 'small', dataTestId: getDataTestId(dataTestId, 'amount-title'), className: styles.component, color: color },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: lgkbh */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_19ze9 {
|
|
18
18
|
display: flex;
|
|
19
|
-
} .pure-
|
|
19
|
+
} .pure-cell__weight_19ze9 {
|
|
20
20
|
font-weight: inherit;
|
|
21
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-aee86588.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_1dy7u","categoryName":"pure-cell__categoryName_1dy7u","categoryPercent":"pure-cell__categoryPercent_1dy7u","rightAddon":"pure-cell__rightAddon_1dy7u"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Category = ({ categoryName, categoryPercent, rightAddons, dataTestId, }) => (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1xt2t */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-secondary: #f3f4f5;
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
--gap-xs: 8px;
|
|
20
20
|
} :root {
|
|
21
21
|
} :root {
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_1dy7u {
|
|
23
23
|
display: flex;
|
|
24
24
|
overflow: hidden;
|
|
25
25
|
padding: var(--gap-3xs) 0;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__categoryName_1dy7u {
|
|
27
27
|
display: -webkit-box;
|
|
28
28
|
-webkit-line-clamp: 1;
|
|
29
29
|
-webkit-box-orient: vertical;
|
|
30
30
|
overflow: hidden;
|
|
31
31
|
word-break: break-all;
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__categoryPercent_1dy7u {
|
|
33
33
|
padding: 0 var(--gap-xs);
|
|
34
34
|
background-color: var(--color-light-bg-secondary);
|
|
35
35
|
border-radius: var(--border-radius-xl);
|
|
36
36
|
margin-left: var(--gap-2xs);
|
|
37
|
-
} .pure-
|
|
37
|
+
} .pure-cell__rightAddon_1dy7u {
|
|
38
38
|
margin-left: var(--gap-2xs);
|
|
39
39
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
4
|
-
export { C as Content } from '../../component-
|
|
3
|
+
import '../../getDataTestId-aee86588.js';
|
|
4
|
+
export { C as Content } from '../../component-a8aa353d.js';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import '@alfalab/core-components-comment/modern';
|
|
7
7
|
import '@alfalab/hooks';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: gm6iy */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_vi9d9 {
|
|
18
18
|
flex-basis: 100%;
|
|
19
19
|
display: grid;
|
|
20
20
|
grid-template-columns: 1fr auto
|
|
21
|
-
} .pure-
|
|
21
|
+
} .pure-cell__component_vi9d9.pure-cell__horizontal_vi9d9 {
|
|
22
22
|
/* for button */
|
|
23
23
|
align-self: stretch;
|
|
24
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-a8aa353d";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { C as Content } from '../../component-
|
|
1
|
+
export { C as Content } from '../../component-a8aa353d.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/core-components-comment/modern';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import '../addon/component.js';
|
|
8
|
-
import '../../getDataTestId-
|
|
8
|
+
import '../../getDataTestId-aee86588.js';
|
|
9
9
|
import '../amount/component.js';
|
|
10
10
|
import '@alfalab/core-components-amount/modern';
|
|
11
11
|
import '@alfalab/core-components-typography/modern';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-aee86588.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_1m72l","none":"pure-cell__none_1m72l","default":"pure-cell__default_1m72l"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Footer = ({ children, footerPadding = 'default', dataTestId }) => (React.createElement("footer", { className: cn(styles.component, styles[footerPadding]), "data-test-id": getDataTestId(dataTestId, 'footer') }, children));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1venk */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
--gap-xs: 8px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_1m72l {
|
|
19
19
|
grid-column: 1/3;
|
|
20
20
|
display: grid;
|
|
21
21
|
grid-row-gap: var(--gap-xs)
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_1m72l.pure-cell__none_1m72l {
|
|
23
23
|
margin-top: 0;
|
|
24
|
-
} .pure-
|
|
24
|
+
} .pure-cell__component_1m72l.pure-cell__default_1m72l {
|
|
25
25
|
margin-top: var(--gap-xs);
|
|
26
26
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Button } from '@alfalab/core-components-button/modern';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-aee86588.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_n5pvh"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const FooterButton = ({ children, dataTestId, ...props }) => (React.createElement(Button, { ...props, size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }, children));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-aee86588.js';
|
|
4
4
|
|
|
5
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
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-aee86588.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_14nhw","top":"pure-cell__top_14nhw","center":"pure-cell__center_14nhw","bottom":"pure-cell__bottom_14nhw"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Graphics = ({ children, dataTestId, verticalAlign = 'top' }) => (React.createElement("section", { className: cn(styles.component, styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'graphics') }, children));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1lg7n */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_14nhw {
|
|
18
18
|
flex-basis: auto;
|
|
19
|
-
} .pure-
|
|
19
|
+
} .pure-cell__top_14nhw {
|
|
20
20
|
align-self: flex-start;
|
|
21
|
-
} .pure-
|
|
21
|
+
} .pure-cell__center_14nhw {
|
|
22
22
|
align-self: center;
|
|
23
|
-
} .pure-
|
|
23
|
+
} .pure-cell__bottom_14nhw {
|
|
24
24
|
align-self: flex-end;
|
|
25
25
|
}
|