@alfalab/core-components-pure-cell 4.7.1 → 4.8.0

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 (197) hide show
  1. package/{esm/component-9cd60393.d.ts → component-21d7b687.d.ts} +11 -2
  2. package/{component-49e6db18.d.ts → component-40566f8c.d.ts} +5 -1
  3. package/{component-49e6db18.js → component-40566f8c.js} +21 -15
  4. package/component.js +1 -1
  5. package/components/addon/component.js +1 -1
  6. package/components/addon/index.css +10 -10
  7. package/components/addon/index.d.ts +1 -1
  8. package/components/addon/index.js +1 -1
  9. package/components/amount/component.js +1 -1
  10. package/components/amount/index.css +2 -2
  11. package/components/amount/index.d.ts +1 -1
  12. package/components/amount/index.js +1 -1
  13. package/components/amount-title/component.js +1 -1
  14. package/components/amount-title/index.css +3 -3
  15. package/components/amount-title/index.d.ts +1 -1
  16. package/components/amount-title/index.js +1 -1
  17. package/components/category/component.js +1 -1
  18. package/components/category/index.css +5 -5
  19. package/components/category/index.d.ts +1 -1
  20. package/components/category/index.js +1 -1
  21. package/components/content/component.js +1 -1
  22. package/components/content/index.css +3 -3
  23. package/components/content/index.d.ts +1 -1
  24. package/components/content/index.js +1 -1
  25. package/components/footer/component.js +1 -1
  26. package/components/footer/index.css +4 -4
  27. package/components/footer/index.d.ts +1 -1
  28. package/components/footer/index.js +1 -1
  29. package/components/footer-button/component.js +1 -1
  30. package/components/footer-button/index.css +2 -2
  31. package/components/footer-button/index.d.ts +1 -1
  32. package/components/footer-button/index.js +1 -1
  33. package/components/footer-text/component.js +1 -1
  34. package/components/footer-text/index.d.ts +1 -1
  35. package/components/footer-text/index.js +1 -1
  36. package/components/graphics/component.js +1 -1
  37. package/components/graphics/index.css +30 -6
  38. package/components/graphics/index.d.ts +1 -1
  39. package/components/graphics/index.js +1 -1
  40. package/components/main/component.js +1 -1
  41. package/components/main/index.css +4 -4
  42. package/components/main/index.d.ts +1 -1
  43. package/components/main/index.js +1 -1
  44. package/components/text/component.js +1 -1
  45. package/components/text/index.css +7 -7
  46. package/components/text/index.d.ts +1 -1
  47. package/components/text/index.js +1 -1
  48. package/{esm/component-5eb318e0.d.ts → cssm/component-063660c0.d.ts} +5 -1
  49. package/cssm/{component-4445c77d.js → component-063660c0.js} +10 -4
  50. package/cssm/{component-9cd60393.d.ts → component-21d7b687.d.ts} +11 -2
  51. package/cssm/component.js +1 -1
  52. package/cssm/components/addon/component.js +1 -1
  53. package/cssm/components/addon/index.d.ts +1 -1
  54. package/cssm/components/addon/index.js +1 -1
  55. package/cssm/components/amount/component.js +1 -1
  56. package/cssm/components/amount/index.d.ts +1 -1
  57. package/cssm/components/amount/index.js +1 -1
  58. package/cssm/components/amount-title/component.js +1 -1
  59. package/cssm/components/amount-title/index.d.ts +1 -1
  60. package/cssm/components/amount-title/index.js +1 -1
  61. package/cssm/components/category/component.js +1 -1
  62. package/cssm/components/category/index.d.ts +1 -1
  63. package/cssm/components/category/index.js +1 -1
  64. package/cssm/components/content/component.js +1 -1
  65. package/cssm/components/content/index.d.ts +1 -1
  66. package/cssm/components/content/index.js +1 -1
  67. package/cssm/components/footer/component.js +1 -1
  68. package/cssm/components/footer/index.d.ts +1 -1
  69. package/cssm/components/footer/index.js +1 -1
  70. package/cssm/components/footer-button/component.js +1 -1
  71. package/cssm/components/footer-button/index.d.ts +1 -1
  72. package/cssm/components/footer-button/index.js +1 -1
  73. package/cssm/components/footer-text/component.js +1 -1
  74. package/cssm/components/footer-text/index.d.ts +1 -1
  75. package/cssm/components/footer-text/index.js +1 -1
  76. package/cssm/components/graphics/component.js +1 -1
  77. package/cssm/components/graphics/index.d.ts +1 -1
  78. package/cssm/components/graphics/index.js +1 -1
  79. package/cssm/components/graphics/index.module.css +25 -1
  80. package/cssm/components/main/component.js +1 -1
  81. package/cssm/components/main/index.d.ts +1 -1
  82. package/cssm/components/main/index.js +1 -1
  83. package/cssm/components/text/component.js +1 -1
  84. package/cssm/components/text/index.d.ts +1 -1
  85. package/cssm/components/text/index.js +1 -1
  86. package/cssm/index.d.ts +2 -2
  87. package/cssm/index.js +1 -1
  88. package/cssm/index.module.css +25 -9
  89. package/{component-9cd60393.d.ts → esm/component-21d7b687.d.ts} +11 -2
  90. package/{modern/component-d1c071aa.d.ts → esm/component-c5ff489c.d.ts} +5 -1
  91. package/esm/{component-5eb318e0.js → component-c5ff489c.js} +21 -15
  92. package/esm/component.js +1 -1
  93. package/esm/components/addon/component.js +1 -1
  94. package/esm/components/addon/index.css +10 -10
  95. package/esm/components/addon/index.d.ts +1 -1
  96. package/esm/components/addon/index.js +1 -1
  97. package/esm/components/amount/component.js +1 -1
  98. package/esm/components/amount/index.css +2 -2
  99. package/esm/components/amount/index.d.ts +1 -1
  100. package/esm/components/amount/index.js +1 -1
  101. package/esm/components/amount-title/component.js +1 -1
  102. package/esm/components/amount-title/index.css +3 -3
  103. package/esm/components/amount-title/index.d.ts +1 -1
  104. package/esm/components/amount-title/index.js +1 -1
  105. package/esm/components/category/component.js +1 -1
  106. package/esm/components/category/index.css +5 -5
  107. package/esm/components/category/index.d.ts +1 -1
  108. package/esm/components/category/index.js +1 -1
  109. package/esm/components/content/component.js +1 -1
  110. package/esm/components/content/index.css +3 -3
  111. package/esm/components/content/index.d.ts +1 -1
  112. package/esm/components/content/index.js +1 -1
  113. package/esm/components/footer/component.js +1 -1
  114. package/esm/components/footer/index.css +4 -4
  115. package/esm/components/footer/index.d.ts +1 -1
  116. package/esm/components/footer/index.js +1 -1
  117. package/esm/components/footer-button/component.js +1 -1
  118. package/esm/components/footer-button/index.css +2 -2
  119. package/esm/components/footer-button/index.d.ts +1 -1
  120. package/esm/components/footer-button/index.js +1 -1
  121. package/esm/components/footer-text/component.js +1 -1
  122. package/esm/components/footer-text/index.d.ts +1 -1
  123. package/esm/components/footer-text/index.js +1 -1
  124. package/esm/components/graphics/component.js +1 -1
  125. package/esm/components/graphics/index.css +30 -6
  126. package/esm/components/graphics/index.d.ts +1 -1
  127. package/esm/components/graphics/index.js +1 -1
  128. package/esm/components/main/component.js +1 -1
  129. package/esm/components/main/index.css +4 -4
  130. package/esm/components/main/index.d.ts +1 -1
  131. package/esm/components/main/index.js +1 -1
  132. package/esm/components/text/component.js +1 -1
  133. package/esm/components/text/index.css +7 -7
  134. package/esm/components/text/index.d.ts +1 -1
  135. package/esm/components/text/index.js +1 -1
  136. package/esm/index.css +41 -25
  137. package/esm/index.d.ts +2 -2
  138. package/esm/index.js +1 -1
  139. package/index.css +41 -25
  140. package/index.d.ts +2 -2
  141. package/index.js +1 -1
  142. package/modern/{component-9cd60393.d.ts → component-21d7b687.d.ts} +11 -2
  143. package/{cssm/component-4445c77d.d.ts → modern/component-4f06f921.d.ts} +5 -1
  144. package/modern/{component-d1c071aa.js → component-4f06f921.js} +21 -15
  145. package/modern/component.js +1 -1
  146. package/modern/components/addon/component.js +1 -1
  147. package/modern/components/addon/index.css +10 -10
  148. package/modern/components/addon/index.d.ts +1 -1
  149. package/modern/components/addon/index.js +1 -1
  150. package/modern/components/amount/component.js +1 -1
  151. package/modern/components/amount/index.css +2 -2
  152. package/modern/components/amount/index.d.ts +1 -1
  153. package/modern/components/amount/index.js +1 -1
  154. package/modern/components/amount-title/component.js +1 -1
  155. package/modern/components/amount-title/index.css +3 -3
  156. package/modern/components/amount-title/index.d.ts +1 -1
  157. package/modern/components/amount-title/index.js +1 -1
  158. package/modern/components/category/component.js +1 -1
  159. package/modern/components/category/index.css +5 -5
  160. package/modern/components/category/index.d.ts +1 -1
  161. package/modern/components/category/index.js +1 -1
  162. package/modern/components/content/component.js +1 -1
  163. package/modern/components/content/index.css +3 -3
  164. package/modern/components/content/index.d.ts +1 -1
  165. package/modern/components/content/index.js +1 -1
  166. package/modern/components/footer/component.js +1 -1
  167. package/modern/components/footer/index.css +4 -4
  168. package/modern/components/footer/index.d.ts +1 -1
  169. package/modern/components/footer/index.js +1 -1
  170. package/modern/components/footer-button/component.js +1 -1
  171. package/modern/components/footer-button/index.css +2 -2
  172. package/modern/components/footer-button/index.d.ts +1 -1
  173. package/modern/components/footer-button/index.js +1 -1
  174. package/modern/components/footer-text/component.js +1 -1
  175. package/modern/components/footer-text/index.d.ts +1 -1
  176. package/modern/components/footer-text/index.js +1 -1
  177. package/modern/components/graphics/component.js +1 -1
  178. package/modern/components/graphics/index.css +30 -6
  179. package/modern/components/graphics/index.d.ts +1 -1
  180. package/modern/components/graphics/index.js +1 -1
  181. package/modern/components/main/component.js +1 -1
  182. package/modern/components/main/index.css +4 -4
  183. package/modern/components/main/index.d.ts +1 -1
  184. package/modern/components/main/index.js +1 -1
  185. package/modern/components/text/component.js +1 -1
  186. package/modern/components/text/index.css +7 -7
  187. package/modern/components/text/index.d.ts +1 -1
  188. package/modern/components/text/index.js +1 -1
  189. package/modern/index.css +41 -25
  190. package/modern/index.d.ts +2 -2
  191. package/modern/index.js +1 -1
  192. package/package.json +3 -3
  193. package/src/component.tsx +26 -3
  194. package/src/components/graphics/component.tsx +19 -2
  195. package/src/components/graphics/index.module.css +43 -0
  196. package/src/components/text/component.tsx +7 -1
  197. package/src/index.module.css +41 -9
@@ -1,4 +1,4 @@
1
- /* hash: z85d4 */
1
+ /* hash: 17b08 */
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-cell__component_w3nqw {
21
+ } .pure-cell__component_kmuuv {
18
22
  display: inline-flex;
19
23
  flex-basis: auto;
20
- } .pure-cell__top_w3nqw {
24
+ } .pure-cell__top_kmuuv {
21
25
  align-self: flex-start;
22
- } .pure-cell__center_w3nqw {
26
+ } .pure-cell__center_kmuuv {
23
27
  align-self: center;
24
- } .pure-cell__bottom_w3nqw {
28
+ } .pure-cell__bottom_kmuuv {
25
29
  align-self: flex-end;
26
- }
30
+ } .pure-cell__horizontal_kmuuv:not(:last-child).pure-cell__none_kmuuv {
31
+ margin-right: 0;
32
+ } .pure-cell__horizontal_kmuuv:not(:last-child).pure-cell__airy_kmuuv {
33
+ margin-right: var(--gap-m);
34
+ } .pure-cell__horizontal_kmuuv:not(:last-child).pure-cell__default_kmuuv {
35
+ margin-right: var(--gap-s);
36
+ } .pure-cell__horizontal_kmuuv:not(:last-child).pure-cell__compact_kmuuv {
37
+ margin-right: var(--gap-xs);
38
+ } .pure-cell__horizontal_kmuuv:not(:last-child).pure-cell__tiny_kmuuv {
39
+ margin-right: var(--gap-2xs);
40
+ } .pure-cell__vertical_kmuuv:not(:last-child).pure-cell__none_kmuuv {
41
+ margin-bottom: 0;
42
+ } .pure-cell__vertical_kmuuv:not(:last-child).pure-cell__airy_kmuuv {
43
+ margin-bottom: var(--gap-m);
44
+ } .pure-cell__vertical_kmuuv:not(:last-child).pure-cell__default_kmuuv {
45
+ margin-bottom: var(--gap-s);
46
+ } .pure-cell__vertical_kmuuv:not(:last-child).pure-cell__compact_kmuuv {
47
+ margin-bottom: var(--gap-xs);
48
+ } .pure-cell__vertical_kmuuv:not(:last-child).pure-cell__tiny_kmuuv {
49
+ margin-bottom: var(--gap-2xs);
50
+ }
@@ -1 +1 @@
1
- export * from "../../component-5eb318e0";
1
+ export * from "../../component-c5ff489c";
@@ -1 +1 @@
1
- export { G as Graphics } from '../../component-5eb318e0.js';
1
+ export { G as Graphics } from '../../component-c5ff489c.js';
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-shared/esm';
4
- export { M as Main } from '../../component-5eb318e0.js';
4
+ export { M as Main } from '../../component-c5ff489c.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1xlky */
1
+ /* hash: vrlws */
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-cell__component_1eavy {
18
+ } .pure-cell__component_2fv7t {
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_1eavy.pure-cell__vertical_1eavy {
25
+ } .pure-cell__component_2fv7t.pure-cell__vertical_2fv7t {
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_1eavy.pure-cell__reverse_1eavy {
32
+ } .pure-cell__component_2fv7t.pure-cell__reverse_2fv7t {
33
33
  flex-direction: column-reverse;
34
34
  }
@@ -1 +1 @@
1
- export * from "../../component-5eb318e0";
1
+ export * from "../../component-c5ff489c";
@@ -1 +1 @@
1
- export { M as Main } from '../../component-5eb318e0.js';
1
+ export { M as Main } from '../../component-c5ff489c.js';
@@ -2,4 +2,4 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-shared/esm';
4
4
  import '@alfalab/core-components-typography/esm';
5
- export { T as Text } from '../../component-5eb318e0.js';
5
+ export { T as Text } from '../../component-c5ff489c.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1haj9 */
1
+ /* hash: kpt6l */
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-cell__horizontal_q0k4w {
19
+ } .pure-cell__horizontal_16dfl {
20
20
  padding: var(--gap-3xs) 0;
21
- } .pure-cell__rowLimit1_q0k4w {
21
+ } .pure-cell__rowLimit1_16dfl {
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_q0k4w {
27
+ } .pure-cell__rowLimit2_16dfl {
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_q0k4w {
32
+ } .pure-cell__component_16dfl {
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_q0k4w .pure-cell__vertical_q0k4w {
39
+ } .pure-cell__component_16dfl .pure-cell__vertical_16dfl {
40
40
  justify-content: center;
41
- } .pure-cell__title_q0k4w + .pure-cell__value_q0k4w {
41
+ } .pure-cell__title_16dfl + .pure-cell__value_16dfl {
42
42
  margin-left: var(--gap-m);
43
43
  flex-shrink: 0;
44
44
  }
@@ -1 +1 @@
1
- export * from "../../component-5eb318e0";
1
+ export * from "../../component-c5ff489c";
@@ -1 +1 @@
1
- export { T as Text } from '../../component-5eb318e0.js';
1
+ export { T as Text } from '../../component-c5ff489c.js';
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1pnw5 */
1
+ /* hash: jedhi */
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-cell__component_a0jto {
23
+ } .pure-cell__component_yqcv9 {
24
24
  text-align: unset;
25
25
  box-sizing: border-box;
26
- } .pure-cell__horizontal_a0jto {
26
+ } .pure-cell__horizontal_yqcv9 {
27
27
  display: flex;
28
- width: 100%
29
- } .pure-cell__horizontal_a0jto > section:not(:last-child) {
30
- margin-right: var(--gap-m);
31
- } .pure-cell__vertical_a0jto {
28
+ width: 100%;
29
+ } .pure-cell__vertical_yqcv9 {
32
30
  display: flex;
33
31
  align-items: center;
34
- flex-direction: column
35
- } .pure-cell__vertical_a0jto > section:not(:last-child) {
36
- margin-bottom: var(--gap-s);
37
- } .pure-cell__button_a0jto {
32
+ flex-direction: column;
33
+ } .pure-cell__button_yqcv9 {
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-cell__button_a0jto:hover {
41
+ } .pure-cell__button_yqcv9:hover {
46
42
  opacity: 0.8;
47
- } .pure-cell__button_a0jto:active {
43
+ } .pure-cell__button_yqcv9:active {
48
44
  opacity: 0.6;
49
- } .pure-cell__link_a0jto {
45
+ } .pure-cell__link_yqcv9 {
50
46
  text-decoration: none;
51
47
  color: inherit;
52
48
  cursor: pointer;
53
49
  transition: opacity 0.15s ease-in-out
54
- } .pure-cell__link_a0jto:hover {
50
+ } .pure-cell__link_yqcv9:hover {
55
51
  opacity: 0.8;
56
- } .pure-cell__link_a0jto:active {
52
+ } .pure-cell__link_yqcv9:active {
57
53
  opacity: 0.6;
58
- } .pure-cell__none_a0jto {
54
+ } .pure-cell__none_yqcv9 {
59
55
  padding: 0;
60
- } .pure-cell__airy_a0jto {
56
+ } .pure-cell__airy_yqcv9 {
61
57
  padding: var(--gap-m) 0;
62
- } .pure-cell__defaultPadding_a0jto {
58
+ } .pure-cell__default_yqcv9 {
63
59
  padding: var(--gap-s) 0;
64
- } .pure-cell__compact_a0jto {
60
+ } .pure-cell__compact_yqcv9 {
65
61
  padding: var(--gap-xs) 0;
66
- } .pure-cell__tiny_a0jto {
62
+ } .pure-cell__tiny_yqcv9 {
67
63
  padding: var(--gap-2xs) 0;
68
- } .pure-cell__left_a0jto {
64
+ } .pure-cell__noneTop_yqcv9 {
65
+ padding-top: 0;
66
+ } .pure-cell__airyTop_yqcv9 {
67
+ padding-top: var(--gap-m);
68
+ } .pure-cell__defaultTop_yqcv9 {
69
+ padding-top: var(--gap-s);
70
+ } .pure-cell__compactTop_yqcv9 {
71
+ padding-top: var(--gap-xs);
72
+ } .pure-cell__tinyTop_yqcv9 {
73
+ padding-top: var(--gap-2xs);
74
+ } .pure-cell__noneBottom_yqcv9 {
75
+ padding-bottom: 0;
76
+ } .pure-cell__airyBottom_yqcv9 {
77
+ padding-bottom: var(--gap-m);
78
+ } .pure-cell__defaultBottom_yqcv9 {
79
+ padding-bottom: var(--gap-s);
80
+ } .pure-cell__compactBottom_yqcv9 {
81
+ padding-bottom: var(--gap-xs);
82
+ } .pure-cell__tinyBottom_yqcv9 {
83
+ padding-bottom: var(--gap-2xs);
84
+ } .pure-cell__left_yqcv9 {
69
85
  padding-left: var(--gap-m);
70
- } .pure-cell__right_a0jto {
86
+ } .pure-cell__right_yqcv9 {
71
87
  padding-right: var(--gap-m);
72
- } .pure-cell__both_a0jto {
88
+ } .pure-cell__both_yqcv9 {
73
89
  padding-right: var(--gap-m);
74
90
  padding-left: var(--gap-m);
75
- } .pure-cell__focused_a0jto {
91
+ } .pure-cell__focused_yqcv9 {
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-9cd60393";
2
- export type { PureCellProps } from "./component-9cd60393";
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-5eb318e0.js';
1
+ export { P as PureCell } from './component-c5ff489c.js';
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1pnw5 */
1
+ /* hash: jedhi */
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-cell__component_a0jto {
23
+ } .pure-cell__component_yqcv9 {
24
24
  text-align: unset;
25
25
  box-sizing: border-box;
26
- } .pure-cell__horizontal_a0jto {
26
+ } .pure-cell__horizontal_yqcv9 {
27
27
  display: flex;
28
- width: 100%
29
- } .pure-cell__horizontal_a0jto > section:not(:last-child) {
30
- margin-right: var(--gap-m);
31
- } .pure-cell__vertical_a0jto {
28
+ width: 100%;
29
+ } .pure-cell__vertical_yqcv9 {
32
30
  display: flex;
33
31
  align-items: center;
34
- flex-direction: column
35
- } .pure-cell__vertical_a0jto > section:not(:last-child) {
36
- margin-bottom: var(--gap-s);
37
- } .pure-cell__button_a0jto {
32
+ flex-direction: column;
33
+ } .pure-cell__button_yqcv9 {
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-cell__button_a0jto:hover {
41
+ } .pure-cell__button_yqcv9:hover {
46
42
  opacity: 0.8;
47
- } .pure-cell__button_a0jto:active {
43
+ } .pure-cell__button_yqcv9:active {
48
44
  opacity: 0.6;
49
- } .pure-cell__link_a0jto {
45
+ } .pure-cell__link_yqcv9 {
50
46
  text-decoration: none;
51
47
  color: inherit;
52
48
  cursor: pointer;
53
49
  transition: opacity 0.15s ease-in-out
54
- } .pure-cell__link_a0jto:hover {
50
+ } .pure-cell__link_yqcv9:hover {
55
51
  opacity: 0.8;
56
- } .pure-cell__link_a0jto:active {
52
+ } .pure-cell__link_yqcv9:active {
57
53
  opacity: 0.6;
58
- } .pure-cell__none_a0jto {
54
+ } .pure-cell__none_yqcv9 {
59
55
  padding: 0;
60
- } .pure-cell__airy_a0jto {
56
+ } .pure-cell__airy_yqcv9 {
61
57
  padding: var(--gap-m) 0;
62
- } .pure-cell__defaultPadding_a0jto {
58
+ } .pure-cell__default_yqcv9 {
63
59
  padding: var(--gap-s) 0;
64
- } .pure-cell__compact_a0jto {
60
+ } .pure-cell__compact_yqcv9 {
65
61
  padding: var(--gap-xs) 0;
66
- } .pure-cell__tiny_a0jto {
62
+ } .pure-cell__tiny_yqcv9 {
67
63
  padding: var(--gap-2xs) 0;
68
- } .pure-cell__left_a0jto {
64
+ } .pure-cell__noneTop_yqcv9 {
65
+ padding-top: 0;
66
+ } .pure-cell__airyTop_yqcv9 {
67
+ padding-top: var(--gap-m);
68
+ } .pure-cell__defaultTop_yqcv9 {
69
+ padding-top: var(--gap-s);
70
+ } .pure-cell__compactTop_yqcv9 {
71
+ padding-top: var(--gap-xs);
72
+ } .pure-cell__tinyTop_yqcv9 {
73
+ padding-top: var(--gap-2xs);
74
+ } .pure-cell__noneBottom_yqcv9 {
75
+ padding-bottom: 0;
76
+ } .pure-cell__airyBottom_yqcv9 {
77
+ padding-bottom: var(--gap-m);
78
+ } .pure-cell__defaultBottom_yqcv9 {
79
+ padding-bottom: var(--gap-s);
80
+ } .pure-cell__compactBottom_yqcv9 {
81
+ padding-bottom: var(--gap-xs);
82
+ } .pure-cell__tinyBottom_yqcv9 {
83
+ padding-bottom: var(--gap-2xs);
84
+ } .pure-cell__left_yqcv9 {
69
85
  padding-left: var(--gap-m);
70
- } .pure-cell__right_a0jto {
86
+ } .pure-cell__right_yqcv9 {
71
87
  padding-right: var(--gap-m);
72
- } .pure-cell__both_a0jto {
88
+ } .pure-cell__both_yqcv9 {
73
89
  padding-right: var(--gap-m);
74
90
  padding-left: var(--gap-m);
75
- } .pure-cell__focused_a0jto {
91
+ } .pure-cell__focused_yqcv9 {
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-9cd60393";
2
- export type { PureCellProps } from "./component-9cd60393";
1
+ export { PureCell } from "./component-21d7b687";
2
+ export type { PureCellProps } from "./component-21d7b687";
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var components_addon_component = require('./component-49e6db18.js');
5
+ var components_addon_component = require('./component-40566f8c.js');
6
6
 
7
7
 
8
8
 
@@ -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-cell__component_cl97c","none":"pure-cell__none_cl97c","default":"pure-cell__default_cl97c","addonPadding":"pure-cell__addonPadding_cl97c","auto":"pure-cell__auto_cl97c","top":"pure-cell__top_cl97c","center":"pure-cell__center_cl97c","bottom":"pure-cell__bottom_cl97c"};
11
+ const styles$a = {"component":"pure-cell__component_a9h8y","none":"pure-cell__none_a9h8y","default":"pure-cell__default_a9h8y","addonPadding":"pure-cell__addonPadding_a9h8y","auto":"pure-cell__auto_a9h8y","top":"pure-cell__top_a9h8y","center":"pure-cell__center_a9h8y","bottom":"pure-cell__bottom_a9h8y"};
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-cell__component_1h7hp"};
19
+ const styles$9 = {"component":"pure-cell__component_u1eeb"};
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-cell__component_psbz5","weight":"pure-cell__weight_psbz5"};
28
+ const styles$8 = {"component":"pure-cell__component_f3mfl","weight":"pure-cell__weight_f3mfl"};
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-cell__component_1f4wj","categoryName":"pure-cell__categoryName_1f4wj","categoryPercent":"pure-cell__categoryPercent_1f4wj","rightAddon":"pure-cell__rightAddon_1f4wj"};
43
+ const styles$7 = {"component":"pure-cell__component_x893m","categoryName":"pure-cell__categoryName_x893m","categoryPercent":"pure-cell__categoryPercent_x893m","rightAddon":"pure-cell__rightAddon_x893m"};
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-cell__component_za4zy","horizontal":"pure-cell__horizontal_za4zy"};
56
+ const styles$6 = {"component":"pure-cell__component_355fw","horizontal":"pure-cell__horizontal_355fw"};
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-cell__component_fasht","none":"pure-cell__none_fasht","default":"pure-cell__default_fasht"};
64
+ const styles$5 = {"component":"pure-cell__component_vnny8","none":"pure-cell__none_vnny8","default":"pure-cell__default_vnny8"};
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-cell__component_1qtix"};
72
+ const styles$4 = {"component":"pure-cell__component_cfj2h"};
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-cell__component_w3nqw","top":"pure-cell__top_w3nqw","center":"pure-cell__center_w3nqw","bottom":"pure-cell__bottom_w3nqw"};
85
+ const styles$3 = {"component":"pure-cell__component_kmuuv","top":"pure-cell__top_kmuuv","center":"pure-cell__center_kmuuv","bottom":"pure-cell__bottom_kmuuv","horizontal":"pure-cell__horizontal_kmuuv","none":"pure-cell__none_kmuuv","airy":"pure-cell__airy_kmuuv","default":"pure-cell__default_kmuuv","compact":"pure-cell__compact_kmuuv","tiny":"pure-cell__tiny_kmuuv","vertical":"pure-cell__vertical_kmuuv"};
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
- return (React.createElement("section", { className: cn(styles$3.component, styles$3[verticalAlign]), "data-test-id": getDataTestId(dataTestId || pureCellContext.dataTestId, 'graphics') }, children));
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-cell__component_1eavy","vertical":"pure-cell__vertical_1eavy","reverse":"pure-cell__reverse_1eavy"};
94
+ const styles$2 = {"component":"pure-cell__component_2fv7t","vertical":"pure-cell__vertical_2fv7t","reverse":"pure-cell__reverse_2fv7t"};
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-cell__horizontal_q0k4w","rowLimit1":"pure-cell__rowLimit1_q0k4w","rowLimit2":"pure-cell__rowLimit2_q0k4w","component":"pure-cell__component_q0k4w","vertical":"pure-cell__vertical_q0k4w","title":"pure-cell__title_q0k4w","value":"pure-cell__value_q0k4w"};
104
+ const styles$1 = {"horizontal":"pure-cell__horizontal_16dfl","rowLimit1":"pure-cell__rowLimit1_16dfl","rowLimit2":"pure-cell__rowLimit2_16dfl","component":"pure-cell__component_16dfl","vertical":"pure-cell__vertical_16dfl","title":"pure-cell__title_16dfl","value":"pure-cell__value_16dfl"};
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-cell__component_a0jto","horizontal":"pure-cell__horizontal_a0jto","vertical":"pure-cell__vertical_a0jto","button":"pure-cell__button_a0jto","link":"pure-cell__link_a0jto","none":"pure-cell__none_a0jto","airy":"pure-cell__airy_a0jto","defaultPadding":"pure-cell__defaultPadding_a0jto","compact":"pure-cell__compact_a0jto","tiny":"pure-cell__tiny_a0jto","left":"pure-cell__left_a0jto","right":"pure-cell__right_a0jto","both":"pure-cell__both_a0jto","focused":"pure-cell__focused_a0jto"};
119
+ const styles = {"component":"pure-cell__component_yqcv9","horizontal":"pure-cell__horizontal_yqcv9","vertical":"pure-cell__vertical_yqcv9","button":"pure-cell__button_yqcv9","link":"pure-cell__link_yqcv9","none":"pure-cell__none_yqcv9","airy":"pure-cell__airy_yqcv9","default":"pure-cell__default_yqcv9","compact":"pure-cell__compact_yqcv9","tiny":"pure-cell__tiny_yqcv9","noneTop":"pure-cell__noneTop_yqcv9","airyTop":"pure-cell__airyTop_yqcv9","defaultTop":"pure-cell__defaultTop_yqcv9","compactTop":"pure-cell__compactTop_yqcv9","tinyTop":"pure-cell__tinyTop_yqcv9","noneBottom":"pure-cell__noneBottom_yqcv9","airyBottom":"pure-cell__airyBottom_yqcv9","defaultBottom":"pure-cell__defaultBottom_yqcv9","compactBottom":"pure-cell__compactBottom_yqcv9","tinyBottom":"pure-cell__tinyBottom_yqcv9","left":"pure-cell__left_yqcv9","right":"pure-cell__right_yqcv9","both":"pure-cell__both_yqcv9","focused":"pure-cell__focused_yqcv9"};
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
@@ -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-d1c071aa.js';
6
+ export { P as PureCell, f as PureCellContext } from './component-4f06f921.js';
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/core-components-shared/modern';
4
- export { A as Addon } from '../../component-d1c071aa.js';
4
+ export { A as Addon } from '../../component-4f06f921.js';