@alfalab/core-components-pure-cell 2.0.2 → 2.0.5
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-0d444503.d.ts → component-06198138.d.ts} +0 -0
- package/{component-0d444503.js → component-06198138.js} +2 -2
- package/{component-7b7f28f3.d.ts → component-7c76812e.d.ts} +1 -1
- package/{component-3acfd0bd.d.ts → component-d93a7f6c.d.ts} +0 -0
- package/{component-3acfd0bd.js → component-d93a7f6c.js} +7 -7
- package/component.js +3 -3
- package/components/addon/component.js +2 -2
- package/components/addon/index.css +6 -6
- package/components/addon/index.js +1 -1
- package/components/amount/component.js +2 -2
- package/components/amount/index.css +2 -2
- package/components/amount/index.js +1 -1
- package/components/amount-title/component.js +2 -2
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.js +1 -1
- package/components/category/component.js +2 -2
- package/components/category/index.css +4 -4
- package/components/category/index.js +1 -1
- package/components/comment/component.js +2 -2
- package/components/comment/index.css +3 -3
- package/components/comment/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 +2 -2
- package/components/footer-button/index.css +2 -2
- package/components/footer-button/index.d.ts +1 -1
- 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 +2 -2
- 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 +8 -8
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +3 -3
- package/cssm/{component-a5914e3d.d.ts → component-1338a186.d.ts} +0 -0
- package/cssm/{component-a5914e3d.js → component-1338a186.js} +1 -1
- package/{esm/component-7b7f28f3.d.ts → cssm/component-7c76812e.d.ts} +7 -7
- package/cssm/component.js +1 -1
- package/cssm/components/content/component.js +1 -1
- package/cssm/components/content/index.d.ts +1 -1
- package/cssm/components/content/index.js +1 -1
- package/cssm/components/main/component.js +1 -1
- package/cssm/components/main/index.d.ts +1 -1
- package/cssm/components/main/index.js +1 -1
- package/cssm/components/text/component.js +1 -1
- package/cssm/components/text/index.d.ts +1 -1
- package/cssm/components/text/index.js +1 -1
- package/cssm/index.d.ts +1 -1
- package/cssm/index.js +1 -1
- package/cssm/index.module.css +20 -17
- package/esm/{component-faec6e62.d.ts → component-274bb79c.d.ts} +0 -0
- package/esm/{component-faec6e62.js → component-274bb79c.js} +2 -2
- package/esm/{component-12f1342a.d.ts → component-2a2f6f06.d.ts} +0 -0
- package/esm/{component-12f1342a.js → component-2a2f6f06.js} +7 -7
- package/{cssm/component-7b7f28f3.d.ts → esm/component-7c76812e.d.ts} +7 -7
- package/esm/component.js +3 -3
- package/esm/components/addon/component.js +2 -2
- package/esm/components/addon/index.css +6 -6
- 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 +4 -4
- package/esm/components/category/index.js +1 -1
- package/esm/components/comment/component.js +2 -2
- package/esm/components/comment/index.css +3 -3
- package/esm/components/comment/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 +2 -2
- 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 +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 +2 -2
- 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 +8 -8
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +3 -3
- package/esm/{getDataTestId-5f31517b.d.ts → getDataTestId-b29f8e58.d.ts} +0 -0
- package/esm/{getDataTestId-5f31517b.js → getDataTestId-b29f8e58.js} +0 -0
- package/esm/index.css +39 -36
- package/esm/index.d.ts +1 -1
- package/esm/index.js +3 -3
- package/{getDataTestId-7a81c8e4.d.ts → getDataTestId-d09c6093.d.ts} +0 -0
- package/{getDataTestId-7a81c8e4.js → getDataTestId-d09c6093.js} +0 -0
- package/index.css +39 -36
- package/index.d.ts +1 -1
- package/index.js +3 -3
- package/modern/{component-4be0f365.d.ts → component-048093d7.d.ts} +0 -0
- package/modern/{component-4be0f365.js → component-048093d7.js} +6 -6
- package/modern/{component-7b7f28f3.d.ts → component-7c76812e.d.ts} +7 -7
- package/modern/component.js +2 -2
- package/modern/components/addon/component.js +2 -2
- package/modern/components/addon/index.css +6 -6
- 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 +4 -4
- package/modern/components/category/index.js +1 -1
- package/modern/components/comment/component.js +2 -2
- package/modern/components/comment/index.css +3 -3
- package/modern/components/comment/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 +8 -8
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +2 -2
- package/modern/{getDataTestId-97ba9c1f.d.ts → getDataTestId-e4e2ae09.d.ts} +0 -0
- package/modern/{getDataTestId-97ba9c1f.js → getDataTestId-e4e2ae09.js} +0 -0
- package/modern/index.css +39 -36
- package/modern/index.d.ts +1 -1
- package/modern/index.js +2 -2
- package/package.json +4 -4
package/esm/index.css
CHANGED
|
@@ -1,22 +1,39 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/* hash: 1tqyn */
|
|
2
|
+
:root {
|
|
3
|
+
--color-light-border-link: #007aff;
|
|
4
4
|
}
|
|
5
|
+
:root {
|
|
6
|
+
|
|
7
|
+
/* Hard */
|
|
8
|
+
|
|
9
|
+
/* Up */
|
|
5
10
|
|
|
6
|
-
|
|
11
|
+
/* Hard up */
|
|
12
|
+
}
|
|
13
|
+
:root {
|
|
14
|
+
--gap-2xs: 4px;
|
|
15
|
+
--gap-xs: 8px;
|
|
16
|
+
--gap-s: 12px;
|
|
17
|
+
--gap-m: 16px;
|
|
18
|
+
}
|
|
19
|
+
:root {
|
|
20
|
+
--focus-color: var(--color-light-border-link);
|
|
21
|
+
}
|
|
22
|
+
.pure-cell__component_jje0b {
|
|
23
|
+
text-align: unset;
|
|
24
|
+
}
|
|
25
|
+
.pure-cell__horizontal_jje0b {
|
|
7
26
|
display: flex;
|
|
8
27
|
width: 100%;
|
|
9
28
|
grid-column-gap: var(--gap-m);
|
|
10
29
|
}
|
|
11
|
-
|
|
12
|
-
.pure-cell__vertical_sptbm {
|
|
30
|
+
.pure-cell__vertical_jje0b {
|
|
13
31
|
display: flex;
|
|
14
32
|
align-items: center;
|
|
15
33
|
flex-direction: column;
|
|
16
34
|
grid-row-gap: var(--gap-s);
|
|
17
35
|
}
|
|
18
|
-
|
|
19
|
-
.pure-cell__button_sptbm {
|
|
36
|
+
.pure-cell__button_jje0b {
|
|
20
37
|
font-family: inherit;
|
|
21
38
|
background: none;
|
|
22
39
|
border: 0;
|
|
@@ -25,64 +42,50 @@
|
|
|
25
42
|
transition: opacity 0.15s ease-in-out;
|
|
26
43
|
padding: 0
|
|
27
44
|
}
|
|
28
|
-
|
|
29
|
-
.pure-cell__button_sptbm:hover {
|
|
45
|
+
.pure-cell__button_jje0b:hover {
|
|
30
46
|
opacity: 0.8;
|
|
31
47
|
}
|
|
32
|
-
|
|
33
|
-
.pure-cell__button_sptbm:active {
|
|
48
|
+
.pure-cell__button_jje0b:active {
|
|
34
49
|
opacity: 0.6;
|
|
35
50
|
}
|
|
36
|
-
|
|
37
|
-
.pure-cell__link_sptbm {
|
|
51
|
+
.pure-cell__link_jje0b {
|
|
38
52
|
text-decoration: none;
|
|
39
53
|
color: inherit;
|
|
40
54
|
cursor: pointer;
|
|
41
55
|
transition: opacity 0.15s ease-in-out
|
|
42
56
|
}
|
|
43
|
-
|
|
44
|
-
.pure-cell__link_sptbm:hover {
|
|
57
|
+
.pure-cell__link_jje0b:hover {
|
|
45
58
|
opacity: 0.8;
|
|
46
59
|
}
|
|
47
|
-
|
|
48
|
-
.pure-cell__link_sptbm:active {
|
|
60
|
+
.pure-cell__link_jje0b:active {
|
|
49
61
|
opacity: 0.6;
|
|
50
62
|
}
|
|
51
|
-
|
|
52
|
-
.pure-cell__none_sptbm {
|
|
63
|
+
.pure-cell__none_jje0b {
|
|
53
64
|
padding: 0;
|
|
54
65
|
}
|
|
55
|
-
|
|
56
|
-
.pure-cell__airy_sptbm {
|
|
66
|
+
.pure-cell__airy_jje0b {
|
|
57
67
|
padding: var(--gap-m) 0;
|
|
58
68
|
}
|
|
59
|
-
|
|
60
|
-
.pure-cell__default_sptbm {
|
|
69
|
+
.pure-cell__default_jje0b {
|
|
61
70
|
padding: var(--gap-s) 0;
|
|
62
71
|
}
|
|
63
|
-
|
|
64
|
-
.pure-cell__compact_sptbm {
|
|
72
|
+
.pure-cell__compact_jje0b {
|
|
65
73
|
padding: var(--gap-xs) 0;
|
|
66
74
|
}
|
|
67
|
-
|
|
68
|
-
.pure-cell__tiny_sptbm {
|
|
75
|
+
.pure-cell__tiny_jje0b {
|
|
69
76
|
padding: var(--gap-2xs) 0;
|
|
70
77
|
}
|
|
71
|
-
|
|
72
|
-
.pure-cell__left_sptbm {
|
|
78
|
+
.pure-cell__left_jje0b {
|
|
73
79
|
padding-left: var(--gap-m);
|
|
74
80
|
}
|
|
75
|
-
|
|
76
|
-
.pure-cell__right_sptbm {
|
|
81
|
+
.pure-cell__right_jje0b {
|
|
77
82
|
padding-right: var(--gap-m);
|
|
78
83
|
}
|
|
79
|
-
|
|
80
|
-
.pure-cell__both_sptbm {
|
|
84
|
+
.pure-cell__both_jje0b {
|
|
81
85
|
padding-right: var(--gap-m);
|
|
82
86
|
padding-left: var(--gap-m);
|
|
83
87
|
}
|
|
84
|
-
|
|
85
|
-
.pure-cell__focused_sptbm {
|
|
88
|
+
.pure-cell__focused_jje0b {
|
|
86
89
|
outline: 2px solid var(--focus-color);
|
|
87
90
|
outline-offset: 2px;
|
|
88
91
|
}
|
package/esm/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { PureCell } from "./component-
|
|
1
|
+
export { PureCell } from "./component-7c76812e";
|
package/esm/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './component-
|
|
1
|
+
import './component-274bb79c.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
|
-
import './getDataTestId-
|
|
6
|
+
import './getDataTestId-b29f8e58.js';
|
|
7
7
|
import './components/addon/component.js';
|
|
8
8
|
import '@alfalab/core-components-typography/esm';
|
|
9
9
|
import '@alfalab/core-components-amount/esm';
|
|
@@ -11,7 +11,7 @@ import './components/amount/component.js';
|
|
|
11
11
|
import './components/amount-title/component.js';
|
|
12
12
|
import './components/category/component.js';
|
|
13
13
|
import './components/comment/component.js';
|
|
14
|
-
export { P as PureCell } from './component-
|
|
14
|
+
export { P as PureCell } from './component-2a2f6f06.js';
|
|
15
15
|
import './components/footer/component.js';
|
|
16
16
|
import '@alfalab/core-components-button/esm';
|
|
17
17
|
import './components/footer-text/component.js';
|
|
File without changes
|
|
File without changes
|
package/index.css
CHANGED
|
@@ -1,22 +1,39 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/* hash: 1tqyn */
|
|
2
|
+
:root {
|
|
3
|
+
--color-light-border-link: #007aff;
|
|
4
4
|
}
|
|
5
|
+
:root {
|
|
6
|
+
|
|
7
|
+
/* Hard */
|
|
8
|
+
|
|
9
|
+
/* Up */
|
|
5
10
|
|
|
6
|
-
|
|
11
|
+
/* Hard up */
|
|
12
|
+
}
|
|
13
|
+
:root {
|
|
14
|
+
--gap-2xs: 4px;
|
|
15
|
+
--gap-xs: 8px;
|
|
16
|
+
--gap-s: 12px;
|
|
17
|
+
--gap-m: 16px;
|
|
18
|
+
}
|
|
19
|
+
:root {
|
|
20
|
+
--focus-color: var(--color-light-border-link);
|
|
21
|
+
}
|
|
22
|
+
.pure-cell__component_jje0b {
|
|
23
|
+
text-align: unset;
|
|
24
|
+
}
|
|
25
|
+
.pure-cell__horizontal_jje0b {
|
|
7
26
|
display: flex;
|
|
8
27
|
width: 100%;
|
|
9
28
|
grid-column-gap: var(--gap-m);
|
|
10
29
|
}
|
|
11
|
-
|
|
12
|
-
.pure-cell__vertical_sptbm {
|
|
30
|
+
.pure-cell__vertical_jje0b {
|
|
13
31
|
display: flex;
|
|
14
32
|
align-items: center;
|
|
15
33
|
flex-direction: column;
|
|
16
34
|
grid-row-gap: var(--gap-s);
|
|
17
35
|
}
|
|
18
|
-
|
|
19
|
-
.pure-cell__button_sptbm {
|
|
36
|
+
.pure-cell__button_jje0b {
|
|
20
37
|
font-family: inherit;
|
|
21
38
|
background: none;
|
|
22
39
|
border: 0;
|
|
@@ -25,64 +42,50 @@
|
|
|
25
42
|
transition: opacity 0.15s ease-in-out;
|
|
26
43
|
padding: 0
|
|
27
44
|
}
|
|
28
|
-
|
|
29
|
-
.pure-cell__button_sptbm:hover {
|
|
45
|
+
.pure-cell__button_jje0b:hover {
|
|
30
46
|
opacity: 0.8;
|
|
31
47
|
}
|
|
32
|
-
|
|
33
|
-
.pure-cell__button_sptbm:active {
|
|
48
|
+
.pure-cell__button_jje0b:active {
|
|
34
49
|
opacity: 0.6;
|
|
35
50
|
}
|
|
36
|
-
|
|
37
|
-
.pure-cell__link_sptbm {
|
|
51
|
+
.pure-cell__link_jje0b {
|
|
38
52
|
text-decoration: none;
|
|
39
53
|
color: inherit;
|
|
40
54
|
cursor: pointer;
|
|
41
55
|
transition: opacity 0.15s ease-in-out
|
|
42
56
|
}
|
|
43
|
-
|
|
44
|
-
.pure-cell__link_sptbm:hover {
|
|
57
|
+
.pure-cell__link_jje0b:hover {
|
|
45
58
|
opacity: 0.8;
|
|
46
59
|
}
|
|
47
|
-
|
|
48
|
-
.pure-cell__link_sptbm:active {
|
|
60
|
+
.pure-cell__link_jje0b:active {
|
|
49
61
|
opacity: 0.6;
|
|
50
62
|
}
|
|
51
|
-
|
|
52
|
-
.pure-cell__none_sptbm {
|
|
63
|
+
.pure-cell__none_jje0b {
|
|
53
64
|
padding: 0;
|
|
54
65
|
}
|
|
55
|
-
|
|
56
|
-
.pure-cell__airy_sptbm {
|
|
66
|
+
.pure-cell__airy_jje0b {
|
|
57
67
|
padding: var(--gap-m) 0;
|
|
58
68
|
}
|
|
59
|
-
|
|
60
|
-
.pure-cell__default_sptbm {
|
|
69
|
+
.pure-cell__default_jje0b {
|
|
61
70
|
padding: var(--gap-s) 0;
|
|
62
71
|
}
|
|
63
|
-
|
|
64
|
-
.pure-cell__compact_sptbm {
|
|
72
|
+
.pure-cell__compact_jje0b {
|
|
65
73
|
padding: var(--gap-xs) 0;
|
|
66
74
|
}
|
|
67
|
-
|
|
68
|
-
.pure-cell__tiny_sptbm {
|
|
75
|
+
.pure-cell__tiny_jje0b {
|
|
69
76
|
padding: var(--gap-2xs) 0;
|
|
70
77
|
}
|
|
71
|
-
|
|
72
|
-
.pure-cell__left_sptbm {
|
|
78
|
+
.pure-cell__left_jje0b {
|
|
73
79
|
padding-left: var(--gap-m);
|
|
74
80
|
}
|
|
75
|
-
|
|
76
|
-
.pure-cell__right_sptbm {
|
|
81
|
+
.pure-cell__right_jje0b {
|
|
77
82
|
padding-right: var(--gap-m);
|
|
78
83
|
}
|
|
79
|
-
|
|
80
|
-
.pure-cell__both_sptbm {
|
|
84
|
+
.pure-cell__both_jje0b {
|
|
81
85
|
padding-right: var(--gap-m);
|
|
82
86
|
padding-left: var(--gap-m);
|
|
83
87
|
}
|
|
84
|
-
|
|
85
|
-
.pure-cell__focused_sptbm {
|
|
88
|
+
.pure-cell__focused_jje0b {
|
|
86
89
|
outline: 2px solid var(--focus-color);
|
|
87
90
|
outline-offset: 2px;
|
|
88
91
|
}
|
package/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { PureCell } from "./component-
|
|
1
|
+
export { PureCell } from "./component-7c76812e";
|
package/index.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./component-
|
|
5
|
+
require('./component-06198138.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('react-merge-refs');
|
|
8
8
|
require('classnames');
|
|
9
9
|
require('@alfalab/hooks');
|
|
10
|
-
require('./getDataTestId-
|
|
10
|
+
require('./getDataTestId-d09c6093.js');
|
|
11
11
|
require('./components/addon/component.js');
|
|
12
12
|
require('@alfalab/core-components-typography');
|
|
13
13
|
require('@alfalab/core-components-amount');
|
|
@@ -15,7 +15,7 @@ require('./components/amount/component.js');
|
|
|
15
15
|
require('./components/amount-title/component.js');
|
|
16
16
|
require('./components/category/component.js');
|
|
17
17
|
require('./components/comment/component.js');
|
|
18
|
-
var components_content_component = require('./component-
|
|
18
|
+
var components_content_component = require('./component-d93a7f6c.js');
|
|
19
19
|
require('./components/footer/component.js');
|
|
20
20
|
require('@alfalab/core-components-button');
|
|
21
21
|
require('./components/footer-text/component.js');
|
|
File without changes
|
|
@@ -2,7 +2,7 @@ import React, { useContext, forwardRef, useRef } from 'react';
|
|
|
2
2
|
import mergeRefs from 'react-merge-refs';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { useFocus } from '@alfalab/hooks';
|
|
5
|
-
import { g as getDataTestId } from './getDataTestId-
|
|
5
|
+
import { g as getDataTestId } from './getDataTestId-e4e2ae09.js';
|
|
6
6
|
import { Addon } from './components/addon/component.js';
|
|
7
7
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
8
8
|
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_hyir5","horizontal":"pure-cell__horizontal_hyir5"};
|
|
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_1nfpy","vertical":"pure-cell__vertical_1nfpy","reverse":"pure-cell__reverse_1nfpy"};
|
|
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_13qu2","rowLimit1":"pure-cell__rowLimit1_13qu2","rowLimit2":"pure-cell__rowLimit2_13qu2","component":"pure-cell__component_13qu2","multiline":"pure-cell__multiline_13qu2","vertical":"pure-cell__vertical_13qu2","title":"pure-cell__title_13qu2"};
|
|
36
36
|
require('./components/text/index.css')
|
|
37
37
|
|
|
38
38
|
const Text = ({ children, value, rowLimit, isMultiline, view = 'component', titleColor, valueColor, dataTestId, }) => {
|
|
@@ -51,7 +51,7 @@ const Text = ({ children, value, rowLimit, isMultiline, view = 'component', titl
|
|
|
51
51
|
}), "data-test-id": getDataTestId(dataTestId, 'text') }, value))));
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
var styles$3 = {"component":"pure-
|
|
54
|
+
var styles$3 = {"component":"pure-cell__component_jje0b","horizontal":"pure-cell__horizontal_jje0b","vertical":"pure-cell__vertical_jje0b","button":"pure-cell__button_jje0b","link":"pure-cell__link_jje0b","none":"pure-cell__none_jje0b","airy":"pure-cell__airy_jje0b","default":"pure-cell__default_jje0b","compact":"pure-cell__compact_jje0b","tiny":"pure-cell__tiny_jje0b","left":"pure-cell__left_jje0b","right":"pure-cell__right_jje0b","both":"pure-cell__both_jje0b","focused":"pure-cell__focused_jje0b"};
|
|
55
55
|
require('./index.css')
|
|
56
56
|
|
|
57
57
|
const PureCellContext = React.createContext({});
|
|
@@ -67,7 +67,7 @@ const PureCellComponent = forwardRef(({ className, dataTestId, onClick, href, ta
|
|
|
67
67
|
const { target } = restProps;
|
|
68
68
|
// Для совместимости с react-router-dom, меняем href на to
|
|
69
69
|
const hrefProps = { [typeof Component === 'string' ? 'href' : 'to']: href };
|
|
70
|
-
return (React.createElement(Component, Object.assign({ rel: target === '_blank' ? 'noreferrer noopener' : undefined }, restProps, hrefProps, { ref: mergeRefs([cellRef, ref]), className: cn(styles$3.link, addClasses, className, styles$3[horizontalPadding], styles$3[verticalPadding]), "data-test-id": dataTestId }),
|
|
70
|
+
return (React.createElement(Component, Object.assign({ rel: target === '_blank' ? 'noreferrer noopener' : undefined }, restProps, hrefProps, { ref: mergeRefs([cellRef, ref]), className: cn(styles$3.link, addClasses, className, styles$3[horizontalPadding], styles$3[verticalPadding]), "data-test-id": dataTestId, onClick: onClick }),
|
|
71
71
|
React.createElement(PureCellContext.Provider, { value: { direction } }, children)));
|
|
72
72
|
}
|
|
73
73
|
if (onClick) {
|
|
@@ -64,9 +64,9 @@ declare const PureCell: React.ForwardRefExoticComponent<(Partial<AnchorPureCellP
|
|
|
64
64
|
rowLimit?: 1 | 2 | undefined;
|
|
65
65
|
isMultiline?: boolean | undefined;
|
|
66
66
|
view: "primary-small" | "component";
|
|
67
|
-
titleColor: "
|
|
67
|
+
titleColor: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative";
|
|
68
68
|
value?: string | undefined;
|
|
69
|
-
valueColor?: "
|
|
69
|
+
valueColor?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
|
|
70
70
|
dataTestId?: string | undefined;
|
|
71
71
|
children?: React.ReactNode;
|
|
72
72
|
}>;
|
|
@@ -74,27 +74,27 @@ declare const PureCell: React.ForwardRefExoticComponent<(Partial<AnchorPureCellP
|
|
|
74
74
|
amount: import("./components/typesProps").AmountProps;
|
|
75
75
|
weight?: "bold" | "normal" | undefined;
|
|
76
76
|
view?: "primary-small" | "component" | undefined;
|
|
77
|
-
color?: "
|
|
77
|
+
color?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
|
|
78
78
|
dataTestId?: string | undefined;
|
|
79
79
|
}>;
|
|
80
80
|
AmountTitle: React.FC<{
|
|
81
81
|
amount: import("./components/typesProps").AmountProps;
|
|
82
|
-
color?: "
|
|
82
|
+
color?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
|
|
83
83
|
dataTestId?: string | undefined;
|
|
84
84
|
}>;
|
|
85
85
|
Addon: React.FC<{
|
|
86
86
|
verticalAlign?: "center" | undefined;
|
|
87
|
-
addonPadding?: "
|
|
87
|
+
addonPadding?: "default" | "none" | undefined;
|
|
88
88
|
children: import("./components/types").AddonElement;
|
|
89
89
|
dataTestId?: string | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
Footer: React.FC<{
|
|
92
92
|
children: import("./components/types").FooterElement;
|
|
93
|
-
footerPadding?: "
|
|
93
|
+
footerPadding?: "default" | "none" | undefined;
|
|
94
94
|
dataTestId?: string | undefined;
|
|
95
95
|
}>;
|
|
96
96
|
ExtraSubtitle: React.FC<import("./components/footer-text/index").Props>;
|
|
97
|
-
FooterButton: React.FC<Partial<import("
|
|
97
|
+
FooterButton: React.FC<Partial<import("@alfalab/core-components-button").AnchorButtonProps> | Partial<import("@alfalab/core-components-button").NativeButtonProps>>;
|
|
98
98
|
Comment: React.FC<{
|
|
99
99
|
children: import("./components/types").CommentElement;
|
|
100
100
|
dataTestId?: string | undefined;
|
package/modern/component.js
CHANGED
|
@@ -2,7 +2,7 @@ import 'react';
|
|
|
2
2
|
import 'react-merge-refs';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/hooks';
|
|
5
|
-
import './getDataTestId-
|
|
5
|
+
import './getDataTestId-e4e2ae09.js';
|
|
6
6
|
import './components/addon/component.js';
|
|
7
7
|
import '@alfalab/core-components-typography/modern';
|
|
8
8
|
import '@alfalab/core-components-amount/modern';
|
|
@@ -10,7 +10,7 @@ import './components/amount/component.js';
|
|
|
10
10
|
import './components/amount-title/component.js';
|
|
11
11
|
import './components/category/component.js';
|
|
12
12
|
import './components/comment/component.js';
|
|
13
|
-
export { P as PureCell, a as PureCellContext } from './component-
|
|
13
|
+
export { P as PureCell, a as PureCellContext } from './component-048093d7.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,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-e4e2ae09.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_hrq7b","none":"pure-cell__none_hrq7b","default":"pure-cell__default_hrq7b","center":"pure-cell__center_hrq7b"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Addon = ({ children, verticalAlign, addonPadding = 'default', dataTestId, }) => (React.createElement("section", { className: cn(styles.component, styles[addonPadding], {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1t2p3 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -10,20 +10,20 @@
|
|
|
10
10
|
:root {
|
|
11
11
|
--gap-m: 16px;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__component_hrq7b {
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
padding-left: var(--gap-m)
|
|
17
17
|
}
|
|
18
|
-
.pure-
|
|
18
|
+
.pure-cell__component_hrq7b > * {
|
|
19
19
|
justify-content: flex-end;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_hrq7b.pure-cell__none_hrq7b {
|
|
22
22
|
padding-left: 0;
|
|
23
23
|
}
|
|
24
|
-
.pure-
|
|
24
|
+
.pure-cell__component_hrq7b.pure-cell__default_hrq7b {
|
|
25
25
|
padding-left: var(--gap-m);
|
|
26
26
|
}
|
|
27
|
-
.pure-
|
|
27
|
+
.pure-cell__component_hrq7b.pure-cell__center_hrq7b {
|
|
28
28
|
align-self: center;
|
|
29
29
|
}
|
|
@@ -1,10 +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-e4e2ae09.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_jmts3"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const Amount = ({ amount, weight = 'normal', view = 'component', color = 'primary', dataTestId, }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
3
|
+
import '../../getDataTestId-e4e2ae09.js';
|
|
4
4
|
import '@alfalab/core-components-typography/modern';
|
|
5
5
|
import '@alfalab/core-components-amount/modern';
|
|
6
6
|
export { Amount } from './component.js';
|
|
@@ -1,10 +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-e4e2ae09.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_z68ps","weight":"pure-cell__weight_z68ps"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
const AmountTitle = ({ amount, color = 'primary', dataTestId }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 6tp3j */
|
|
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_z68ps {
|
|
11
11
|
display: flex;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__weight_z68ps {
|
|
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-e4e2ae09.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,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-e4e2ae09.js';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_d7vg4","categoryName":"pure-cell__categoryName_d7vg4","categoryPercent":"pure-cell__categoryPercent_d7vg4"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Category = ({ categoryName, categoryPercent, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": 'cell-pure-category' },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1j67l */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-secondary: #f3f4f5;
|
|
4
4
|
}
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
:root {
|
|
19
19
|
--border-radius-xl: 16px;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_d7vg4 {
|
|
22
22
|
display: flex;
|
|
23
23
|
overflow: hidden;
|
|
24
24
|
padding: var(--gap-3xs) 0;
|
|
25
25
|
}
|
|
26
|
-
.pure-
|
|
26
|
+
.pure-cell__categoryName_d7vg4 {
|
|
27
27
|
display: -webkit-box;
|
|
28
28
|
-webkit-line-clamp: 1;
|
|
29
29
|
-webkit-box-orient: vertical;
|
|
30
30
|
overflow: hidden;
|
|
31
31
|
}
|
|
32
|
-
.pure-
|
|
32
|
+
.pure-cell__categoryPercent_d7vg4 {
|
|
33
33
|
padding: 0 var(--gap-xs);
|
|
34
34
|
background-color: var(--color-light-bg-secondary);
|
|
35
35
|
border-radius: var(--border-radius-xl);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
2
|
+
import { g as getDataTestId } from '../../getDataTestId-e4e2ae09.js';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_f1r9u","text":"pure-cell__text_f1r9u"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Comment = ({ children, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'comment') },
|