@alfalab/core-components-pure-cell 4.3.0 → 4.3.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/{component-090698d6.js → component-3c8d07e1.js} +5 -5
- package/component.js +2 -2
- package/components/addon/component.js +2 -2
- package/components/addon/index.css +10 -10
- package/components/addon/index.js +1 -1
- package/components/amount/component.js +2 -2
- package/components/amount/index.css +2 -2
- package/components/amount/index.js +1 -1
- package/components/amount-title/component.js +2 -2
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.js +1 -1
- package/components/category/component.js +2 -2
- package/components/category/index.css +5 -5
- package/components/category/index.js +1 -1
- package/components/content/component.js +2 -2
- package/components/content/index.css +3 -3
- package/components/content/index.d.ts +1 -1
- package/components/content/index.js +2 -2
- package/components/footer/component.js +2 -2
- package/components/footer/index.css +4 -4
- package/components/footer/index.js +1 -1
- package/components/footer-button/component.js +2 -2
- package/components/footer-button/index.css +2 -2
- package/components/footer-button/index.js +1 -1
- 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 +2 -2
- package/components/main/index.css +4 -4
- package/components/main/index.d.ts +1 -1
- package/components/main/index.js +2 -2
- package/components/text/component.js +2 -2
- package/components/text/index.css +7 -7
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +2 -2
- package/esm/{component-10634a90.js → component-45299cd1.js} +5 -5
- package/esm/component.js +2 -2
- package/esm/components/addon/component.js +2 -2
- package/esm/components/addon/index.css +10 -10
- package/esm/components/addon/index.js +1 -1
- package/esm/components/amount/component.js +2 -2
- package/esm/components/amount/index.css +2 -2
- package/esm/components/amount/index.js +1 -1
- package/esm/components/amount-title/component.js +2 -2
- package/esm/components/amount-title/index.css +3 -3
- package/esm/components/amount-title/index.js +1 -1
- package/esm/components/category/component.js +2 -2
- package/esm/components/category/index.css +5 -5
- package/esm/components/category/index.js +1 -1
- package/esm/components/content/component.js +2 -2
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/index.d.ts +1 -1
- package/esm/components/content/index.js +2 -2
- package/esm/components/footer/component.js +2 -2
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/index.js +1 -1
- package/esm/components/footer-button/component.js +2 -2
- package/esm/components/footer-button/index.css +2 -2
- package/esm/components/footer-button/index.js +1 -1
- 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 +2 -2
- package/esm/components/main/index.css +4 -4
- package/esm/components/main/index.d.ts +1 -1
- package/esm/components/main/index.js +2 -2
- package/esm/components/text/component.js +2 -2
- package/esm/components/text/index.css +7 -7
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +2 -2
- package/esm/index.css +21 -21
- package/esm/index.js +2 -2
- package/index.css +21 -21
- package/index.js +2 -2
- package/modern/{component-3a445140.js → component-6e5f347e.js} +5 -5
- package/modern/component.js +2 -2
- package/modern/components/addon/component.js +2 -2
- package/modern/components/addon/index.css +10 -10
- 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/index.css +21 -21
- package/modern/index.js +2 -2
- package/package.json +5 -8
- package/send-stats.js +0 -82
- /package/{component-090698d6.d.ts → component-3c8d07e1.d.ts} +0 -0
- /package/esm/{component-10634a90.d.ts → component-45299cd1.d.ts} +0 -0
- /package/esm/{getDataTestId-3543dce7.d.ts → getDataTestId-642eb788.d.ts} +0 -0
- /package/esm/{getDataTestId-3543dce7.js → getDataTestId-642eb788.js} +0 -0
- /package/{getDataTestId-24e8bfa3.d.ts → getDataTestId-916a6a71.d.ts} +0 -0
- /package/{getDataTestId-24e8bfa3.js → getDataTestId-916a6a71.js} +0 -0
- /package/modern/{component-3a445140.d.ts → component-6e5f347e.d.ts} +0 -0
- /package/modern/{getDataTestId-4cd99e34.d.ts → getDataTestId-d1e65cf0.d.ts} +0 -0
- /package/modern/{getDataTestId-4cd99e34.js → getDataTestId-d1e65cf0.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Button } from '@alfalab/core-components-button/modern';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-d1e65cf0.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_18rhv"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const FooterButton = ({ children, dataTestId, ...props }) => (React.createElement(Button, { ...props, size: 'xxs', dataTestId: getDataTestId(dataTestId, 'button'), className: styles.component }, children));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: advwb */
|
|
2
2
|
:root {
|
|
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 */
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_18rhv {
|
|
18
18
|
justify-self: start;
|
|
19
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
3
|
-
import { g as getDataTestId } from '../../getDataTestId-
|
|
3
|
+
import { g as getDataTestId } from '../../getDataTestId-d1e65cf0.js';
|
|
4
4
|
|
|
5
5
|
const FooterText = ({ children, color = 'secondary', dataTestId }) => (React.createElement(Typography.Text, { view: 'primary-small', color: color, "data-test-id": getDataTestId(dataTestId, 'footer-title') }, children));
|
|
6
6
|
|
|
@@ -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-d1e65cf0.js';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"pure-
|
|
5
|
+
const styles = {"component":"pure-cell__component_ulfcs","top":"pure-cell__top_ulfcs","center":"pure-cell__center_ulfcs","bottom":"pure-cell__bottom_ulfcs"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Graphics = ({ children, dataTestId, verticalAlign = 'top' }) => (React.createElement("section", { className: cn(styles.component, styles[verticalAlign]), "data-test-id": getDataTestId(dataTestId, 'graphics') }, children));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: c7ayp */
|
|
2
2
|
:root {
|
|
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 */
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
|
-
} .pure-
|
|
17
|
+
} .pure-cell__component_ulfcs {
|
|
18
18
|
display: inline-flex;
|
|
19
19
|
flex-basis: auto;
|
|
20
|
-
} .pure-
|
|
20
|
+
} .pure-cell__top_ulfcs {
|
|
21
21
|
align-self: flex-start;
|
|
22
|
-
} .pure-
|
|
22
|
+
} .pure-cell__center_ulfcs {
|
|
23
23
|
align-self: center;
|
|
24
|
-
} .pure-
|
|
24
|
+
} .pure-cell__bottom_ulfcs {
|
|
25
25
|
align-self: flex-end;
|
|
26
26
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '../../getDataTestId-
|
|
4
|
-
export { M as Main } from '../../component-
|
|
3
|
+
import '../../getDataTestId-d1e65cf0.js';
|
|
4
|
+
export { M as Main } from '../../component-6e5f347e.js';
|
|
5
5
|
import 'react-merge-refs';
|
|
6
6
|
import '@alfalab/core-components-comment/modern';
|
|
7
7
|
import '@alfalab/hooks';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: llbaz */
|
|
2
2
|
:root {
|
|
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_umeb0 {
|
|
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_umeb0.pure-cell__vertical_umeb0 {
|
|
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_umeb0.pure-cell__reverse_umeb0 {
|
|
33
33
|
flex-direction: column-reverse;
|
|
34
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-6e5f347e";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { M as Main } from '../../component-
|
|
1
|
+
export { M as Main } from '../../component-6e5f347e.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/core-components-comment/modern';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import '../addon/component.js';
|
|
8
|
-
import '../../getDataTestId-
|
|
8
|
+
import '../../getDataTestId-d1e65cf0.js';
|
|
9
9
|
import '../amount/component.js';
|
|
10
10
|
import '@alfalab/core-components-amount/modern';
|
|
11
11
|
import '@alfalab/core-components-typography/modern';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
3
|
import '@alfalab/core-components-typography/modern';
|
|
4
|
-
import '../../getDataTestId-
|
|
5
|
-
export { T as Text } from '../../component-
|
|
4
|
+
import '../../getDataTestId-d1e65cf0.js';
|
|
5
|
+
export { T as Text } from '../../component-6e5f347e.js';
|
|
6
6
|
import 'react-merge-refs';
|
|
7
7
|
import '@alfalab/core-components-comment/modern';
|
|
8
8
|
import '@alfalab/hooks';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: u9ouz */
|
|
2
2
|
:root {
|
|
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_fkntw {
|
|
20
20
|
padding: var(--gap-3xs) 0;
|
|
21
|
-
} .pure-
|
|
21
|
+
} .pure-cell__rowLimit1_fkntw {
|
|
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_fkntw {
|
|
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_fkntw {
|
|
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_fkntw .pure-cell__vertical_fkntw {
|
|
40
40
|
justify-content: center;
|
|
41
|
-
} .pure-
|
|
41
|
+
} .pure-cell__title_fkntw + .pure-cell__value_fkntw {
|
|
42
42
|
margin-left: var(--gap-m);
|
|
43
43
|
flex-shrink: 0;
|
|
44
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-6e5f347e";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { T as Text } from '../../component-
|
|
1
|
+
export { T as Text } from '../../component-6e5f347e.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/core-components-comment/modern';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import '../addon/component.js';
|
|
8
|
-
import '../../getDataTestId-
|
|
8
|
+
import '../../getDataTestId-d1e65cf0.js';
|
|
9
9
|
import '../amount/component.js';
|
|
10
10
|
import '@alfalab/core-components-amount/modern';
|
|
11
11
|
import '@alfalab/core-components-typography/modern';
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 12n1r */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-link: #0072ef; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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,21 @@
|
|
|
20
20
|
} :root {
|
|
21
21
|
} :root {
|
|
22
22
|
--focus-color: var(--color-light-border-link);
|
|
23
|
-
} .pure-
|
|
23
|
+
} .pure-cell__component_1gk1s {
|
|
24
24
|
text-align: unset;
|
|
25
25
|
box-sizing: border-box;
|
|
26
|
-
} .pure-
|
|
26
|
+
} .pure-cell__horizontal_1gk1s {
|
|
27
27
|
display: flex;
|
|
28
28
|
width: 100%
|
|
29
|
-
} .pure-
|
|
29
|
+
} .pure-cell__horizontal_1gk1s > section:not(:last-child) {
|
|
30
30
|
margin-right: var(--gap-m);
|
|
31
|
-
} .pure-
|
|
31
|
+
} .pure-cell__vertical_1gk1s {
|
|
32
32
|
display: flex;
|
|
33
33
|
align-items: center;
|
|
34
34
|
flex-direction: column
|
|
35
|
-
} .pure-
|
|
35
|
+
} .pure-cell__vertical_1gk1s > section:not(:last-child) {
|
|
36
36
|
margin-bottom: var(--gap-s);
|
|
37
|
-
} .pure-
|
|
37
|
+
} .pure-cell__button_1gk1s {
|
|
38
38
|
font-family: inherit;
|
|
39
39
|
background: none;
|
|
40
40
|
border: 0;
|
|
@@ -42,37 +42,37 @@
|
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
transition: opacity 0.15s ease-in-out;
|
|
44
44
|
padding: 0
|
|
45
|
-
} .pure-
|
|
45
|
+
} .pure-cell__button_1gk1s:hover {
|
|
46
46
|
opacity: 0.8;
|
|
47
|
-
} .pure-
|
|
47
|
+
} .pure-cell__button_1gk1s:active {
|
|
48
48
|
opacity: 0.6;
|
|
49
|
-
} .pure-
|
|
49
|
+
} .pure-cell__link_1gk1s {
|
|
50
50
|
text-decoration: none;
|
|
51
51
|
color: inherit;
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
transition: opacity 0.15s ease-in-out
|
|
54
|
-
} .pure-
|
|
54
|
+
} .pure-cell__link_1gk1s:hover {
|
|
55
55
|
opacity: 0.8;
|
|
56
|
-
} .pure-
|
|
56
|
+
} .pure-cell__link_1gk1s:active {
|
|
57
57
|
opacity: 0.6;
|
|
58
|
-
} .pure-
|
|
58
|
+
} .pure-cell__none_1gk1s {
|
|
59
59
|
padding: 0;
|
|
60
|
-
} .pure-
|
|
60
|
+
} .pure-cell__airy_1gk1s {
|
|
61
61
|
padding: var(--gap-m) 0;
|
|
62
|
-
} .pure-
|
|
62
|
+
} .pure-cell__defaultPadding_1gk1s {
|
|
63
63
|
padding: var(--gap-s) 0;
|
|
64
|
-
} .pure-
|
|
64
|
+
} .pure-cell__compact_1gk1s {
|
|
65
65
|
padding: var(--gap-xs) 0;
|
|
66
|
-
} .pure-
|
|
66
|
+
} .pure-cell__tiny_1gk1s {
|
|
67
67
|
padding: var(--gap-2xs) 0;
|
|
68
|
-
} .pure-
|
|
68
|
+
} .pure-cell__left_1gk1s {
|
|
69
69
|
padding-left: var(--gap-m);
|
|
70
|
-
} .pure-
|
|
70
|
+
} .pure-cell__right_1gk1s {
|
|
71
71
|
padding-right: var(--gap-m);
|
|
72
|
-
} .pure-
|
|
72
|
+
} .pure-cell__both_1gk1s {
|
|
73
73
|
padding-right: var(--gap-m);
|
|
74
74
|
padding-left: var(--gap-m);
|
|
75
|
-
} .pure-
|
|
75
|
+
} .pure-cell__focused_1gk1s {
|
|
76
76
|
outline: 2px solid var(--focus-color);
|
|
77
77
|
outline-offset: 2px;
|
|
78
78
|
}
|
package/modern/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { P as PureCell } from './component-
|
|
1
|
+
export { P as PureCell } from './component-6e5f347e.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-merge-refs';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/core-components-comment/modern';
|
|
6
6
|
import '@alfalab/hooks';
|
|
7
7
|
import './components/addon/component.js';
|
|
8
|
-
import './getDataTestId-
|
|
8
|
+
import './getDataTestId-d1e65cf0.js';
|
|
9
9
|
import './components/amount/component.js';
|
|
10
10
|
import '@alfalab/core-components-amount/modern';
|
|
11
11
|
import '@alfalab/core-components-typography/modern';
|
package/package.json
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-pure-cell",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "./esm/index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
|
|
11
|
-
},
|
|
12
9
|
"publishConfig": {
|
|
13
10
|
"access": "public",
|
|
14
11
|
"directory": "dist"
|
|
@@ -18,10 +15,10 @@
|
|
|
18
15
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
19
16
|
},
|
|
20
17
|
"dependencies": {
|
|
21
|
-
"@alfalab/core-components-amount": "^3.2.
|
|
22
|
-
"@alfalab/core-components-button": "^8.5.
|
|
23
|
-
"@alfalab/core-components-typography": "^3.2.
|
|
24
|
-
"@alfalab/core-components-comment": "^2.1.
|
|
18
|
+
"@alfalab/core-components-amount": "^3.2.2",
|
|
19
|
+
"@alfalab/core-components-button": "^8.5.1",
|
|
20
|
+
"@alfalab/core-components-typography": "^3.2.2",
|
|
21
|
+
"@alfalab/core-components-comment": "^2.1.11",
|
|
25
22
|
"@alfalab/hooks": "^1.13.0",
|
|
26
23
|
"classnames": "^2.3.1",
|
|
27
24
|
"react-merge-refs": "1.1.0",
|
package/send-stats.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
const http = require('http');
|
|
2
|
-
const fs = require('fs');
|
|
3
|
-
const { promisify } = require('util');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
|
|
6
|
-
const readFile = promisify(fs.readFile);
|
|
7
|
-
|
|
8
|
-
async function main() {
|
|
9
|
-
const remoteHost = process.env.NIS_HOST || 'digital';
|
|
10
|
-
const remotePort = process.env.NIS_PORT || 80;
|
|
11
|
-
const remotePath = process.env.NIS_PATH || '/npm-install-stats/api/install-stats';
|
|
12
|
-
|
|
13
|
-
try {
|
|
14
|
-
const [_, node, os, arch] =
|
|
15
|
-
/node\/v(\d+\.\d+\.\d+) (\w+) (\w+)/.exec(process.env.npm_config_user_agent) || [];
|
|
16
|
-
const [__, npm] = /npm\/(\d+\.\d+\.\d+)/.exec(process.env.npm_config_user_agent) || [];
|
|
17
|
-
const [___, yarn] = /yarn\/(\d+\.\d+\.\d+)/.exec(process.env.npm_config_user_agent) || [];
|
|
18
|
-
|
|
19
|
-
let ownPackageJson, packageJson;
|
|
20
|
-
|
|
21
|
-
try {
|
|
22
|
-
const result = await Promise.all([
|
|
23
|
-
readFile(path.join(process.cwd(), 'package.json'), 'utf-8'),
|
|
24
|
-
readFile(path.join(process.cwd(), '../../../package.json'), 'utf-8'),
|
|
25
|
-
]);
|
|
26
|
-
|
|
27
|
-
ownPackageJson = JSON.parse(result[0]);
|
|
28
|
-
packageJson = JSON.parse(result[1]);
|
|
29
|
-
} catch (err) {
|
|
30
|
-
ownPackageJson = '';
|
|
31
|
-
packageJson = '';
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const data = {
|
|
35
|
-
node,
|
|
36
|
-
npm,
|
|
37
|
-
yarn,
|
|
38
|
-
os,
|
|
39
|
-
arch,
|
|
40
|
-
ownPackageJson: JSON.stringify(ownPackageJson),
|
|
41
|
-
packageJson: JSON.stringify(packageJson),
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
const body = JSON.stringify(data);
|
|
45
|
-
|
|
46
|
-
const options = {
|
|
47
|
-
host: remoteHost,
|
|
48
|
-
port: remotePort,
|
|
49
|
-
path: remotePath,
|
|
50
|
-
method: 'POST',
|
|
51
|
-
headers: {
|
|
52
|
-
'Content-Type': 'application/json',
|
|
53
|
-
'Content-Length': body.length,
|
|
54
|
-
},
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
return new Promise((resolve, reject) => {
|
|
58
|
-
const req = http.request(options, (res) => {
|
|
59
|
-
res.on('end', () => {
|
|
60
|
-
resolve();
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
req.on('error', () => {
|
|
65
|
-
reject();
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
req.write(body);
|
|
69
|
-
req.end();
|
|
70
|
-
});
|
|
71
|
-
} catch (error) {
|
|
72
|
-
throw error;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
main()
|
|
77
|
-
.then(() => {
|
|
78
|
-
process.exit(0);
|
|
79
|
-
})
|
|
80
|
-
.catch(() => {
|
|
81
|
-
process.exit(0);
|
|
82
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|