@alfalab/core-components-pure-cell 4.1.11 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{component-e2669cc2.d.ts → component-6d80a6bb.d.ts} +5 -1
- package/{component-e2669cc2.js → component-6d80a6bb.js} +8 -8
- package/component-c49f24a8.d.ts +2 -1
- 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-ce3b8d8e.d.ts → cssm/component-73a2c8e0.d.ts} +5 -1
- package/cssm/{component-094dfd9a.js → component-73a2c8e0.js} +2 -2
- package/cssm/component-c49f24a8.d.ts +2 -1
- 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.js +1 -1
- package/{cssm/component-094dfd9a.d.ts → esm/component-2162d463.d.ts} +5 -1
- package/esm/{component-ce3b8d8e.js → component-2162d463.js} +8 -8
- package/esm/component-c49f24a8.d.ts +2 -1
- 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-6b257645.d.ts → getDataTestId-d27be4d9.d.ts} +0 -0
- package/esm/{getDataTestId-6b257645.js → getDataTestId-d27be4d9.js} +0 -0
- package/esm/index.css +21 -21
- package/esm/index.js +3 -3
- package/esm/{tslib.es6-2976061b.d.ts → tslib.es6-fc167669.d.ts} +0 -0
- package/esm/{tslib.es6-2976061b.js → tslib.es6-fc167669.js} +0 -0
- package/{getDataTestId-7b531eab.d.ts → getDataTestId-447314e8.d.ts} +0 -0
- package/{getDataTestId-7b531eab.js → getDataTestId-447314e8.js} +0 -0
- package/index.css +21 -21
- package/index.js +3 -3
- package/modern/{component-ecc16265.d.ts → component-97272d9b.d.ts} +5 -1
- package/modern/{component-ecc16265.js → component-97272d9b.js} +7 -7
- package/modern/component-c49f24a8.d.ts +2 -1
- 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-46ae5f7e.d.ts → getDataTestId-c31400ee.d.ts} +0 -0
- package/modern/{getDataTestId-46ae5f7e.js → getDataTestId-c31400ee.js} +0 -0
- package/modern/index.css +21 -21
- package/modern/index.js +2 -2
- package/package.json +1 -1
- /package/{tslib.es6-1fc63a53.d.ts → tslib.es6-dc91a022.d.ts} +0 -0
- /package/{tslib.es6-1fc63a53.js → tslib.es6-dc91a022.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1oknb */
|
|
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_zm3j1 {
|
|
19
19
|
grid-column: 1/3;
|
|
20
20
|
display: grid;
|
|
21
21
|
grid-row-gap: var(--gap-xs)
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__component_zm3j1.pure-cell__none_zm3j1 {
|
|
23
23
|
margin-top: 0;
|
|
24
|
-
} .pure-
|
|
24
|
+
} .pure-cell__component_zm3j1.pure-cell__default_zm3j1 {
|
|
25
25
|
margin-top: var(--gap-xs);
|
|
26
26
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-fc167669.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Button } from '@alfalab/core-components-button/esm';
|
|
4
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
4
|
+
import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"component":"pure-
|
|
6
|
+
var styles = {"component":"pure-cell__component_19qoy"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var FooterButton = function (_a) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { FooterButton } from './component.js';
|
|
2
|
-
import '../../tslib.es6-
|
|
2
|
+
import '../../tslib.es6-fc167669.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@alfalab/core-components-button/esm';
|
|
5
|
-
import '../../getDataTestId-
|
|
5
|
+
import '../../getDataTestId-d27be4d9.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Typography } from '@alfalab/core-components-typography/esm';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-d27be4d9.js';
|
|
4
4
|
|
|
5
5
|
var FooterText = function (_a) {
|
|
6
6
|
var children = _a.children, _b = _a.color, color = _b === void 0 ? 'secondary' : _b, dataTestId = _a.dataTestId;
|
|
@@ -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-d27be4d9.js';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"pure-
|
|
5
|
+
var styles = {"component":"pure-cell__component_1glw0","top":"pure-cell__top_1glw0","center":"pure-cell__center_1glw0","bottom":"pure-cell__bottom_1glw0"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Graphics = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1v4tv */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_1glw0 {
|
|
18
18
|
flex-basis: auto;
|
|
19
|
-
} .pure-
|
|
19
|
+
} .pure-cell__top_1glw0 {
|
|
20
20
|
align-self: flex-start;
|
|
21
|
-
} .pure-
|
|
21
|
+
} .pure-cell__center_1glw0 {
|
|
22
22
|
align-self: center;
|
|
23
|
-
} .pure-
|
|
23
|
+
} .pure-cell__bottom_1glw0 {
|
|
24
24
|
align-self: flex-end;
|
|
25
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-d27be4d9.js';
|
|
4
|
+
export { M as Main } from '../../component-2162d463.js';
|
|
5
|
+
import '../../tslib.es6-fc167669.js';
|
|
6
6
|
import 'react-merge-refs';
|
|
7
7
|
import '@alfalab/core-components-comment/esm';
|
|
8
8
|
import '@alfalab/hooks';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 97364 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
--gap-3xs: 2px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_1rtkh {
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
21
21
|
align-self: center;
|
|
22
22
|
|
|
23
23
|
/* can use /r/n */
|
|
24
24
|
white-space: pre-line
|
|
25
|
-
} .pure-
|
|
25
|
+
} .pure-cell__component_1rtkh.pure-cell__vertical_1rtkh {
|
|
26
26
|
grid-row-gap: var(--gap-3xs);
|
|
27
27
|
justify-content: center;
|
|
28
28
|
align-items: center;
|
|
29
29
|
|
|
30
30
|
/* for button */
|
|
31
31
|
text-align: center;
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__component_1rtkh.pure-cell__reverse_1rtkh {
|
|
33
33
|
flex-direction: column-reverse;
|
|
34
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-2162d463";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { M as Main } from '../../component-
|
|
2
|
-
import '../../tslib.es6-
|
|
1
|
+
export { M as Main } from '../../component-2162d463.js';
|
|
2
|
+
import '../../tslib.es6-fc167669.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-d27be4d9.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-d27be4d9.js';
|
|
5
|
+
export { T as Text } from '../../component-2162d463.js';
|
|
6
|
+
import '../../tslib.es6-fc167669.js';
|
|
7
7
|
import 'react-merge-refs';
|
|
8
8
|
import '@alfalab/core-components-comment/esm';
|
|
9
9
|
import '@alfalab/hooks';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: cxydr */
|
|
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_n59dw {
|
|
20
20
|
padding: var(--gap-3xs) 0;
|
|
21
|
-
} .pure-
|
|
21
|
+
} .pure-cell__rowLimit1_n59dw {
|
|
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_n59dw {
|
|
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_n59dw {
|
|
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_n59dw .pure-cell__vertical_n59dw {
|
|
40
40
|
justify-content: center;
|
|
41
|
-
} .pure-
|
|
41
|
+
} .pure-cell__title_n59dw + .pure-cell__value_n59dw {
|
|
42
42
|
margin-left: var(--gap-m);
|
|
43
43
|
flex-shrink: 0;
|
|
44
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-2162d463";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { T as Text } from '../../component-
|
|
2
|
-
import '../../tslib.es6-
|
|
1
|
+
export { T as Text } from '../../component-2162d463.js';
|
|
2
|
+
import '../../tslib.es6-fc167669.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-d27be4d9.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: 1hnhz */
|
|
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_7sqoe {
|
|
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_7sqoe {
|
|
30
30
|
display: flex;
|
|
31
31
|
width: 100%
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__horizontal_7sqoe > section:not(:last-child) {
|
|
33
33
|
margin-right: var(--gap-m);
|
|
34
|
-
} .pure-
|
|
34
|
+
} .pure-cell__vertical_7sqoe {
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
flex-direction: column
|
|
38
|
-
} .pure-
|
|
38
|
+
} .pure-cell__vertical_7sqoe > section:not(:last-child) {
|
|
39
39
|
margin-bottom: var(--gap-s);
|
|
40
|
-
} .pure-
|
|
40
|
+
} .pure-cell__button_7sqoe {
|
|
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_7sqoe:hover {
|
|
49
49
|
opacity: 0.8;
|
|
50
|
-
} .pure-
|
|
50
|
+
} .pure-cell__button_7sqoe:active {
|
|
51
51
|
opacity: 0.6;
|
|
52
|
-
} .pure-
|
|
52
|
+
} .pure-cell__link_7sqoe {
|
|
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_7sqoe:hover {
|
|
58
58
|
opacity: 0.8;
|
|
59
|
-
} .pure-
|
|
59
|
+
} .pure-cell__link_7sqoe:active {
|
|
60
60
|
opacity: 0.6;
|
|
61
|
-
} .pure-
|
|
61
|
+
} .pure-cell__none_7sqoe {
|
|
62
62
|
padding: 0;
|
|
63
|
-
} .pure-
|
|
63
|
+
} .pure-cell__airy_7sqoe {
|
|
64
64
|
padding: var(--gap-m) 0;
|
|
65
|
-
} .pure-
|
|
65
|
+
} .pure-cell__defaultPadding_7sqoe {
|
|
66
66
|
padding: var(--gap-s) 0;
|
|
67
|
-
} .pure-
|
|
67
|
+
} .pure-cell__compact_7sqoe {
|
|
68
68
|
padding: var(--gap-xs) 0;
|
|
69
|
-
} .pure-
|
|
69
|
+
} .pure-cell__tiny_7sqoe {
|
|
70
70
|
padding: var(--gap-2xs) 0;
|
|
71
|
-
} .pure-
|
|
71
|
+
} .pure-cell__left_7sqoe {
|
|
72
72
|
padding-left: var(--gap-m);
|
|
73
|
-
} .pure-
|
|
73
|
+
} .pure-cell__right_7sqoe {
|
|
74
74
|
padding-right: var(--gap-m);
|
|
75
|
-
} .pure-
|
|
75
|
+
} .pure-cell__both_7sqoe {
|
|
76
76
|
padding-right: var(--gap-m);
|
|
77
77
|
padding-left: var(--gap-m);
|
|
78
|
-
} .pure-
|
|
78
|
+
} .pure-cell__focused_7sqoe {
|
|
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-2162d463.js';
|
|
2
|
+
import './tslib.es6-fc167669.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-d27be4d9.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: 1hnhz */
|
|
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_7sqoe {
|
|
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_7sqoe {
|
|
30
30
|
display: flex;
|
|
31
31
|
width: 100%
|
|
32
|
-
} .pure-
|
|
32
|
+
} .pure-cell__horizontal_7sqoe > section:not(:last-child) {
|
|
33
33
|
margin-right: var(--gap-m);
|
|
34
|
-
} .pure-
|
|
34
|
+
} .pure-cell__vertical_7sqoe {
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: center;
|
|
37
37
|
flex-direction: column
|
|
38
|
-
} .pure-
|
|
38
|
+
} .pure-cell__vertical_7sqoe > section:not(:last-child) {
|
|
39
39
|
margin-bottom: var(--gap-s);
|
|
40
|
-
} .pure-
|
|
40
|
+
} .pure-cell__button_7sqoe {
|
|
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_7sqoe:hover {
|
|
49
49
|
opacity: 0.8;
|
|
50
|
-
} .pure-
|
|
50
|
+
} .pure-cell__button_7sqoe:active {
|
|
51
51
|
opacity: 0.6;
|
|
52
|
-
} .pure-
|
|
52
|
+
} .pure-cell__link_7sqoe {
|
|
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_7sqoe:hover {
|
|
58
58
|
opacity: 0.8;
|
|
59
|
-
} .pure-
|
|
59
|
+
} .pure-cell__link_7sqoe:active {
|
|
60
60
|
opacity: 0.6;
|
|
61
|
-
} .pure-
|
|
61
|
+
} .pure-cell__none_7sqoe {
|
|
62
62
|
padding: 0;
|
|
63
|
-
} .pure-
|
|
63
|
+
} .pure-cell__airy_7sqoe {
|
|
64
64
|
padding: var(--gap-m) 0;
|
|
65
|
-
} .pure-
|
|
65
|
+
} .pure-cell__defaultPadding_7sqoe {
|
|
66
66
|
padding: var(--gap-s) 0;
|
|
67
|
-
} .pure-
|
|
67
|
+
} .pure-cell__compact_7sqoe {
|
|
68
68
|
padding: var(--gap-xs) 0;
|
|
69
|
-
} .pure-
|
|
69
|
+
} .pure-cell__tiny_7sqoe {
|
|
70
70
|
padding: var(--gap-2xs) 0;
|
|
71
|
-
} .pure-
|
|
71
|
+
} .pure-cell__left_7sqoe {
|
|
72
72
|
padding-left: var(--gap-m);
|
|
73
|
-
} .pure-
|
|
73
|
+
} .pure-cell__right_7sqoe {
|
|
74
74
|
padding-right: var(--gap-m);
|
|
75
|
-
} .pure-
|
|
75
|
+
} .pure-cell__both_7sqoe {
|
|
76
76
|
padding-right: var(--gap-m);
|
|
77
77
|
padding-left: var(--gap-m);
|
|
78
|
-
} .pure-
|
|
78
|
+
} .pure-cell__focused_7sqoe {
|
|
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-6d80a6bb.js');
|
|
4
|
+
require('./tslib.es6-dc91a022.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-447314e8.js');
|
|
12
12
|
require('./components/amount/component.js');
|
|
13
13
|
require('@alfalab/core-components-amount');
|
|
14
14
|
require('@alfalab/core-components-typography');
|
|
@@ -41,7 +41,11 @@ type Props$1 = {
|
|
|
41
41
|
/**
|
|
42
42
|
* Размер текста
|
|
43
43
|
*/
|
|
44
|
-
view: 'primary-small' | 'component';
|
|
44
|
+
view: 'primary-large' | 'primary-medium' | 'primary-small' | 'component';
|
|
45
|
+
/**
|
|
46
|
+
* Толщина title
|
|
47
|
+
*/
|
|
48
|
+
titleWeight?: 'regular' | 'bold';
|
|
45
49
|
/**
|
|
46
50
|
* Цвет title
|
|
47
51
|
*/
|
|
@@ -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-c31400ee.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_jy6vo","horizontal":"pure-cell__horizontal_jy6vo"};
|
|
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_1rtkh","vertical":"pure-cell__vertical_1rtkh","reverse":"pure-cell__reverse_1rtkh"};
|
|
26
26
|
require('./components/main/index.css')
|
|
27
27
|
|
|
28
28
|
const Main = ({ children, isReverse, dataTestId }) => {
|
|
@@ -32,20 +32,20 @@ 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_n59dw","rowLimit1":"pure-cell__rowLimit1_n59dw","rowLimit2":"pure-cell__rowLimit2_n59dw","component":"pure-cell__component_n59dw","vertical":"pure-cell__vertical_n59dw","title":"pure-cell__title_n59dw","value":"pure-cell__value_n59dw"};
|
|
36
36
|
require('./components/text/index.css')
|
|
37
37
|
|
|
38
|
-
const Text = ({ children, value, rowLimit, view = 'component', titleColor, valueColor, dataTestId, }) => {
|
|
38
|
+
const Text = ({ children, value, rowLimit, view = 'component', titleWeight, titleColor, valueColor, dataTestId, }) => {
|
|
39
39
|
const { direction = 'horizontal' } = useContext(PureCellContext);
|
|
40
40
|
const className = rowLimit && styles$1[`rowLimit${rowLimit}`];
|
|
41
41
|
return (React.createElement("div", { className: cn(styles$1.component, {
|
|
42
42
|
[styles$1.vertical]: direction !== 'horizontal',
|
|
43
43
|
}) },
|
|
44
|
-
React.createElement("span", { className: styles$1.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
|
|
44
|
+
React.createElement("span", { className: styles$1.title }, typeof children === 'string' ? (React.createElement(Typography.Text, { view: view, weight: titleWeight, color: titleColor, className: className, "data-test-id": getDataTestId(dataTestId, 'text') }, children)) : (children)),
|
|
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_7sqoe","horizontal":"pure-cell__horizontal_7sqoe","vertical":"pure-cell__vertical_7sqoe","button":"pure-cell__button_7sqoe","link":"pure-cell__link_7sqoe","none":"pure-cell__none_7sqoe","airy":"pure-cell__airy_7sqoe","defaultPadding":"pure-cell__defaultPadding_7sqoe","compact":"pure-cell__compact_7sqoe","tiny":"pure-cell__tiny_7sqoe","left":"pure-cell__left_7sqoe","right":"pure-cell__right_7sqoe","both":"pure-cell__both_7sqoe","focused":"pure-cell__focused_7sqoe"};
|
|
49
49
|
require('./index.css')
|
|
50
50
|
|
|
51
51
|
/* eslint-disable react/jsx-no-constructed-context-values */
|
|
@@ -65,7 +65,8 @@ declare const PureCell: React.ForwardRefExoticComponent<PureProps & React.RefAtt
|
|
|
65
65
|
Text: React.FC<{
|
|
66
66
|
children?: React.ReactNode;
|
|
67
67
|
rowLimit?: 1 | 2 | undefined;
|
|
68
|
-
view: "component" | "primary-small";
|
|
68
|
+
view: "component" | "primary-large" | "primary-medium" | "primary-small";
|
|
69
|
+
titleWeight?: "bold" | "regular" | undefined;
|
|
69
70
|
titleColor: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative";
|
|
70
71
|
value?: React.ReactNode;
|
|
71
72
|
valueColor?: "link" | "primary" | "secondary" | "tertiary" | "disabled" | "accent" | "attention" | "positive" | "tertiary-inverted" | "primary-inverted" | "secondary-inverted" | "negative" | undefined;
|
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-97272d9b.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-c31400ee.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-c31400ee.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_auu0z","none":"pure-cell__none_auu0z","default":"pure-cell__default_auu0z","addonPadding":"pure-cell__addonPadding_auu0z","top":"pure-cell__top_auu0z","center":"pure-cell__center_auu0z","bottom":"pure-cell__bottom_auu0z"};
|
|
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));
|