@alfalab/core-components-pure-cell 4.7.1 → 4.8.1
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/{esm/component-9cd60393.d.ts → component-21d7b687.d.ts} +11 -2
- package/{component-49e6db18.d.ts → component-81e75437.d.ts} +5 -1
- package/{component-49e6db18.js → component-81e75437.js} +21 -15
- package/component.js +1 -1
- package/components/addon/component.js +1 -1
- package/components/addon/index.css +10 -10
- package/components/addon/index.d.ts +1 -1
- package/components/addon/index.js +1 -1
- package/components/amount/component.js +1 -1
- package/components/amount/index.css +2 -2
- package/components/amount/index.d.ts +1 -1
- package/components/amount/index.js +1 -1
- package/components/amount-title/component.js +1 -1
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.d.ts +1 -1
- package/components/amount-title/index.js +1 -1
- package/components/category/component.js +1 -1
- package/components/category/index.css +5 -5
- package/components/category/index.d.ts +1 -1
- package/components/category/index.js +1 -1
- package/components/content/component.js +1 -1
- package/components/content/index.css +3 -3
- package/components/content/index.d.ts +1 -1
- package/components/content/index.js +1 -1
- package/components/footer/component.js +1 -1
- package/components/footer/index.css +4 -4
- package/components/footer/index.d.ts +1 -1
- package/components/footer/index.js +1 -1
- package/components/footer-button/component.js +1 -1
- package/components/footer-button/index.css +2 -2
- package/components/footer-button/index.d.ts +1 -1
- package/components/footer-button/index.js +1 -1
- package/components/footer-text/component.js +1 -1
- package/components/footer-text/index.d.ts +1 -1
- package/components/footer-text/index.js +1 -1
- package/components/graphics/component.js +1 -1
- package/components/graphics/index.css +30 -6
- package/components/graphics/index.d.ts +1 -1
- package/components/graphics/index.js +1 -1
- package/components/main/component.js +1 -1
- package/components/main/index.css +4 -4
- package/components/main/index.d.ts +1 -1
- package/components/main/index.js +1 -1
- package/components/text/component.js +1 -1
- package/components/text/index.css +7 -7
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +1 -1
- package/{esm/component-5eb318e0.d.ts → cssm/component-063660c0.d.ts} +5 -1
- package/cssm/{component-4445c77d.js → component-063660c0.js} +10 -4
- package/cssm/{component-9cd60393.d.ts → component-21d7b687.d.ts} +11 -2
- package/cssm/component.js +1 -1
- package/cssm/components/addon/component.js +1 -1
- package/cssm/components/addon/index.d.ts +1 -1
- package/cssm/components/addon/index.js +1 -1
- package/cssm/components/amount/component.js +1 -1
- package/cssm/components/amount/index.d.ts +1 -1
- package/cssm/components/amount/index.js +1 -1
- package/cssm/components/amount-title/component.js +1 -1
- package/cssm/components/amount-title/index.d.ts +1 -1
- package/cssm/components/amount-title/index.js +1 -1
- package/cssm/components/category/component.js +1 -1
- package/cssm/components/category/index.d.ts +1 -1
- package/cssm/components/category/index.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/footer/component.js +1 -1
- package/cssm/components/footer/index.d.ts +1 -1
- package/cssm/components/footer/index.js +1 -1
- package/cssm/components/footer-button/component.js +1 -1
- package/cssm/components/footer-button/index.d.ts +1 -1
- package/cssm/components/footer-button/index.js +1 -1
- package/cssm/components/footer-text/component.js +1 -1
- package/cssm/components/footer-text/index.d.ts +1 -1
- package/cssm/components/footer-text/index.js +1 -1
- package/cssm/components/graphics/component.js +1 -1
- package/cssm/components/graphics/index.d.ts +1 -1
- package/cssm/components/graphics/index.js +1 -1
- package/cssm/components/graphics/index.module.css +25 -1
- package/cssm/components/main/component.js +1 -1
- package/cssm/components/main/index.d.ts +1 -1
- package/cssm/components/main/index.js +1 -1
- package/cssm/components/text/component.js +1 -1
- package/cssm/components/text/index.d.ts +1 -1
- package/cssm/components/text/index.js +1 -1
- package/cssm/index.d.ts +2 -2
- package/cssm/index.js +1 -1
- package/cssm/index.module.css +25 -9
- package/{component-9cd60393.d.ts → esm/component-21d7b687.d.ts} +11 -2
- package/{modern/component-d1c071aa.d.ts → esm/component-6a644022.d.ts} +5 -1
- package/esm/{component-5eb318e0.js → component-6a644022.js} +21 -15
- package/esm/component.js +1 -1
- package/esm/components/addon/component.js +1 -1
- package/esm/components/addon/index.css +10 -10
- package/esm/components/addon/index.d.ts +1 -1
- package/esm/components/addon/index.js +1 -1
- package/esm/components/amount/component.js +1 -1
- package/esm/components/amount/index.css +2 -2
- package/esm/components/amount/index.d.ts +1 -1
- package/esm/components/amount/index.js +1 -1
- package/esm/components/amount-title/component.js +1 -1
- package/esm/components/amount-title/index.css +3 -3
- package/esm/components/amount-title/index.d.ts +1 -1
- package/esm/components/amount-title/index.js +1 -1
- package/esm/components/category/component.js +1 -1
- package/esm/components/category/index.css +5 -5
- package/esm/components/category/index.d.ts +1 -1
- package/esm/components/category/index.js +1 -1
- package/esm/components/content/component.js +1 -1
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/index.d.ts +1 -1
- package/esm/components/content/index.js +1 -1
- package/esm/components/footer/component.js +1 -1
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/index.d.ts +1 -1
- package/esm/components/footer/index.js +1 -1
- package/esm/components/footer-button/component.js +1 -1
- package/esm/components/footer-button/index.css +2 -2
- package/esm/components/footer-button/index.d.ts +1 -1
- package/esm/components/footer-button/index.js +1 -1
- package/esm/components/footer-text/component.js +1 -1
- package/esm/components/footer-text/index.d.ts +1 -1
- package/esm/components/footer-text/index.js +1 -1
- package/esm/components/graphics/component.js +1 -1
- package/esm/components/graphics/index.css +30 -6
- package/esm/components/graphics/index.d.ts +1 -1
- package/esm/components/graphics/index.js +1 -1
- package/esm/components/main/component.js +1 -1
- package/esm/components/main/index.css +4 -4
- package/esm/components/main/index.d.ts +1 -1
- package/esm/components/main/index.js +1 -1
- package/esm/components/text/component.js +1 -1
- package/esm/components/text/index.css +7 -7
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +1 -1
- package/esm/index.css +41 -25
- package/esm/index.d.ts +2 -2
- package/esm/index.js +1 -1
- package/index.css +41 -25
- package/index.d.ts +2 -2
- package/index.js +1 -1
- package/modern/{component-9cd60393.d.ts → component-21d7b687.d.ts} +11 -2
- package/{cssm/component-4445c77d.d.ts → modern/component-ef65ce67.d.ts} +5 -1
- package/modern/{component-d1c071aa.js → component-ef65ce67.js} +21 -15
- package/modern/component.js +1 -1
- package/modern/components/addon/component.js +1 -1
- package/modern/components/addon/index.css +10 -10
- package/modern/components/addon/index.d.ts +1 -1
- package/modern/components/addon/index.js +1 -1
- package/modern/components/amount/component.js +1 -1
- package/modern/components/amount/index.css +2 -2
- package/modern/components/amount/index.d.ts +1 -1
- package/modern/components/amount/index.js +1 -1
- package/modern/components/amount-title/component.js +1 -1
- package/modern/components/amount-title/index.css +3 -3
- package/modern/components/amount-title/index.d.ts +1 -1
- package/modern/components/amount-title/index.js +1 -1
- package/modern/components/category/component.js +1 -1
- package/modern/components/category/index.css +5 -5
- package/modern/components/category/index.d.ts +1 -1
- package/modern/components/category/index.js +1 -1
- package/modern/components/content/component.js +1 -1
- package/modern/components/content/index.css +3 -3
- package/modern/components/content/index.d.ts +1 -1
- package/modern/components/content/index.js +1 -1
- package/modern/components/footer/component.js +1 -1
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/index.d.ts +1 -1
- package/modern/components/footer/index.js +1 -1
- package/modern/components/footer-button/component.js +1 -1
- package/modern/components/footer-button/index.css +2 -2
- package/modern/components/footer-button/index.d.ts +1 -1
- package/modern/components/footer-button/index.js +1 -1
- package/modern/components/footer-text/component.js +1 -1
- package/modern/components/footer-text/index.d.ts +1 -1
- package/modern/components/footer-text/index.js +1 -1
- package/modern/components/graphics/component.js +1 -1
- package/modern/components/graphics/index.css +30 -6
- package/modern/components/graphics/index.d.ts +1 -1
- package/modern/components/graphics/index.js +1 -1
- package/modern/components/main/component.js +1 -1
- package/modern/components/main/index.css +4 -4
- package/modern/components/main/index.d.ts +1 -1
- package/modern/components/main/index.js +1 -1
- package/modern/components/text/component.js +1 -1
- package/modern/components/text/index.css +7 -7
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +1 -1
- package/modern/index.css +41 -25
- package/modern/index.d.ts +2 -2
- package/modern/index.js +1 -1
- package/package.json +4 -4
- package/src/component.tsx +26 -3
- package/src/components/graphics/component.tsx +19 -2
- package/src/components/graphics/index.module.css +43 -0
- package/src/components/text/component.tsx +7 -1
- package/src/index.module.css +41 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: bn8ss */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -12,15 +12,39 @@
|
|
|
12
12
|
/* Hard up */
|
|
13
13
|
} :root {
|
|
14
14
|
} :root {
|
|
15
|
+
--gap-2xs: 4px;
|
|
16
|
+
--gap-xs: 8px;
|
|
17
|
+
--gap-s: 12px;
|
|
18
|
+
--gap-m: 16px;
|
|
15
19
|
} :root {
|
|
16
20
|
} :root {
|
|
17
|
-
} .pure-
|
|
21
|
+
} .pure-cell__component_xhf99 {
|
|
18
22
|
display: inline-flex;
|
|
19
23
|
flex-basis: auto;
|
|
20
|
-
} .pure-
|
|
24
|
+
} .pure-cell__top_xhf99 {
|
|
21
25
|
align-self: flex-start;
|
|
22
|
-
} .pure-
|
|
26
|
+
} .pure-cell__center_xhf99 {
|
|
23
27
|
align-self: center;
|
|
24
|
-
} .pure-
|
|
28
|
+
} .pure-cell__bottom_xhf99 {
|
|
25
29
|
align-self: flex-end;
|
|
26
|
-
}
|
|
30
|
+
} .pure-cell__horizontal_xhf99:not(:last-child).pure-cell__none_xhf99 {
|
|
31
|
+
margin-right: 0;
|
|
32
|
+
} .pure-cell__horizontal_xhf99:not(:last-child).pure-cell__airy_xhf99 {
|
|
33
|
+
margin-right: var(--gap-m);
|
|
34
|
+
} .pure-cell__horizontal_xhf99:not(:last-child).pure-cell__default_xhf99 {
|
|
35
|
+
margin-right: var(--gap-s);
|
|
36
|
+
} .pure-cell__horizontal_xhf99:not(:last-child).pure-cell__compact_xhf99 {
|
|
37
|
+
margin-right: var(--gap-xs);
|
|
38
|
+
} .pure-cell__horizontal_xhf99:not(:last-child).pure-cell__tiny_xhf99 {
|
|
39
|
+
margin-right: var(--gap-2xs);
|
|
40
|
+
} .pure-cell__vertical_xhf99:not(:last-child).pure-cell__none_xhf99 {
|
|
41
|
+
margin-bottom: 0;
|
|
42
|
+
} .pure-cell__vertical_xhf99:not(:last-child).pure-cell__airy_xhf99 {
|
|
43
|
+
margin-bottom: var(--gap-m);
|
|
44
|
+
} .pure-cell__vertical_xhf99:not(:last-child).pure-cell__default_xhf99 {
|
|
45
|
+
margin-bottom: var(--gap-s);
|
|
46
|
+
} .pure-cell__vertical_xhf99:not(:last-child).pure-cell__compact_xhf99 {
|
|
47
|
+
margin-bottom: var(--gap-xs);
|
|
48
|
+
} .pure-cell__vertical_xhf99:not(:last-child).pure-cell__tiny_xhf99 {
|
|
49
|
+
margin-bottom: var(--gap-2xs);
|
|
50
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-6a644022";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { G as Graphics } from '../../component-
|
|
1
|
+
export { G as Graphics } from '../../component-6a644022.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: xaa7e */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
--gap-3xs: 2px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .pure-
|
|
18
|
+
} .pure-cell__component_19tfu {
|
|
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_19tfu.pure-cell__vertical_19tfu {
|
|
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_19tfu.pure-cell__reverse_19tfu {
|
|
33
33
|
flex-direction: column-reverse;
|
|
34
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-6a644022";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { M as Main } from '../../component-
|
|
1
|
+
export { M as Main } from '../../component-6a644022.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 524dt */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -16,29 +16,29 @@
|
|
|
16
16
|
--gap-m: 16px;
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
|
-
} .pure-
|
|
19
|
+
} .pure-cell__horizontal_1ima4 {
|
|
20
20
|
padding: var(--gap-3xs) 0;
|
|
21
|
-
} .pure-
|
|
21
|
+
} .pure-cell__rowLimit1_1ima4 {
|
|
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_1ima4 {
|
|
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_1ima4 {
|
|
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_1ima4 .pure-cell__vertical_1ima4 {
|
|
40
40
|
justify-content: center;
|
|
41
|
-
} .pure-
|
|
41
|
+
} .pure-cell__title_1ima4 + .pure-cell__value_1ima4 {
|
|
42
42
|
margin-left: var(--gap-m);
|
|
43
43
|
flex-shrink: 0;
|
|
44
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-6a644022";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { T as Text } from '../../component-
|
|
1
|
+
export { T as Text } from '../../component-6a644022.js';
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1qt6n */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-link: #2288fa; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -20,21 +20,17 @@
|
|
|
20
20
|
} :root {
|
|
21
21
|
} :root {
|
|
22
22
|
--focus-color: var(--color-light-border-link);
|
|
23
|
-
} .pure-
|
|
23
|
+
} .pure-cell__component_1vn59 {
|
|
24
24
|
text-align: unset;
|
|
25
25
|
box-sizing: border-box;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__horizontal_1vn59 {
|
|
27
27
|
display: flex;
|
|
28
|
-
width: 100
|
|
29
|
-
} .pure-
|
|
30
|
-
margin-right: var(--gap-m);
|
|
31
|
-
} .pure-cell__vertical_a0jto {
|
|
28
|
+
width: 100%;
|
|
29
|
+
} .pure-cell__vertical_1vn59 {
|
|
32
30
|
display: flex;
|
|
33
31
|
align-items: center;
|
|
34
|
-
flex-direction: column
|
|
35
|
-
} .pure-
|
|
36
|
-
margin-bottom: var(--gap-s);
|
|
37
|
-
} .pure-cell__button_a0jto {
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
} .pure-cell__button_1vn59 {
|
|
38
34
|
font-family: inherit;
|
|
39
35
|
background: none;
|
|
40
36
|
border: 0;
|
|
@@ -42,37 +38,57 @@
|
|
|
42
38
|
cursor: pointer;
|
|
43
39
|
transition: opacity 0.15s ease-in-out;
|
|
44
40
|
padding: 0
|
|
45
|
-
} .pure-
|
|
41
|
+
} .pure-cell__button_1vn59:hover {
|
|
46
42
|
opacity: 0.8;
|
|
47
|
-
} .pure-
|
|
43
|
+
} .pure-cell__button_1vn59:active {
|
|
48
44
|
opacity: 0.6;
|
|
49
|
-
} .pure-
|
|
45
|
+
} .pure-cell__link_1vn59 {
|
|
50
46
|
text-decoration: none;
|
|
51
47
|
color: inherit;
|
|
52
48
|
cursor: pointer;
|
|
53
49
|
transition: opacity 0.15s ease-in-out
|
|
54
|
-
} .pure-
|
|
50
|
+
} .pure-cell__link_1vn59:hover {
|
|
55
51
|
opacity: 0.8;
|
|
56
|
-
} .pure-
|
|
52
|
+
} .pure-cell__link_1vn59:active {
|
|
57
53
|
opacity: 0.6;
|
|
58
|
-
} .pure-
|
|
54
|
+
} .pure-cell__none_1vn59 {
|
|
59
55
|
padding: 0;
|
|
60
|
-
} .pure-
|
|
56
|
+
} .pure-cell__airy_1vn59 {
|
|
61
57
|
padding: var(--gap-m) 0;
|
|
62
|
-
} .pure-
|
|
58
|
+
} .pure-cell__default_1vn59 {
|
|
63
59
|
padding: var(--gap-s) 0;
|
|
64
|
-
} .pure-
|
|
60
|
+
} .pure-cell__compact_1vn59 {
|
|
65
61
|
padding: var(--gap-xs) 0;
|
|
66
|
-
} .pure-
|
|
62
|
+
} .pure-cell__tiny_1vn59 {
|
|
67
63
|
padding: var(--gap-2xs) 0;
|
|
68
|
-
} .pure-
|
|
64
|
+
} .pure-cell__noneTop_1vn59 {
|
|
65
|
+
padding-top: 0;
|
|
66
|
+
} .pure-cell__airyTop_1vn59 {
|
|
67
|
+
padding-top: var(--gap-m);
|
|
68
|
+
} .pure-cell__defaultTop_1vn59 {
|
|
69
|
+
padding-top: var(--gap-s);
|
|
70
|
+
} .pure-cell__compactTop_1vn59 {
|
|
71
|
+
padding-top: var(--gap-xs);
|
|
72
|
+
} .pure-cell__tinyTop_1vn59 {
|
|
73
|
+
padding-top: var(--gap-2xs);
|
|
74
|
+
} .pure-cell__noneBottom_1vn59 {
|
|
75
|
+
padding-bottom: 0;
|
|
76
|
+
} .pure-cell__airyBottom_1vn59 {
|
|
77
|
+
padding-bottom: var(--gap-m);
|
|
78
|
+
} .pure-cell__defaultBottom_1vn59 {
|
|
79
|
+
padding-bottom: var(--gap-s);
|
|
80
|
+
} .pure-cell__compactBottom_1vn59 {
|
|
81
|
+
padding-bottom: var(--gap-xs);
|
|
82
|
+
} .pure-cell__tinyBottom_1vn59 {
|
|
83
|
+
padding-bottom: var(--gap-2xs);
|
|
84
|
+
} .pure-cell__left_1vn59 {
|
|
69
85
|
padding-left: var(--gap-m);
|
|
70
|
-
} .pure-
|
|
86
|
+
} .pure-cell__right_1vn59 {
|
|
71
87
|
padding-right: var(--gap-m);
|
|
72
|
-
} .pure-
|
|
88
|
+
} .pure-cell__both_1vn59 {
|
|
73
89
|
padding-right: var(--gap-m);
|
|
74
90
|
padding-left: var(--gap-m);
|
|
75
|
-
} .pure-
|
|
91
|
+
} .pure-cell__focused_1vn59 {
|
|
76
92
|
outline: 2px solid var(--focus-color);
|
|
77
93
|
outline-offset: 2px;
|
|
78
94
|
}
|
package/esm/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PureCell } from "./component-
|
|
2
|
-
export type { PureCellProps } from "./component-
|
|
1
|
+
export { PureCell } from "./component-21d7b687";
|
|
2
|
+
export type { PureCellProps } from "./component-21d7b687";
|
package/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { P as PureCell } from './component-
|
|
1
|
+
export { P as PureCell } from './component-6a644022.js';
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1qt6n */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-link: #2288fa; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -20,21 +20,17 @@
|
|
|
20
20
|
} :root {
|
|
21
21
|
} :root {
|
|
22
22
|
--focus-color: var(--color-light-border-link);
|
|
23
|
-
} .pure-
|
|
23
|
+
} .pure-cell__component_1vn59 {
|
|
24
24
|
text-align: unset;
|
|
25
25
|
box-sizing: border-box;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__horizontal_1vn59 {
|
|
27
27
|
display: flex;
|
|
28
|
-
width: 100
|
|
29
|
-
} .pure-
|
|
30
|
-
margin-right: var(--gap-m);
|
|
31
|
-
} .pure-cell__vertical_a0jto {
|
|
28
|
+
width: 100%;
|
|
29
|
+
} .pure-cell__vertical_1vn59 {
|
|
32
30
|
display: flex;
|
|
33
31
|
align-items: center;
|
|
34
|
-
flex-direction: column
|
|
35
|
-
} .pure-
|
|
36
|
-
margin-bottom: var(--gap-s);
|
|
37
|
-
} .pure-cell__button_a0jto {
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
} .pure-cell__button_1vn59 {
|
|
38
34
|
font-family: inherit;
|
|
39
35
|
background: none;
|
|
40
36
|
border: 0;
|
|
@@ -42,37 +38,57 @@
|
|
|
42
38
|
cursor: pointer;
|
|
43
39
|
transition: opacity 0.15s ease-in-out;
|
|
44
40
|
padding: 0
|
|
45
|
-
} .pure-
|
|
41
|
+
} .pure-cell__button_1vn59:hover {
|
|
46
42
|
opacity: 0.8;
|
|
47
|
-
} .pure-
|
|
43
|
+
} .pure-cell__button_1vn59:active {
|
|
48
44
|
opacity: 0.6;
|
|
49
|
-
} .pure-
|
|
45
|
+
} .pure-cell__link_1vn59 {
|
|
50
46
|
text-decoration: none;
|
|
51
47
|
color: inherit;
|
|
52
48
|
cursor: pointer;
|
|
53
49
|
transition: opacity 0.15s ease-in-out
|
|
54
|
-
} .pure-
|
|
50
|
+
} .pure-cell__link_1vn59:hover {
|
|
55
51
|
opacity: 0.8;
|
|
56
|
-
} .pure-
|
|
52
|
+
} .pure-cell__link_1vn59:active {
|
|
57
53
|
opacity: 0.6;
|
|
58
|
-
} .pure-
|
|
54
|
+
} .pure-cell__none_1vn59 {
|
|
59
55
|
padding: 0;
|
|
60
|
-
} .pure-
|
|
56
|
+
} .pure-cell__airy_1vn59 {
|
|
61
57
|
padding: var(--gap-m) 0;
|
|
62
|
-
} .pure-
|
|
58
|
+
} .pure-cell__default_1vn59 {
|
|
63
59
|
padding: var(--gap-s) 0;
|
|
64
|
-
} .pure-
|
|
60
|
+
} .pure-cell__compact_1vn59 {
|
|
65
61
|
padding: var(--gap-xs) 0;
|
|
66
|
-
} .pure-
|
|
62
|
+
} .pure-cell__tiny_1vn59 {
|
|
67
63
|
padding: var(--gap-2xs) 0;
|
|
68
|
-
} .pure-
|
|
64
|
+
} .pure-cell__noneTop_1vn59 {
|
|
65
|
+
padding-top: 0;
|
|
66
|
+
} .pure-cell__airyTop_1vn59 {
|
|
67
|
+
padding-top: var(--gap-m);
|
|
68
|
+
} .pure-cell__defaultTop_1vn59 {
|
|
69
|
+
padding-top: var(--gap-s);
|
|
70
|
+
} .pure-cell__compactTop_1vn59 {
|
|
71
|
+
padding-top: var(--gap-xs);
|
|
72
|
+
} .pure-cell__tinyTop_1vn59 {
|
|
73
|
+
padding-top: var(--gap-2xs);
|
|
74
|
+
} .pure-cell__noneBottom_1vn59 {
|
|
75
|
+
padding-bottom: 0;
|
|
76
|
+
} .pure-cell__airyBottom_1vn59 {
|
|
77
|
+
padding-bottom: var(--gap-m);
|
|
78
|
+
} .pure-cell__defaultBottom_1vn59 {
|
|
79
|
+
padding-bottom: var(--gap-s);
|
|
80
|
+
} .pure-cell__compactBottom_1vn59 {
|
|
81
|
+
padding-bottom: var(--gap-xs);
|
|
82
|
+
} .pure-cell__tinyBottom_1vn59 {
|
|
83
|
+
padding-bottom: var(--gap-2xs);
|
|
84
|
+
} .pure-cell__left_1vn59 {
|
|
69
85
|
padding-left: var(--gap-m);
|
|
70
|
-
} .pure-
|
|
86
|
+
} .pure-cell__right_1vn59 {
|
|
71
87
|
padding-right: var(--gap-m);
|
|
72
|
-
} .pure-
|
|
88
|
+
} .pure-cell__both_1vn59 {
|
|
73
89
|
padding-right: var(--gap-m);
|
|
74
90
|
padding-left: var(--gap-m);
|
|
75
|
-
} .pure-
|
|
91
|
+
} .pure-cell__focused_1vn59 {
|
|
76
92
|
outline: 2px solid var(--focus-color);
|
|
77
93
|
outline-offset: 2px;
|
|
78
94
|
}
|
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PureCell } from "./component-
|
|
2
|
-
export type { PureCellProps } from "./component-
|
|
1
|
+
export { PureCell } from "./component-21d7b687";
|
|
2
|
+
export type { PureCellProps } from "./component-21d7b687";
|
package/index.js
CHANGED
|
@@ -25,7 +25,16 @@ type BasePureCellProps = {
|
|
|
25
25
|
/**
|
|
26
26
|
* Вертикальные отступы
|
|
27
27
|
*/
|
|
28
|
-
verticalPadding?: 'airy' | 'default' | 'compact' | 'tiny' | 'none'
|
|
28
|
+
verticalPadding?: 'airy' | 'default' | 'compact' | 'tiny' | 'none' | {
|
|
29
|
+
/**
|
|
30
|
+
* Вертикальный отступ сверху
|
|
31
|
+
*/
|
|
32
|
+
top?: 'airy' | 'default' | 'compact' | 'tiny' | 'none';
|
|
33
|
+
/**
|
|
34
|
+
* Вертикальный отступ снизу
|
|
35
|
+
*/
|
|
36
|
+
bottom?: 'airy' | 'default' | 'compact' | 'tiny' | 'none';
|
|
37
|
+
};
|
|
29
38
|
/**
|
|
30
39
|
* Горизонтальные отступы
|
|
31
40
|
*/
|
|
@@ -67,7 +76,7 @@ declare const PureCell: React.ForwardRefExoticComponent<PureCellProps & React.Re
|
|
|
67
76
|
Text: React.FC<{
|
|
68
77
|
children?: React.ReactNode;
|
|
69
78
|
rowLimit?: 1 | 2 | undefined;
|
|
70
|
-
view?: "component" | "primary-large" | "primary-medium" | "primary-small" | "component-primary" | undefined;
|
|
79
|
+
view?: "component" | "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "component-primary" | undefined;
|
|
71
80
|
titleWeight?: "bold" | "regular" | undefined;
|
|
72
81
|
titleColor: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark";
|
|
73
82
|
value?: React.ReactNode;
|
|
@@ -39,6 +39,10 @@ type Props$0 = {
|
|
|
39
39
|
* Вертикальное выравнивание
|
|
40
40
|
*/
|
|
41
41
|
verticalAlign?: "top" | "center" | "bottom";
|
|
42
|
+
/**
|
|
43
|
+
* Отступ от графики
|
|
44
|
+
*/
|
|
45
|
+
graphicPadding?: "airy" | "default" | "compact" | "tiny" | "none";
|
|
42
46
|
};
|
|
43
47
|
declare const Graphics: React.FC<Props$0>;
|
|
44
48
|
type Props$1 = {
|
|
@@ -184,7 +188,7 @@ type Props$8 = {
|
|
|
184
188
|
/**
|
|
185
189
|
* Размер текста
|
|
186
190
|
*/
|
|
187
|
-
view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'component' | 'component-primary';
|
|
191
|
+
view?: 'primary-large' | 'primary-medium' | 'primary-small' | 'component' | 'component-primary' | 'secondary-large';
|
|
188
192
|
/**
|
|
189
193
|
* Толщина title
|
|
190
194
|
*/
|
|
@@ -8,7 +8,7 @@ import { Amount as Amount$1 } from '@alfalab/core-components-amount/modern';
|
|
|
8
8
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
9
9
|
import { Button } from '@alfalab/core-components-button/modern';
|
|
10
10
|
|
|
11
|
-
const styles$a = {"component":"pure-
|
|
11
|
+
const styles$a = {"component":"pure-cell__component_1769n","none":"pure-cell__none_1769n","default":"pure-cell__default_1769n","addonPadding":"pure-cell__addonPadding_1769n","auto":"pure-cell__auto_1769n","top":"pure-cell__top_1769n","center":"pure-cell__center_1769n","bottom":"pure-cell__bottom_1769n"};
|
|
12
12
|
require('./components/addon/index.css')
|
|
13
13
|
|
|
14
14
|
const Addon = ({ children, verticalAlign = 'top', addonPadding = 'default', dataTestId, }) => {
|
|
@@ -16,7 +16,7 @@ const Addon = ({ children, verticalAlign = 'top', addonPadding = 'default', data
|
|
|
16
16
|
return (React.createElement("section", { className: cn(styles$a.component, styles$a[addonPadding], styles$a[verticalAlign]), "data-test-id": getDataTestId(dataTestId || pureCellContext.dataTestId, 'addon') }, children));
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
const styles$9 = {"component":"pure-
|
|
19
|
+
const styles$9 = {"component":"pure-cell__component_1loxt"};
|
|
20
20
|
require('./components/amount/index.css')
|
|
21
21
|
|
|
22
22
|
const Amount = ({ weight = 'normal', textView = 'component', color = 'primary', minority, minorUnits = 100, dataTestId, ...restProps }) => {
|
|
@@ -25,7 +25,7 @@ const Amount = ({ weight = 'normal', textView = 'component', color = 'primary',
|
|
|
25
25
|
React.createElement(Amount$1, { minority: minority || minorUnits, bold: weight === 'bold' ? 'full' : 'none', dataTestId: getDataTestId(dataTestId || pureCellContext.dataTestId, 'amount'), ...restProps })));
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
const styles$8 = {"component":"pure-
|
|
28
|
+
const styles$8 = {"component":"pure-cell__component_rcgyg","weight":"pure-cell__weight_rcgyg"};
|
|
29
29
|
require('./components/amount-title/index.css')
|
|
30
30
|
|
|
31
31
|
const AmountTitle = ({ minority, minorUnits = 100, className, color = 'primary', dataTestId, titleProps = {}, ...restProps }) => {
|
|
@@ -40,7 +40,7 @@ const AmountTitle = ({ minority, minorUnits = 100, className, color = 'primary',
|
|
|
40
40
|
React.createElement(Amount$1, { minority: minority || minorUnits, className: cn(styles$8.weight, className), dataTestId: getDataTestId(dataTestId || pureCellContext.dataTestId, 'core-amount-title'), ...restProps, bold: 'none' })));
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
-
const styles$7 = {"component":"pure-
|
|
43
|
+
const styles$7 = {"component":"pure-cell__component_skrok","categoryName":"pure-cell__categoryName_skrok","categoryPercent":"pure-cell__categoryPercent_skrok","rightAddon":"pure-cell__rightAddon_skrok"};
|
|
44
44
|
require('./components/category/index.css')
|
|
45
45
|
|
|
46
46
|
const Category = ({ categoryName, categoryPercent, rightAddons, dataTestId, }) => {
|
|
@@ -53,7 +53,7 @@ const Category = ({ categoryName, categoryPercent, rightAddons, dataTestId, }) =
|
|
|
53
53
|
rightAddons !== undefined && (React.createElement("div", { className: styles$7.rightAddon, "data-test-id": getDataTestId(dataTestId || pureCellContext.dataTestId, 'category-right-addon') }, rightAddons))));
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
-
const styles$6 = {"component":"pure-
|
|
56
|
+
const styles$6 = {"component":"pure-cell__component_usovd","horizontal":"pure-cell__horizontal_usovd"};
|
|
57
57
|
require('./components/content/index.css')
|
|
58
58
|
|
|
59
59
|
const Content = ({ children, dataTestId }) => {
|
|
@@ -61,7 +61,7 @@ const Content = ({ children, dataTestId }) => {
|
|
|
61
61
|
return (React.createElement("section", { className: cn(styles$6.component, { [styles$6.horizontal]: direction === 'horizontal' }), "data-test-id": getDataTestId(dataTestId || contextDataTestId, 'content') }, children));
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
const styles$5 = {"component":"pure-
|
|
64
|
+
const styles$5 = {"component":"pure-cell__component_17wih","none":"pure-cell__none_17wih","default":"pure-cell__default_17wih"};
|
|
65
65
|
require('./components/footer/index.css')
|
|
66
66
|
|
|
67
67
|
const Footer = ({ children, footerPadding = 'default', dataTestId }) => {
|
|
@@ -69,7 +69,7 @@ const Footer = ({ children, footerPadding = 'default', dataTestId }) => {
|
|
|
69
69
|
return (React.createElement("footer", { className: cn(styles$5.component, styles$5[footerPadding]), "data-test-id": getDataTestId(dataTestId || pureCellContext.dataTestId, 'footer') }, children));
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
const styles$4 = {"component":"pure-
|
|
72
|
+
const styles$4 = {"component":"pure-cell__component_6ojmm"};
|
|
73
73
|
require('./components/footer-button/index.css')
|
|
74
74
|
|
|
75
75
|
const FooterButton = forwardRef(({ children, dataTestId, ...props }, ref) => {
|
|
@@ -82,15 +82,16 @@ const FooterText = ({ children, color = 'secondary', dataTestId }) => {
|
|
|
82
82
|
return (React.createElement(Typography.Text, { view: 'primary-small', color: color, "data-test-id": getDataTestId(dataTestId || pureCellContext.dataTestId, 'footer-title') }, children));
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
const styles$3 = {"component":"pure-
|
|
85
|
+
const styles$3 = {"component":"pure-cell__component_xhf99","top":"pure-cell__top_xhf99","center":"pure-cell__center_xhf99","bottom":"pure-cell__bottom_xhf99","horizontal":"pure-cell__horizontal_xhf99","none":"pure-cell__none_xhf99","airy":"pure-cell__airy_xhf99","default":"pure-cell__default_xhf99","compact":"pure-cell__compact_xhf99","tiny":"pure-cell__tiny_xhf99","vertical":"pure-cell__vertical_xhf99"};
|
|
86
86
|
require('./components/graphics/index.css')
|
|
87
87
|
|
|
88
|
-
const Graphics = ({ children, dataTestId, verticalAlign = 'top' }) => {
|
|
88
|
+
const Graphics = ({ children, dataTestId, verticalAlign = 'top', graphicPadding, }) => {
|
|
89
89
|
const pureCellContext = useContext(PureCellContext);
|
|
90
|
-
|
|
90
|
+
const defaultGraphicPadding = pureCellContext.direction === 'horizontal' ? 'airy' : 'default';
|
|
91
|
+
return (React.createElement("section", { className: cn(styles$3.component, styles$3[verticalAlign], styles$3[pureCellContext.direction || 'horizontal'], styles$3[graphicPadding || defaultGraphicPadding]), "data-test-id": getDataTestId(dataTestId || pureCellContext.dataTestId, 'graphics') }, children));
|
|
91
92
|
};
|
|
92
93
|
|
|
93
|
-
const styles$2 = {"component":"pure-
|
|
94
|
+
const styles$2 = {"component":"pure-cell__component_19tfu","vertical":"pure-cell__vertical_19tfu","reverse":"pure-cell__reverse_19tfu"};
|
|
94
95
|
require('./components/main/index.css')
|
|
95
96
|
|
|
96
97
|
const Main = ({ children, isReverse, className, dataTestId }) => {
|
|
@@ -100,7 +101,7 @@ const Main = ({ children, isReverse, className, dataTestId }) => {
|
|
|
100
101
|
}, className), "data-test-id": getDataTestId(dataTestId || contextDataTestId, 'main') }, children));
|
|
101
102
|
};
|
|
102
103
|
|
|
103
|
-
const styles$1 = {"horizontal":"pure-
|
|
104
|
+
const styles$1 = {"horizontal":"pure-cell__horizontal_1ima4","rowLimit1":"pure-cell__rowLimit1_1ima4","rowLimit2":"pure-cell__rowLimit2_1ima4","component":"pure-cell__component_1ima4","vertical":"pure-cell__vertical_1ima4","title":"pure-cell__title_1ima4","value":"pure-cell__value_1ima4"};
|
|
104
105
|
require('./components/text/index.css')
|
|
105
106
|
|
|
106
107
|
const Text = ({ children, value, rowLimit, view = 'component-primary', titleWeight, titleColor, valueColor, dataTestId, }) => {
|
|
@@ -115,7 +116,7 @@ const Text = ({ children, value, rowLimit, view = 'component-primary', titleWeig
|
|
|
115
116
|
React.createElement(Typography.Text, { view: view, tag: 'div', color: valueColor, className: className, "data-test-id": getDataTestId(dataTestId || contextDataTestId, 'text_value') }, value)))));
|
|
116
117
|
};
|
|
117
118
|
|
|
118
|
-
const styles = {"component":"pure-
|
|
119
|
+
const styles = {"component":"pure-cell__component_1vn59","horizontal":"pure-cell__horizontal_1vn59","vertical":"pure-cell__vertical_1vn59","button":"pure-cell__button_1vn59","link":"pure-cell__link_1vn59","none":"pure-cell__none_1vn59","airy":"pure-cell__airy_1vn59","default":"pure-cell__default_1vn59","compact":"pure-cell__compact_1vn59","tiny":"pure-cell__tiny_1vn59","noneTop":"pure-cell__noneTop_1vn59","airyTop":"pure-cell__airyTop_1vn59","defaultTop":"pure-cell__defaultTop_1vn59","compactTop":"pure-cell__compactTop_1vn59","tinyTop":"pure-cell__tinyTop_1vn59","noneBottom":"pure-cell__noneBottom_1vn59","airyBottom":"pure-cell__airyBottom_1vn59","defaultBottom":"pure-cell__defaultBottom_1vn59","compactBottom":"pure-cell__compactBottom_1vn59","tinyBottom":"pure-cell__tinyBottom_1vn59","left":"pure-cell__left_1vn59","right":"pure-cell__right_1vn59","both":"pure-cell__both_1vn59","focused":"pure-cell__focused_1vn59"};
|
|
119
120
|
require('./index.css')
|
|
120
121
|
|
|
121
122
|
/* eslint-disable react/jsx-no-constructed-context-values */
|
|
@@ -128,10 +129,15 @@ const PureCellComponent = forwardRef(({ className, dataTestId, onClick, href, ta
|
|
|
128
129
|
[styles.component]: true,
|
|
129
130
|
[styles.focused]: focused,
|
|
130
131
|
[styles[direction]]: true,
|
|
131
|
-
[styles.defaultPadding]: verticalPadding === 'default',
|
|
132
|
-
[styles[verticalPadding]]: verticalPadding !== 'default',
|
|
133
132
|
[styles[horizontalPadding]]: true,
|
|
134
133
|
};
|
|
134
|
+
if (typeof verticalPadding === 'string') {
|
|
135
|
+
addClasses[styles[verticalPadding]] = typeof verticalPadding === 'string';
|
|
136
|
+
}
|
|
137
|
+
if (typeof verticalPadding === 'object') {
|
|
138
|
+
addClasses[styles[`${verticalPadding.top}Top`]] = !!verticalPadding.top;
|
|
139
|
+
addClasses[styles[`${verticalPadding.bottom}Bottom`]] = !!verticalPadding.bottom;
|
|
140
|
+
}
|
|
135
141
|
if (href) {
|
|
136
142
|
const { target } = restProps;
|
|
137
143
|
// Для совместимости с react-router-dom, меняем href на to
|
package/modern/component.js
CHANGED
|
@@ -3,4 +3,4 @@ import 'react-merge-refs';
|
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-comment/modern';
|
|
5
5
|
import '@alfalab/hooks';
|
|
6
|
-
export { P as PureCell, f as PureCellContext } from './component-
|
|
6
|
+
export { P as PureCell, f as PureCellContext } from './component-ef65ce67.js';
|