@redneckz/wildless-cms-uni-blocks 0.14.4 → 0.14.5

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 (252) hide show
  1. package/bin/migration-scripts/0.13.5.js +33 -0
  2. package/bin/migration-scripts/0.14.1.js +29 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +45 -53
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
  7. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  8. package/bundle/components/Footer/FooterContent.d.ts +1 -4
  9. package/bundle/components/Footer/FooterDataProps.d.ts +4 -3
  10. package/bundle/components/Footer/SocialMedia.d.ts +2 -2
  11. package/dist/components/Blocks.js +0 -2
  12. package/dist/components/Blocks.js.map +1 -1
  13. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +8 -8
  14. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  15. package/dist/components/Calculator/constants.js +0 -1
  16. package/dist/components/Calculator/constants.js.map +1 -1
  17. package/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
  18. package/dist/components/Calculator/useBusinessDepositCalculatorParams.js +1 -2
  19. package/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  20. package/dist/components/Carousel/Carousel.js +0 -1
  21. package/dist/components/Carousel/Carousel.js.map +1 -1
  22. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  23. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  24. package/dist/components/CarouselProductCard/CarouselProductCard.js +5 -5
  25. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  26. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  27. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  28. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  29. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  30. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  31. package/dist/components/Footer/Footer.mobile.js +1 -1
  32. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  33. package/dist/components/Footer/FooterContent.d.ts +1 -4
  34. package/dist/components/Footer/FooterDataProps.d.ts +4 -3
  35. package/dist/components/Footer/SocialMedia.d.ts +2 -2
  36. package/dist/components/Footer/SocialMedia.js +26 -2
  37. package/dist/components/Footer/SocialMedia.js.map +1 -1
  38. package/dist/components/Footer/iconsMap.js +0 -7
  39. package/dist/components/Footer/iconsMap.js.map +1 -1
  40. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  41. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  42. package/lib/common.css +1 -1
  43. package/lib/components/Blocks.js +0 -2
  44. package/lib/components/Blocks.js.map +1 -1
  45. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +8 -8
  46. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  47. package/lib/components/Calculator/constants.js +0 -1
  48. package/lib/components/Calculator/constants.js.map +1 -1
  49. package/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
  50. package/lib/components/Calculator/useBusinessDepositCalculatorParams.js +1 -2
  51. package/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  52. package/lib/components/Carousel/Carousel.fixture.d.ts +0 -1
  53. package/lib/components/Carousel/Carousel.js +0 -1
  54. package/lib/components/Carousel/Carousel.js.map +1 -1
  55. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  56. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  57. package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +2 -0
  58. package/lib/components/CarouselProductCard/CarouselProductCard.fixture.mobile.d.ts +13 -0
  59. package/lib/components/CarouselProductCard/CarouselProductCard.js +5 -5
  60. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  61. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  62. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  63. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  64. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  65. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  66. package/lib/components/Footer/Footer.mobile.js +1 -1
  67. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  68. package/lib/components/Footer/FooterContent.d.ts +1 -4
  69. package/lib/components/Footer/FooterDataProps.d.ts +4 -3
  70. package/lib/components/Footer/SocialMedia.d.ts +2 -2
  71. package/lib/components/Footer/SocialMedia.js +26 -2
  72. package/lib/components/Footer/SocialMedia.js.map +1 -1
  73. package/lib/components/Footer/iconsMap.js +0 -7
  74. package/lib/components/Footer/iconsMap.js.map +1 -1
  75. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  76. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  77. package/mobile/bundle/bundle.umd.js +38 -41
  78. package/mobile/bundle/bundle.umd.min.js +1 -1
  79. package/mobile/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
  80. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  81. package/mobile/bundle/components/Footer/FooterContent.d.ts +1 -4
  82. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +4 -3
  83. package/mobile/bundle/components/Footer/SocialMedia.d.ts +2 -2
  84. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +8 -8
  85. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  86. package/mobile/dist/components/Calculator/constants.js +0 -1
  87. package/mobile/dist/components/Calculator/constants.js.map +1 -1
  88. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
  89. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js +1 -2
  90. package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  91. package/mobile/dist/components/Carousel/Carousel.js +0 -1
  92. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  93. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  94. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  95. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +5 -5
  96. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  97. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  98. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  99. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  100. package/mobile/dist/components/Footer/Footer.js +1 -1
  101. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  102. package/mobile/dist/components/Footer/FooterContent.d.ts +1 -4
  103. package/mobile/dist/components/Footer/FooterDataProps.d.ts +4 -3
  104. package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -2
  105. package/mobile/dist/components/Footer/SocialMedia.js +26 -2
  106. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  107. package/mobile/dist/components/Footer/iconsMap.js +0 -7
  108. package/mobile/dist/components/Footer/iconsMap.js.map +1 -1
  109. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  110. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  111. package/mobile/lib/common.css +1 -1
  112. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +8 -8
  113. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  114. package/mobile/lib/components/Calculator/constants.js +0 -1
  115. package/mobile/lib/components/Calculator/constants.js.map +1 -1
  116. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -1
  117. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js +1 -2
  118. package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -1
  119. package/mobile/lib/components/Carousel/Carousel.js +0 -1
  120. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  121. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
  122. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  123. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +5 -5
  124. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  125. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  126. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  127. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +2 -2
  128. package/mobile/lib/components/Footer/Footer.js +1 -1
  129. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  130. package/mobile/lib/components/Footer/FooterContent.d.ts +1 -4
  131. package/mobile/lib/components/Footer/FooterDataProps.d.ts +4 -3
  132. package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -2
  133. package/mobile/lib/components/Footer/SocialMedia.js +26 -2
  134. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  135. package/mobile/lib/components/Footer/iconsMap.js +0 -7
  136. package/mobile/lib/components/Footer/iconsMap.js.map +1 -1
  137. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  138. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  139. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +28 -26
  140. package/mobile/src/components/Calculator/constants.ts +0 -1
  141. package/mobile/src/components/Calculator/useBusinessDepositCalculatorParams.ts +2 -10
  142. package/mobile/src/components/Carousel/Carousel.tsx +0 -1
  143. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +1 -1
  144. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +5 -1
  145. package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +1 -3
  146. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +23 -13
  147. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +1 -2
  148. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
  149. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  150. package/mobile/src/components/Footer/Footer.tsx +1 -1
  151. package/mobile/src/components/Footer/FooterContent.ts +1 -5
  152. package/mobile/src/components/Footer/FooterDataProps.ts +4 -3
  153. package/mobile/src/components/Footer/SocialMedia.tsx +48 -16
  154. package/mobile/src/components/Footer/iconsMap.ts +0 -7
  155. package/mobile/src/components/ProductGallery/ProductGallery.example.json +10 -4
  156. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  157. package/package.json +1 -1
  158. package/src/components/Blocks.ts +0 -2
  159. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +28 -26
  160. package/src/components/Calculator/constants.ts +0 -1
  161. package/src/components/Calculator/useBusinessDepositCalculatorParams.ts +2 -10
  162. package/src/components/Carousel/Carousel.fixture.tsx +0 -18
  163. package/src/components/Carousel/Carousel.tsx +0 -1
  164. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +1 -1
  165. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +5 -1
  166. package/src/components/CarouselProductCard/CarouselProductCard.example.json +1 -3
  167. package/src/components/CarouselProductCard/CarouselProductCard.fixture.mobile.tsx +92 -0
  168. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +18 -0
  169. package/src/components/CarouselProductCard/CarouselProductCard.tsx +23 -13
  170. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +1 -2
  171. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +4 -4
  172. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +7 -7
  173. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +1 -1
  174. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +3 -1
  175. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +2 -2
  176. package/src/components/Footer/Footer.mobile.tsx +1 -1
  177. package/src/components/Footer/FooterContent.ts +1 -5
  178. package/src/components/Footer/FooterDataProps.ts +4 -3
  179. package/src/components/Footer/SocialMedia.tsx +48 -16
  180. package/src/components/Footer/iconsMap.ts +0 -7
  181. package/src/components/ProductGallery/ProductGallery.example.json +10 -4
  182. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  183. package/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
  184. package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
  185. package/bundle/components/Footer/MediaButton.d.ts +0 -7
  186. package/bundle/components/Footer/buttonSizeStyle.d.ts +0 -4
  187. package/dist/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
  188. package/dist/components/CarouselEventCard/CarouselEventCard.js +0 -12
  189. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +0 -1
  190. package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
  191. package/dist/components/CarouselEventCard/CarouselEventCardContent.js +0 -2
  192. package/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +0 -1
  193. package/dist/components/Footer/MediaButton.d.ts +0 -7
  194. package/dist/components/Footer/MediaButton.js +0 -18
  195. package/dist/components/Footer/MediaButton.js.map +0 -1
  196. package/dist/components/Footer/buttonSizeStyle.d.ts +0 -4
  197. package/dist/components/Footer/buttonSizeStyle.js +0 -7
  198. package/dist/components/Footer/buttonSizeStyle.js.map +0 -1
  199. package/lib/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
  200. package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +0 -8
  201. package/lib/components/CarouselEventCard/CarouselEventCard.js +0 -10
  202. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +0 -1
  203. package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
  204. package/lib/components/CarouselEventCard/CarouselEventCardContent.js +0 -2
  205. package/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +0 -1
  206. package/lib/components/Footer/MediaButton.d.ts +0 -7
  207. package/lib/components/Footer/MediaButton.js +0 -16
  208. package/lib/components/Footer/MediaButton.js.map +0 -1
  209. package/lib/components/Footer/buttonSizeStyle.d.ts +0 -4
  210. package/lib/components/Footer/buttonSizeStyle.js +0 -5
  211. package/lib/components/Footer/buttonSizeStyle.js.map +0 -1
  212. package/mobile/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
  213. package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
  214. package/mobile/bundle/components/Footer/MediaButton.d.ts +0 -7
  215. package/mobile/bundle/components/Footer/buttonSizeStyle.d.ts +0 -4
  216. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
  217. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +0 -12
  218. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +0 -1
  219. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
  220. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js +0 -2
  221. package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +0 -1
  222. package/mobile/dist/components/Footer/MediaButton.d.ts +0 -7
  223. package/mobile/dist/components/Footer/MediaButton.js +0 -18
  224. package/mobile/dist/components/Footer/MediaButton.js.map +0 -1
  225. package/mobile/dist/components/Footer/buttonSizeStyle.d.ts +0 -4
  226. package/mobile/dist/components/Footer/buttonSizeStyle.js +0 -7
  227. package/mobile/dist/components/Footer/buttonSizeStyle.js.map +0 -1
  228. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.d.ts +0 -5
  229. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +0 -10
  230. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +0 -1
  231. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +0 -8
  232. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js +0 -2
  233. package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +0 -1
  234. package/mobile/lib/components/Footer/MediaButton.d.ts +0 -7
  235. package/mobile/lib/components/Footer/MediaButton.js +0 -16
  236. package/mobile/lib/components/Footer/MediaButton.js.map +0 -1
  237. package/mobile/lib/components/Footer/buttonSizeStyle.d.ts +0 -4
  238. package/mobile/lib/components/Footer/buttonSizeStyle.js +0 -5
  239. package/mobile/lib/components/Footer/buttonSizeStyle.js.map +0 -1
  240. package/mobile/src/components/CarouselEventCard/CarouselEventCard.example.json +0 -12
  241. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +0 -31
  242. package/mobile/src/components/CarouselEventCard/CarouselEventCard.ui.json +0 -1
  243. package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +0 -13
  244. package/mobile/src/components/Footer/MediaButton.tsx +0 -50
  245. package/mobile/src/components/Footer/buttonSizeStyle.ts +0 -6
  246. package/src/components/CarouselEventCard/CarouselEventCard.example.json +0 -12
  247. package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +0 -25
  248. package/src/components/CarouselEventCard/CarouselEventCard.tsx +0 -31
  249. package/src/components/CarouselEventCard/CarouselEventCard.ui.json +0 -1
  250. package/src/components/CarouselEventCard/CarouselEventCardContent.ts +0 -13
  251. package/src/components/Footer/MediaButton.tsx +0 -50
  252. package/src/components/Footer/buttonSizeStyle.ts +0 -6
@@ -10,36 +10,29 @@ export const ICONS_MAP: Array<IconsMapItem> = [
10
10
  {
11
11
  origins: ['t.me', 'telegram.org'],
12
12
  iconMapped: { icon: 'TelegramIcon' },
13
- label: 'Телеграм',
14
13
  },
15
14
  {
16
15
  origins: ['vk.com'],
17
16
  iconMapped: { icon: 'VKIcon' },
18
- label: 'ВКонтакте',
19
17
  },
20
18
  {
21
19
  origins: ['ok.ru'],
22
20
  iconMapped: { icon: 'OkIcon' },
23
- label: 'Одноклассники',
24
21
  },
25
22
  {
26
23
  origins: ['apps.apple.com'],
27
24
  iconMapped: { icon: 'AppleIcon' },
28
- label: 'App Store',
29
25
  },
30
26
  {
31
27
  origins: ['play.google.com'],
32
28
  iconMapped: { icon: 'PlayMarketIcon' },
33
- label: 'Google Play',
34
29
  },
35
30
  {
36
31
  origins: ['youtube.com'],
37
32
  iconMapped: { icon: 'YoutubeIcon' },
38
- label: 'Youtube',
39
33
  },
40
34
  {
41
35
  origins: ['rutube.ru'],
42
36
  iconMapped: { icon: 'RutubeIcon' },
43
- label: 'Rutube',
44
37
  },
45
38
  ];
@@ -8,6 +8,7 @@
8
8
  },
9
9
  "productBlock": {
10
10
  "title": "Продуктовая галерея",
11
+ "headlineVersion": "XXL",
11
12
  "image": {
12
13
  "format": "webp",
13
14
  "size": {
@@ -17,20 +18,22 @@
17
18
  },
18
19
  "description": "Описание",
19
20
  "items": ["Элемент списка 1", "Элемент списка 2", "Элемент списка 3"],
21
+ "isDotted": true,
22
+ "benefitsVersion": "normal",
20
23
  "benefits": [
21
24
  {
22
25
  "icon": {
23
26
  "icon": "ActualBalanceIcon"
24
27
  },
25
- "label": "Денежное преимущество",
26
- "description": "эмпирическая выгода"
28
+ "label": "Преимущество №1",
29
+ "description": "Описание"
27
30
  },
28
31
  {
29
32
  "icon": {
30
33
  "icon": "BankIcon"
31
34
  },
32
- "label": "Возврат %",
33
- "description": "при пополнении счёта"
35
+ "label": "Преимущество №2",
36
+ "description": "Описание"
34
37
  }
35
38
  ]
36
39
  }
@@ -42,6 +45,7 @@
42
45
  },
43
46
  "productBlock": {
44
47
  "title": "Продуктовая галерея",
48
+ "headlineVersion": "XXL",
45
49
  "image": {
46
50
  "format": "webp",
47
51
  "size": {
@@ -51,6 +55,8 @@
51
55
  },
52
56
  "description": "Описание",
53
57
  "items": ["Элемент списка 1", "Элемент списка 2", "Элемент списка 3"],
58
+ "isDotted": true,
59
+ "benefitsVersion": "normal",
54
60
  "benefits": [
55
61
  {
56
62
  "icon": {
@@ -32,7 +32,7 @@ const getButtonStyle = (props: ButtonContent) => {
32
32
 
33
33
  return style(
34
34
  'group/btn items-center justify-center',
35
- isWithText(props) ? withTextStyle : 'h-12 w-12',
35
+ isWithText(props) ? withTextStyle : 'h-12 w-12 m-auto',
36
36
  rounded ? 'rounded-full' : '',
37
37
  );
38
38
  };
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { CarouselEventCardContent } from './CarouselEventCardContent';
3
- export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
4
- }
5
- export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
@@ -1,8 +0,0 @@
1
- import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
- import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { LinkCommonProps } from '../../model/LinkProps';
4
- import type { IconProps } from '../../model/Picture';
5
- /**
6
- * @title Карточка мероприятия в карусели
7
- */
8
- export declare type CarouselEventCardContent = UniBlockContent & TitleProps & DescriptionProps & LinkCommonProps & IconProps;
@@ -1,7 +0,0 @@
1
- import { ButtonContent } from '../../ui-kit/Button/ButtonContent';
2
- export declare type ButtonSize = 'default' | 'stretched';
3
- interface MediaButtonProps extends ButtonContent {
4
- buttonSize?: ButtonSize;
5
- }
6
- export declare const MediaButton: import("@redneckz/uni-jsx").UNIComponent<MediaButtonProps, any, any>;
7
- export {};
@@ -1,4 +0,0 @@
1
- import { ButtonSize } from './MediaButton';
2
- export declare const buttonSizeStyle: {
3
- [key in ButtonSize]: string;
4
- };
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { CarouselEventCardContent } from './CarouselEventCardContent';
3
- export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
4
- }
5
- export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
@@ -1,12 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.CarouselEventCard = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
- const Img_1 = require("../../ui-kit/Img/Img");
7
- const LinkWrapper_1 = require("../../ui-kit/LinkWrapper/LinkWrapper");
8
- const Headline_1 = require("../Headline/Headline");
9
- exports.CarouselEventCard = (0, uni_jsx_1.JSX)(({ className = '', icon, title, description, href, target, ...rest }) => {
10
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-0", ...rest, children: (0, jsx_runtime_1.jsxs)(LinkWrapper_1.LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, (0, jsx_runtime_1.jsx)("div", { className: "p-s", children: (0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: "text-left" }) })] }) }));
11
- });
12
- //# sourceMappingURL=CarouselEventCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselEventCard.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,8CAA2C;AAC3C,sEAAmE;AAEnE,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,KAAK,KAAK,IAAI,YAC/D,wBAAC,yBAAW,IAAC,SAAS,EAAC,eAAe,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAC9D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,gCAAK,SAAS,EAAC,KAAK,YAClB,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,IAAI,EACpB,UAAU,EAAE,IAAI,EAChB,KAAK,EAAC,WAAW,GACjB,GACE,IACM,GACD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
- import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { LinkCommonProps } from '../../model/LinkProps';
4
- import type { IconProps } from '../../model/Picture';
5
- /**
6
- * @title Карточка мероприятия в карусели
7
- */
8
- export declare type CarouselEventCardContent = UniBlockContent & TitleProps & DescriptionProps & LinkCommonProps & IconProps;
@@ -1,2 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=CarouselEventCardContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselEventCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCardContent.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { ButtonContent } from '../../ui-kit/Button/ButtonContent';
2
- export declare type ButtonSize = 'default' | 'stretched';
3
- interface MediaButtonProps extends ButtonContent {
4
- buttonSize?: ButtonSize;
5
- }
6
- export declare const MediaButton: import("@redneckz/uni-jsx").UNIComponent<MediaButtonProps, any, any>;
7
- export {};
@@ -1,18 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.MediaButton = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Button_1 = require("../../ui-kit/Button/Button");
6
- const Img_1 = require("../../ui-kit/Img/Img");
7
- const style_1 = require("../../utils/style");
8
- const buttonSizeStyle_1 = require("./buttonSizeStyle");
9
- const findIconByHref_1 = require("./findIconByHref");
10
- //TODO: Refactor this.
11
- exports.MediaButton = (0, uni_jsx_1.JSX)(({ buttonSize = 'default', icon, ...rest }) => {
12
- const { href } = rest;
13
- const { iconMapped, label } = (0, findIconByHref_1.findIconByHref)(href);
14
- const iconCustom = getFilteredIcon(icon) ?? iconMapped;
15
- return ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: (0, style_1.style)('border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', 'p-m min-h-14 group/media flex items-center justify-center box-border', buttonSizeStyle_1.buttonSizeStyle[buttonSize]), "aria-label": label, rel: "noopener noreferrer", target: "_blank", ...rest, children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: iconCustom, imageClassName: "group-hover/media:text-white", width: "24", height: "24" }) }));
16
- });
17
- const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
18
- //# sourceMappingURL=MediaButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,uDAAoD;AAEpD,8CAA2C;AAC3C,6CAA0C;AAC1C,uDAAoD;AACpD,qDAAkD;AAQlD,sBAAsB;AACT,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7F,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAEtB,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,IAAA,+BAAc,EAAC,IAAI,CAAC,CAAC;IAEnD,MAAM,UAAU,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC;IAEvD,OAAO,CACL,uBAAC,eAAM,IACL,SAAS,EAAE,IAAA,aAAK,EACd,8CAA8C,EAC9C,wCAAwC,EACxC,wCAAwC,EACxC,iGAAiG,EACjG,8BAA8B,EAC9B,sEAAsE,EACtE,iCAAe,CAAC,UAAU,CAAC,CAC5B,gBACW,KAAK,EACjB,GAAG,EAAC,qBAAqB,EACzB,MAAM,EAAC,QAAQ,KACX,IAAI,YAER,uBAAC,SAAG,IACF,KAAK,EAAE,UAAU,EACjB,cAAc,EAAC,8BAA8B,EAC7C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,GACK,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CAAC,IAAyB,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { ButtonSize } from './MediaButton';
2
- export declare const buttonSizeStyle: {
3
- [key in ButtonSize]: string;
4
- };
@@ -1,7 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.buttonSizeStyle = void 0;
3
- exports.buttonSizeStyle = {
4
- default: 'w-14 h-14',
5
- stretched: 'flex-1 h-14',
6
- };
7
- //# sourceMappingURL=buttonSizeStyle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buttonSizeStyle.js","sourceRoot":"","sources":["../../../src/components/Footer/buttonSizeStyle.ts"],"names":[],"mappings":";;AAEa,QAAA,eAAe,GAAoC;IAC9D,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,aAAa;CACzB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { CarouselEventCardContent } from './CarouselEventCardContent';
3
- export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
4
- }
5
- export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import '../../setup-fixture';
3
- import type { CarouselEventCardContent } from './CarouselEventCardContent';
4
- export declare const CAROUSEL_EVENT_CARD: CarouselEventCardContent;
5
- declare const _default: {
6
- default: JSX.Element;
7
- };
8
- export default _default;
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
- import { Img } from '../../ui-kit/Img/Img.js';
5
- import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper.js';
6
- import { Headline } from '../Headline/Headline.js';
7
- export const CarouselEventCard = JSX(({ className = '', icon, title, description, href, target, ...rest }) => {
8
- return (_jsx(BlockWrapper, { className: className, defaultPadding: "p-0", ...rest, children: _jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? _jsx(Img, { image: icon }) : null, icon?.src ? _jsx(Img, { image: icon }) : null, _jsx("div", { className: "p-s", children: _jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: "text-left" }) })] }) }));
9
- });
10
- //# sourceMappingURL=CarouselEventCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselEventCard.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,OAAO,CACL,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,KAAK,KAAK,IAAI,YAC/D,MAAC,WAAW,IAAC,SAAS,EAAC,eAAe,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAC9D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,cAAK,SAAS,EAAC,KAAK,YAClB,KAAC,QAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,IAAI,EACpB,UAAU,EAAE,IAAI,EAChB,KAAK,EAAC,WAAW,GACjB,GACE,IACM,GACD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
- import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { LinkCommonProps } from '../../model/LinkProps';
4
- import type { IconProps } from '../../model/Picture';
5
- /**
6
- * @title Карточка мероприятия в карусели
7
- */
8
- export declare type CarouselEventCardContent = UniBlockContent & TitleProps & DescriptionProps & LinkCommonProps & IconProps;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=CarouselEventCardContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselEventCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCardContent.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { ButtonContent } from '../../ui-kit/Button/ButtonContent';
2
- export declare type ButtonSize = 'default' | 'stretched';
3
- interface MediaButtonProps extends ButtonContent {
4
- buttonSize?: ButtonSize;
5
- }
6
- export declare const MediaButton: import("@redneckz/uni-jsx").UNIComponent<MediaButtonProps, any, any>;
7
- export {};
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { Button } from '../../ui-kit/Button/Button.js';
4
- import { Img } from '../../ui-kit/Img/Img.js';
5
- import { style } from '../../utils/style.js';
6
- import { buttonSizeStyle } from './buttonSizeStyle.js';
7
- import { findIconByHref } from './findIconByHref.js';
8
- //TODO: Refactor this.
9
- export const MediaButton = JSX(({ buttonSize = 'default', icon, ...rest }) => {
10
- const { href } = rest;
11
- const { iconMapped, label } = findIconByHref(href);
12
- const iconCustom = getFilteredIcon(icon) ?? iconMapped;
13
- return (_jsx(Button, { className: style('border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', 'p-m min-h-14 group/media flex items-center justify-center box-border', buttonSizeStyle[buttonSize]), "aria-label": label, rel: "noopener noreferrer", target: "_blank", ...rest, children: _jsx(Img, { image: iconCustom, imageClassName: "group-hover/media:text-white", width: "24", height: "24" }) }));
14
- });
15
- const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
16
- //# sourceMappingURL=MediaButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQlD,sBAAsB;AACtB,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7F,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAEtB,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAEnD,MAAM,UAAU,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC;IAEvD,OAAO,CACL,KAAC,MAAM,IACL,SAAS,EAAE,KAAK,CACd,8CAA8C,EAC9C,wCAAwC,EACxC,wCAAwC,EACxC,iGAAiG,EACjG,8BAA8B,EAC9B,sEAAsE,EACtE,eAAe,CAAC,UAAU,CAAC,CAC5B,gBACW,KAAK,EACjB,GAAG,EAAC,qBAAqB,EACzB,MAAM,EAAC,QAAQ,KACX,IAAI,YAER,KAAC,GAAG,IACF,KAAK,EAAE,UAAU,EACjB,cAAc,EAAC,8BAA8B,EAC7C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,GACK,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CAAC,IAAyB,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { ButtonSize } from './MediaButton';
2
- export declare const buttonSizeStyle: {
3
- [key in ButtonSize]: string;
4
- };
@@ -1,5 +0,0 @@
1
- export const buttonSizeStyle = {
2
- default: 'w-14 h-14',
3
- stretched: 'flex-1 h-14',
4
- };
5
- //# sourceMappingURL=buttonSizeStyle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buttonSizeStyle.js","sourceRoot":"","sources":["../../../src/components/Footer/buttonSizeStyle.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAoC;IAC9D,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,aAAa;CACzB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { CarouselEventCardContent } from './CarouselEventCardContent';
3
- export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
4
- }
5
- export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
@@ -1,8 +0,0 @@
1
- import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
- import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { LinkCommonProps } from '../../model/LinkProps';
4
- import type { IconProps } from '../../model/Picture';
5
- /**
6
- * @title Карточка мероприятия в карусели
7
- */
8
- export declare type CarouselEventCardContent = UniBlockContent & TitleProps & DescriptionProps & LinkCommonProps & IconProps;
@@ -1,7 +0,0 @@
1
- import { ButtonContent } from '../../ui-kit/Button/ButtonContent';
2
- export declare type ButtonSize = 'default' | 'stretched';
3
- interface MediaButtonProps extends ButtonContent {
4
- buttonSize?: ButtonSize;
5
- }
6
- export declare const MediaButton: import("@redneckz/uni-jsx").UNIComponent<MediaButtonProps, any, any>;
7
- export {};
@@ -1,4 +0,0 @@
1
- import { ButtonSize } from './MediaButton';
2
- export declare const buttonSizeStyle: {
3
- [key in ButtonSize]: string;
4
- };
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { CarouselEventCardContent } from './CarouselEventCardContent';
3
- export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
4
- }
5
- export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
@@ -1,12 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.CarouselEventCard = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
- const Img_1 = require("../../ui-kit/Img/Img");
7
- const LinkWrapper_1 = require("../../ui-kit/LinkWrapper/LinkWrapper");
8
- const Headline_1 = require("../Headline/Headline");
9
- exports.CarouselEventCard = (0, uni_jsx_1.JSX)(({ className = '', icon, title, description, href, target, ...rest }) => {
10
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-0", ...rest, children: (0, jsx_runtime_1.jsxs)(LinkWrapper_1.LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, (0, jsx_runtime_1.jsx)("div", { className: "p-s", children: (0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: "text-left" }) })] }) }));
11
- });
12
- //# sourceMappingURL=CarouselEventCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselEventCard.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,8CAA2C;AAC3C,sEAAmE;AAEnE,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,KAAK,KAAK,IAAI,YAC/D,wBAAC,yBAAW,IAAC,SAAS,EAAC,eAAe,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAC9D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,gCAAK,SAAS,EAAC,KAAK,YAClB,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,IAAI,EACpB,UAAU,EAAE,IAAI,EAChB,KAAK,EAAC,WAAW,GACjB,GACE,IACM,GACD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
- import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { LinkCommonProps } from '../../model/LinkProps';
4
- import type { IconProps } from '../../model/Picture';
5
- /**
6
- * @title Карточка мероприятия в карусели
7
- */
8
- export declare type CarouselEventCardContent = UniBlockContent & TitleProps & DescriptionProps & LinkCommonProps & IconProps;
@@ -1,2 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=CarouselEventCardContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselEventCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCardContent.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { ButtonContent } from '../../ui-kit/Button/ButtonContent';
2
- export declare type ButtonSize = 'default' | 'stretched';
3
- interface MediaButtonProps extends ButtonContent {
4
- buttonSize?: ButtonSize;
5
- }
6
- export declare const MediaButton: import("@redneckz/uni-jsx").UNIComponent<MediaButtonProps, any, any>;
7
- export {};
@@ -1,18 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.MediaButton = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Button_1 = require("../../ui-kit/Button/Button");
6
- const Img_1 = require("../../ui-kit/Img/Img");
7
- const style_1 = require("../../utils/style");
8
- const buttonSizeStyle_1 = require("./buttonSizeStyle");
9
- const findIconByHref_1 = require("./findIconByHref");
10
- //TODO: Refactor this.
11
- exports.MediaButton = (0, uni_jsx_1.JSX)(({ buttonSize = 'default', icon, ...rest }) => {
12
- const { href } = rest;
13
- const { iconMapped, label } = (0, findIconByHref_1.findIconByHref)(href);
14
- const iconCustom = getFilteredIcon(icon) ?? iconMapped;
15
- return ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: (0, style_1.style)('border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', 'p-m min-h-14 group/media flex items-center justify-center box-border', buttonSizeStyle_1.buttonSizeStyle[buttonSize]), "aria-label": label, rel: "noopener noreferrer", target: "_blank", ...rest, children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: iconCustom, imageClassName: "group-hover/media:text-white", width: "24", height: "24" }) }));
16
- });
17
- const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
18
- //# sourceMappingURL=MediaButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,uDAAoD;AAEpD,8CAA2C;AAC3C,6CAA0C;AAC1C,uDAAoD;AACpD,qDAAkD;AAQlD,sBAAsB;AACT,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7F,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAEtB,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,IAAA,+BAAc,EAAC,IAAI,CAAC,CAAC;IAEnD,MAAM,UAAU,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC;IAEvD,OAAO,CACL,uBAAC,eAAM,IACL,SAAS,EAAE,IAAA,aAAK,EACd,8CAA8C,EAC9C,wCAAwC,EACxC,wCAAwC,EACxC,iGAAiG,EACjG,8BAA8B,EAC9B,sEAAsE,EACtE,iCAAe,CAAC,UAAU,CAAC,CAC5B,gBACW,KAAK,EACjB,GAAG,EAAC,qBAAqB,EACzB,MAAM,EAAC,QAAQ,KACX,IAAI,YAER,uBAAC,SAAG,IACF,KAAK,EAAE,UAAU,EACjB,cAAc,EAAC,8BAA8B,EAC7C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,GACK,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CAAC,IAAyB,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { ButtonSize } from './MediaButton';
2
- export declare const buttonSizeStyle: {
3
- [key in ButtonSize]: string;
4
- };
@@ -1,7 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.buttonSizeStyle = void 0;
3
- exports.buttonSizeStyle = {
4
- default: 'w-14 h-14',
5
- stretched: 'flex-1 h-14',
6
- };
7
- //# sourceMappingURL=buttonSizeStyle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buttonSizeStyle.js","sourceRoot":"","sources":["../../../src/components/Footer/buttonSizeStyle.ts"],"names":[],"mappings":";;AAEa,QAAA,eAAe,GAAoC;IAC9D,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,aAAa;CACzB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { CarouselEventCardContent } from './CarouselEventCardContent';
3
- export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
4
- }
5
- export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
- import { Img } from '../../ui-kit/Img/Img.js';
5
- import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper.js';
6
- import { Headline } from '../Headline/Headline.js';
7
- export const CarouselEventCard = JSX(({ className = '', icon, title, description, href, target, ...rest }) => {
8
- return (_jsx(BlockWrapper, { className: className, defaultPadding: "p-0", ...rest, children: _jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? _jsx(Img, { image: icon }) : null, icon?.src ? _jsx(Img, { image: icon }) : null, _jsx("div", { className: "p-s", children: _jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: "text-left" }) })] }) }));
9
- });
10
- //# sourceMappingURL=CarouselEventCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselEventCard.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,OAAO,CACL,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,KAAK,KAAK,IAAI,YAC/D,MAAC,WAAW,IAAC,SAAS,EAAC,eAAe,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAC9D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,cAAK,SAAS,EAAC,KAAK,YAClB,KAAC,QAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,IAAI,EACpB,UAAU,EAAE,IAAI,EAChB,KAAK,EAAC,WAAW,GACjB,GACE,IACM,GACD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
2
- import type { UniBlockContent } from '../../model/JSXBlock';
3
- import type { LinkCommonProps } from '../../model/LinkProps';
4
- import type { IconProps } from '../../model/Picture';
5
- /**
6
- * @title Карточка мероприятия в карусели
7
- */
8
- export declare type CarouselEventCardContent = UniBlockContent & TitleProps & DescriptionProps & LinkCommonProps & IconProps;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=CarouselEventCardContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselEventCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCardContent.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { ButtonContent } from '../../ui-kit/Button/ButtonContent';
2
- export declare type ButtonSize = 'default' | 'stretched';
3
- interface MediaButtonProps extends ButtonContent {
4
- buttonSize?: ButtonSize;
5
- }
6
- export declare const MediaButton: import("@redneckz/uni-jsx").UNIComponent<MediaButtonProps, any, any>;
7
- export {};
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { Button } from '../../ui-kit/Button/Button.js';
4
- import { Img } from '../../ui-kit/Img/Img.js';
5
- import { style } from '../../utils/style.js';
6
- import { buttonSizeStyle } from './buttonSizeStyle.js';
7
- import { findIconByHref } from './findIconByHref.js';
8
- //TODO: Refactor this.
9
- export const MediaButton = JSX(({ buttonSize = 'default', icon, ...rest }) => {
10
- const { href } = rest;
11
- const { iconMapped, label } = findIconByHref(href);
12
- const iconCustom = getFilteredIcon(icon) ?? iconMapped;
13
- return (_jsx(Button, { className: style('border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', 'p-m min-h-14 group/media flex items-center justify-center box-border', buttonSizeStyle[buttonSize]), "aria-label": label, rel: "noopener noreferrer", target: "_blank", ...rest, children: _jsx(Img, { image: iconCustom, imageClassName: "group-hover/media:text-white", width: "24", height: "24" }) }));
14
- });
15
- const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
16
- //# sourceMappingURL=MediaButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQlD,sBAAsB;AACtB,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7F,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAEtB,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAEnD,MAAM,UAAU,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC;IAEvD,OAAO,CACL,KAAC,MAAM,IACL,SAAS,EAAE,KAAK,CACd,8CAA8C,EAC9C,wCAAwC,EACxC,wCAAwC,EACxC,iGAAiG,EACjG,8BAA8B,EAC9B,sEAAsE,EACtE,eAAe,CAAC,UAAU,CAAC,CAC5B,gBACW,KAAK,EACjB,GAAG,EAAC,qBAAqB,EACzB,MAAM,EAAC,QAAQ,KACX,IAAI,YAER,KAAC,GAAG,IACF,KAAK,EAAE,UAAU,EACjB,cAAc,EAAC,8BAA8B,EAC7C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,GACK,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CAAC,IAAyB,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { ButtonSize } from './MediaButton';
2
- export declare const buttonSizeStyle: {
3
- [key in ButtonSize]: string;
4
- };
@@ -1,5 +0,0 @@
1
- export const buttonSizeStyle = {
2
- default: 'w-14 h-14',
3
- stretched: 'flex-1 h-14',
4
- };
5
- //# sourceMappingURL=buttonSizeStyle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buttonSizeStyle.js","sourceRoot":"","sources":["../../../src/components/Footer/buttonSizeStyle.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAoC;IAC9D,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,aAAa;CACzB,CAAC"}
@@ -1,12 +0,0 @@
1
- {
2
- "icon": {
3
- "icon": "SignDocsIcon",
4
- "format": "webp",
5
- "size": {
6
- "width": 365,
7
- "height": 195
8
- }
9
- },
10
- "title": "Заголовок",
11
- "description": "Описание"
12
- }
@@ -1,31 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import type { UniBlockProps } from '../../model/JSXBlock';
3
- import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
- import { Img } from '../../ui-kit/Img/Img';
5
- import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper';
6
- import type { CarouselEventCardContent } from './CarouselEventCardContent';
7
- import { Headline } from '../Headline/Headline';
8
-
9
- export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {}
10
-
11
- export const CarouselEventCard = JSX<CarouselEventCardProps>(
12
- ({ className = '', icon, title, description, href, target, ...rest }) => {
13
- return (
14
- <BlockWrapper className={className} defaultPadding="p-0" {...rest}>
15
- <LinkWrapper className="flex flex-col" href={href} target={target}>
16
- {icon?.icon ? <Img image={icon} /> : null}
17
- {icon?.src ? <Img image={icon} /> : null}
18
- <div className="p-s">
19
- <Headline
20
- title={title}
21
- description={description}
22
- headlineVersion="XS"
23
- isEmbedded={true}
24
- align="text-left"
25
- />
26
- </div>
27
- </LinkWrapper>
28
- </BlockWrapper>
29
- );
30
- },
31
- );