@alfalab/core-components-pure-cell 6.0.3 → 6.0.4
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.d.ts +34 -36
- package/component.js.map +1 -1
- package/components/addon/component.d.ts +1 -1
- package/components/addon/index.css +12 -12
- package/components/addon/index.module.css.js +1 -1
- package/components/amount/component.d.ts +1 -1
- package/components/amount/component.js.map +1 -1
- package/components/amount/index.css +3 -3
- package/components/amount/index.module.css.js +1 -1
- package/components/amount/index.module.css.js.map +1 -1
- package/components/amount-title/component.d.ts +1 -1
- package/components/amount-title/component.js.map +1 -1
- package/components/amount-title/index.css +13 -13
- package/components/amount-title/index.module.css.js +1 -1
- package/components/amount-title/index.module.css.js.map +1 -1
- package/components/category/component.d.ts +1 -1
- package/components/category/index.css +4 -4
- package/components/category/index.module.css.js +1 -1
- package/components/category/index.module.css.js.map +1 -1
- package/components/content/component.d.ts +1 -1
- package/components/content/index.css +2 -2
- package/components/content/index.module.css.js +1 -1
- package/components/content/index.module.css.js.map +1 -1
- package/components/footer/component.d.ts +1 -1
- package/components/footer/index.css +3 -3
- package/components/footer/index.module.css.js +1 -1
- package/components/footer/index.module.css.js.map +1 -1
- package/components/footer-button/component.d.ts +3 -3
- package/components/footer-button/index.css +1 -1
- package/components/footer-button/index.module.css.js +1 -1
- package/components/footer-button/index.module.css.js.map +1 -1
- package/components/footer-text/component.d.ts +1 -1
- package/components/graphics/component.d.ts +1 -1
- package/components/graphics/index.css +19 -19
- package/components/graphics/index.module.css.js +1 -1
- package/components/main/component.d.ts +1 -1
- package/components/main/index.css +6 -6
- package/components/main/index.module.css.js +1 -1
- package/components/text/component.d.ts +1 -1
- package/components/text/index.css +6 -6
- package/components/text/index.module.css.js +1 -1
- package/components/text/index.module.css.js.map +1 -1
- package/components/types.d.ts +12 -12
- package/components/typesProps.d.ts +1 -1
- package/context.d.ts +1 -2
- package/cssm/component.d.ts +33 -35
- package/cssm/component.js.map +1 -1
- package/cssm/components/addon/component.d.ts +1 -1
- package/cssm/components/amount/component.d.ts +1 -1
- package/cssm/components/amount/component.js.map +1 -1
- package/cssm/components/amount-title/component.d.ts +1 -1
- package/cssm/components/amount-title/component.js.map +1 -1
- package/cssm/components/category/component.d.ts +1 -1
- package/cssm/components/content/component.d.ts +1 -1
- package/cssm/components/footer/component.d.ts +1 -1
- package/cssm/components/footer-button/component.d.ts +2 -2
- package/cssm/components/footer-text/component.d.ts +1 -1
- package/cssm/components/graphics/component.d.ts +1 -1
- package/cssm/components/main/component.d.ts +1 -1
- package/cssm/components/text/component.d.ts +1 -1
- package/cssm/components/types.d.ts +12 -12
- package/cssm/components/typesProps.d.ts +1 -1
- package/cssm/context.d.ts +1 -2
- package/esm/component.d.ts +33 -35
- package/esm/component.js.map +1 -1
- package/esm/components/addon/component.d.ts +1 -1
- package/esm/components/addon/index.css +12 -12
- package/esm/components/addon/index.module.css.js +1 -1
- package/esm/components/amount/component.d.ts +1 -1
- package/esm/components/amount/component.js.map +1 -1
- package/esm/components/amount/index.css +3 -3
- package/esm/components/amount/index.module.css.js +1 -1
- package/esm/components/amount/index.module.css.js.map +1 -1
- package/esm/components/amount-title/component.d.ts +1 -1
- package/esm/components/amount-title/component.js.map +1 -1
- package/esm/components/amount-title/index.css +13 -13
- package/esm/components/amount-title/index.module.css.js +1 -1
- package/esm/components/amount-title/index.module.css.js.map +1 -1
- package/esm/components/category/component.d.ts +1 -1
- package/esm/components/category/index.css +4 -4
- package/esm/components/category/index.module.css.js +1 -1
- package/esm/components/category/index.module.css.js.map +1 -1
- package/esm/components/content/component.d.ts +1 -1
- package/esm/components/content/index.css +2 -2
- package/esm/components/content/index.module.css.js +1 -1
- package/esm/components/content/index.module.css.js.map +1 -1
- package/esm/components/footer/component.d.ts +1 -1
- package/esm/components/footer/index.css +3 -3
- package/esm/components/footer/index.module.css.js +1 -1
- package/esm/components/footer/index.module.css.js.map +1 -1
- package/esm/components/footer-button/component.d.ts +2 -2
- package/esm/components/footer-button/index.css +1 -1
- package/esm/components/footer-button/index.module.css.js +1 -1
- package/esm/components/footer-button/index.module.css.js.map +1 -1
- package/esm/components/footer-text/component.d.ts +1 -1
- package/esm/components/graphics/component.d.ts +1 -1
- package/esm/components/graphics/index.css +19 -19
- package/esm/components/graphics/index.module.css.js +1 -1
- package/esm/components/main/component.d.ts +1 -1
- package/esm/components/main/index.css +6 -6
- package/esm/components/main/index.module.css.js +1 -1
- package/esm/components/text/component.d.ts +1 -1
- package/esm/components/text/index.css +6 -6
- package/esm/components/text/index.module.css.js +1 -1
- package/esm/components/text/index.module.css.js.map +1 -1
- package/esm/components/types.d.ts +12 -12
- package/esm/components/typesProps.d.ts +1 -1
- package/esm/context.d.ts +1 -2
- package/esm/index.css +28 -28
- package/esm/index.module.css.js +1 -1
- package/esm/index.module.css.js.map +1 -1
- package/index.css +28 -28
- package/index.module.css.js +1 -1
- package/index.module.css.js.map +1 -1
- package/modern/component.d.ts +33 -35
- package/modern/component.js.map +1 -1
- package/modern/components/addon/component.d.ts +1 -1
- package/modern/components/addon/index.css +12 -12
- package/modern/components/addon/index.module.css.js +1 -1
- package/modern/components/amount/component.d.ts +1 -1
- package/modern/components/amount/component.js.map +1 -1
- package/modern/components/amount/index.css +3 -3
- package/modern/components/amount/index.module.css.js +1 -1
- package/modern/components/amount/index.module.css.js.map +1 -1
- package/modern/components/amount-title/component.d.ts +1 -1
- package/modern/components/amount-title/component.js.map +1 -1
- package/modern/components/amount-title/index.css +13 -13
- package/modern/components/amount-title/index.module.css.js +1 -1
- package/modern/components/amount-title/index.module.css.js.map +1 -1
- package/modern/components/category/component.d.ts +1 -1
- package/modern/components/category/index.css +4 -4
- package/modern/components/category/index.module.css.js +1 -1
- package/modern/components/category/index.module.css.js.map +1 -1
- package/modern/components/content/component.d.ts +1 -1
- package/modern/components/content/index.css +2 -2
- package/modern/components/content/index.module.css.js +1 -1
- package/modern/components/content/index.module.css.js.map +1 -1
- package/modern/components/footer/component.d.ts +1 -1
- package/modern/components/footer/index.css +3 -3
- package/modern/components/footer/index.module.css.js +1 -1
- package/modern/components/footer/index.module.css.js.map +1 -1
- package/modern/components/footer-button/component.d.ts +2 -2
- package/modern/components/footer-button/index.css +1 -1
- package/modern/components/footer-button/index.module.css.js +1 -1
- package/modern/components/footer-button/index.module.css.js.map +1 -1
- package/modern/components/footer-text/component.d.ts +1 -1
- package/modern/components/graphics/component.d.ts +1 -1
- package/modern/components/graphics/index.css +19 -19
- package/modern/components/graphics/index.module.css.js +1 -1
- package/modern/components/main/component.d.ts +1 -1
- package/modern/components/main/index.css +6 -6
- package/modern/components/main/index.module.css.js +1 -1
- package/modern/components/text/component.d.ts +1 -1
- package/modern/components/text/index.css +6 -6
- package/modern/components/text/index.module.css.js +1 -1
- package/modern/components/text/index.module.css.js.map +1 -1
- package/modern/components/types.d.ts +12 -12
- package/modern/components/typesProps.d.ts +1 -1
- package/modern/context.d.ts +1 -2
- package/modern/index.css +28 -28
- package/modern/index.module.css.js +1 -1
- package/modern/index.module.css.js.map +1 -1
- package/moderncssm/component.d.ts +33 -35
- package/moderncssm/component.js.map +1 -1
- package/moderncssm/components/addon/component.d.ts +1 -1
- package/moderncssm/components/amount/component.d.ts +1 -1
- package/moderncssm/components/amount/component.js.map +1 -1
- package/moderncssm/components/amount-title/component.d.ts +1 -1
- package/moderncssm/components/amount-title/component.js.map +1 -1
- package/moderncssm/components/category/component.d.ts +1 -1
- package/moderncssm/components/content/component.d.ts +1 -1
- package/moderncssm/components/footer/component.d.ts +1 -1
- package/moderncssm/components/footer-button/component.d.ts +2 -2
- package/moderncssm/components/footer-text/component.d.ts +1 -1
- package/moderncssm/components/graphics/component.d.ts +1 -1
- package/moderncssm/components/main/component.d.ts +1 -1
- package/moderncssm/components/text/component.d.ts +1 -1
- package/moderncssm/components/types.d.ts +12 -12
- package/moderncssm/components/typesProps.d.ts +1 -1
- package/moderncssm/context.d.ts +1 -2
- package/package.json +7 -7
- package/src/components/amount/index.module.css +1 -1
- package/src/components/amount-title/index.module.css +1 -1
- package/src/components/category/index.module.css +1 -1
- package/src/components/content/index.module.css +1 -1
- package/src/components/footer/index.module.css +1 -1
- package/src/components/footer-button/index.module.css +1 -1
- package/src/components/text/index.module.css +1 -1
- package/src/index.module.css +1 -1
- package/src/vars.css +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"pure-
|
|
3
|
+
var styles = {"component":"pure-cell__component_1m1hp","horizontal":"pure-cell__horizontal_1m1hp"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/content/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/content/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.component {\n flex-basis: 100%;\n display: grid;\n grid-template-columns: 1fr auto;\n\n &.horizontal {\n /* for button */\n align-self: stretch;\n }\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,4BAA4B,CAAC,YAAY,CAAC,6BAA6B,CAAC;;;;"}
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
--gap-0: 0px;
|
|
4
4
|
--gap-8: var(--gap-xs);
|
|
5
5
|
}
|
|
6
|
-
.pure-
|
|
6
|
+
.pure-cell__component_hxfnw {
|
|
7
7
|
grid-column: 1/3;
|
|
8
8
|
display: grid;
|
|
9
9
|
grid-row-gap: var(--gap-8);
|
|
10
10
|
}
|
|
11
|
-
.pure-
|
|
11
|
+
.pure-cell__component_hxfnw.pure-cell__none_hxfnw {
|
|
12
12
|
margin-top: var(--gap-0);
|
|
13
13
|
}
|
|
14
|
-
.pure-
|
|
14
|
+
.pure-cell__component_hxfnw.pure-cell__default_hxfnw {
|
|
15
15
|
margin-top: var(--gap-8);
|
|
16
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"pure-
|
|
3
|
+
var styles = {"component":"pure-cell__component_hxfnw","none":"pure-cell__none_hxfnw","default":"pure-cell__default_hxfnw"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/footer/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/footer/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.component {\n grid-column: 1/3;\n display: grid;\n grid-row-gap: var(--gap-8);\n\n &.none {\n margin-top: var(--gap-0);\n }\n\n &.default {\n margin-top: var(--gap-8);\n }\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,4BAA4B,CAAC,MAAM,CAAC,uBAAuB,CAAC,SAAS,CAAC,0BAA0B,CAAC;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { type AnchorHTMLAttributes, type ButtonHTMLAttributes } from 'react';
|
|
2
2
|
import { type ButtonProps } from '@alfalab/core-components-button/esm';
|
|
3
|
-
|
|
3
|
+
type ComponentProps = Omit<ButtonProps, 'dataTestId'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Идентификатор для систем автоматизированного тестирования.
|
|
6
6
|
* Используется модификатор -button
|
|
7
7
|
*/
|
|
8
8
|
dataTestId?: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type FooterButtonProps = ComponentProps & Partial<AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
11
11
|
export declare const FooterButton: React.ForwardRefExoticComponent<FooterButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
12
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/footer-button/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/footer-button/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.component {\n justify-self: start;\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,4BAA4B,CAAC;;;;"}
|
|
@@ -18,56 +18,56 @@
|
|
|
18
18
|
--pure-cell-clickable-area-hover-opacity: 1;
|
|
19
19
|
--pure-cell-clickable-area-active-opacity: 1;
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_7yzq4 {
|
|
22
22
|
display: inline-flex;
|
|
23
23
|
flex-basis: auto;
|
|
24
24
|
}
|
|
25
|
-
.pure-
|
|
25
|
+
.pure-cell__top_7yzq4 {
|
|
26
26
|
align-self: flex-start;
|
|
27
27
|
}
|
|
28
|
-
.pure-
|
|
28
|
+
.pure-cell__center_7yzq4 {
|
|
29
29
|
align-self: center;
|
|
30
30
|
}
|
|
31
|
-
.pure-
|
|
31
|
+
.pure-cell__bottom_7yzq4 {
|
|
32
32
|
align-self: flex-end;
|
|
33
33
|
}
|
|
34
|
-
.pure-
|
|
34
|
+
.pure-cell__horizontal_7yzq4.pure-cell__none_7yzq4:not(:last-child) {
|
|
35
35
|
margin-right: var(--gap-0);
|
|
36
36
|
}
|
|
37
|
-
.pure-
|
|
37
|
+
.pure-cell__horizontal_7yzq4.pure-cell__max_7yzq4:not(:last-child) {
|
|
38
38
|
margin-right: var(--gap-24);
|
|
39
39
|
}
|
|
40
|
-
.pure-
|
|
40
|
+
.pure-cell__horizontal_7yzq4.pure-cell__airy_7yzq4:not(:last-child) {
|
|
41
41
|
margin-right: var(--gap-16);
|
|
42
42
|
}
|
|
43
|
-
.pure-
|
|
43
|
+
.pure-cell__horizontal_7yzq4.pure-cell__default_7yzq4:not(:last-child) {
|
|
44
44
|
margin-right: var(--gap-12);
|
|
45
45
|
}
|
|
46
|
-
.pure-
|
|
46
|
+
.pure-cell__horizontal_7yzq4.pure-cell__compact_7yzq4:not(:last-child) {
|
|
47
47
|
margin-right: var(--gap-8);
|
|
48
48
|
}
|
|
49
|
-
.pure-
|
|
49
|
+
.pure-cell__horizontal_7yzq4.pure-cell__tiny_7yzq4:not(:last-child) {
|
|
50
50
|
margin-right: var(--gap-4);
|
|
51
51
|
}
|
|
52
|
-
.pure-
|
|
52
|
+
.pure-cell__vertical_7yzq4.pure-cell__none_7yzq4:not(:last-child) {
|
|
53
53
|
margin-bottom: var(--gap-0);
|
|
54
54
|
}
|
|
55
|
-
.pure-
|
|
55
|
+
.pure-cell__vertical_7yzq4.pure-cell__max_7yzq4:not(:last-child) {
|
|
56
56
|
margin-bottom: var(--gap-24);
|
|
57
57
|
}
|
|
58
|
-
.pure-
|
|
58
|
+
.pure-cell__vertical_7yzq4.pure-cell__airy_7yzq4:not(:last-child) {
|
|
59
59
|
margin-bottom: var(--gap-16);
|
|
60
60
|
}
|
|
61
|
-
.pure-
|
|
61
|
+
.pure-cell__vertical_7yzq4.pure-cell__default_7yzq4:not(:last-child) {
|
|
62
62
|
margin-bottom: var(--gap-12);
|
|
63
63
|
}
|
|
64
|
-
.pure-
|
|
64
|
+
.pure-cell__vertical_7yzq4.pure-cell__compact_7yzq4:not(:last-child) {
|
|
65
65
|
margin-bottom: var(--gap-8);
|
|
66
66
|
}
|
|
67
|
-
.pure-
|
|
67
|
+
.pure-cell__vertical_7yzq4.pure-cell__tiny_7yzq4:not(:last-child) {
|
|
68
68
|
margin-bottom: var(--gap-4);
|
|
69
69
|
}
|
|
70
|
-
.pure-
|
|
70
|
+
.pure-cell__button_7yzq4 {
|
|
71
71
|
-webkit-tap-highlight-color: transparent;
|
|
72
72
|
box-sizing: border-box;
|
|
73
73
|
background-color: transparent;
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
transition: opacity 0.15s ease-in-out;
|
|
91
91
|
min-width: auto;
|
|
92
92
|
}
|
|
93
|
-
.pure-
|
|
93
|
+
.pure-cell__button_7yzq4:hover {
|
|
94
94
|
opacity: var(--pure-cell-clickable-area-hover-opacity);
|
|
95
95
|
}
|
|
96
|
-
.pure-
|
|
96
|
+
.pure-cell__button_7yzq4:active {
|
|
97
97
|
opacity: var(--pure-cell-clickable-area-active-opacity);
|
|
98
98
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"pure-
|
|
3
|
+
var styles = {"component":"pure-cell__component_7yzq4","top":"pure-cell__top_7yzq4","center":"pure-cell__center_7yzq4","bottom":"pure-cell__bottom_7yzq4","horizontal":"pure-cell__horizontal_7yzq4","none":"pure-cell__none_7yzq4","max":"pure-cell__max_7yzq4","airy":"pure-cell__airy_7yzq4","default":"pure-cell__default_7yzq4","compact":"pure-cell__compact_7yzq4","tiny":"pure-cell__tiny_7yzq4","vertical":"pure-cell__vertical_7yzq4","button":"pure-cell__button_7yzq4"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -10,22 +10,22 @@
|
|
|
10
10
|
--pure-cell-clickable-area-hover-opacity: 1;
|
|
11
11
|
--pure-cell-clickable-area-active-opacity: 1;
|
|
12
12
|
}
|
|
13
|
-
.pure-
|
|
13
|
+
.pure-cell__component_1704d {
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
align-self: center;
|
|
17
17
|
white-space: pre-line;
|
|
18
18
|
}
|
|
19
|
-
.pure-
|
|
19
|
+
.pure-cell__component_1704d.pure-cell__vertical_1704d {
|
|
20
20
|
grid-row-gap: var(--gap-2);
|
|
21
21
|
justify-content: center;
|
|
22
22
|
align-items: center;
|
|
23
23
|
text-align: center;
|
|
24
24
|
}
|
|
25
|
-
.pure-
|
|
25
|
+
.pure-cell__component_1704d.pure-cell__reverse_1704d {
|
|
26
26
|
flex-direction: column-reverse;
|
|
27
27
|
}
|
|
28
|
-
.pure-
|
|
28
|
+
.pure-cell__component_1704d.pure-cell__button_1704d {
|
|
29
29
|
-webkit-tap-highlight-color: transparent;
|
|
30
30
|
box-sizing: border-box;
|
|
31
31
|
background-color: transparent;
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
transition: opacity 0.15s ease-in-out;
|
|
49
49
|
min-width: auto;
|
|
50
50
|
}
|
|
51
|
-
.pure-
|
|
51
|
+
.pure-cell__component_1704d.pure-cell__button_1704d:hover {
|
|
52
52
|
opacity: var(--pure-cell-clickable-area-hover-opacity);
|
|
53
53
|
}
|
|
54
|
-
.pure-
|
|
54
|
+
.pure-cell__component_1704d.pure-cell__button_1704d:active {
|
|
55
55
|
opacity: var(--pure-cell-clickable-area-active-opacity);
|
|
56
56
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"pure-
|
|
3
|
+
var styles = {"component":"pure-cell__component_1704d","vertical":"pure-cell__vertical_1704d","reverse":"pure-cell__reverse_1704d","button":"pure-cell__button_1704d"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -5,23 +5,23 @@
|
|
|
5
5
|
--gap-2: var(--gap-3xs);
|
|
6
6
|
--gap-16: var(--gap-m);
|
|
7
7
|
}
|
|
8
|
-
.pure-
|
|
8
|
+
.pure-cell__horizontal_t0f50 {
|
|
9
9
|
padding: var(--gap-2) var(--gap-0);
|
|
10
10
|
}
|
|
11
|
-
.pure-
|
|
11
|
+
.pure-cell__rowLimit1_t0f50 {
|
|
12
12
|
-webkit-line-clamp: 1;
|
|
13
13
|
display: -webkit-box;
|
|
14
14
|
-webkit-box-orient: vertical;
|
|
15
15
|
overflow: hidden;
|
|
16
16
|
word-break: break-all;
|
|
17
17
|
}
|
|
18
|
-
.pure-
|
|
18
|
+
.pure-cell__rowLimit2_t0f50 {
|
|
19
19
|
-webkit-line-clamp: 2;
|
|
20
20
|
display: -webkit-box;
|
|
21
21
|
-webkit-box-orient: vertical;
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
}
|
|
24
|
-
.pure-
|
|
24
|
+
.pure-cell__component_t0f50 {
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: row;
|
|
27
27
|
flex-wrap: nowrap;
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
margin: var(--gap-2) var(--gap-0);
|
|
30
30
|
word-break: break-word;
|
|
31
31
|
}
|
|
32
|
-
.pure-
|
|
32
|
+
.pure-cell__component_t0f50 .pure-cell__vertical_t0f50 {
|
|
33
33
|
justify-content: center;
|
|
34
34
|
}
|
|
35
|
-
.pure-
|
|
35
|
+
.pure-cell__title_t0f50 + .pure-cell__value_t0f50 {
|
|
36
36
|
margin-left: var(--gap-16);
|
|
37
37
|
flex-shrink: 0;
|
|
38
38
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"horizontal":"pure-
|
|
3
|
+
var styles = {"horizontal":"pure-cell__horizontal_t0f50","rowLimit1":"pure-cell__rowLimit1_t0f50","rowLimit2":"pure-cell__rowLimit2_t0f50","component":"pure-cell__component_t0f50","vertical":"pure-cell__vertical_t0f50","title":"pure-cell__title_t0f50","value":"pure-cell__value_t0f50"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/text/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/text/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.horizontal {\n padding: var(--gap-2) var(--gap-0);\n}\n\n.rowLimit1 {\n @mixin row_limit 1;\n word-break: break-all;\n}\n\n.rowLimit2 {\n @mixin row_limit 2;\n}\n\n.component {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n justify-content: space-between;\n margin: var(--gap-2) var(--gap-0);\n word-break: break-word;\n\n & .vertical {\n justify-content: center;\n }\n}\n\n.title + .value {\n margin-left: var(--gap-16);\n flex-shrink: 0;\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,YAAY,CAAC,6BAA6B,CAAC,WAAW,CAAC,4BAA4B,CAAC,WAAW,CAAC,4BAA4B,CAAC,WAAW,CAAC,4BAA4B,CAAC,UAAU,CAAC,2BAA2B,CAAC,OAAO,CAAC,wBAAwB,CAAC,OAAO,CAAC,wBAAwB,CAAC;;;;"}
|
|
@@ -6,16 +6,16 @@ import { type FooterButton } from './footer-button';
|
|
|
6
6
|
import { type FooterText } from './footer-text';
|
|
7
7
|
import { type Graphics } from './graphics';
|
|
8
8
|
import { type Text } from './text';
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
9
|
+
type TextElement = ReactElement<typeof Text>;
|
|
10
|
+
export type GraphicsElement = ReactElement<typeof Graphics> | boolean | null;
|
|
11
|
+
type AmountElement = ReactElement<typeof Amount>;
|
|
12
|
+
type AmountTitleElement = ReactElement<typeof AmountTitle>;
|
|
13
|
+
export type CommentElement = ReactElement<typeof Comment>;
|
|
14
|
+
type FooterButtonElement = ReactElement<typeof FooterButton>;
|
|
15
|
+
type FooterTitleElement = ReactElement<typeof FooterText>;
|
|
16
|
+
export type FooterElement = Array<ReactElement<FooterButtonElement> | FooterTitleElement | boolean | null> | CommentElement | boolean | null;
|
|
17
|
+
export type MainElement = Array<undefined | '' | boolean | null | TextElement | AmountElement | AmountTitleElement> | (TextElement | AmountElement | AmountTitleElement | boolean | null);
|
|
18
|
+
export type ContentElement = Array<MainElement | AddonElement | FooterElement> | MainElement;
|
|
19
|
+
export type AddonElement = Array<TextElement | ReactNode> | TextElement | ReactNode;
|
|
20
|
+
export type PureCellElement = Array<GraphicsElement | ContentElement> | ContentElement;
|
|
21
21
|
export {};
|
package/esm/context.d.ts
CHANGED
package/esm/index.css
CHANGED
|
@@ -18,20 +18,20 @@
|
|
|
18
18
|
:root {
|
|
19
19
|
--focus-color: var(--color-light-status-info);
|
|
20
20
|
}
|
|
21
|
-
.pure-
|
|
21
|
+
.pure-cell__component_9os8v {
|
|
22
22
|
text-align: inherit;
|
|
23
23
|
box-sizing: border-box;
|
|
24
24
|
}
|
|
25
|
-
.pure-
|
|
25
|
+
.pure-cell__horizontal_9os8v {
|
|
26
26
|
display: flex;
|
|
27
27
|
width: 100%;
|
|
28
28
|
}
|
|
29
|
-
.pure-
|
|
29
|
+
.pure-cell__vertical_9os8v {
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
}
|
|
34
|
-
.pure-
|
|
34
|
+
.pure-cell__button_9os8v {
|
|
35
35
|
font-family: inherit;
|
|
36
36
|
background: none;
|
|
37
37
|
border: 0;
|
|
@@ -40,80 +40,80 @@
|
|
|
40
40
|
transition: opacity 0.15s ease-in-out;
|
|
41
41
|
padding: var(--gap-0);
|
|
42
42
|
}
|
|
43
|
-
.pure-
|
|
43
|
+
.pure-cell__button_9os8v.pure-cell__hover_9os8v {
|
|
44
44
|
opacity: 0.8;
|
|
45
45
|
}
|
|
46
|
-
.pure-
|
|
46
|
+
.pure-cell__button_9os8v.pure-cell__active_9os8v {
|
|
47
47
|
opacity: 0.6;
|
|
48
48
|
}
|
|
49
|
-
.pure-
|
|
49
|
+
.pure-cell__link_9os8v {
|
|
50
50
|
text-decoration: none;
|
|
51
51
|
color: inherit;
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
transition: opacity 0.15s ease-in-out;
|
|
54
54
|
}
|
|
55
|
-
.pure-
|
|
55
|
+
.pure-cell__link_9os8v.pure-cell__hover_9os8v {
|
|
56
56
|
opacity: 0.8;
|
|
57
57
|
}
|
|
58
|
-
.pure-
|
|
58
|
+
.pure-cell__link_9os8v.pure-cell__active_9os8v {
|
|
59
59
|
opacity: 0.6;
|
|
60
60
|
}
|
|
61
|
-
.pure-
|
|
61
|
+
.pure-cell__none_9os8v {
|
|
62
62
|
padding: var(--gap-0);
|
|
63
63
|
}
|
|
64
|
-
.pure-
|
|
64
|
+
.pure-cell__airy_9os8v {
|
|
65
65
|
padding: var(--gap-16) var(--gap-0);
|
|
66
66
|
}
|
|
67
|
-
.pure-
|
|
67
|
+
.pure-cell__default_9os8v {
|
|
68
68
|
padding: var(--gap-12) var(--gap-0);
|
|
69
69
|
}
|
|
70
|
-
.pure-
|
|
70
|
+
.pure-cell__compact_9os8v {
|
|
71
71
|
padding: var(--gap-8) var(--gap-0);
|
|
72
72
|
}
|
|
73
|
-
.pure-
|
|
73
|
+
.pure-cell__tiny_9os8v {
|
|
74
74
|
padding: var(--gap-4) var(--gap-0);
|
|
75
75
|
}
|
|
76
|
-
.pure-
|
|
76
|
+
.pure-cell__noneTop_9os8v {
|
|
77
77
|
padding-top: var(--gap-0);
|
|
78
78
|
}
|
|
79
|
-
.pure-
|
|
79
|
+
.pure-cell__airyTop_9os8v {
|
|
80
80
|
padding-top: var(--gap-16);
|
|
81
81
|
}
|
|
82
|
-
.pure-
|
|
82
|
+
.pure-cell__defaultTop_9os8v {
|
|
83
83
|
padding-top: var(--gap-12);
|
|
84
84
|
}
|
|
85
|
-
.pure-
|
|
85
|
+
.pure-cell__compactTop_9os8v {
|
|
86
86
|
padding-top: var(--gap-8);
|
|
87
87
|
}
|
|
88
|
-
.pure-
|
|
88
|
+
.pure-cell__tinyTop_9os8v {
|
|
89
89
|
padding-top: var(--gap-4);
|
|
90
90
|
}
|
|
91
|
-
.pure-
|
|
91
|
+
.pure-cell__noneBottom_9os8v {
|
|
92
92
|
padding-bottom: var(--gap-0);
|
|
93
93
|
}
|
|
94
|
-
.pure-
|
|
94
|
+
.pure-cell__airyBottom_9os8v {
|
|
95
95
|
padding-bottom: var(--gap-16);
|
|
96
96
|
}
|
|
97
|
-
.pure-
|
|
97
|
+
.pure-cell__defaultBottom_9os8v {
|
|
98
98
|
padding-bottom: var(--gap-12);
|
|
99
99
|
}
|
|
100
|
-
.pure-
|
|
100
|
+
.pure-cell__compactBottom_9os8v {
|
|
101
101
|
padding-bottom: var(--gap-8);
|
|
102
102
|
}
|
|
103
|
-
.pure-
|
|
103
|
+
.pure-cell__tinyBottom_9os8v {
|
|
104
104
|
padding-bottom: var(--gap-4);
|
|
105
105
|
}
|
|
106
|
-
.pure-
|
|
106
|
+
.pure-cell__left_9os8v {
|
|
107
107
|
padding-left: var(--gap-16);
|
|
108
108
|
}
|
|
109
|
-
.pure-
|
|
109
|
+
.pure-cell__right_9os8v {
|
|
110
110
|
padding-right: var(--gap-16);
|
|
111
111
|
}
|
|
112
|
-
.pure-
|
|
112
|
+
.pure-cell__both_9os8v {
|
|
113
113
|
padding-right: var(--gap-16);
|
|
114
114
|
padding-left: var(--gap-16);
|
|
115
115
|
}
|
|
116
|
-
.pure-
|
|
116
|
+
.pure-cell__focused_9os8v {
|
|
117
117
|
outline: 2px solid var(--focus-color);
|
|
118
118
|
outline-offset: 2px;
|
|
119
119
|
}
|
package/esm/index.module.css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"pure-
|
|
3
|
+
var styles = {"component":"pure-cell__component_9os8v","horizontal":"pure-cell__horizontal_9os8v","vertical":"pure-cell__vertical_9os8v","button":"pure-cell__button_9os8v","hover":"pure-cell__hover_9os8v","active":"pure-cell__active_9os8v","link":"pure-cell__link_9os8v","none":"pure-cell__none_9os8v","airy":"pure-cell__airy_9os8v","default":"pure-cell__default_9os8v","compact":"pure-cell__compact_9os8v","tiny":"pure-cell__tiny_9os8v","noneTop":"pure-cell__noneTop_9os8v","airyTop":"pure-cell__airyTop_9os8v","defaultTop":"pure-cell__defaultTop_9os8v","compactTop":"pure-cell__compactTop_9os8v","tinyTop":"pure-cell__tinyTop_9os8v","noneBottom":"pure-cell__noneBottom_9os8v","airyBottom":"pure-cell__airyBottom_9os8v","defaultBottom":"pure-cell__defaultBottom_9os8v","compactBottom":"pure-cell__compactBottom_9os8v","tinyBottom":"pure-cell__tinyBottom_9os8v","left":"pure-cell__left_9os8v","right":"pure-cell__right_9os8v","both":"pure-cell__both_9os8v","focused":"pure-cell__focused_9os8v"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.component {\n text-align: unset;\n box-sizing: border-box;\n}\n\n.horizontal {\n display: flex;\n width: 100%;\n}\n\n.vertical {\n display: flex;\n align-items: center;\n flex-direction: column;\n}\n\n.button {\n font-family: inherit;\n background: none;\n border: 0;\n border-radius: var(--border-radius-0);\n cursor: pointer;\n transition: opacity 0.15s ease-in-out;\n padding: var(--gap-0);\n\n &.hover {\n opacity: 0.8;\n }\n\n &.active {\n opacity: 0.6;\n }\n}\n\n.link {\n text-decoration: none;\n color: inherit;\n cursor: pointer;\n transition: opacity 0.15s ease-in-out;\n\n &.hover {\n opacity: 0.8;\n }\n\n &.active {\n opacity: 0.6;\n }\n}\n.none {\n padding: var(--gap-0);\n}\n\n.airy {\n padding: var(--gap-16) var(--gap-0);\n}\n\n.default {\n padding: var(--gap-12) var(--gap-0);\n}\n\n.compact {\n padding: var(--gap-8) var(--gap-0);\n}\n\n.tiny {\n padding: var(--gap-4) var(--gap-0);\n}\n\n.noneTop {\n padding-top: var(--gap-0);\n}\n\n.airyTop {\n padding-top: var(--gap-16);\n}\n\n.defaultTop {\n padding-top: var(--gap-12);\n}\n\n.compactTop {\n padding-top: var(--gap-8);\n}\n\n.tinyTop {\n padding-top: var(--gap-4);\n}\n\n.noneBottom {\n padding-bottom: var(--gap-0);\n}\n\n.airyBottom {\n padding-bottom: var(--gap-16);\n}\n\n.defaultBottom {\n padding-bottom: var(--gap-12);\n}\n\n.compactBottom {\n padding-bottom: var(--gap-8);\n}\n\n.tinyBottom {\n padding-bottom: var(--gap-4);\n}\n\n.left {\n padding-left: var(--gap-16);\n}\n\n.right {\n padding-right: var(--gap-16);\n}\n\n.both {\n padding-right: var(--gap-16);\n padding-left: var(--gap-16);\n}\n\n.focused {\n @mixin focus-outline;\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,4BAA4B,CAAC,YAAY,CAAC,6BAA6B,CAAC,UAAU,CAAC,2BAA2B,CAAC,QAAQ,CAAC,yBAAyB,CAAC,OAAO,CAAC,wBAAwB,CAAC,QAAQ,CAAC,yBAAyB,CAAC,MAAM,CAAC,uBAAuB,CAAC,MAAM,CAAC,uBAAuB,CAAC,MAAM,CAAC,uBAAuB,CAAC,SAAS,CAAC,0BAA0B,CAAC,SAAS,CAAC,0BAA0B,CAAC,MAAM,CAAC,uBAAuB,CAAC,SAAS,CAAC,0BAA0B,CAAC,SAAS,CAAC,0BAA0B,CAAC,YAAY,CAAC,6BAA6B,CAAC,YAAY,CAAC,6BAA6B,CAAC,SAAS,CAAC,0BAA0B,CAAC,YAAY,CAAC,6BAA6B,CAAC,YAAY,CAAC,6BAA6B,CAAC,eAAe,CAAC,gCAAgC,CAAC,eAAe,CAAC,gCAAgC,CAAC,YAAY,CAAC,6BAA6B,CAAC,MAAM,CAAC,uBAAuB,CAAC,OAAO,CAAC,wBAAwB,CAAC,MAAM,CAAC,uBAAuB,CAAC,SAAS,CAAC,0BAA0B,CAAC;;;;"}
|