@alfalab/core-components-pure-cell 3.0.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/component-3f45f3c4.d.ts +5 -7
- package/{component-e370ba4a.d.ts → component-e81848a4.d.ts} +0 -0
- package/{component-e370ba4a.js → component-e81848a4.js} +11 -10
- package/component.js +4 -3
- package/components/addon/component.d.ts +1 -1
- package/components/addon/component.js +4 -7
- package/components/addon/index.css +15 -8
- package/components/addon/index.js +1 -1
- package/components/amount/component.d.ts +2 -6
- package/components/amount/component.js +6 -6
- package/components/amount/index.css +2 -2
- package/components/amount/index.js +2 -1
- package/components/amount-title/component.d.ts +1 -9
- package/components/amount-title/component.js +5 -5
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.js +2 -1
- package/components/category/component.d.ts +5 -0
- package/components/category/component.js +5 -4
- package/components/category/index.css +8 -4
- package/components/category/index.js +1 -1
- package/components/content/component.js +4 -3
- package/components/content/index.css +3 -3
- package/components/content/index.d.ts +1 -1
- package/components/content/index.js +4 -3
- package/components/footer/component.js +2 -2
- package/components/footer/index.css +4 -4
- package/components/footer/index.js +1 -1
- package/components/footer-button/component.d.ts +5 -0
- package/components/footer-button/component.js +15 -5
- package/components/footer-button/index.css +2 -2
- package/components/footer-button/index.d.ts +1 -1
- package/components/footer-button/index.js +3 -2
- package/components/footer-text/component.js +1 -1
- package/components/footer-text/index.js +1 -1
- package/components/graphics/component.js +2 -2
- package/components/graphics/index.css +2 -2
- package/components/graphics/index.js +1 -1
- package/components/main/component.js +4 -3
- package/components/main/index.css +4 -4
- package/components/main/index.d.ts +1 -1
- package/components/main/index.js +4 -3
- package/components/text/component.js +4 -3
- package/components/text/index.css +10 -8
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +4 -3
- package/components/typesProps.d.ts +2 -2
- package/cssm/{component-d3306cf3.d.ts → component-0839382a.d.ts} +0 -0
- package/cssm/{component-d3306cf3.js → component-0839382a.js} +6 -5
- package/cssm/component-3f45f3c4.d.ts +5 -7
- package/cssm/component.js +3 -2
- package/cssm/components/addon/component.d.ts +1 -1
- package/cssm/components/addon/component.js +2 -5
- package/cssm/components/addon/index.module.css +8 -1
- package/cssm/components/amount/component.d.ts +2 -6
- package/cssm/components/amount/component.js +4 -4
- package/cssm/components/amount/index.js +1 -0
- package/cssm/components/amount-title/component.d.ts +1 -9
- package/cssm/components/amount-title/component.js +3 -3
- package/cssm/components/amount-title/index.js +1 -0
- package/cssm/components/category/component.d.ts +5 -0
- package/cssm/components/category/component.js +3 -2
- package/cssm/components/category/index.module.css +4 -0
- package/cssm/components/content/component.js +3 -2
- package/cssm/components/content/index.d.ts +1 -1
- package/cssm/components/content/index.js +3 -2
- package/cssm/components/footer-button/component.d.ts +5 -0
- package/cssm/components/footer-button/component.js +14 -6
- package/cssm/components/footer-button/index.d.ts +1 -1
- package/cssm/components/footer-button/index.js +2 -1
- package/cssm/components/main/component.js +3 -2
- package/cssm/components/main/index.d.ts +1 -1
- package/cssm/components/main/index.js +3 -2
- package/cssm/components/text/component.js +3 -2
- package/cssm/components/text/index.d.ts +1 -1
- package/cssm/components/text/index.js +3 -2
- package/cssm/components/text/index.module.css +4 -2
- package/cssm/components/typesProps.d.ts +2 -2
- package/cssm/index.js +3 -2
- package/{component-44707ae5.d.ts → cssm/tslib.es6-ce870b46.d.ts} +1 -5
- package/{component-44707ae5.js → cssm/tslib.es6-ce870b46.js} +0 -17
- package/esm/component-3f45f3c4.d.ts +5 -7
- package/esm/{component-6954d6a5.d.ts → component-92010732.d.ts} +0 -0
- package/esm/{component-6954d6a5.js → component-92010732.js} +8 -7
- package/esm/component.js +4 -3
- package/esm/components/addon/component.d.ts +1 -1
- package/esm/components/addon/component.js +4 -7
- package/esm/components/addon/index.css +15 -8
- package/esm/components/addon/index.js +1 -1
- package/esm/components/amount/component.d.ts +2 -6
- package/esm/components/amount/component.js +6 -6
- package/esm/components/amount/index.css +2 -2
- package/esm/components/amount/index.js +2 -1
- package/esm/components/amount-title/component.d.ts +1 -9
- package/esm/components/amount-title/component.js +5 -5
- package/esm/components/amount-title/index.css +3 -3
- package/esm/components/amount-title/index.js +2 -1
- package/esm/components/category/component.d.ts +5 -0
- package/esm/components/category/component.js +5 -4
- package/esm/components/category/index.css +8 -4
- package/esm/components/category/index.js +1 -1
- package/esm/components/content/component.js +4 -3
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/index.d.ts +1 -1
- package/esm/components/content/index.js +4 -3
- package/esm/components/footer/component.js +2 -2
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/index.js +1 -1
- package/esm/components/footer-button/component.d.ts +5 -0
- package/esm/components/footer-button/component.js +14 -4
- package/esm/components/footer-button/index.css +2 -2
- package/esm/components/footer-button/index.d.ts +1 -1
- package/esm/components/footer-button/index.js +3 -2
- package/esm/components/footer-text/component.js +1 -1
- package/esm/components/footer-text/index.js +1 -1
- package/esm/components/graphics/component.js +2 -2
- package/esm/components/graphics/index.css +2 -2
- package/esm/components/graphics/index.js +1 -1
- package/esm/components/main/component.js +4 -3
- package/esm/components/main/index.css +4 -4
- package/esm/components/main/index.d.ts +1 -1
- package/esm/components/main/index.js +4 -3
- package/esm/components/text/component.js +4 -3
- package/esm/components/text/index.css +10 -8
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +4 -3
- package/esm/components/typesProps.d.ts +2 -2
- package/esm/{getDataTestId-0192477a.d.ts → getDataTestId-a5ad08de.d.ts} +0 -0
- package/esm/{getDataTestId-0192477a.js → getDataTestId-a5ad08de.js} +0 -0
- package/esm/index.css +19 -19
- package/esm/index.js +4 -3
- package/esm/{component-700187d7.d.ts → tslib.es6-1c2475cc.d.ts} +1 -5
- package/esm/{component-700187d7.js → tslib.es6-1c2475cc.js} +1 -13
- package/{getDataTestId-6d196b22.d.ts → getDataTestId-874edbee.d.ts} +0 -0
- package/{getDataTestId-6d196b22.js → getDataTestId-874edbee.js} +0 -0
- package/index.css +19 -19
- package/index.js +4 -3
- package/modern/{component-57adeea3.d.ts → component-0aebd563.d.ts} +0 -0
- package/modern/{component-57adeea3.js → component-0aebd563.js} +6 -6
- package/modern/component-3f45f3c4.d.ts +5 -7
- package/modern/component.js +2 -2
- package/modern/components/addon/component.d.ts +1 -1
- package/modern/components/addon/component.js +3 -5
- package/modern/components/addon/index.css +15 -8
- package/modern/components/addon/index.js +1 -1
- package/modern/components/amount/component.d.ts +2 -6
- package/modern/components/amount/component.js +5 -6
- package/modern/components/amount/index.css +2 -2
- package/modern/components/amount/index.js +1 -1
- package/modern/components/amount-title/component.d.ts +1 -9
- package/modern/components/amount-title/component.js +4 -5
- package/modern/components/amount-title/index.css +3 -3
- package/modern/components/amount-title/index.js +1 -1
- package/modern/components/category/component.d.ts +5 -0
- package/modern/components/category/component.js +5 -4
- package/modern/components/category/index.css +8 -4
- package/modern/components/category/index.js +1 -1
- package/modern/components/content/component.js +2 -2
- package/modern/components/content/index.css +3 -3
- package/modern/components/content/index.d.ts +1 -1
- package/modern/components/content/index.js +2 -2
- package/modern/components/footer/component.js +2 -2
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/index.js +1 -1
- package/modern/components/footer-button/component.js +2 -2
- package/modern/components/footer-button/index.css +2 -2
- package/modern/components/footer-button/index.js +1 -1
- package/modern/components/footer-text/component.js +1 -1
- package/modern/components/footer-text/index.js +1 -1
- package/modern/components/graphics/component.js +2 -2
- package/modern/components/graphics/index.css +2 -2
- package/modern/components/graphics/index.js +1 -1
- package/modern/components/main/component.js +2 -2
- package/modern/components/main/index.css +4 -4
- package/modern/components/main/index.d.ts +1 -1
- package/modern/components/main/index.js +2 -2
- package/modern/components/text/component.js +2 -2
- package/modern/components/text/index.css +10 -8
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +2 -2
- package/modern/components/typesProps.d.ts +2 -2
- package/modern/{getDataTestId-bcfbe2e1.d.ts → getDataTestId-997a290e.d.ts} +0 -0
- package/modern/{getDataTestId-bcfbe2e1.js → getDataTestId-997a290e.js} +0 -0
- package/modern/index.css +19 -19
- package/modern/index.js +2 -2
- package/package.json +4 -4
- package/{cssm/component-22ece846.d.ts → tslib.es6-37028810.d.ts} +1 -5
- package/{cssm/component-22ece846.js → tslib.es6-37028810.js} +0 -16
|
File without changes
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1u4gi */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-link: #007aff;
|
|
4
4
|
}
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
:root {
|
|
20
20
|
--focus-color: var(--color-light-border-link);
|
|
21
21
|
}
|
|
22
|
-
.pure-
|
|
22
|
+
.pure-cell__component_15qoi {
|
|
23
23
|
text-align: unset;
|
|
24
24
|
}
|
|
25
|
-
.pure-
|
|
25
|
+
.pure-cell__horizontal_15qoi {
|
|
26
26
|
display: flex;
|
|
27
27
|
width: 100%;
|
|
28
28
|
grid-column-gap: var(--gap-m);
|
|
29
29
|
}
|
|
30
|
-
.pure-
|
|
30
|
+
.pure-cell__vertical_15qoi {
|
|
31
31
|
display: flex;
|
|
32
32
|
align-items: center;
|
|
33
33
|
flex-direction: column;
|
|
34
34
|
grid-row-gap: var(--gap-s);
|
|
35
35
|
}
|
|
36
|
-
.pure-
|
|
36
|
+
.pure-cell__button_15qoi {
|
|
37
37
|
font-family: inherit;
|
|
38
38
|
background: none;
|
|
39
39
|
border: 0;
|
|
@@ -42,50 +42,50 @@
|
|
|
42
42
|
transition: opacity 0.15s ease-in-out;
|
|
43
43
|
padding: 0
|
|
44
44
|
}
|
|
45
|
-
.pure-
|
|
45
|
+
.pure-cell__button_15qoi:hover {
|
|
46
46
|
opacity: 0.8;
|
|
47
47
|
}
|
|
48
|
-
.pure-
|
|
48
|
+
.pure-cell__button_15qoi:active {
|
|
49
49
|
opacity: 0.6;
|
|
50
50
|
}
|
|
51
|
-
.pure-
|
|
51
|
+
.pure-cell__link_15qoi {
|
|
52
52
|
text-decoration: none;
|
|
53
53
|
color: inherit;
|
|
54
54
|
cursor: pointer;
|
|
55
55
|
transition: opacity 0.15s ease-in-out
|
|
56
56
|
}
|
|
57
|
-
.pure-
|
|
57
|
+
.pure-cell__link_15qoi:hover {
|
|
58
58
|
opacity: 0.8;
|
|
59
59
|
}
|
|
60
|
-
.pure-
|
|
60
|
+
.pure-cell__link_15qoi:active {
|
|
61
61
|
opacity: 0.6;
|
|
62
62
|
}
|
|
63
|
-
.pure-
|
|
63
|
+
.pure-cell__none_15qoi {
|
|
64
64
|
padding: 0;
|
|
65
65
|
}
|
|
66
|
-
.pure-
|
|
66
|
+
.pure-cell__airy_15qoi {
|
|
67
67
|
padding: var(--gap-m) 0;
|
|
68
68
|
}
|
|
69
|
-
.pure-
|
|
69
|
+
.pure-cell__defaultPadding_15qoi {
|
|
70
70
|
padding: var(--gap-s) 0;
|
|
71
71
|
}
|
|
72
|
-
.pure-
|
|
72
|
+
.pure-cell__compact_15qoi {
|
|
73
73
|
padding: var(--gap-xs) 0;
|
|
74
74
|
}
|
|
75
|
-
.pure-
|
|
75
|
+
.pure-cell__tiny_15qoi {
|
|
76
76
|
padding: var(--gap-2xs) 0;
|
|
77
77
|
}
|
|
78
|
-
.pure-
|
|
78
|
+
.pure-cell__left_15qoi {
|
|
79
79
|
padding-left: var(--gap-m);
|
|
80
80
|
}
|
|
81
|
-
.pure-
|
|
81
|
+
.pure-cell__right_15qoi {
|
|
82
82
|
padding-right: var(--gap-m);
|
|
83
83
|
}
|
|
84
|
-
.pure-
|
|
84
|
+
.pure-cell__both_15qoi {
|
|
85
85
|
padding-right: var(--gap-m);
|
|
86
86
|
padding-left: var(--gap-m);
|
|
87
87
|
}
|
|
88
|
-
.pure-
|
|
88
|
+
.pure-cell__focused_15qoi {
|
|
89
89
|
outline: 2px solid var(--focus-color);
|
|
90
90
|
outline-offset: 2px;
|
|
91
91
|
}
|
package/esm/index.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './tslib.es6-1c2475cc.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
6
|
import '@alfalab/core-components-comment/esm';
|
|
7
|
-
import './getDataTestId-
|
|
7
|
+
import './getDataTestId-a5ad08de.js';
|
|
8
8
|
import './components/addon/component.js';
|
|
9
9
|
import '@alfalab/core-components-typography/esm';
|
|
10
10
|
import '@alfalab/core-components-amount/esm';
|
|
11
11
|
import './components/amount/component.js';
|
|
12
12
|
import './components/amount-title/component.js';
|
|
13
13
|
import './components/category/component.js';
|
|
14
|
-
export { P as PureCell } from './component-
|
|
14
|
+
export { P as PureCell } from './component-92010732.js';
|
|
15
15
|
import './components/footer/component.js';
|
|
16
16
|
import '@alfalab/core-components-button/esm';
|
|
17
|
+
import './components/footer-button/component.js';
|
|
17
18
|
import './components/footer-text/component.js';
|
|
18
19
|
import './components/graphics/component.js';
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ButtonProps } from "@alfalab/core-components-button";
|
|
4
1
|
declare function __extends(d: any, b: any): void;
|
|
5
2
|
declare function __rest(s: any, e: any): {};
|
|
6
3
|
declare function __decorate(decorators: any, target: any, key: any, desc: any, ...args: any[]): any;
|
|
@@ -32,5 +29,4 @@ declare function __classPrivateFieldGet(receiver: any, privateMap: any): any;
|
|
|
32
29
|
declare function __classPrivateFieldSet(receiver: any, privateMap: any, value: any): any;
|
|
33
30
|
declare function __assign(...args: any[]): any;
|
|
34
31
|
declare function __createBinding(o: any, m: any, k: any, k2: any): void;
|
|
35
|
-
|
|
36
|
-
export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __assign, __createBinding, FooterButton };
|
|
32
|
+
export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __assign, __createBinding };
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from './getDataTestId-0192477a.js';
|
|
3
|
-
import { Button } from '@alfalab/core-components-button/esm';
|
|
4
|
-
|
|
5
1
|
/*! *****************************************************************************
|
|
6
2
|
Copyright (c) Microsoft Corporation.
|
|
7
3
|
|
|
@@ -41,12 +37,4 @@ function __rest(s, e) {
|
|
|
41
37
|
return t;
|
|
42
38
|
}
|
|
43
39
|
|
|
44
|
-
|
|
45
|
-
require('./components/footer-button/index.css')
|
|
46
|
-
|
|
47
|
-
var FooterButton = function (_a) {
|
|
48
|
-
var children = _a.children, dataTestId = _a.dataTestId, props = __rest(_a, ["children", "dataTestId"]);
|
|
49
|
-
return (React.createElement(Button, __assign({}, props, { size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }), children));
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export { FooterButton as F, __rest as _, __assign as a };
|
|
40
|
+
export { __rest as _, __assign as a };
|
|
File without changes
|
|
File without changes
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1u4gi */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-link: #007aff;
|
|
4
4
|
}
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
:root {
|
|
20
20
|
--focus-color: var(--color-light-border-link);
|
|
21
21
|
}
|
|
22
|
-
.pure-
|
|
22
|
+
.pure-cell__component_15qoi {
|
|
23
23
|
text-align: unset;
|
|
24
24
|
}
|
|
25
|
-
.pure-
|
|
25
|
+
.pure-cell__horizontal_15qoi {
|
|
26
26
|
display: flex;
|
|
27
27
|
width: 100%;
|
|
28
28
|
grid-column-gap: var(--gap-m);
|
|
29
29
|
}
|
|
30
|
-
.pure-
|
|
30
|
+
.pure-cell__vertical_15qoi {
|
|
31
31
|
display: flex;
|
|
32
32
|
align-items: center;
|
|
33
33
|
flex-direction: column;
|
|
34
34
|
grid-row-gap: var(--gap-s);
|
|
35
35
|
}
|
|
36
|
-
.pure-
|
|
36
|
+
.pure-cell__button_15qoi {
|
|
37
37
|
font-family: inherit;
|
|
38
38
|
background: none;
|
|
39
39
|
border: 0;
|
|
@@ -42,50 +42,50 @@
|
|
|
42
42
|
transition: opacity 0.15s ease-in-out;
|
|
43
43
|
padding: 0
|
|
44
44
|
}
|
|
45
|
-
.pure-
|
|
45
|
+
.pure-cell__button_15qoi:hover {
|
|
46
46
|
opacity: 0.8;
|
|
47
47
|
}
|
|
48
|
-
.pure-
|
|
48
|
+
.pure-cell__button_15qoi:active {
|
|
49
49
|
opacity: 0.6;
|
|
50
50
|
}
|
|
51
|
-
.pure-
|
|
51
|
+
.pure-cell__link_15qoi {
|
|
52
52
|
text-decoration: none;
|
|
53
53
|
color: inherit;
|
|
54
54
|
cursor: pointer;
|
|
55
55
|
transition: opacity 0.15s ease-in-out
|
|
56
56
|
}
|
|
57
|
-
.pure-
|
|
57
|
+
.pure-cell__link_15qoi:hover {
|
|
58
58
|
opacity: 0.8;
|
|
59
59
|
}
|
|
60
|
-
.pure-
|
|
60
|
+
.pure-cell__link_15qoi:active {
|
|
61
61
|
opacity: 0.6;
|
|
62
62
|
}
|
|
63
|
-
.pure-
|
|
63
|
+
.pure-cell__none_15qoi {
|
|
64
64
|
padding: 0;
|
|
65
65
|
}
|
|
66
|
-
.pure-
|
|
66
|
+
.pure-cell__airy_15qoi {
|
|
67
67
|
padding: var(--gap-m) 0;
|
|
68
68
|
}
|
|
69
|
-
.pure-
|
|
69
|
+
.pure-cell__defaultPadding_15qoi {
|
|
70
70
|
padding: var(--gap-s) 0;
|
|
71
71
|
}
|
|
72
|
-
.pure-
|
|
72
|
+
.pure-cell__compact_15qoi {
|
|
73
73
|
padding: var(--gap-xs) 0;
|
|
74
74
|
}
|
|
75
|
-
.pure-
|
|
75
|
+
.pure-cell__tiny_15qoi {
|
|
76
76
|
padding: var(--gap-2xs) 0;
|
|
77
77
|
}
|
|
78
|
-
.pure-
|
|
78
|
+
.pure-cell__left_15qoi {
|
|
79
79
|
padding-left: var(--gap-m);
|
|
80
80
|
}
|
|
81
|
-
.pure-
|
|
81
|
+
.pure-cell__right_15qoi {
|
|
82
82
|
padding-right: var(--gap-m);
|
|
83
83
|
}
|
|
84
|
-
.pure-
|
|
84
|
+
.pure-cell__both_15qoi {
|
|
85
85
|
padding-right: var(--gap-m);
|
|
86
86
|
padding-left: var(--gap-m);
|
|
87
87
|
}
|
|
88
|
-
.pure-
|
|
88
|
+
.pure-cell__focused_15qoi {
|
|
89
89
|
outline: 2px solid var(--focus-color);
|
|
90
90
|
outline-offset: 2px;
|
|
91
91
|
}
|
package/index.js
CHANGED
|
@@ -2,22 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./
|
|
5
|
+
require('./tslib.es6-37028810.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-merge-refs');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('@alfalab/hooks');
|
|
10
10
|
require('@alfalab/core-components-comment');
|
|
11
|
-
require('./getDataTestId-
|
|
11
|
+
require('./getDataTestId-874edbee.js');
|
|
12
12
|
require('./components/addon/component.js');
|
|
13
13
|
require('@alfalab/core-components-typography');
|
|
14
14
|
require('@alfalab/core-components-amount');
|
|
15
15
|
require('./components/amount/component.js');
|
|
16
16
|
require('./components/amount-title/component.js');
|
|
17
17
|
require('./components/category/component.js');
|
|
18
|
-
var components_content_component = require('./component-
|
|
18
|
+
var components_content_component = require('./component-e81848a4.js');
|
|
19
19
|
require('./components/footer/component.js');
|
|
20
20
|
require('@alfalab/core-components-button');
|
|
21
|
+
require('./components/footer-button/component.js');
|
|
21
22
|
require('./components/footer-text/component.js');
|
|
22
23
|
require('./components/graphics/component.js');
|
|
23
24
|
|
|
File without changes
|
|
@@ -3,7 +3,7 @@ import mergeRefs from 'react-merge-refs';
|
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { useFocus } from '@alfalab/hooks';
|
|
5
5
|
import { Comment } from '@alfalab/core-components-comment/modern';
|
|
6
|
-
import { g as getDataTestId } from './getDataTestId-
|
|
6
|
+
import { g as getDataTestId } from './getDataTestId-997a290e.js';
|
|
7
7
|
import { Addon } from './components/addon/component.js';
|
|
8
8
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
9
9
|
import { Amount } from './components/amount/component.js';
|
|
@@ -14,7 +14,7 @@ import { FooterButton } from './components/footer-button/component.js';
|
|
|
14
14
|
import { FooterText } from './components/footer-text/component.js';
|
|
15
15
|
import { Graphics } from './components/graphics/component.js';
|
|
16
16
|
|
|
17
|
-
var styles = {"component":"pure-
|
|
17
|
+
var styles = {"component":"pure-cell__component_1s3xh","horizontal":"pure-cell__horizontal_1s3xh"};
|
|
18
18
|
require('./components/content/index.css')
|
|
19
19
|
|
|
20
20
|
const Content = ({ children, dataTestId }) => {
|
|
@@ -22,7 +22,7 @@ const Content = ({ children, dataTestId }) => {
|
|
|
22
22
|
return (React.createElement("section", { className: cn(styles.component, { [styles.horizontal]: direction === 'horizontal' }), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
var styles$1 = {"component":"pure-
|
|
25
|
+
var styles$1 = {"component":"pure-cell__component_ikr9m","vertical":"pure-cell__vertical_ikr9m","reverse":"pure-cell__reverse_ikr9m"};
|
|
26
26
|
require('./components/main/index.css')
|
|
27
27
|
|
|
28
28
|
const Main = ({ children, isReverse, dataTestId }) => {
|
|
@@ -32,7 +32,7 @@ const Main = ({ children, isReverse, dataTestId }) => {
|
|
|
32
32
|
}), "data-test-id": getDataTestId(dataTestId, 'main') }, children));
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
var styles$2 = {"horizontal":"pure-
|
|
35
|
+
var styles$2 = {"horizontal":"pure-cell__horizontal_1vazz","rowLimit1":"pure-cell__rowLimit1_1vazz","rowLimit2":"pure-cell__rowLimit2_1vazz","component":"pure-cell__component_1vazz","vertical":"pure-cell__vertical_1vazz","title":"pure-cell__title_1vazz","value":"pure-cell__value_1vazz"};
|
|
36
36
|
require('./components/text/index.css')
|
|
37
37
|
|
|
38
38
|
const Text = ({ children, value, rowLimit, view = 'component', titleColor, valueColor, dataTestId, }) => {
|
|
@@ -42,10 +42,10 @@ const Text = ({ children, value, rowLimit, view = 'component', titleColor, value
|
|
|
42
42
|
[styles$2.vertical]: direction !== 'horizontal',
|
|
43
43
|
}) },
|
|
44
44
|
React.createElement("span", { className: styles$2.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
|
|
45
|
-
React.createElement("span",
|
|
45
|
+
value !== undefined && (React.createElement("span", { className: styles$2.value }, typeof value === 'string' ? (React.createElement(Typography.Text, { view: view, color: valueColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, value)) : (value)))));
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
var styles$3 = {"component":"pure-
|
|
48
|
+
var styles$3 = {"component":"pure-cell__component_15qoi","horizontal":"pure-cell__horizontal_15qoi","vertical":"pure-cell__vertical_15qoi","button":"pure-cell__button_15qoi","link":"pure-cell__link_15qoi","none":"pure-cell__none_15qoi","airy":"pure-cell__airy_15qoi","defaultPadding":"pure-cell__defaultPadding_15qoi","compact":"pure-cell__compact_15qoi","tiny":"pure-cell__tiny_15qoi","left":"pure-cell__left_15qoi","right":"pure-cell__right_15qoi","both":"pure-cell__both_15qoi","focused":"pure-cell__focused_15qoi"};
|
|
49
49
|
require('./index.css')
|
|
50
50
|
|
|
51
51
|
const PureCellContext = React.createContext({});
|
|
@@ -70,19 +70,16 @@ declare const PureCell: React.ForwardRefExoticComponent<(Partial<AnchorPureCellP
|
|
|
70
70
|
dataTestId?: string | undefined;
|
|
71
71
|
}>;
|
|
72
72
|
Amount: React.FC<{
|
|
73
|
-
amount: import("./components/typesProps").AmountProps;
|
|
74
73
|
weight?: "bold" | "normal" | undefined;
|
|
75
|
-
|
|
74
|
+
textView?: "primary-small" | "component" | undefined;
|
|
76
75
|
color?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
|
|
77
76
|
dataTestId?: string | undefined;
|
|
78
|
-
}>;
|
|
77
|
+
} & import("./components/typesProps").AmountProps>;
|
|
79
78
|
AmountTitle: React.FC<{
|
|
80
|
-
amount: import("./components/typesProps").AmountProps;
|
|
81
79
|
color?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
|
|
82
|
-
|
|
83
|
-
}>;
|
|
80
|
+
} & import("./components/typesProps").AmountProps>;
|
|
84
81
|
Addon: React.FC<{
|
|
85
|
-
verticalAlign?: "center" | undefined;
|
|
82
|
+
verticalAlign?: "top" | "center" | "bottom" | undefined;
|
|
86
83
|
addonPadding?: "default" | "none" | undefined;
|
|
87
84
|
children: import("./components/types").AddonElement;
|
|
88
85
|
dataTestId?: string | undefined;
|
|
@@ -98,6 +95,7 @@ declare const PureCell: React.ForwardRefExoticComponent<(Partial<AnchorPureCellP
|
|
|
98
95
|
Category: React.FC<{
|
|
99
96
|
categoryName: string;
|
|
100
97
|
categoryPercent?: number | undefined;
|
|
98
|
+
rightAddons?: React.ReactNode;
|
|
101
99
|
dataTestId?: string | undefined;
|
|
102
100
|
}>;
|
|
103
101
|
};
|
package/modern/component.js
CHANGED
|
@@ -3,14 +3,14 @@ import 'react-merge-refs';
|
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/hooks';
|
|
5
5
|
import '@alfalab/core-components-comment/modern';
|
|
6
|
-
import './getDataTestId-
|
|
6
|
+
import './getDataTestId-997a290e.js';
|
|
7
7
|
import './components/addon/component.js';
|
|
8
8
|
import '@alfalab/core-components-typography/modern';
|
|
9
9
|
import '@alfalab/core-components-amount/modern';
|
|
10
10
|
import './components/amount/component.js';
|
|
11
11
|
import './components/amount-title/component.js';
|
|
12
12
|
import './components/category/component.js';
|
|
13
|
-
export { P as PureCell, a as PureCellContext } from './component-
|
|
13
|
+
export { P as PureCell, a as PureCellContext } from './component-0aebd563.js';
|
|
14
14
|
import './components/footer/component.js';
|
|
15
15
|
import '@alfalab/core-components-button/modern';
|
|
16
16
|
import './components/footer-button/component.js';
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-997a290e.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_lm63d","none":"pure-cell__none_lm63d","default":"pure-cell__default_lm63d","addonPadding":"pure-cell__addonPadding_lm63d","top":"pure-cell__top_lm63d","center":"pure-cell__center_lm63d","bottom":"pure-cell__bottom_lm63d"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
|
-
const Addon = ({ children, verticalAlign, addonPadding = 'default', dataTestId, }) => (React.createElement("section", { className: cn(styles.component, styles[addonPadding],
|
|
9
|
-
[styles.center]: verticalAlign,
|
|
10
|
-
}), "data-test-id": getDataTestId(dataTestId, 'addon') }, children));
|
|
8
|
+
const Addon = ({ children, verticalAlign = 'top', addonPadding = 'default', dataTestId, }) => (React.createElement("section", { className: cn(styles.component, styles[addonPadding], styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'addon') }, children));
|
|
11
9
|
|
|
12
10
|
export { Addon };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1kq5c */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,22 +10,29 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-m: 16px;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__component_lm63d {
|
|
14
14
|
display: flex;
|
|
15
|
-
flex-direction: column
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
align-items: flex-end
|
|
16
17
|
}
|
|
17
|
-
.pure-
|
|
18
|
+
.pure-cell__component_lm63d > * {
|
|
18
19
|
justify-content: flex-end;
|
|
19
20
|
}
|
|
20
|
-
.pure-
|
|
21
|
+
.pure-cell__component_lm63d.pure-cell__none_lm63d {
|
|
21
22
|
padding-left: 0;
|
|
22
23
|
}
|
|
23
|
-
.pure-
|
|
24
|
+
.pure-cell__component_lm63d.pure-cell__default_lm63d {
|
|
24
25
|
padding-left: var(--gap-m);
|
|
25
26
|
}
|
|
26
|
-
.pure-
|
|
27
|
+
.pure-cell__component_lm63d.pure-cell__addonPadding_lm63d {
|
|
27
28
|
padding-left: var(--gap-m);
|
|
28
29
|
}
|
|
29
|
-
.pure-
|
|
30
|
+
.pure-cell__component_lm63d.pure-cell__top_lm63d {
|
|
31
|
+
align-self: flex-start;
|
|
32
|
+
}
|
|
33
|
+
.pure-cell__component_lm63d.pure-cell__center_lm63d {
|
|
30
34
|
align-self: center;
|
|
31
35
|
}
|
|
36
|
+
.pure-cell__component_lm63d.pure-cell__bottom_lm63d {
|
|
37
|
+
align-self: flex-end;
|
|
38
|
+
}
|
|
@@ -3,10 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import { Color } from "@alfalab/core-components-typography";
|
|
4
4
|
import { AmountProps as AmountType } from "../typesProps";
|
|
5
5
|
type Props = {
|
|
6
|
-
/**
|
|
7
|
-
* Props свойственные для компонента Amount
|
|
8
|
-
*/
|
|
9
|
-
amount: AmountType;
|
|
10
6
|
/**
|
|
11
7
|
* Начертание шрифта денежного значения
|
|
12
8
|
*/
|
|
@@ -14,7 +10,7 @@ type Props = {
|
|
|
14
10
|
/**
|
|
15
11
|
* Размер денежного значения
|
|
16
12
|
*/
|
|
17
|
-
|
|
13
|
+
textView?: 'component' | 'primary-small';
|
|
18
14
|
/**
|
|
19
15
|
* Цвет денежного значения
|
|
20
16
|
*/
|
|
@@ -23,6 +19,6 @@ type Props = {
|
|
|
23
19
|
* Идентификатор для систем автоматизированного тестирования
|
|
24
20
|
*/
|
|
25
21
|
dataTestId?: string;
|
|
26
|
-
};
|
|
22
|
+
} & AmountType;
|
|
27
23
|
declare const Amount: React.FC<Props>;
|
|
28
24
|
export { Amount };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-997a290e.js';
|
|
4
4
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
5
5
|
import { Amount as Amount$1 } from '@alfalab/core-components-amount/modern';
|
|
6
6
|
|
|
7
|
-
var styles = {"component":"pure-
|
|
7
|
+
var styles = {"component":"pure-cell__component_1ohsg"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
|
-
const Amount = ({
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
React.createElement(Amount$1, { minority: minority === undefined ? minorUnits : minority, value: value, transparentMinor: transparentMinor, bold: weight === 'bold' ? 'full' : 'none', rightAddons: rightAddons, showPlus: showPlus, className: className, currency: currency, dataTestId: getDataTestId(dataTestId, 'amount'), view: viewAmount })));
|
|
10
|
+
const Amount = ({ weight = 'normal', textView = 'component', color = 'primary', minority, minorUnits = 100, dataTestId, ...restProps }) => {
|
|
11
|
+
return (React.createElement(Typography.Text, { view: textView, dataTestId: getDataTestId(dataTestId, 'amount-text'), className: cn(styles.component), color: color },
|
|
12
|
+
React.createElement(Amount$1, Object.assign({ minority: minority || minorUnits, bold: weight === 'bold' ? 'full' : 'none', dataTestId: getDataTestId(dataTestId, 'amount') }, restProps))));
|
|
14
13
|
};
|
|
15
14
|
|
|
16
15
|
export { Amount };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
3
|
+
import '../../getDataTestId-997a290e.js';
|
|
4
4
|
import '@alfalab/core-components-typography/modern';
|
|
5
5
|
import '@alfalab/core-components-amount/modern';
|
|
6
6
|
export { Amount } from './component.js';
|
|
@@ -3,18 +3,10 @@ import React from 'react';
|
|
|
3
3
|
import { Color } from "@alfalab/core-components-typography";
|
|
4
4
|
import { AmountProps as AmountType } from "../typesProps";
|
|
5
5
|
type Props = {
|
|
6
|
-
/**
|
|
7
|
-
* Props свойственные для компонента Amount
|
|
8
|
-
*/
|
|
9
|
-
amount: AmountType;
|
|
10
6
|
/**
|
|
11
7
|
* Цвет денежного значения
|
|
12
8
|
*/
|
|
13
9
|
color?: Color;
|
|
14
|
-
|
|
15
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
16
|
-
*/
|
|
17
|
-
dataTestId?: string;
|
|
18
|
-
};
|
|
10
|
+
} & AmountType;
|
|
19
11
|
declare const AmountTitle: React.FC<Props>;
|
|
20
12
|
export { AmountTitle };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-997a290e.js';
|
|
4
4
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
5
5
|
import { Amount } from '@alfalab/core-components-amount/modern';
|
|
6
6
|
|
|
7
|
-
var styles = {"component":"pure-
|
|
7
|
+
var styles = {"component":"pure-cell__component_18dk0","weight":"pure-cell__weight_18dk0"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
|
-
const AmountTitle = ({
|
|
11
|
-
const { value, currency, minority, minorUnits, rightAddons, showPlus, className } = amount;
|
|
10
|
+
const AmountTitle = ({ minority, minorUnits = 100, className, color = 'primary', dataTestId, ...restProps }) => {
|
|
12
11
|
return (React.createElement(Typography.Title, { tag: 'h4', view: 'small', dataTestId: getDataTestId(dataTestId, 'amount-title'), className: styles.component, color: color },
|
|
13
|
-
React.createElement(Amount, { minority: minority
|
|
12
|
+
React.createElement(Amount, Object.assign({ minority: minority || minorUnits, className: cn(styles.weight, className), dataTestId: getDataTestId(dataTestId, 'core-amount-title') }, restProps, { bold: 'none' }))));
|
|
14
13
|
};
|
|
15
14
|
|
|
16
15
|
export { AmountTitle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ou1d */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.pure-
|
|
10
|
+
.pure-cell__component_18dk0 {
|
|
11
11
|
display: flex;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__weight_18dk0 {
|
|
14
14
|
font-weight: inherit;
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
3
|
+
import '../../getDataTestId-997a290e.js';
|
|
4
4
|
import '@alfalab/core-components-typography/modern';
|
|
5
5
|
import '@alfalab/core-components-amount/modern';
|
|
6
6
|
export { AmountTitle } from './component.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { ReactNode } from "react";
|
|
3
4
|
type Props = {
|
|
4
5
|
/**
|
|
5
6
|
* Наименование категории
|
|
@@ -9,6 +10,10 @@ type Props = {
|
|
|
9
10
|
* Процент категории
|
|
10
11
|
*/
|
|
11
12
|
categoryPercent?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Слот справа
|
|
15
|
+
*/
|
|
16
|
+
rightAddons?: ReactNode;
|
|
12
17
|
/**
|
|
13
18
|
* Идентификатор для систем автоматизированного тестирования
|
|
14
19
|
*/
|