@alfalab/core-components-pure-cell 3.0.2 → 4.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/component-3f45f3c4.d.ts +5 -7
- package/{component-e370ba4a.d.ts → component-e81848a4.d.ts} +0 -0
- package/{component-e370ba4a.js → component-e81848a4.js} +11 -10
- package/component.js +4 -3
- package/components/addon/component.d.ts +1 -1
- package/components/addon/component.js +4 -7
- package/components/addon/index.css +15 -8
- package/components/addon/index.js +1 -1
- package/components/amount/component.d.ts +2 -6
- package/components/amount/component.js +6 -6
- package/components/amount/index.css +2 -2
- package/components/amount/index.js +2 -1
- package/components/amount-title/component.d.ts +1 -9
- package/components/amount-title/component.js +5 -5
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.js +2 -1
- package/components/category/component.d.ts +5 -0
- package/components/category/component.js +5 -4
- package/components/category/index.css +8 -4
- package/components/category/index.js +1 -1
- package/components/content/component.js +4 -3
- package/components/content/index.css +3 -3
- package/components/content/index.d.ts +1 -1
- package/components/content/index.js +4 -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.d.ts +5 -0
- package/components/footer-button/component.js +15 -5
- package/components/footer-button/index.css +2 -2
- package/components/footer-button/index.d.ts +1 -1
- package/components/footer-button/index.js +3 -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 +4 -3
- package/components/main/index.css +4 -4
- package/components/main/index.d.ts +1 -1
- package/components/main/index.js +4 -3
- package/components/text/component.js +4 -3
- package/components/text/index.css +10 -8
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +4 -3
- package/components/typesProps.d.ts +2 -2
- package/cssm/{component-d3306cf3.d.ts → component-0839382a.d.ts} +0 -0
- package/cssm/{component-d3306cf3.js → component-0839382a.js} +6 -5
- package/cssm/component-3f45f3c4.d.ts +5 -7
- package/cssm/component.js +3 -2
- package/cssm/components/addon/component.d.ts +1 -1
- package/cssm/components/addon/component.js +2 -5
- package/cssm/components/addon/index.module.css +8 -1
- package/cssm/components/amount/component.d.ts +2 -6
- package/cssm/components/amount/component.js +4 -4
- package/cssm/components/amount/index.js +1 -0
- package/cssm/components/amount-title/component.d.ts +1 -9
- package/cssm/components/amount-title/component.js +3 -3
- package/cssm/components/amount-title/index.js +1 -0
- package/cssm/components/category/component.d.ts +5 -0
- package/cssm/components/category/component.js +3 -2
- package/cssm/components/category/index.module.css +4 -0
- package/cssm/components/content/component.js +3 -2
- package/cssm/components/content/index.d.ts +1 -1
- package/cssm/components/content/index.js +3 -2
- package/cssm/components/footer-button/component.d.ts +5 -0
- package/cssm/components/footer-button/component.js +14 -6
- package/cssm/components/footer-button/index.d.ts +1 -1
- package/cssm/components/footer-button/index.js +2 -1
- package/cssm/components/main/component.js +3 -2
- package/cssm/components/main/index.d.ts +1 -1
- package/cssm/components/main/index.js +3 -2
- package/cssm/components/text/component.js +3 -2
- package/cssm/components/text/index.d.ts +1 -1
- package/cssm/components/text/index.js +3 -2
- package/cssm/components/text/index.module.css +4 -2
- package/cssm/components/typesProps.d.ts +2 -2
- package/cssm/index.js +3 -2
- package/{component-44707ae5.d.ts → cssm/tslib.es6-ce870b46.d.ts} +1 -5
- package/{component-44707ae5.js → cssm/tslib.es6-ce870b46.js} +0 -17
- package/esm/component-3f45f3c4.d.ts +5 -7
- package/esm/{component-6954d6a5.d.ts → component-92010732.d.ts} +0 -0
- package/esm/{component-6954d6a5.js → component-92010732.js} +8 -7
- package/esm/component.js +4 -3
- package/esm/components/addon/component.d.ts +1 -1
- package/esm/components/addon/component.js +4 -7
- package/esm/components/addon/index.css +15 -8
- package/esm/components/addon/index.js +1 -1
- package/esm/components/amount/component.d.ts +2 -6
- package/esm/components/amount/component.js +6 -6
- package/esm/components/amount/index.css +2 -2
- package/esm/components/amount/index.js +2 -1
- package/esm/components/amount-title/component.d.ts +1 -9
- package/esm/components/amount-title/component.js +5 -5
- package/esm/components/amount-title/index.css +3 -3
- package/esm/components/amount-title/index.js +2 -1
- package/esm/components/category/component.d.ts +5 -0
- package/esm/components/category/component.js +5 -4
- package/esm/components/category/index.css +8 -4
- package/esm/components/category/index.js +1 -1
- package/esm/components/content/component.js +4 -3
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/index.d.ts +1 -1
- package/esm/components/content/index.js +4 -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.d.ts +5 -0
- package/esm/components/footer-button/component.js +14 -4
- 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 +3 -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 +4 -3
- package/esm/components/main/index.css +4 -4
- package/esm/components/main/index.d.ts +1 -1
- package/esm/components/main/index.js +4 -3
- package/esm/components/text/component.js +4 -3
- package/esm/components/text/index.css +10 -8
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +4 -3
- package/esm/components/typesProps.d.ts +2 -2
- package/esm/{getDataTestId-0192477a.d.ts → getDataTestId-a5ad08de.d.ts} +0 -0
- package/esm/{getDataTestId-0192477a.js → getDataTestId-a5ad08de.js} +0 -0
- package/esm/index.css +19 -19
- package/esm/index.js +4 -3
- package/esm/{component-700187d7.d.ts → tslib.es6-1c2475cc.d.ts} +1 -5
- package/esm/{component-700187d7.js → tslib.es6-1c2475cc.js} +1 -13
- package/{getDataTestId-6d196b22.d.ts → getDataTestId-874edbee.d.ts} +0 -0
- package/{getDataTestId-6d196b22.js → getDataTestId-874edbee.js} +0 -0
- package/index.css +19 -19
- package/index.js +4 -3
- package/modern/{component-57adeea3.d.ts → component-0aebd563.d.ts} +0 -0
- package/modern/{component-57adeea3.js → component-0aebd563.js} +6 -6
- package/modern/component-3f45f3c4.d.ts +5 -7
- package/modern/component.js +2 -2
- package/modern/components/addon/component.d.ts +1 -1
- package/modern/components/addon/component.js +3 -5
- package/modern/components/addon/index.css +15 -8
- package/modern/components/addon/index.js +1 -1
- package/modern/components/amount/component.d.ts +2 -6
- package/modern/components/amount/component.js +5 -6
- package/modern/components/amount/index.css +2 -2
- package/modern/components/amount/index.js +1 -1
- package/modern/components/amount-title/component.d.ts +1 -9
- package/modern/components/amount-title/component.js +4 -5
- package/modern/components/amount-title/index.css +3 -3
- package/modern/components/amount-title/index.js +1 -1
- package/modern/components/category/component.d.ts +5 -0
- package/modern/components/category/component.js +5 -4
- package/modern/components/category/index.css +8 -4
- package/modern/components/category/index.js +1 -1
- package/modern/components/content/component.js +2 -2
- package/modern/components/content/index.css +3 -3
- package/modern/components/content/index.d.ts +1 -1
- package/modern/components/content/index.js +2 -2
- package/modern/components/footer/component.js +2 -2
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/index.js +1 -1
- package/modern/components/footer-button/component.js +2 -2
- package/modern/components/footer-button/index.css +2 -2
- package/modern/components/footer-button/index.js +1 -1
- package/modern/components/footer-text/component.js +1 -1
- package/modern/components/footer-text/index.js +1 -1
- package/modern/components/graphics/component.js +2 -2
- package/modern/components/graphics/index.css +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 +10 -8
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +2 -2
- package/modern/components/typesProps.d.ts +2 -2
- package/modern/{getDataTestId-bcfbe2e1.d.ts → getDataTestId-997a290e.d.ts} +0 -0
- package/modern/{getDataTestId-bcfbe2e1.js → getDataTestId-997a290e.js} +0 -0
- package/modern/index.css +19 -19
- package/modern/index.js +2 -2
- package/package.json +4 -4
- package/{cssm/component-22ece846.d.ts → tslib.es6-37028810.d.ts} +1 -5
- package/{cssm/component-22ece846.js → tslib.es6-37028810.js} +0 -16
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-1c2475cc.js';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import cn from 'classnames';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
4
|
+
import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
|
|
4
5
|
import { Typography } from '@alfalab/core-components-typography/esm';
|
|
5
6
|
import { Amount as Amount$1 } from '@alfalab/core-components-amount/esm';
|
|
6
7
|
|
|
7
|
-
var styles = {"component":"pure-
|
|
8
|
+
var styles = {"component":"pure-cell__component_1ohsg"};
|
|
8
9
|
require('./index.css')
|
|
9
10
|
|
|
10
11
|
var Amount = function (_a) {
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
React.createElement(Amount$1, { minority: minority === undefined ? minorUnits : minority, value: value, transparentMinor: transparentMinor, bold: weight === 'bold' ? 'full' : 'none', rightAddons: rightAddons, showPlus: showPlus, className: className, currency: currency, dataTestId: getDataTestId(dataTestId, 'amount'), view: viewAmount })));
|
|
12
|
+
var _b = _a.weight, weight = _b === void 0 ? 'normal' : _b, _c = _a.textView, textView = _c === void 0 ? 'component' : _c, _d = _a.color, color = _d === void 0 ? 'primary' : _d, minority = _a.minority, _e = _a.minorUnits, minorUnits = _e === void 0 ? 100 : _e, dataTestId = _a.dataTestId, restProps = __rest(_a, ["weight", "textView", "color", "minority", "minorUnits", "dataTestId"]);
|
|
13
|
+
return (React.createElement(Typography.Text, { view: textView, dataTestId: getDataTestId(dataTestId, 'amount-text'), className: cn(styles.component), color: color },
|
|
14
|
+
React.createElement(Amount$1, __assign({ minority: minority || minorUnits, bold: weight === 'bold' ? 'full' : 'none', dataTestId: getDataTestId(dataTestId, 'amount') }, restProps))));
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export { Amount };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import '../../tslib.es6-1c2475cc.js';
|
|
1
2
|
import 'react';
|
|
2
3
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
4
|
+
import '../../getDataTestId-a5ad08de.js';
|
|
4
5
|
import '@alfalab/core-components-typography/esm';
|
|
5
6
|
import '@alfalab/core-components-amount/esm';
|
|
6
7
|
export { Amount } from './component.js';
|
|
@@ -3,18 +3,10 @@ import React from 'react';
|
|
|
3
3
|
import { Color } from "@alfalab/core-components-typography";
|
|
4
4
|
import { AmountProps as AmountType } from "../typesProps";
|
|
5
5
|
type Props = {
|
|
6
|
-
/**
|
|
7
|
-
* Props свойственные для компонента Amount
|
|
8
|
-
*/
|
|
9
|
-
amount: AmountType;
|
|
10
6
|
/**
|
|
11
7
|
* Цвет денежного значения
|
|
12
8
|
*/
|
|
13
9
|
color?: Color;
|
|
14
|
-
|
|
15
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
16
|
-
*/
|
|
17
|
-
dataTestId?: string;
|
|
18
|
-
};
|
|
10
|
+
} & AmountType;
|
|
19
11
|
declare const AmountTitle: React.FC<Props>;
|
|
20
12
|
export { AmountTitle };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-1c2475cc.js';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import cn from 'classnames';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
4
|
+
import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
|
|
4
5
|
import { Typography } from '@alfalab/core-components-typography/esm';
|
|
5
6
|
import { Amount } from '@alfalab/core-components-amount/esm';
|
|
6
7
|
|
|
7
|
-
var styles = {"component":"pure-
|
|
8
|
+
var styles = {"component":"pure-cell__component_18dk0","weight":"pure-cell__weight_18dk0"};
|
|
8
9
|
require('./index.css')
|
|
9
10
|
|
|
10
11
|
var AmountTitle = function (_a) {
|
|
11
|
-
var
|
|
12
|
-
var value = amount.value, currency = amount.currency, minority = amount.minority, minorUnits = amount.minorUnits, rightAddons = amount.rightAddons, showPlus = amount.showPlus, className = amount.className;
|
|
12
|
+
var minority = _a.minority, _b = _a.minorUnits, minorUnits = _b === void 0 ? 100 : _b, className = _a.className, _c = _a.color, color = _c === void 0 ? 'primary' : _c, dataTestId = _a.dataTestId, restProps = __rest(_a, ["minority", "minorUnits", "className", "color", "dataTestId"]);
|
|
13
13
|
return (React.createElement(Typography.Title, { tag: 'h4', view: 'small', dataTestId: getDataTestId(dataTestId, 'amount-title'), className: styles.component, color: color },
|
|
14
|
-
React.createElement(Amount, { minority: minority
|
|
14
|
+
React.createElement(Amount, __assign({ minority: minority || minorUnits, className: cn(styles.weight, className), dataTestId: getDataTestId(dataTestId, 'core-amount-title') }, restProps, { bold: 'none' }))));
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export { AmountTitle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ou1d */
|
|
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_18dk0 {
|
|
11
11
|
display: flex;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__weight_18dk0 {
|
|
14
14
|
font-weight: inherit;
|
|
15
15
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import '../../tslib.es6-1c2475cc.js';
|
|
1
2
|
import 'react';
|
|
2
3
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
4
|
+
import '../../getDataTestId-a5ad08de.js';
|
|
4
5
|
import '@alfalab/core-components-typography/esm';
|
|
5
6
|
import '@alfalab/core-components-amount/esm';
|
|
6
7
|
export { AmountTitle } from './component.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { ReactNode } from "react";
|
|
3
4
|
type Props = {
|
|
4
5
|
/**
|
|
5
6
|
* Наименование категории
|
|
@@ -9,6 +10,10 @@ type Props = {
|
|
|
9
10
|
* Процент категории
|
|
10
11
|
*/
|
|
11
12
|
categoryPercent?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Слот справа
|
|
15
|
+
*/
|
|
16
|
+
rightAddons?: ReactNode;
|
|
12
17
|
/**
|
|
13
18
|
* Идентификатор для систем автоматизированного тестирования
|
|
14
19
|
*/
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/esm';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_zpzi0","categoryName":"pure-cell__categoryName_zpzi0","categoryPercent":"pure-cell__categoryPercent_zpzi0","rightAddon":"pure-cell__rightAddon_zpzi0"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Category = function (_a) {
|
|
9
|
-
var categoryName = _a.categoryName, categoryPercent = _a.categoryPercent, dataTestId = _a.dataTestId;
|
|
9
|
+
var categoryName = _a.categoryName, categoryPercent = _a.categoryPercent, rightAddons = _a.rightAddons, dataTestId = _a.dataTestId;
|
|
10
10
|
return (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
|
|
11
11
|
React.createElement(Typography.Text, { view: 'primary-small', color: 'secondary', dataTestId: getDataTestId(dataTestId, 'category-name'), className: styles.categoryName }, categoryName),
|
|
12
12
|
categoryPercent !== undefined && (React.createElement(Typography.Text, { tag: 'div', view: 'primary-small', color: 'secondary', className: styles.categoryPercent, dataTestId: getDataTestId(dataTestId, 'category-percent') },
|
|
13
13
|
categoryPercent,
|
|
14
|
-
"%"))
|
|
14
|
+
"%")),
|
|
15
|
+
rightAddons !== undefined && (React.createElement("div", { className: styles.rightAddon, "data-test-id": getDataTestId(dataTestId, 'category-right-addon') }, rightAddons))));
|
|
15
16
|
};
|
|
16
17
|
|
|
17
18
|
export { Category };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1mf1c */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-secondary: #f3f4f5;
|
|
4
4
|
}
|
|
@@ -18,20 +18,24 @@
|
|
|
18
18
|
:root {
|
|
19
19
|
--border-radius-xl: 16px;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_zpzi0 {
|
|
22
22
|
display: flex;
|
|
23
23
|
overflow: hidden;
|
|
24
24
|
padding: var(--gap-3xs) 0;
|
|
25
25
|
}
|
|
26
|
-
.pure-
|
|
26
|
+
.pure-cell__categoryName_zpzi0 {
|
|
27
27
|
display: -webkit-box;
|
|
28
28
|
-webkit-line-clamp: 1;
|
|
29
29
|
-webkit-box-orient: vertical;
|
|
30
30
|
overflow: hidden;
|
|
31
|
+
word-break: break-all;
|
|
31
32
|
}
|
|
32
|
-
.pure-
|
|
33
|
+
.pure-cell__categoryPercent_zpzi0 {
|
|
33
34
|
padding: 0 var(--gap-xs);
|
|
34
35
|
background-color: var(--color-light-bg-secondary);
|
|
35
36
|
border-radius: var(--border-radius-xl);
|
|
36
37
|
margin-left: var(--gap-2xs);
|
|
37
38
|
}
|
|
39
|
+
.pure-cell__rightAddon_zpzi0 {
|
|
40
|
+
margin-left: var(--gap-2xs);
|
|
41
|
+
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import '../../
|
|
1
|
+
import '../../tslib.es6-1c2475cc.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
6
|
import '@alfalab/core-components-comment/esm';
|
|
7
|
-
import '../../getDataTestId-
|
|
7
|
+
import '../../getDataTestId-a5ad08de.js';
|
|
8
8
|
import '../addon/component.js';
|
|
9
9
|
import '@alfalab/core-components-typography/esm';
|
|
10
10
|
import '@alfalab/core-components-amount/esm';
|
|
11
11
|
import '../amount/component.js';
|
|
12
12
|
import '../amount-title/component.js';
|
|
13
13
|
import '../category/component.js';
|
|
14
|
-
export { C as Content } from '../../component-
|
|
14
|
+
export { C as Content } from '../../component-92010732.js';
|
|
15
15
|
import '../footer/component.js';
|
|
16
16
|
import '@alfalab/core-components-button/esm';
|
|
17
|
+
import '../footer-button/component.js';
|
|
17
18
|
import '../footer-text/component.js';
|
|
18
19
|
import '../graphics/component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 2117i */
|
|
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_1s3xh {
|
|
11
11
|
flex-basis: 100%;
|
|
12
12
|
display: grid;
|
|
13
13
|
grid-template-columns: 1fr auto
|
|
14
14
|
}
|
|
15
|
-
.pure-
|
|
15
|
+
.pure-cell__component_1s3xh.pure-cell__horizontal_1s3xh {
|
|
16
16
|
/* for button */
|
|
17
17
|
align-self: stretch;
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-92010732";
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import '../../
|
|
1
|
+
import '../../tslib.es6-1c2475cc.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
6
|
import '@alfalab/core-components-comment/esm';
|
|
7
|
-
import '../../getDataTestId-
|
|
7
|
+
import '../../getDataTestId-a5ad08de.js';
|
|
8
8
|
import '../addon/component.js';
|
|
9
9
|
import '@alfalab/core-components-typography/esm';
|
|
10
10
|
import '@alfalab/core-components-amount/esm';
|
|
11
11
|
import '../amount/component.js';
|
|
12
12
|
import '../amount-title/component.js';
|
|
13
13
|
import '../category/component.js';
|
|
14
|
-
export { C as Content } from '../../component-
|
|
14
|
+
export { C as Content } from '../../component-92010732.js';
|
|
15
15
|
import '../footer/component.js';
|
|
16
16
|
import '@alfalab/core-components-button/esm';
|
|
17
|
+
import '../footer-button/component.js';
|
|
17
18
|
import '../footer-text/component.js';
|
|
18
19
|
import '../graphics/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-a5ad08de.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_1kl8c","none":"pure-cell__none_1kl8c","default":"pure-cell__default_1kl8c"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1tovw */
|
|
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_1kl8c {
|
|
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_1kl8c.pure-cell__none_1kl8c {
|
|
19
19
|
margin-top: 0;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_1kl8c.pure-cell__default_1kl8c {
|
|
22
22
|
margin-top: var(--gap-xs);
|
|
23
23
|
}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import 'react';
|
|
3
|
-
import '../../getDataTestId-
|
|
4
|
-
import '@alfalab/core-components-button/esm';
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-1c2475cc.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
|
|
4
|
+
import { Button } from '@alfalab/core-components-button/esm';
|
|
5
|
+
|
|
6
|
+
var styles = {"component":"pure-cell__component_ork4a"};
|
|
7
|
+
require('./index.css')
|
|
8
|
+
|
|
9
|
+
var FooterButton = function (_a) {
|
|
10
|
+
var children = _a.children, dataTestId = _a.dataTestId, props = __rest(_a, ["children", "dataTestId"]);
|
|
11
|
+
return (React.createElement(Button, __assign({}, props, { size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }), children));
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { FooterButton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "
|
|
1
|
+
export * from "./component";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import '../../tslib.es6-1c2475cc.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import '../../getDataTestId-
|
|
3
|
+
import '../../getDataTestId-a5ad08de.js';
|
|
4
4
|
import '@alfalab/core-components-button/esm';
|
|
5
|
+
export { FooterButton } from './component.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/esm';
|
|
4
4
|
|
|
5
5
|
var FooterText = function (_a) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-a5ad08de.js';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"pure-
|
|
4
|
+
var styles = {"component":"pure-cell__component_111dx"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
var Graphics = function (_a) {
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import '../../
|
|
1
|
+
import '../../tslib.es6-1c2475cc.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
6
|
import '@alfalab/core-components-comment/esm';
|
|
7
|
-
import '../../getDataTestId-
|
|
7
|
+
import '../../getDataTestId-a5ad08de.js';
|
|
8
8
|
import '../addon/component.js';
|
|
9
9
|
import '@alfalab/core-components-typography/esm';
|
|
10
10
|
import '@alfalab/core-components-amount/esm';
|
|
11
11
|
import '../amount/component.js';
|
|
12
12
|
import '../amount-title/component.js';
|
|
13
13
|
import '../category/component.js';
|
|
14
|
-
export { M as Main } from '../../component-
|
|
14
|
+
export { M as Main } from '../../component-92010732.js';
|
|
15
15
|
import '../footer/component.js';
|
|
16
16
|
import '@alfalab/core-components-button/esm';
|
|
17
|
+
import '../footer-button/component.js';
|
|
17
18
|
import '../footer-text/component.js';
|
|
18
19
|
import '../graphics/component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: sxozn */
|
|
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_ikr9m {
|
|
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_ikr9m.pure-cell__vertical_ikr9m {
|
|
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_ikr9m.pure-cell__reverse_ikr9m {
|
|
30
30
|
flex-direction: column-reverse;
|
|
31
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-92010732";
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import '../../
|
|
1
|
+
import '../../tslib.es6-1c2475cc.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
6
|
import '@alfalab/core-components-comment/esm';
|
|
7
|
-
import '../../getDataTestId-
|
|
7
|
+
import '../../getDataTestId-a5ad08de.js';
|
|
8
8
|
import '../addon/component.js';
|
|
9
9
|
import '@alfalab/core-components-typography/esm';
|
|
10
10
|
import '@alfalab/core-components-amount/esm';
|
|
11
11
|
import '../amount/component.js';
|
|
12
12
|
import '../amount-title/component.js';
|
|
13
13
|
import '../category/component.js';
|
|
14
|
-
export { M as Main } from '../../component-
|
|
14
|
+
export { M as Main } from '../../component-92010732.js';
|
|
15
15
|
import '../footer/component.js';
|
|
16
16
|
import '@alfalab/core-components-button/esm';
|
|
17
|
+
import '../footer-button/component.js';
|
|
17
18
|
import '../footer-text/component.js';
|
|
18
19
|
import '../graphics/component.js';
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import '../../
|
|
1
|
+
import '../../tslib.es6-1c2475cc.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
6
|
import '@alfalab/core-components-comment/esm';
|
|
7
|
-
import '../../getDataTestId-
|
|
7
|
+
import '../../getDataTestId-a5ad08de.js';
|
|
8
8
|
import '../addon/component.js';
|
|
9
9
|
import '@alfalab/core-components-typography/esm';
|
|
10
10
|
import '@alfalab/core-components-amount/esm';
|
|
11
11
|
import '../amount/component.js';
|
|
12
12
|
import '../amount-title/component.js';
|
|
13
13
|
import '../category/component.js';
|
|
14
|
-
export { T as Text } from '../../component-
|
|
14
|
+
export { T as Text } from '../../component-92010732.js';
|
|
15
15
|
import '../footer/component.js';
|
|
16
16
|
import '@alfalab/core-components-button/esm';
|
|
17
|
+
import '../footer-button/component.js';
|
|
17
18
|
import '../footer-text/component.js';
|
|
18
19
|
import '../graphics/component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 5qrb6 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -11,31 +11,33 @@
|
|
|
11
11
|
--gap-3xs: 2px;
|
|
12
12
|
--gap-m: 16px;
|
|
13
13
|
}
|
|
14
|
-
.pure-
|
|
14
|
+
.pure-cell__horizontal_1vazz {
|
|
15
15
|
padding: var(--gap-3xs) 0;
|
|
16
16
|
}
|
|
17
|
-
.pure-
|
|
17
|
+
.pure-cell__rowLimit1_1vazz {
|
|
18
18
|
display: -webkit-box;
|
|
19
19
|
-webkit-line-clamp: 1;
|
|
20
20
|
-webkit-box-orient: vertical;
|
|
21
21
|
overflow: hidden;
|
|
22
|
+
word-break: break-all;
|
|
22
23
|
}
|
|
23
|
-
.pure-
|
|
24
|
+
.pure-cell__rowLimit2_1vazz {
|
|
24
25
|
display: -webkit-box;
|
|
25
26
|
-webkit-line-clamp: 2;
|
|
26
27
|
-webkit-box-orient: vertical;
|
|
27
28
|
overflow: hidden;
|
|
28
29
|
}
|
|
29
|
-
.pure-
|
|
30
|
+
.pure-cell__component_1vazz {
|
|
30
31
|
display: flex;
|
|
31
32
|
flex-direction: row;
|
|
32
33
|
flex-wrap: nowrap;
|
|
33
34
|
justify-content: space-between;
|
|
34
35
|
margin: var(--gap-3xs) 0;
|
|
35
36
|
}
|
|
36
|
-
.pure-
|
|
37
|
+
.pure-cell__component_1vazz .pure-cell__vertical_1vazz {
|
|
37
38
|
justify-content: center;
|
|
38
39
|
}
|
|
39
|
-
.pure-
|
|
40
|
-
margin-
|
|
40
|
+
.pure-cell__title_1vazz + .pure-cell__value_1vazz {
|
|
41
|
+
margin-left: var(--gap-m);
|
|
42
|
+
flex-shrink: 0;
|
|
41
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-92010732";
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import '../../
|
|
1
|
+
import '../../tslib.es6-1c2475cc.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
6
|
import '@alfalab/core-components-comment/esm';
|
|
7
|
-
import '../../getDataTestId-
|
|
7
|
+
import '../../getDataTestId-a5ad08de.js';
|
|
8
8
|
import '../addon/component.js';
|
|
9
9
|
import '@alfalab/core-components-typography/esm';
|
|
10
10
|
import '@alfalab/core-components-amount/esm';
|
|
11
11
|
import '../amount/component.js';
|
|
12
12
|
import '../amount-title/component.js';
|
|
13
13
|
import '../category/component.js';
|
|
14
|
-
export { T as Text } from '../../component-
|
|
14
|
+
export { T as Text } from '../../component-92010732.js';
|
|
15
15
|
import '../footer/component.js';
|
|
16
16
|
import '@alfalab/core-components-button/esm';
|
|
17
|
+
import '../footer-button/component.js';
|
|
17
18
|
import '../footer-text/component.js';
|
|
18
19
|
import '../graphics/component.js';
|
|
@@ -16,7 +16,7 @@ type AmountProps = {
|
|
|
16
16
|
/**
|
|
17
17
|
* Количество минорных единиц в валюте
|
|
18
18
|
*/
|
|
19
|
-
minority
|
|
19
|
+
minority?: number;
|
|
20
20
|
/**
|
|
21
21
|
* Делает минорную часть полупрозрачной
|
|
22
22
|
*/
|
|
@@ -24,7 +24,7 @@ type AmountProps = {
|
|
|
24
24
|
/**
|
|
25
25
|
* Количество минорных единиц в валюте для Клика
|
|
26
26
|
*/
|
|
27
|
-
minorUnits
|
|
27
|
+
minorUnits?: number;
|
|
28
28
|
/**
|
|
29
29
|
* default - не отображаем копейки, если их значение 0
|
|
30
30
|
* withZeroMinorPart - отображаем копейки, даже если их значение равно 0
|
|
File without changes
|