@alfalab/core-components-pure-cell 1.1.4 → 1.2.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/CHANGELOG.md +11 -0
- package/component-7b7f28f3.d.ts +3 -2
- package/{component-96b5d18d.d.ts → component-8a316cef.d.ts} +5 -0
- package/{component-96b5d18d.js → component-8a316cef.js} +6 -6
- package/{component-db055f21.d.ts → component-9a4152d9.d.ts} +0 -0
- package/{component-db055f21.js → component-9a4152d9.js} +2 -2
- package/component.js +3 -3
- package/components/addon/component.js +2 -2
- package/components/addon/index.css +6 -6
- 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.d.ts +5 -0
- 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 +8 -8
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +3 -3
- package/cssm/component-7b7f28f3.d.ts +1 -0
- package/cssm/component-a5914e3d.d.ts +5 -0
- package/cssm/components/footer-text/component.d.ts +5 -0
- package/esm/{component-23492b54.d.ts → component-03e9d7d5.d.ts} +0 -0
- package/esm/{component-23492b54.js → component-03e9d7d5.js} +2 -2
- package/esm/component-7b7f28f3.d.ts +1 -0
- package/{modern/component-e432c470.d.ts → esm/component-e467de35.d.ts} +5 -0
- package/esm/{component-4be770f8.js → component-e467de35.js} +6 -6
- package/esm/component.js +3 -3
- package/esm/components/addon/component.js +2 -2
- package/esm/components/addon/index.css +6 -6
- 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.d.ts +5 -0
- 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 +8 -8
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +3 -3
- package/esm/{getDataTestId-f3eeddd1.d.ts → getDataTestId-9bcd48e7.d.ts} +0 -0
- package/esm/{getDataTestId-f3eeddd1.js → getDataTestId-9bcd48e7.js} +0 -0
- package/esm/index.css +19 -19
- package/esm/index.js +3 -3
- package/{getDataTestId-74cb0c5b.d.ts → getDataTestId-b58ff1ff.d.ts} +0 -0
- package/{getDataTestId-74cb0c5b.js → getDataTestId-b58ff1ff.js} +0 -0
- package/index.css +19 -19
- package/index.js +3 -3
- package/{esm/component-4be770f8.d.ts → modern/component-3242065c.d.ts} +5 -0
- package/modern/{component-e432c470.js → component-3242065c.js} +5 -5
- package/modern/component-7b7f28f3.d.ts +3 -2
- package/modern/component.js +2 -2
- package/modern/components/addon/component.js +2 -2
- package/modern/components/addon/index.css +6 -6
- 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.d.ts +5 -0
- 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 +8 -8
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +2 -2
- package/modern/{getDataTestId-df67ed7e.d.ts → getDataTestId-1f2d14b5.d.ts} +0 -0
- package/modern/{getDataTestId-df67ed7e.js → getDataTestId-1f2d14b5.js} +0 -0
- package/modern/index.css +19 -19
- package/modern/index.js +2 -2
- package/package.json +7 -7
|
@@ -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-1f2d14b5.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_48ab7","horizontal":"pure-cell__horizontal_48ab7"};
|
|
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_14g8j","vertical":"pure-cell__vertical_14g8j","reverse":"pure-cell__reverse_14g8j"};
|
|
26
26
|
require('./components/main/index.css')
|
|
27
27
|
|
|
28
28
|
const Main = ({ children, isReverse, dataTestId }) => {
|
|
@@ -32,7 +32,7 @@ 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_s3ap0","rowLimit1":"pure-cell__rowLimit1_s3ap0","rowLimit2":"pure-cell__rowLimit2_s3ap0","component":"pure-cell__component_s3ap0","multiline":"pure-cell__multiline_s3ap0","vertical":"pure-cell__vertical_s3ap0","title":"pure-cell__title_s3ap0"};
|
|
36
36
|
require('./components/text/index.css')
|
|
37
37
|
|
|
38
38
|
const Text = ({ children, value, rowLimit, isMultiline, view = 'component', titleColor, valueColor, dataTestId, }) => {
|
|
@@ -51,7 +51,7 @@ const Text = ({ children, value, rowLimit, isMultiline, view = 'component', titl
|
|
|
51
51
|
}), "data-test-id": getDataTestId(dataTestId, 'text') }, value))));
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
var styles$3 = {"component":"pure-
|
|
54
|
+
var styles$3 = {"component":"pure-cell__component_hcjcq","horizontal":"pure-cell__horizontal_hcjcq","vertical":"pure-cell__vertical_hcjcq","button":"pure-cell__button_hcjcq","link":"pure-cell__link_hcjcq","none":"pure-cell__none_hcjcq","airy":"pure-cell__airy_hcjcq","default":"pure-cell__default_hcjcq","compact":"pure-cell__compact_hcjcq","tiny":"pure-cell__tiny_hcjcq","left":"pure-cell__left_hcjcq","right":"pure-cell__right_hcjcq","both":"pure-cell__both_hcjcq","focused":"pure-cell__focused_hcjcq"};
|
|
55
55
|
require('./index.css')
|
|
56
56
|
|
|
57
57
|
const PureCellContext = React.createContext({});
|
|
@@ -68,6 +68,7 @@ declare const PureCell: React.ForwardRefExoticComponent<(Partial<AnchorPureCellP
|
|
|
68
68
|
value?: string | undefined;
|
|
69
69
|
valueColor?: "tertiary" | "disabled" | "accent" | "primary" | "attention" | "positive" | "secondary" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "link" | "negative" | undefined;
|
|
70
70
|
dataTestId?: string | undefined;
|
|
71
|
+
children?: React.ReactNode;
|
|
71
72
|
}>;
|
|
72
73
|
Amount: React.FC<{
|
|
73
74
|
amount: import("./components/typesProps").AmountProps;
|
|
@@ -83,13 +84,13 @@ declare const PureCell: React.ForwardRefExoticComponent<(Partial<AnchorPureCellP
|
|
|
83
84
|
}>;
|
|
84
85
|
Addon: React.FC<{
|
|
85
86
|
verticalAlign?: "center" | undefined;
|
|
86
|
-
addonPadding?: "
|
|
87
|
+
addonPadding?: "none" | "default" | undefined;
|
|
87
88
|
children: import("./components/types").AddonElement;
|
|
88
89
|
dataTestId?: string | undefined;
|
|
89
90
|
}>;
|
|
90
91
|
Footer: React.FC<{
|
|
91
92
|
children: import("./components/types").FooterElement;
|
|
92
|
-
footerPadding?: "
|
|
93
|
+
footerPadding?: "none" | "default" | undefined;
|
|
93
94
|
dataTestId?: string | undefined;
|
|
94
95
|
}>;
|
|
95
96
|
ExtraSubtitle: React.FC<import("./components/footer-text/index").Props>;
|
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-1f2d14b5.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-3242065c.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-1f2d14b5.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_kempb","none":"pure-cell__none_kempb","default":"pure-cell__default_kempb","center":"pure-cell__center_kempb"};
|
|
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: ofx1z */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-m: 16px;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__component_kempb {
|
|
14
14
|
grid-column: 2/3;
|
|
15
15
|
padding-left: var(--gap-m)
|
|
16
16
|
}
|
|
17
|
-
.pure-
|
|
17
|
+
.pure-cell__component_kempb > * {
|
|
18
18
|
justify-content: flex-end;
|
|
19
19
|
}
|
|
20
|
-
.pure-
|
|
20
|
+
.pure-cell__component_kempb.pure-cell__none_kempb {
|
|
21
21
|
padding-left: 0;
|
|
22
22
|
}
|
|
23
|
-
.pure-
|
|
23
|
+
.pure-cell__component_kempb.pure-cell__default_kempb {
|
|
24
24
|
padding-left: var(--gap-m);
|
|
25
25
|
}
|
|
26
|
-
.pure-
|
|
26
|
+
.pure-cell__component_kempb.pure-cell__center_kempb {
|
|
27
27
|
align-self: center;
|
|
28
28
|
}
|
|
@@ -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-1f2d14b5.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_1ewfx"};
|
|
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-1f2d14b5.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-1f2d14b5.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_scgi6","weight":"pure-cell__weight_scgi6"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const AmountTitle = ({ amount, color = 'primary', dataTestId }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1t6l3 */
|
|
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_scgi6 {
|
|
11
11
|
display: flex;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__weight_scgi6 {
|
|
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-1f2d14b5.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-1f2d14b5.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_1db8r","categoryName":"pure-cell__categoryName_1db8r","categoryPercent":"pure-cell__categoryPercent_1db8r"};
|
|
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: 18uk3 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-secondary: #f3f4f5;
|
|
4
4
|
}
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
:root {
|
|
19
19
|
--border-radius-xl: 16px;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_1db8r {
|
|
22
22
|
display: flex;
|
|
23
23
|
overflow: hidden;
|
|
24
24
|
padding: var(--gap-3xs) 0;
|
|
25
25
|
}
|
|
26
|
-
.pure-
|
|
26
|
+
.pure-cell__categoryName_1db8r {
|
|
27
27
|
text-overflow: ellipsis;
|
|
28
28
|
white-space: nowrap;
|
|
29
29
|
overflow: hidden;
|
|
30
30
|
}
|
|
31
|
-
.pure-
|
|
31
|
+
.pure-cell__categoryPercent_1db8r {
|
|
32
32
|
padding: 0 var(--gap-xs);
|
|
33
33
|
background-color: var(--color-light-bg-secondary);
|
|
34
34
|
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-1f2d14b5.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_2fta4","text":"pure-cell__text_2fta4"};
|
|
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: 1f2ki */
|
|
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_2fta4 {
|
|
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_2fta4 {
|
|
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-1f2d14b5.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-3242065c.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: bmtwv */
|
|
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_48ab7 {
|
|
11
11
|
flex-basis: 100%;
|
|
12
12
|
display: grid;
|
|
13
13
|
grid-template-columns: 1fr auto
|
|
14
14
|
}
|
|
15
|
-
.pure-
|
|
15
|
+
.pure-cell__component_48ab7.pure-cell__horizontal_48ab7 {
|
|
16
16
|
/* for button */
|
|
17
17
|
align-self: stretch;
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-3242065c";
|
|
@@ -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-1f2d14b5.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-3242065c.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-1f2d14b5.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_14k4u","none":"pure-cell__none_14k4u","default":"pure-cell__default_14k4u"};
|
|
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: 1y1fm */
|
|
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_14k4u {
|
|
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_14k4u.pure-cell__none_14k4u {
|
|
19
19
|
margin-top: 0;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_14k4u.pure-cell__default_14k4u {
|
|
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-1f2d14b5.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_1n6wg"};
|
|
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));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { ReactNode } from "react";
|
|
3
4
|
import { Color } from "@alfalab/core-components-typography";
|
|
4
5
|
type Props = {
|
|
5
6
|
/**
|
|
@@ -10,6 +11,10 @@ type Props = {
|
|
|
10
11
|
* Идентификатор для систем автоматизированного тестирования
|
|
11
12
|
*/
|
|
12
13
|
dataTestId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Дочерние элементы.
|
|
16
|
+
*/
|
|
17
|
+
children?: ReactNode;
|
|
13
18
|
};
|
|
14
19
|
declare const FooterText: React.FC<Props>;
|
|
15
20
|
export { Props, FooterText };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-1f2d14b5.js';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
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));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-1f2d14b5.js';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"pure-
|
|
4
|
+
var styles = {"component":"pure-cell__component_2m1l4"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Graphics = ({ children, dataTestId }) => {
|
|
@@ -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-1f2d14b5.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 { M as Main } from '../../component-
|
|
13
|
+
export { M as Main } from '../../component-3242065c.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: 16i68 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-3xs: 2px;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__component_14g8j {
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
align-self: center;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/* can use /r/n */
|
|
19
19
|
white-space: pre-line
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_14g8j.pure-cell__vertical_14g8j {
|
|
22
22
|
grid-row-gap: var(--gap-3xs);
|
|
23
23
|
justify-content: center;
|
|
24
24
|
align-items: center;
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
/* for button */
|
|
27
27
|
text-align: center;
|
|
28
28
|
}
|
|
29
|
-
.pure-
|
|
29
|
+
.pure-cell__component_14g8j.pure-cell__reverse_14g8j {
|
|
30
30
|
flex-direction: column-reverse;
|
|
31
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-3242065c";
|
|
@@ -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-1f2d14b5.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 { M as Main } from '../../component-
|
|
13
|
+
export { M as Main } from '../../component-3242065c.js';
|
|
14
14
|
import '../footer/component.js';
|
|
15
15
|
import '@alfalab/core-components-button/modern';
|
|
16
16
|
import '../footer-button/component.js';
|
|
@@ -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-1f2d14b5.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 { T as Text } from '../../component-
|
|
13
|
+
export { T as Text } from '../../component-3242065c.js';
|
|
14
14
|
import '../footer/component.js';
|
|
15
15
|
import '@alfalab/core-components-button/modern';
|
|
16
16
|
import '../footer-button/component.js';
|