@redneckz/wildless-cms-uni-blocks 0.14.25 → 0.14.26

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 (314) hide show
  1. package/bin/migration-scripts/0.14.26.js +53 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +37 -41
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  6. package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  7. package/bundle/utils/isIcon.d.ts +2 -0
  8. package/dist/components/Blocks.js +0 -2
  9. package/dist/components/Blocks.js.map +1 -1
  10. package/dist/components/Blocks.mobile.js +0 -2
  11. package/dist/components/Blocks.mobile.js.map +1 -1
  12. package/dist/components/Bonus/Bonus.js +4 -4
  13. package/dist/components/Bonus/Bonus.js.map +1 -1
  14. package/dist/components/Carousel/Carousel.js +1 -1
  15. package/dist/components/Carousel/Carousel.js.map +1 -1
  16. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  17. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  18. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -2
  19. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  20. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  21. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  22. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  23. package/dist/components/ContentPage/ContentPage.js +1 -1
  24. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  25. package/dist/components/Footer/SocialMedia.js +2 -2
  26. package/dist/components/Footer/SocialMedia.js.map +1 -1
  27. package/dist/components/Footer/TextInformation.js +1 -1
  28. package/dist/components/Footer/TextInformation.js.map +1 -1
  29. package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  30. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  31. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  32. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  33. package/dist/components/StepsBlock/StepsBlock.js +2 -2
  34. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  35. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  36. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  37. package/dist/components/Tabs/Tabs.js +7 -3
  38. package/dist/components/Tabs/Tabs.js.map +1 -1
  39. package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  40. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  41. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  42. package/dist/ui-kit/BaseTile/BaseTile.js +3 -2
  43. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  44. package/dist/ui-kit/Button/ButtonInner.js +2 -1
  45. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  46. package/dist/ui-kit/Button/renderButtonsSection.js +2 -1
  47. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  48. package/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
  49. package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  50. package/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  51. package/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  52. package/dist/ui-kit/LocationDialog/renderRegion.js +3 -2
  53. package/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  54. package/dist/utils/isIcon.d.ts +2 -0
  55. package/dist/utils/isIcon.js +5 -0
  56. package/dist/utils/isIcon.js.map +1 -0
  57. package/lib/common.css +1 -1
  58. package/lib/components/Blocks.js +0 -2
  59. package/lib/components/Blocks.js.map +1 -1
  60. package/lib/components/Blocks.mobile.js +0 -2
  61. package/lib/components/Blocks.mobile.js.map +1 -1
  62. package/lib/components/Bonus/Bonus.js +4 -4
  63. package/lib/components/Bonus/Bonus.js.map +1 -1
  64. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -1
  65. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +1 -1
  66. package/lib/components/Carousel/Carousel.js +1 -1
  67. package/lib/components/Carousel/Carousel.js.map +1 -1
  68. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  69. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  70. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +2 -0
  71. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.d.ts +2 -0
  72. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +6 -3
  73. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  74. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  75. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  76. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  77. package/lib/components/ContentPage/ContentPage.js +1 -1
  78. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  79. package/lib/components/Footer/SocialMedia.js +2 -2
  80. package/lib/components/Footer/SocialMedia.js.map +1 -1
  81. package/lib/components/Footer/TextInformation.js +1 -1
  82. package/lib/components/Footer/TextInformation.js.map +1 -1
  83. package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  84. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  85. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  86. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  87. package/lib/components/StepsBlock/StepsBlock.js +2 -2
  88. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  89. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  90. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  91. package/lib/components/Tabs/Tabs.js +7 -3
  92. package/lib/components/Tabs/Tabs.js.map +1 -1
  93. package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  94. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  95. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  96. package/lib/ui-kit/BaseTile/BaseTile.js +3 -2
  97. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  98. package/lib/ui-kit/Button/ButtonInner.js +2 -1
  99. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  100. package/lib/ui-kit/Button/renderButtonsSection.js +2 -1
  101. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  102. package/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
  103. package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  104. package/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  105. package/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  106. package/lib/ui-kit/LocationDialog/renderRegion.js +3 -2
  107. package/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  108. package/lib/utils/isIcon.d.ts +2 -0
  109. package/lib/utils/isIcon.js +2 -0
  110. package/lib/utils/isIcon.js.map +1 -0
  111. package/mobile/bundle/bundle.umd.js +37 -41
  112. package/mobile/bundle/bundle.umd.min.js +1 -1
  113. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  114. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  115. package/mobile/bundle/utils/isIcon.d.ts +2 -0
  116. package/mobile/dist/components/Blocks.js +0 -2
  117. package/mobile/dist/components/Blocks.js.map +1 -1
  118. package/mobile/dist/components/Bonus/Bonus.js +4 -4
  119. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  120. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  121. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  122. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  123. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  124. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -2
  125. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  126. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  127. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  128. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  129. package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
  130. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  131. package/mobile/dist/components/Footer/SocialMedia.js +2 -2
  132. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  133. package/mobile/dist/components/Footer/TextInformation.js +1 -1
  134. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  135. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  136. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  137. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  138. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  139. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  140. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  141. package/mobile/dist/components/Tabs/Tabs.js +7 -3
  142. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  143. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  144. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
  145. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  146. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +3 -2
  147. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  148. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -1
  149. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  150. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -1
  151. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  152. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
  153. package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  154. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  155. package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  156. package/mobile/dist/ui-kit/LocationDialog/renderRegion.js +3 -2
  157. package/mobile/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  158. package/mobile/dist/utils/isIcon.d.ts +2 -0
  159. package/mobile/dist/utils/isIcon.js +5 -0
  160. package/mobile/dist/utils/isIcon.js.map +1 -0
  161. package/mobile/lib/common.css +1 -1
  162. package/mobile/lib/components/Blocks.js +0 -2
  163. package/mobile/lib/components/Blocks.js.map +1 -1
  164. package/mobile/lib/components/Bonus/Bonus.js +4 -4
  165. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  166. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  167. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  168. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  169. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  170. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +6 -3
  171. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  172. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
  173. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  174. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  175. package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
  176. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  177. package/mobile/lib/components/Footer/SocialMedia.js +2 -2
  178. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  179. package/mobile/lib/components/Footer/TextInformation.js +1 -1
  180. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  181. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  182. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  183. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
  184. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  185. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  186. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  187. package/mobile/lib/components/Tabs/Tabs.js +7 -3
  188. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  189. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
  190. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
  191. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  192. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +3 -2
  193. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  194. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -1
  195. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  196. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -1
  197. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  198. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
  199. package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
  200. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
  201. package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
  202. package/mobile/lib/ui-kit/LocationDialog/renderRegion.js +3 -2
  203. package/mobile/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
  204. package/mobile/lib/utils/isIcon.d.ts +2 -0
  205. package/mobile/lib/utils/isIcon.js +2 -0
  206. package/mobile/lib/utils/isIcon.js.map +1 -0
  207. package/mobile/src/components/Blocks.ts +0 -2
  208. package/mobile/src/components/Bonus/Bonus.tsx +4 -4
  209. package/mobile/src/components/Carousel/Carousel.tsx +1 -1
  210. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  211. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +15 -5
  212. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +5 -3
  213. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +6 -6
  214. package/mobile/src/components/ContentPage/ContentPage.tsx +1 -1
  215. package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
  216. package/mobile/src/components/Footer/TextInformation.tsx +1 -1
  217. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +7 -1
  218. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -8
  219. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
  220. package/mobile/src/components/Tabs/Tabs.tsx +8 -4
  221. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  222. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +8 -4
  223. package/mobile/src/ui-kit/Button/ButtonInner.tsx +7 -2
  224. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
  225. package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -1
  226. package/mobile/src/ui-kit/LocationDialog/renderForeignOffices.tsx +6 -4
  227. package/mobile/src/ui-kit/LocationDialog/renderRegion.tsx +5 -2
  228. package/mobile/src/utils/isIcon.ts +3 -0
  229. package/package.json +1 -1
  230. package/src/components/Blocks.mobile.ts +0 -2
  231. package/src/components/Blocks.ts +0 -2
  232. package/src/components/Bonus/Bonus.tsx +4 -4
  233. package/src/components/Carousel/Carousel.fixture.mobile.tsx +12 -11
  234. package/src/components/Carousel/Carousel.fixture.tsx +15 -14
  235. package/src/components/Carousel/Carousel.tsx +1 -1
  236. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
  237. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +41 -2
  238. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +41 -2
  239. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +15 -5
  240. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +5 -3
  241. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +6 -6
  242. package/src/components/ContentPage/ContentPage.tsx +1 -1
  243. package/src/components/Footer/SocialMedia.tsx +2 -4
  244. package/src/components/Footer/TextInformation.tsx +1 -1
  245. package/src/components/ProductBlock/renderBackwardButton.tsx +7 -1
  246. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -8
  247. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
  248. package/src/components/StepsBlock/StepsBlock.tsx +3 -3
  249. package/src/components/Tabs/Tabs.tsx +8 -4
  250. package/src/components/Tile/Tile.fixture.tsx +1 -2
  251. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
  252. package/src/ui-kit/BaseTile/BaseTile.tsx +8 -4
  253. package/src/ui-kit/Button/ButtonInner.tsx +7 -2
  254. package/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
  255. package/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -1
  256. package/src/ui-kit/LocationDialog/renderForeignOffices.tsx +6 -4
  257. package/src/ui-kit/LocationDialog/renderRegion.tsx +5 -2
  258. package/src/utils/isIcon.ts +3 -0
  259. package/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  260. package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  261. package/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  262. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  263. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -13
  264. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  265. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  266. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  267. package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  268. package/dist/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  269. package/dist/components/StepsBlock/checkCanRenderIcon.js +0 -5
  270. package/dist/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  271. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  272. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +0 -8
  273. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.d.ts +0 -7
  274. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -11
  275. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  276. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  277. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  278. package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  279. package/lib/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  280. package/lib/components/StepsBlock/checkCanRenderIcon.js +0 -2
  281. package/lib/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  282. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  283. package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  284. package/mobile/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  285. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  286. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -13
  287. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  288. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  289. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  290. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  291. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  292. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js +0 -5
  293. package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  294. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
  295. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -11
  296. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
  297. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
  298. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
  299. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
  300. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
  301. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js +0 -2
  302. package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
  303. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +0 -25
  304. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +0 -28
  305. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +0 -1
  306. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +0 -15
  307. package/mobile/src/components/StepsBlock/checkCanRenderIcon.ts +0 -4
  308. package/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +0 -25
  309. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.tsx +0 -34
  310. package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +0 -36
  311. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +0 -28
  312. package/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +0 -1
  313. package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +0 -15
  314. package/src/components/StepsBlock/checkCanRenderIcon.ts +0 -4
@@ -0,0 +1,53 @@
1
+ export const description = 'v0.14.26';
2
+
3
+ export default (uniPath, content) => {
4
+ if (!content?.blocks) {
5
+ return content;
6
+ }
7
+
8
+ for (const block of content.blocks) {
9
+ adjustCarouselRecommendationCardBlock(block);
10
+ adjustCarouselProgramsCardBlock(block);
11
+ }
12
+
13
+ return { ...content };
14
+ };
15
+
16
+ function adjustCarouselProgramsCardBlock(block) {
17
+ if (block.blocks) {
18
+ for (const childBlock of block.blocks) {
19
+ adjustCarouselProgramsCardBlock(childBlock);
20
+ }
21
+ }
22
+
23
+ const content = block?.content;
24
+ if (!content?.list?.length) {
25
+ Reflect.deleteProperty(content, 'list');
26
+ }
27
+
28
+ if (block.type === 'CarouselProgramsCard' && content && content?.list) {
29
+ content.benefits = content?.list.map((_) => ({
30
+ type: 'default',
31
+ label: _?.title,
32
+ description: _?.description,
33
+ }));
34
+ Reflect.deleteProperty(content, 'list');
35
+ }
36
+ block.type = 'CarouselRecommendationCard';
37
+ }
38
+
39
+ function adjustCarouselRecommendationCardBlock(block) {
40
+ if (block.blocks) {
41
+ for (const childBlock of block.blocks) {
42
+ adjustCarouselRecommendationCardBlock(childBlock);
43
+ }
44
+ }
45
+
46
+ const content = block?.content;
47
+ if (block.type === 'CarouselRecommendationCard' && content && 'isImageAlwaysOnRight' in content) {
48
+ content.imageOptions = {
49
+ isImageAlwaysOnRight: content?.isImageAlwaysOnRight,
50
+ };
51
+ Reflect.deleteProperty(content, 'isImageAlwaysOnRight');
52
+ }
53
+ }