@redneckz/wildless-cms-uni-blocks 0.14.27 → 0.14.29

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 (562) hide show
  1. package/bin/migration-scripts/0.12.12.js +0 -10
  2. package/bin/migration-scripts/0.14.28.js +28 -0
  3. package/bin/migration-scripts/0.14.29.js +105 -0
  4. package/bin/migration-scripts/0.14.4.js +4 -4
  5. package/bin/utils.js +20 -9
  6. package/bundle/blocks.schema.json +1 -1
  7. package/bundle/bundle.umd.js +79 -120
  8. package/bundle/bundle.umd.min.js +1 -1
  9. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
  10. package/bundle/components/Bonus/BonusContent.d.ts +1 -0
  11. package/bundle/components/Calculator/CalculatorContent.d.ts +3 -0
  12. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  13. package/bundle/components/Headline/headlineVersionStyles.d.ts +1 -2
  14. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +6 -0
  15. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  16. package/bundle/components/MobileAppTile/renderList.d.ts +1 -1
  17. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  18. package/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  19. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  20. package/bundle/components/Tile/Tile.d.ts +5 -0
  21. package/bundle/components/Tile/TileContent.d.ts +6 -0
  22. package/bundle/components/VerticalLayout/VerticalLayout.d.ts +1 -0
  23. package/bundle/icons/IconName.d.ts +14 -2
  24. package/bundle/model/HeadlineType.d.ts +0 -8
  25. package/bundle/utils/getBorderStyle.d.ts +1 -0
  26. package/cosmos-static/icons/CardSendIcon.svg +1 -0
  27. package/cosmos-static/icons/CoinIcon.svg +1 -0
  28. package/cosmos-static/icons/ConvertCardIcon.svg +1 -0
  29. package/cosmos-static/icons/HeartTickIcon.svg +1 -0
  30. package/cosmos-static/icons/NotificationBingIcon.svg +1 -0
  31. package/cosmos-static/icons/Security/320/241ardIcon.svg +1 -0
  32. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
  33. package/dist/components/Blocks.js +2 -6
  34. package/dist/components/Blocks.js.map +1 -1
  35. package/dist/components/Blocks.mobile.js +2 -2
  36. package/dist/components/Blocks.mobile.js.map +1 -1
  37. package/dist/components/Bonus/BonusContent.d.ts +1 -0
  38. package/dist/components/Calculator/Calculator.mobile.js +2 -1
  39. package/dist/components/Calculator/Calculator.mobile.js.map +1 -1
  40. package/dist/components/Calculator/CalculatorContent.d.ts +3 -0
  41. package/dist/components/Carousel/Carousel.js +1 -1
  42. package/dist/components/Carousel/Carousel.js.map +1 -1
  43. package/dist/components/Carousel/renderCarouselCards.js +2 -2
  44. package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  45. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
  46. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  47. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  48. package/dist/components/Footer/SocialMedia.js +2 -2
  49. package/dist/components/Footer/SocialMedia.js.map +1 -1
  50. package/dist/components/Headline/headlineVersionStyles.d.ts +1 -2
  51. package/dist/components/Headline/headlineVersionStyles.js +1 -12
  52. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  53. package/dist/components/HorizontalLayout/HorizontalLayout.js +2 -3
  54. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  55. package/dist/components/LinkDocs/LinkDocItem.js +6 -14
  56. package/dist/components/LinkDocs/LinkDocItem.js.map +1 -1
  57. package/dist/components/LinkDocs/LinkDocs.js +4 -3
  58. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  59. package/dist/components/LinkDocs/LinkDocsContent.d.ts +6 -0
  60. package/dist/components/LinkDocs/linkDocsContentExample.js +14 -5
  61. package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  62. package/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  63. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  64. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  65. package/dist/components/MobileAppTile/renderList.d.ts +1 -1
  66. package/dist/components/MobileAppTile/renderList.js +3 -2
  67. package/dist/components/MobileAppTile/renderList.js.map +1 -1
  68. package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  69. package/dist/components/ProductBlock/ProductBlock.js +4 -4
  70. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  71. package/dist/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  72. package/dist/components/TariffsTable/TariffsTable.js +1 -2
  73. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  74. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  75. package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  76. package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  77. package/dist/components/Tile/Tile.d.ts +5 -0
  78. package/dist/components/Tile/Tile.js +8 -0
  79. package/dist/components/Tile/Tile.js.map +1 -0
  80. package/dist/components/Tile/TileContent.d.ts +6 -0
  81. package/{mobile/dist/components/PromoTile/PromoTileContent.js → dist/components/Tile/TileContent.js} +1 -1
  82. package/dist/components/Tile/TileContent.js.map +1 -0
  83. package/dist/components/VerticalLayout/VerticalLayout.d.ts +1 -0
  84. package/dist/components/VerticalLayout/VerticalLayout.js +6 -2
  85. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  86. package/dist/icons/IconName.d.ts +14 -2
  87. package/dist/icons/IconName.js +12 -0
  88. package/dist/icons/IconName.js.map +1 -1
  89. package/dist/model/HeadlineType.d.ts +0 -8
  90. package/dist/ui-kit/BaseTile/BaseTile.js +2 -2
  91. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  92. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  93. package/dist/ui-kit/List/List.js +1 -1
  94. package/dist/ui-kit/List/List.js.map +1 -1
  95. package/dist/ui-kit/List/ListItem.js +1 -1
  96. package/dist/ui-kit/List/ListItem.js.map +1 -1
  97. package/dist/utils/getBorderStyle.d.ts +1 -0
  98. package/dist/utils/getBorderStyle.js +7 -0
  99. package/dist/utils/getBorderStyle.js.map +1 -0
  100. package/lib/common.css +1 -1
  101. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
  102. package/lib/components/Blocks.js +2 -6
  103. package/lib/components/Blocks.js.map +1 -1
  104. package/lib/components/Blocks.mobile.js +2 -2
  105. package/lib/components/Blocks.mobile.js.map +1 -1
  106. package/lib/components/Bonus/BonusContent.d.ts +1 -0
  107. package/lib/components/Calculator/Calculator.mobile.js +2 -1
  108. package/lib/components/Calculator/Calculator.mobile.js.map +1 -1
  109. package/lib/components/Calculator/CalculatorContent.d.ts +3 -0
  110. package/lib/components/Carousel/Carousel.fixture.d.ts +0 -2
  111. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +0 -2
  112. package/lib/components/Carousel/Carousel.js +1 -1
  113. package/lib/components/Carousel/Carousel.js.map +1 -1
  114. package/lib/components/Carousel/renderCarouselCards.js +2 -2
  115. package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  116. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +2 -0
  117. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
  118. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  119. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  120. package/lib/components/Footer/SocialMedia.js +2 -2
  121. package/lib/components/Footer/SocialMedia.js.map +1 -1
  122. package/lib/components/Headline/headlineVersionStyles.d.ts +1 -2
  123. package/lib/components/Headline/headlineVersionStyles.js +0 -11
  124. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  125. package/lib/components/HorizontalLayout/HorizontalLayout.js +2 -3
  126. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  127. package/lib/components/LinkDocs/LinkDocItem.js +6 -14
  128. package/lib/components/LinkDocs/LinkDocItem.js.map +1 -1
  129. package/lib/components/LinkDocs/LinkDocs.js +4 -3
  130. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  131. package/lib/components/LinkDocs/LinkDocsContent.d.ts +6 -0
  132. package/lib/components/LinkDocs/linkDocsContentExample.js +14 -5
  133. package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  134. package/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  135. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  136. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  137. package/lib/components/MobileAppTile/renderList.d.ts +1 -1
  138. package/lib/components/MobileAppTile/renderList.js +3 -2
  139. package/lib/components/MobileAppTile/renderList.js.map +1 -1
  140. package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  141. package/lib/components/ProductBlock/ProductBlock.js +4 -4
  142. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  143. package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +1 -0
  144. package/lib/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  145. package/lib/components/TariffsTable/TariffsTable.js +1 -2
  146. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  147. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  148. package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  149. package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  150. package/lib/components/Tile/Tile.d.ts +5 -0
  151. package/lib/components/Tile/Tile.fixture.d.ts +15 -0
  152. package/lib/components/{PromoTile/PromoTile.fixture.d.ts → Tile/Tile.fixture.mobile.d.ts} +3 -0
  153. package/lib/components/Tile/Tile.js +6 -0
  154. package/lib/components/Tile/Tile.js.map +1 -0
  155. package/lib/components/Tile/TileContent.d.ts +6 -0
  156. package/lib/components/Tile/TileContent.js +2 -0
  157. package/lib/components/Tile/TileContent.js.map +1 -0
  158. package/lib/components/VerticalLayout/VerticalLayout.d.ts +1 -0
  159. package/lib/components/VerticalLayout/VerticalLayout.js +6 -2
  160. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  161. package/lib/icons/IconName.d.ts +14 -2
  162. package/lib/icons/IconName.js +12 -0
  163. package/lib/icons/IconName.js.map +1 -1
  164. package/lib/model/HeadlineType.d.ts +0 -8
  165. package/lib/ui-kit/BaseTile/BaseTile.js +2 -2
  166. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  167. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  168. package/lib/ui-kit/List/List.js +1 -1
  169. package/lib/ui-kit/List/List.js.map +1 -1
  170. package/lib/ui-kit/List/ListItem.js +1 -1
  171. package/lib/ui-kit/List/ListItem.js.map +1 -1
  172. package/lib/utils/getBorderStyle.d.ts +1 -0
  173. package/lib/utils/getBorderStyle.js +4 -0
  174. package/lib/utils/getBorderStyle.js.map +1 -0
  175. package/mobile/bundle/bundle.umd.js +76 -99
  176. package/mobile/bundle/bundle.umd.min.js +1 -1
  177. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
  178. package/mobile/bundle/components/Bonus/BonusContent.d.ts +1 -0
  179. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +3 -0
  180. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  181. package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +1 -2
  182. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +6 -0
  183. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  184. package/mobile/bundle/components/MobileAppTile/renderList.d.ts +1 -1
  185. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  186. package/mobile/bundle/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  187. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  188. package/mobile/bundle/components/Tile/Tile.d.ts +5 -0
  189. package/mobile/bundle/components/Tile/TileContent.d.ts +6 -0
  190. package/mobile/bundle/components/VerticalLayout/VerticalLayout.d.ts +1 -0
  191. package/mobile/bundle/icons/IconName.d.ts +14 -2
  192. package/mobile/bundle/model/HeadlineType.d.ts +0 -8
  193. package/mobile/bundle/utils/getBorderStyle.d.ts +1 -0
  194. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
  195. package/mobile/dist/components/Blocks.js +2 -2
  196. package/mobile/dist/components/Blocks.js.map +1 -1
  197. package/mobile/dist/components/Bonus/BonusContent.d.ts +1 -0
  198. package/mobile/dist/components/Calculator/Calculator.js +2 -1
  199. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  200. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +3 -0
  201. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  202. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  203. package/mobile/dist/components/Carousel/renderCarouselCards.js +2 -2
  204. package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  205. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
  206. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  207. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  208. package/mobile/dist/components/Footer/SocialMedia.js +2 -2
  209. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  210. package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +1 -2
  211. package/mobile/dist/components/Headline/headlineVersionStyles.js +1 -12
  212. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  213. package/mobile/dist/components/LinkDocs/LinkDocItem.js +6 -14
  214. package/mobile/dist/components/LinkDocs/LinkDocItem.js.map +1 -1
  215. package/mobile/dist/components/LinkDocs/LinkDocs.js +4 -3
  216. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  217. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +6 -0
  218. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +14 -5
  219. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  220. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
  221. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  222. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  223. package/mobile/dist/components/MobileAppTile/renderList.d.ts +1 -1
  224. package/mobile/dist/components/MobileAppTile/renderList.js +3 -2
  225. package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
  226. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  227. package/mobile/dist/components/ProductBlock/ProductBlock.js +4 -4
  228. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  229. package/mobile/dist/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  230. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -2
  231. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  232. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  233. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  234. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  235. package/mobile/dist/components/Tile/Tile.d.ts +5 -0
  236. package/mobile/dist/components/Tile/Tile.js +8 -0
  237. package/mobile/dist/components/Tile/Tile.js.map +1 -0
  238. package/mobile/dist/components/Tile/TileContent.d.ts +6 -0
  239. package/{dist/components/PromoTile/PromoTileContent.js → mobile/dist/components/Tile/TileContent.js} +1 -1
  240. package/mobile/dist/components/Tile/TileContent.js.map +1 -0
  241. package/mobile/dist/components/VerticalLayout/VerticalLayout.d.ts +1 -0
  242. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +6 -2
  243. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  244. package/mobile/dist/icons/IconName.d.ts +14 -2
  245. package/mobile/dist/icons/IconName.js +12 -0
  246. package/mobile/dist/icons/IconName.js.map +1 -1
  247. package/mobile/dist/model/HeadlineType.d.ts +0 -8
  248. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +2 -2
  249. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  250. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  251. package/mobile/dist/ui-kit/List/List.js +1 -1
  252. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  253. package/mobile/dist/ui-kit/List/ListItem.js +1 -1
  254. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  255. package/mobile/dist/utils/getBorderStyle.d.ts +1 -0
  256. package/mobile/dist/utils/getBorderStyle.js +7 -0
  257. package/mobile/dist/utils/getBorderStyle.js.map +1 -0
  258. package/mobile/lib/common.css +1 -1
  259. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
  260. package/mobile/lib/components/Blocks.js +2 -2
  261. package/mobile/lib/components/Blocks.js.map +1 -1
  262. package/mobile/lib/components/Bonus/BonusContent.d.ts +1 -0
  263. package/mobile/lib/components/Calculator/Calculator.js +2 -1
  264. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  265. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +3 -0
  266. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  267. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  268. package/mobile/lib/components/Carousel/renderCarouselCards.js +2 -2
  269. package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  270. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -2
  271. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  272. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +3 -2
  273. package/mobile/lib/components/Footer/SocialMedia.js +2 -2
  274. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  275. package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +1 -2
  276. package/mobile/lib/components/Headline/headlineVersionStyles.js +0 -11
  277. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  278. package/mobile/lib/components/LinkDocs/LinkDocItem.js +6 -14
  279. package/mobile/lib/components/LinkDocs/LinkDocItem.js.map +1 -1
  280. package/mobile/lib/components/LinkDocs/LinkDocs.js +4 -3
  281. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  282. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +6 -0
  283. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +14 -5
  284. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  285. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
  286. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  287. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
  288. package/mobile/lib/components/MobileAppTile/renderList.d.ts +1 -1
  289. package/mobile/lib/components/MobileAppTile/renderList.js +3 -2
  290. package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
  291. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
  292. package/mobile/lib/components/ProductBlock/ProductBlock.js +4 -4
  293. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  294. package/mobile/lib/components/RichTextBlock/RichTextBlockContent.d.ts +2 -1
  295. package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -2
  296. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  297. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  298. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
  299. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  300. package/mobile/lib/components/Tile/Tile.d.ts +5 -0
  301. package/mobile/lib/components/Tile/Tile.js +6 -0
  302. package/mobile/lib/components/Tile/Tile.js.map +1 -0
  303. package/mobile/lib/components/Tile/TileContent.d.ts +6 -0
  304. package/mobile/lib/components/Tile/TileContent.js +2 -0
  305. package/mobile/lib/components/Tile/TileContent.js.map +1 -0
  306. package/mobile/lib/components/VerticalLayout/VerticalLayout.d.ts +1 -0
  307. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +6 -2
  308. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  309. package/mobile/lib/icons/IconName.d.ts +14 -2
  310. package/mobile/lib/icons/IconName.js +12 -0
  311. package/mobile/lib/icons/IconName.js.map +1 -1
  312. package/mobile/lib/model/HeadlineType.d.ts +0 -8
  313. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +2 -2
  314. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  315. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  316. package/mobile/lib/ui-kit/List/List.js +1 -1
  317. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  318. package/mobile/lib/ui-kit/List/ListItem.js +1 -1
  319. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  320. package/mobile/lib/utils/getBorderStyle.d.ts +1 -0
  321. package/mobile/lib/utils/getBorderStyle.js +4 -0
  322. package/mobile/lib/utils/getBorderStyle.js.map +1 -0
  323. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -0
  324. package/mobile/src/components/Blocks.ts +2 -2
  325. package/mobile/src/components/Bonus/BonusContent.ts +1 -0
  326. package/mobile/src/components/Calculator/Calculator.tsx +4 -2
  327. package/mobile/src/components/Calculator/CalculatorContent.ts +3 -0
  328. package/mobile/src/components/Carousel/Carousel.tsx +1 -1
  329. package/mobile/src/components/Carousel/renderCarouselCards.tsx +3 -2
  330. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +20 -2
  331. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -1
  332. package/mobile/src/components/Footer/SocialMedia.tsx +2 -2
  333. package/mobile/src/components/Headline/headlineVersionStyles.ts +1 -13
  334. package/mobile/src/components/LinkDocs/LinkDocItem.tsx +24 -34
  335. package/mobile/src/components/LinkDocs/LinkDocs.example.json +4 -1
  336. package/mobile/src/components/LinkDocs/LinkDocs.tsx +5 -3
  337. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +6 -0
  338. package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +14 -5
  339. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +2 -1
  340. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -1
  341. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
  342. package/mobile/src/components/MobileAppTile/renderList.tsx +9 -4
  343. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +1 -0
  344. package/mobile/src/components/ProductBlock/ProductBlock.tsx +8 -5
  345. package/mobile/src/components/RichTextBlock/RichTextBlockContent.ts +2 -1
  346. package/mobile/src/components/TariffsTable/TariffsTable.tsx +2 -3
  347. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +0 -1
  348. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -0
  349. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +0 -1
  350. package/mobile/src/components/Tile/Tile.example.json +28 -0
  351. package/mobile/src/components/Tile/Tile.tsx +23 -0
  352. package/mobile/src/components/Tile/Tile.ui.json +17 -0
  353. package/mobile/src/components/Tile/TileContent.ts +7 -0
  354. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +9 -2
  355. package/mobile/src/icons/CardSendIcon.svg +9 -0
  356. package/mobile/src/icons/CoinIcon.svg +5 -0
  357. package/mobile/src/icons/ConvertCardIcon.svg +8 -0
  358. package/mobile/src/icons/HeartTickIcon.svg +5 -0
  359. package/mobile/src/icons/IconName.ts +4 -4
  360. package/mobile/src/icons/NotificationBingIcon.svg +5 -0
  361. package/mobile/src/icons/Security/320/241ardIcon.svg +7 -0
  362. package/mobile/src/model/HeadlineType.ts +0 -10
  363. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
  364. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  365. package/mobile/src/ui-kit/List/List.tsx +1 -1
  366. package/mobile/src/ui-kit/List/ListItem.tsx +15 -17
  367. package/mobile/src/utils/getBorderStyle.ts +4 -0
  368. package/package.json +1 -1
  369. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -0
  370. package/src/components/Blocks.mobile.ts +2 -2
  371. package/src/components/Blocks.ts +2 -6
  372. package/src/components/Bonus/BonusContent.ts +1 -0
  373. package/src/components/Calculator/Calculator.mobile.tsx +4 -2
  374. package/src/components/Calculator/CalculatorContent.ts +3 -0
  375. package/src/components/Carousel/Carousel.fixture.mobile.tsx +0 -34
  376. package/src/components/Carousel/Carousel.fixture.tsx +2 -52
  377. package/src/components/Carousel/Carousel.tsx +1 -1
  378. package/src/components/Carousel/renderCarouselCards.tsx +3 -2
  379. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +44 -0
  380. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +20 -2
  381. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -1
  382. package/src/components/Footer/SocialMedia.tsx +2 -2
  383. package/src/components/Headline/headlineVersionStyles.ts +1 -13
  384. package/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -3
  385. package/src/components/LinkDocs/LinkDocItem.tsx +24 -34
  386. package/src/components/LinkDocs/LinkDocs.example.json +4 -1
  387. package/src/components/LinkDocs/LinkDocs.tsx +5 -3
  388. package/src/components/LinkDocs/LinkDocsContent.ts +6 -0
  389. package/src/components/LinkDocs/linkDocsContentExample.ts +14 -5
  390. package/src/components/MobileAppTile/MobileAppTile.example.json +2 -1
  391. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +3 -1
  392. package/src/components/MobileAppTile/MobileAppTile.tsx +2 -1
  393. package/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
  394. package/src/components/MobileAppTile/renderList.tsx +9 -4
  395. package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +1 -0
  396. package/src/components/ProductBlock/ProductBlock.tsx +8 -5
  397. package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +15 -0
  398. package/src/components/RichTextBlock/RichTextBlockContent.ts +2 -1
  399. package/src/components/TariffsTable/TariffsTable.tsx +2 -3
  400. package/src/components/TariffsTable/TariffsTableCell.tsx +0 -1
  401. package/src/components/TariffsTable/TariffsTableContent.ts +1 -0
  402. package/src/components/TariffsTable/TariffsTableVertical.tsx +0 -1
  403. package/src/components/Tile/Tile.example.json +28 -0
  404. package/src/components/Tile/Tile.fixture.mobile.tsx +48 -0
  405. package/src/components/Tile/Tile.fixture.tsx +146 -0
  406. package/src/components/Tile/Tile.tsx +23 -0
  407. package/src/components/Tile/Tile.ui.json +17 -0
  408. package/src/components/Tile/TileContent.ts +7 -0
  409. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +4 -12
  410. package/src/components/VerticalLayout/VerticalLayout.tsx +9 -2
  411. package/src/icons/CardSendIcon.svg +9 -0
  412. package/src/icons/CoinIcon.svg +5 -0
  413. package/src/icons/ConvertCardIcon.svg +8 -0
  414. package/src/icons/HeartTickIcon.svg +5 -0
  415. package/src/icons/IconName.ts +19 -1
  416. package/src/icons/NotificationBingIcon.svg +5 -0
  417. package/src/icons/Security/320/241ardIcon.svg +7 -0
  418. package/src/model/HeadlineType.ts +0 -10
  419. package/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
  420. package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
  421. package/src/ui-kit/List/List.tsx +1 -1
  422. package/src/ui-kit/List/ListItem.tsx +15 -17
  423. package/src/utils/getBorderStyle.ts +4 -0
  424. package/bin/migration-scripts/0.14.12.js +0 -34
  425. package/bin/migration-scripts/0.14.27.js +0 -38
  426. package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  427. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  428. package/bundle/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  429. package/bundle/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  430. package/bundle/components/PromoTile/PromoTile.d.ts +0 -5
  431. package/bundle/components/PromoTile/PromoTileContent.d.ts +0 -10
  432. package/bundle/components/TariffsTable/headlineAlign.d.ts +0 -1
  433. package/bundle/components/TariffsTable/headlineAlign.mobile.d.ts +0 -1
  434. package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  435. package/dist/components/CarouselProductCard/CarouselProductCard.js +0 -26
  436. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
  437. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  438. package/dist/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
  439. package/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
  440. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  441. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -8
  442. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
  443. package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  444. package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
  445. package/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
  446. package/dist/components/PromoTile/PromoTile.d.ts +0 -5
  447. package/dist/components/PromoTile/PromoTile.js +0 -20
  448. package/dist/components/PromoTile/PromoTile.js.map +0 -1
  449. package/dist/components/PromoTile/PromoTileContent.d.ts +0 -10
  450. package/dist/components/PromoTile/PromoTileContent.js.map +0 -1
  451. package/dist/components/TariffsTable/headlineAlign.d.ts +0 -1
  452. package/dist/components/TariffsTable/headlineAlign.js +0 -4
  453. package/dist/components/TariffsTable/headlineAlign.js.map +0 -1
  454. package/dist/components/TariffsTable/headlineAlign.mobile.d.ts +0 -1
  455. package/dist/components/TariffsTable/headlineAlign.mobile.js +0 -4
  456. package/dist/components/TariffsTable/headlineAlign.mobile.js.map +0 -1
  457. package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  458. package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +0 -13
  459. package/lib/components/CarouselProductCard/CarouselProductCard.fixture.mobile.d.ts +0 -13
  460. package/lib/components/CarouselProductCard/CarouselProductCard.js +0 -24
  461. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
  462. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  463. package/lib/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
  464. package/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
  465. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  466. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.fixture.d.ts +0 -8
  467. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -6
  468. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
  469. package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  470. package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
  471. package/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
  472. package/lib/components/PromoTile/PromoTile.d.ts +0 -5
  473. package/lib/components/PromoTile/PromoTile.js +0 -18
  474. package/lib/components/PromoTile/PromoTile.js.map +0 -1
  475. package/lib/components/PromoTile/PromoTileContent.d.ts +0 -10
  476. package/lib/components/PromoTile/PromoTileContent.js +0 -2
  477. package/lib/components/PromoTile/PromoTileContent.js.map +0 -1
  478. package/lib/components/TariffsTable/headlineAlign.d.ts +0 -1
  479. package/lib/components/TariffsTable/headlineAlign.js +0 -2
  480. package/lib/components/TariffsTable/headlineAlign.js.map +0 -1
  481. package/lib/components/TariffsTable/headlineAlign.mobile.d.ts +0 -1
  482. package/lib/components/TariffsTable/headlineAlign.mobile.js +0 -2
  483. package/lib/components/TariffsTable/headlineAlign.mobile.js.map +0 -1
  484. package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  485. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  486. package/mobile/bundle/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  487. package/mobile/bundle/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  488. package/mobile/bundle/components/PromoTile/PromoTile.d.ts +0 -5
  489. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +0 -10
  490. package/mobile/bundle/components/TariffsTable/headlineAlign.d.ts +0 -1
  491. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  492. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +0 -26
  493. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
  494. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  495. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
  496. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
  497. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  498. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -8
  499. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
  500. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  501. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
  502. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
  503. package/mobile/dist/components/PromoTile/PromoTile.d.ts +0 -5
  504. package/mobile/dist/components/PromoTile/PromoTile.js +0 -20
  505. package/mobile/dist/components/PromoTile/PromoTile.js.map +0 -1
  506. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +0 -10
  507. package/mobile/dist/components/PromoTile/PromoTileContent.js.map +0 -1
  508. package/mobile/dist/components/TariffsTable/headlineAlign.d.ts +0 -1
  509. package/mobile/dist/components/TariffsTable/headlineAlign.js +0 -4
  510. package/mobile/dist/components/TariffsTable/headlineAlign.js.map +0 -1
  511. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +0 -5
  512. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +0 -24
  513. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +0 -1
  514. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +0 -27
  515. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js +0 -2
  516. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.js.map +0 -1
  517. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.d.ts +0 -5
  518. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +0 -6
  519. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +0 -1
  520. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.d.ts +0 -6
  521. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js +0 -2
  522. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCardContent.js.map +0 -1
  523. package/mobile/lib/components/PromoTile/PromoTile.d.ts +0 -5
  524. package/mobile/lib/components/PromoTile/PromoTile.js +0 -18
  525. package/mobile/lib/components/PromoTile/PromoTile.js.map +0 -1
  526. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +0 -10
  527. package/mobile/lib/components/PromoTile/PromoTileContent.js +0 -2
  528. package/mobile/lib/components/PromoTile/PromoTileContent.js.map +0 -1
  529. package/mobile/lib/components/TariffsTable/headlineAlign.d.ts +0 -1
  530. package/mobile/lib/components/TariffsTable/headlineAlign.js +0 -2
  531. package/mobile/lib/components/TariffsTable/headlineAlign.js.map +0 -1
  532. package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +0 -20
  533. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +0 -115
  534. package/mobile/src/components/CarouselProductCard/CarouselProductCard.ui.json +0 -21
  535. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +0 -39
  536. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.example.json +0 -6
  537. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +0 -15
  538. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.ui.json +0 -7
  539. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts +0 -7
  540. package/mobile/src/components/PromoTile/PromoTile.example.json +0 -16
  541. package/mobile/src/components/PromoTile/PromoTile.tsx +0 -53
  542. package/mobile/src/components/PromoTile/PromoTile.ui.json +0 -1
  543. package/mobile/src/components/PromoTile/PromoTileContent.ts +0 -14
  544. package/mobile/src/components/TariffsTable/headlineAlign.tsx +0 -1
  545. package/src/components/CarouselProductCard/CarouselProductCard.example.json +0 -20
  546. package/src/components/CarouselProductCard/CarouselProductCard.fixture.mobile.tsx +0 -92
  547. package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +0 -96
  548. package/src/components/CarouselProductCard/CarouselProductCard.tsx +0 -115
  549. package/src/components/CarouselProductCard/CarouselProductCard.ui.json +0 -21
  550. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +0 -39
  551. package/src/components/CarouselRichTextCard/CarouselRichTextCard.example.json +0 -6
  552. package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +0 -26
  553. package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +0 -15
  554. package/src/components/CarouselRichTextCard/CarouselRichTextCard.ui.json +0 -7
  555. package/src/components/CarouselRichTextCard/CarouselRichTextCardContent.ts +0 -7
  556. package/src/components/PromoTile/PromoTile.example.json +0 -16
  557. package/src/components/PromoTile/PromoTile.fixture.tsx +0 -25
  558. package/src/components/PromoTile/PromoTile.tsx +0 -53
  559. package/src/components/PromoTile/PromoTile.ui.json +0 -1
  560. package/src/components/PromoTile/PromoTileContent.ts +0 -14
  561. package/src/components/TariffsTable/headlineAlign.mobile.tsx +0 -1
  562. package/src/components/TariffsTable/headlineAlign.tsx +0 -1
@@ -887,11 +887,11 @@
887
887
  onChange,
888
888
  onClose: handleClose,
889
889
  });
890
- return (jsxs("div", { className: className, children: [renderLabel(label), jsxs("div", { className: style('relative', isOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [jsxs("div", { className: style('h-14 text-l flex justify-between items-center text-primary-text cursor-pointer relative z-10', getBorderStyle(isBorder, valid)), onClick: isOpen ? handleClose : open, children: [jsx("p", { className: "p-m pr-3xl flex items-center overflow-hidden text-ellipsis whitespace-nowrap", children: formatOption(value) || placeholder }), renderIcon$1(isOpen, iconVersion)] }), isSearch && isOpen ? (jsx("div", { className: style('absolute top-0 w-full z-20'), children: jsx(Input, { type: "text", autoFocus: true, value: query, onChange: setQuery }) })) : null] })] }));
890
+ return (jsxs("div", { className: className, children: [renderLabel(label), jsxs("div", { className: style('relative', isOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [jsxs("div", { className: style('h-14 text-l flex justify-between items-center text-primary-text cursor-pointer relative z-10', getBorderStyle$1(isBorder, valid)), onClick: isOpen ? handleClose : open, children: [jsx("p", { className: "p-m pr-3xl flex items-center overflow-hidden text-ellipsis whitespace-nowrap", children: formatOption(value) || placeholder }), renderIcon$1(isOpen, iconVersion)] }), isSearch && isOpen ? (jsx("div", { className: style('absolute top-0 w-full z-20'), children: jsx(Input, { type: "text", autoFocus: true, value: query, onChange: setQuery }) })) : null] })] }));
891
891
  });
892
892
  const renderLabel = (label) => label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label }) })) : null;
893
893
  const renderIcon$1 = (isOpen, iconVersion) => (jsx(Icon, { className: style('absolute right-3', isOpen ? '' : 'rotate-180'), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
894
- const getBorderStyle = (isBorder, valid) => style(isBorder ? 'border rounded-md hover:border-primary-hover' : '', valid ? ' border-gray' : 'border-error');
894
+ const getBorderStyle$1 = (isBorder, valid) => style(isBorder ? 'border rounded-md hover:border-primary-hover' : '', valid ? ' border-gray' : 'border-error');
895
895
 
896
896
  const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null })] })));
897
897
 
@@ -1183,7 +1183,7 @@
1183
1183
  });
1184
1184
  const checkboxStyle = (value) => style('rounded border', value ? 'bg-primary-main' : '');
1185
1185
 
1186
- const formatDate$1 = (date, toTimeStamp = false) => {
1186
+ const formatDate = (date, toTimeStamp = false) => {
1187
1187
  if (typeof date === 'string') {
1188
1188
  return date.split('-').reverse().join('.');
1189
1189
  }
@@ -1334,7 +1334,7 @@
1334
1334
  });
1335
1335
  return (jsxs("div", { className: style(className, 'relative'), ref: ref, children: [jsx(Text, { size: "text-m", children: label }), renderDatePickerForm(handleChangeVisibleCalendar, value, valid), showCalendar ? (jsxs("div", { className: "absolute bg-white z-10 select-none", children: [jsxs("div", { className: "flex gap-s", children: [jsx("div", { className: "my-auto", onClick: handlePrevMonth, children: jsx(Icon, { ...ICON_PROPS, className: "-rotate-90 cursor-pointer" }) }), jsx(Select, { onChange: handleSelectMonth, value: { key: months[selectedMonth] }, options: monthsOptions, ...SELECT_PROPS }), jsx(Select, { onChange: handleSelectYear, value: { key: String(selectedYear) }, options: yearsOptions, ...SELECT_PROPS }), jsx("div", { className: "my-auto", onClick: handleNextMonth, children: jsx(Icon, { ...ICON_PROPS, className: "rotate-90 cursor-pointer" }) })] }), jsx(Calendar, { today: value, currentMonth: selectedMonth, currentYear: selectedYear, onDateSelect: onChange, min: minDate, max: maxDate })] })) : null] }));
1336
1336
  });
1337
- const renderDatePickerForm = (handleChangeVisibleCalendar, value, valid) => (jsxs("div", { onClick: handleChangeVisibleCalendar, className: style(formStyle, valid ? 'border-gray' : 'border-error'), children: [jsx(Paragraph, { children: value && formatDate$1(value) }), jsx(Icon, { ...ICON_PROPS, name: "CalendarIcon" })] }));
1337
+ const renderDatePickerForm = (handleChangeVisibleCalendar, value, valid) => (jsxs("div", { onClick: handleChangeVisibleCalendar, className: style(formStyle, valid ? 'border-gray' : 'border-error'), children: [jsx(Paragraph, { children: value && formatDate(value) }), jsx(Icon, { ...ICON_PROPS, name: "CalendarIcon" })] }));
1338
1338
 
1339
1339
  const DatePickerControl = JSX(({ className, label, value = undefined, error, onChange }) => (jsxs("div", { className: className, children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx(DatePicker, { value: value, onChange: onChange, valid: Boolean(!error) }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null })] })));
1340
1340
 
@@ -1530,8 +1530,8 @@
1530
1530
  const defaultIconSize = 44;
1531
1531
 
1532
1532
  const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: [title ? jsx(Heading, { headingType: "h3", as: "h2", className: AlignStyles, title: title }) : null, benefitList?.length ? (jsx("div", { className: "flex flex-col @md:flex-row flex-wrap w-full @md:justify-center mt-xl gap-5xl", role: "list", children: benefitList.map(renderBenefit) })) : null] })));
1533
- const renderBenefit = (benefit, i) => (jsxs("div", { className: "flex gap-m items-center @md:basis-1/2 @md:max-w-[500px]", role: "listitem", children: [benefit?.icon?.icon ? (jsx(RoundedIcon, { className: "shrink-0", defaultIconSize: defaultIconSize, iconBgVersion: benefit?.iconBgVersion || '', ...benefit?.icon })) : null, benefit?.icon?.src ? jsx(Img, { className: "shrink-0", image: benefit.icon }) : null, benefit?.label ? (jsxs("div", { className: "@sm:h-full", children: [jsx(Heading, { headingType: "h6", children: benefit.label }), renderDescription$2(benefit.description)] })) : null] }, String(i)));
1534
- const renderDescription$2 = (description) => {
1533
+ const renderBenefit = (benefit, i) => (jsxs("div", { className: "flex gap-m items-center @md:basis-1/2 @md:max-w-[500px]", role: "listitem", children: [benefit?.icon?.icon ? (jsx(RoundedIcon, { className: "shrink-0", defaultIconSize: defaultIconSize, iconBgVersion: benefit?.iconBgVersion || '', ...benefit?.icon })) : null, benefit?.icon?.src ? jsx(Img, { className: "shrink-0", image: benefit.icon }) : null, benefit?.label ? (jsxs("div", { className: "@sm:h-full", children: [jsx(Heading, { headingType: "h6", children: benefit.label }), renderDescription$1(benefit.description)] })) : null] }, String(i)));
1534
+ const renderDescription$1 = (description) => {
1535
1535
  const benefitType = description?.benefitType || null;
1536
1536
  return description && benefitType ? (jsx("div", { className: "mt-xs text-l font-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
1537
1537
  ? renderListBenefit(description)
@@ -1552,7 +1552,7 @@
1552
1552
  const { text, icon, iconRight, version, ...rest } = button || {};
1553
1553
  const iconVersion = getIconVersion(icon, version);
1554
1554
  const iconRightVersion = getIconVersion(iconRight, version);
1555
- return text || icon?.icon ? (jsx(Button, { className: style('basis-full sm:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion: iconRightVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
1555
+ return text || icon?.icon ? (jsx(Button, { className: style('basis-full lg:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion: iconRightVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
1556
1556
  };
1557
1557
  const DEFAULT_ICON_W = 24;
1558
1558
  const getIconVersion = (icon, version = 'secondary') => {
@@ -1599,17 +1599,6 @@
1599
1599
  descriptionStyle: 'mt-xs',
1600
1600
  },
1601
1601
  };
1602
- // TODO: Move to Gallery and rename
1603
- const HEADLINE_SMALL_VERSION = {
1604
- H6: 'text-h6',
1605
- XL_L: 'text-xl-light',
1606
- XL_R: 'text-xl',
1607
- L_L: 'text-l-light',
1608
- L_R: 'text-l',
1609
- M: 'text-m-light',
1610
- S: 'text-s-light',
1611
- XS: 'text-xs-light',
1612
- };
1613
1602
 
1614
1603
  const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isEmbedded = false, isTheme = false, ...rest }) => {
1615
1604
  const versionStyle = headlineVersionStyles[headlineVersion];
@@ -2739,6 +2728,10 @@
2739
2728
  : null;
2740
2729
  }
2741
2730
 
2731
+ const getBorderStyle = (showBorder) => showBorder
2732
+ ? 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider'
2733
+ : '';
2734
+
2742
2735
  const renderCardHighlight = ({ className, text = 'ХИТ' } = {}) => (jsxs("div", { className: style('w-14 h-14 bg-white flex flex-col items-center justify-center rounded-md shadow-main-black', className), children: [jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "24", height: "24" }), jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: text })] }));
2743
2736
 
2744
2737
  const cardBaseStyle = 'relative h-full';
@@ -2767,8 +2760,7 @@
2767
2760
  };
2768
2761
  const cardWrapperStyle = (_, { someCardsHighlighted }) => style(cardBaseStyle, someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl' : 'pt-3xl sm:pt-16'));
2769
2762
  const cardStyle = (_, { someCardsHighlighted, showBorder, cardSize = 'normal', }) => style(cardBaseStyle, 'min-w-80', CARD_SIZE_MAP[cardSize], // TODO fix для RecommendationCard
2770
- someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl sm:pt-16' : 'pt-3xl'), showBorder &&
2771
- 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider h-full');
2763
+ someCardsHighlighted && (isCardHighlighted(_) ? 'pt-3xl sm:pt-16' : 'pt-3xl'), getBorderStyle(showBorder), showBorder && 'h-full');
2772
2764
  const isCardHighlighted = (_) => _?.content && 'isHighlighting' in _.content && _.content.isHighlighting;
2773
2765
 
2774
2766
  const VISIBLE_ITEM_COUNT = 1;
@@ -2795,8 +2787,8 @@
2795
2787
  'CarouselProgramsCard',
2796
2788
  'CarouselRecommendationCard',
2797
2789
  'CarouselTariffsCard',
2798
- 'CarouselRichTextCard',
2799
2790
  'CarouselInvestmentCard',
2791
+ 'RichTextBlock',
2800
2792
  'ProductBlock',
2801
2793
  ];
2802
2794
  Carousel.childSchema = () => ({
@@ -2828,7 +2820,7 @@
2828
2820
  center: '@xl:self-center',
2829
2821
  end: '@xl:self-end',
2830
2822
  };
2831
- const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary = false, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: style('grow relative flex flex-col @md:flex-row gap-3xl', leftImage ? 'self-start' : ''), children: [renderImageContainer(leftImage, { imageAlign, className: 'm-auto' }), jsxs("div", { className: style('grid gap-3xl', rightImage ? '@xl:grid-cols-2' : '', leftImage ? '' : 'grow'), children: [jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] }), renderImageContainer(rightImage, {
2823
+ const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary = false, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: style('grow relative flex flex-col @xl:flex-row gap-3xl', leftImage ? 'self-start' : ''), children: [renderImageContainer(leftImage, { imageAlign, className: 'mx-auto' }), jsxs("div", { className: style('grid gap-3xl', rightImage ? '@xl:grid-cols-2' : '', leftImage ? '' : 'grow'), children: [jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] }), renderImageContainer(rightImage, {
2832
2824
  className: style('@xl:justify-self-end @xl:col-start-2', buttons ? rowSpanStyle(isImageAlwaysOnRight) : '', positionStyle(isImageAlwaysOnRight), imageSecondaryStyle(isImageSecondary)),
2833
2825
  imageAlign,
2834
2826
  }), renderButtons(buttons)] })] })] })));
@@ -2836,7 +2828,7 @@
2836
2828
  const positionStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight ? 'justify-self-end col-start-2 self-center' : '';
2837
2829
  const renderButtons = (buttons) => buttons ? jsx("div", { className: "self-end", children: buttons }) : null;
2838
2830
  const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('shrink-1/2 justify-self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
2839
- const imageSecondaryStyle = (isImageSecondary) => isImageSecondary ? 'hidden @md:block' : '';
2831
+ const imageSecondaryStyle = (isImageSecondary) => isImageSecondary ? 'hidden @xl:block' : '';
2840
2832
 
2841
2833
  const cardStyleMap = {
2842
2834
  black: 'bg-black',
@@ -2871,47 +2863,6 @@
2871
2863
  .map((link, index) => (jsx(CarouselLinkButton, { ...link }, String(index)))) }, String(groupIndex)))) }));
2872
2864
  };
2873
2865
 
2874
- const LinkWrapper = JSX(({ className = '', href, target, isRemote = false, children }) => {
2875
- const link = useLink({ isRemote });
2876
- const linkProps = link({ href, target });
2877
- const Tag = href ? 'a' : 'div';
2878
- return (jsx(Tag, { className: style('block', className), ...(href ? linkProps : {}), children: children }));
2879
- });
2880
-
2881
- const DOT_SIZE_MAP = {
2882
- L: 'w-1.5 h-1.5 mr-m',
2883
- M: 'w-1.5 h-1.5 mr-s',
2884
- S: 'w-1 h-1 mr-xs',
2885
- XS: 'w-1 h-1 mr-xs',
2886
- };
2887
- const ListItem = JSX(({ className, isDotted = true, children, size = 'M' }) => (jsxs("div", { className: style('font-sans flex', className), role: "listitem", children: [isDotted ? (jsx("div", { className: "shrink-0", children: jsx("div", { className: style('align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white', DOT_SIZE_MAP[size]) }) })) : null, jsx("span", { children: children })] })));
2888
-
2889
- const TEXT_SIZE_MAP = {
2890
- XS: 'text-m font-light',
2891
- S: 'text-l font-light',
2892
- M: 'text-h6',
2893
- L: 'text-h5',
2894
- };
2895
- const ITEM_INDENT_MAP = {
2896
- XS: 'ml-2xs',
2897
- S: 'ml-xs',
2898
- M: 'ml-s',
2899
- L: 'ml-m',
2900
- };
2901
- const List = JSX(({ className, hasIndent, isDotted, items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: style('flex flex-col gap-xs text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text', TEXT_SIZE_MAP[listItemSize], hasIndent ? ITEM_INDENT_MAP[listItemSize] : '', className), role: "list", children: items.map((item, i) => (jsx(ListItem, { isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
2902
-
2903
- const CarouselProductCard = JSX(({ additionalDescription, align = AlignStyles, button = {}, className = '', description, headlineSmallVersion = 'H6', href, icon, isDotted = true, isButtonFullWidth = true, isImageFullWidth = false, isTopPosition = false, items = [], target, title, version = 'primary', ...rest }) => {
2904
- return (jsxs(BlockWrapper, { className: style('flex flex-col justify-between', className), defaultPadding: "p-0", version: version, ...rest, children: [jsxs(LinkWrapper, { className: "p-m flex flex-col gap-xs", href: href, target: target, children: [renderCardTitle(headlineSmallVersion, title, align), renderDescription$1(description, align), renderItems(items, isDotted, version), renderAdditionalDescription(additionalDescription, align), renderImage$2(icon, isImageFullWidth, isTopPosition)] }), renderButtonsSection([button], {
2905
- className: style('p-m pt-0', isButtonFullWidth ? '' : 'self-center'),
2906
- isVertical: isButtonFullWidth,
2907
- })] }));
2908
- });
2909
- const renderImage$2 = (image, isImageFullWidth, isTopPosition) => (jsxs("div", { className: style('flex gap-y-lg justify-center', isImageFullWidth ? 'min-w-full h-full' : '', isTopPosition ? 'order-first' : 'order-last'), children: [image?.src ? jsx(Img, { image: image }) : null, image?.icon ? (jsx(Img, { className: style(!isImageFullWidth ? 'w-8 h-8 min-w-8' : 'w-full h-full'), image: image })) : null] }));
2910
- const renderCardTitle = (headlineSmallVersion, title, align) => title ? (jsx(Text, { align: align, size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title })) : null;
2911
- const renderDescription$1 = (description, align) => description ? (jsx(Paragraph, { align: align, size: "text-l", children: description })) : null;
2912
- const renderAdditionalDescription = (additionalDescription, align) => additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", align: align, children: additionalDescription })) : null;
2913
- const renderItems = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: style('text-s', version === 'primary' ? '!text-secondary-text' : ''), items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, listItemSize: "S" })) : null;
2914
-
2915
2866
  const sum = (list = []) => list.reduce((a, b) => a + b, 0);
2916
2867
 
2917
2868
  const avg = (items = []) => (items?.length ? sum(items) / items.length : 0);
@@ -2953,6 +2904,28 @@
2953
2904
 
2954
2905
  const BenefitsList = JSX(({ isTabularBenefits, ...rest }) => isTabularBenefits ? jsx(TabularBenefitsList, { ...rest }) : jsx(DefaultBenefitsList, { ...rest }));
2955
2906
 
2907
+ const DOT_SIZE_MAP = {
2908
+ L: 'w-1.5 h-1.5 mr-m',
2909
+ M: 'w-1.5 h-1.5 mr-s',
2910
+ S: 'w-1 h-1 mr-xs',
2911
+ XS: 'w-1 h-1 mr-xs',
2912
+ };
2913
+ const ListItem = JSX(({ className, isDotted, children, size = 'M' }) => (jsxs("div", { className: style('font-sans flex', className), role: "listitem", children: [isDotted ? (jsx("div", { className: "shrink-0", children: jsx("div", { className: style('align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white', DOT_SIZE_MAP[size]) }) })) : null, jsx("span", { children: children })] })));
2914
+
2915
+ const TEXT_SIZE_MAP = {
2916
+ XS: 'text-m font-light',
2917
+ S: 'text-l font-light',
2918
+ M: 'text-h6',
2919
+ L: 'text-h5',
2920
+ };
2921
+ const ITEM_INDENT_MAP = {
2922
+ XS: 'ml-2xs',
2923
+ S: 'ml-xs',
2924
+ M: 'ml-s',
2925
+ L: 'ml-m',
2926
+ };
2927
+ const List = JSX(({ className, hasIndent, isDotted = true, items = [], listItemSize = 'M' }) => items?.length ? (jsx("section", { className: style('flex flex-col gap-xs text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text', TEXT_SIZE_MAP[listItemSize], hasIndent ? ITEM_INDENT_MAP[listItemSize] : '', className), role: "list", children: items.map((item, i) => (jsx(ListItem, { isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
2928
+
2956
2929
  const Tags = JSX(({ className, tags }) => tags?.length ? (jsx("div", { className: style('flex flex-wrap gap-xs', className), role: "list", children: tags.map(renderTag) })) : null);
2957
2930
  const renderTag = (tag, key) => (jsx("div", { className: "p-xs border-solid border rounded-md border-gray", role: "listitem", children: jsx(Text, { size: "text-m", font: "font-light", children: tag }) }, String(key)));
2958
2931
 
@@ -2966,6 +2939,13 @@
2966
2939
  const renderTags = (tags) => (tags?.length ? jsx(Tags, { tags: tags }) : null);
2967
2940
  const renderHeadline = ({ title, description, headlineVersion, align }) => title || description ? (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isEmbedded: true })) : null;
2968
2941
 
2942
+ const LinkWrapper = JSX(({ className = '', href, target, isRemote = false, children }) => {
2943
+ const link = useLink({ isRemote });
2944
+ const linkProps = link({ href, target });
2945
+ const Tag = href ? 'a' : 'div';
2946
+ return (jsx(Tag, { className: style('block', className), ...(href ? linkProps : {}), children: children }));
2947
+ });
2948
+
2969
2949
  const ICONS_MAP = [
2970
2950
  {
2971
2951
  origins: ['t.me', 'telegram.org'],
@@ -3017,12 +2997,12 @@
3017
2997
  ..._,
3018
2998
  ...buttonText,
3019
2999
  icon: { ...iconCustom, iconVersion: 'color' },
3020
- version,
3000
+ version: _?.version ?? version,
3021
3001
  };
3022
3002
  });
3023
3003
  const buttonClassName = style('border border-solid hover:border-transparent group-data-primary:border-main-divider border-main-divider group-data-gray:border-green group/media', showButtonText && hasText ? '' : 'basis-auto', stretched ? 'flex-1 justify-center' : '');
3024
3004
  return (jsxs("div", { className: style('flex flex-col gap-xs', className), children: [jsx("div", { className: "flex gap-xs", children: renderButtonsSection(buttons, {
3025
- className: stretched ? 'w-full' : '',
3005
+ className: style(stretched || hasText ? 'basis-full' : ''),
3026
3006
  buttonClassName,
3027
3007
  }) }), children ? (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: children })) : null] }));
3028
3008
  });
@@ -3030,11 +3010,10 @@
3030
3010
  const ImageAlwaysOnRight = true;
3031
3011
 
3032
3012
  //TODO: replace SocialMedia with renderButtonSection
3033
- const CarouselRecommendationCard = JSX(({ className, padding, description, href, icon, items = [], listItemSize = 'S', socialMedia = [], target, title, align = 'text-left', benefits, imageOptions: { directionRight = true, isImageAlwaysOnRight = ImageAlwaysOnRight, isImageSecondary = false, } = {}, ...rest }) => {
3034
- return (jsx(BlockWrapper, { className: style('relative min-h-28 group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, className: "h-full", children: jsxs(BaseTile, { className: "h-full", defaultPadding: "p-2xl", padding: padding, insetTitle: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "S", isEmbedded: true, align: align })) : null, ...leftOrRightImage(isIcon(icon) ? jsx(Img, { image: icon }) : null, directionRight), buttons: socialMedia.length ? (jsx(SocialMedia, { media: socialMedia, showButtonText: true, version: rest?.version })) : null, isImageAlwaysOnRight: isImageAlwaysOnRight, isImageSecondary: isImageSecondary, children: [jsx(BenefitsList, { benefits: benefits }), jsx(List, { items: items, listItemSize: listItemSize })] }) }) }));
3013
+ const CarouselRecommendationCard = JSX(({ className, padding, description, additionalDescription, href, icon, items = [], isDotted, listItemSize = 'S', socialMedia = [], target, title, align = 'text-left', benefits, imageOptions: { directionRight = true, isImageAlwaysOnRight = ImageAlwaysOnRight, isImageSecondary = false, } = {}, ...rest }) => {
3014
+ return (jsx(BlockWrapper, { className: style('relative min-h-28 group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, className: "h-full", children: jsxs(BaseTile, { className: "h-full", defaultPadding: "p-2xl", padding: padding, insetTitle: title ? (jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align })) : null, ...leftOrRightImage(isIcon(icon) ? jsx(Img, { image: icon }) : null, directionRight), buttons: socialMedia.length ? (jsx(SocialMedia, { media: socialMedia, showButtonText: true, version: rest?.version })) : null, isImageAlwaysOnRight: isImageAlwaysOnRight, isImageSecondary: isImageSecondary, imageAlign: "center", children: [jsx(BenefitsList, { benefits: benefits }), jsx(List, { items: items, listItemSize: listItemSize, isDotted: isDotted }), renderAdditionalDescription(additionalDescription, align)] }) }) }));
3035
3015
  });
3036
-
3037
- const CarouselRichTextCard = JSX(({ className = '', __html, richVersion = 'striped', ...rest }) => (jsx(BlockWrapper, { className: className, ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) })));
3016
+ const renderAdditionalDescription = (additionalDescription, align) => additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", align: align, children: additionalDescription })) : null;
3038
3017
 
3039
3018
  const Foldable = JSX(({ className = '', isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
3040
3019
  const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
@@ -3369,11 +3348,11 @@
3369
3348
  const DepositoryItem = ({ title, timestamp, publicId }) => {
3370
3349
  const link = useLink({ basePath: '/' });
3371
3350
  const { href } = link({ href: `/api/v1/depository/${publicId}/file` });
3372
- return (jsxs("div", { className: "grid grid-cols-12 py-lg border-gray border-opacity-50 border-b", children: [jsx("div", { className: "col-span-2 text-m", children: timestamp ? jsx(Text, { children: formatDate$1(timestamp) }) : null }), jsx("div", { className: "col-span-10 text-h6 hover:text-primary-active", children: jsx("a", { href: href, download: true, "aria-label": "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: title }) })] }, publicId));
3351
+ return (jsxs("div", { className: "grid grid-cols-12 py-lg border-gray border-opacity-50 border-b", children: [jsx("div", { className: "col-span-2 text-m", children: timestamp ? jsx(Text, { children: formatDate(timestamp) }) : null }), jsx("div", { className: "col-span-10 text-h6 hover:text-primary-active", children: jsx("a", { href: href, download: true, "aria-label": "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: title }) })] }, publicId));
3373
3352
  };
3374
3353
 
3375
3354
  const useDepository = ({ size, page, query, startDate, endDate }) => {
3376
- const { data } = useAsyncData(`/api/v1/depository?page=${page}&size=${size}&query=${query}&timestampStart=${startDate ? formatDate$1(startDate, true) : ''}&timestampEnd=${endDate ? formatDate$1(endDate, true) : ''}`, fetchJSONUnsafe);
3355
+ const { data } = useAsyncData(`/api/v1/depository?page=${page}&size=${size}&query=${query}&timestampStart=${startDate ? formatDate(startDate, true) : ''}&timestampEnd=${endDate ? formatDate(endDate, true) : ''}`, fetchJSONUnsafe);
3377
3356
  return { items: data?.content, totalPages: data?.totalPages };
3378
3357
  };
3379
3358
 
@@ -4196,9 +4175,7 @@
4196
4175
  const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', isTheme = false, isCardBorder, ...rest }) => (jsx(BlockWrapper, { className: style('relative', 'grid grid-cols-12', gapStyles[gap], className), defaultPadding: isPadding ? 'p-6xl' : '', version: version, isTheme: isTheme, ...rest, children: renderChildren({
4197
4176
  ...rest,
4198
4177
  extraProps: {
4199
- className: isCardBorder
4200
- ? 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider'
4201
- : '',
4178
+ className: getBorderStyle(isCardBorder),
4202
4179
  },
4203
4180
  }) })));
4204
4181
  HorizontalLayout.childrenTypes = {
@@ -4333,20 +4310,12 @@
4333
4310
  return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
4334
4311
  };
4335
4312
 
4336
- const LinkDocItem = JSX(({ icon, text, fileSize, ...linkProps }) => (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", role: "link", ...linkProps, children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, jsx(Text, { color: "text-secondary-text", children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] })));
4337
- const formatSuffix = (ext, fileSize) => {
4338
- const prefix = ext || fileSize ? ',' : '';
4339
- const extension = ext ? ` ${ext}` : '';
4340
- const size = fileSize ? ` (${fileSize})` : '';
4341
- return prefix + extension + size;
4342
- };
4343
- const getExtFromHref = (href) => {
4344
- if (!href) {
4345
- return '';
4346
- }
4347
- const index = href.lastIndexOf('.');
4348
- return index !== -1 ? href.substring(index + 1) : '';
4349
- };
4313
+ const LinkDocItem = JSX(({ icon, text, fileFormat, fileSize, ...linkProps }) => {
4314
+ const prefix = fileFormat || fileSize ? ',' : '';
4315
+ const size = fileSize ?? '';
4316
+ const format = fileFormat ? String(fileFormat) : '';
4317
+ return (jsxs("a", { className: "flex box-border gap-s group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", role: "link", ...linkProps, children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, jsx(Text, { color: "text-secondary-text", children: linkProps?.href && `${size} ${prefix} ${format}` })] })) : null] }));
4318
+ });
4350
4319
 
4351
4320
  const linkIconStyle = 'min-w-6 min-h-6';
4352
4321
 
@@ -4356,26 +4325,27 @@
4356
4325
  };
4357
4326
  const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
4358
4327
  const router = useRouter();
4359
- return (jsxs(BlockWrapper, { className: style('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? (jsx("div", { className: style('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, columnsMode, icon)) })) : null] }));
4328
+ return (jsxs(BlockWrapper, { className: style('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? (jsx("div", { className: style('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, icon)) })) : null] }));
4360
4329
  });
4361
- const renderLinkDocItem = (router, columnsMode, icon) => (docBlockDef, i) => {
4330
+ const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
4362
4331
  const href = docBlockDef?.docType === 'Attachment'
4363
4332
  ? adjustHref(router)(docBlockDef?.attachment?.src)
4364
4333
  : docBlockDef?.href;
4365
4334
  const fileSize = docBlockDef?.docType === 'Attachment'
4366
4335
  ? formatBytes(docBlockDef?.attachment?.fileSize || 0)
4367
4336
  : docBlockDef?.fileSize;
4368
- return (jsx("div", { role: "listitem", children: jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileSize: fileSize, icon: icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null }) }, String(i)));
4337
+ const fileFormat = docBlockDef?.docType !== 'Attachment' ? docBlockDef?.fileFormat : '';
4338
+ return (jsx("div", { role: "listitem", children: jsx(LinkDocItem, { text: docBlockDef?.text, target: docBlockDef?.target, href: href, fileFormat: fileFormat, fileSize: fileSize, icon: icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null }) }, String(i)));
4369
4339
  };
4370
4340
 
4371
- const renderList$1 = (items, listItemSize) => {
4372
- return items?.length ? (jsx(List, { items: items, listItemSize: listItemSize, className: "text-l font-light" })) : (jsx("span", { className: "text-m font-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
4341
+ const renderList$1 = (items, listItemSize, additionalDescription) => {
4342
+ return items?.length ? (jsx(List, { items: items, listItemSize: listItemSize, className: "text-l font-light" })) : (jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }));
4373
4343
  };
4374
4344
 
4375
- const MobileAppTile = JSX(({ className, padding, align = 'text-left', buttons = [], description, headingType = 'h4', image, items, listItemSize, qr, title = 'Мобильное приложение', version = 'primary', ...rest }) => {
4345
+ const MobileAppTile = JSX(({ className, padding, align = 'text-left', buttons = [], description, headingType = 'h4', image, items, listItemSize, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
4376
4346
  const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
4377
4347
  const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
4378
- return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: title ? (jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) })) : null, rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [renderList$1(items, listItemSize), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
4348
+ return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: title ? (jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) })) : null, rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [renderList$1(items, listItemSize, additionalDescription), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
4379
4349
  });
4380
4350
 
4381
4351
  const badgeBgStyleMap = {
@@ -4867,10 +4837,9 @@
4867
4837
  ev?.preventDefault();
4868
4838
  router.back();
4869
4839
  }, []);
4870
- const borderStyle = showBorder
4871
- ? 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider'
4872
- : '';
4873
- return (jsxs(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', borderStyle, className), defaultPadding: "p-6xl", padding: padding, ...rest, children: [backwardButton ? renderBackwardButton(rest.version || 'primary', handleClick) : null, jsx(BaseProductTile, { className: "grow h-full", ...rest })] }));
4840
+ return (jsxs(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', getBorderStyle(showBorder), className), defaultPadding: "p-6xl", padding: padding, ...rest, children: [backwardButton
4841
+ ? renderBackwardButton(!rest.version || rest.version === 'primary' ? 'primary' : 'white', handleClick)
4842
+ : null, jsx(BaseProductTile, { className: "grow h-full", ...rest })] }));
4874
4843
  });
4875
4844
 
4876
4845
  const ProductGallery = JSX(({ className = '', padding, slides = [], ...rest }) => {
@@ -4893,17 +4862,6 @@
4893
4862
 
4894
4863
  const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, isFullWidthTitle = true, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-4xl sm:p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isImageSecondary: true, ...imageOptions }, isFullWidthTitle: isFullWidthTitle, ...rest, children: additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
4895
4864
 
4896
- const PromoTile = JSX(({ className, title = 'Акции и спецпредложения', description, headlineVersion = 'S', date, buttons = [], ...rest }) => (jsx(BlockWrapper, { className: style('box-border', className), ...rest, children: jsxs(BaseTile, { className: "h-full", title: title ? (jsx(Headline, { title: title, headlineVersion: headlineVersion, align: "text-left", isEmbedded: true })) : null, buttons: renderButtonsSection(buttons), children: [date ? jsx("div", { className: "text-s mb-xs", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) })));
4897
- function formatDate(date) {
4898
- const dateObj = new Date(date);
4899
- const dateFormat = {
4900
- day: 'numeric',
4901
- month: 'long',
4902
- year: 'numeric',
4903
- };
4904
- return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
4905
- }
4906
-
4907
4865
  const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [isIcon(icon) ? (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: jsx(Img, { image: icon }) })) : null, title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock({
4908
4866
  label: 'Адрес',
4909
4867
  data: address,
@@ -5237,8 +5195,6 @@
5237
5195
  const COLS_LENGTH_FOR_SCROLL = 2;
5238
5196
  const COLUMN_WIDTH$1 = 4 * 80 + 40; // w-80 + pl-10 = 360px
5239
5197
 
5240
- const headlineAlign = 'text-center';
5241
-
5242
5198
  const TableInnerButton = JSX(({ className = '', isOpen, onClick }) => (jsx(Button, { className: className, appendRight: jsx(Img, { image: { icon: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon' }, width: "20", height: "20" }), text: isOpen ? 'Скрыть' : 'Показать', version: "gray", onClick: onClick })));
5243
5199
 
5244
5200
  const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
@@ -5401,7 +5357,7 @@
5401
5357
  });
5402
5358
  const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
5403
5359
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
5404
- return (jsxs(BlockWrapper, { className: style('overflow-hidden relative space-y-0 @4xl:space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: headlineAlign }), jsx("div", { className: "space-y-m", children: hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(TariffsTableWrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(TariffsTableWrapper, { controls: controls, children: rows })) })] }));
5360
+ return (jsxs(BlockWrapper, { className: style('overflow-hidden relative space-y-6xl @4xl:space-y-xl', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, headlineVersion: "M", isEmbedded: true, align: "text-center" }), jsx("div", { className: "space-y-m", children: hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(TariffsTableWrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(TariffsTableWrapper, { controls: controls, children: rows })) })] }));
5405
5361
  });
5406
5362
 
5407
5363
  const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => (jsxs(BlockWrapper, { className: style('flex gap-s sm:gap-m bg-white group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? renderIcon() : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "flex flex-col w-fit gap-2xs sm:gap-xs", children: [title ? (jsx(Text, { size: "text-l", font: "font-normal", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, items?.length ? renderList(items, true) : null, __html ? jsx(RichText, { __html: __html }) : null] })] })));
@@ -5413,9 +5369,14 @@
5413
5369
  return (jsx("ul", { className: style('text-secondary-text group-data-secondary:text-white/80', listStyle), children: items.map((_, i) => (jsx("li", { children: jsx(Text, { size: "text-s", font: "font-light", children: _ }) }, `listItem-${i}`))) }));
5414
5370
  };
5415
5371
 
5416
- const VerticalLayout = JSX(({ className = '', gap = '', isPadding = false, isInnerPadding = true, version = 'transparent', isTheme = false, ...rest }) => (jsx(BlockWrapper, { className: style('relative flex flex-col', gapStyles[gap], className), defaultPadding: isPadding ? 'p-6xl' : '', version: version, isTheme: isTheme, ...rest, children: renderChildren({
5372
+ const Tile = JSX(({ className, padding, headlineVersion = 'S', listItemSize = 'M', ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, listItemSize: listItemSize, isFullWidthTitle: false, ...rest }) })));
5373
+
5374
+ const VerticalLayout = JSX(({ className = '', gap = '', isPadding = false, isInnerPadding = true, version = 'transparent', isTheme = false, isInnerBorder = false, ...rest }) => (jsx(BlockWrapper, { className: style('relative flex flex-col', gapStyles[gap], className), defaultPadding: isPadding ? 'p-6xl' : '', version: version, isTheme: isTheme, ...rest, children: renderChildren({
5417
5375
  ...rest,
5418
- extraProps: { className: 'w-full', padding: isInnerPadding ? '' : 'p-0' },
5376
+ extraProps: {
5377
+ className: style('w-full', getBorderStyle(isInnerBorder)),
5378
+ padding: isInnerPadding ? '' : 'p-0',
5379
+ },
5419
5380
  }) })));
5420
5381
  VerticalLayout.childrenTypes = [];
5421
5382
 
@@ -5448,9 +5409,7 @@
5448
5409
  CarouselCatalogCard,
5449
5410
  CarouselInvestmentCard,
5450
5411
  CarouselLinks,
5451
- CarouselProductCard,
5452
5412
  CarouselRecommendationCard,
5453
- CarouselRichTextCard,
5454
5413
  CarouselTariffsCard,
5455
5414
  ComparisonTable,
5456
5415
  ContactsBlock,
@@ -5476,7 +5435,6 @@
5476
5435
  ProductBlock,
5477
5436
  ProductGallery,
5478
5437
  ProductTile,
5479
- PromoTile,
5480
5438
  RepresentativeOfficeInfo,
5481
5439
  RichTextBlock,
5482
5440
  RollupItem,
@@ -5487,6 +5445,7 @@
5487
5445
  Tabs,
5488
5446
  TariffsTable,
5489
5447
  TextBlock,
5448
+ Tile,
5490
5449
  VerticalLayout,
5491
5450
  Video,
5492
5451
  };
@@ -5726,7 +5685,7 @@
5726
5685
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
5727
5686
  }
5728
5687
 
5729
- const packageVersion = "0.14.27";
5688
+ const packageVersion = "0.14.29";
5730
5689
 
5731
5690
  exports.Blocks = Blocks;
5732
5691
  exports.ContentPage = ContentPage;