@alfalab/core-components-pure-cell 4.1.8 → 4.1.10
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-c9ec1393.d.ts → component-d9194093.d.ts} +0 -0
- package/{component-c9ec1393.js → component-d9194093.js} +6 -6
- package/component.js +3 -3
- package/components/addon/component.js +2 -2
- package/components/addon/index.css +17 -19
- package/components/addon/index.js +1 -1
- package/components/amount/component.js +3 -3
- package/components/amount/index.css +10 -5
- package/components/amount/index.js +2 -2
- package/components/amount-title/component.js +3 -3
- package/components/amount-title/index.css +11 -5
- package/components/amount-title/index.js +2 -2
- package/components/category/component.js +2 -2
- package/components/category/index.css +14 -16
- package/components/category/index.js +1 -1
- package/components/content/component.js +3 -3
- package/components/content/index.css +11 -5
- 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 +12 -9
- package/components/footer/index.js +1 -1
- package/components/footer-button/component.js +3 -3
- package/components/footer-button/index.css +10 -3
- 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 +13 -9
- package/components/graphics/index.js +1 -1
- package/components/main/component.js +3 -3
- package/components/main/index.css +12 -9
- 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 +15 -16
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +3 -3
- package/cssm/components/addon/index.module.css +16 -18
- package/cssm/components/amount/index.module.css +9 -4
- package/cssm/components/amount-title/index.module.css +10 -4
- package/cssm/components/category/index.module.css +13 -15
- package/cssm/components/content/index.module.css +10 -4
- package/cssm/components/footer/index.module.css +11 -8
- package/cssm/components/footer-button/index.module.css +9 -2
- package/cssm/components/graphics/index.module.css +12 -8
- package/cssm/components/main/index.module.css +11 -8
- package/cssm/components/text/index.module.css +14 -15
- package/cssm/index.module.css +28 -46
- package/esm/{component-834138e7.d.ts → component-fafe2cb3.d.ts} +0 -0
- package/esm/{component-834138e7.js → component-fafe2cb3.js} +6 -6
- package/esm/component.js +3 -3
- package/esm/components/addon/component.js +2 -2
- package/esm/components/addon/index.css +17 -19
- package/esm/components/addon/index.js +1 -1
- package/esm/components/amount/component.js +3 -3
- package/esm/components/amount/index.css +10 -5
- package/esm/components/amount/index.js +2 -2
- package/esm/components/amount-title/component.js +3 -3
- package/esm/components/amount-title/index.css +11 -5
- package/esm/components/amount-title/index.js +2 -2
- package/esm/components/category/component.js +2 -2
- package/esm/components/category/index.css +14 -16
- package/esm/components/category/index.js +1 -1
- package/esm/components/content/component.js +3 -3
- package/esm/components/content/index.css +11 -5
- 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 +12 -9
- package/esm/components/footer/index.js +1 -1
- package/esm/components/footer-button/component.js +3 -3
- package/esm/components/footer-button/index.css +10 -3
- 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 +13 -9
- package/esm/components/graphics/index.js +1 -1
- package/esm/components/main/component.js +3 -3
- package/esm/components/main/index.css +12 -9
- 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 +15 -16
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +3 -3
- package/esm/{getDataTestId-ed5109df.d.ts → getDataTestId-5cbe94d4.d.ts} +0 -0
- package/esm/{getDataTestId-ed5109df.js → getDataTestId-5cbe94d4.js} +0 -0
- package/esm/index.css +29 -47
- package/esm/index.js +3 -3
- package/esm/{tslib.es6-84b555f6.d.ts → tslib.es6-faae201a.d.ts} +0 -0
- package/esm/{tslib.es6-84b555f6.js → tslib.es6-faae201a.js} +0 -0
- package/{getDataTestId-bb2d280b.d.ts → getDataTestId-24f1a34d.d.ts} +0 -0
- package/{getDataTestId-bb2d280b.js → getDataTestId-24f1a34d.js} +0 -0
- package/index.css +29 -47
- package/index.js +3 -3
- package/modern/{component-b51e5788.d.ts → component-e7dc125a.d.ts} +0 -0
- package/modern/{component-b51e5788.js → component-e7dc125a.js} +5 -5
- package/modern/component.js +2 -2
- package/modern/components/addon/component.js +2 -2
- package/modern/components/addon/index.css +17 -19
- package/modern/components/addon/index.js +1 -1
- package/modern/components/amount/component.js +2 -2
- package/modern/components/amount/index.css +10 -5
- package/modern/components/amount/index.js +1 -1
- package/modern/components/amount-title/component.js +2 -2
- package/modern/components/amount-title/index.css +11 -5
- package/modern/components/amount-title/index.js +1 -1
- package/modern/components/category/component.js +2 -2
- package/modern/components/category/index.css +14 -16
- package/modern/components/category/index.js +1 -1
- package/modern/components/content/component.js +2 -2
- package/modern/components/content/index.css +11 -5
- 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 +12 -9
- package/modern/components/footer/index.js +1 -1
- package/modern/components/footer-button/component.js +2 -2
- package/modern/components/footer-button/index.css +10 -3
- 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 +13 -9
- package/modern/components/graphics/index.js +1 -1
- package/modern/components/main/component.js +2 -2
- package/modern/components/main/index.css +12 -9
- 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 +15 -16
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +2 -2
- package/modern/{getDataTestId-29b06530.d.ts → getDataTestId-b209a23f.d.ts} +0 -0
- package/modern/{getDataTestId-29b06530.js → getDataTestId-b209a23f.js} +0 -0
- package/modern/index.css +29 -47
- package/modern/index.js +2 -2
- package/package.json +4 -4
- /package/{tslib.es6-d99cf8c0.d.ts → tslib.es6-30deefff.d.ts} +0 -0
- /package/{tslib.es6-d99cf8c0.js → tslib.es6-30deefff.js} +0 -0
|
@@ -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-5cbe94d4.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_198s3","top":"pure-cell__top_198s3","center":"pure-cell__center_198s3","bottom":"pure-cell__bottom_198s3"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Graphics = function (_a) {
|
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1xbpn */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} .pure-cell__component_198s3 {
|
|
11
18
|
flex-basis: auto;
|
|
12
|
-
}
|
|
13
|
-
.pure-cell__top_33ng7 {
|
|
19
|
+
} .pure-cell__top_198s3 {
|
|
14
20
|
align-self: flex-start;
|
|
15
|
-
}
|
|
16
|
-
.pure-cell__center_33ng7 {
|
|
21
|
+
} .pure-cell__center_198s3 {
|
|
17
22
|
align-self: center;
|
|
18
|
-
}
|
|
19
|
-
.pure-cell__bottom_33ng7 {
|
|
23
|
+
} .pure-cell__bottom_198s3 {
|
|
20
24
|
align-self: flex-end;
|
|
21
25
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
4
|
-
export { M as Main } from '../../component-
|
|
5
|
-
import '../../tslib.es6-
|
|
3
|
+
import '../../getDataTestId-5cbe94d4.js';
|
|
4
|
+
export { M as Main } from '../../component-fafe2cb3.js';
|
|
5
|
+
import '../../tslib.es6-faae201a.js';
|
|
6
6
|
import 'react-merge-refs';
|
|
7
7
|
import '@alfalab/core-components-comment/esm';
|
|
8
8
|
import '@alfalab/hooks';
|
|
@@ -1,31 +1,34 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: smq7h */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-3xs: 2px;
|
|
12
|
-
}
|
|
13
|
-
|
|
16
|
+
} :root {
|
|
17
|
+
} :root {
|
|
18
|
+
} .pure-cell__component_ymuzq {
|
|
14
19
|
display: flex;
|
|
15
20
|
flex-direction: column;
|
|
16
21
|
align-self: center;
|
|
17
22
|
|
|
18
23
|
/* can use /r/n */
|
|
19
24
|
white-space: pre-line
|
|
20
|
-
}
|
|
21
|
-
.pure-cell__component_25bkr.pure-cell__vertical_25bkr {
|
|
25
|
+
} .pure-cell__component_ymuzq.pure-cell__vertical_ymuzq {
|
|
22
26
|
grid-row-gap: var(--gap-3xs);
|
|
23
27
|
justify-content: center;
|
|
24
28
|
align-items: center;
|
|
25
29
|
|
|
26
30
|
/* for button */
|
|
27
31
|
text-align: center;
|
|
28
|
-
}
|
|
29
|
-
.pure-cell__component_25bkr.pure-cell__reverse_25bkr {
|
|
32
|
+
} .pure-cell__component_ymuzq.pure-cell__reverse_ymuzq {
|
|
30
33
|
flex-direction: column-reverse;
|
|
31
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-fafe2cb3";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { M as Main } from '../../component-
|
|
2
|
-
import '../../tslib.es6-
|
|
1
|
+
export { M as Main } from '../../component-fafe2cb3.js';
|
|
2
|
+
import '../../tslib.es6-faae201a.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-5cbe94d4.js';
|
|
10
10
|
import '../amount/component.js';
|
|
11
11
|
import '@alfalab/core-components-amount/esm';
|
|
12
12
|
import '@alfalab/core-components-typography/esm';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
3
|
import '@alfalab/core-components-typography/esm';
|
|
4
|
-
import '../../getDataTestId-
|
|
5
|
-
export { T as Text } from '../../component-
|
|
6
|
-
import '../../tslib.es6-
|
|
4
|
+
import '../../getDataTestId-5cbe94d4.js';
|
|
5
|
+
export { T as Text } from '../../component-fafe2cb3.js';
|
|
6
|
+
import '../../tslib.es6-faae201a.js';
|
|
7
7
|
import 'react-merge-refs';
|
|
8
8
|
import '@alfalab/core-components-comment/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ekdwm */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-3xs: 2px;
|
|
12
16
|
--gap-m: 16px;
|
|
13
|
-
}
|
|
14
|
-
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
19
|
+
} .pure-cell__horizontal_1ln4r {
|
|
15
20
|
padding: var(--gap-3xs) 0;
|
|
16
|
-
}
|
|
17
|
-
.pure-cell__rowLimit1_12mih {
|
|
21
|
+
} .pure-cell__rowLimit1_1ln4r {
|
|
18
22
|
-webkit-line-clamp: 1;
|
|
19
23
|
display: -webkit-box;
|
|
20
24
|
-webkit-box-orient: vertical;
|
|
21
25
|
overflow: hidden;
|
|
22
26
|
word-break: break-all;
|
|
23
|
-
}
|
|
24
|
-
.pure-cell__rowLimit2_12mih {
|
|
27
|
+
} .pure-cell__rowLimit2_1ln4r {
|
|
25
28
|
-webkit-line-clamp: 2;
|
|
26
29
|
display: -webkit-box;
|
|
27
30
|
-webkit-box-orient: vertical;
|
|
28
31
|
overflow: hidden;
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
.pure-cell__component_12mih {
|
|
32
|
+
} .pure-cell__component_1ln4r {
|
|
32
33
|
display: flex;
|
|
33
34
|
flex-direction: row;
|
|
34
35
|
flex-wrap: nowrap;
|
|
35
36
|
justify-content: space-between;
|
|
36
37
|
margin: var(--gap-3xs) 0;
|
|
37
38
|
word-break: break-word;
|
|
38
|
-
}
|
|
39
|
-
.pure-cell__component_12mih .pure-cell__vertical_12mih {
|
|
39
|
+
} .pure-cell__component_1ln4r .pure-cell__vertical_1ln4r {
|
|
40
40
|
justify-content: center;
|
|
41
|
-
}
|
|
42
|
-
.pure-cell__title_12mih + .pure-cell__value_12mih {
|
|
41
|
+
} .pure-cell__title_1ln4r + .pure-cell__value_1ln4r {
|
|
43
42
|
margin-left: var(--gap-m);
|
|
44
43
|
flex-shrink: 0;
|
|
45
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-fafe2cb3";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { T as Text } from '../../component-
|
|
2
|
-
import '../../tslib.es6-
|
|
1
|
+
export { T as Text } from '../../component-fafe2cb3.js';
|
|
2
|
+
import '../../tslib.es6-faae201a.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-5cbe94d4.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,47 +1,43 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 54psp */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-border-link: #007aff;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
14
16
|
--gap-2xs: 4px;
|
|
15
17
|
--gap-xs: 8px;
|
|
16
18
|
--gap-s: 12px;
|
|
17
19
|
--gap-m: 16px;
|
|
18
|
-
}
|
|
19
|
-
:root {
|
|
20
|
+
} :root {
|
|
21
|
+
} :root {
|
|
20
22
|
--focus-color: var(--color-light-border-link);
|
|
21
|
-
}
|
|
22
|
-
.pure-cell__component_7sy1e {
|
|
23
|
+
} .pure-cell__component_n80bd {
|
|
23
24
|
text-align: unset;
|
|
24
25
|
|
|
25
26
|
/** line-height наследуется. Если его не обнулить, то все иконки внутри будут иметь неверный размер */
|
|
26
27
|
line-height: 0;
|
|
27
28
|
box-sizing: border-box;
|
|
28
|
-
}
|
|
29
|
-
.pure-cell__horizontal_7sy1e {
|
|
29
|
+
} .pure-cell__horizontal_n80bd {
|
|
30
30
|
display: flex;
|
|
31
31
|
width: 100%
|
|
32
|
-
}
|
|
33
|
-
.pure-cell__horizontal_7sy1e > section:not(:last-child) {
|
|
32
|
+
} .pure-cell__horizontal_n80bd > section:not(:last-child) {
|
|
34
33
|
margin-right: var(--gap-m);
|
|
35
|
-
}
|
|
36
|
-
.pure-cell__vertical_7sy1e {
|
|
34
|
+
} .pure-cell__vertical_n80bd {
|
|
37
35
|
display: flex;
|
|
38
36
|
align-items: center;
|
|
39
37
|
flex-direction: column
|
|
40
|
-
}
|
|
41
|
-
.pure-cell__vertical_7sy1e > section:not(:last-child) {
|
|
38
|
+
} .pure-cell__vertical_n80bd > section:not(:last-child) {
|
|
42
39
|
margin-bottom: var(--gap-s);
|
|
43
|
-
}
|
|
44
|
-
.pure-cell__button_7sy1e {
|
|
40
|
+
} .pure-cell__button_n80bd {
|
|
45
41
|
font-family: inherit;
|
|
46
42
|
background: none;
|
|
47
43
|
border: 0;
|
|
@@ -49,51 +45,37 @@
|
|
|
49
45
|
cursor: pointer;
|
|
50
46
|
transition: opacity 0.15s ease-in-out;
|
|
51
47
|
padding: 0
|
|
52
|
-
}
|
|
53
|
-
.pure-cell__button_7sy1e:hover {
|
|
48
|
+
} .pure-cell__button_n80bd:hover {
|
|
54
49
|
opacity: 0.8;
|
|
55
|
-
}
|
|
56
|
-
.pure-cell__button_7sy1e:active {
|
|
50
|
+
} .pure-cell__button_n80bd:active {
|
|
57
51
|
opacity: 0.6;
|
|
58
|
-
}
|
|
59
|
-
.pure-cell__link_7sy1e {
|
|
52
|
+
} .pure-cell__link_n80bd {
|
|
60
53
|
text-decoration: none;
|
|
61
54
|
color: inherit;
|
|
62
55
|
cursor: pointer;
|
|
63
56
|
transition: opacity 0.15s ease-in-out
|
|
64
|
-
}
|
|
65
|
-
.pure-cell__link_7sy1e:hover {
|
|
57
|
+
} .pure-cell__link_n80bd:hover {
|
|
66
58
|
opacity: 0.8;
|
|
67
|
-
}
|
|
68
|
-
.pure-cell__link_7sy1e:active {
|
|
59
|
+
} .pure-cell__link_n80bd:active {
|
|
69
60
|
opacity: 0.6;
|
|
70
|
-
}
|
|
71
|
-
.pure-cell__none_7sy1e {
|
|
61
|
+
} .pure-cell__none_n80bd {
|
|
72
62
|
padding: 0;
|
|
73
|
-
}
|
|
74
|
-
.pure-cell__airy_7sy1e {
|
|
63
|
+
} .pure-cell__airy_n80bd {
|
|
75
64
|
padding: var(--gap-m) 0;
|
|
76
|
-
}
|
|
77
|
-
.pure-cell__defaultPadding_7sy1e {
|
|
65
|
+
} .pure-cell__defaultPadding_n80bd {
|
|
78
66
|
padding: var(--gap-s) 0;
|
|
79
|
-
}
|
|
80
|
-
.pure-cell__compact_7sy1e {
|
|
67
|
+
} .pure-cell__compact_n80bd {
|
|
81
68
|
padding: var(--gap-xs) 0;
|
|
82
|
-
}
|
|
83
|
-
.pure-cell__tiny_7sy1e {
|
|
69
|
+
} .pure-cell__tiny_n80bd {
|
|
84
70
|
padding: var(--gap-2xs) 0;
|
|
85
|
-
}
|
|
86
|
-
.pure-cell__left_7sy1e {
|
|
71
|
+
} .pure-cell__left_n80bd {
|
|
87
72
|
padding-left: var(--gap-m);
|
|
88
|
-
}
|
|
89
|
-
.pure-cell__right_7sy1e {
|
|
73
|
+
} .pure-cell__right_n80bd {
|
|
90
74
|
padding-right: var(--gap-m);
|
|
91
|
-
}
|
|
92
|
-
.pure-cell__both_7sy1e {
|
|
75
|
+
} .pure-cell__both_n80bd {
|
|
93
76
|
padding-right: var(--gap-m);
|
|
94
77
|
padding-left: var(--gap-m);
|
|
95
|
-
}
|
|
96
|
-
.pure-cell__focused_7sy1e {
|
|
78
|
+
} .pure-cell__focused_n80bd {
|
|
97
79
|
outline: 2px solid var(--focus-color);
|
|
98
80
|
outline-offset: 2px;
|
|
99
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-fafe2cb3.js';
|
|
2
|
+
import './tslib.es6-faae201a.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-5cbe94d4.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,47 +1,43 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 54psp */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
3
4
|
--color-light-border-link: #007aff;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
7
|
+
} :root {
|
|
6
8
|
|
|
7
9
|
/* Hard */
|
|
8
10
|
|
|
9
11
|
/* Up */
|
|
10
12
|
|
|
11
13
|
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
14
16
|
--gap-2xs: 4px;
|
|
15
17
|
--gap-xs: 8px;
|
|
16
18
|
--gap-s: 12px;
|
|
17
19
|
--gap-m: 16px;
|
|
18
|
-
}
|
|
19
|
-
:root {
|
|
20
|
+
} :root {
|
|
21
|
+
} :root {
|
|
20
22
|
--focus-color: var(--color-light-border-link);
|
|
21
|
-
}
|
|
22
|
-
.pure-cell__component_7sy1e {
|
|
23
|
+
} .pure-cell__component_n80bd {
|
|
23
24
|
text-align: unset;
|
|
24
25
|
|
|
25
26
|
/** line-height наследуется. Если его не обнулить, то все иконки внутри будут иметь неверный размер */
|
|
26
27
|
line-height: 0;
|
|
27
28
|
box-sizing: border-box;
|
|
28
|
-
}
|
|
29
|
-
.pure-cell__horizontal_7sy1e {
|
|
29
|
+
} .pure-cell__horizontal_n80bd {
|
|
30
30
|
display: flex;
|
|
31
31
|
width: 100%
|
|
32
|
-
}
|
|
33
|
-
.pure-cell__horizontal_7sy1e > section:not(:last-child) {
|
|
32
|
+
} .pure-cell__horizontal_n80bd > section:not(:last-child) {
|
|
34
33
|
margin-right: var(--gap-m);
|
|
35
|
-
}
|
|
36
|
-
.pure-cell__vertical_7sy1e {
|
|
34
|
+
} .pure-cell__vertical_n80bd {
|
|
37
35
|
display: flex;
|
|
38
36
|
align-items: center;
|
|
39
37
|
flex-direction: column
|
|
40
|
-
}
|
|
41
|
-
.pure-cell__vertical_7sy1e > section:not(:last-child) {
|
|
38
|
+
} .pure-cell__vertical_n80bd > section:not(:last-child) {
|
|
42
39
|
margin-bottom: var(--gap-s);
|
|
43
|
-
}
|
|
44
|
-
.pure-cell__button_7sy1e {
|
|
40
|
+
} .pure-cell__button_n80bd {
|
|
45
41
|
font-family: inherit;
|
|
46
42
|
background: none;
|
|
47
43
|
border: 0;
|
|
@@ -49,51 +45,37 @@
|
|
|
49
45
|
cursor: pointer;
|
|
50
46
|
transition: opacity 0.15s ease-in-out;
|
|
51
47
|
padding: 0
|
|
52
|
-
}
|
|
53
|
-
.pure-cell__button_7sy1e:hover {
|
|
48
|
+
} .pure-cell__button_n80bd:hover {
|
|
54
49
|
opacity: 0.8;
|
|
55
|
-
}
|
|
56
|
-
.pure-cell__button_7sy1e:active {
|
|
50
|
+
} .pure-cell__button_n80bd:active {
|
|
57
51
|
opacity: 0.6;
|
|
58
|
-
}
|
|
59
|
-
.pure-cell__link_7sy1e {
|
|
52
|
+
} .pure-cell__link_n80bd {
|
|
60
53
|
text-decoration: none;
|
|
61
54
|
color: inherit;
|
|
62
55
|
cursor: pointer;
|
|
63
56
|
transition: opacity 0.15s ease-in-out
|
|
64
|
-
}
|
|
65
|
-
.pure-cell__link_7sy1e:hover {
|
|
57
|
+
} .pure-cell__link_n80bd:hover {
|
|
66
58
|
opacity: 0.8;
|
|
67
|
-
}
|
|
68
|
-
.pure-cell__link_7sy1e:active {
|
|
59
|
+
} .pure-cell__link_n80bd:active {
|
|
69
60
|
opacity: 0.6;
|
|
70
|
-
}
|
|
71
|
-
.pure-cell__none_7sy1e {
|
|
61
|
+
} .pure-cell__none_n80bd {
|
|
72
62
|
padding: 0;
|
|
73
|
-
}
|
|
74
|
-
.pure-cell__airy_7sy1e {
|
|
63
|
+
} .pure-cell__airy_n80bd {
|
|
75
64
|
padding: var(--gap-m) 0;
|
|
76
|
-
}
|
|
77
|
-
.pure-cell__defaultPadding_7sy1e {
|
|
65
|
+
} .pure-cell__defaultPadding_n80bd {
|
|
78
66
|
padding: var(--gap-s) 0;
|
|
79
|
-
}
|
|
80
|
-
.pure-cell__compact_7sy1e {
|
|
67
|
+
} .pure-cell__compact_n80bd {
|
|
81
68
|
padding: var(--gap-xs) 0;
|
|
82
|
-
}
|
|
83
|
-
.pure-cell__tiny_7sy1e {
|
|
69
|
+
} .pure-cell__tiny_n80bd {
|
|
84
70
|
padding: var(--gap-2xs) 0;
|
|
85
|
-
}
|
|
86
|
-
.pure-cell__left_7sy1e {
|
|
71
|
+
} .pure-cell__left_n80bd {
|
|
87
72
|
padding-left: var(--gap-m);
|
|
88
|
-
}
|
|
89
|
-
.pure-cell__right_7sy1e {
|
|
73
|
+
} .pure-cell__right_n80bd {
|
|
90
74
|
padding-right: var(--gap-m);
|
|
91
|
-
}
|
|
92
|
-
.pure-cell__both_7sy1e {
|
|
75
|
+
} .pure-cell__both_n80bd {
|
|
93
76
|
padding-right: var(--gap-m);
|
|
94
77
|
padding-left: var(--gap-m);
|
|
95
|
-
}
|
|
96
|
-
.pure-cell__focused_7sy1e {
|
|
78
|
+
} .pure-cell__focused_n80bd {
|
|
97
79
|
outline: 2px solid var(--focus-color);
|
|
98
80
|
outline-offset: 2px;
|
|
99
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-d9194093.js');
|
|
4
|
+
require('./tslib.es6-30deefff.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-24f1a34d.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-b209a23f.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_94x5r","horizontal":"pure-cell__horizontal_94x5r"};
|
|
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_ymuzq","vertical":"pure-cell__vertical_ymuzq","reverse":"pure-cell__reverse_ymuzq"};
|
|
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_1ln4r","rowLimit1":"pure-cell__rowLimit1_1ln4r","rowLimit2":"pure-cell__rowLimit2_1ln4r","component":"pure-cell__component_1ln4r","vertical":"pure-cell__vertical_1ln4r","title":"pure-cell__title_1ln4r","value":"pure-cell__value_1ln4r"};
|
|
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_n80bd","horizontal":"pure-cell__horizontal_n80bd","vertical":"pure-cell__vertical_n80bd","button":"pure-cell__button_n80bd","link":"pure-cell__link_n80bd","none":"pure-cell__none_n80bd","airy":"pure-cell__airy_n80bd","defaultPadding":"pure-cell__defaultPadding_n80bd","compact":"pure-cell__compact_n80bd","tiny":"pure-cell__tiny_n80bd","left":"pure-cell__left_n80bd","right":"pure-cell__right_n80bd","both":"pure-cell__both_n80bd","focused":"pure-cell__focused_n80bd"};
|
|
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-e7dc125a.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-b209a23f.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-b209a23f.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_13udf","none":"pure-cell__none_13udf","default":"pure-cell__default_13udf","addonPadding":"pure-cell__addonPadding_13udf","top":"pure-cell__top_13udf","center":"pure-cell__center_13udf","bottom":"pure-cell__bottom_13udf"};
|
|
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));
|