@redneckz/wildless-cms-uni-blocks 0.3.4 → 0.3.7

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 (394) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +51 -36
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/utils/isActiveHandler.js +1 -1
  5. package/dist/components/Accordion/utils/isActiveHandler.js.map +1 -1
  6. package/dist/components/BaseTile/BaseTile.js +1 -1
  7. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  8. package/dist/components/Blocks.d.ts +0 -1
  9. package/dist/components/Blocks.js +0 -2
  10. package/dist/components/Blocks.js.map +1 -1
  11. package/dist/components/Blocks.mobile.d.ts +4 -2
  12. package/dist/components/Blocks.mobile.js +7 -3
  13. package/dist/components/Blocks.mobile.js.map +1 -1
  14. package/dist/components/ContentPage/ContentPage.js +2 -2
  15. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  16. package/dist/components/ContentPage/ContentPageHead.js +4 -2
  17. package/dist/components/ContentPage/ContentPageHead.js.map +1 -1
  18. package/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -2
  19. package/dist/components/ContentPage/isBlockInRegistry.js +2 -2
  20. package/dist/components/ContentPage/isBlockInRegistry.js.map +1 -1
  21. package/dist/components/ContentPage/normalizeBlock.d.ts +1 -1
  22. package/dist/components/ContentPage/normalizePage.js +1 -1
  23. package/dist/components/ContentPage/normalizePage.js.map +1 -1
  24. package/dist/components/ContentPage/normalizePage.mobile.js +1 -1
  25. package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -1
  26. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  27. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  28. package/dist/components/Gallery/GalleryCardInner.js +15 -5
  29. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  30. package/dist/components/Header/Header.mobile.js +1 -1
  31. package/dist/components/Header/Header.mobile.js.map +1 -1
  32. package/dist/components/Header/HeaderBurger.js +1 -1
  33. package/dist/components/Header/HeaderBurger.js.map +1 -1
  34. package/dist/components/Header/HeaderTop.js +1 -1
  35. package/dist/components/Header/HeaderTop.js.map +1 -1
  36. package/dist/components/Headline/HeadlineContent.d.ts +1 -1
  37. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  38. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  39. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +1 -1
  40. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -1
  41. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  42. package/dist/components/Placeholder/Placeholder.js +8 -3
  43. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  44. package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
  45. package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  46. package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
  47. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  48. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +4 -1
  49. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  50. package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
  51. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  52. package/dist/components/ProductGallery/ProductGallery.mobile.js +3 -14
  53. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  54. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +1 -1
  55. package/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
  56. package/dist/components/PromoTile/PromoTileContent.d.ts +1 -1
  57. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  58. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  59. package/dist/components/Tile/Tile.js +5 -1
  60. package/dist/components/Tile/Tile.js.map +1 -1
  61. package/dist/components/Tile/TileContent.d.ts +1 -1
  62. package/dist/types.d.ts +8 -2
  63. package/dist/ui-kit/BlockItem/BlockItem.js +3 -3
  64. package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  65. package/dist/ui-kit/Description/Description.d.ts +4 -1
  66. package/dist/ui-kit/Description/Description.js +1 -1
  67. package/dist/ui-kit/Description/Description.js.map +1 -1
  68. package/{lib/ui-kit/Description/DescriptionProps.d.ts → dist/ui-kit/Description/DescriptionContent.d.ts} +0 -3
  69. package/dist/ui-kit/Description/{DescriptionProps.js → DescriptionContent.js} +1 -1
  70. package/dist/ui-kit/Description/DescriptionContent.js.map +1 -0
  71. package/dist/ui-kit/Heading/Heading.js +1 -1
  72. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  73. package/dist/ui-kit/Heading/Heading.mobile.js +1 -1
  74. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  75. package/dist/ui-kit/List/ListItem.js +2 -2
  76. package/dist/ui-kit/List/ListItem.js.map +1 -1
  77. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  78. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  79. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +1 -1
  80. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -1
  81. package/lib/common.css +1 -1
  82. package/lib/components/Accordion/utils/isActiveHandler.js +1 -1
  83. package/lib/components/Accordion/utils/isActiveHandler.js.map +1 -1
  84. package/lib/components/BaseTile/BaseTile.js +1 -1
  85. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  86. package/lib/components/Blocks.d.ts +0 -1
  87. package/lib/components/Blocks.js +0 -2
  88. package/lib/components/Blocks.js.map +1 -1
  89. package/lib/components/Blocks.mobile.d.ts +4 -2
  90. package/lib/components/Blocks.mobile.js +7 -3
  91. package/lib/components/Blocks.mobile.js.map +1 -1
  92. package/lib/components/ContentPage/ContentPage.js +2 -2
  93. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  94. package/lib/components/ContentPage/ContentPageHead.js +4 -2
  95. package/lib/components/ContentPage/ContentPageHead.js.map +1 -1
  96. package/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -2
  97. package/lib/components/ContentPage/isBlockInRegistry.js +2 -2
  98. package/lib/components/ContentPage/isBlockInRegistry.js.map +1 -1
  99. package/lib/components/ContentPage/normalizeBlock.d.ts +1 -1
  100. package/lib/components/ContentPage/normalizePage.js +1 -1
  101. package/lib/components/ContentPage/normalizePage.js.map +1 -1
  102. package/lib/components/ContentPage/normalizePage.mobile.js +1 -1
  103. package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -1
  104. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  105. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  106. package/lib/components/Gallery/GalleryCardInner.js +15 -5
  107. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  108. package/lib/components/Header/Header.mobile.js +1 -1
  109. package/lib/components/Header/Header.mobile.js.map +1 -1
  110. package/lib/components/Header/HeaderBurger.js +1 -1
  111. package/lib/components/Header/HeaderBurger.js.map +1 -1
  112. package/lib/components/Header/HeaderTop.js +1 -1
  113. package/lib/components/Header/HeaderTop.js.map +1 -1
  114. package/lib/components/Headline/HeadlineContent.d.ts +1 -1
  115. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  116. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  117. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +1 -1
  118. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -1
  119. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  120. package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +2 -0
  121. package/lib/components/Placeholder/Placeholder.js +9 -4
  122. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  123. package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
  124. package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  125. package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
  126. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  127. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +4 -1
  128. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  129. package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
  130. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  131. package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +1 -0
  132. package/lib/components/ProductGallery/ProductGallery.mobile.js +4 -15
  133. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  134. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +1 -1
  135. package/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
  136. package/lib/components/PromoTile/PromoTileContent.d.ts +1 -1
  137. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  138. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  139. package/lib/components/Tile/Tile.js +5 -1
  140. package/lib/components/Tile/Tile.js.map +1 -1
  141. package/lib/components/Tile/TileContent.d.ts +1 -1
  142. package/lib/types.d.ts +8 -2
  143. package/lib/ui-kit/BlockItem/BlockItem.js +3 -3
  144. package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  145. package/lib/ui-kit/Description/Description.d.ts +4 -1
  146. package/lib/ui-kit/Description/Description.js +1 -1
  147. package/lib/ui-kit/Description/Description.js.map +1 -1
  148. package/{mobile/dist/ui-kit/Description/DescriptionProps.d.ts → lib/ui-kit/Description/DescriptionContent.d.ts} +0 -3
  149. package/lib/ui-kit/Description/DescriptionContent.js +2 -0
  150. package/lib/ui-kit/Description/DescriptionContent.js.map +1 -0
  151. package/lib/ui-kit/Heading/Heading.js +1 -1
  152. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  153. package/lib/ui-kit/Heading/Heading.mobile.js +1 -1
  154. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  155. package/lib/ui-kit/List/ListItem.js +2 -2
  156. package/lib/ui-kit/List/ListItem.js.map +1 -1
  157. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  158. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  159. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +1 -1
  160. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -1
  161. package/mobile/bundle/bundle.umd.js +262 -253
  162. package/mobile/bundle/bundle.umd.min.js +1 -1
  163. package/mobile/dist/components/Accordion/utils/isActiveHandler.js +1 -1
  164. package/mobile/dist/components/Accordion/utils/isActiveHandler.js.map +1 -1
  165. package/mobile/dist/components/BaseTile/BaseTile.js +1 -1
  166. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  167. package/mobile/dist/components/Blocks.d.ts +4 -2
  168. package/mobile/dist/components/Blocks.js +7 -3
  169. package/mobile/dist/components/Blocks.js.map +1 -1
  170. package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
  171. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  172. package/mobile/dist/components/ContentPage/ContentPageHead.js +4 -2
  173. package/mobile/dist/components/ContentPage/ContentPageHead.js.map +1 -1
  174. package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -2
  175. package/mobile/dist/components/ContentPage/isBlockInRegistry.js +2 -2
  176. package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +1 -1
  177. package/mobile/dist/components/ContentPage/normalizePage.js +1 -1
  178. package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
  179. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  180. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  181. package/mobile/dist/components/Gallery/GalleryCardInner.js +15 -5
  182. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  183. package/mobile/dist/components/Header/Header.js +1 -1
  184. package/mobile/dist/components/Header/Header.js.map +1 -1
  185. package/mobile/dist/components/Header/HeaderBurger.js +1 -1
  186. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  187. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  188. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  189. package/mobile/dist/components/Headline/HeadlineContent.d.ts +1 -1
  190. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  191. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  192. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  193. package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
  194. package/mobile/dist/components/Placeholder/Placeholder.js +8 -3
  195. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  196. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
  197. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  198. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +4 -1
  199. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  200. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  201. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  202. package/mobile/dist/components/ProductGallery/ProductGallery.js +3 -14
  203. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  204. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  205. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
  206. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +1 -1
  207. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  208. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  209. package/mobile/dist/components/Tile/Tile.js +5 -1
  210. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  211. package/mobile/dist/components/Tile/TileContent.d.ts +1 -1
  212. package/mobile/dist/types.d.ts +8 -2
  213. package/mobile/dist/ui-kit/BlockItem/BlockItem.js +3 -3
  214. package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  215. package/mobile/dist/ui-kit/Description/Description.d.ts +4 -1
  216. package/mobile/dist/ui-kit/Description/Description.js +1 -1
  217. package/mobile/dist/ui-kit/Description/Description.js.map +1 -1
  218. package/mobile/{lib/ui-kit/Description/DescriptionProps.d.ts → dist/ui-kit/Description/DescriptionContent.d.ts} +0 -3
  219. package/mobile/dist/ui-kit/Description/{DescriptionProps.js → DescriptionContent.js} +1 -1
  220. package/mobile/dist/ui-kit/Description/DescriptionContent.js.map +1 -0
  221. package/mobile/dist/ui-kit/Heading/Heading.js +1 -1
  222. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  223. package/mobile/dist/ui-kit/List/ListItem.js +2 -2
  224. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  225. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  226. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  227. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +1 -1
  228. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -1
  229. package/mobile/lib/components/Accordion/utils/isActiveHandler.js +1 -1
  230. package/mobile/lib/components/Accordion/utils/isActiveHandler.js.map +1 -1
  231. package/mobile/lib/components/BaseTile/BaseTile.js +1 -1
  232. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  233. package/mobile/lib/components/Blocks.d.ts +4 -2
  234. package/mobile/lib/components/Blocks.js +7 -3
  235. package/mobile/lib/components/Blocks.js.map +1 -1
  236. package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
  237. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  238. package/mobile/lib/components/ContentPage/ContentPageHead.js +4 -2
  239. package/mobile/lib/components/ContentPage/ContentPageHead.js.map +1 -1
  240. package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -2
  241. package/mobile/lib/components/ContentPage/isBlockInRegistry.js +2 -2
  242. package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +1 -1
  243. package/mobile/lib/components/ContentPage/normalizePage.js +1 -1
  244. package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
  245. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  246. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  247. package/mobile/lib/components/Gallery/GalleryCardInner.js +15 -5
  248. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  249. package/mobile/lib/components/Header/Header.js +1 -1
  250. package/mobile/lib/components/Header/Header.js.map +1 -1
  251. package/mobile/lib/components/Header/HeaderBurger.js +1 -1
  252. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  253. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  254. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  255. package/mobile/lib/components/Headline/HeadlineContent.d.ts +1 -1
  256. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  257. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  258. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
  259. package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
  260. package/mobile/lib/components/Placeholder/Placeholder.js +9 -4
  261. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  262. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
  263. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
  264. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +4 -1
  265. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  266. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  267. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  268. package/mobile/lib/components/ProductGallery/ProductGallery.js +4 -15
  269. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  270. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  271. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
  272. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +1 -1
  273. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  274. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  275. package/mobile/lib/components/Tile/Tile.js +5 -1
  276. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  277. package/mobile/lib/components/Tile/TileContent.d.ts +1 -1
  278. package/mobile/lib/types.d.ts +8 -2
  279. package/mobile/lib/ui-kit/BlockItem/BlockItem.js +3 -3
  280. package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  281. package/mobile/lib/ui-kit/Description/Description.d.ts +4 -1
  282. package/mobile/lib/ui-kit/Description/Description.js +1 -1
  283. package/mobile/lib/ui-kit/Description/Description.js.map +1 -1
  284. package/{dist/ui-kit/Description/DescriptionProps.d.ts → mobile/lib/ui-kit/Description/DescriptionContent.d.ts} +0 -3
  285. package/mobile/lib/ui-kit/Description/DescriptionContent.js +2 -0
  286. package/mobile/lib/ui-kit/Description/DescriptionContent.js.map +1 -0
  287. package/mobile/lib/ui-kit/Heading/Heading.js +1 -1
  288. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  289. package/mobile/lib/ui-kit/List/ListItem.js +2 -2
  290. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  291. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
  292. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
  293. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +1 -1
  294. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -1
  295. package/mobile/src/components/Accordion/utils/isActiveHandler.ts +1 -2
  296. package/mobile/src/components/BaseTile/BaseTile.tsx +2 -2
  297. package/mobile/src/components/Blocks.ts +7 -3
  298. package/mobile/src/components/ContentPage/ContentPage.page.json +54 -47
  299. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -2
  300. package/mobile/src/components/ContentPage/ContentPageHead.tsx +14 -1
  301. package/mobile/src/components/ContentPage/isBlockInRegistry.ts +2 -4
  302. package/mobile/src/components/ContentPage/normalizePage.ts +4 -1
  303. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  304. package/mobile/src/components/Gallery/GalleryCardInner.tsx +23 -15
  305. package/mobile/src/components/Header/Header.tsx +1 -1
  306. package/mobile/src/components/Header/HeaderBurger.tsx +2 -2
  307. package/mobile/src/components/Header/HeaderTop.tsx +6 -2
  308. package/mobile/src/components/Headline/HeadlineContent.ts +1 -1
  309. package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  310. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
  311. package/mobile/src/components/Placeholder/Placeholder.tsx +36 -14
  312. package/mobile/src/components/Placeholder/PlaceholderContent.ts +2 -1
  313. package/mobile/src/components/ProductBlock/ProductBlock.example.json +2 -1
  314. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +1 -1
  315. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +17 -11
  316. package/mobile/src/components/ProductBlock/renderBenefit.tsx +2 -2
  317. package/mobile/src/components/ProductGallery/ProductGallery.tsx +12 -49
  318. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +1 -1
  319. package/mobile/src/components/ProductTile/ProductTileContent.ts +1 -1
  320. package/mobile/src/components/PromoTile/PromoTileContent.ts +1 -1
  321. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
  322. package/mobile/src/components/Tile/Tile.tsx +7 -4
  323. package/mobile/src/components/Tile/TileContent.ts +1 -1
  324. package/mobile/src/types.ts +9 -2
  325. package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +4 -4
  326. package/mobile/src/ui-kit/Description/Description.tsx +6 -2
  327. package/mobile/src/ui-kit/Description/{DescriptionProps.ts → DescriptionContent.ts} +0 -4
  328. package/mobile/src/ui-kit/Heading/Heading.tsx +1 -1
  329. package/mobile/src/ui-kit/List/ListItem.tsx +3 -3
  330. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  331. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +5 -1
  332. package/package.json +1 -1
  333. package/src/components/Accordion/utils/isActiveHandler.ts +1 -2
  334. package/src/components/BaseTile/BaseTile.tsx +2 -2
  335. package/src/components/Blocks.mobile.ts +7 -3
  336. package/src/components/Blocks.ts +0 -2
  337. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +0 -1
  338. package/src/components/ContentPage/ContentPage.page.json +54 -47
  339. package/src/components/ContentPage/ContentPage.tsx +2 -2
  340. package/src/components/ContentPage/ContentPageHead.tsx +14 -1
  341. package/src/components/ContentPage/isBlockInRegistry.ts +2 -4
  342. package/src/components/ContentPage/normalizePage.mobile.ts +4 -1
  343. package/src/components/ContentPage/normalizePage.ts +1 -1
  344. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  345. package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
  346. package/src/components/Gallery/GalleryCardInner.tsx +23 -15
  347. package/src/components/Header/Header.mobile.tsx +1 -1
  348. package/src/components/Header/HeaderBurger.tsx +2 -2
  349. package/src/components/Header/HeaderTop.tsx +6 -2
  350. package/src/components/Headline/HeadlineContent.ts +1 -1
  351. package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +1 -1
  352. package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  353. package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
  354. package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +9 -0
  355. package/src/components/Placeholder/Placeholder.tsx +35 -8
  356. package/src/components/Placeholder/PlaceholderContent.ts +2 -1
  357. package/src/components/ProductBlock/ProductBlock.example.json +2 -1
  358. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +8 -2
  359. package/src/components/ProductBlock/ProductBlockContent.ts +1 -1
  360. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +17 -11
  361. package/src/components/ProductBlock/ProductBlockInner.tsx +2 -2
  362. package/src/components/ProductBlock/renderBenefit.mobile.tsx +2 -2
  363. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +106 -0
  364. package/src/components/ProductGallery/ProductGallery.fixture.tsx +2 -2
  365. package/src/components/ProductGallery/ProductGallery.mobile.tsx +12 -49
  366. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +1 -1
  367. package/src/components/ProductTile/ProductTileContent.ts +1 -1
  368. package/src/components/PromoTile/PromoTileContent.ts +1 -1
  369. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
  370. package/src/components/Tile/Tile.tsx +7 -4
  371. package/src/components/Tile/TileContent.ts +1 -1
  372. package/src/types.ts +9 -2
  373. package/src/ui-kit/BlockItem/BlockItem.tsx +4 -4
  374. package/src/ui-kit/Description/Description.tsx +6 -2
  375. package/src/ui-kit/Description/{DescriptionProps.ts → DescriptionContent.ts} +0 -4
  376. package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +0 -1
  377. package/src/ui-kit/Heading/Heading.mobile.tsx +1 -1
  378. package/src/ui-kit/Heading/Heading.tsx +3 -1
  379. package/src/ui-kit/List/ListItem.tsx +3 -3
  380. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  381. package/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +5 -1
  382. package/dist/components/Placeholder/Placeholder.mobile.d.ts +0 -6
  383. package/dist/components/Placeholder/Placeholder.mobile.js +0 -15
  384. package/dist/components/Placeholder/Placeholder.mobile.js.map +0 -1
  385. package/dist/ui-kit/Description/DescriptionProps.js.map +0 -1
  386. package/lib/components/Placeholder/Placeholder.mobile.d.ts +0 -6
  387. package/lib/components/Placeholder/Placeholder.mobile.js +0 -13
  388. package/lib/components/Placeholder/Placeholder.mobile.js.map +0 -1
  389. package/lib/ui-kit/Description/DescriptionProps.js +0 -2
  390. package/lib/ui-kit/Description/DescriptionProps.js.map +0 -1
  391. package/mobile/dist/ui-kit/Description/DescriptionProps.js.map +0 -1
  392. package/mobile/lib/ui-kit/Description/DescriptionProps.js +0 -2
  393. package/mobile/lib/ui-kit/Description/DescriptionProps.js.map +0 -1
  394. package/src/components/Placeholder/Placeholder.mobile.tsx +0 -35
@@ -1 +1 @@
1
- {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"GalleryItem":{"type":"object","properties":{"title":{"type":"string"},"text":{"type":"string"}}},"GalleryCard":{"type":"object","properties":{"button":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"$ref":"#/definitions/GalleryItem"},"title":"Список"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Карточка"},"Picture":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"sources":{"type":"array","items":{"$ref":"#/definitions/ImgSource"},"title":"Другие форматы"},"className":{"type":"string"},"title":{"type":"string","title":"Текст подсказки (title)"}},"required":["src"],"title":"Изображение"},"Img":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"title":{"type":"string","title":"Текст подсказки (title)"}},"required":["src"]},"ImgSource":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"}},"required":["src"]},"ButtonWithIconProps":{"type":"object","properties":{"rounded":{"type":"boolean","title":"Закругленные углы"},"version":{"$ref":"#/definitions/ButtonVersion"},"aboveText":{"type":"string","title":"Верхний текст"},"icon":{"$ref":"#/definitions/IconName","title":"Иконка"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"ButtonProps":{"type":"object","properties":{"version":{"$ref":"#/definitions/ButtonVersion"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"LinkProps":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"Target":{"type":"string","enum":["","_self","_blank","_parent","_top"],"title":"Таргет (target)","enumNames":["","self (текущее окно или фрейм)","blank (новое окно)","parent (фрейм-родитель)","top (текущее окно)"]},"ButtonVersion":{"type":"string","enum":["primary","secondary","link"],"title":"Цвет кнопки","default":"primary","enumNames":["Основная","Второстепенная"]},"IconName":{"type":"string","enum":["","ActualBalanceIcon","AppleIcon","AtmIcon","BankIcon","BurgerIcon","BurgerIconWhite","Calendar2Icon","CalendarCircleIcon","CalendarIcon","CalendarTickIcon","CalendarWhiteIcon","CardIcon","CardPosIcon","CardTickIcon","CardWithGemIcon","ChartSquareIcon","ClockIcon","CloseIcon","ComfortableCompIcon","CreditCardsIcon","DiscountShapeIcon","DocIcon","DocIconMonoColor","DocumentTextIcon","DollarIcon","EarthIcon","EmptyWalletChangeIcon","EmptyWalletIcon","EmptyWalletWhiteIcon","EuroIcon","GeolocationIcon","GlassIcon","GlobalIcon","GridIcon","GridIconWhite","InterestGrowthIcon","InterestIcon","JCBIcon","LoupeIcon","MasterCardIcon","MinusIcon","MirIcon","MoneyIcon","MoneyInsuranceIcon","MonitorMobileIcon","NewDocIcon","OfficeIcon","OkIcon","PassSendIcon","PercentageRoundIcon","PercentageSquareIcon","PercentageSquareWhiteIcon","PersonalCardIcon","PlayMarketIcon","PlusIcon","Profile2UserIcon","ProfileIcon","RoundRubleIcon","SafeIcon","ShieldTickIcon","SignDocsIcon","SmallClockIcon","TelegramIcon","UnionPayIcon","UserTickIcon","VisaIcon","VKIcon","WalletAdd2Icon","WalletAddIcon","WalletIcon","WalletWithMoneyIcon"],"title":"Иконка","enumNames":["","Деньги","Лого «Apple»","Банкомат","Банк","Бургер","Бургер (белый)","Календарь 2","Скруглённый календарь","Календарь","Календарь с галочкой","Календарь белый","Кред. карта","Кред. карта под наклоном","Кред. карта с галочкой","Карта с драгоценностями","Деньги внутри кошелька","Часы","Крестик","Кресло","Кредитные карты","Скидка","Документ","Документ (одноцветный)","Документ с текстом","Доллар","Земля","Пустой кошелёк с возвратом","Пустой кошелёк","Пустой кошелёк (белый)","Евро","Геолокация","Зеркало","Глобус","Сетка","Сетка (белая)","Диаграмма роста","Скидка","JCB","Лупа","MasterCard","Минус","МИР","Деньги","Денежное страхование","Монитор и мобильный","Новый документ","Офис","Лого «Одноклассники»","Бизнес","Проценты (круг.)","Проценты","Проценты белые","Персональная карта","Лого «PlayMarket»","Плюс","Профиль, 2 персоны","Профиль","Рубль (круг.)","Сейф","Безопасность","Подписанные документы","Маленькие часы","Лого «Telegram»","UnionPay","Пользователь","Visa","Лого «VK»","Пополнение карты","Кошелёк с плюсом","Кошелёк","Кошелёк с деньгами"]},"BlockVersion":{"type":"string","enum":["primary","secondary"],"title":"Цвет плитки","enumNames":["Основная","Второстепенная"]},"GalleryContent":{"type":"object","properties":{"isScroll":{"type":"boolean"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":4}},"title":"Галерея"},"HeadingType":{"type":"string","enum":["h1","h2","h3","h4","h5","h6"],"title":"Тип заголовка","enumNames":["h1","h2","h3","h4","h5","h6"]},"HeadingTypeContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"}}},"HeadingContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}}},"HeadlineContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"bgColor":{"$ref":"#/definitions/BgColorVersion"}},"title":"Заголовок"},"DescriptionContent":{"type":"object","properties":{"description":{"type":"string","title":"Описание"}}},"ImageContent":{"type":"object","properties":{"image":{"$ref":"#/definitions/Picture"}}},"AlignType":{"type":"string","enum":["left","center","right"],"title":"Выравнивание","enumNames":["По левому краю","По центру","По правому краю"]},"BgColorVersion":{"type":"string","enum":["transparent","bg-white"],"title":"Цвет фона","enumNames":["Прозрачный","Белый"]},"LinkColumnsMode":{"type":"string","enum":["single","double"],"title":"Отображение списка","enumNames":["Одна колонка","Две колонки"]},"LinkListMode":{"type":"string","enum":["vertical","horizontal"],"title":"Отображение списка (моб.)","enumNames":["Вертикально","Горизонтально"]},"LinkDocsItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"fileSize":{"type":"string","title":"размер файла"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Элемент списка"},"LinkDocsContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"},"align":{"$ref":"#/definitions/AlignType"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"listMode":{"$ref":"#/definitions/LinkListMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/IconName","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"title":"Список документов"},"MiniGalleryContent":{"$ref":"#/definitions/GalleryContent","title":"Мини-галерея"},"TextBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"}}},"Benefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Преимущество"},"BenefitsBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ","maxItems":6}},"title":"Блок преимущества"},"TitleWithImageContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"}}},"PictureTextContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"}},"title":"Картинка с текстом"},"ProductTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовая плитка"},"ButtonContent":{"type":"object","properties":{"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4}}},"TextBlockVersion":{"type":"string","enum":["primary","secondary","secondary-light"],"title":"Цвет плитки","enumNames":["Основная","Второстепенная","Второстепенная прозрачная"]},"TextBlockIconVersion":{"type":"string","enum":["none","small","big"],"title":"Размер иконки","enumNames":["Нет","Маленькая","Большая"]},"TextBlockContent":{"type":"object","properties":{"isDotted":{"type":"boolean","title":"Маркеры списка (моб.)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"title":"Текстовый блок"},"ListContent":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"title":"Список"}}},"TileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Плитка"},"AccordionBlockType":{"type":"string","enum":["Headline","LinkDocs","TextBlock","PictureText","Tile","ProductTile","Gallery","MiniGallery"],"title":"Тип блока"},"HeadlineAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"bgColor":{"$ref":"#/definitions/BgColorVersion"}},"required":["accordionBlockType"],"title":"Заголовок"},"LinkDocsAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"},"align":{"$ref":"#/definitions/AlignType"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"listMode":{"$ref":"#/definitions/LinkListMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/IconName","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"required":["accordionBlockType"],"title":"Список документов"},"TextBlockAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"isDotted":{"type":"boolean","title":"Маркеры списка (моб.)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"required":["accordionBlockType"],"title":"Текстовый блок"},"PictureTextAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"}},"required":["accordionBlockType"],"title":"Картинка с текстом"},"TileAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["accordionBlockType"],"title":"Плитка"},"ProductTileAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["accordionBlockType"],"title":"Продуктовая плитка"},"GalleryAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"isScroll":{"type":"boolean"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":4}},"required":["accordionBlockType"],"title":"Галлерея"},"MiniGalleryAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"isScroll":{"type":"boolean"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":4}},"required":["accordionBlockType"],"title":"Мини-галлерея"},"EmptyOption":{"type":"null","title":"Выберите блок"},"AccordionBlockProps":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/HeadlineAccordionBlockDef"},{"$ref":"#/definitions/LinkDocsAccordionBlockDef"},{"$ref":"#/definitions/TextBlockAccordionBlockDef"},{"$ref":"#/definitions/PictureTextAccordionBlockDef"},{"$ref":"#/definitions/TileAccordionBlockDef"},{"$ref":"#/definitions/ProductTileAccordionBlockDef"},{"$ref":"#/definitions/GalleryAccordionBlockDef"},{"$ref":"#/definitions/MiniGalleryAccordionBlockDef"}],"title":"Содержимое аккордеона"},"AccordionItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"blocks":{"type":"array","items":{"$ref":"#/definitions/AccordionBlockProps"},"title":"Блоки"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку элемента","default":false}},"title":"Элемент списка"},"AccordionContent":{"type":"object","properties":{"bordered":{"type":"boolean","title":"Отображать/скрывать обводку у элемента списка","default":false},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Подзаголовок"},"accordionItems":{"type":"array","items":{"$ref":"#/definitions/AccordionItemCommonProps"},"title":"Список"}},"title":"Аккордеон"},"CellData":{"type":"object","properties":{"label":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"title":"Ячейка"},"ColumnHeader":{"type":"object","properties":{"link":{"$ref":"#/definitions/LinkProps"},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Шапка колонки"},"Column":{"type":"object","properties":{"header":{"$ref":"#/definitions/ColumnHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/CellData"}},"title":"Данные"}},"title":"Продукт"},"RowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}},"title":"Параметр"},"ComparisonTableContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/RowHeader"},"title":"Параметры"},"columns":{"type":"array","items":{"$ref":"#/definitions/Column"},"title":"Продукты"},"isColoredFirstColumn":{"type":"boolean","title":"Закрасить первую колонку"},"visibleRowLength":{"type":"number","title":"Отображать заданное количество строк"}},"title":"Сравнительная таблица"},"ExchangeRateTileContent":{"$ref":"#/definitions/HeadingContent","title":"Курсы валют"},"ContactType":{"type":"string","enum":["tel","email"],"title":"Тип контакта","enumNames":["Телефон","Почта"]},"ContactInfo":{"type":"object","properties":{"type":{"$ref":"#/definitions/ContactType"},"description":{"type":"string","title":"Описание"},"text":{"type":"string","title":"Текст"}},"title":"Контакт"},"SocialMedia":{"type":"object","properties":{"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"required":["href"]},"SubMenuItem":{"type":"object","properties":{"icon":{"$ref":"#/definitions/IconName"},"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Пункт подменю"},"FooterContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Дополнительное меню"},"relatedEnterprises":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Другие предприятия"},"contacts":{"type":"array","items":{"$ref":"#/definitions/ContactInfo"},"title":"Контакты"},"socialMedia":{"type":"array","items":{"$ref":"#/definitions/SocialMedia"},"title":"Социальные сети"},"horizontalNavigationTitle":{"type":"string","title":"Заголовок для меню"},"subMenu":{"type":"array","items":{"$ref":"#/definitions/SubMenuItem"},"title":"Подменю"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Обязательные документы"}},"title":"Подвал","required":["topItems"]},"SitemapProps":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Дополнительное меню"}}},"TopMenuItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"HeaderContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Дополнительное меню"},"defaultLocation":{"type":"string","title":"Город по-умолчанию","default":"Москва"},"burgerSubMenu":{"type":"array","items":{"$ref":"#/definitions/SubMenuItem"},"title":"Подменю"}},"title":"Шапка","required":["defaultLocation","topItems"]},"QRCode":{"type":"object","properties":{"src":{"type":"string","title":"QR код"},"href":{"type":"string","title":"Ссылка"}},"title":"QR код"},"MobileAppTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"qr":{"$ref":"#/definitions/QRCode"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"href":{"type":"string","title":"Ссылка"}},"title":"Мобильное приложение"},"NavigationContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonProps"},"title":"Список ссылок"}},"title":"Навигация"},"ProductBlockInnerContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}}},"ProductBlockContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовый блок"},"ProductSlide":{"type":"object","properties":{"nav":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"desc":{"type":"string","title":"Описание"}},"required":["title","desc"],"title":"Превью содержимого слайда на навигации"},"productBlock":{"$ref":"#/definitions/ProductBlockInnerContent","title":"Содержимое слайда"}},"required":["productBlock"],"title":"Слайд"},"ProductGalleryContent":{"type":"object","properties":{"slides":{"type":"array","items":{"$ref":"#/definitions/ProductSlide"},"title":"Слайды"}},"title":"Продуктовая галерея"},"PromoTileContent":{"type":"object","properties":{"date":{"type":"string","title":"Дата публикации"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Акции"},"Step":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Шаг"},"StepsBlockContent":{"type":"object","properties":{"showLines":{"type":"boolean","title":"Линии"},"size":{"$ref":"#/definitions/SizeVersion"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"steps":{"type":"array","items":{"$ref":"#/definitions/Step"},"title":"Шаги","minItems":2,"maxItems":3}},"title":"Блок шаги"},"SizeVersion":{"type":"string","enum":["normal","small"],"title":"Размер","enumNames":["Обычный","Уменьшенный"]},"TariffsTableRowData":{"type":"object","properties":{"header":{"$ref":"#/definitions/TariffsTableRowHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}}}},"required":["header","data"],"title":"Ряд"},"TariffsTableRowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Параметр"},"TariffsTableCellData":{"type":"object","properties":{"label":{"type":"string","title":"Заголовок"},"list":{"$ref":"#/definitions/TariffsTableList"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}},"title":"Ячейка"},"TariffsTableList":{"type":"object","properties":{"isDotted":{"type":"boolean","title":"Маркеры"},"items":{"type":"array","items":{"type":"string"},"title":"Элементы списка"}},"title":"Список"},"TariffsTableColumn":{"type":"object","properties":{"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}},"title":"Данные"}},"title":"Колонка"},"TariffsTableContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/TariffsTableRowHeader"},"title":"Параметры"},"columns":{"type":"array","items":{"$ref":"#/definitions/TariffsTableColumn"},"title":"Колонки"}},"title":"Таблица тарифов"},"CalculatorParams":{"type":"object","properties":{"isAnnuity":{"type":"boolean"},"minSum":{"type":"number"},"maxSum":{"type":"number"},"minMonths":{"type":"number"},"maxMonths":{"type":"number"},"rateWithInsurance":{"type":"number"},"rateWithoutInsurance":{"type":"number"}}},"CreditCalculatorData":{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/definitions/CalculatorParams"}}}},"CreditCalculatorContent":{"type":"object","properties":{"directoryName":{"type":"string","title":"Справочник"}},"title":"Кредитный калькулятор"}}}
1
+ {"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"GalleryItem":{"type":"object","properties":{"title":{"type":"string"},"text":{"type":"string"}}},"GalleryCard":{"type":"object","properties":{"button":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"$ref":"#/definitions/GalleryItem"},"title":"Список"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Карточка"},"Picture":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"sources":{"type":"array","items":{"$ref":"#/definitions/ImgSource"},"title":"Другие форматы"},"className":{"type":"string"},"title":{"type":"string","title":"Текст подсказки (title)"}},"required":["src"],"title":"Изображение"},"Img":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"title":{"type":"string","title":"Текст подсказки (title)"}},"required":["src"]},"ImgSource":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"}},"required":["src"]},"ButtonWithIconProps":{"type":"object","properties":{"rounded":{"type":"boolean","title":"Закругленные углы"},"version":{"$ref":"#/definitions/ButtonVersion"},"aboveText":{"type":"string","title":"Верхний текст"},"icon":{"$ref":"#/definitions/IconName","title":"Иконка"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"ButtonProps":{"type":"object","properties":{"version":{"$ref":"#/definitions/ButtonVersion"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"LinkProps":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"Target":{"type":"string","enum":["","_self","_blank","_parent","_top"],"title":"Таргет (target)","enumNames":["","self (текущее окно или фрейм)","blank (новое окно)","parent (фрейм-родитель)","top (текущее окно)"]},"ButtonVersion":{"type":"string","enum":["primary","secondary","link"],"title":"Цвет кнопки","default":"primary","enumNames":["Основная","Второстепенная"]},"IconName":{"type":"string","enum":["","ActualBalanceIcon","AppleIcon","AtmIcon","BankIcon","BurgerIcon","BurgerIconWhite","Calendar2Icon","CalendarCircleIcon","CalendarIcon","CalendarTickIcon","CalendarWhiteIcon","CardIcon","CardPosIcon","CardTickIcon","CardWithGemIcon","ChartSquareIcon","ClockIcon","CloseIcon","ComfortableCompIcon","CreditCardsIcon","DiscountShapeIcon","DocIcon","DocIconMonoColor","DocumentTextIcon","DollarIcon","EarthIcon","EmptyWalletChangeIcon","EmptyWalletIcon","EmptyWalletWhiteIcon","EuroIcon","GeolocationIcon","GlassIcon","GlobalIcon","GridIcon","GridIconWhite","InterestGrowthIcon","InterestIcon","JCBIcon","LoupeIcon","MasterCardIcon","MinusIcon","MirIcon","MoneyIcon","MoneyInsuranceIcon","MonitorMobileIcon","NewDocIcon","OfficeIcon","OkIcon","PassSendIcon","PercentageRoundIcon","PercentageSquareIcon","PercentageSquareWhiteIcon","PersonalCardIcon","PlayMarketIcon","PlusIcon","Profile2UserIcon","ProfileIcon","RoundRubleIcon","SafeIcon","ShieldTickIcon","SignDocsIcon","SmallClockIcon","TelegramIcon","UnionPayIcon","UserTickIcon","VisaIcon","VKIcon","WalletAdd2Icon","WalletAddIcon","WalletIcon","WalletWithMoneyIcon"],"title":"Иконка","enumNames":["","Деньги","Лого «Apple»","Банкомат","Банк","Бургер","Бургер (белый)","Календарь 2","Скруглённый календарь","Календарь","Календарь с галочкой","Календарь белый","Кред. карта","Кред. карта под наклоном","Кред. карта с галочкой","Карта с драгоценностями","Деньги внутри кошелька","Часы","Крестик","Кресло","Кредитные карты","Скидка","Документ","Документ (одноцветный)","Документ с текстом","Доллар","Земля","Пустой кошелёк с возвратом","Пустой кошелёк","Пустой кошелёк (белый)","Евро","Геолокация","Зеркало","Глобус","Сетка","Сетка (белая)","Диаграмма роста","Скидка","JCB","Лупа","MasterCard","Минус","МИР","Деньги","Денежное страхование","Монитор и мобильный","Новый документ","Офис","Лого «Одноклассники»","Бизнес","Проценты (круг.)","Проценты","Проценты белые","Персональная карта","Лого «PlayMarket»","Плюс","Профиль, 2 персоны","Профиль","Рубль (круг.)","Сейф","Безопасность","Подписанные документы","Маленькие часы","Лого «Telegram»","UnionPay","Пользователь","Visa","Лого «VK»","Пополнение карты","Кошелёк с плюсом","Кошелёк","Кошелёк с деньгами"]},"BlockVersion":{"type":"string","enum":["primary","secondary"],"title":"Цвет плитки","enumNames":["Основная","Второстепенная"]},"GalleryContent":{"type":"object","properties":{"isScroll":{"type":"boolean"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":4}},"title":"Галерея"},"DescriptionContent":{"type":"object","properties":{"description":{"type":"string","title":"Описание"}}},"HeadingType":{"type":"string","enum":["h1","h2","h3","h4","h5","h6"],"title":"Тип заголовка","enumNames":["h1","h2","h3","h4","h5","h6"]},"HeadingTypeContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"}}},"HeadingContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}}},"HeadlineContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"bgColor":{"$ref":"#/definitions/BgColorVersion"}},"title":"Заголовок"},"ImageContent":{"type":"object","properties":{"image":{"$ref":"#/definitions/Picture"}}},"AlignType":{"type":"string","enum":["left","center","right"],"title":"Выравнивание","enumNames":["По левому краю","По центру","По правому краю"]},"BgColorVersion":{"type":"string","enum":["transparent","bg-white"],"title":"Цвет фона","enumNames":["Прозрачный","Белый"]},"LinkColumnsMode":{"type":"string","enum":["single","double"],"title":"Отображение списка","enumNames":["Одна колонка","Две колонки"]},"LinkListMode":{"type":"string","enum":["vertical","horizontal"],"title":"Отображение списка (моб.)","enumNames":["Вертикально","Горизонтально"]},"LinkDocsItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"fileSize":{"type":"string","title":"размер файла"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Элемент списка"},"LinkDocsContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"},"align":{"$ref":"#/definitions/AlignType"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"listMode":{"$ref":"#/definitions/LinkListMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/IconName","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"title":"Список документов"},"MiniGalleryContent":{"$ref":"#/definitions/GalleryContent","title":"Мини-галерея"},"TextBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"}}},"Benefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Преимущество"},"BenefitsBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ","maxItems":6}},"title":"Блок преимущества"},"TitleWithImageContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"}}},"PictureTextContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"}},"title":"Картинка с текстом"},"ProductTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовая плитка"},"ButtonContent":{"type":"object","properties":{"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4}}},"TextBlockVersion":{"type":"string","enum":["primary","secondary","secondary-light"],"title":"Цвет плитки","enumNames":["Основная","Второстепенная","Второстепенная прозрачная"]},"TextBlockIconVersion":{"type":"string","enum":["none","small","big"],"title":"Размер иконки","enumNames":["Нет","Маленькая","Большая"]},"TextBlockContent":{"type":"object","properties":{"isDotted":{"type":"boolean","title":"Маркеры списка (моб.)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"title":"Текстовый блок"},"ListContent":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"title":"Список"}}},"TileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Плитка"},"AccordionBlockType":{"type":"string","enum":["Headline","LinkDocs","TextBlock","PictureText","Tile","ProductTile","Gallery","MiniGallery"],"title":"Тип блока"},"HeadlineAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"bgColor":{"$ref":"#/definitions/BgColorVersion"}},"required":["accordionBlockType"],"title":"Заголовок"},"LinkDocsAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"},"align":{"$ref":"#/definitions/AlignType"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"listMode":{"$ref":"#/definitions/LinkListMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/IconName","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"required":["accordionBlockType"],"title":"Список документов"},"TextBlockAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"isDotted":{"type":"boolean","title":"Маркеры списка (моб.)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"required":["accordionBlockType"],"title":"Текстовый блок"},"PictureTextAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"}},"required":["accordionBlockType"],"title":"Картинка с текстом"},"TileAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["accordionBlockType"],"title":"Плитка"},"ProductTileAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["accordionBlockType"],"title":"Продуктовая плитка"},"GalleryAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"isScroll":{"type":"boolean"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":4}},"required":["accordionBlockType"],"title":"Галлерея"},"MiniGalleryAccordionBlockDef":{"type":"object","properties":{"accordionBlockType":{"$ref":"#/definitions/AccordionBlockType"},"isScroll":{"type":"boolean"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":4}},"required":["accordionBlockType"],"title":"Мини-галлерея"},"EmptyOption":{"type":"null","title":"Выберите блок"},"AccordionBlockProps":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/HeadlineAccordionBlockDef"},{"$ref":"#/definitions/LinkDocsAccordionBlockDef"},{"$ref":"#/definitions/TextBlockAccordionBlockDef"},{"$ref":"#/definitions/PictureTextAccordionBlockDef"},{"$ref":"#/definitions/TileAccordionBlockDef"},{"$ref":"#/definitions/ProductTileAccordionBlockDef"},{"$ref":"#/definitions/GalleryAccordionBlockDef"},{"$ref":"#/definitions/MiniGalleryAccordionBlockDef"}],"title":"Содержимое аккордеона"},"AccordionItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"blocks":{"type":"array","items":{"$ref":"#/definitions/AccordionBlockProps"},"title":"Блоки"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку элемента","default":false}},"title":"Элемент списка"},"AccordionContent":{"type":"object","properties":{"bordered":{"type":"boolean","title":"Отображать/скрывать обводку у элемента списка","default":false},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Подзаголовок"},"accordionItems":{"type":"array","items":{"$ref":"#/definitions/AccordionItemCommonProps"},"title":"Список"}},"title":"Аккордеон"},"CellData":{"type":"object","properties":{"label":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"title":"Ячейка"},"ColumnHeader":{"type":"object","properties":{"link":{"$ref":"#/definitions/LinkProps"},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Шапка колонки"},"Column":{"type":"object","properties":{"header":{"$ref":"#/definitions/ColumnHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/CellData"}},"title":"Данные"}},"title":"Продукт"},"RowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}},"title":"Параметр"},"ComparisonTableContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/RowHeader"},"title":"Параметры"},"columns":{"type":"array","items":{"$ref":"#/definitions/Column"},"title":"Продукты"},"isColoredFirstColumn":{"type":"boolean","title":"Закрасить первую колонку"},"visibleRowLength":{"type":"number","title":"Отображать заданное количество строк"}},"title":"Сравнительная таблица"},"ExchangeRateTileContent":{"$ref":"#/definitions/HeadingContent","title":"Курсы валют"},"ContactType":{"type":"string","enum":["tel","email"],"title":"Тип контакта","enumNames":["Телефон","Почта"]},"ContactInfo":{"type":"object","properties":{"type":{"$ref":"#/definitions/ContactType"},"description":{"type":"string","title":"Описание"},"text":{"type":"string","title":"Текст"}},"title":"Контакт"},"SocialMedia":{"type":"object","properties":{"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"required":["href"]},"SubMenuItem":{"type":"object","properties":{"icon":{"$ref":"#/definitions/IconName"},"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Пункт подменю"},"FooterContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Дополнительное меню"},"relatedEnterprises":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Другие предприятия"},"contacts":{"type":"array","items":{"$ref":"#/definitions/ContactInfo"},"title":"Контакты"},"socialMedia":{"type":"array","items":{"$ref":"#/definitions/SocialMedia"},"title":"Социальные сети"},"horizontalNavigationTitle":{"type":"string","title":"Заголовок для меню"},"subMenu":{"type":"array","items":{"$ref":"#/definitions/SubMenuItem"},"title":"Подменю"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Обязательные документы"}},"title":"Подвал","required":["topItems"]},"SitemapProps":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Дополнительное меню"}}},"TopMenuItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"HeaderContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Дополнительное меню"},"defaultLocation":{"type":"string","title":"Город по-умолчанию","default":"Москва"},"burgerSubMenu":{"type":"array","items":{"$ref":"#/definitions/SubMenuItem"},"title":"Подменю"}},"title":"Шапка","required":["defaultLocation","topItems"]},"QRCode":{"type":"object","properties":{"src":{"type":"string","title":"QR код"},"href":{"type":"string","title":"Ссылка"}},"title":"QR код"},"MobileAppTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"qr":{"$ref":"#/definitions/QRCode"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"href":{"type":"string","title":"Ссылка"}},"title":"Мобильное приложение"},"NavigationContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonProps"},"title":"Список ссылок"}},"title":"Навигация"},"ProductBlockInnerContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}}},"ProductBlockContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовый блок"},"ProductSlide":{"type":"object","properties":{"nav":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"desc":{"type":"string","title":"Описание"}},"required":["title","desc"],"title":"Превью содержимого слайда на навигации"},"productBlock":{"$ref":"#/definitions/ProductBlockInnerContent","title":"Содержимое слайда"}},"required":["productBlock"],"title":"Слайд"},"ProductGalleryContent":{"type":"object","properties":{"slides":{"type":"array","items":{"$ref":"#/definitions/ProductSlide"},"title":"Слайды"}},"title":"Продуктовая галерея"},"PromoTileContent":{"type":"object","properties":{"date":{"type":"string","title":"Дата публикации"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Акции"},"Step":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Шаг"},"StepsBlockContent":{"type":"object","properties":{"showLines":{"type":"boolean","title":"Линии"},"size":{"$ref":"#/definitions/SizeVersion"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"steps":{"type":"array","items":{"$ref":"#/definitions/Step"},"title":"Шаги","minItems":2,"maxItems":3}},"title":"Блок шаги"},"SizeVersion":{"type":"string","enum":["normal","small"],"title":"Размер","enumNames":["Обычный","Уменьшенный"]},"TariffsTableRowData":{"type":"object","properties":{"header":{"$ref":"#/definitions/TariffsTableRowHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}}}},"required":["header","data"],"title":"Ряд"},"TariffsTableRowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"icon":{"$ref":"#/definitions/IconName"}},"title":"Параметр"},"TariffsTableCellData":{"type":"object","properties":{"label":{"type":"string","title":"Заголовок"},"list":{"$ref":"#/definitions/TariffsTableList"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}},"title":"Ячейка"},"TariffsTableList":{"type":"object","properties":{"isDotted":{"type":"boolean","title":"Маркеры"},"items":{"type":"array","items":{"type":"string"},"title":"Элементы списка"}},"title":"Список"},"TariffsTableColumn":{"type":"object","properties":{"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}},"title":"Данные"}},"title":"Колонка"},"TariffsTableContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/TariffsTableRowHeader"},"title":"Параметры"},"columns":{"type":"array","items":{"$ref":"#/definitions/TariffsTableColumn"},"title":"Колонки"}},"title":"Таблица тарифов"},"CalculatorParams":{"type":"object","properties":{"isAnnuity":{"type":"boolean"},"minSum":{"type":"number"},"maxSum":{"type":"number"},"minMonths":{"type":"number"},"maxMonths":{"type":"number"},"rateWithInsurance":{"type":"number"},"rateWithoutInsurance":{"type":"number"}}},"CreditCalculatorData":{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/definitions/CalculatorParams"}}}},"CreditCalculatorContent":{"type":"object","properties":{"directoryName":{"type":"string","title":"Справочник"}},"title":"Кредитный калькулятор"}}}
@@ -200,7 +200,7 @@
200
200
  return;
201
201
  }
202
202
  const Tag = headingType;
203
- return (jsx(Tag, { className: `font-sans font-medium ${HEADING_STYLE_MAP[headingType]} ${className || ''}`, children: title }));
203
+ return (jsx(Tag, { className: `font-sans font-medium m-0 ${HEADING_STYLE_MAP[headingType]} ${className || ''}`, children: title }));
204
204
  });
205
205
 
206
206
  const projectSettings = new (class {
@@ -273,7 +273,7 @@
273
273
  return index !== -1 ? href.substring(index + 1) : '';
274
274
  };
275
275
 
276
- const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: className, iconClassName: "mr-2.5 min-w-6 min-h-6 text-primary-text", textClassName: "self-center", suffixClassName: "text-secondary-text group-hover:text-primary-main", doc: doc, icon: icon })));
276
+ const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-2.5 min-w-6 min-h-6 text-primary-text", textClassName: "self-center", suffixClassName: "text-secondary-text group-hover:text-primary-main", doc: doc, icon: icon })));
277
277
 
278
278
  const LinkDocsList = JSX(({ className, documents, columnsMode = 'double', icon }) => {
279
279
  return documents?.length ? (jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { className: "group flex text-sm align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
@@ -463,10 +463,10 @@
463
463
 
464
464
  const Description = JSX((props) => {
465
465
  const { className, description } = props;
466
- return jsx("div", { className: `font-normal text-base ${className || ''}`, children: description });
466
+ return jsx("div", { className: `font-normal text-m-md ${className || ''}`, children: description });
467
467
  });
468
468
 
469
- const LIST_STYLE_CLASSES$1 = 'rounded-full inline-block mr-3';
469
+ const LIST_STYLE_CLASSES$1 = 'rounded-full inline-block mr-3 mt-2';
470
470
  const TEXT_STYLE_MAP$1 = {
471
471
  primary: 'text-primary-text',
472
472
  secondary: 'text-white',
@@ -478,7 +478,7 @@
478
478
  gray: 'bg-secondary-text',
479
479
  };
480
480
  const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
481
- return (jsxs("div", { className: `font-sans flex items-center ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle$1(version) }), jsx("span", { className: TEXT_STYLE_MAP$1[version], children: children })] }));
481
+ return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle$1(version) }), jsx("span", { className: `text-m-md ${TEXT_STYLE_MAP$1[version]}`, children: children })] }));
482
482
  });
483
483
  const getListStyle$1 = (version) => {
484
484
  const size = version === 'gray' ? 'w-[6px] h-[6px] min-w-[6px] min-h-[6px]' : 'w-2 h-2 min-w-2 min-h-2';
@@ -493,7 +493,7 @@
493
493
  });
494
494
 
495
495
  const BaseTile = JSX(({ className = '', title, children, buttons, image }) => {
496
- return (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: `flex grow w-full justify-between`, children: [jsxs("div", { className: `flex flex-col justify-between`, children: [jsx("div", { children: children }), jsx("div", { children: buttons })] }), image] })] }));
496
+ return (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { children: children }), jsx("div", { children: buttons })] }), image] })] }));
497
497
  });
498
498
 
499
499
  const getColSpan = (className) => {
@@ -547,8 +547,12 @@
547
547
  };
548
548
  const Tile = JSX((props) => {
549
549
  const { context, title, description, items, children, buttons, image, className = '', version = 'primary', role, } = props;
550
- return (jsx("section", { className: `font-sans p-9 box-border ${className} ${tileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, role: role, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px] ${version === 'primary' ? 'text-primary-text' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), children, items?.length ? jsx(List, { items: items }) : null] }) }));
550
+ return (jsx("section", { className: `font-sans p-9 box-border ${className} ${tileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, role: role, children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px] ${title ? 'mb-3' : ''}
551
+ ${version === 'primary' ? 'text-primary-text' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description && jsx(Description, { className: "mt-4 max-w-[600px]", description: description }), children, renderList(items, version)] }) }));
551
552
  });
553
+ function renderList(items, version) {
554
+ return items?.length ? jsx(List, { items: items, version: version }) : null;
555
+ }
552
556
 
553
557
  const productTileStyleMap = {
554
558
  primary: 'bg-white text-primary-text',
@@ -605,9 +609,9 @@
605
609
  mini: 276,
606
610
  };
607
611
 
608
- const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3';
612
+ const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3 mt-2';
609
613
  const TEXT_STYLE_MAP = {
610
- primary: 'text-primary-text',
614
+ primary: 'text-secondary-text',
611
615
  secondary: 'text-white',
612
616
  gray: 'text-secondary-text',
613
617
  };
@@ -617,7 +621,7 @@
617
621
  gray: 'bg-secondary-text',
618
622
  };
619
623
  const BlockItem = JSX(({ className = '', isDotted = true, text, children, version = 'primary' }) => {
620
- return (jsxs("div", { className: `font-sans flex items-center ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), jsx("span", { className: TEXT_STYLE_MAP[version], children: text || children })] }));
624
+ return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version) }), "!!!!!", jsx("span", { className: TEXT_STYLE_MAP[version], children: text || children })] }));
621
625
  });
622
626
  const getListStyle = (version) => {
623
627
  const size = version === 'gray' ? 'w-[6px] h-[6px] min-w-[6px] min-h-[6px]' : 'w-2 h-2 min-w-2 min-h-2';
@@ -625,16 +629,26 @@
625
629
  };
626
630
 
627
631
  const GalleryCardInner = JSX(({ title, description, image, items, button, version }) => {
628
- return (jsxs("div", { children: [jsxs("div", { children: [image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-6", image: image }) })) : null, title && renderCardTitle(title, description, items), description ? jsx("div", { className: `font-normal text-sm mt-2`, children: description }) : null, items?.length ? (jsx("section", { className: `max-w-[308px] mt-2`, role: "list", children: items
629
- .filter((item) => item?.text)
630
- .map((item, i) => renderItem(item.text, i, version)) })) : null] }), button?.text && jsx(Button, { className: "mt-6", ...button })] }));
632
+ const titleStyleClasses = getTitleStyle(version, description, items);
633
+ return (jsxs("div", { children: [jsxs("div", { children: [image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-6", image: image }) })) : null, title ? renderCardTitle(title, titleStyleClasses) : null, description ? (jsx("div", { className: `font-normal text-sm ${title ? 'mt-2' : ''}`, children: description })) : null, items?.length ? renderItems(items, version) : null] }), button?.text && jsx(Button, { className: "mt-6", ...button })] }));
631
634
  });
632
- function renderCardTitle(title, description, items) {
633
- return (jsx("div", { className: `font-medium text-xl m-0 ${!description && !items?.length ? 'text-center' : ''}`, children: title }));
635
+ function renderCardTitle(title, className) {
636
+ return jsx("div", { className: `font-medium text-xl m-0 ${className}`, children: title });
637
+ }
638
+ function renderItems(items, version) {
639
+ return (jsx("section", { className: `max-w-[308px] mt-2`, role: "list", children: items
640
+ .filter((item) => item?.text)
641
+ .map((item, i) => renderItem(item.text, i, version)) }));
634
642
  }
635
643
  function renderItem(item, i, version) {
636
644
  return (jsx(BlockItem, { version: version ?? 'primary', children: jsx("span", { className: "text-sm", children: item }) }, String(i)));
637
645
  }
646
+ function getTitleStyle(version, description, items) {
647
+ return `font-medium text-xl m-0
648
+ ${version !== 'secondary' ? 'text-primary-text' : ''}
649
+ ${!description && !items?.length ? 'text-center' : ''}
650
+ `;
651
+ }
638
652
 
639
653
  const GalleryContainer = JSX(({ context, title, description, cards = [], version = 'normal', activeCardIndex }) => {
640
654
  return (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent" }), jsxs("div", { className: "flex flex-col items-center mb-8", children: [title ? jsx(Heading, { headingType: "h2", className: "text-center", title: title }) : null, description ? (jsx("div", { className: "font-normal text-base max-w-[600px] mt-2.5", children: description })) : null] }), jsx("div", { className: `flex ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeCardIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version, context }, i)) })] }));
@@ -686,7 +700,7 @@
686
700
  const [isActive, setIsActive] = context.useState(false);
687
701
  const hasContent = blocks?.length;
688
702
  const icon = isActive ? 'MinusIcon' : 'PlusIcon';
689
- const getContentBlock = ({ target }) => target.tagName === 'BUTTON' ? target.nextSibling : target.parentNode.nextSibling;
703
+ const getContentBlock = ({ currentTarget }) => currentTarget.nextSibling;
690
704
  const handleToggle = (e) => {
691
705
  if (!hasContent) {
692
706
  return;
@@ -936,7 +950,7 @@
936
950
  ];
937
951
  const ExchangeRateTile = JSX(({ className = '', context, title = 'Курсы обмена валют' }) => {
938
952
  const { data } = context.useAsyncData(CBR_EXCHANGE_RATE_URL, fetchExchangeRate);
939
- return (jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, children: jsx(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: jsxs("table", { children: [jsx("thead", { children: jsxs("tr", { children: [jsx(CurrencyTH, { children: "\u0412\u0430\u043B\u044E\u0442\u0430" }), jsx(CurrencyTH, { className: "pl-11", children: "\u041A\u0443\u0440\u0441" })] }) }), jsx("tbody", { children: CURRENCY_CODES.map(renderCurrencyRow(data)) })] }) }) }));
953
+ return (jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, children: jsx(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px] ${title ? 'mb-3' : ''}` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: jsxs("table", { children: [jsx("thead", { children: jsxs("tr", { children: [jsx(CurrencyTH, { children: "\u0412\u0430\u043B\u044E\u0442\u0430" }), jsx(CurrencyTH, { className: "pl-11", children: "\u041A\u0443\u0440\u0441" })] }) }), jsx("tbody", { children: CURRENCY_CODES.map(renderCurrencyRow(data)) })] }) }) }));
940
954
  });
941
955
  const CurrencyTH = JSX(({ className = '', children }) => (jsx("th", { className: `text-left font-normal text-sm text-secondary-text ${className}`, children: children })));
942
956
  const CurrencyTD = JSX(({ className = '', children }) => (jsx("td", { className: `text-left font-normal text-base text-primary-text ${className}`, children: children })));
@@ -1189,16 +1203,6 @@
1189
1203
  .map((button, i) => (jsx(NavigationItem, { className: "first:rounded-tl-md first:rounded-bl-md last:rounded-tr-md last:rounded-br-md", isActive: button === activeButton, ...useLink({ router, handlerDecorator }, button) }, String(i)))) })) : null] }));
1190
1204
  });
1191
1205
 
1192
- const GOLDEN_RATIO = 1.618;
1193
- const Placeholder = JSX(({ className, context, title }) => {
1194
- return (jsx(Tile, { className: className, context: context, title: title, description: "\u0411\u043B\u043E\u043A \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u043A\u0435...", children: jsx("figure", { className: "m-0 min-w-[600px]", children: renderShimmer() }) }));
1195
- });
1196
- const renderShimmer = (size = 3) => goldenSequence(100, size)
1197
- .map((_) => Math.floor(_))
1198
- .map(renderShimmerItem);
1199
- const renderShimmerItem = (width = 100, index) => (jsx("div", { style: { width: `${width}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
1200
- const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
1201
-
1202
1206
  const Breadcrumb = JSX(({ text, href, target, onClick, className = '', children }) => {
1203
1207
  if (href) {
1204
1208
  return (jsx("a", { className: `no-underline ${className}`, href: href, target: target, onClick: onClick, children: jsx("span", { className: className, children: text || children }) }));
@@ -1229,7 +1233,7 @@
1229
1233
  }
1230
1234
 
1231
1235
  const ProductBlockInner = JSX(({ className = '', context, title, headingType = 'h2', description, benefits, buttons, image, items, version = 'primary', }) => {
1232
- return (jsxs("div", { className: `flex grow justify-between items-stretch ${className}`, children: [jsx("div", { className: 'flex flex-col', children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: headingType, title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: [description && (jsx(Description, { className: "mt-4 max-w-[600px]", description: description })), benefits?.length ? (jsx("div", { className: "flex gap-6 mt-6 mb-3.5", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null, items?.length ? jsx(List, { items: items }) : null] }) }), image?.src && jsx(Img, { className: "mt-auto", image: image })] }));
1236
+ return (jsxs("div", { className: `flex grow justify-between items-stretch text-primary-text ${className}`, children: [jsx("div", { className: 'flex flex-col', children: jsxs(BaseTile, { context: context, title: title && (jsx(Heading, { headingType: headingType, title: title, className: `whitespace-pre-wrap max-w-[600px]` })), buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: [description && (jsx(Description, { className: "mt-4 max-w-[600px]", description: description })), benefits?.length ? (jsx("div", { className: "flex gap-6 mt-6 mb-3.5", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null, items?.length ? jsx(List, { className: "mt-5", items: items }) : null] }) }), image?.src && jsx(Img, { className: "mt-auto", image: image })] }));
1233
1237
  });
1234
1238
 
1235
1239
  const productBlockStyleMap = {
@@ -1343,7 +1347,6 @@
1343
1347
  MiniGallery,
1344
1348
  MobileAppTile,
1345
1349
  PictureText,
1346
- Placeholder,
1347
1350
  ProductBlock,
1348
1351
  ProductGallery,
1349
1352
  ProductTile,
@@ -1371,6 +1374,16 @@
1371
1374
  return (jsxs("div", { className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className || ''}`, children: [jsx(LikeButton, { onClick: likeService.like, ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), jsx(LikeButton, { onClick: likeService.dislike, className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), jsx("span", { className: "select-none", children: likeService.likeCount })] }));
1372
1375
  });
1373
1376
 
1377
+ const GOLDEN_RATIO = 1.618;
1378
+ const Placeholder = JSX(({ className, context, title, description = 'Блок в разработке...' }) => {
1379
+ return (jsx("section", { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, children: jsxs(BaseTile, { context: context, title: title ? (jsx(Heading, { headingType: getTileHeadingType(className), title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, children: [description ? (jsx(Description, { className: "mt-4 max-w-[600px]", description: description })) : null, jsx("figure", { className: "m-0 min-w-[600px]", children: renderShimmer() })] }) }));
1380
+ });
1381
+ const renderShimmer = (size = 3) => goldenSequence(100, size)
1382
+ .map((_) => Math.floor(_))
1383
+ .map(renderShimmerItem);
1384
+ const renderShimmerItem = (width = 100, index) => (jsx("div", { style: { width: `${width}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
1385
+ const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
1386
+
1374
1387
  const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
1375
1388
  const ContentPage = JSX(({ className, context, blocksRegistry, data: { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' }, blockDecorator = defaultBlockDecorator, }) => {
1376
1389
  const { header } = slots;
@@ -1378,10 +1391,10 @@
1378
1391
  });
1379
1392
  function renderBlock({ block, blockDecorator, blocksRegistry, context }, i) {
1380
1393
  const { type } = block;
1381
- if (!(type in blocksRegistry)) {
1394
+ if (!(type && type in blocksRegistry)) {
1382
1395
  console.warn(`No block with "${type}" is registered`);
1383
1396
  }
1384
- const BlockComponent = blocksRegistry[type] || Placeholder;
1397
+ const BlockComponent = blocksRegistry[type || 'Placeholder'] || Placeholder;
1385
1398
  return blockDecorator({
1386
1399
  blockClassName: style2className(block.style),
1387
1400
  block,
@@ -1396,14 +1409,16 @@
1396
1409
  }
1397
1410
 
1398
1411
  const ContentPageHead = JSX(({ HeadComponent, data, children }) => {
1399
- const { title, description, keywords, robots, og } = data;
1412
+ const { title, main: { description, keywords, canonical, robots }, og, twitter, jsonLd, } = data;
1400
1413
  return (jsxs(HeadComponent, { children: [jsx("title", { children: title }), jsx("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }), description && jsx("meta", { name: "description", content: description }), keywords && jsx("meta", { name: "keywords", content: keywords.join(',') }), robots && jsx("meta", { name: "robots", content: robots.join(',') }), og
1401
1414
  ? Object.entries(og).map(([key, value]) => (jsx("meta", { name: `og:${key}`, content: value }, key)))
1402
- : null, children] }));
1415
+ : null, twitter
1416
+ ? Object.entries(twitter).map(([key, value]) => (jsx("meta", { name: `twitter:${key}`, content: value }, key)))
1417
+ : null, canonical && jsx("link", { rel: "canonical", href: canonical }), jsonLd && jsx("script", { type: "application/ld+json", children: jsonLd }), children] }));
1403
1418
  });
1404
1419
 
1405
- function isBlockInRegistry(block, registry) {
1406
- return block.type in registry;
1420
+ function isBlockInRegistry(blockType, registry) {
1421
+ return (blockType || '') in registry;
1407
1422
  }
1408
1423
 
1409
1424
  function normalizeBlock(block) {
@@ -1431,7 +1446,7 @@
1431
1446
  };
1432
1447
  }
1433
1448
  function getDesktopBlocks(blocks) {
1434
- return blocks?.filter((block) => isBlockInRegistry(block, Blocks)).map(normalizeBlock);
1449
+ return blocks?.filter((block) => isBlockInRegistry(block?.type, Blocks)).map(normalizeBlock);
1435
1450
  }
1436
1451
 
1437
1452
  exports.Blocks = Blocks;