@alfalab/core-components-pure-cell 2.0.6 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{modern/component-2ad59c5c.d.ts → component-85709855.d.ts} +4 -8
- package/{component-3f80589a.js → component-85709855.js} +12 -16
- package/{component-04c6d9c4.d.ts → component-ce2aad6d.d.ts} +0 -0
- package/{component-04c6d9c4.js → component-ce2aad6d.js} +2 -2
- package/component-cf0927a9.d.ts +1 -2
- package/component.js +3 -3
- package/components/addon/component.js +2 -2
- package/components/addon/index.css +7 -7
- package/components/addon/index.js +1 -1
- package/components/amount/component.js +2 -2
- package/components/amount/index.css +2 -2
- package/components/amount/index.js +1 -1
- package/components/amount-title/component.js +2 -2
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.js +1 -1
- package/components/category/component.js +2 -2
- package/components/category/index.css +4 -4
- package/components/category/index.js +1 -1
- package/components/comment/component.js +2 -2
- package/components/comment/index.css +3 -3
- package/components/comment/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 +2 -2
- package/components/footer-button/index.css +2 -2
- package/components/footer-button/index.d.ts +1 -1
- 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 +2 -2
- 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 -13
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +3 -3
- package/{esm/component-cc5a30ff.d.ts → cssm/component-01f7c308.d.ts} +4 -8
- package/cssm/{component-f60efddd.js → component-01f7c308.js} +6 -10
- package/cssm/component-cf0927a9.d.ts +1 -2
- package/cssm/component.js +1 -1
- package/cssm/components/content/component.js +1 -1
- package/cssm/components/content/index.d.ts +1 -1
- package/cssm/components/content/index.js +1 -1
- package/cssm/components/main/component.js +1 -1
- package/cssm/components/main/index.d.ts +1 -1
- package/cssm/components/main/index.js +1 -1
- package/cssm/components/text/component.js +1 -1
- package/cssm/components/text/index.d.ts +1 -1
- package/cssm/components/text/index.js +1 -1
- package/cssm/components/text/index.module.css +0 -6
- package/cssm/index.js +1 -1
- package/{component-3f80589a.d.ts → esm/component-890a4b75.d.ts} +4 -8
- package/esm/{component-cc5a30ff.js → component-890a4b75.js} +12 -16
- package/esm/{component-d1a6702b.d.ts → component-c5bd19f6.d.ts} +0 -0
- package/esm/{component-d1a6702b.js → component-c5bd19f6.js} +2 -2
- package/esm/component-cf0927a9.d.ts +1 -2
- package/esm/component.js +3 -3
- package/esm/components/addon/component.js +2 -2
- package/esm/components/addon/index.css +7 -7
- package/esm/components/addon/index.js +1 -1
- package/esm/components/amount/component.js +2 -2
- package/esm/components/amount/index.css +2 -2
- package/esm/components/amount/index.js +1 -1
- package/esm/components/amount-title/component.js +2 -2
- package/esm/components/amount-title/index.css +3 -3
- package/esm/components/amount-title/index.js +1 -1
- package/esm/components/category/component.js +2 -2
- package/esm/components/category/index.css +4 -4
- package/esm/components/category/index.js +1 -1
- package/esm/components/comment/component.js +2 -2
- package/esm/components/comment/index.css +3 -3
- package/esm/components/comment/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 +2 -2
- 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 +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 +2 -2
- 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 -13
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +3 -3
- package/esm/{getDataTestId-84bfcaab.d.ts → getDataTestId-24658df5.d.ts} +0 -0
- package/esm/{getDataTestId-84bfcaab.js → getDataTestId-24658df5.js} +0 -0
- package/esm/index.css +19 -19
- package/esm/index.js +3 -3
- package/{getDataTestId-49bb5c39.d.ts → getDataTestId-c75f2fa7.d.ts} +0 -0
- package/{getDataTestId-49bb5c39.js → getDataTestId-c75f2fa7.js} +0 -0
- package/index.css +19 -19
- package/index.js +3 -3
- package/{cssm/component-f60efddd.d.ts → modern/component-8701daca.d.ts} +4 -8
- package/modern/{component-2ad59c5c.js → component-8701daca.js} +9 -13
- package/modern/component-cf0927a9.d.ts +1 -2
- package/modern/component.js +2 -2
- package/modern/components/addon/component.js +2 -2
- package/modern/components/addon/index.css +7 -7
- 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 +4 -4
- package/modern/components/category/index.js +1 -1
- package/modern/components/comment/component.js +2 -2
- package/modern/components/comment/index.css +3 -3
- package/modern/components/comment/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 +2 -2
- 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 -13
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +2 -2
- package/modern/{getDataTestId-8debaee9.d.ts → getDataTestId-a96c8b1d.d.ts} +0 -0
- package/modern/{getDataTestId-8debaee9.js → getDataTestId-a96c8b1d.js} +0 -0
- package/modern/index.css +19 -19
- package/modern/index.js +2 -2
- package/package.json +1 -1
package/esm/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './component-
|
|
1
|
+
import './component-c5bd19f6.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
|
-
import './getDataTestId-
|
|
6
|
+
import './getDataTestId-24658df5.js';
|
|
7
7
|
import './components/addon/component.js';
|
|
8
8
|
import '@alfalab/core-components-typography/esm';
|
|
9
9
|
import '@alfalab/core-components-amount/esm';
|
|
@@ -11,7 +11,7 @@ import './components/amount/component.js';
|
|
|
11
11
|
import './components/amount-title/component.js';
|
|
12
12
|
import './components/category/component.js';
|
|
13
13
|
import './components/comment/component.js';
|
|
14
|
-
export { P as PureCell } from './component-
|
|
14
|
+
export { P as PureCell } from './component-890a4b75.js';
|
|
15
15
|
import './components/footer/component.js';
|
|
16
16
|
import '@alfalab/core-components-button/esm';
|
|
17
17
|
import './components/footer-text/component.js';
|
|
File without changes
|
|
File without changes
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1x9lj */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-link: #007aff;
|
|
4
4
|
}
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
:root {
|
|
20
20
|
--focus-color: var(--color-light-border-link);
|
|
21
21
|
}
|
|
22
|
-
.pure-
|
|
22
|
+
.pure-cell__component_rra5g {
|
|
23
23
|
text-align: unset;
|
|
24
24
|
}
|
|
25
|
-
.pure-
|
|
25
|
+
.pure-cell__horizontal_rra5g {
|
|
26
26
|
display: flex;
|
|
27
27
|
width: 100%;
|
|
28
28
|
grid-column-gap: var(--gap-m);
|
|
29
29
|
}
|
|
30
|
-
.pure-
|
|
30
|
+
.pure-cell__vertical_rra5g {
|
|
31
31
|
display: flex;
|
|
32
32
|
align-items: center;
|
|
33
33
|
flex-direction: column;
|
|
34
34
|
grid-row-gap: var(--gap-s);
|
|
35
35
|
}
|
|
36
|
-
.pure-
|
|
36
|
+
.pure-cell__button_rra5g {
|
|
37
37
|
font-family: inherit;
|
|
38
38
|
background: none;
|
|
39
39
|
border: 0;
|
|
@@ -42,50 +42,50 @@
|
|
|
42
42
|
transition: opacity 0.15s ease-in-out;
|
|
43
43
|
padding: 0
|
|
44
44
|
}
|
|
45
|
-
.pure-
|
|
45
|
+
.pure-cell__button_rra5g:hover {
|
|
46
46
|
opacity: 0.8;
|
|
47
47
|
}
|
|
48
|
-
.pure-
|
|
48
|
+
.pure-cell__button_rra5g:active {
|
|
49
49
|
opacity: 0.6;
|
|
50
50
|
}
|
|
51
|
-
.pure-
|
|
51
|
+
.pure-cell__link_rra5g {
|
|
52
52
|
text-decoration: none;
|
|
53
53
|
color: inherit;
|
|
54
54
|
cursor: pointer;
|
|
55
55
|
transition: opacity 0.15s ease-in-out
|
|
56
56
|
}
|
|
57
|
-
.pure-
|
|
57
|
+
.pure-cell__link_rra5g:hover {
|
|
58
58
|
opacity: 0.8;
|
|
59
59
|
}
|
|
60
|
-
.pure-
|
|
60
|
+
.pure-cell__link_rra5g:active {
|
|
61
61
|
opacity: 0.6;
|
|
62
62
|
}
|
|
63
|
-
.pure-
|
|
63
|
+
.pure-cell__none_rra5g {
|
|
64
64
|
padding: 0;
|
|
65
65
|
}
|
|
66
|
-
.pure-
|
|
66
|
+
.pure-cell__airy_rra5g {
|
|
67
67
|
padding: var(--gap-m) 0;
|
|
68
68
|
}
|
|
69
|
-
.pure-
|
|
69
|
+
.pure-cell__defaultPadding_rra5g {
|
|
70
70
|
padding: var(--gap-s) 0;
|
|
71
71
|
}
|
|
72
|
-
.pure-
|
|
72
|
+
.pure-cell__compact_rra5g {
|
|
73
73
|
padding: var(--gap-xs) 0;
|
|
74
74
|
}
|
|
75
|
-
.pure-
|
|
75
|
+
.pure-cell__tiny_rra5g {
|
|
76
76
|
padding: var(--gap-2xs) 0;
|
|
77
77
|
}
|
|
78
|
-
.pure-
|
|
78
|
+
.pure-cell__left_rra5g {
|
|
79
79
|
padding-left: var(--gap-m);
|
|
80
80
|
}
|
|
81
|
-
.pure-
|
|
81
|
+
.pure-cell__right_rra5g {
|
|
82
82
|
padding-right: var(--gap-m);
|
|
83
83
|
}
|
|
84
|
-
.pure-
|
|
84
|
+
.pure-cell__both_rra5g {
|
|
85
85
|
padding-right: var(--gap-m);
|
|
86
86
|
padding-left: var(--gap-m);
|
|
87
87
|
}
|
|
88
|
-
.pure-
|
|
88
|
+
.pure-cell__focused_rra5g {
|
|
89
89
|
outline: 2px solid var(--focus-color);
|
|
90
90
|
outline-offset: 2px;
|
|
91
91
|
}
|
package/index.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./component-
|
|
5
|
+
require('./component-ce2aad6d.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-merge-refs');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('@alfalab/hooks');
|
|
10
|
-
require('./getDataTestId-
|
|
10
|
+
require('./getDataTestId-c75f2fa7.js');
|
|
11
11
|
require('./components/addon/component.js');
|
|
12
12
|
require('@alfalab/core-components-typography');
|
|
13
13
|
require('@alfalab/core-components-amount');
|
|
@@ -15,7 +15,7 @@ require('./components/amount/component.js');
|
|
|
15
15
|
require('./components/amount-title/component.js');
|
|
16
16
|
require('./components/category/component.js');
|
|
17
17
|
require('./components/comment/component.js');
|
|
18
|
-
var components_content_component = require('./component-
|
|
18
|
+
var components_content_component = require('./component-85709855.js');
|
|
19
19
|
require('./components/footer/component.js');
|
|
20
20
|
require('@alfalab/core-components-button');
|
|
21
21
|
require('./components/footer-text/component.js');
|
|
@@ -31,13 +31,13 @@ type Props$0 = {
|
|
|
31
31
|
declare const Content: React.FC<Props$0>;
|
|
32
32
|
type Props$1 = {
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Контент
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
children?: ReactNode;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Количество строк
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
rowLimit?: 1 | 2;
|
|
41
41
|
/**
|
|
42
42
|
* Размер текста
|
|
43
43
|
*/
|
|
@@ -58,10 +58,6 @@ type Props$1 = {
|
|
|
58
58
|
* Идентификатор для систем автоматизированного тестирования
|
|
59
59
|
*/
|
|
60
60
|
dataTestId?: string;
|
|
61
|
-
/**
|
|
62
|
-
* Дочерние элементы.
|
|
63
|
-
*/
|
|
64
|
-
children?: ReactNode;
|
|
65
61
|
};
|
|
66
62
|
declare const Text: React.FC<Props$1>;
|
|
67
63
|
export { Main, Content, Text };
|
|
@@ -2,7 +2,7 @@ import React, { useContext, forwardRef, useRef } from 'react';
|
|
|
2
2
|
import mergeRefs from 'react-merge-refs';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { useFocus } from '@alfalab/hooks';
|
|
5
|
-
import { g as getDataTestId } from './getDataTestId-
|
|
5
|
+
import { g as getDataTestId } from './getDataTestId-a96c8b1d.js';
|
|
6
6
|
import { Addon } from './components/addon/component.js';
|
|
7
7
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
8
8
|
import { Amount } from './components/amount/component.js';
|
|
@@ -14,7 +14,7 @@ import { FooterButton } from './components/footer-button/component.js';
|
|
|
14
14
|
import { FooterText } from './components/footer-text/component.js';
|
|
15
15
|
import { Graphics } from './components/graphics/component.js';
|
|
16
16
|
|
|
17
|
-
var styles = {"component":"pure-
|
|
17
|
+
var styles = {"component":"pure-cell__component_16p6j","horizontal":"pure-cell__horizontal_16p6j"};
|
|
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.component, { [styles.horizontal]: direction === 'horizontal' }), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
var styles$1 = {"component":"pure-
|
|
25
|
+
var styles$1 = {"component":"pure-cell__component_zcu4m","vertical":"pure-cell__vertical_zcu4m","reverse":"pure-cell__reverse_zcu4m"};
|
|
26
26
|
require('./components/main/index.css')
|
|
27
27
|
|
|
28
28
|
const Main = ({ children, isReverse, dataTestId }) => {
|
|
@@ -32,24 +32,20 @@ const Main = ({ children, isReverse, dataTestId }) => {
|
|
|
32
32
|
}), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
var styles$2 = {"horizontal":"pure-
|
|
35
|
+
var styles$2 = {"horizontal":"pure-cell__horizontal_bt8er","rowLimit1":"pure-cell__rowLimit1_bt8er","rowLimit2":"pure-cell__rowLimit2_bt8er","component":"pure-cell__component_bt8er","vertical":"pure-cell__vertical_bt8er","title":"pure-cell__title_bt8er"};
|
|
36
36
|
require('./components/text/index.css')
|
|
37
37
|
|
|
38
|
-
const Text = ({ children, value, rowLimit,
|
|
38
|
+
const Text = ({ children, value, rowLimit, view = 'component', titleColor, valueColor, dataTestId, }) => {
|
|
39
39
|
const { direction = 'horizontal' } = useContext(PureCellContext);
|
|
40
|
+
const className = rowLimit && styles$2[`rowLimit${rowLimit}`];
|
|
40
41
|
return (React.createElement("div", { className: cn(styles$2.component, {
|
|
41
42
|
[styles$2.vertical]: direction !== 'horizontal',
|
|
42
43
|
}) },
|
|
43
|
-
React.createElement("span", { className:
|
|
44
|
-
|
|
45
|
-
}), "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
|
|
46
|
-
React.createElement("span", null, typeof value === 'string' ? (React.createElement(Typography.Text, { view: view, color: valueColor, className: cn({
|
|
47
|
-
[styles$2[`rowLimit${rowLimit}`]]: rowLimit,
|
|
48
|
-
[styles$2.multiline]: isMultiline,
|
|
49
|
-
}), "data-test-id": getDataTestId(dataTestId, 'text') }, value)) : (value))));
|
|
44
|
+
React.createElement("span", { className: styles$2.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
|
|
45
|
+
React.createElement("span", null, typeof value === 'string' ? (React.createElement(Typography.Text, { view: view, color: valueColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, value)) : (value))));
|
|
50
46
|
};
|
|
51
47
|
|
|
52
|
-
var styles$3 = {"component":"pure-
|
|
48
|
+
var styles$3 = {"component":"pure-cell__component_rra5g","horizontal":"pure-cell__horizontal_rra5g","vertical":"pure-cell__vertical_rra5g","button":"pure-cell__button_rra5g","link":"pure-cell__link_rra5g","none":"pure-cell__none_rra5g","airy":"pure-cell__airy_rra5g","defaultPadding":"pure-cell__defaultPadding_rra5g","compact":"pure-cell__compact_rra5g","tiny":"pure-cell__tiny_rra5g","left":"pure-cell__left_rra5g","right":"pure-cell__right_rra5g","both":"pure-cell__both_rra5g","focused":"pure-cell__focused_rra5g"};
|
|
53
49
|
require('./index.css')
|
|
54
50
|
|
|
55
51
|
const PureCellContext = React.createContext({});
|
|
@@ -61,14 +61,13 @@ declare const PureCell: React.ForwardRefExoticComponent<(Partial<AnchorPureCellP
|
|
|
61
61
|
dataTestId?: string | undefined;
|
|
62
62
|
}>;
|
|
63
63
|
Text: React.FC<{
|
|
64
|
+
children?: React.ReactNode;
|
|
64
65
|
rowLimit?: 1 | 2 | undefined;
|
|
65
|
-
isMultiline?: boolean | undefined;
|
|
66
66
|
view: "primary-small" | "component";
|
|
67
67
|
titleColor: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative";
|
|
68
68
|
value?: React.ReactNode;
|
|
69
69
|
valueColor?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
|
|
70
70
|
dataTestId?: string | undefined;
|
|
71
|
-
children?: React.ReactNode;
|
|
72
71
|
}>;
|
|
73
72
|
Amount: React.FC<{
|
|
74
73
|
amount: import("./components/typesProps").AmountProps;
|
package/modern/component.js
CHANGED
|
@@ -2,7 +2,7 @@ import 'react';
|
|
|
2
2
|
import 'react-merge-refs';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/hooks';
|
|
5
|
-
import './getDataTestId-
|
|
5
|
+
import './getDataTestId-a96c8b1d.js';
|
|
6
6
|
import './components/addon/component.js';
|
|
7
7
|
import '@alfalab/core-components-typography/modern';
|
|
8
8
|
import '@alfalab/core-components-amount/modern';
|
|
@@ -10,7 +10,7 @@ import './components/amount/component.js';
|
|
|
10
10
|
import './components/amount-title/component.js';
|
|
11
11
|
import './components/category/component.js';
|
|
12
12
|
import './components/comment/component.js';
|
|
13
|
-
export { P as PureCell, a as PureCellContext } from './component-
|
|
13
|
+
export { P as PureCell, a as PureCellContext } from './component-8701daca.js';
|
|
14
14
|
import './components/footer/component.js';
|
|
15
15
|
import '@alfalab/core-components-button/modern';
|
|
16
16
|
import './components/footer-button/component.js';
|
|
@@ -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-a96c8b1d.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_7mrpt","none":"pure-cell__none_7mrpt","default":"pure-cell__default_7mrpt","addonPadding":"pure-cell__addonPadding_7mrpt","center":"pure-cell__center_7mrpt"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Addon = ({ children, verticalAlign, addonPadding = 'default', dataTestId, }) => (React.createElement("section", { className: cn(styles.component, styles[addonPadding], {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1wlbz */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,22 +10,22 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-m: 16px;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__component_7mrpt {
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column
|
|
16
16
|
}
|
|
17
|
-
.pure-
|
|
17
|
+
.pure-cell__component_7mrpt > * {
|
|
18
18
|
justify-content: flex-end;
|
|
19
19
|
}
|
|
20
|
-
.pure-
|
|
20
|
+
.pure-cell__component_7mrpt.pure-cell__none_7mrpt {
|
|
21
21
|
padding-left: 0;
|
|
22
22
|
}
|
|
23
|
-
.pure-
|
|
23
|
+
.pure-cell__component_7mrpt.pure-cell__default_7mrpt {
|
|
24
24
|
padding-left: var(--gap-m);
|
|
25
25
|
}
|
|
26
|
-
.pure-
|
|
26
|
+
.pure-cell__component_7mrpt.pure-cell__addonPadding_7mrpt {
|
|
27
27
|
padding-left: var(--gap-m);
|
|
28
28
|
}
|
|
29
|
-
.pure-
|
|
29
|
+
.pure-cell__component_7mrpt.pure-cell__center_7mrpt {
|
|
30
30
|
align-self: center;
|
|
31
31
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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-a96c8b1d.js';
|
|
4
4
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
5
5
|
import { Amount as Amount$1 } from '@alfalab/core-components-amount/modern';
|
|
6
6
|
|
|
7
|
-
var styles = {"component":"pure-
|
|
7
|
+
var styles = {"component":"pure-cell__component_17ppl"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Amount = ({ amount, weight = 'normal', view = 'component', color = 'primary', dataTestId, }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
3
|
+
import '../../getDataTestId-a96c8b1d.js';
|
|
4
4
|
import '@alfalab/core-components-typography/modern';
|
|
5
5
|
import '@alfalab/core-components-amount/modern';
|
|
6
6
|
export { Amount } from './component.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
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-a96c8b1d.js';
|
|
4
4
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
5
5
|
import { Amount } from '@alfalab/core-components-amount/modern';
|
|
6
6
|
|
|
7
|
-
var styles = {"component":"pure-
|
|
7
|
+
var styles = {"component":"pure-cell__component_1nwwh","weight":"pure-cell__weight_1nwwh"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const AmountTitle = ({ amount, color = 'primary', dataTestId }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 4aqvz */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.pure-
|
|
10
|
+
.pure-cell__component_1nwwh {
|
|
11
11
|
display: flex;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__weight_1nwwh {
|
|
14
14
|
font-weight: inherit;
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
3
|
+
import '../../getDataTestId-a96c8b1d.js';
|
|
4
4
|
import '@alfalab/core-components-typography/modern';
|
|
5
5
|
import '@alfalab/core-components-amount/modern';
|
|
6
6
|
export { AmountTitle } from './component.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-a96c8b1d.js';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_ixwn0","categoryName":"pure-cell__categoryName_ixwn0","categoryPercent":"pure-cell__categoryPercent_ixwn0"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Category = ({ categoryName, categoryPercent, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1gn9d */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-secondary: #f3f4f5;
|
|
4
4
|
}
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
:root {
|
|
19
19
|
--border-radius-xl: 16px;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_ixwn0 {
|
|
22
22
|
display: flex;
|
|
23
23
|
overflow: hidden;
|
|
24
24
|
padding: var(--gap-3xs) 0;
|
|
25
25
|
}
|
|
26
|
-
.pure-
|
|
26
|
+
.pure-cell__categoryName_ixwn0 {
|
|
27
27
|
display: -webkit-box;
|
|
28
28
|
-webkit-line-clamp: 1;
|
|
29
29
|
-webkit-box-orient: vertical;
|
|
30
30
|
overflow: hidden;
|
|
31
31
|
}
|
|
32
|
-
.pure-
|
|
32
|
+
.pure-cell__categoryPercent_ixwn0 {
|
|
33
33
|
padding: 0 var(--gap-xs);
|
|
34
34
|
background-color: var(--color-light-bg-secondary);
|
|
35
35
|
border-radius: var(--border-radius-xl);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-a96c8b1d.js';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_6tv4p","text":"pure-cell__text_6tv4p"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Comment = ({ children, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'comment') },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: fn76i */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-secondary: #f3f4f5;
|
|
4
4
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
--border-radius-xs: 2px;
|
|
19
19
|
--border-radius-xxl: 20px;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_6tv4p {
|
|
22
22
|
width: -moz-fit-content;
|
|
23
23
|
width: fit-content;
|
|
24
24
|
padding: var(--gap-xs) var(--gap-m);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
|
|
27
27
|
var(--border-radius-xxl);
|
|
28
28
|
}
|
|
29
|
-
.pure-
|
|
29
|
+
.pure-cell__text_6tv4p {
|
|
30
30
|
display: -webkit-box;
|
|
31
31
|
-webkit-line-clamp: 2;
|
|
32
32
|
-webkit-box-orient: vertical;
|
|
@@ -2,7 +2,7 @@ import 'react';
|
|
|
2
2
|
import 'react-merge-refs';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/hooks';
|
|
5
|
-
import '../../getDataTestId-
|
|
5
|
+
import '../../getDataTestId-a96c8b1d.js';
|
|
6
6
|
import '../addon/component.js';
|
|
7
7
|
import '@alfalab/core-components-typography/modern';
|
|
8
8
|
import '@alfalab/core-components-amount/modern';
|
|
@@ -10,7 +10,7 @@ import '../amount/component.js';
|
|
|
10
10
|
import '../amount-title/component.js';
|
|
11
11
|
import '../category/component.js';
|
|
12
12
|
import '../comment/component.js';
|
|
13
|
-
export { C as Content } from '../../component-
|
|
13
|
+
export { C as Content } from '../../component-8701daca.js';
|
|
14
14
|
import '../footer/component.js';
|
|
15
15
|
import '@alfalab/core-components-button/modern';
|
|
16
16
|
import '../footer-button/component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: giusa */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.pure-
|
|
10
|
+
.pure-cell__component_16p6j {
|
|
11
11
|
flex-basis: 100%;
|
|
12
12
|
display: grid;
|
|
13
13
|
grid-template-columns: 1fr auto
|
|
14
14
|
}
|
|
15
|
-
.pure-
|
|
15
|
+
.pure-cell__component_16p6j.pure-cell__horizontal_16p6j {
|
|
16
16
|
/* for button */
|
|
17
17
|
align-self: stretch;
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-8701daca";
|
|
@@ -2,7 +2,7 @@ import 'react';
|
|
|
2
2
|
import 'react-merge-refs';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/hooks';
|
|
5
|
-
import '../../getDataTestId-
|
|
5
|
+
import '../../getDataTestId-a96c8b1d.js';
|
|
6
6
|
import '../addon/component.js';
|
|
7
7
|
import '@alfalab/core-components-typography/modern';
|
|
8
8
|
import '@alfalab/core-components-amount/modern';
|
|
@@ -10,7 +10,7 @@ import '../amount/component.js';
|
|
|
10
10
|
import '../amount-title/component.js';
|
|
11
11
|
import '../category/component.js';
|
|
12
12
|
import '../comment/component.js';
|
|
13
|
-
export { C as Content } from '../../component-
|
|
13
|
+
export { C as Content } from '../../component-8701daca.js';
|
|
14
14
|
import '../footer/component.js';
|
|
15
15
|
import '@alfalab/core-components-button/modern';
|
|
16
16
|
import '../footer-button/component.js';
|
|
@@ -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-a96c8b1d.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_13gro","none":"pure-cell__none_13gro","default":"pure-cell__default_13gro"};
|
|
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: fjsl2 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-xs: 8px;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__component_13gro {
|
|
14
14
|
grid-column: 1/3;
|
|
15
15
|
display: grid;
|
|
16
16
|
grid-row-gap: var(--gap-xs)
|
|
17
17
|
}
|
|
18
|
-
.pure-
|
|
18
|
+
.pure-cell__component_13gro.pure-cell__none_13gro {
|
|
19
19
|
margin-top: 0;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_13gro.pure-cell__default_13gro {
|
|
22
22
|
margin-top: var(--gap-xs);
|
|
23
23
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-a96c8b1d.js';
|
|
3
3
|
import { Button } from '@alfalab/core-components-button/modern';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_987ne"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const FooterButton = ({ children, dataTestId, ...props }) => (React.createElement(Button, Object.assign({}, props, { size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }), children));
|