@alfalab/core-components-pure-cell 4.1.10 → 4.1.11
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-d9194093.d.ts → component-e2669cc2.d.ts} +0 -0
- package/{component-d9194093.js → component-e2669cc2.js} +6 -6
- package/component.js +3 -3
- package/components/addon/component.js +2 -2
- package/components/addon/index.css +9 -9
- package/components/addon/index.js +1 -1
- package/components/amount/component.js +3 -3
- package/components/amount/index.css +2 -2
- package/components/amount/index.js +2 -2
- package/components/amount-title/component.js +3 -3
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.js +2 -2
- package/components/category/component.js +2 -2
- package/components/category/index.css +5 -5
- package/components/category/index.js +1 -1
- package/components/content/component.js +3 -3
- package/components/content/index.css +3 -3
- package/components/content/index.d.ts +1 -1
- package/components/content/index.js +3 -3
- package/components/footer/component.js +2 -2
- package/components/footer/index.css +4 -4
- package/components/footer/index.js +1 -1
- package/components/footer-button/component.js +3 -3
- package/components/footer-button/index.css +2 -2
- package/components/footer-button/index.js +2 -2
- package/components/footer-text/component.js +1 -1
- package/components/footer-text/index.js +1 -1
- package/components/graphics/component.js +2 -2
- package/components/graphics/index.css +5 -5
- package/components/graphics/index.js +1 -1
- package/components/main/component.js +3 -3
- package/components/main/index.css +4 -4
- package/components/main/index.d.ts +1 -1
- package/components/main/index.js +3 -3
- package/components/text/component.js +3 -3
- package/components/text/index.css +7 -7
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +3 -3
- package/esm/{component-fafe2cb3.d.ts → component-ce3b8d8e.d.ts} +0 -0
- package/esm/{component-fafe2cb3.js → component-ce3b8d8e.js} +6 -6
- package/esm/component.js +3 -3
- package/esm/components/addon/component.js +2 -2
- package/esm/components/addon/index.css +9 -9
- package/esm/components/addon/index.js +1 -1
- package/esm/components/amount/component.js +3 -3
- package/esm/components/amount/index.css +2 -2
- package/esm/components/amount/index.js +2 -2
- package/esm/components/amount-title/component.js +3 -3
- package/esm/components/amount-title/index.css +3 -3
- package/esm/components/amount-title/index.js +2 -2
- package/esm/components/category/component.js +2 -2
- package/esm/components/category/index.css +5 -5
- package/esm/components/category/index.js +1 -1
- package/esm/components/content/component.js +3 -3
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/index.d.ts +1 -1
- package/esm/components/content/index.js +3 -3
- package/esm/components/footer/component.js +2 -2
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/index.js +1 -1
- package/esm/components/footer-button/component.js +3 -3
- package/esm/components/footer-button/index.css +2 -2
- package/esm/components/footer-button/index.js +2 -2
- package/esm/components/footer-text/component.js +1 -1
- package/esm/components/footer-text/index.js +1 -1
- package/esm/components/graphics/component.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 +3 -3
- package/esm/components/main/index.css +4 -4
- package/esm/components/main/index.d.ts +1 -1
- package/esm/components/main/index.js +3 -3
- package/esm/components/text/component.js +3 -3
- package/esm/components/text/index.css +7 -7
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +3 -3
- package/esm/{getDataTestId-5cbe94d4.d.ts → getDataTestId-6b257645.d.ts} +0 -0
- package/esm/{getDataTestId-5cbe94d4.js → getDataTestId-6b257645.js} +0 -0
- package/esm/index.css +21 -21
- package/esm/index.js +3 -3
- package/esm/{tslib.es6-faae201a.d.ts → tslib.es6-2976061b.d.ts} +0 -0
- package/esm/{tslib.es6-faae201a.js → tslib.es6-2976061b.js} +0 -0
- package/{getDataTestId-24f1a34d.d.ts → getDataTestId-7b531eab.d.ts} +0 -0
- package/{getDataTestId-24f1a34d.js → getDataTestId-7b531eab.js} +0 -0
- package/index.css +21 -21
- package/index.js +3 -3
- package/modern/{component-e7dc125a.d.ts → component-ecc16265.d.ts} +0 -0
- package/modern/{component-e7dc125a.js → component-ecc16265.js} +5 -5
- package/modern/component.js +2 -2
- package/modern/components/addon/component.js +2 -2
- package/modern/components/addon/index.css +9 -9
- package/modern/components/addon/index.js +1 -1
- package/modern/components/amount/component.js +2 -2
- package/modern/components/amount/index.css +2 -2
- package/modern/components/amount/index.js +1 -1
- package/modern/components/amount-title/component.js +2 -2
- package/modern/components/amount-title/index.css +3 -3
- package/modern/components/amount-title/index.js +1 -1
- package/modern/components/category/component.js +2 -2
- package/modern/components/category/index.css +5 -5
- package/modern/components/category/index.js +1 -1
- package/modern/components/content/component.js +2 -2
- package/modern/components/content/index.css +3 -3
- package/modern/components/content/index.d.ts +1 -1
- package/modern/components/content/index.js +2 -2
- package/modern/components/footer/component.js +2 -2
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/index.js +1 -1
- package/modern/components/footer-button/component.js +2 -2
- package/modern/components/footer-button/index.css +2 -2
- package/modern/components/footer-button/index.js +1 -1
- package/modern/components/footer-text/component.js +1 -1
- package/modern/components/footer-text/index.js +1 -1
- package/modern/components/graphics/component.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/{getDataTestId-b209a23f.d.ts → getDataTestId-46ae5f7e.d.ts} +0 -0
- package/modern/{getDataTestId-b209a23f.js → getDataTestId-46ae5f7e.js} +0 -0
- package/modern/index.css +21 -21
- package/modern/index.js +2 -2
- package/package.json +2 -2
- /package/{tslib.es6-30deefff.d.ts → tslib.es6-1fc63a53.d.ts} +0 -0
- /package/{tslib.es6-30deefff.js → tslib.es6-1fc63a53.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 169l1 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -16,29 +16,29 @@
|
|
|
16
16
|
--gap-m: 16px;
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
|
-
} .pure-
|
|
19
|
+
} .pure-cell__horizontal_1e9jf {
|
|
20
20
|
padding: var(--gap-3xs) 0;
|
|
21
|
-
} .pure-
|
|
21
|
+
} .pure-cell__rowLimit1_1e9jf {
|
|
22
22
|
-webkit-line-clamp: 1;
|
|
23
23
|
display: -webkit-box;
|
|
24
24
|
-webkit-box-orient: vertical;
|
|
25
25
|
overflow: hidden;
|
|
26
26
|
word-break: break-all;
|
|
27
|
-
} .pure-
|
|
27
|
+
} .pure-cell__rowLimit2_1e9jf {
|
|
28
28
|
-webkit-line-clamp: 2;
|
|
29
29
|
display: -webkit-box;
|
|
30
30
|
-webkit-box-orient: vertical;
|
|
31
31
|
overflow: hidden;
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__component_1e9jf {
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: row;
|
|
35
35
|
flex-wrap: nowrap;
|
|
36
36
|
justify-content: space-between;
|
|
37
37
|
margin: var(--gap-3xs) 0;
|
|
38
38
|
word-break: break-word;
|
|
39
|
-
} .pure-
|
|
39
|
+
} .pure-cell__component_1e9jf .pure-cell__vertical_1e9jf {
|
|
40
40
|
justify-content: center;
|
|
41
|
-
} .pure-
|
|
41
|
+
} .pure-cell__title_1e9jf + .pure-cell__value_1e9jf {
|
|
42
42
|
margin-left: var(--gap-m);
|
|
43
43
|
flex-shrink: 0;
|
|
44
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-ce3b8d8e";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { T as Text } from '../../component-
|
|
2
|
-
import '../../tslib.es6-
|
|
1
|
+
export { T as Text } from '../../component-ce3b8d8e.js';
|
|
2
|
+
import '../../tslib.es6-2976061b.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-merge-refs';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '@alfalab/core-components-comment/esm';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import '../addon/component.js';
|
|
9
|
-
import '../../getDataTestId-
|
|
9
|
+
import '../../getDataTestId-6b257645.js';
|
|
10
10
|
import '../amount/component.js';
|
|
11
11
|
import '@alfalab/core-components-amount/esm';
|
|
12
12
|
import '@alfalab/core-components-typography/esm';
|
|
File without changes
|
|
File without changes
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1m7we */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
} :root {
|
|
21
21
|
} :root {
|
|
22
22
|
--focus-color: var(--color-light-border-link);
|
|
23
|
-
} .pure-
|
|
23
|
+
} .pure-cell__component_tnrrf {
|
|
24
24
|
text-align: unset;
|
|
25
25
|
|
|
26
26
|
/** line-height наследуется. Если его не обнулить, то все иконки внутри будут иметь неверный размер */
|
|
27
27
|
line-height: 0;
|
|
28
28
|
box-sizing: border-box;
|
|
29
|
-
} .pure-
|
|
29
|
+
} .pure-cell__horizontal_tnrrf {
|
|
30
30
|
display: flex;
|
|
31
31
|
width: 100%
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__horizontal_tnrrf > section:not(:last-child) {
|
|
33
33
|
margin-right: var(--gap-m);
|
|
34
|
-
} .pure-
|
|
34
|
+
} .pure-cell__vertical_tnrrf {
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
flex-direction: column
|
|
38
|
-
} .pure-
|
|
38
|
+
} .pure-cell__vertical_tnrrf > section:not(:last-child) {
|
|
39
39
|
margin-bottom: var(--gap-s);
|
|
40
|
-
} .pure-
|
|
40
|
+
} .pure-cell__button_tnrrf {
|
|
41
41
|
font-family: inherit;
|
|
42
42
|
background: none;
|
|
43
43
|
border: 0;
|
|
@@ -45,37 +45,37 @@
|
|
|
45
45
|
cursor: pointer;
|
|
46
46
|
transition: opacity 0.15s ease-in-out;
|
|
47
47
|
padding: 0
|
|
48
|
-
} .pure-
|
|
48
|
+
} .pure-cell__button_tnrrf:hover {
|
|
49
49
|
opacity: 0.8;
|
|
50
|
-
} .pure-
|
|
50
|
+
} .pure-cell__button_tnrrf:active {
|
|
51
51
|
opacity: 0.6;
|
|
52
|
-
} .pure-
|
|
52
|
+
} .pure-cell__link_tnrrf {
|
|
53
53
|
text-decoration: none;
|
|
54
54
|
color: inherit;
|
|
55
55
|
cursor: pointer;
|
|
56
56
|
transition: opacity 0.15s ease-in-out
|
|
57
|
-
} .pure-
|
|
57
|
+
} .pure-cell__link_tnrrf:hover {
|
|
58
58
|
opacity: 0.8;
|
|
59
|
-
} .pure-
|
|
59
|
+
} .pure-cell__link_tnrrf:active {
|
|
60
60
|
opacity: 0.6;
|
|
61
|
-
} .pure-
|
|
61
|
+
} .pure-cell__none_tnrrf {
|
|
62
62
|
padding: 0;
|
|
63
|
-
} .pure-
|
|
63
|
+
} .pure-cell__airy_tnrrf {
|
|
64
64
|
padding: var(--gap-m) 0;
|
|
65
|
-
} .pure-
|
|
65
|
+
} .pure-cell__defaultPadding_tnrrf {
|
|
66
66
|
padding: var(--gap-s) 0;
|
|
67
|
-
} .pure-
|
|
67
|
+
} .pure-cell__compact_tnrrf {
|
|
68
68
|
padding: var(--gap-xs) 0;
|
|
69
|
-
} .pure-
|
|
69
|
+
} .pure-cell__tiny_tnrrf {
|
|
70
70
|
padding: var(--gap-2xs) 0;
|
|
71
|
-
} .pure-
|
|
71
|
+
} .pure-cell__left_tnrrf {
|
|
72
72
|
padding-left: var(--gap-m);
|
|
73
|
-
} .pure-
|
|
73
|
+
} .pure-cell__right_tnrrf {
|
|
74
74
|
padding-right: var(--gap-m);
|
|
75
|
-
} .pure-
|
|
75
|
+
} .pure-cell__both_tnrrf {
|
|
76
76
|
padding-right: var(--gap-m);
|
|
77
77
|
padding-left: var(--gap-m);
|
|
78
|
-
} .pure-
|
|
78
|
+
} .pure-cell__focused_tnrrf {
|
|
79
79
|
outline: 2px solid var(--focus-color);
|
|
80
80
|
outline-offset: 2px;
|
|
81
81
|
}
|
package/esm/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { P as PureCell } from './component-
|
|
2
|
-
import './tslib.es6-
|
|
1
|
+
export { P as PureCell } from './component-ce3b8d8e.js';
|
|
2
|
+
import './tslib.es6-2976061b.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-merge-refs';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '@alfalab/core-components-comment/esm';
|
|
7
7
|
import '@alfalab/hooks';
|
|
8
8
|
import './components/addon/component.js';
|
|
9
|
-
import './getDataTestId-
|
|
9
|
+
import './getDataTestId-6b257645.js';
|
|
10
10
|
import './components/amount/component.js';
|
|
11
11
|
import '@alfalab/core-components-amount/esm';
|
|
12
12
|
import '@alfalab/core-components-typography/esm';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1m7we */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
} :root {
|
|
21
21
|
} :root {
|
|
22
22
|
--focus-color: var(--color-light-border-link);
|
|
23
|
-
} .pure-
|
|
23
|
+
} .pure-cell__component_tnrrf {
|
|
24
24
|
text-align: unset;
|
|
25
25
|
|
|
26
26
|
/** line-height наследуется. Если его не обнулить, то все иконки внутри будут иметь неверный размер */
|
|
27
27
|
line-height: 0;
|
|
28
28
|
box-sizing: border-box;
|
|
29
|
-
} .pure-
|
|
29
|
+
} .pure-cell__horizontal_tnrrf {
|
|
30
30
|
display: flex;
|
|
31
31
|
width: 100%
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__horizontal_tnrrf > section:not(:last-child) {
|
|
33
33
|
margin-right: var(--gap-m);
|
|
34
|
-
} .pure-
|
|
34
|
+
} .pure-cell__vertical_tnrrf {
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
flex-direction: column
|
|
38
|
-
} .pure-
|
|
38
|
+
} .pure-cell__vertical_tnrrf > section:not(:last-child) {
|
|
39
39
|
margin-bottom: var(--gap-s);
|
|
40
|
-
} .pure-
|
|
40
|
+
} .pure-cell__button_tnrrf {
|
|
41
41
|
font-family: inherit;
|
|
42
42
|
background: none;
|
|
43
43
|
border: 0;
|
|
@@ -45,37 +45,37 @@
|
|
|
45
45
|
cursor: pointer;
|
|
46
46
|
transition: opacity 0.15s ease-in-out;
|
|
47
47
|
padding: 0
|
|
48
|
-
} .pure-
|
|
48
|
+
} .pure-cell__button_tnrrf:hover {
|
|
49
49
|
opacity: 0.8;
|
|
50
|
-
} .pure-
|
|
50
|
+
} .pure-cell__button_tnrrf:active {
|
|
51
51
|
opacity: 0.6;
|
|
52
|
-
} .pure-
|
|
52
|
+
} .pure-cell__link_tnrrf {
|
|
53
53
|
text-decoration: none;
|
|
54
54
|
color: inherit;
|
|
55
55
|
cursor: pointer;
|
|
56
56
|
transition: opacity 0.15s ease-in-out
|
|
57
|
-
} .pure-
|
|
57
|
+
} .pure-cell__link_tnrrf:hover {
|
|
58
58
|
opacity: 0.8;
|
|
59
|
-
} .pure-
|
|
59
|
+
} .pure-cell__link_tnrrf:active {
|
|
60
60
|
opacity: 0.6;
|
|
61
|
-
} .pure-
|
|
61
|
+
} .pure-cell__none_tnrrf {
|
|
62
62
|
padding: 0;
|
|
63
|
-
} .pure-
|
|
63
|
+
} .pure-cell__airy_tnrrf {
|
|
64
64
|
padding: var(--gap-m) 0;
|
|
65
|
-
} .pure-
|
|
65
|
+
} .pure-cell__defaultPadding_tnrrf {
|
|
66
66
|
padding: var(--gap-s) 0;
|
|
67
|
-
} .pure-
|
|
67
|
+
} .pure-cell__compact_tnrrf {
|
|
68
68
|
padding: var(--gap-xs) 0;
|
|
69
|
-
} .pure-
|
|
69
|
+
} .pure-cell__tiny_tnrrf {
|
|
70
70
|
padding: var(--gap-2xs) 0;
|
|
71
|
-
} .pure-
|
|
71
|
+
} .pure-cell__left_tnrrf {
|
|
72
72
|
padding-left: var(--gap-m);
|
|
73
|
-
} .pure-
|
|
73
|
+
} .pure-cell__right_tnrrf {
|
|
74
74
|
padding-right: var(--gap-m);
|
|
75
|
-
} .pure-
|
|
75
|
+
} .pure-cell__both_tnrrf {
|
|
76
76
|
padding-right: var(--gap-m);
|
|
77
77
|
padding-left: var(--gap-m);
|
|
78
|
-
} .pure-
|
|
78
|
+
} .pure-cell__focused_tnrrf {
|
|
79
79
|
outline: 2px solid var(--focus-color);
|
|
80
80
|
outline-offset: 2px;
|
|
81
81
|
}
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var components_content_component = require('./component-
|
|
4
|
-
require('./tslib.es6-
|
|
3
|
+
var components_content_component = require('./component-e2669cc2.js');
|
|
4
|
+
require('./tslib.es6-1fc63a53.js');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-merge-refs');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-comment');
|
|
9
9
|
require('@alfalab/hooks');
|
|
10
10
|
require('./components/addon/component.js');
|
|
11
|
-
require('./getDataTestId-
|
|
11
|
+
require('./getDataTestId-7b531eab.js');
|
|
12
12
|
require('./components/amount/component.js');
|
|
13
13
|
require('@alfalab/core-components-amount');
|
|
14
14
|
require('@alfalab/core-components-typography');
|
|
File without changes
|
|
@@ -7,14 +7,14 @@ import { Addon } from './components/addon/component.js';
|
|
|
7
7
|
import { Amount } from './components/amount/component.js';
|
|
8
8
|
import { AmountTitle } from './components/amount-title/component.js';
|
|
9
9
|
import { Category } from './components/category/component.js';
|
|
10
|
-
import { g as getDataTestId } from './getDataTestId-
|
|
10
|
+
import { g as getDataTestId } from './getDataTestId-46ae5f7e.js';
|
|
11
11
|
import { Footer } from './components/footer/component.js';
|
|
12
12
|
import { FooterButton } from './components/footer-button/component.js';
|
|
13
13
|
import { FooterText } from './components/footer-text/component.js';
|
|
14
14
|
import { Graphics } from './components/graphics/component.js';
|
|
15
15
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
16
16
|
|
|
17
|
-
const styles$3 = {"component":"pure-
|
|
17
|
+
const styles$3 = {"component":"pure-cell__component_l5a35","horizontal":"pure-cell__horizontal_l5a35"};
|
|
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$3.component, { [styles$3.horizontal]: direction === 'horizontal' }), "data-test-id": getDataTestId(dataTestId, 'content') }, children));
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
const styles$2 = {"component":"pure-
|
|
25
|
+
const styles$2 = {"component":"pure-cell__component_1qmha","vertical":"pure-cell__vertical_1qmha","reverse":"pure-cell__reverse_1qmha"};
|
|
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
|
-
const styles$1 = {"horizontal":"pure-
|
|
35
|
+
const styles$1 = {"horizontal":"pure-cell__horizontal_1e9jf","rowLimit1":"pure-cell__rowLimit1_1e9jf","rowLimit2":"pure-cell__rowLimit2_1e9jf","component":"pure-cell__component_1e9jf","vertical":"pure-cell__vertical_1e9jf","title":"pure-cell__title_1e9jf","value":"pure-cell__value_1e9jf"};
|
|
36
36
|
require('./components/text/index.css')
|
|
37
37
|
|
|
38
38
|
const Text = ({ children, value, rowLimit, view = 'component', titleColor, valueColor, dataTestId, }) => {
|
|
@@ -45,7 +45,7 @@ const Text = ({ children, value, rowLimit, view = 'component', titleColor, value
|
|
|
45
45
|
value !== undefined && (React.createElement("span", { className: styles$1.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
|
-
const styles = {"component":"pure-
|
|
48
|
+
const styles = {"component":"pure-cell__component_tnrrf","horizontal":"pure-cell__horizontal_tnrrf","vertical":"pure-cell__vertical_tnrrf","button":"pure-cell__button_tnrrf","link":"pure-cell__link_tnrrf","none":"pure-cell__none_tnrrf","airy":"pure-cell__airy_tnrrf","defaultPadding":"pure-cell__defaultPadding_tnrrf","compact":"pure-cell__compact_tnrrf","tiny":"pure-cell__tiny_tnrrf","left":"pure-cell__left_tnrrf","right":"pure-cell__right_tnrrf","both":"pure-cell__both_tnrrf","focused":"pure-cell__focused_tnrrf"};
|
|
49
49
|
require('./index.css')
|
|
50
50
|
|
|
51
51
|
/* eslint-disable react/jsx-no-constructed-context-values */
|
package/modern/component.js
CHANGED
|
@@ -7,12 +7,12 @@ import './components/addon/component.js';
|
|
|
7
7
|
import './components/amount/component.js';
|
|
8
8
|
import './components/amount-title/component.js';
|
|
9
9
|
import './components/category/component.js';
|
|
10
|
-
export { P as PureCell, a as PureCellContext } from './component-
|
|
10
|
+
export { P as PureCell, a as PureCellContext } from './component-ecc16265.js';
|
|
11
11
|
import './components/footer/component.js';
|
|
12
12
|
import './components/footer-button/component.js';
|
|
13
13
|
import './components/footer-text/component.js';
|
|
14
14
|
import './components/graphics/component.js';
|
|
15
|
-
import './getDataTestId-
|
|
15
|
+
import './getDataTestId-46ae5f7e.js';
|
|
16
16
|
import '@alfalab/core-components-amount/modern';
|
|
17
17
|
import '@alfalab/core-components-typography/modern';
|
|
18
18
|
import '@alfalab/core-components-button/modern';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-46ae5f7e.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_wpv40","none":"pure-cell__none_wpv40","default":"pure-cell__default_wpv40","addonPadding":"pure-cell__addonPadding_wpv40","top":"pure-cell__top_wpv40","center":"pure-cell__center_wpv40","bottom":"pure-cell__bottom_wpv40"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Addon = ({ children, verticalAlign = 'top', addonPadding = 'default', dataTestId, }) => (React.createElement("section", { className: cn(styles.component, styles[addonPadding], styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'addon') }, children));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: q6diz */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
--gap-m: 16px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_wpv40 {
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
21
21
|
align-items: flex-end
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_wpv40 > * {
|
|
23
23
|
justify-content: flex-end;
|
|
24
|
-
} .pure-
|
|
24
|
+
} .pure-cell__component_wpv40.pure-cell__none_wpv40 {
|
|
25
25
|
padding-left: 0;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__component_wpv40.pure-cell__default_wpv40 {
|
|
27
27
|
padding-left: var(--gap-m);
|
|
28
|
-
} .pure-
|
|
28
|
+
} .pure-cell__component_wpv40.pure-cell__addonPadding_wpv40 {
|
|
29
29
|
padding-left: var(--gap-m);
|
|
30
|
-
} .pure-
|
|
30
|
+
} .pure-cell__component_wpv40.pure-cell__top_wpv40 {
|
|
31
31
|
align-self: flex-start;
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__component_wpv40.pure-cell__center_wpv40 {
|
|
33
33
|
align-self: center;
|
|
34
|
-
} .pure-
|
|
34
|
+
} .pure-cell__component_wpv40.pure-cell__bottom_wpv40 {
|
|
35
35
|
align-self: flex-end;
|
|
36
36
|
}
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Amount as Amount$1 } from '@alfalab/core-components-amount/modern';
|
|
4
4
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
5
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
5
|
+
import { g as getDataTestId } from '../../getDataTestId-46ae5f7e.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"component":"pure-
|
|
7
|
+
const styles = {"component":"pure-cell__component_1sakp"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Amount = ({ weight = 'normal', textView = 'component', color = 'primary', minority, minorUnits = 100, dataTestId, ...restProps }) => (React.createElement(Typography.Text, { view: textView, dataTestId: getDataTestId(dataTestId, 'amount-text'), className: cn(styles.component), color: color },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: mf1iv */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
--gap-3xs: 2px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_1sakp {
|
|
19
19
|
padding: var(--gap-3xs) 0;
|
|
20
20
|
display: flex;
|
|
21
21
|
}
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Amount } from '@alfalab/core-components-amount/modern';
|
|
4
4
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
5
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
5
|
+
import { g as getDataTestId } from '../../getDataTestId-46ae5f7e.js';
|
|
6
6
|
|
|
7
|
-
const styles = {"component":"pure-
|
|
7
|
+
const styles = {"component":"pure-cell__component_1eip9","weight":"pure-cell__weight_1eip9"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const AmountTitle = ({ minority, minorUnits = 100, className, color = 'primary', dataTestId, ...restProps }) => (React.createElement(Typography.Title, { tag: 'h4', view: 'small', dataTestId: getDataTestId(dataTestId, 'amount-title'), className: styles.component, color: color },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 7f4lz */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_1eip9 {
|
|
18
18
|
display: flex;
|
|
19
|
-
} .pure-
|
|
19
|
+
} .pure-cell__weight_1eip9 {
|
|
20
20
|
font-weight: inherit;
|
|
21
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-46ae5f7e.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_1qpdj","categoryName":"pure-cell__categoryName_1qpdj","categoryPercent":"pure-cell__categoryPercent_1qpdj","rightAddon":"pure-cell__rightAddon_1qpdj"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Category = ({ categoryName, categoryPercent, rightAddons, dataTestId, }) => (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 10gu1 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-secondary: #f3f4f5;
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
--gap-xs: 8px;
|
|
20
20
|
} :root {
|
|
21
21
|
} :root {
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_1qpdj {
|
|
23
23
|
display: flex;
|
|
24
24
|
overflow: hidden;
|
|
25
25
|
padding: var(--gap-3xs) 0;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__categoryName_1qpdj {
|
|
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_1qpdj {
|
|
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_1qpdj {
|
|
38
38
|
margin-left: var(--gap-2xs);
|
|
39
39
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
4
|
-
export { C as Content } from '../../component-
|
|
3
|
+
import '../../getDataTestId-46ae5f7e.js';
|
|
4
|
+
export { C as Content } from '../../component-ecc16265.js';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import '@alfalab/core-components-comment/modern';
|
|
7
7
|
import '@alfalab/hooks';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1nupa */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_l5a35 {
|
|
18
18
|
flex-basis: 100%;
|
|
19
19
|
display: grid;
|
|
20
20
|
grid-template-columns: 1fr auto
|
|
21
|
-
} .pure-
|
|
21
|
+
} .pure-cell__component_l5a35.pure-cell__horizontal_l5a35 {
|
|
22
22
|
/* for button */
|
|
23
23
|
align-self: stretch;
|
|
24
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-ecc16265";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { C as Content } from '../../component-
|
|
1
|
+
export { C as Content } from '../../component-ecc16265.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/core-components-comment/modern';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import '../addon/component.js';
|
|
8
|
-
import '../../getDataTestId-
|
|
8
|
+
import '../../getDataTestId-46ae5f7e.js';
|
|
9
9
|
import '../amount/component.js';
|
|
10
10
|
import '@alfalab/core-components-amount/modern';
|
|
11
11
|
import '@alfalab/core-components-typography/modern';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-46ae5f7e.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_1qqdl","none":"pure-cell__none_1qqdl","default":"pure-cell__default_1qqdl"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Footer = ({ children, footerPadding = 'default', dataTestId }) => (React.createElement("footer", { className: cn(styles.component, styles[footerPadding]), "data-test-id": getDataTestId(dataTestId, 'footer') }, children));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: iv5wp */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
--gap-xs: 8px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_1qqdl {
|
|
19
19
|
grid-column: 1/3;
|
|
20
20
|
display: grid;
|
|
21
21
|
grid-row-gap: var(--gap-xs)
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_1qqdl.pure-cell__none_1qqdl {
|
|
23
23
|
margin-top: 0;
|
|
24
|
-
} .pure-
|
|
24
|
+
} .pure-cell__component_1qqdl.pure-cell__default_1qqdl {
|
|
25
25
|
margin-top: var(--gap-xs);
|
|
26
26
|
}
|