@alfalab/core-components-pure-cell 4.3.1 → 4.4.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-3c8d07e1.js → component-1d246a90.js} +10 -10
- package/{esm/component-c49f24a8.d.ts → component-5a229016.d.ts} +1 -1
- 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/{modern/component-c49f24a8.d.ts → cssm/component-5a229016.d.ts} +1 -1
- package/cssm/{component-4aff9f21.js → component-ef4953bf.js} +6 -6
- 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.d.ts +1 -1
- package/cssm/index.js +2 -2
- package/{component-c49f24a8.d.ts → esm/component-5a229016.d.ts} +1 -1
- package/esm/{component-45299cd1.js → component-bdd266d4.js} +6 -6
- 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.d.ts +1 -1
- package/esm/index.js +2 -2
- package/index.css +21 -21
- package/index.d.ts +1 -1
- package/index.js +2 -2
- package/{cssm/component-c49f24a8.d.ts → modern/component-5a229016.d.ts} +1 -1
- package/modern/{component-6e5f347e.js → component-b811b670.js} +6 -6
- 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.d.ts +1 -1
- package/modern/index.js +2 -2
- package/package.json +6 -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-642eb788.d.ts +0 -2
- package/esm/getDataTestId-642eb788.js +0 -6
- package/getDataTestId-916a6a71.d.ts +0 -2
- package/getDataTestId-916a6a71.js +0 -8
- package/modern/getDataTestId-d1e65cf0.d.ts +0 -2
- package/modern/getDataTestId-d1e65cf0.js +0 -6
- /package/{component-3c8d07e1.d.ts → component-1d246a90.d.ts} +0 -0
- /package/cssm/{component-4aff9f21.d.ts → component-ef4953bf.d.ts} +0 -0
- /package/esm/{component-45299cd1.d.ts → component-bdd266d4.d.ts} +0 -0
- /package/modern/{component-6e5f347e.d.ts → component-b811b670.d.ts} +0 -0
|
@@ -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_1phqg","horizontal":"pure-cell__horizontal_1phqg"};
|
|
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_1ufkr","vertical":"pure-cell__vertical_1ufkr","reverse":"pure-cell__reverse_1ufkr"};
|
|
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_k946b","rowLimit1":"pure-cell__rowLimit1_k946b","rowLimit2":"pure-cell__rowLimit2_k946b","component":"pure-cell__component_k946b","vertical":"pure-cell__vertical_k946b","title":"pure-cell__title_k946b","value":"pure-cell__value_k946b"};
|
|
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_1cht4","horizontal":"pure-cell__horizontal_1cht4","vertical":"pure-cell__vertical_1cht4","button":"pure-cell__button_1cht4","link":"pure-cell__link_1cht4","none":"pure-cell__none_1cht4","airy":"pure-cell__airy_1cht4","defaultPadding":"pure-cell__defaultPadding_1cht4","compact":"pure-cell__compact_1cht4","tiny":"pure-cell__tiny_1cht4","left":"pure-cell__left_1cht4","right":"pure-cell__right_1cht4","both":"pure-cell__both_1cht4","focused":"pure-cell__focused_1cht4"};
|
|
66
66
|
require('./index.css')
|
|
67
67
|
|
|
68
68
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
@@ -91,7 +91,7 @@ var PureCellComponent = React.forwardRef(function (_a, ref) {
|
|
|
91
91
|
return (React__default.default.createElement(Component, tslib.__assign({}, restProps, { ref: mergeRefs__default.default([cellRef, ref]), className: cn__default.default(styles.button, addClasses, className), "data-test-id": dataTestId, onClick: onClick }),
|
|
92
92
|
React__default.default.createElement(PureCellContext.Provider, { value: { direction: direction } }, children)));
|
|
93
93
|
}
|
|
94
|
-
return (React__default.default.createElement(Component, { ref: ref, tabIndex: 0, className: cn__default.default(addClasses, className), "data-test-id": dataTestId },
|
|
94
|
+
return (React__default.default.createElement(Component, tslib.__assign({}, restProps, { ref: ref, tabIndex: 0, className: cn__default.default(addClasses, className), "data-test-id": dataTestId }),
|
|
95
95
|
React__default.default.createElement(PureCellContext.Provider, { value: { direction: direction } }, children)));
|
|
96
96
|
});
|
|
97
97
|
/**
|
|
@@ -83,7 +83,7 @@ declare const PureCell: React.ForwardRefExoticComponent<PureProps & React.RefAtt
|
|
|
83
83
|
color?: "link" | "accent" | "primary" | "secondary" | "tertiary" | "disabled" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-accent" | undefined;
|
|
84
84
|
} & import("./components/typesProps").AmountProps>;
|
|
85
85
|
Addon: React.FC<{
|
|
86
|
-
verticalAlign?: "
|
|
86
|
+
verticalAlign?: "center" | "auto" | "top" | "bottom" | undefined;
|
|
87
87
|
addonPadding?: "default" | "none" | undefined;
|
|
88
88
|
children: import("./components/types").AddonElement;
|
|
89
89
|
dataTestId?: string | undefined;
|
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-1d246a90.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_blovu","none":"pure-cell__none_blovu","default":"pure-cell__default_blovu","addonPadding":"pure-cell__addonPadding_blovu","auto":"pure-cell__auto_blovu","top":"pure-cell__top_blovu","center":"pure-cell__center_blovu","bottom":"pure-cell__bottom_blovu"};
|
|
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: 1inc2 */
|
|
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_blovu {
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
21
21
|
align-items: flex-end
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_blovu > * {
|
|
23
23
|
justify-content: flex-end;
|
|
24
|
-
} .pure-
|
|
24
|
+
} .pure-cell__component_blovu.pure-cell__none_blovu {
|
|
25
25
|
padding-left: 0;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__component_blovu.pure-cell__default_blovu {
|
|
27
27
|
padding-left: var(--gap-m);
|
|
28
|
-
} .pure-
|
|
28
|
+
} .pure-cell__component_blovu.pure-cell__addonPadding_blovu {
|
|
29
29
|
padding-left: var(--gap-m);
|
|
30
|
-
} .pure-
|
|
30
|
+
} .pure-cell__component_blovu.pure-cell__auto_blovu {
|
|
31
31
|
align-self: auto;
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__component_blovu.pure-cell__top_blovu {
|
|
33
33
|
align-self: flex-start;
|
|
34
|
-
} .pure-
|
|
34
|
+
} .pure-cell__component_blovu.pure-cell__center_blovu {
|
|
35
35
|
align-self: center;
|
|
36
|
-
} .pure-
|
|
36
|
+
} .pure-cell__component_blovu.pure-cell__bottom_blovu {
|
|
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-916a6a71.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_mp1hi"};
|
|
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: ofsd3 */
|
|
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_mp1hi {
|
|
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-916a6a71.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-916a6a71.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_wwh8q","weight":"pure-cell__weight_wwh8q"};
|
|
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: 1ercx */
|
|
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_wwh8q {
|
|
18
18
|
display: flex;
|
|
19
|
-
} .pure-
|
|
19
|
+
} .pure-cell__weight_wwh8q {
|
|
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-916a6a71.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-916a6a71.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_10rzk","categoryName":"pure-cell__categoryName_10rzk","categoryPercent":"pure-cell__categoryPercent_10rzk","rightAddon":"pure-cell__rightAddon_10rzk"};
|
|
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: v5t12 */
|
|
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_10rzk {
|
|
23
23
|
display: flex;
|
|
24
24
|
overflow: hidden;
|
|
25
25
|
padding: var(--gap-3xs) 0;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__categoryName_10rzk {
|
|
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_10rzk {
|
|
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_10rzk {
|
|
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-916a6a71.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-1d246a90.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: 1f683 */
|
|
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_1phqg {
|
|
18
18
|
flex-basis: 100%;
|
|
19
19
|
display: grid;
|
|
20
20
|
grid-template-columns: 1fr auto
|
|
21
|
-
} .pure-
|
|
21
|
+
} .pure-cell__component_1phqg.pure-cell__horizontal_1phqg {
|
|
22
22
|
/* for button */
|
|
23
23
|
align-self: stretch;
|
|
24
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-1d246a90";
|
|
@@ -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-1d246a90.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_16s40","none":"pure-cell__none_16s40","default":"pure-cell__default_16s40"};
|
|
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: poc4g */
|
|
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_16s40 {
|
|
19
19
|
grid-column: 1/3;
|
|
20
20
|
display: grid;
|
|
21
21
|
grid-row-gap: var(--gap-xs)
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_16s40.pure-cell__none_16s40 {
|
|
23
23
|
margin-top: 0;
|
|
24
|
-
} .pure-
|
|
24
|
+
} .pure-cell__component_16s40.pure-cell__default_16s40 {
|
|
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_xb6ri"};
|
|
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: kyquj */
|
|
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_xb6ri {
|
|
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-916a6a71.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-916a6a71.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -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_1feu9","top":"pure-cell__top_1feu9","center":"pure-cell__center_1feu9","bottom":"pure-cell__bottom_1feu9"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Graphics = function (_a) {
|
|
18
18
|
var children = _a.children, dataTestId = _a.dataTestId, _b = _a.verticalAlign, verticalAlign = _b === void 0 ? 'top' : _b;
|
|
19
|
-
return (React__default.default.createElement("section", { className: cn__default.default(styles.component, styles[verticalAlign]), "data-test-id":
|
|
19
|
+
return (React__default.default.createElement("section", { className: cn__default.default(styles.component, styles[verticalAlign]), "data-test-id": coreComponentsShared.getDataTestId(dataTestId, 'graphics') }, children));
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
exports.Graphics = Graphics;
|