@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.
Files changed (128) hide show
  1. package/{component-090698d6.js → component-3c8d07e1.js} +5 -5
  2. package/component.js +2 -2
  3. package/components/addon/component.js +2 -2
  4. package/components/addon/index.css +10 -10
  5. package/components/addon/index.js +1 -1
  6. package/components/amount/component.js +2 -2
  7. package/components/amount/index.css +2 -2
  8. package/components/amount/index.js +1 -1
  9. package/components/amount-title/component.js +2 -2
  10. package/components/amount-title/index.css +3 -3
  11. package/components/amount-title/index.js +1 -1
  12. package/components/category/component.js +2 -2
  13. package/components/category/index.css +5 -5
  14. package/components/category/index.js +1 -1
  15. package/components/content/component.js +2 -2
  16. package/components/content/index.css +3 -3
  17. package/components/content/index.d.ts +1 -1
  18. package/components/content/index.js +2 -2
  19. package/components/footer/component.js +2 -2
  20. package/components/footer/index.css +4 -4
  21. package/components/footer/index.js +1 -1
  22. package/components/footer-button/component.js +2 -2
  23. package/components/footer-button/index.css +2 -2
  24. package/components/footer-button/index.js +1 -1
  25. package/components/footer-text/component.js +1 -1
  26. package/components/footer-text/index.js +1 -1
  27. package/components/graphics/component.js +2 -2
  28. package/components/graphics/index.css +5 -5
  29. package/components/graphics/index.js +1 -1
  30. package/components/main/component.js +2 -2
  31. package/components/main/index.css +4 -4
  32. package/components/main/index.d.ts +1 -1
  33. package/components/main/index.js +2 -2
  34. package/components/text/component.js +2 -2
  35. package/components/text/index.css +7 -7
  36. package/components/text/index.d.ts +1 -1
  37. package/components/text/index.js +2 -2
  38. package/esm/{component-10634a90.js → component-45299cd1.js} +5 -5
  39. package/esm/component.js +2 -2
  40. package/esm/components/addon/component.js +2 -2
  41. package/esm/components/addon/index.css +10 -10
  42. package/esm/components/addon/index.js +1 -1
  43. package/esm/components/amount/component.js +2 -2
  44. package/esm/components/amount/index.css +2 -2
  45. package/esm/components/amount/index.js +1 -1
  46. package/esm/components/amount-title/component.js +2 -2
  47. package/esm/components/amount-title/index.css +3 -3
  48. package/esm/components/amount-title/index.js +1 -1
  49. package/esm/components/category/component.js +2 -2
  50. package/esm/components/category/index.css +5 -5
  51. package/esm/components/category/index.js +1 -1
  52. package/esm/components/content/component.js +2 -2
  53. package/esm/components/content/index.css +3 -3
  54. package/esm/components/content/index.d.ts +1 -1
  55. package/esm/components/content/index.js +2 -2
  56. package/esm/components/footer/component.js +2 -2
  57. package/esm/components/footer/index.css +4 -4
  58. package/esm/components/footer/index.js +1 -1
  59. package/esm/components/footer-button/component.js +2 -2
  60. package/esm/components/footer-button/index.css +2 -2
  61. package/esm/components/footer-button/index.js +1 -1
  62. package/esm/components/footer-text/component.js +1 -1
  63. package/esm/components/footer-text/index.js +1 -1
  64. package/esm/components/graphics/component.js +2 -2
  65. package/esm/components/graphics/index.css +5 -5
  66. package/esm/components/graphics/index.js +1 -1
  67. package/esm/components/main/component.js +2 -2
  68. package/esm/components/main/index.css +4 -4
  69. package/esm/components/main/index.d.ts +1 -1
  70. package/esm/components/main/index.js +2 -2
  71. package/esm/components/text/component.js +2 -2
  72. package/esm/components/text/index.css +7 -7
  73. package/esm/components/text/index.d.ts +1 -1
  74. package/esm/components/text/index.js +2 -2
  75. package/esm/index.css +21 -21
  76. package/esm/index.js +2 -2
  77. package/index.css +21 -21
  78. package/index.js +2 -2
  79. package/modern/{component-3a445140.js → component-6e5f347e.js} +5 -5
  80. package/modern/component.js +2 -2
  81. package/modern/components/addon/component.js +2 -2
  82. package/modern/components/addon/index.css +10 -10
  83. package/modern/components/addon/index.js +1 -1
  84. package/modern/components/amount/component.js +2 -2
  85. package/modern/components/amount/index.css +2 -2
  86. package/modern/components/amount/index.js +1 -1
  87. package/modern/components/amount-title/component.js +2 -2
  88. package/modern/components/amount-title/index.css +3 -3
  89. package/modern/components/amount-title/index.js +1 -1
  90. package/modern/components/category/component.js +2 -2
  91. package/modern/components/category/index.css +5 -5
  92. package/modern/components/category/index.js +1 -1
  93. package/modern/components/content/component.js +2 -2
  94. package/modern/components/content/index.css +3 -3
  95. package/modern/components/content/index.d.ts +1 -1
  96. package/modern/components/content/index.js +2 -2
  97. package/modern/components/footer/component.js +2 -2
  98. package/modern/components/footer/index.css +4 -4
  99. package/modern/components/footer/index.js +1 -1
  100. package/modern/components/footer-button/component.js +2 -2
  101. package/modern/components/footer-button/index.css +2 -2
  102. package/modern/components/footer-button/index.js +1 -1
  103. package/modern/components/footer-text/component.js +1 -1
  104. package/modern/components/footer-text/index.js +1 -1
  105. package/modern/components/graphics/component.js +2 -2
  106. package/modern/components/graphics/index.css +5 -5
  107. package/modern/components/graphics/index.js +1 -1
  108. package/modern/components/main/component.js +2 -2
  109. package/modern/components/main/index.css +4 -4
  110. package/modern/components/main/index.d.ts +1 -1
  111. package/modern/components/main/index.js +2 -2
  112. package/modern/components/text/component.js +2 -2
  113. package/modern/components/text/index.css +7 -7
  114. package/modern/components/text/index.d.ts +1 -1
  115. package/modern/components/text/index.js +2 -2
  116. package/modern/index.css +21 -21
  117. package/modern/index.js +2 -2
  118. package/package.json +5 -8
  119. package/send-stats.js +0 -82
  120. /package/{component-090698d6.d.ts → component-3c8d07e1.d.ts} +0 -0
  121. /package/esm/{component-10634a90.d.ts → component-45299cd1.d.ts} +0 -0
  122. /package/esm/{getDataTestId-3543dce7.d.ts → getDataTestId-642eb788.d.ts} +0 -0
  123. /package/esm/{getDataTestId-3543dce7.js → getDataTestId-642eb788.js} +0 -0
  124. /package/{getDataTestId-24e8bfa3.d.ts → getDataTestId-916a6a71.d.ts} +0 -0
  125. /package/{getDataTestId-24e8bfa3.js → getDataTestId-916a6a71.js} +0 -0
  126. /package/modern/{component-3a445140.d.ts → component-6e5f347e.d.ts} +0 -0
  127. /package/modern/{getDataTestId-4cd99e34.d.ts → getDataTestId-d1e65cf0.d.ts} +0 -0
  128. /package/modern/{getDataTestId-4cd99e34.js → getDataTestId-d1e65cf0.js} +0 -0
@@ -1,4 +1,4 @@
1
1
  export { Footer } from './component.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
- import '../../getDataTestId-4cd99e34.js';
4
+ import '../../getDataTestId-d1e65cf0.js';
@@ -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-4cd99e34.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d1e65cf0.js';
4
4
 
5
- const styles = {"component":"pure-cell__component_8jwg8"};
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: 13vpm */
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-cell__component_8jwg8 {
17
+ } .pure-cell__component_18rhv {
18
18
  justify-self: start;
19
19
  }
@@ -1,4 +1,4 @@
1
1
  export { FooterButton } from './component.js';
2
2
  import 'react';
3
3
  import '@alfalab/core-components-button/modern';
4
- import '../../getDataTestId-4cd99e34.js';
4
+ import '../../getDataTestId-d1e65cf0.js';
@@ -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-4cd99e34.js';
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,4 +1,4 @@
1
1
  export { FooterText } from './component.js';
2
2
  import 'react';
3
3
  import '@alfalab/core-components-typography/modern';
4
- import '../../getDataTestId-4cd99e34.js';
4
+ import '../../getDataTestId-d1e65cf0.js';
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { g as getDataTestId } from '../../getDataTestId-4cd99e34.js';
3
+ import { g as getDataTestId } from '../../getDataTestId-d1e65cf0.js';
4
4
 
5
- const styles = {"component":"pure-cell__component_m6tyw","top":"pure-cell__top_m6tyw","center":"pure-cell__center_m6tyw","bottom":"pure-cell__bottom_m6tyw"};
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: gkkth */
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-cell__component_m6tyw {
17
+ } .pure-cell__component_ulfcs {
18
18
  display: inline-flex;
19
19
  flex-basis: auto;
20
- } .pure-cell__top_m6tyw {
20
+ } .pure-cell__top_ulfcs {
21
21
  align-self: flex-start;
22
- } .pure-cell__center_m6tyw {
22
+ } .pure-cell__center_ulfcs {
23
23
  align-self: center;
24
- } .pure-cell__bottom_m6tyw {
24
+ } .pure-cell__bottom_ulfcs {
25
25
  align-self: flex-end;
26
26
  }
@@ -1,4 +1,4 @@
1
1
  export { Graphics } from './component.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
- import '../../getDataTestId-4cd99e34.js';
4
+ import '../../getDataTestId-d1e65cf0.js';
@@ -1,7 +1,7 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '../../getDataTestId-4cd99e34.js';
4
- export { M as Main } from '../../component-3a445140.js';
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: 1av2l */
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-cell__component_1iy7t {
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-cell__component_1iy7t.pure-cell__vertical_1iy7t {
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-cell__component_1iy7t.pure-cell__reverse_1iy7t {
32
+ } .pure-cell__component_umeb0.pure-cell__reverse_umeb0 {
33
33
  flex-direction: column-reverse;
34
34
  }
@@ -1 +1 @@
1
- export * from "../../component-3a445140";
1
+ export * from "../../component-6e5f347e";
@@ -1,11 +1,11 @@
1
- export { M as Main } from '../../component-3a445140.js';
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-4cd99e34.js';
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-4cd99e34.js';
5
- export { T as Text } from '../../component-3a445140.js';
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: ki42w */
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-cell__horizontal_1ez4i {
19
+ } .pure-cell__horizontal_fkntw {
20
20
  padding: var(--gap-3xs) 0;
21
- } .pure-cell__rowLimit1_1ez4i {
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-cell__rowLimit2_1ez4i {
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-cell__component_1ez4i {
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-cell__component_1ez4i .pure-cell__vertical_1ez4i {
39
+ } .pure-cell__component_fkntw .pure-cell__vertical_fkntw {
40
40
  justify-content: center;
41
- } .pure-cell__title_1ez4i + .pure-cell__value_1ez4i {
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-3a445140";
1
+ export * from "../../component-6e5f347e";
@@ -1,11 +1,11 @@
1
- export { T as Text } from '../../component-3a445140.js';
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-4cd99e34.js';
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: 1jx4r */
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-cell__component_1pisf {
23
+ } .pure-cell__component_1gk1s {
24
24
  text-align: unset;
25
25
  box-sizing: border-box;
26
- } .pure-cell__horizontal_1pisf {
26
+ } .pure-cell__horizontal_1gk1s {
27
27
  display: flex;
28
28
  width: 100%
29
- } .pure-cell__horizontal_1pisf > section:not(:last-child) {
29
+ } .pure-cell__horizontal_1gk1s > section:not(:last-child) {
30
30
  margin-right: var(--gap-m);
31
- } .pure-cell__vertical_1pisf {
31
+ } .pure-cell__vertical_1gk1s {
32
32
  display: flex;
33
33
  align-items: center;
34
34
  flex-direction: column
35
- } .pure-cell__vertical_1pisf > section:not(:last-child) {
35
+ } .pure-cell__vertical_1gk1s > section:not(:last-child) {
36
36
  margin-bottom: var(--gap-s);
37
- } .pure-cell__button_1pisf {
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-cell__button_1pisf:hover {
45
+ } .pure-cell__button_1gk1s:hover {
46
46
  opacity: 0.8;
47
- } .pure-cell__button_1pisf:active {
47
+ } .pure-cell__button_1gk1s:active {
48
48
  opacity: 0.6;
49
- } .pure-cell__link_1pisf {
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-cell__link_1pisf:hover {
54
+ } .pure-cell__link_1gk1s:hover {
55
55
  opacity: 0.8;
56
- } .pure-cell__link_1pisf:active {
56
+ } .pure-cell__link_1gk1s:active {
57
57
  opacity: 0.6;
58
- } .pure-cell__none_1pisf {
58
+ } .pure-cell__none_1gk1s {
59
59
  padding: 0;
60
- } .pure-cell__airy_1pisf {
60
+ } .pure-cell__airy_1gk1s {
61
61
  padding: var(--gap-m) 0;
62
- } .pure-cell__defaultPadding_1pisf {
62
+ } .pure-cell__defaultPadding_1gk1s {
63
63
  padding: var(--gap-s) 0;
64
- } .pure-cell__compact_1pisf {
64
+ } .pure-cell__compact_1gk1s {
65
65
  padding: var(--gap-xs) 0;
66
- } .pure-cell__tiny_1pisf {
66
+ } .pure-cell__tiny_1gk1s {
67
67
  padding: var(--gap-2xs) 0;
68
- } .pure-cell__left_1pisf {
68
+ } .pure-cell__left_1gk1s {
69
69
  padding-left: var(--gap-m);
70
- } .pure-cell__right_1pisf {
70
+ } .pure-cell__right_1gk1s {
71
71
  padding-right: var(--gap-m);
72
- } .pure-cell__both_1pisf {
72
+ } .pure-cell__both_1gk1s {
73
73
  padding-right: var(--gap-m);
74
74
  padding-left: var(--gap-m);
75
- } .pure-cell__focused_1pisf {
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-3a445140.js';
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-4cd99e34.js';
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.0",
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.1",
22
- "@alfalab/core-components-button": "^8.5.0",
23
- "@alfalab/core-components-typography": "^3.2.1",
24
- "@alfalab/core-components-comment": "^2.1.10",
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
- });