@alfalab/core-components-pure-cell 4.3.2 → 4.4.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-5a229016.d.ts +4 -4
- package/{component-81a3aa3a.js → component-b96676c0.js} +9 -9
- package/component.js +2 -2
- package/components/addon/component.js +3 -3
- package/components/addon/index.css +10 -10
- package/components/addon/index.js +1 -1
- package/components/amount/component.js +4 -4
- package/components/amount/index.css +2 -2
- package/components/amount/index.js +1 -1
- package/components/amount-title/component.js +4 -4
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.js +1 -1
- package/components/category/component.js +5 -5
- package/components/category/index.css +5 -5
- package/components/category/index.js +1 -1
- package/components/content/component.js +2 -2
- package/components/content/index.css +3 -3
- package/components/content/index.d.ts +1 -1
- package/components/content/index.js +2 -2
- package/components/footer/component.js +3 -3
- 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 +1 -1
- package/components/footer-text/component.js +2 -2
- package/components/footer-text/index.js +1 -1
- package/components/graphics/component.js +3 -3
- package/components/graphics/index.css +5 -5
- package/components/graphics/index.js +1 -1
- package/components/main/component.js +2 -2
- package/components/main/index.css +4 -4
- package/components/main/index.d.ts +1 -1
- package/components/main/index.js +2 -2
- package/components/text/component.js +2 -2
- package/components/text/index.css +7 -7
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +2 -2
- package/cssm/component-5a229016.d.ts +4 -4
- package/cssm/{component-f0bb4ddf.js → component-ef4953bf.js} +5 -5
- package/cssm/component.js +2 -2
- package/cssm/components/addon/component.js +2 -2
- package/cssm/components/addon/index.js +1 -1
- package/cssm/components/amount/component.js +3 -3
- package/cssm/components/amount/index.js +1 -1
- package/cssm/components/amount-title/component.js +3 -3
- package/cssm/components/amount-title/index.js +1 -1
- package/cssm/components/category/component.js +4 -4
- package/cssm/components/category/index.js +1 -1
- package/cssm/components/content/component.js +2 -2
- package/cssm/components/content/index.d.ts +1 -1
- package/cssm/components/content/index.js +2 -2
- package/cssm/components/footer/component.js +2 -2
- package/cssm/components/footer/index.js +1 -1
- package/cssm/components/footer-button/component.js +2 -2
- package/cssm/components/footer-button/index.js +1 -1
- package/cssm/components/footer-text/component.js +2 -2
- package/cssm/components/footer-text/index.js +1 -1
- package/cssm/components/graphics/component.js +2 -2
- package/cssm/components/graphics/index.js +1 -1
- package/cssm/components/main/component.js +2 -2
- package/cssm/components/main/index.d.ts +1 -1
- package/cssm/components/main/index.js +2 -2
- package/cssm/components/text/component.js +2 -2
- package/cssm/components/text/index.d.ts +1 -1
- package/cssm/components/text/index.js +2 -2
- package/cssm/index.js +2 -2
- package/esm/{component-d81bf7aa.js → component-4f6ca416.js} +5 -5
- package/esm/component-5a229016.d.ts +4 -4
- package/esm/component.js +2 -2
- package/esm/components/addon/component.js +2 -2
- package/esm/components/addon/index.css +10 -10
- 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 +5 -5
- package/esm/components/category/index.js +1 -1
- package/esm/components/content/component.js +2 -2
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/index.d.ts +1 -1
- package/esm/components/content/index.js +2 -2
- 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.js +1 -1
- package/esm/components/footer-text/component.js +1 -1
- package/esm/components/footer-text/index.js +1 -1
- package/esm/components/graphics/component.js +2 -2
- package/esm/components/graphics/index.css +5 -5
- package/esm/components/graphics/index.js +1 -1
- package/esm/components/main/component.js +2 -2
- package/esm/components/main/index.css +4 -4
- package/esm/components/main/index.d.ts +1 -1
- package/esm/components/main/index.js +2 -2
- package/esm/components/text/component.js +2 -2
- package/esm/components/text/index.css +7 -7
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +2 -2
- package/esm/index.css +21 -21
- package/esm/index.js +2 -2
- package/index.css +21 -21
- package/index.js +2 -2
- package/modern/{component-4a267d86.js → component-4312f00c.js} +5 -5
- package/modern/component-5a229016.d.ts +4 -4
- package/modern/component.js +2 -2
- package/modern/components/addon/component.js +2 -2
- package/modern/components/addon/index.css +10 -10
- package/modern/components/addon/index.js +1 -1
- package/modern/components/amount/component.js +2 -2
- package/modern/components/amount/index.css +2 -2
- package/modern/components/amount/index.js +1 -1
- package/modern/components/amount-title/component.js +2 -2
- package/modern/components/amount-title/index.css +3 -3
- package/modern/components/amount-title/index.js +1 -1
- package/modern/components/category/component.js +2 -2
- package/modern/components/category/index.css +5 -5
- package/modern/components/category/index.js +1 -1
- package/modern/components/content/component.js +2 -2
- package/modern/components/content/index.css +3 -3
- package/modern/components/content/index.d.ts +1 -1
- package/modern/components/content/index.js +2 -2
- package/modern/components/footer/component.js +2 -2
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/index.js +1 -1
- package/modern/components/footer-button/component.js +2 -2
- package/modern/components/footer-button/index.css +2 -2
- package/modern/components/footer-button/index.js +1 -1
- package/modern/components/footer-text/component.js +1 -1
- package/modern/components/footer-text/index.js +1 -1
- package/modern/components/graphics/component.js +2 -2
- package/modern/components/graphics/index.css +5 -5
- package/modern/components/graphics/index.js +1 -1
- package/modern/components/main/component.js +2 -2
- package/modern/components/main/index.css +4 -4
- package/modern/components/main/index.d.ts +1 -1
- package/modern/components/main/index.js +2 -2
- package/modern/components/text/component.js +2 -2
- package/modern/components/text/index.css +7 -7
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +2 -2
- package/modern/index.css +21 -21
- package/modern/index.js +2 -2
- package/package.json +7 -5
- package/src/component.tsx +186 -0
- package/src/components/addon/component.tsx +44 -0
- package/src/components/addon/index.module.css +39 -0
- package/src/components/addon/index.ts +1 -0
- package/src/components/amount/component.tsx +56 -0
- package/src/components/amount/index.module.css +6 -0
- package/src/components/amount/index.ts +1 -0
- package/src/components/amount-title/component.tsx +42 -0
- package/src/components/amount-title/index.module.css +9 -0
- package/src/components/amount-title/index.ts +1 -0
- package/src/components/category/component.tsx +65 -0
- package/src/components/category/index.module.css +26 -0
- package/src/components/category/index.ts +1 -0
- package/src/components/content/component.tsx +34 -0
- package/src/components/content/index.module.css +12 -0
- package/src/components/content/index.ts +1 -0
- package/src/components/footer/component.tsx +34 -0
- package/src/components/footer/index.module.css +15 -0
- package/src/components/footer/index.ts +1 -0
- package/src/components/footer-button/component.tsx +17 -0
- package/src/components/footer-button/index.module.css +5 -0
- package/src/components/footer-button/index.ts +1 -0
- package/src/components/footer-text/component.tsx +31 -0
- package/src/components/footer-text/index.ts +1 -0
- package/src/components/graphics/component.tsx +34 -0
- package/src/components/graphics/index.module.css +18 -0
- package/src/components/graphics/index.ts +1 -0
- package/src/components/main/component.tsx +51 -0
- package/src/components/main/index.module.css +23 -0
- package/src/components/main/index.ts +1 -0
- package/src/components/text/component.tsx +100 -0
- package/src/components/text/index.module.css +34 -0
- package/src/components/text/index.ts +1 -0
- package/src/components/types.ts +27 -0
- package/src/components/typesProps.ts +56 -0
- package/src/index.module.css +94 -0
- package/src/index.ts +1 -0
- package/cssm/getDataTestId-5c876d98.d.ts +0 -2
- package/cssm/getDataTestId-5c876d98.js +0 -8
- package/esm/getDataTestId-da5e186a.d.ts +0 -2
- package/esm/getDataTestId-da5e186a.js +0 -6
- package/getDataTestId-ded5c63d.d.ts +0 -2
- package/getDataTestId-ded5c63d.js +0 -8
- package/modern/getDataTestId-ac4d85c3.d.ts +0 -2
- package/modern/getDataTestId-ac4d85c3.js +0 -6
- /package/{component-81a3aa3a.d.ts → component-b96676c0.d.ts} +0 -0
- /package/cssm/{component-f0bb4ddf.d.ts → component-ef4953bf.d.ts} +0 -0
- /package/esm/{component-d81bf7aa.d.ts → component-4f6ca416.d.ts} +0 -0
- /package/modern/{component-4a267d86.d.ts → component-4312f00c.d.ts} +0 -0
package/component-5a229016.d.ts
CHANGED
|
@@ -68,19 +68,19 @@ declare const PureCell: React.ForwardRefExoticComponent<PureProps & React.RefAtt
|
|
|
68
68
|
rowLimit?: 1 | 2 | undefined;
|
|
69
69
|
view: "component" | "primary-large" | "primary-medium" | "primary-small";
|
|
70
70
|
titleWeight?: "bold" | "regular" | undefined;
|
|
71
|
-
titleColor: "link" | "accent" | "primary" | "secondary" | "
|
|
71
|
+
titleColor: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark";
|
|
72
72
|
value?: React.ReactNode;
|
|
73
|
-
valueColor?: "link" | "accent" | "primary" | "secondary" | "
|
|
73
|
+
valueColor?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
|
|
74
74
|
dataTestId?: string | undefined;
|
|
75
75
|
}>;
|
|
76
76
|
Amount: React.FC<{
|
|
77
77
|
weight?: "bold" | "normal" | undefined;
|
|
78
78
|
textView?: "component" | "primary-small" | undefined;
|
|
79
|
-
color?: "link" | "accent" | "primary" | "secondary" | "
|
|
79
|
+
color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
|
|
80
80
|
dataTestId?: string | undefined;
|
|
81
81
|
} & import("./components/typesProps").AmountProps>;
|
|
82
82
|
AmountTitle: React.FC<{
|
|
83
|
-
color?: "link" | "accent" | "primary" | "secondary" | "
|
|
83
|
+
color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
|
|
84
84
|
} & import("./components/typesProps").AmountProps>;
|
|
85
85
|
Addon: React.FC<{
|
|
86
86
|
verticalAlign?: "center" | "auto" | "top" | "bottom" | undefined;
|
|
@@ -10,7 +10,7 @@ var components_addon_component = require('./components/addon/component.js');
|
|
|
10
10
|
var components_amount_component = require('./components/amount/component.js');
|
|
11
11
|
var components_amountTitle_component = require('./components/amount-title/component.js');
|
|
12
12
|
var components_category_component = require('./components/category/component.js');
|
|
13
|
-
var
|
|
13
|
+
var coreComponentsShared = require('@alfalab/core-components-shared');
|
|
14
14
|
var components_footer_component = require('./components/footer/component.js');
|
|
15
15
|
var components_footerButton_component = require('./components/footer-button/component.js');
|
|
16
16
|
var components_footerText_component = require('./components/footer-text/component.js');
|
|
@@ -23,17 +23,17 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
23
23
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
24
24
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
25
25
|
|
|
26
|
-
var styles$3 = {"component":"pure-
|
|
26
|
+
var styles$3 = {"component":"pure-cell__component_9h4sa","horizontal":"pure-cell__horizontal_9h4sa"};
|
|
27
27
|
require('./components/content/index.css')
|
|
28
28
|
|
|
29
29
|
var Content = function (_a) {
|
|
30
30
|
var _b;
|
|
31
31
|
var children = _a.children, dataTestId = _a.dataTestId;
|
|
32
32
|
var direction = React.useContext(PureCellContext).direction;
|
|
33
|
-
return (React__default.default.createElement("section", { className: cn__default.default(styles$3.component, (_b = {}, _b[styles$3.horizontal] = direction === 'horizontal', _b)), "data-test-id":
|
|
33
|
+
return (React__default.default.createElement("section", { className: cn__default.default(styles$3.component, (_b = {}, _b[styles$3.horizontal] = direction === 'horizontal', _b)), "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'content') }, children));
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
var styles$2 = {"component":"pure-
|
|
36
|
+
var styles$2 = {"component":"pure-cell__component_64fzd","vertical":"pure-cell__vertical_64fzd","reverse":"pure-cell__reverse_64fzd"};
|
|
37
37
|
require('./components/main/index.css')
|
|
38
38
|
|
|
39
39
|
var Main = function (_a) {
|
|
@@ -42,10 +42,10 @@ var Main = function (_a) {
|
|
|
42
42
|
var _c = React.useContext(PureCellContext).direction, direction = _c === void 0 ? 'horizontal' : _c;
|
|
43
43
|
return (React__default.default.createElement("div", { className: cn__default.default(styles$2.component, styles$2[direction], (_b = {},
|
|
44
44
|
_b[styles$2.reverse] = isReverse,
|
|
45
|
-
_b), className), "data-test-id":
|
|
45
|
+
_b), className), "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'main') }, children));
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
var styles$1 = {"horizontal":"pure-
|
|
48
|
+
var styles$1 = {"horizontal":"pure-cell__horizontal_1y1lk","rowLimit1":"pure-cell__rowLimit1_1y1lk","rowLimit2":"pure-cell__rowLimit2_1y1lk","component":"pure-cell__component_1y1lk","vertical":"pure-cell__vertical_1y1lk","title":"pure-cell__title_1y1lk","value":"pure-cell__value_1y1lk"};
|
|
49
49
|
require('./components/text/index.css')
|
|
50
50
|
|
|
51
51
|
var Text = function (_a) {
|
|
@@ -57,12 +57,12 @@ var Text = function (_a) {
|
|
|
57
57
|
_b[styles$1.vertical] = direction !== 'horizontal',
|
|
58
58
|
_b)) },
|
|
59
59
|
React__default.default.createElement("div", { className: styles$1.title },
|
|
60
|
-
React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: view, weight: titleWeight, tag: 'div', color: titleColor, className: className, "data-test-id":
|
|
60
|
+
React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: view, weight: titleWeight, tag: 'div', color: titleColor, className: className, "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'text_content') }, children)),
|
|
61
61
|
value && (React__default.default.createElement("div", { className: styles$1.value },
|
|
62
|
-
React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: view, tag: 'div', color: valueColor, className: className, "data-test-id":
|
|
62
|
+
React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: view, tag: 'div', color: valueColor, className: className, "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'text_value') }, value)))));
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
var styles = {"component":"pure-
|
|
65
|
+
var styles = {"component":"pure-cell__component_1tjx3","horizontal":"pure-cell__horizontal_1tjx3","vertical":"pure-cell__vertical_1tjx3","button":"pure-cell__button_1tjx3","link":"pure-cell__link_1tjx3","none":"pure-cell__none_1tjx3","airy":"pure-cell__airy_1tjx3","defaultPadding":"pure-cell__defaultPadding_1tjx3","compact":"pure-cell__compact_1tjx3","tiny":"pure-cell__tiny_1tjx3","left":"pure-cell__left_1tjx3","right":"pure-cell__right_1tjx3","both":"pure-cell__both_1tjx3","focused":"pure-cell__focused_1tjx3"};
|
|
66
66
|
require('./index.css')
|
|
67
67
|
|
|
68
68
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
package/component.js
CHANGED
|
@@ -12,12 +12,12 @@ require('./components/addon/component.js');
|
|
|
12
12
|
require('./components/amount/component.js');
|
|
13
13
|
require('./components/amount-title/component.js');
|
|
14
14
|
require('./components/category/component.js');
|
|
15
|
-
var components_content_component = require('./component-
|
|
15
|
+
var components_content_component = require('./component-b96676c0.js');
|
|
16
16
|
require('./components/footer/component.js');
|
|
17
17
|
require('./components/footer-button/component.js');
|
|
18
18
|
require('./components/footer-text/component.js');
|
|
19
19
|
require('./components/graphics/component.js');
|
|
20
|
-
require('
|
|
20
|
+
require('@alfalab/core-components-shared');
|
|
21
21
|
require('@alfalab/core-components-amount');
|
|
22
22
|
require('@alfalab/core-components-typography');
|
|
23
23
|
require('@alfalab/core-components-button');
|
|
@@ -4,19 +4,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var cn = require('classnames');
|
|
7
|
-
var
|
|
7
|
+
var coreComponentsShared = require('@alfalab/core-components-shared');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
10
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
13
13
|
|
|
14
|
-
var styles = {"component":"pure-
|
|
14
|
+
var styles = {"component":"pure-cell__component_bmwsy","none":"pure-cell__none_bmwsy","default":"pure-cell__default_bmwsy","addonPadding":"pure-cell__addonPadding_bmwsy","auto":"pure-cell__auto_bmwsy","top":"pure-cell__top_bmwsy","center":"pure-cell__center_bmwsy","bottom":"pure-cell__bottom_bmwsy"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Addon = function (_a) {
|
|
18
18
|
var children = _a.children, _b = _a.verticalAlign, verticalAlign = _b === void 0 ? 'top' : _b, _c = _a.addonPadding, addonPadding = _c === void 0 ? 'default' : _c, dataTestId = _a.dataTestId;
|
|
19
|
-
return (React__default.default.createElement("section", { className: cn__default.default(styles.component, styles[addonPadding], styles[verticalAlign]), "data-test-id":
|
|
19
|
+
return (React__default.default.createElement("section", { className: cn__default.default(styles.component, styles[addonPadding], styles[verticalAlign]), "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'addon') }, children));
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
exports.Addon = Addon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1wmq1 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,24 +15,24 @@
|
|
|
15
15
|
--gap-m: 16px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_bmwsy {
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
21
21
|
align-items: flex-end
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_bmwsy > * {
|
|
23
23
|
justify-content: flex-end;
|
|
24
|
-
} .pure-
|
|
24
|
+
} .pure-cell__component_bmwsy.pure-cell__none_bmwsy {
|
|
25
25
|
padding-left: 0;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__component_bmwsy.pure-cell__default_bmwsy {
|
|
27
27
|
padding-left: var(--gap-m);
|
|
28
|
-
} .pure-
|
|
28
|
+
} .pure-cell__component_bmwsy.pure-cell__addonPadding_bmwsy {
|
|
29
29
|
padding-left: var(--gap-m);
|
|
30
|
-
} .pure-
|
|
30
|
+
} .pure-cell__component_bmwsy.pure-cell__auto_bmwsy {
|
|
31
31
|
align-self: auto;
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__component_bmwsy.pure-cell__top_bmwsy {
|
|
33
33
|
align-self: flex-start;
|
|
34
|
-
} .pure-
|
|
34
|
+
} .pure-cell__component_bmwsy.pure-cell__center_bmwsy {
|
|
35
35
|
align-self: center;
|
|
36
|
-
} .pure-
|
|
36
|
+
} .pure-cell__component_bmwsy.pure-cell__bottom_bmwsy {
|
|
37
37
|
align-self: flex-end;
|
|
38
38
|
}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var components_addon_component = require('./component.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('
|
|
8
|
+
require('@alfalab/core-components-shared');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -6,21 +6,21 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsAmount = require('@alfalab/core-components-amount');
|
|
9
|
+
var coreComponentsShared = require('@alfalab/core-components-shared');
|
|
9
10
|
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
10
|
-
var getDataTestId = require('../../getDataTestId-ded5c63d.js');
|
|
11
11
|
|
|
12
12
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
13
13
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
16
16
|
|
|
17
|
-
var styles = {"component":"pure-
|
|
17
|
+
var styles = {"component":"pure-cell__component_qctmr"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var Amount = function (_a) {
|
|
21
21
|
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 = tslib.__rest(_a, ["weight", "textView", "color", "minority", "minorUnits", "dataTestId"]);
|
|
22
|
-
return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: textView, dataTestId:
|
|
23
|
-
React__default.default.createElement(coreComponentsAmount.Amount, tslib.__assign({ minority: minority || minorUnits, bold: weight === 'bold' ? 'full' : 'none', dataTestId:
|
|
22
|
+
return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: textView, dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'amount-text'), className: cn__default.default(styles.component), color: color },
|
|
23
|
+
React__default.default.createElement(coreComponentsAmount.Amount, tslib.__assign({ minority: minority || minorUnits, bold: weight === 'bold' ? 'full' : 'none', dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'amount') }, restProps))));
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
exports.Amount = Amount;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: kz7hz */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
--gap-3xs: 2px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_qctmr {
|
|
19
19
|
padding: var(--gap-3xs) 0;
|
|
20
20
|
display: flex;
|
|
21
21
|
}
|
|
@@ -7,8 +7,8 @@ require('tslib');
|
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('@alfalab/core-components-amount');
|
|
10
|
+
require('@alfalab/core-components-shared');
|
|
10
11
|
require('@alfalab/core-components-typography');
|
|
11
|
-
require('../../getDataTestId-ded5c63d.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -6,21 +6,21 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsAmount = require('@alfalab/core-components-amount');
|
|
9
|
+
var coreComponentsShared = require('@alfalab/core-components-shared');
|
|
9
10
|
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
10
|
-
var getDataTestId = require('../../getDataTestId-ded5c63d.js');
|
|
11
11
|
|
|
12
12
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
13
13
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
16
16
|
|
|
17
|
-
var styles = {"component":"pure-
|
|
17
|
+
var styles = {"component":"pure-cell__component_60wve","weight":"pure-cell__weight_60wve"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var AmountTitle = function (_a) {
|
|
21
21
|
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 = tslib.__rest(_a, ["minority", "minorUnits", "className", "color", "dataTestId"]);
|
|
22
|
-
return (React__default.default.createElement(coreComponentsTypography.Typography.Title, { tag: 'h4', view: 'small', dataTestId:
|
|
23
|
-
React__default.default.createElement(coreComponentsAmount.Amount, tslib.__assign({ minority: minority || minorUnits, className: cn__default.default(styles.weight, className), dataTestId:
|
|
22
|
+
return (React__default.default.createElement(coreComponentsTypography.Typography.Title, { tag: 'h4', view: 'small', dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'amount-title'), className: styles.component, color: color },
|
|
23
|
+
React__default.default.createElement(coreComponentsAmount.Amount, tslib.__assign({ minority: minority || minorUnits, className: cn__default.default(styles.weight, className), dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'core-amount-title') }, restProps, { bold: 'none' }))));
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
exports.AmountTitle = AmountTitle;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 4c4xd */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_60wve {
|
|
18
18
|
display: flex;
|
|
19
|
-
} .pure-
|
|
19
|
+
} .pure-cell__weight_60wve {
|
|
20
20
|
font-weight: inherit;
|
|
21
21
|
}
|
|
@@ -7,8 +7,8 @@ require('tslib');
|
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('@alfalab/core-components-amount');
|
|
10
|
+
require('@alfalab/core-components-shared');
|
|
10
11
|
require('@alfalab/core-components-typography');
|
|
11
|
-
require('../../getDataTestId-ded5c63d.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
+
var coreComponentsShared = require('@alfalab/core-components-shared');
|
|
6
7
|
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
7
|
-
var getDataTestId = require('../../getDataTestId-ded5c63d.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
10
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
|
|
13
|
-
var styles = {"component":"pure-
|
|
13
|
+
var styles = {"component":"pure-cell__component_vivzp","categoryName":"pure-cell__categoryName_vivzp","categoryPercent":"pure-cell__categoryPercent_vivzp","rightAddon":"pure-cell__rightAddon_vivzp"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
var Category = function (_a) {
|
|
17
17
|
var categoryName = _a.categoryName, categoryPercent = _a.categoryPercent, rightAddons = _a.rightAddons, dataTestId = _a.dataTestId;
|
|
18
18
|
return (React__default.default.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
|
|
19
|
-
React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-small', color: 'secondary', dataTestId:
|
|
20
|
-
categoryPercent !== undefined && (React__default.default.createElement(coreComponentsTypography.Typography.Text, { tag: 'div', view: 'primary-small', color: 'secondary', className: styles.categoryPercent, dataTestId:
|
|
19
|
+
React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-small', color: 'secondary', dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'category-name'), className: styles.categoryName }, categoryName),
|
|
20
|
+
categoryPercent !== undefined && (React__default.default.createElement(coreComponentsTypography.Typography.Text, { tag: 'div', view: 'primary-small', color: 'secondary', className: styles.categoryPercent, dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'category-percent') },
|
|
21
21
|
categoryPercent,
|
|
22
22
|
"%")),
|
|
23
|
-
rightAddons !== undefined && (React__default.default.createElement("div", { className: styles.rightAddon, "data-test-id":
|
|
23
|
+
rightAddons !== undefined && (React__default.default.createElement("div", { className: styles.rightAddon, "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'category-right-addon') }, rightAddons))));
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
exports.Category = Category;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1gonf */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-secondary: #f3f4f5; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
--gap-xs: 8px;
|
|
20
20
|
} :root {
|
|
21
21
|
} :root {
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_vivzp {
|
|
23
23
|
display: flex;
|
|
24
24
|
overflow: hidden;
|
|
25
25
|
padding: var(--gap-3xs) 0;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__categoryName_vivzp {
|
|
27
27
|
display: -webkit-box;
|
|
28
28
|
-webkit-line-clamp: 1;
|
|
29
29
|
-webkit-box-orient: vertical;
|
|
30
30
|
overflow: hidden;
|
|
31
31
|
word-break: break-all;
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__categoryPercent_vivzp {
|
|
33
33
|
padding: 0 var(--gap-xs);
|
|
34
34
|
background-color: var(--color-light-bg-secondary);
|
|
35
35
|
border-radius: var(--border-radius-xl);
|
|
36
36
|
margin-left: var(--gap-2xs);
|
|
37
|
-
} .pure-
|
|
37
|
+
} .pure-cell__rightAddon_vivzp {
|
|
38
38
|
margin-left: var(--gap-2xs);
|
|
39
39
|
}
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var components_category_component = require('./component.js');
|
|
6
6
|
require('react');
|
|
7
|
+
require('@alfalab/core-components-shared');
|
|
7
8
|
require('@alfalab/core-components-typography');
|
|
8
|
-
require('../../getDataTestId-ded5c63d.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
require('react');
|
|
6
6
|
require('classnames');
|
|
7
|
-
require('
|
|
8
|
-
var components_content_component = require('../../component-
|
|
7
|
+
require('@alfalab/core-components-shared');
|
|
8
|
+
var components_content_component = require('../../component-b96676c0.js');
|
|
9
9
|
require('tslib');
|
|
10
10
|
require('react-merge-refs');
|
|
11
11
|
require('@alfalab/core-components-comment');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: gk8to */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_9h4sa {
|
|
18
18
|
flex-basis: 100%;
|
|
19
19
|
display: grid;
|
|
20
20
|
grid-template-columns: 1fr auto
|
|
21
|
-
} .pure-
|
|
21
|
+
} .pure-cell__component_9h4sa.pure-cell__horizontal_9h4sa {
|
|
22
22
|
/* for button */
|
|
23
23
|
align-self: stretch;
|
|
24
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-b96676c0";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var components_content_component = require('../../component-
|
|
5
|
+
var components_content_component = require('../../component-b96676c0.js');
|
|
6
6
|
require('tslib');
|
|
7
7
|
require('react');
|
|
8
8
|
require('react-merge-refs');
|
|
@@ -10,7 +10,7 @@ require('classnames');
|
|
|
10
10
|
require('@alfalab/core-components-comment');
|
|
11
11
|
require('@alfalab/hooks');
|
|
12
12
|
require('../addon/component.js');
|
|
13
|
-
require('
|
|
13
|
+
require('@alfalab/core-components-shared');
|
|
14
14
|
require('../amount/component.js');
|
|
15
15
|
require('@alfalab/core-components-amount');
|
|
16
16
|
require('@alfalab/core-components-typography');
|
|
@@ -4,19 +4,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var cn = require('classnames');
|
|
7
|
-
var
|
|
7
|
+
var coreComponentsShared = require('@alfalab/core-components-shared');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
10
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
13
13
|
|
|
14
|
-
var styles = {"component":"pure-
|
|
14
|
+
var styles = {"component":"pure-cell__component_1nbtx","none":"pure-cell__none_1nbtx","default":"pure-cell__default_1nbtx"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Footer = function (_a) {
|
|
18
18
|
var children = _a.children, _b = _a.footerPadding, footerPadding = _b === void 0 ? 'default' : _b, dataTestId = _a.dataTestId;
|
|
19
|
-
return (React__default.default.createElement("footer", { className: cn__default.default(styles.component, styles[footerPadding]), "data-test-id":
|
|
19
|
+
return (React__default.default.createElement("footer", { className: cn__default.default(styles.component, styles[footerPadding]), "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'footer') }, children));
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
exports.Footer = Footer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: pasxk */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
--gap-xs: 8px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_1nbtx {
|
|
19
19
|
grid-column: 1/3;
|
|
20
20
|
display: grid;
|
|
21
21
|
grid-row-gap: var(--gap-xs)
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_1nbtx.pure-cell__none_1nbtx {
|
|
23
23
|
margin-top: 0;
|
|
24
|
-
} .pure-
|
|
24
|
+
} .pure-cell__component_1nbtx.pure-cell__default_1nbtx {
|
|
25
25
|
margin-top: var(--gap-xs);
|
|
26
26
|
}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var components_footer_component = require('./component.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('
|
|
8
|
+
require('@alfalab/core-components-shared');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -5,18 +5,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var coreComponentsButton = require('@alfalab/core-components-button');
|
|
8
|
-
var
|
|
8
|
+
var coreComponentsShared = require('@alfalab/core-components-shared');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
11
|
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
13
13
|
|
|
14
|
-
var styles = {"component":"pure-
|
|
14
|
+
var styles = {"component":"pure-cell__component_li8mo"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var FooterButton = function (_a) {
|
|
18
18
|
var children = _a.children, dataTestId = _a.dataTestId, props = tslib.__rest(_a, ["children", "dataTestId"]);
|
|
19
|
-
return (React__default.default.createElement(coreComponentsButton.Button, tslib.__assign({}, props, { size: 'xxs', dataTestId:
|
|
19
|
+
return (React__default.default.createElement(coreComponentsButton.Button, tslib.__assign({}, props, { size: 'xxs', dataTestId: coreComponentsShared.getDataTestId(dataTestId, 'button'), className: styles.component }), children));
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
exports.FooterButton = FooterButton;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ebh5 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_li8mo {
|
|
18
18
|
justify-self: start;
|
|
19
19
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
+
var coreComponentsShared = require('@alfalab/core-components-shared');
|
|
6
7
|
var coreComponentsTypography = require('@alfalab/core-components-typography');
|
|
7
|
-
var getDataTestId = require('../../getDataTestId-ded5c63d.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
12
12
|
|
|
13
13
|
var FooterText = function (_a) {
|
|
14
14
|
var children = _a.children, _b = _a.color, color = _b === void 0 ? 'secondary' : _b, dataTestId = _a.dataTestId;
|
|
15
|
-
return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-small', color: color, "data-test-id":
|
|
15
|
+
return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-small', color: color, "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'footer-title') }, children));
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
exports.FooterText = FooterText;
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var components_footerText_component = require('./component.js');
|
|
6
6
|
require('react');
|
|
7
|
+
require('@alfalab/core-components-shared');
|
|
7
8
|
require('@alfalab/core-components-typography');
|
|
8
|
-
require('../../getDataTestId-ded5c63d.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|