@alfalab/core-components-pure-cell 3.0.0 → 3.0.2

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 (178) hide show
  1. package/{component-cf0927a9.d.ts → component-3f45f3c4.d.ts} +1 -4
  2. package/{component-ce2aad6d.d.ts → component-44707ae5.d.ts} +0 -0
  3. package/{component-ce2aad6d.js → component-44707ae5.js} +2 -2
  4. package/{component-85709855.d.ts → component-e370ba4a.d.ts} +0 -0
  5. package/{component-85709855.js → component-e370ba4a.js} +9 -9
  6. package/component.js +4 -4
  7. package/components/addon/component.js +2 -2
  8. package/components/addon/index.css +7 -7
  9. package/components/addon/index.js +1 -1
  10. package/components/amount/component.js +2 -2
  11. package/components/amount/index.css +2 -2
  12. package/components/amount/index.js +1 -1
  13. package/components/amount-title/component.js +2 -2
  14. package/components/amount-title/index.css +3 -3
  15. package/components/amount-title/index.js +1 -1
  16. package/components/category/component.js +2 -2
  17. package/components/category/index.css +4 -4
  18. package/components/category/index.js +1 -1
  19. package/components/content/component.js +4 -4
  20. package/components/content/index.css +3 -3
  21. package/components/content/index.d.ts +1 -1
  22. package/components/content/index.js +4 -4
  23. package/components/footer/component.js +2 -2
  24. package/components/footer/index.css +4 -4
  25. package/components/footer/index.js +1 -1
  26. package/components/footer-button/component.js +2 -2
  27. package/components/footer-button/index.css +2 -2
  28. package/components/footer-button/index.d.ts +1 -1
  29. package/components/footer-button/index.js +2 -2
  30. package/components/footer-text/component.js +1 -1
  31. package/components/footer-text/index.js +1 -1
  32. package/components/graphics/component.js +2 -2
  33. package/components/graphics/index.css +2 -2
  34. package/components/graphics/index.js +1 -1
  35. package/components/main/component.js +4 -4
  36. package/components/main/index.css +4 -4
  37. package/components/main/index.d.ts +1 -1
  38. package/components/main/index.js +4 -4
  39. package/components/text/component.js +4 -4
  40. package/components/text/index.css +7 -7
  41. package/components/text/index.d.ts +1 -1
  42. package/components/text/index.js +4 -4
  43. package/components/types.d.ts +1 -1
  44. package/{modern/component-cf0927a9.d.ts → cssm/component-3f45f3c4.d.ts} +1 -4
  45. package/cssm/{component-01f7c308.d.ts → component-d3306cf3.d.ts} +0 -0
  46. package/cssm/{component-01f7c308.js → component-d3306cf3.js} +3 -3
  47. package/cssm/component.js +2 -3
  48. package/cssm/components/content/component.js +2 -3
  49. package/cssm/components/content/index.d.ts +1 -1
  50. package/cssm/components/content/index.js +2 -3
  51. package/cssm/components/main/component.js +2 -3
  52. package/cssm/components/main/index.d.ts +1 -1
  53. package/cssm/components/main/index.js +2 -3
  54. package/cssm/components/text/component.js +2 -3
  55. package/cssm/components/text/index.d.ts +1 -1
  56. package/cssm/components/text/index.js +2 -3
  57. package/cssm/components/types.d.ts +1 -1
  58. package/cssm/index.d.ts +1 -1
  59. package/cssm/index.js +2 -3
  60. package/esm/{component-cf0927a9.d.ts → component-3f45f3c4.d.ts} +1 -4
  61. package/esm/{component-890a4b75.d.ts → component-6954d6a5.d.ts} +0 -0
  62. package/esm/{component-890a4b75.js → component-6954d6a5.js} +8 -8
  63. package/esm/{component-c5bd19f6.d.ts → component-700187d7.d.ts} +0 -0
  64. package/esm/{component-c5bd19f6.js → component-700187d7.js} +2 -2
  65. package/esm/component.js +4 -4
  66. package/esm/components/addon/component.js +2 -2
  67. package/esm/components/addon/index.css +7 -7
  68. package/esm/components/addon/index.js +1 -1
  69. package/esm/components/amount/component.js +2 -2
  70. package/esm/components/amount/index.css +2 -2
  71. package/esm/components/amount/index.js +1 -1
  72. package/esm/components/amount-title/component.js +2 -2
  73. package/esm/components/amount-title/index.css +3 -3
  74. package/esm/components/amount-title/index.js +1 -1
  75. package/esm/components/category/component.js +2 -2
  76. package/esm/components/category/index.css +4 -4
  77. package/esm/components/category/index.js +1 -1
  78. package/esm/components/content/component.js +4 -4
  79. package/esm/components/content/index.css +3 -3
  80. package/esm/components/content/index.d.ts +1 -1
  81. package/esm/components/content/index.js +4 -4
  82. package/esm/components/footer/component.js +2 -2
  83. package/esm/components/footer/index.css +4 -4
  84. package/esm/components/footer/index.js +1 -1
  85. package/esm/components/footer-button/component.js +2 -2
  86. package/esm/components/footer-button/index.css +2 -2
  87. package/esm/components/footer-button/index.d.ts +1 -1
  88. package/esm/components/footer-button/index.js +2 -2
  89. package/esm/components/footer-text/component.js +1 -1
  90. package/esm/components/footer-text/index.js +1 -1
  91. package/esm/components/graphics/component.js +2 -2
  92. package/esm/components/graphics/index.css +2 -2
  93. package/esm/components/graphics/index.js +1 -1
  94. package/esm/components/main/component.js +4 -4
  95. package/esm/components/main/index.css +4 -4
  96. package/esm/components/main/index.d.ts +1 -1
  97. package/esm/components/main/index.js +4 -4
  98. package/esm/components/text/component.js +4 -4
  99. package/esm/components/text/index.css +7 -7
  100. package/esm/components/text/index.d.ts +1 -1
  101. package/esm/components/text/index.js +4 -4
  102. package/esm/components/types.d.ts +1 -1
  103. package/esm/{getDataTestId-24658df5.d.ts → getDataTestId-0192477a.d.ts} +0 -0
  104. package/esm/{getDataTestId-24658df5.js → getDataTestId-0192477a.js} +0 -0
  105. package/esm/index.css +19 -19
  106. package/esm/index.d.ts +1 -1
  107. package/esm/index.js +4 -4
  108. package/{getDataTestId-c75f2fa7.d.ts → getDataTestId-6d196b22.d.ts} +0 -0
  109. package/{getDataTestId-c75f2fa7.js → getDataTestId-6d196b22.js} +0 -0
  110. package/index.css +19 -19
  111. package/index.d.ts +1 -1
  112. package/index.js +4 -4
  113. package/{cssm/component-cf0927a9.d.ts → modern/component-3f45f3c4.d.ts} +1 -4
  114. package/modern/{component-8701daca.d.ts → component-57adeea3.d.ts} +0 -0
  115. package/modern/{component-8701daca.js → component-57adeea3.js} +7 -7
  116. package/modern/component.js +3 -3
  117. package/modern/components/addon/component.js +2 -2
  118. package/modern/components/addon/index.css +7 -7
  119. package/modern/components/addon/index.js +1 -1
  120. package/modern/components/amount/component.js +2 -2
  121. package/modern/components/amount/index.css +2 -2
  122. package/modern/components/amount/index.js +1 -1
  123. package/modern/components/amount-title/component.js +2 -2
  124. package/modern/components/amount-title/index.css +3 -3
  125. package/modern/components/amount-title/index.js +1 -1
  126. package/modern/components/category/component.js +2 -2
  127. package/modern/components/category/index.css +4 -4
  128. package/modern/components/category/index.js +1 -1
  129. package/modern/components/content/component.js +3 -3
  130. package/modern/components/content/index.css +3 -3
  131. package/modern/components/content/index.d.ts +1 -1
  132. package/modern/components/content/index.js +3 -3
  133. package/modern/components/footer/component.js +2 -2
  134. package/modern/components/footer/index.css +4 -4
  135. package/modern/components/footer/index.js +1 -1
  136. package/modern/components/footer-button/component.js +2 -2
  137. package/modern/components/footer-button/index.css +2 -2
  138. package/modern/components/footer-button/index.js +1 -1
  139. package/modern/components/footer-text/component.js +1 -1
  140. package/modern/components/footer-text/index.js +1 -1
  141. package/modern/components/graphics/component.js +2 -2
  142. package/modern/components/graphics/index.css +2 -2
  143. package/modern/components/graphics/index.js +1 -1
  144. package/modern/components/main/component.js +3 -3
  145. package/modern/components/main/index.css +4 -4
  146. package/modern/components/main/index.d.ts +1 -1
  147. package/modern/components/main/index.js +3 -3
  148. package/modern/components/text/component.js +3 -3
  149. package/modern/components/text/index.css +7 -7
  150. package/modern/components/text/index.d.ts +1 -1
  151. package/modern/components/text/index.js +3 -3
  152. package/modern/components/types.d.ts +1 -1
  153. package/modern/{getDataTestId-a96c8b1d.d.ts → getDataTestId-bcfbe2e1.d.ts} +0 -0
  154. package/modern/{getDataTestId-a96c8b1d.js → getDataTestId-bcfbe2e1.js} +0 -0
  155. package/modern/index.css +19 -19
  156. package/modern/index.d.ts +1 -1
  157. package/modern/index.js +3 -3
  158. package/package.json +3 -2
  159. package/components/comment/component.d.ts +0 -15
  160. package/components/comment/component.js +0 -22
  161. package/components/comment/index.css +0 -34
  162. package/components/comment/index.d.ts +0 -1
  163. package/components/comment/index.js +0 -12
  164. package/cssm/components/comment/component.d.ts +0 -15
  165. package/cssm/components/comment/component.js +0 -21
  166. package/cssm/components/comment/index.d.ts +0 -1
  167. package/cssm/components/comment/index.js +0 -13
  168. package/cssm/components/comment/index.module.css +0 -33
  169. package/esm/components/comment/component.d.ts +0 -15
  170. package/esm/components/comment/component.js +0 -14
  171. package/esm/components/comment/index.css +0 -34
  172. package/esm/components/comment/index.d.ts +0 -1
  173. package/esm/components/comment/index.js +0 -4
  174. package/modern/components/comment/component.d.ts +0 -15
  175. package/modern/components/comment/component.js +0 -11
  176. package/modern/components/comment/index.css +0 -34
  177. package/modern/components/comment/index.d.ts +0 -1
  178. package/modern/components/comment/index.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: 17fik */
1
+ /* hash: 17h8g */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,7 +10,7 @@
10
10
  :root {
11
11
  --gap-3xs: 2px;
12
12
  }
13
- .pure-cell__component_zcu4m {
13
+ .pure-cell__component_6r3xb {
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  align-self: center;
@@ -18,7 +18,7 @@
18
18
  /* can use /r/n */
19
19
  white-space: pre-line
20
20
  }
21
- .pure-cell__component_zcu4m.pure-cell__vertical_zcu4m {
21
+ .pure-cell__component_6r3xb.pure-cell__vertical_6r3xb {
22
22
  grid-row-gap: var(--gap-3xs);
23
23
  justify-content: center;
24
24
  align-items: center;
@@ -26,6 +26,6 @@
26
26
  /* for button */
27
27
  text-align: center;
28
28
  }
29
- .pure-cell__component_zcu4m.pure-cell__reverse_zcu4m {
29
+ .pure-cell__component_6r3xb.pure-cell__reverse_6r3xb {
30
30
  flex-direction: column-reverse;
31
31
  }
@@ -1 +1 @@
1
- export * from "../../component-8701daca";
1
+ export * from "../../component-57adeea3";
@@ -2,15 +2,15 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '../../getDataTestId-a96c8b1d.js';
5
+ import '@alfalab/core-components-comment/modern';
6
+ import '../../getDataTestId-bcfbe2e1.js';
6
7
  import '../addon/component.js';
7
8
  import '@alfalab/core-components-typography/modern';
8
9
  import '@alfalab/core-components-amount/modern';
9
10
  import '../amount/component.js';
10
11
  import '../amount-title/component.js';
11
12
  import '../category/component.js';
12
- import '../comment/component.js';
13
- export { M as Main } from '../../component-8701daca.js';
13
+ export { M as Main } from '../../component-57adeea3.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';
@@ -2,15 +2,15 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '../../getDataTestId-a96c8b1d.js';
5
+ import '@alfalab/core-components-comment/modern';
6
+ import '../../getDataTestId-bcfbe2e1.js';
6
7
  import '../addon/component.js';
7
8
  import '@alfalab/core-components-typography/modern';
8
9
  import '@alfalab/core-components-amount/modern';
9
10
  import '../amount/component.js';
10
11
  import '../amount-title/component.js';
11
12
  import '../category/component.js';
12
- import '../comment/component.js';
13
- export { T as Text } from '../../component-8701daca.js';
13
+ export { T as Text } from '../../component-57adeea3.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';
@@ -1,4 +1,4 @@
1
- /* hash: bij9p */
1
+ /* hash: 89piq */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -11,31 +11,31 @@
11
11
  --gap-3xs: 2px;
12
12
  --gap-m: 16px;
13
13
  }
14
- .pure-cell__horizontal_bt8er {
14
+ .pure-cell__horizontal_1ui98 {
15
15
  padding: var(--gap-3xs) 0;
16
16
  }
17
- .pure-cell__rowLimit1_bt8er {
17
+ .pure-cell__rowLimit1_1ui98 {
18
18
  display: -webkit-box;
19
19
  -webkit-line-clamp: 1;
20
20
  -webkit-box-orient: vertical;
21
21
  overflow: hidden;
22
22
  }
23
- .pure-cell__rowLimit2_bt8er {
23
+ .pure-cell__rowLimit2_1ui98 {
24
24
  display: -webkit-box;
25
25
  -webkit-line-clamp: 2;
26
26
  -webkit-box-orient: vertical;
27
27
  overflow: hidden;
28
28
  }
29
- .pure-cell__component_bt8er {
29
+ .pure-cell__component_1ui98 {
30
30
  display: flex;
31
31
  flex-direction: row;
32
32
  flex-wrap: nowrap;
33
33
  justify-content: space-between;
34
34
  margin: var(--gap-3xs) 0;
35
35
  }
36
- .pure-cell__component_bt8er .pure-cell__vertical_bt8er {
36
+ .pure-cell__component_1ui98 .pure-cell__vertical_1ui98 {
37
37
  justify-content: center;
38
38
  }
39
- .pure-cell__title_bt8er {
39
+ .pure-cell__title_1ui98 {
40
40
  margin-right: var(--gap-m);
41
41
  }
@@ -1 +1 @@
1
- export * from "../../component-8701daca";
1
+ export * from "../../component-57adeea3";
@@ -2,15 +2,15 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import '../../getDataTestId-a96c8b1d.js';
5
+ import '@alfalab/core-components-comment/modern';
6
+ import '../../getDataTestId-bcfbe2e1.js';
6
7
  import '../addon/component.js';
7
8
  import '@alfalab/core-components-typography/modern';
8
9
  import '@alfalab/core-components-amount/modern';
9
10
  import '../amount/component.js';
10
11
  import '../amount-title/component.js';
11
12
  import '../category/component.js';
12
- import '../comment/component.js';
13
- export { T as Text } from '../../component-8701daca.js';
13
+ export { T as Text } from '../../component-57adeea3.js';
14
14
  import '../footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import '../footer-button/component.js';
@@ -1,7 +1,7 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
+ import { Comment } from "@alfalab/core-components-comment";
2
3
  import { Amount } from "./amount/index";
3
4
  import { AmountTitle } from "./amount-title/index";
4
- import { Comment } from "./comment/index";
5
5
  import { FooterButton } from "./footer-button/index";
6
6
  import { FooterText } from "./footer-text/index";
7
7
  import { Graphics } from "./graphics/index";
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1x9lj */
1
+ /* hash: 1qltl */
2
2
  :root {
3
3
  --color-light-border-link: #007aff;
4
4
  }
@@ -19,21 +19,21 @@
19
19
  :root {
20
20
  --focus-color: var(--color-light-border-link);
21
21
  }
22
- .pure-cell__component_rra5g {
22
+ .pure-cell__component_1uyr2 {
23
23
  text-align: unset;
24
24
  }
25
- .pure-cell__horizontal_rra5g {
25
+ .pure-cell__horizontal_1uyr2 {
26
26
  display: flex;
27
27
  width: 100%;
28
28
  grid-column-gap: var(--gap-m);
29
29
  }
30
- .pure-cell__vertical_rra5g {
30
+ .pure-cell__vertical_1uyr2 {
31
31
  display: flex;
32
32
  align-items: center;
33
33
  flex-direction: column;
34
34
  grid-row-gap: var(--gap-s);
35
35
  }
36
- .pure-cell__button_rra5g {
36
+ .pure-cell__button_1uyr2 {
37
37
  font-family: inherit;
38
38
  background: none;
39
39
  border: 0;
@@ -42,50 +42,50 @@
42
42
  transition: opacity 0.15s ease-in-out;
43
43
  padding: 0
44
44
  }
45
- .pure-cell__button_rra5g:hover {
45
+ .pure-cell__button_1uyr2:hover {
46
46
  opacity: 0.8;
47
47
  }
48
- .pure-cell__button_rra5g:active {
48
+ .pure-cell__button_1uyr2:active {
49
49
  opacity: 0.6;
50
50
  }
51
- .pure-cell__link_rra5g {
51
+ .pure-cell__link_1uyr2 {
52
52
  text-decoration: none;
53
53
  color: inherit;
54
54
  cursor: pointer;
55
55
  transition: opacity 0.15s ease-in-out
56
56
  }
57
- .pure-cell__link_rra5g:hover {
57
+ .pure-cell__link_1uyr2:hover {
58
58
  opacity: 0.8;
59
59
  }
60
- .pure-cell__link_rra5g:active {
60
+ .pure-cell__link_1uyr2:active {
61
61
  opacity: 0.6;
62
62
  }
63
- .pure-cell__none_rra5g {
63
+ .pure-cell__none_1uyr2 {
64
64
  padding: 0;
65
65
  }
66
- .pure-cell__airy_rra5g {
66
+ .pure-cell__airy_1uyr2 {
67
67
  padding: var(--gap-m) 0;
68
68
  }
69
- .pure-cell__defaultPadding_rra5g {
69
+ .pure-cell__defaultPadding_1uyr2 {
70
70
  padding: var(--gap-s) 0;
71
71
  }
72
- .pure-cell__compact_rra5g {
72
+ .pure-cell__compact_1uyr2 {
73
73
  padding: var(--gap-xs) 0;
74
74
  }
75
- .pure-cell__tiny_rra5g {
75
+ .pure-cell__tiny_1uyr2 {
76
76
  padding: var(--gap-2xs) 0;
77
77
  }
78
- .pure-cell__left_rra5g {
78
+ .pure-cell__left_1uyr2 {
79
79
  padding-left: var(--gap-m);
80
80
  }
81
- .pure-cell__right_rra5g {
81
+ .pure-cell__right_1uyr2 {
82
82
  padding-right: var(--gap-m);
83
83
  }
84
- .pure-cell__both_rra5g {
84
+ .pure-cell__both_1uyr2 {
85
85
  padding-right: var(--gap-m);
86
86
  padding-left: var(--gap-m);
87
87
  }
88
- .pure-cell__focused_rra5g {
88
+ .pure-cell__focused_1uyr2 {
89
89
  outline: 2px solid var(--focus-color);
90
90
  outline-offset: 2px;
91
91
  }
package/modern/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { PureCell } from "./component-cf0927a9";
1
+ export { PureCell } from "./component-3f45f3c4";
package/modern/index.js CHANGED
@@ -2,15 +2,15 @@ import 'react';
2
2
  import 'react-merge-refs';
3
3
  import 'classnames';
4
4
  import '@alfalab/hooks';
5
- import './getDataTestId-a96c8b1d.js';
5
+ import '@alfalab/core-components-comment/modern';
6
+ import './getDataTestId-bcfbe2e1.js';
6
7
  import './components/addon/component.js';
7
8
  import '@alfalab/core-components-typography/modern';
8
9
  import '@alfalab/core-components-amount/modern';
9
10
  import './components/amount/component.js';
10
11
  import './components/amount-title/component.js';
11
12
  import './components/category/component.js';
12
- import './components/comment/component.js';
13
- export { P as PureCell } from './component-8701daca.js';
13
+ export { P as PureCell } from './component-57adeea3.js';
14
14
  import './components/footer/component.js';
15
15
  import '@alfalab/core-components-button/modern';
16
16
  import './components/footer-button/component.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-pure-cell",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -18,9 +18,10 @@
18
18
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
19
19
  },
20
20
  "dependencies": {
21
- "@alfalab/core-components-amount": "^3.0.2",
21
+ "@alfalab/core-components-amount": "^3.0.3",
22
22
  "@alfalab/core-components-button": "^6.1.1",
23
23
  "@alfalab/core-components-typography": "^3.0.2",
24
+ "@alfalab/core-components-comment": "^2.0.2",
24
25
  "@alfalab/hooks": "^1.4.1",
25
26
  "classnames": "^2.3.1",
26
27
  "react-merge-refs": "1.1.0"
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { CommentElement } from "../types";
4
- type Props = {
5
- /**
6
- * Компоненты
7
- */
8
- children: CommentElement;
9
- /**
10
- * Идентификатор для систем автоматизированного тестирования
11
- */
12
- dataTestId?: string;
13
- };
14
- declare const Comment: React.FC<Props>;
15
- export { Comment };
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var React = require('react');
6
- var getDataTestId = require('../../getDataTestId-c75f2fa7.js');
7
- var coreComponentsTypography = require('@alfalab/core-components-typography');
8
-
9
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
-
11
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
-
13
- var styles = {"component":"pure-cell__component_6tv4p","text":"pure-cell__text_6tv4p"};
14
- require('./index.css')
15
-
16
- var Comment = function (_a) {
17
- var children = _a.children, dataTestId = _a.dataTestId;
18
- return (React__default['default'].createElement("div", { className: styles.component, "data-test-id": getDataTestId.getDataTestId(dataTestId, 'comment') },
19
- React__default['default'].createElement(coreComponentsTypography.Typography.Text, { tag: 'div', view: 'primary-small', className: styles.text, color: 'primary' }, children)));
20
- };
21
-
22
- exports.Comment = Comment;
@@ -1,34 +0,0 @@
1
- /* hash: fn76i */
2
- :root {
3
- --color-light-bg-secondary: #f3f4f5;
4
- }
5
- :root {
6
-
7
- /* Hard */
8
-
9
- /* Up */
10
-
11
- /* Hard up */
12
- }
13
- :root {
14
- --gap-xs: 8px;
15
- --gap-m: 16px;
16
- }
17
- :root {
18
- --border-radius-xs: 2px;
19
- --border-radius-xxl: 20px;
20
- }
21
- .pure-cell__component_6tv4p {
22
- width: -moz-fit-content;
23
- width: fit-content;
24
- padding: var(--gap-xs) var(--gap-m);
25
- background-color: var(--color-light-bg-secondary);
26
- border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
27
- var(--border-radius-xxl);
28
- }
29
- .pure-cell__text_6tv4p {
30
- display: -webkit-box;
31
- -webkit-line-clamp: 2;
32
- -webkit-box-orient: vertical;
33
- overflow: hidden;
34
- }
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- require('react');
6
- require('../../getDataTestId-c75f2fa7.js');
7
- require('@alfalab/core-components-typography');
8
- var components_comment_component = require('./component.js');
9
-
10
-
11
-
12
- exports.Comment = components_comment_component.Comment;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { CommentElement } from "../types";
4
- type Props = {
5
- /**
6
- * Компоненты
7
- */
8
- children: CommentElement;
9
- /**
10
- * Идентификатор для систем автоматизированного тестирования
11
- */
12
- dataTestId?: string;
13
- };
14
- declare const Comment: React.FC<Props>;
15
- export { Comment };
@@ -1,21 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var React = require('react');
6
- var getDataTestId = require('../../getDataTestId-12a31ec3.js');
7
- var coreComponentsTypography = require('@alfalab/core-components-typography/cssm');
8
- var styles = require('./index.module.css');
9
-
10
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
-
12
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
- var styles__default = /*#__PURE__*/_interopDefaultLegacy(styles);
14
-
15
- var Comment = function (_a) {
16
- var children = _a.children, dataTestId = _a.dataTestId;
17
- return (React__default['default'].createElement("div", { className: styles__default['default'].component, "data-test-id": getDataTestId.getDataTestId(dataTestId, 'comment') },
18
- React__default['default'].createElement(coreComponentsTypography.Typography.Text, { tag: 'div', view: 'primary-small', className: styles__default['default'].text, color: 'primary' }, children)));
19
- };
20
-
21
- exports.Comment = Comment;
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- require('react');
6
- require('../../getDataTestId-12a31ec3.js');
7
- require('@alfalab/core-components-typography/cssm');
8
- require('./index.module.css');
9
- var components_comment_component = require('./component.js');
10
-
11
-
12
-
13
- exports.Comment = components_comment_component.Comment;
@@ -1,33 +0,0 @@
1
- :root {
2
- --color-light-bg-secondary: #f3f4f5;
3
- }
4
- :root {
5
-
6
- /* Hard */
7
-
8
- /* Up */
9
-
10
- /* Hard up */
11
- }
12
- :root {
13
- --gap-xs: 8px;
14
- --gap-m: 16px;
15
- }
16
- :root {
17
- --border-radius-xs: 2px;
18
- --border-radius-xxl: 20px;
19
- }
20
- .component {
21
- width: -moz-fit-content;
22
- width: fit-content;
23
- padding: var(--gap-xs) var(--gap-m);
24
- background-color: var(--color-light-bg-secondary);
25
- border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
26
- var(--border-radius-xxl);
27
- }
28
- .text {
29
- display: -webkit-box;
30
- -webkit-line-clamp: 2;
31
- -webkit-box-orient: vertical;
32
- overflow: hidden;
33
- }
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { CommentElement } from "../types";
4
- type Props = {
5
- /**
6
- * Компоненты
7
- */
8
- children: CommentElement;
9
- /**
10
- * Идентификатор для систем автоматизированного тестирования
11
- */
12
- dataTestId?: string;
13
- };
14
- declare const Comment: React.FC<Props>;
15
- export { Comment };
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-24658df5.js';
3
- import { Typography } from '@alfalab/core-components-typography/esm';
4
-
5
- var styles = {"component":"pure-cell__component_6tv4p","text":"pure-cell__text_6tv4p"};
6
- require('./index.css')
7
-
8
- var Comment = function (_a) {
9
- var children = _a.children, dataTestId = _a.dataTestId;
10
- return (React.createElement("div", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'comment') },
11
- React.createElement(Typography.Text, { tag: 'div', view: 'primary-small', className: styles.text, color: 'primary' }, children)));
12
- };
13
-
14
- export { Comment };
@@ -1,34 +0,0 @@
1
- /* hash: fn76i */
2
- :root {
3
- --color-light-bg-secondary: #f3f4f5;
4
- }
5
- :root {
6
-
7
- /* Hard */
8
-
9
- /* Up */
10
-
11
- /* Hard up */
12
- }
13
- :root {
14
- --gap-xs: 8px;
15
- --gap-m: 16px;
16
- }
17
- :root {
18
- --border-radius-xs: 2px;
19
- --border-radius-xxl: 20px;
20
- }
21
- .pure-cell__component_6tv4p {
22
- width: -moz-fit-content;
23
- width: fit-content;
24
- padding: var(--gap-xs) var(--gap-m);
25
- background-color: var(--color-light-bg-secondary);
26
- border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
27
- var(--border-radius-xxl);
28
- }
29
- .pure-cell__text_6tv4p {
30
- display: -webkit-box;
31
- -webkit-line-clamp: 2;
32
- -webkit-box-orient: vertical;
33
- overflow: hidden;
34
- }
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,4 +0,0 @@
1
- import 'react';
2
- import '../../getDataTestId-24658df5.js';
3
- import '@alfalab/core-components-typography/esm';
4
- export { Comment } from './component.js';
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { CommentElement } from "../types";
4
- type Props = {
5
- /**
6
- * Компоненты
7
- */
8
- children: CommentElement;
9
- /**
10
- * Идентификатор для систем автоматизированного тестирования
11
- */
12
- dataTestId?: string;
13
- };
14
- declare const Comment: React.FC<Props>;
15
- export { Comment };
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { g as getDataTestId } from '../../getDataTestId-a96c8b1d.js';
3
- import { Typography } from '@alfalab/core-components-typography/modern';
4
-
5
- var styles = {"component":"pure-cell__component_6tv4p","text":"pure-cell__text_6tv4p"};
6
- require('./index.css')
7
-
8
- const Comment = ({ children, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'comment') },
9
- React.createElement(Typography.Text, { tag: 'div', view: 'primary-small', className: styles.text, color: 'primary' }, children)));
10
-
11
- export { Comment };
@@ -1,34 +0,0 @@
1
- /* hash: fn76i */
2
- :root {
3
- --color-light-bg-secondary: #f3f4f5;
4
- }
5
- :root {
6
-
7
- /* Hard */
8
-
9
- /* Up */
10
-
11
- /* Hard up */
12
- }
13
- :root {
14
- --gap-xs: 8px;
15
- --gap-m: 16px;
16
- }
17
- :root {
18
- --border-radius-xs: 2px;
19
- --border-radius-xxl: 20px;
20
- }
21
- .pure-cell__component_6tv4p {
22
- width: -moz-fit-content;
23
- width: fit-content;
24
- padding: var(--gap-xs) var(--gap-m);
25
- background-color: var(--color-light-bg-secondary);
26
- border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
27
- var(--border-radius-xxl);
28
- }
29
- .pure-cell__text_6tv4p {
30
- display: -webkit-box;
31
- -webkit-line-clamp: 2;
32
- -webkit-box-orient: vertical;
33
- overflow: hidden;
34
- }
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1,4 +0,0 @@
1
- import 'react';
2
- import '../../getDataTestId-a96c8b1d.js';
3
- import '@alfalab/core-components-typography/modern';
4
- export { Comment } from './component.js';