@alfalab/core-components-pure-cell 4.0.3 → 4.1.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-ae7a8198.d.ts → component-e689bcd5.d.ts} +0 -0
- package/{component-ae7a8198.js → component-e689bcd5.js} +6 -6
- 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 +3 -3
- package/components/amount/index.css +2 -2
- package/components/amount/index.js +2 -2
- package/components/amount-title/component.js +3 -3
- 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 +3 -3
- 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.d.ts +4 -0
- package/components/graphics/component.js +6 -4
- package/components/graphics/index.css +11 -2
- package/components/graphics/index.js +2 -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/cssm/{component-c4e268e7.d.ts → component-5cffadbf.d.ts} +0 -0
- package/cssm/{component-c4e268e7.js → component-5cffadbf.js} +0 -0
- 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/graphics/component.d.ts +4 -0
- package/cssm/components/graphics/component.js +4 -2
- package/cssm/components/graphics/index.js +1 -0
- package/cssm/components/graphics/index.module.css +9 -0
- 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/index.js +1 -1
- package/cssm/index.module.css +4 -0
- package/esm/{component-5128c56e.d.ts → component-0b42a82a.d.ts} +0 -0
- package/esm/{component-5128c56e.js → component-0b42a82a.js} +6 -6
- 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.d.ts +4 -0
- package/esm/components/graphics/component.js +5 -4
- package/esm/components/graphics/index.css +11 -2
- package/esm/components/graphics/index.js +2 -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-048281b8.d.ts → getDataTestId-fae3f76e.d.ts} +0 -0
- package/esm/{getDataTestId-048281b8.js → getDataTestId-fae3f76e.js} +0 -0
- package/esm/index.css +23 -19
- package/esm/index.js +3 -3
- package/esm/{tslib.es6-e02b61a7.d.ts → tslib.es6-cc1aca61.d.ts} +0 -0
- package/esm/{tslib.es6-e02b61a7.js → tslib.es6-cc1aca61.js} +0 -0
- package/{getDataTestId-03270a4e.d.ts → getDataTestId-e9051599.d.ts} +0 -0
- package/{getDataTestId-03270a4e.js → getDataTestId-e9051599.js} +0 -0
- package/index.css +23 -19
- package/index.js +3 -3
- package/modern/{component-d8e1fafe.d.ts → component-9814fff5.d.ts} +0 -0
- package/modern/{component-d8e1fafe.js → component-9814fff5.js} +5 -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.d.ts +4 -0
- package/modern/components/graphics/component.js +4 -3
- package/modern/components/graphics/index.css +11 -2
- package/modern/components/graphics/index.js +2 -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-8ec615b8.d.ts → getDataTestId-356875da.d.ts} +0 -0
- package/modern/{getDataTestId-8ec615b8.js → getDataTestId-356875da.js} +0 -0
- package/modern/index.css +23 -19
- package/modern/index.js +2 -2
- package/package.json +3 -3
- /package/{tslib.es6-80f30c79.d.ts → tslib.es6-bbdecc78.d.ts} +0 -0
- /package/{tslib.es6-80f30c79.js → tslib.es6-bbdecc78.js} +0 -0
package/index.js
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./tslib.es6-
|
|
5
|
+
require('./tslib.es6-bbdecc78.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-merge-refs');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('@alfalab/core-components-comment');
|
|
10
10
|
require('@alfalab/hooks');
|
|
11
|
-
require('./getDataTestId-
|
|
11
|
+
require('./getDataTestId-e9051599.js');
|
|
12
12
|
require('./components/addon/component.js');
|
|
13
13
|
require('@alfalab/core-components-amount');
|
|
14
14
|
require('@alfalab/core-components-typography');
|
|
15
15
|
require('./components/amount/component.js');
|
|
16
16
|
require('./components/amount-title/component.js');
|
|
17
17
|
require('./components/category/component.js');
|
|
18
|
-
var components_content_component = require('./component-
|
|
18
|
+
var components_content_component = require('./component-e689bcd5.js');
|
|
19
19
|
require('./components/footer/component.js');
|
|
20
20
|
require('@alfalab/core-components-button');
|
|
21
21
|
require('./components/footer-button/component.js');
|
|
File without changes
|
|
@@ -3,7 +3,7 @@ import mergeRefs from 'react-merge-refs';
|
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { Comment } from '@alfalab/core-components-comment/modern';
|
|
5
5
|
import { useFocus } from '@alfalab/hooks';
|
|
6
|
-
import { g as getDataTestId } from './getDataTestId-
|
|
6
|
+
import { g as getDataTestId } from './getDataTestId-356875da.js';
|
|
7
7
|
import { Addon } from './components/addon/component.js';
|
|
8
8
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
9
9
|
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_1739o","horizontal":"pure-cell__horizontal_1739o"};
|
|
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_1wl7i","vertical":"pure-cell__vertical_1wl7i","reverse":"pure-cell__reverse_1wl7i"};
|
|
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_4o5n3","rowLimit1":"pure-cell__rowLimit1_4o5n3","rowLimit2":"pure-cell__rowLimit2_4o5n3","component":"pure-cell__component_4o5n3","vertical":"pure-cell__vertical_4o5n3","title":"pure-cell__title_4o5n3","value":"pure-cell__value_4o5n3"};
|
|
36
36
|
require('./components/text/index.css')
|
|
37
37
|
|
|
38
38
|
const Text = ({ children, value, rowLimit, view = 'component', titleColor, valueColor, dataTestId, }) => {
|
|
@@ -45,7 +45,7 @@ const Text = ({ children, value, rowLimit, view = 'component', titleColor, value
|
|
|
45
45
|
value !== undefined && (React.createElement("span", { className: styles$2.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
|
-
var styles$3 = {"component":"pure-
|
|
48
|
+
var styles$3 = {"component":"pure-cell__component_54ngr","horizontal":"pure-cell__horizontal_54ngr","vertical":"pure-cell__vertical_54ngr","button":"pure-cell__button_54ngr","link":"pure-cell__link_54ngr","none":"pure-cell__none_54ngr","airy":"pure-cell__airy_54ngr","defaultPadding":"pure-cell__defaultPadding_54ngr","compact":"pure-cell__compact_54ngr","tiny":"pure-cell__tiny_54ngr","left":"pure-cell__left_54ngr","right":"pure-cell__right_54ngr","both":"pure-cell__both_54ngr","focused":"pure-cell__focused_54ngr"};
|
|
49
49
|
require('./index.css')
|
|
50
50
|
|
|
51
51
|
/* eslint-disable react/jsx-no-constructed-context-values */
|
package/modern/component.js
CHANGED
|
@@ -3,14 +3,14 @@ import 'react-merge-refs';
|
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-comment/modern';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
|
-
import './getDataTestId-
|
|
6
|
+
import './getDataTestId-356875da.js';
|
|
7
7
|
import './components/addon/component.js';
|
|
8
8
|
import '@alfalab/core-components-amount/modern';
|
|
9
9
|
import '@alfalab/core-components-typography/modern';
|
|
10
10
|
import './components/amount/component.js';
|
|
11
11
|
import './components/amount-title/component.js';
|
|
12
12
|
import './components/category/component.js';
|
|
13
|
-
export { P as PureCell, a as PureCellContext } from './component-
|
|
13
|
+
export { P as PureCell, a as PureCellContext } from './component-9814fff5.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-356875da.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_11n85","none":"pure-cell__none_11n85","default":"pure-cell__default_11n85","addonPadding":"pure-cell__addonPadding_11n85","top":"pure-cell__top_11n85","center":"pure-cell__center_11n85","bottom":"pure-cell__bottom_11n85"};
|
|
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: 3hz4i */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,29 +10,29 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-m: 16px;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__component_11n85 {
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
align-items: flex-end
|
|
17
17
|
}
|
|
18
|
-
.pure-
|
|
18
|
+
.pure-cell__component_11n85 > * {
|
|
19
19
|
justify-content: flex-end;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_11n85.pure-cell__none_11n85 {
|
|
22
22
|
padding-left: 0;
|
|
23
23
|
}
|
|
24
|
-
.pure-
|
|
24
|
+
.pure-cell__component_11n85.pure-cell__default_11n85 {
|
|
25
25
|
padding-left: var(--gap-m);
|
|
26
26
|
}
|
|
27
|
-
.pure-
|
|
27
|
+
.pure-cell__component_11n85.pure-cell__addonPadding_11n85 {
|
|
28
28
|
padding-left: var(--gap-m);
|
|
29
29
|
}
|
|
30
|
-
.pure-
|
|
30
|
+
.pure-cell__component_11n85.pure-cell__top_11n85 {
|
|
31
31
|
align-self: flex-start;
|
|
32
32
|
}
|
|
33
|
-
.pure-
|
|
33
|
+
.pure-cell__component_11n85.pure-cell__center_11n85 {
|
|
34
34
|
align-self: center;
|
|
35
35
|
}
|
|
36
|
-
.pure-
|
|
36
|
+
.pure-cell__component_11n85.pure-cell__bottom_11n85 {
|
|
37
37
|
align-self: flex-end;
|
|
38
38
|
}
|
|
@@ -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-356875da.js';
|
|
4
4
|
import { Amount as Amount$1 } from '@alfalab/core-components-amount/modern';
|
|
5
5
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
6
6
|
|
|
7
|
-
var styles = {"component":"pure-
|
|
7
|
+
var styles = {"component":"pure-cell__component_ahc7h"};
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
3
|
+
import '../../getDataTestId-356875da.js';
|
|
4
4
|
import '@alfalab/core-components-amount/modern';
|
|
5
5
|
import '@alfalab/core-components-typography/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-356875da.js';
|
|
4
4
|
import { Amount } from '@alfalab/core-components-amount/modern';
|
|
5
5
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
6
6
|
|
|
7
|
-
var styles = {"component":"pure-
|
|
7
|
+
var styles = {"component":"pure-cell__component_ydssv","weight":"pure-cell__weight_ydssv"};
|
|
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: 1v8mv */
|
|
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_ydssv {
|
|
11
11
|
display: flex;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__weight_ydssv {
|
|
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-356875da.js';
|
|
4
4
|
import '@alfalab/core-components-amount/modern';
|
|
5
5
|
import '@alfalab/core-components-typography/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-356875da.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_12cmd","categoryName":"pure-cell__categoryName_12cmd","categoryPercent":"pure-cell__categoryPercent_12cmd","rightAddon":"pure-cell__rightAddon_12cmd"};
|
|
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: 1bn2z */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-secondary: #f3f4f5;
|
|
4
4
|
}
|
|
@@ -18,24 +18,24 @@
|
|
|
18
18
|
:root {
|
|
19
19
|
--border-radius-xl: 16px;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_12cmd {
|
|
22
22
|
display: flex;
|
|
23
23
|
overflow: hidden;
|
|
24
24
|
padding: var(--gap-3xs) 0;
|
|
25
25
|
}
|
|
26
|
-
.pure-
|
|
26
|
+
.pure-cell__categoryName_12cmd {
|
|
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
32
|
}
|
|
33
|
-
.pure-
|
|
33
|
+
.pure-cell__categoryPercent_12cmd {
|
|
34
34
|
padding: 0 var(--gap-xs);
|
|
35
35
|
background-color: var(--color-light-bg-secondary);
|
|
36
36
|
border-radius: var(--border-radius-xl);
|
|
37
37
|
margin-left: var(--gap-2xs);
|
|
38
38
|
}
|
|
39
|
-
.pure-
|
|
39
|
+
.pure-cell__rightAddon_12cmd {
|
|
40
40
|
margin-left: var(--gap-2xs);
|
|
41
41
|
}
|
|
@@ -3,14 +3,14 @@ import 'react-merge-refs';
|
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-comment/modern';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
|
-
import '../../getDataTestId-
|
|
6
|
+
import '../../getDataTestId-356875da.js';
|
|
7
7
|
import '../addon/component.js';
|
|
8
8
|
import '@alfalab/core-components-amount/modern';
|
|
9
9
|
import '@alfalab/core-components-typography/modern';
|
|
10
10
|
import '../amount/component.js';
|
|
11
11
|
import '../amount-title/component.js';
|
|
12
12
|
import '../category/component.js';
|
|
13
|
-
export { C as Content } from '../../component-
|
|
13
|
+
export { C as Content } from '../../component-9814fff5.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: 1vni2 */
|
|
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_1739o {
|
|
11
11
|
flex-basis: 100%;
|
|
12
12
|
display: grid;
|
|
13
13
|
grid-template-columns: 1fr auto
|
|
14
14
|
}
|
|
15
|
-
.pure-
|
|
15
|
+
.pure-cell__component_1739o.pure-cell__horizontal_1739o {
|
|
16
16
|
/* for button */
|
|
17
17
|
align-self: stretch;
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-9814fff5";
|
|
@@ -3,14 +3,14 @@ import 'react-merge-refs';
|
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-comment/modern';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
|
-
import '../../getDataTestId-
|
|
6
|
+
import '../../getDataTestId-356875da.js';
|
|
7
7
|
import '../addon/component.js';
|
|
8
8
|
import '@alfalab/core-components-amount/modern';
|
|
9
9
|
import '@alfalab/core-components-typography/modern';
|
|
10
10
|
import '../amount/component.js';
|
|
11
11
|
import '../amount-title/component.js';
|
|
12
12
|
import '../category/component.js';
|
|
13
|
-
export { C as Content } from '../../component-
|
|
13
|
+
export { C as Content } from '../../component-9814fff5.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-356875da.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_1szi2","none":"pure-cell__none_1szi2","default":"pure-cell__default_1szi2"};
|
|
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: 165m2 */
|
|
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_1szi2 {
|
|
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_1szi2.pure-cell__none_1szi2 {
|
|
19
19
|
margin-top: 0;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_1szi2.pure-cell__default_1szi2 {
|
|
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-356875da.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_yrbc8"};
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-356875da.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));
|
|
@@ -10,6 +10,10 @@ type Props = {
|
|
|
10
10
|
* Идентификатор для систем автоматизированного тестирования
|
|
11
11
|
*/
|
|
12
12
|
dataTestId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Вертикальное выравнивание
|
|
15
|
+
*/
|
|
16
|
+
verticalAlign?: 'top' | 'center' | 'bottom';
|
|
13
17
|
};
|
|
14
18
|
declare const Graphics: React.FC<Props>;
|
|
15
19
|
export { Props, Graphics };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import cn from 'classnames';
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-356875da.js';
|
|
3
4
|
|
|
4
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_1bfxc","top":"pure-cell__top_1bfxc","center":"pure-cell__center_1bfxc","bottom":"pure-cell__bottom_1bfxc"};
|
|
5
6
|
require('./index.css')
|
|
6
7
|
|
|
7
|
-
const Graphics = ({ children, dataTestId }) => (React.createElement("section", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'graphics') }, children));
|
|
8
|
+
const Graphics = ({ children, dataTestId, verticalAlign = 'top' }) => (React.createElement("section", { className: cn(styles.component, styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'graphics') }, children));
|
|
8
9
|
|
|
9
10
|
export { Graphics };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: t4mjx */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,6 +7,15 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.pure-
|
|
10
|
+
.pure-cell__component_1bfxc {
|
|
11
11
|
flex-basis: auto;
|
|
12
12
|
}
|
|
13
|
+
.pure-cell__top_1bfxc {
|
|
14
|
+
align-self: flex-start;
|
|
15
|
+
}
|
|
16
|
+
.pure-cell__center_1bfxc {
|
|
17
|
+
align-self: center;
|
|
18
|
+
}
|
|
19
|
+
.pure-cell__bottom_1bfxc {
|
|
20
|
+
align-self: flex-end;
|
|
21
|
+
}
|
|
@@ -3,14 +3,14 @@ import 'react-merge-refs';
|
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-comment/modern';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
|
-
import '../../getDataTestId-
|
|
6
|
+
import '../../getDataTestId-356875da.js';
|
|
7
7
|
import '../addon/component.js';
|
|
8
8
|
import '@alfalab/core-components-amount/modern';
|
|
9
9
|
import '@alfalab/core-components-typography/modern';
|
|
10
10
|
import '../amount/component.js';
|
|
11
11
|
import '../amount-title/component.js';
|
|
12
12
|
import '../category/component.js';
|
|
13
|
-
export { M as Main } from '../../component-
|
|
13
|
+
export { M as Main } from '../../component-9814fff5.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: fowao */
|
|
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_1wl7i {
|
|
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_1wl7i.pure-cell__vertical_1wl7i {
|
|
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_1wl7i.pure-cell__reverse_1wl7i {
|
|
30
30
|
flex-direction: column-reverse;
|
|
31
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-9814fff5";
|
|
@@ -3,14 +3,14 @@ import 'react-merge-refs';
|
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-comment/modern';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
|
-
import '../../getDataTestId-
|
|
6
|
+
import '../../getDataTestId-356875da.js';
|
|
7
7
|
import '../addon/component.js';
|
|
8
8
|
import '@alfalab/core-components-amount/modern';
|
|
9
9
|
import '@alfalab/core-components-typography/modern';
|
|
10
10
|
import '../amount/component.js';
|
|
11
11
|
import '../amount-title/component.js';
|
|
12
12
|
import '../category/component.js';
|
|
13
|
-
export { M as Main } from '../../component-
|
|
13
|
+
export { M as Main } from '../../component-9814fff5.js';
|
|
14
14
|
import '../footer/component.js';
|
|
15
15
|
import '@alfalab/core-components-button/modern';
|
|
16
16
|
import '../footer-button/component.js';
|
|
@@ -3,14 +3,14 @@ import 'react-merge-refs';
|
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-comment/modern';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
|
-
import '../../getDataTestId-
|
|
6
|
+
import '../../getDataTestId-356875da.js';
|
|
7
7
|
import '../addon/component.js';
|
|
8
8
|
import '@alfalab/core-components-amount/modern';
|
|
9
9
|
import '@alfalab/core-components-typography/modern';
|
|
10
10
|
import '../amount/component.js';
|
|
11
11
|
import '../amount-title/component.js';
|
|
12
12
|
import '../category/component.js';
|
|
13
|
-
export { T as Text } from '../../component-
|
|
13
|
+
export { T as Text } from '../../component-9814fff5.js';
|
|
14
14
|
import '../footer/component.js';
|
|
15
15
|
import '@alfalab/core-components-button/modern';
|
|
16
16
|
import '../footer-button/component.js';
|