@redneckz/wildless-cms-uni-blocks 0.3.85 → 0.3.86

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 (793) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +124 -89
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/useActiveHandler.d.ts +1 -1
  5. package/dist/components/Accordion/useActiveHandler.js +4 -4
  6. package/dist/components/Accordion/useActiveHandler.js.map +1 -1
  7. package/dist/components/BaseTile/BaseTile.js +1 -1
  8. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  9. package/dist/components/BaseTile/BaseTileProps.d.ts +7 -26
  10. package/dist/components/BaseTile/getTileHeadingType.d.ts +1 -1
  11. package/dist/components/BaseTile/getTileHeadingType.js +3 -3
  12. package/dist/components/BaseTile/getTileHeadingType.js.map +1 -1
  13. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  14. package/dist/components/Bonus/BonusContent.d.ts +2 -3
  15. package/dist/components/Calculator/Rate.js +1 -1
  16. package/dist/components/Calculator/Rate.js.map +1 -1
  17. package/dist/components/Catalog/CatalogContent.d.ts +3 -4
  18. package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  19. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  20. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  21. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +4 -4
  22. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  23. package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  24. package/dist/components/ComparisonTable/HeaderCell.js +1 -1
  25. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  26. package/dist/components/ContentPage/ContentPageContext.d.ts +1 -2
  27. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  28. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  29. package/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  30. package/dist/components/Footer/TextInformationLink.d.ts +1 -1
  31. package/dist/components/Footer/TextInformationLink.js.map +1 -1
  32. package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -2
  33. package/dist/components/GroupBlock/GroupBlock.js +1 -1
  34. package/dist/components/GroupBlock/GroupBlock.js.map +1 -1
  35. package/dist/components/GroupBlock/GroupBlockTabs.d.ts +2 -3
  36. package/dist/components/GroupBlock/GroupBlockTabs.js +9 -7
  37. package/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  38. package/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  39. package/dist/components/GroupBlock/GroupBlocksItem.js +1 -1
  40. package/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  41. package/dist/components/Header/DropdownMenu.d.ts +1 -0
  42. package/dist/components/Header/DropdownMenu.js +6 -3
  43. package/dist/components/Header/DropdownMenu.js.map +1 -1
  44. package/dist/components/Header/Header.js +1 -1
  45. package/dist/components/Header/HeaderSubMenu.js +1 -1
  46. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  47. package/dist/components/Headline/Headline.js +4 -2
  48. package/dist/components/Headline/Headline.js.map +1 -1
  49. package/dist/components/Headline/Headline.mobile.js +1 -1
  50. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  51. package/dist/components/Headline/HeadlineContent.d.ts +2 -4
  52. package/dist/components/Headline/constants.d.ts +9 -0
  53. package/dist/components/Headline/constants.js +33 -1
  54. package/dist/components/Headline/constants.js.map +1 -1
  55. package/dist/components/Insurance/Insurance.js +5 -5
  56. package/dist/components/Insurance/Insurance.js.map +1 -1
  57. package/dist/components/Insurance/InsuranceContent.d.ts +2 -5
  58. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  59. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  60. package/dist/components/LinkDocs/LinkDocs.js +2 -2
  61. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  62. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
  63. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  64. package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -6
  65. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  66. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  67. package/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  68. package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  69. package/dist/components/MobileAppTile/MobileAppTile.js +3 -3
  70. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  71. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  72. package/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  73. package/dist/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  74. package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  75. package/dist/components/OtherProducts/OtherProductsItem.js +1 -1
  76. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  77. package/dist/components/PictureText/PictureTextContent.d.ts +2 -2
  78. package/dist/components/Placeholder/Placeholder.js +2 -4
  79. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  80. package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
  81. package/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -5
  82. package/dist/components/ProductBlock/ProductBlockInner.js +3 -8
  83. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  84. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +3 -4
  85. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  86. package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  87. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  88. package/dist/components/ProductBlock/renderBenefit.js +1 -1
  89. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  90. package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
  91. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  92. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
  93. package/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
  94. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  95. package/dist/components/ProductTile/ProductTile.js +4 -5
  96. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  97. package/dist/components/ProductTile/ProductTileContent.d.ts +2 -3
  98. package/dist/components/PromoTile/PromoTile.js +2 -2
  99. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  100. package/dist/components/PromoTile/PromoTileContent.d.ts +3 -3
  101. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -4
  102. package/dist/components/StepsBlock/StepsBlock.js +3 -3
  103. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  104. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  105. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  106. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  107. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +3 -1
  108. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  109. package/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -4
  110. package/dist/components/Tile/Tile.js +3 -3
  111. package/dist/components/Tile/Tile.js.map +1 -1
  112. package/dist/components/Tile/TileContent.d.ts +3 -3
  113. package/dist/hooks/useLink.d.ts +3 -1
  114. package/dist/hooks/useLink.js +1 -1
  115. package/dist/hooks/useLink.js.map +1 -1
  116. package/dist/model/HeadlineType.d.ts +17 -0
  117. package/dist/{ui-kit/Heading/HeadingContent.js → model/HeadlineType.js} +1 -1
  118. package/dist/model/HeadlineType.js.map +1 -0
  119. package/dist/model/VNode.d.ts +1 -1
  120. package/dist/services/sitemap/findActiveSubItem.d.ts +1 -1
  121. package/dist/services/sitemap/findActiveSubItem.js +1 -1
  122. package/dist/services/sitemap/findActiveSubItem.js.map +1 -1
  123. package/dist/types.d.ts +0 -1
  124. package/dist/ui-kit/Breadcrumb.d.ts +1 -1
  125. package/dist/ui-kit/Button/Button.d.ts +0 -1
  126. package/dist/ui-kit/Button/Button.js +4 -4
  127. package/dist/ui-kit/Button/Button.js.map +1 -1
  128. package/dist/ui-kit/Button/Button.mobile.js +1 -1
  129. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  130. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  131. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  132. package/dist/ui-kit/Button/ButtonProps.d.ts +3 -1
  133. package/dist/ui-kit/Button/ButtonSection.js +1 -1
  134. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  135. package/dist/ui-kit/Button/LikeButton.d.ts +1 -1
  136. package/dist/ui-kit/Button/renderArrows.d.ts +2 -4
  137. package/dist/ui-kit/Button/renderArrows.js.map +1 -1
  138. package/dist/ui-kit/Description/Description.d.ts +2 -2
  139. package/dist/ui-kit/Description/Description.js +1 -1
  140. package/dist/ui-kit/Description/Description.js.map +1 -1
  141. package/dist/ui-kit/Foldable/useActiveHandler.d.ts +1 -1
  142. package/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  143. package/dist/ui-kit/Heading/Heading.d.ts +1 -5
  144. package/dist/ui-kit/Heading/Heading.js +8 -11
  145. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  146. package/dist/ui-kit/Heading/Heading.mobile.d.ts +1 -5
  147. package/dist/ui-kit/Heading/Heading.mobile.js +2 -5
  148. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  149. package/dist/ui-kit/Heading/HeadingProps.d.ts +20 -0
  150. package/{mobile/dist/ui-kit/Heading/HeadingContent.js → dist/ui-kit/Heading/HeadingProps.js} +1 -1
  151. package/dist/ui-kit/Heading/HeadingProps.js.map +1 -0
  152. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -2
  153. package/dist/ui-kit/SVG.d.ts +2 -2
  154. package/dist/ui-kit/SearchBar/SearchBarInner.js +3 -3
  155. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  156. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
  157. package/dist/ui-kit/Tabs/TabsProps.d.ts +1 -2
  158. package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  159. package/dist/utils/url.d.ts +1 -0
  160. package/dist/utils/url.js +3 -1
  161. package/dist/utils/url.js.map +1 -1
  162. package/lib/common.css +1 -1
  163. package/lib/components/Accordion/useActiveHandler.d.ts +1 -1
  164. package/lib/components/Accordion/useActiveHandler.js +4 -4
  165. package/lib/components/Accordion/useActiveHandler.js.map +1 -1
  166. package/lib/components/BaseTile/BaseTile.js +1 -1
  167. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  168. package/lib/components/BaseTile/BaseTileProps.d.ts +7 -26
  169. package/lib/components/BaseTile/getTileHeadingType.d.ts +1 -1
  170. package/lib/components/BaseTile/getTileHeadingType.js +3 -3
  171. package/lib/components/BaseTile/getTileHeadingType.js.map +1 -1
  172. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  173. package/lib/components/Bonus/BonusContent.d.ts +2 -3
  174. package/lib/components/Calculator/Rate.js +1 -1
  175. package/lib/components/Calculator/Rate.js.map +1 -1
  176. package/lib/components/Catalog/CatalogContent.d.ts +3 -4
  177. package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  178. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  179. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  180. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +4 -4
  181. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  182. package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  183. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  184. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  185. package/lib/components/ContentPage/ContentPageContext.d.ts +1 -2
  186. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  187. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  188. package/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  189. package/lib/components/Footer/TextInformationLink.d.ts +1 -1
  190. package/lib/components/Footer/TextInformationLink.js.map +1 -1
  191. package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -2
  192. package/lib/components/GroupBlock/GroupBlock.js +1 -1
  193. package/lib/components/GroupBlock/GroupBlock.js.map +1 -1
  194. package/lib/components/GroupBlock/GroupBlockTabs.d.ts +2 -3
  195. package/lib/components/GroupBlock/GroupBlockTabs.js +9 -7
  196. package/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  197. package/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  198. package/lib/components/GroupBlock/GroupBlocksItem.js +1 -1
  199. package/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  200. package/lib/components/Header/DropdownMenu.d.ts +1 -0
  201. package/lib/components/Header/DropdownMenu.js +6 -3
  202. package/lib/components/Header/DropdownMenu.js.map +1 -1
  203. package/lib/components/Header/Header.js +1 -1
  204. package/lib/components/Header/HeaderSubMenu.js +1 -1
  205. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  206. package/lib/components/Headline/Headline.fixture.d.ts +5 -0
  207. package/lib/components/Headline/Headline.js +5 -3
  208. package/lib/components/Headline/Headline.js.map +1 -1
  209. package/lib/components/Headline/Headline.mobile.js +1 -1
  210. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  211. package/lib/components/Headline/HeadlineContent.d.ts +2 -4
  212. package/lib/components/Headline/constants.d.ts +9 -0
  213. package/lib/components/Headline/constants.js +32 -0
  214. package/lib/components/Headline/constants.js.map +1 -1
  215. package/lib/components/Insurance/Insurance.js +5 -5
  216. package/lib/components/Insurance/Insurance.js.map +1 -1
  217. package/lib/components/Insurance/InsuranceContent.d.ts +2 -5
  218. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  219. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  220. package/lib/components/LinkDocs/LinkDocs.js +2 -2
  221. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  222. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
  223. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  224. package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -6
  225. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  226. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  227. package/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  228. package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  229. package/lib/components/MobileAppTile/MobileAppTile.js +3 -3
  230. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  231. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  232. package/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  233. package/lib/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  234. package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  235. package/lib/components/OtherProducts/OtherProductsItem.js +1 -1
  236. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  237. package/lib/components/PictureText/PictureTextContent.d.ts +2 -2
  238. package/lib/components/Placeholder/Placeholder.js +2 -4
  239. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  240. package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
  241. package/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -5
  242. package/lib/components/ProductBlock/ProductBlockInner.js +3 -8
  243. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  244. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +3 -4
  245. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  246. package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  247. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  248. package/lib/components/ProductBlock/renderBenefit.js +1 -1
  249. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  250. package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
  251. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  252. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
  253. package/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
  254. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  255. package/lib/components/ProductTile/ProductTile.js +4 -5
  256. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  257. package/lib/components/ProductTile/ProductTileContent.d.ts +2 -3
  258. package/lib/components/PromoTile/PromoTile.js +2 -2
  259. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  260. package/lib/components/PromoTile/PromoTileContent.d.ts +3 -3
  261. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -4
  262. package/lib/components/StepsBlock/StepsBlock.js +3 -3
  263. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  264. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  265. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  266. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  267. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +3 -1
  268. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  269. package/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -4
  270. package/lib/components/Tile/Tile.js +3 -3
  271. package/lib/components/Tile/Tile.js.map +1 -1
  272. package/lib/components/Tile/TileContent.d.ts +3 -3
  273. package/lib/hooks/useLink.d.ts +3 -1
  274. package/lib/hooks/useLink.js +1 -1
  275. package/lib/hooks/useLink.js.map +1 -1
  276. package/lib/model/HeadlineType.d.ts +17 -0
  277. package/lib/model/HeadlineType.js +2 -0
  278. package/lib/model/HeadlineType.js.map +1 -0
  279. package/lib/model/VNode.d.ts +1 -1
  280. package/lib/services/sitemap/findActiveSubItem.d.ts +1 -1
  281. package/lib/services/sitemap/findActiveSubItem.js +1 -1
  282. package/lib/services/sitemap/findActiveSubItem.js.map +1 -1
  283. package/lib/types.d.ts +0 -1
  284. package/lib/ui-kit/Breadcrumb.d.ts +1 -1
  285. package/lib/ui-kit/Button/Button.d.ts +0 -1
  286. package/lib/ui-kit/Button/Button.js +2 -2
  287. package/lib/ui-kit/Button/Button.js.map +1 -1
  288. package/lib/ui-kit/Button/Button.mobile.js +1 -1
  289. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  290. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  291. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  292. package/lib/ui-kit/Button/ButtonProps.d.ts +3 -1
  293. package/lib/ui-kit/Button/ButtonSection.js +1 -1
  294. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  295. package/lib/ui-kit/Button/LikeButton.d.ts +1 -1
  296. package/lib/ui-kit/Button/renderArrows.d.ts +2 -4
  297. package/lib/ui-kit/Button/renderArrows.js.map +1 -1
  298. package/lib/ui-kit/Description/Description.d.ts +2 -2
  299. package/lib/ui-kit/Description/Description.js +1 -1
  300. package/lib/ui-kit/Description/Description.js.map +1 -1
  301. package/lib/ui-kit/Foldable/useActiveHandler.d.ts +1 -1
  302. package/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  303. package/lib/ui-kit/Heading/Heading.d.ts +1 -5
  304. package/lib/ui-kit/Heading/Heading.js +8 -11
  305. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  306. package/lib/ui-kit/Heading/Heading.mobile.d.ts +1 -5
  307. package/lib/ui-kit/Heading/Heading.mobile.js +2 -5
  308. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  309. package/lib/ui-kit/Heading/HeadingProps.d.ts +20 -0
  310. package/lib/ui-kit/Heading/HeadingProps.js +2 -0
  311. package/lib/ui-kit/Heading/HeadingProps.js.map +1 -0
  312. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -2
  313. package/lib/ui-kit/SVG.d.ts +2 -2
  314. package/lib/ui-kit/SearchBar/SearchBarInner.js +3 -3
  315. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  316. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
  317. package/lib/ui-kit/Tabs/TabsProps.d.ts +1 -2
  318. package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  319. package/lib/utils/url.d.ts +1 -0
  320. package/lib/utils/url.js +1 -0
  321. package/lib/utils/url.js.map +1 -1
  322. package/mobile/bundle/bundle.umd.js +37 -41
  323. package/mobile/bundle/bundle.umd.min.js +1 -1
  324. package/mobile/dist/components/Accordion/useActiveHandler.d.ts +1 -1
  325. package/mobile/dist/components/Accordion/useActiveHandler.js +4 -4
  326. package/mobile/dist/components/Accordion/useActiveHandler.js.map +1 -1
  327. package/mobile/dist/components/BaseTile/BaseTile.js +1 -1
  328. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  329. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +7 -26
  330. package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +1 -1
  331. package/mobile/dist/components/BaseTile/getTileHeadingType.js +3 -3
  332. package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +1 -1
  333. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  334. package/mobile/dist/components/Bonus/BonusContent.d.ts +2 -3
  335. package/mobile/dist/components/Calculator/Rate.js +1 -1
  336. package/mobile/dist/components/Calculator/Rate.js.map +1 -1
  337. package/mobile/dist/components/Catalog/CatalogContent.d.ts +3 -4
  338. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  339. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +4 -4
  340. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  341. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  342. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +1 -2
  343. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  344. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  345. package/mobile/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  346. package/mobile/dist/components/Footer/TextInformationLink.d.ts +1 -1
  347. package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
  348. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -2
  349. package/mobile/dist/components/GroupBlock/GroupBlock.js +1 -1
  350. package/mobile/dist/components/GroupBlock/GroupBlock.js.map +1 -1
  351. package/mobile/dist/components/GroupBlock/GroupBlockTabs.d.ts +2 -3
  352. package/mobile/dist/components/GroupBlock/GroupBlockTabs.js +9 -7
  353. package/mobile/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  354. package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  355. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js +1 -1
  356. package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  357. package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -0
  358. package/mobile/dist/components/Header/DropdownMenu.js +6 -3
  359. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  360. package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
  361. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  362. package/mobile/dist/components/Headline/Headline.js +1 -1
  363. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  364. package/mobile/dist/components/Headline/HeadlineContent.d.ts +2 -4
  365. package/mobile/dist/components/Headline/constants.d.ts +9 -0
  366. package/mobile/dist/components/Headline/constants.js +33 -1
  367. package/mobile/dist/components/Headline/constants.js.map +1 -1
  368. package/mobile/dist/components/Insurance/Insurance.js +5 -5
  369. package/mobile/dist/components/Insurance/Insurance.js.map +1 -1
  370. package/mobile/dist/components/Insurance/InsuranceContent.d.ts +2 -5
  371. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  372. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  373. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  374. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  375. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -6
  376. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  377. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  378. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  379. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  380. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  381. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  382. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  383. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  384. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +1 -1
  385. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  386. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +2 -2
  387. package/mobile/dist/components/Placeholder/Placeholder.js +2 -4
  388. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  389. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
  390. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +4 -5
  391. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +3 -4
  392. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  393. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  394. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  395. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  396. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  397. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
  398. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
  399. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  400. package/mobile/dist/components/ProductTile/ProductTile.js +4 -5
  401. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  402. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +2 -3
  403. package/mobile/dist/components/PromoTile/PromoTile.js +2 -2
  404. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  405. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +3 -3
  406. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -4
  407. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  408. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  409. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  410. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +3 -1
  411. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  412. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +3 -4
  413. package/mobile/dist/components/Tile/Tile.js +3 -3
  414. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  415. package/mobile/dist/components/Tile/TileContent.d.ts +3 -3
  416. package/mobile/dist/hooks/useLink.d.ts +3 -1
  417. package/mobile/dist/hooks/useLink.js +1 -1
  418. package/mobile/dist/hooks/useLink.js.map +1 -1
  419. package/mobile/dist/model/HeadlineType.d.ts +17 -0
  420. package/{dist/ui-kit/Description/DescriptionContent.js → mobile/dist/model/HeadlineType.js} +1 -1
  421. package/mobile/dist/model/HeadlineType.js.map +1 -0
  422. package/mobile/dist/model/VNode.d.ts +1 -1
  423. package/mobile/dist/services/sitemap/findActiveSubItem.d.ts +1 -1
  424. package/mobile/dist/services/sitemap/findActiveSubItem.js +1 -1
  425. package/mobile/dist/services/sitemap/findActiveSubItem.js.map +1 -1
  426. package/mobile/dist/types.d.ts +0 -1
  427. package/mobile/dist/ui-kit/Breadcrumb.d.ts +1 -1
  428. package/mobile/dist/ui-kit/Button/Button.js +1 -1
  429. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  430. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  431. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  432. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +3 -1
  433. package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -1
  434. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  435. package/mobile/dist/ui-kit/Button/LikeButton.d.ts +1 -1
  436. package/mobile/dist/ui-kit/Button/renderArrows.d.ts +2 -4
  437. package/mobile/dist/ui-kit/Button/renderArrows.js.map +1 -1
  438. package/mobile/dist/ui-kit/Description/Description.d.ts +2 -2
  439. package/mobile/dist/ui-kit/Description/Description.js +1 -1
  440. package/mobile/dist/ui-kit/Description/Description.js.map +1 -1
  441. package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +1 -1
  442. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  443. package/mobile/dist/ui-kit/Heading/Heading.d.ts +1 -5
  444. package/mobile/dist/ui-kit/Heading/Heading.js +2 -5
  445. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  446. package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +20 -0
  447. package/mobile/dist/ui-kit/{Description/DescriptionContent.js → Heading/HeadingProps.js} +1 -1
  448. package/mobile/dist/ui-kit/Heading/HeadingProps.js.map +1 -0
  449. package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -2
  450. package/mobile/dist/ui-kit/SVG.d.ts +2 -2
  451. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +3 -3
  452. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  453. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
  454. package/mobile/dist/ui-kit/Tabs/TabsProps.d.ts +1 -2
  455. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  456. package/mobile/dist/utils/url.d.ts +1 -0
  457. package/mobile/dist/utils/url.js +3 -1
  458. package/mobile/dist/utils/url.js.map +1 -1
  459. package/mobile/lib/components/Accordion/useActiveHandler.d.ts +1 -1
  460. package/mobile/lib/components/Accordion/useActiveHandler.js +4 -4
  461. package/mobile/lib/components/Accordion/useActiveHandler.js.map +1 -1
  462. package/mobile/lib/components/BaseTile/BaseTile.js +1 -1
  463. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  464. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +7 -26
  465. package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +1 -1
  466. package/mobile/lib/components/BaseTile/getTileHeadingType.js +3 -3
  467. package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +1 -1
  468. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
  469. package/mobile/lib/components/Bonus/BonusContent.d.ts +2 -3
  470. package/mobile/lib/components/Calculator/Rate.js +1 -1
  471. package/mobile/lib/components/Calculator/Rate.js.map +1 -1
  472. package/mobile/lib/components/Catalog/CatalogContent.d.ts +3 -4
  473. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  474. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +4 -4
  475. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  476. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
  477. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +1 -2
  478. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  479. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  480. package/mobile/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  481. package/mobile/lib/components/Footer/TextInformationLink.d.ts +1 -1
  482. package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
  483. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -2
  484. package/mobile/lib/components/GroupBlock/GroupBlock.js +1 -1
  485. package/mobile/lib/components/GroupBlock/GroupBlock.js.map +1 -1
  486. package/mobile/lib/components/GroupBlock/GroupBlockTabs.d.ts +2 -3
  487. package/mobile/lib/components/GroupBlock/GroupBlockTabs.js +9 -7
  488. package/mobile/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
  489. package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  490. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js +1 -1
  491. package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +1 -1
  492. package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -0
  493. package/mobile/lib/components/Header/DropdownMenu.js +6 -3
  494. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  495. package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
  496. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  497. package/mobile/lib/components/Headline/Headline.js +1 -1
  498. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  499. package/mobile/lib/components/Headline/HeadlineContent.d.ts +2 -4
  500. package/mobile/lib/components/Headline/constants.d.ts +9 -0
  501. package/mobile/lib/components/Headline/constants.js +32 -0
  502. package/mobile/lib/components/Headline/constants.js.map +1 -1
  503. package/mobile/lib/components/Insurance/Insurance.js +5 -5
  504. package/mobile/lib/components/Insurance/Insurance.js.map +1 -1
  505. package/mobile/lib/components/Insurance/InsuranceContent.d.ts +2 -5
  506. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
  507. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  508. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  509. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  510. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -6
  511. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +1 -1
  512. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  513. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +1 -1
  514. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -1
  515. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
  516. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  517. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +1 -1
  518. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  519. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +1 -1
  520. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  521. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +2 -2
  522. package/mobile/lib/components/Placeholder/Placeholder.js +2 -4
  523. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  524. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
  525. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +4 -5
  526. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +3 -4
  527. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  528. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  529. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  530. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  531. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  532. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
  533. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
  534. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  535. package/mobile/lib/components/ProductTile/ProductTile.js +4 -5
  536. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  537. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +2 -3
  538. package/mobile/lib/components/PromoTile/PromoTile.js +2 -2
  539. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  540. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +3 -3
  541. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -4
  542. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  543. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  544. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  545. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +3 -1
  546. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  547. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +3 -4
  548. package/mobile/lib/components/Tile/Tile.js +3 -3
  549. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  550. package/mobile/lib/components/Tile/TileContent.d.ts +3 -3
  551. package/mobile/lib/hooks/useLink.d.ts +3 -1
  552. package/mobile/lib/hooks/useLink.js +1 -1
  553. package/mobile/lib/hooks/useLink.js.map +1 -1
  554. package/mobile/lib/model/HeadlineType.d.ts +17 -0
  555. package/mobile/lib/model/HeadlineType.js +2 -0
  556. package/mobile/lib/model/HeadlineType.js.map +1 -0
  557. package/mobile/lib/model/VNode.d.ts +1 -1
  558. package/mobile/lib/services/sitemap/findActiveSubItem.d.ts +1 -1
  559. package/mobile/lib/services/sitemap/findActiveSubItem.js +1 -1
  560. package/mobile/lib/services/sitemap/findActiveSubItem.js.map +1 -1
  561. package/mobile/lib/types.d.ts +0 -1
  562. package/mobile/lib/ui-kit/Breadcrumb.d.ts +1 -1
  563. package/mobile/lib/ui-kit/Button/Button.js +1 -1
  564. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  565. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  566. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  567. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +3 -1
  568. package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -1
  569. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  570. package/mobile/lib/ui-kit/Button/LikeButton.d.ts +1 -1
  571. package/mobile/lib/ui-kit/Button/renderArrows.d.ts +2 -4
  572. package/mobile/lib/ui-kit/Button/renderArrows.js.map +1 -1
  573. package/mobile/lib/ui-kit/Description/Description.d.ts +2 -2
  574. package/mobile/lib/ui-kit/Description/Description.js +1 -1
  575. package/mobile/lib/ui-kit/Description/Description.js.map +1 -1
  576. package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +1 -1
  577. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  578. package/mobile/lib/ui-kit/Heading/Heading.d.ts +1 -5
  579. package/mobile/lib/ui-kit/Heading/Heading.js +2 -5
  580. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  581. package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +20 -0
  582. package/mobile/lib/ui-kit/Heading/HeadingProps.js +2 -0
  583. package/mobile/lib/ui-kit/Heading/HeadingProps.js.map +1 -0
  584. package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -2
  585. package/mobile/lib/ui-kit/SVG.d.ts +2 -2
  586. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +3 -3
  587. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  588. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -3
  589. package/mobile/lib/ui-kit/Tabs/TabsProps.d.ts +1 -2
  590. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  591. package/mobile/lib/utils/url.d.ts +1 -0
  592. package/mobile/lib/utils/url.js +1 -0
  593. package/mobile/lib/utils/url.js.map +1 -1
  594. package/mobile/src/components/Accordion/useActiveHandler.ts +5 -5
  595. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -1
  596. package/mobile/src/components/BaseTile/BaseTileProps.ts +7 -30
  597. package/mobile/src/components/BaseTile/getTileHeadingType.ts +3 -3
  598. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +8 -9
  599. package/mobile/src/components/Blocks.spec.tsx +74 -0
  600. package/mobile/src/components/Bonus/BonusContent.ts +5 -7
  601. package/mobile/src/components/Calculator/Calculator.tsx +3 -3
  602. package/mobile/src/components/Calculator/Rate.tsx +1 -1
  603. package/mobile/src/components/Catalog/CatalogContent.ts +6 -8
  604. package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +6 -6
  605. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +2 -2
  606. package/mobile/src/components/ContentPage/ContentPageContext.tsx +1 -2
  607. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +6 -6
  608. package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +1 -1
  609. package/mobile/src/components/Footer/TextInformationLink.tsx +2 -4
  610. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +2 -2
  611. package/mobile/src/components/GroupBlock/GroupBlock.tsx +5 -3
  612. package/mobile/src/components/GroupBlock/GroupBlockTabs.tsx +23 -24
  613. package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +3 -3
  614. package/mobile/src/components/Header/DropdownMenu.tsx +23 -10
  615. package/mobile/src/components/Header/HeaderSubMenu.tsx +2 -1
  616. package/mobile/src/components/Headline/Headline.example.json +1 -0
  617. package/mobile/src/components/Headline/Headline.tsx +1 -1
  618. package/mobile/src/components/Headline/HeadlineContent.ts +2 -5
  619. package/mobile/src/components/Headline/constants.ts +42 -0
  620. package/mobile/src/components/Insurance/Insurance.tsx +15 -10
  621. package/mobile/src/components/Insurance/InsuranceContent.ts +2 -5
  622. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +5 -5
  623. package/mobile/src/components/LinkDocs/LinkDocs.example.json +1 -0
  624. package/mobile/src/components/LinkDocs/LinkDocs.tsx +0 -1
  625. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +3 -6
  626. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
  627. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +1 -3
  628. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +2 -4
  629. package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +2 -2
  630. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +2 -2
  631. package/mobile/src/components/PictureText/PictureTextContent.ts +2 -2
  632. package/mobile/src/components/Placeholder/Placeholder.tsx +8 -19
  633. package/mobile/src/components/Placeholder/PlaceholderContent.ts +2 -3
  634. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +4 -7
  635. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +10 -21
  636. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  637. package/mobile/src/components/ProductBlock/renderBenefit.tsx +2 -6
  638. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +5 -5
  639. package/mobile/src/components/ProductTile/ProductTile.example.json +1 -1
  640. package/mobile/src/components/ProductTile/ProductTile.tsx +10 -15
  641. package/mobile/src/components/ProductTile/ProductTileContent.ts +2 -5
  642. package/mobile/src/components/PromoTile/PromoTile.tsx +10 -6
  643. package/mobile/src/components/PromoTile/PromoTileContent.ts +4 -4
  644. package/mobile/src/components/Recommendation/RecommendationContent.ts +4 -8
  645. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -4
  646. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +4 -1
  647. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +12 -14
  648. package/mobile/src/components/Tile/Tile.tsx +7 -11
  649. package/mobile/src/components/Tile/TileContent.ts +4 -5
  650. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +755 -0
  651. package/mobile/src/hooks/useLink.ts +2 -2
  652. package/mobile/src/model/HeadlineType.ts +21 -0
  653. package/mobile/src/model/VNode.ts +1 -1
  654. package/mobile/src/services/sitemap/findActiveSubItem.ts +2 -2
  655. package/mobile/src/types.ts +0 -2
  656. package/mobile/src/ui-kit/Breadcrumb.tsx +1 -1
  657. package/mobile/src/ui-kit/Button/Button.tsx +2 -2
  658. package/mobile/src/ui-kit/Button/ButtonInner.tsx +3 -3
  659. package/mobile/src/ui-kit/Button/ButtonProps.ts +1 -1
  660. package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
  661. package/mobile/src/ui-kit/Button/LikeButton.tsx +1 -1
  662. package/mobile/src/ui-kit/Button/renderArrows.tsx +2 -3
  663. package/mobile/src/ui-kit/Description/Description.tsx +3 -3
  664. package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +1 -1
  665. package/mobile/src/ui-kit/Heading/Heading.tsx +3 -13
  666. package/mobile/src/ui-kit/Heading/HeadingProps.ts +24 -0
  667. package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +1 -3
  668. package/mobile/src/ui-kit/SVG.tsx +2 -2
  669. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
  670. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -4
  671. package/mobile/src/ui-kit/Tabs/TabsProps.ts +1 -2
  672. package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -1
  673. package/mobile/src/utils/url.ts +2 -0
  674. package/package.json +3 -1
  675. package/src/components/Accordion/useActiveHandler.ts +5 -5
  676. package/src/components/BaseTile/BaseTile.tsx +1 -1
  677. package/src/components/BaseTile/BaseTileProps.ts +7 -30
  678. package/src/components/BaseTile/getTileHeadingType.ts +3 -3
  679. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +8 -9
  680. package/src/components/Blocks.spec.tsx +74 -0
  681. package/src/components/Bonus/BonusContent.ts +5 -7
  682. package/src/components/Calculator/Calculator.tsx +3 -3
  683. package/src/components/Calculator/Rate.tsx +1 -1
  684. package/src/components/Catalog/CatalogContent.ts +6 -8
  685. package/src/components/ComparisonTable/ComparisonTable.tsx +4 -6
  686. package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +6 -6
  687. package/src/components/ComparisonTable/ComparisonTableRows.tsx +2 -2
  688. package/src/components/ComparisonTable/HeaderCell.tsx +0 -1
  689. package/src/components/ContentPage/ContentPageContext.tsx +1 -2
  690. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +6 -6
  691. package/src/components/Footer/HorizontalNavigationLink.tsx +1 -1
  692. package/src/components/Footer/TextInformationLink.tsx +2 -4
  693. package/src/components/GracePeriod/GracePeriodContent.ts +2 -2
  694. package/src/components/GroupBlock/GroupBlock.tsx +5 -3
  695. package/src/components/GroupBlock/GroupBlockTabs.tsx +23 -24
  696. package/src/components/GroupBlock/GroupBlocksItem.tsx +3 -3
  697. package/src/components/Header/DropdownMenu.tsx +23 -10
  698. package/src/components/Header/Header.tsx +1 -1
  699. package/src/components/Header/HeaderSubMenu.tsx +2 -1
  700. package/src/components/Headline/Headline.example.json +1 -0
  701. package/src/components/Headline/Headline.fixture.tsx +25 -0
  702. package/src/components/Headline/Headline.mobile.tsx +1 -1
  703. package/src/components/Headline/Headline.tsx +13 -7
  704. package/src/components/Headline/HeadlineContent.ts +2 -5
  705. package/src/components/Headline/constants.ts +42 -0
  706. package/src/components/Insurance/Insurance.tsx +15 -10
  707. package/src/components/Insurance/InsuranceContent.ts +2 -5
  708. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +5 -5
  709. package/src/components/LinkDocs/LinkDocs.example.json +1 -0
  710. package/src/components/LinkDocs/LinkDocs.mobile.tsx +0 -1
  711. package/src/components/LinkDocs/LinkDocs.tsx +4 -3
  712. package/src/components/LinkDocs/LinkDocsContent.ts +3 -6
  713. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +1 -1
  714. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +1 -3
  715. package/src/components/MobileAppTile/MobileAppTile.tsx +4 -3
  716. package/src/components/MobileAppTile/MobileAppTileContent.ts +2 -4
  717. package/src/components/NavigatorTabs/NavigatorTabItem.tsx +2 -2
  718. package/src/components/OtherProducts/OtherProductsItem.tsx +2 -2
  719. package/src/components/PictureText/PictureTextContent.ts +2 -2
  720. package/src/components/Placeholder/Placeholder.tsx +8 -19
  721. package/src/components/Placeholder/PlaceholderContent.ts +2 -3
  722. package/src/components/ProductBlock/ProductBlock.fixture.tsx +5 -5
  723. package/src/components/ProductBlock/ProductBlockContent.ts +4 -7
  724. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +10 -21
  725. package/src/components/ProductBlock/ProductBlockInner.tsx +11 -26
  726. package/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  727. package/src/components/ProductBlock/renderBenefit.mobile.tsx +2 -6
  728. package/src/components/ProductBlock/renderBenefit.tsx +2 -4
  729. package/src/components/ProductGallery/ProductGallery.fixture.tsx +8 -8
  730. package/src/components/ProductGallery/ProductGalleryBlock.tsx +5 -5
  731. package/src/components/ProductTile/ProductTile.example.json +1 -1
  732. package/src/components/ProductTile/ProductTile.fixture.tsx +2 -6
  733. package/src/components/ProductTile/ProductTile.tsx +10 -15
  734. package/src/components/ProductTile/ProductTileContent.ts +2 -5
  735. package/src/components/PromoTile/PromoTile.tsx +10 -6
  736. package/src/components/PromoTile/PromoTileContent.ts +4 -4
  737. package/src/components/Recommendation/RecommendationContent.ts +4 -8
  738. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -4
  739. package/src/components/StepsBlock/StepsBlock.tsx +14 -13
  740. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +4 -1
  741. package/src/components/TariffsTable/TariffsTableContent.ts +12 -14
  742. package/src/components/Tile/Tile.tsx +7 -11
  743. package/src/components/Tile/TileContent.ts +4 -5
  744. package/src/components/__snapshots__/Blocks.spec.tsx.snap +755 -0
  745. package/src/hooks/useLink.ts +2 -2
  746. package/src/model/HeadlineType.ts +21 -0
  747. package/src/model/VNode.ts +1 -1
  748. package/src/services/sitemap/findActiveSubItem.ts +2 -2
  749. package/src/types.ts +0 -2
  750. package/src/ui-kit/Breadcrumb.tsx +1 -1
  751. package/src/ui-kit/Button/Button.mobile.tsx +2 -2
  752. package/src/ui-kit/Button/Button.tsx +2 -2
  753. package/src/ui-kit/Button/ButtonInner.tsx +3 -3
  754. package/src/ui-kit/Button/ButtonProps.ts +1 -1
  755. package/src/ui-kit/Button/ButtonSection.tsx +1 -1
  756. package/src/ui-kit/Button/LikeButton.tsx +1 -1
  757. package/src/ui-kit/Button/renderArrows.tsx +2 -3
  758. package/src/ui-kit/Description/Description.tsx +3 -3
  759. package/src/ui-kit/Foldable/useActiveHandler.ts +1 -1
  760. package/src/ui-kit/Heading/Heading.mobile.tsx +3 -13
  761. package/src/ui-kit/Heading/Heading.tsx +9 -19
  762. package/src/ui-kit/Heading/HeadingProps.ts +24 -0
  763. package/src/ui-kit/InputRange/InputRangeProps.ts +1 -3
  764. package/src/ui-kit/SVG.tsx +2 -2
  765. package/src/ui-kit/SearchBar/SearchBarInner.tsx +3 -3
  766. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -4
  767. package/src/ui-kit/Tabs/TabsProps.ts +1 -2
  768. package/src/ui-kit/TopItem/TopItem.tsx +1 -1
  769. package/src/utils/url.ts +2 -0
  770. package/dist/ui-kit/Description/DescriptionContent.d.ts +0 -4
  771. package/dist/ui-kit/Description/DescriptionContent.js.map +0 -1
  772. package/dist/ui-kit/Heading/HeadingContent.d.ts +0 -15
  773. package/dist/ui-kit/Heading/HeadingContent.js.map +0 -1
  774. package/lib/ui-kit/Description/DescriptionContent.d.ts +0 -4
  775. package/lib/ui-kit/Description/DescriptionContent.js +0 -2
  776. package/lib/ui-kit/Description/DescriptionContent.js.map +0 -1
  777. package/lib/ui-kit/Heading/HeadingContent.d.ts +0 -15
  778. package/lib/ui-kit/Heading/HeadingContent.js +0 -2
  779. package/lib/ui-kit/Heading/HeadingContent.js.map +0 -1
  780. package/mobile/dist/ui-kit/Description/DescriptionContent.d.ts +0 -4
  781. package/mobile/dist/ui-kit/Description/DescriptionContent.js.map +0 -1
  782. package/mobile/dist/ui-kit/Heading/HeadingContent.d.ts +0 -15
  783. package/mobile/dist/ui-kit/Heading/HeadingContent.js.map +0 -1
  784. package/mobile/lib/ui-kit/Description/DescriptionContent.d.ts +0 -4
  785. package/mobile/lib/ui-kit/Description/DescriptionContent.js +0 -2
  786. package/mobile/lib/ui-kit/Description/DescriptionContent.js.map +0 -1
  787. package/mobile/lib/ui-kit/Heading/HeadingContent.d.ts +0 -15
  788. package/mobile/lib/ui-kit/Heading/HeadingContent.js +0 -2
  789. package/mobile/lib/ui-kit/Heading/HeadingContent.js.map +0 -1
  790. package/mobile/src/ui-kit/Description/DescriptionContent.ts +0 -4
  791. package/mobile/src/ui-kit/Heading/HeadingContent.ts +0 -17
  792. package/src/ui-kit/Description/DescriptionContent.ts +0 -4
  793. package/src/ui-kit/Heading/HeadingContent.ts +0 -17
@@ -1,56 +1,55 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { TabsItemProps } from './GroupBlock';
3
3
 
4
- export type TabClickHandler = (tag) => void;
5
-
6
4
  export interface GroupBlockTabsProps {
7
- onTabClick: TabClickHandler;
8
- currentTag?: string;
9
5
  className?: string;
6
+ currentTag?: string;
10
7
  tabs?: TabsItemProps[];
11
8
  isShowCounter?: boolean;
9
+ onTabClick: (tag?: string) => void;
12
10
  }
13
11
 
14
12
  export const GroupBlockTabs = JSX<GroupBlockTabsProps>((props) => {
15
- const { tabs, currentTag, onTabClick, className = '', isShowCounter = false } = props;
13
+ const { className = '', tabs, currentTag, isShowCounter = false, onTabClick } = props;
16
14
 
17
15
  return (
18
- <div className={`mb-2 box-border flex gap-x-1 ${className}`} role="tablist">
19
- {tabs?.map(renderTab(onTabClick, currentTag, isShowCounter))}
16
+ <div className={`box-border flex gap-x-1 h-14 ${className}`} role="tablist">
17
+ {tabs?.map(renderTab({ currentTag, isShowCounter, onTabClick }))}
20
18
  </div>
21
19
  );
22
20
  });
23
21
 
24
- const badgeStyle = 'min-w-[22px] w-[22px] h-[22px] rounded-full text-m-sm';
22
+ const badgeStyle = 'min-w-[22px] w-[22px] h-[22px] rounded-full text-xs ml-2';
25
23
 
26
24
  const renderTab =
27
- (onTabClick: TabClickHandler, currentTag?: string, isShowCounter = false) =>
25
+ ({ currentTag, isShowCounter, onTabClick }: GroupBlockTabsProps) =>
28
26
  (tab: TabsItemProps, i: number) => {
29
27
  const isActive = currentTag === tab.tag;
28
+
30
29
  const tabBg = isActive ? 'bg-primary-main' : 'group bg-white';
31
- const tabText = isActive ? 'text-white' : 'text-secondary-text group-hover:text-primary-main';
30
+
31
+ const tabText = `text-m ${
32
+ isActive ? 'text-white' : 'text-secondary-text group-hover:text-primary-main'
33
+ }`;
32
34
  const counterBlockStyle = `${badgeStyle}
33
- ${isActive ? 'bg-white/30 text-white' : 'bg-secondary-light text-secondary-text'}`;
35
+ ${
36
+ isActive
37
+ ? 'bg-white/30 text-white'
38
+ : 'bg-main-divider text-secondary-text group-hover:text-primary-main'
39
+ }`;
34
40
 
35
41
  return (
36
42
  <div
37
43
  key={String(i)}
38
- className={`flex h-full w-full h-12 flex-1 cursor-pointer mr-2 last:mr-0 box-content ${tabBg}`}
44
+ className={`flex-1 flex items-center justify-center cursor-pointer ${tabBg}`}
39
45
  role="tab"
40
46
  onClick={() => onTabClick(tab.tag)}
41
- aria-selected={String(isActive)}
42
- tag={tab?.tag}
47
+ aria-selected={isActive}
43
48
  >
44
- <div className="flex flex-1 items-center justify-center">
45
- {tab?.title ? <h3 className={tabText}>{tab?.title}</h3> : null}
46
- {isShowCounter ? (
47
- <div
48
- className={`flex items-center justify-center ml-8 text-s-bold ${counterBlockStyle}`}
49
- >
50
- <span>{tab.count}</span>
51
- </div>
52
- ) : null}
53
- </div>
49
+ {tab?.title ? <div className={tabText}>{tab.title}</div> : null}
50
+ {isShowCounter ? (
51
+ <div className={`flex items-center justify-center ${counterBlockStyle}`}>{tab.count}</div>
52
+ ) : null}
54
53
  </div>
55
54
  );
56
55
  };
@@ -1,8 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { JSXBlock } from '../ContentPage/ContentPage';
3
- import type { ContentPageContext } from '../ContentPage/ContentPageContext';
4
2
  import type { UniBlockProps } from '../../types';
5
3
  import { style2className } from '../../utils/style2className';
4
+ import type { JSXBlock } from '../ContentPage/ContentPage';
5
+ import type { ContentPageContext } from '../ContentPage/ContentPageContext';
6
6
  import type { GroupBlockDef } from './BlocksTypeProps';
7
7
  import { EmbeddableGroupBlocks } from './EmbeddableGroupBlocks';
8
8
  import { GroupBlockContent } from './GroupBlockContent';
@@ -11,7 +11,7 @@ export interface GroupBlocksProps extends GroupBlockContent, UniBlockProps {}
11
11
 
12
12
  export const GroupBlocksItem = JSX<GroupBlocksProps>(({ groupBlocks, context }) => {
13
13
  return (
14
- <div className="grid grid-cols-12 gap-2 box-border">
14
+ <div className="grid grid-cols-12 gap-1 box-border">
15
15
  {groupBlocks?.length ? groupBlocks.map(renderBlock(context)) : null}
16
16
  </div>
17
17
  );
@@ -20,13 +20,13 @@ interface DropdownMenuProps extends UniBlockProps {
20
20
  menuItems: LinkProps[];
21
21
  bgColor?: BgColorVersion;
22
22
  context: ContentPageContext;
23
+ activeSubItem?: LinkProps;
23
24
  }
24
25
 
25
26
  export const DropdownMenu = JSX<DropdownMenuProps>((props) => {
26
- const { menuVisible, toggleMenu, menuItems, bgColor, context } = props;
27
+ const { menuVisible, toggleMenu, menuItems, bgColor, context, activeSubItem } = props;
27
28
 
28
29
  const { useRouter, handlerDecorator } = context;
29
-
30
30
  const router = useRouter();
31
31
 
32
32
  return (
@@ -46,26 +46,39 @@ export const DropdownMenu = JSX<DropdownMenuProps>((props) => {
46
46
  className={`flex flex-col rounded-md bg-white p-6 pb-2 ${menuVisible ? '' : 'hidden'}`}
47
47
  aria-hidden={!menuVisible}
48
48
  >
49
- {renderDotsSubMenuItems(menuItems, router, handlerDecorator)}
49
+ {renderDotsSubMenuItems({ menuItems, router, handlerDecorator, activeSubItem })}
50
50
  </div>
51
51
  </div>
52
52
  );
53
53
  });
54
54
 
55
- const renderDotsSubMenuItems = (
56
- menuItems: LinkProps[],
57
- router: Router,
58
- handlerDecorator: HandlerDecorator | undefined,
59
- ) =>
60
- menuItems?.map((_) => (
55
+ type DotsSubMenuItemsProps = {
56
+ menuItems: LinkProps[];
57
+ router: Router;
58
+ handlerDecorator: HandlerDecorator | undefined;
59
+ activeSubItem?: LinkProps;
60
+ };
61
+
62
+ const renderDotsSubMenuItems = ({
63
+ menuItems,
64
+ router,
65
+ handlerDecorator,
66
+ activeSubItem,
67
+ }: DotsSubMenuItemsProps) => {
68
+ const isActive = (item) => item === activeSubItem;
69
+
70
+ return menuItems?.map((_) => (
61
71
  <a
62
72
  key={_.href}
63
73
  {...useLink({ router, handlerDecorator }, _)}
64
- className="text-base font-light pb-4 hover:text-primary-main"
74
+ className={`text-base font-light pb-4 hover:text-primary-main ${
75
+ isActive(_) ? 'text-primary-main' : ''
76
+ }`}
65
77
  >
66
78
  {_.text}
67
79
  </a>
68
80
  ));
81
+ };
69
82
 
70
83
  const renderDot = (bgColor: BgColorVersion, i: number) => (
71
84
  <div key={String(i)} className={`w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}`} />
@@ -40,7 +40,7 @@ export const HeaderSubMenu = JSX<HeaderSubMenuProps>(({ context, subItems = [],
40
40
 
41
41
  return (
42
42
  <nav className="relative mt-5">
43
- <div className="overflow-hidden whitespace-nowrap mr-52">
43
+ <div className="overflow-hidden whitespace-nowrap mr-52 pb-3">
44
44
  {subItems.map((_, i) => (
45
45
  <IntersectionObserverTag
46
46
  Tag="span"
@@ -60,6 +60,7 @@ export const HeaderSubMenu = JSX<HeaderSubMenuProps>(({ context, subItems = [],
60
60
  {dropDownMenuItems.length ? (
61
61
  <DropdownMenu
62
62
  context={context}
63
+ activeSubItem={activeSubItem}
63
64
  menuVisible={menuVisible}
64
65
  toggleMenu={toggleMenu}
65
66
  menuItems={dropDownMenuItems}
@@ -3,6 +3,7 @@
3
3
  "description": "Описание",
4
4
  "align": "center",
5
5
  "bgColorHeadline": "transparent",
6
+ "headlineVersion": "M",
6
7
  "image": {
7
8
  "format": "webp",
8
9
  "size": {
@@ -30,7 +30,7 @@ export const Headline = JSX<HeadlineProps>(
30
30
  ) : null}
31
31
  {description ? (
32
32
  <p
33
- className={`font-normal text-m-md ${STYLE_MAPS.description} ${ALIGN_TEXT[align]} `}
33
+ className={`font-normal text-m ${STYLE_MAPS.description} ${ALIGN_TEXT[align]} `}
34
34
  >
35
35
  {description}
36
36
  </p>
@@ -1,16 +1,13 @@
1
1
  import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
2
- import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
3
- import type { HeadingContent, HeadingType } from '../../ui-kit/Heading/HeadingContent';
4
2
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
5
3
  import type { AlignType } from '../../model/AlignType';
4
+ import type { HeadlineProps } from '../../model/HeadlineType';
6
5
 
7
6
  /**
8
7
  * @title Заголовок
9
8
  */
10
- export type HeadlineContent = HeadingContent &
11
- DescriptionContent &
9
+ export type HeadlineContent = HeadlineProps &
12
10
  ImageContent & {
13
11
  align?: AlignType;
14
12
  bgColorHeadline?: BlockVersionWithTransparent;
15
- headingType?: HeadingType;
16
13
  };
@@ -1,5 +1,7 @@
1
1
  import type { AlignType } from '../../model/AlignType';
2
2
  import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
3
+ import type { HeadlineVersion } from '../../model/HeadlineType';
4
+ import type { HeadingTagType, HeadingType } from '../../ui-kit/Heading/HeadingProps';
3
5
 
4
6
  export const ALIGN_TEXT: Record<AlignType, string> = {
5
7
  left: 'text-left',
@@ -13,6 +15,13 @@ type StyleType = {
13
15
  description: string;
14
16
  };
15
17
 
18
+ type VersionStyleType = {
19
+ descriptionFont: string;
20
+ gap: string;
21
+ headingType: HeadingType;
22
+ as: HeadingTagType;
23
+ };
24
+
16
25
  export const HEADLINE_BLOCK_STYLE_MAPS: Record<BlockVersionWithTransparent, StyleType> = {
17
26
  transparent: {
18
27
  background: 'bg-transparent',
@@ -30,3 +39,36 @@ export const HEADLINE_BLOCK_STYLE_MAPS: Record<BlockVersionWithTransparent, Styl
30
39
  description: 'text-white/80',
31
40
  },
32
41
  };
42
+
43
+ export const HEADLINE_VERSION: Record<HeadlineVersion, VersionStyleType> = {
44
+ XXL: {
45
+ descriptionFont: 'text-h4-alt',
46
+ gap: 'gap-[18px]',
47
+ headingType: 'h0', // 56
48
+ as: 'h1',
49
+ },
50
+ XL: {
51
+ descriptionFont: 'text-xl-light',
52
+ gap: 'gap-4',
53
+ headingType: 'h1', // 50
54
+ as: 'h1',
55
+ },
56
+ L: {
57
+ descriptionFont: 'text-xl-light',
58
+ gap: 'gap-4',
59
+ headingType: 'h2', // 40
60
+ as: 'h2',
61
+ },
62
+ M: {
63
+ descriptionFont: 'text-xl-light',
64
+ gap: 'gap-3',
65
+ headingType: 'h3', // 32
66
+ as: 'h3',
67
+ },
68
+ S: {
69
+ descriptionFont: 'text-xl-light',
70
+ gap: 'gap-2',
71
+ headingType: 'h4',
72
+ as: 'h4',
73
+ },
74
+ };
@@ -1,22 +1,29 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
3
3
  import type { UniBlockProps } from '../../types';
4
- import { Heading } from '../../ui-kit/Heading/Heading';
5
4
  import { Img } from '../../ui-kit/Img/Img';
6
5
  import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers';
7
6
  import type { InsuranceBenefit, InsuranceContent } from './InsuranceContent';
7
+ import { Headline } from '../Headline/Headline';
8
8
 
9
9
  export interface InsuranceProps extends InsuranceContent, UniBlockProps {}
10
10
 
11
11
  export const Insurance = JSX<InsuranceProps>(
12
- ({ className = '', title, description, image, benefits, sum, monthLimit, ...rest }) => {
12
+ ({ context, className = '', title, description, image, benefits, sum, monthLimit, ...rest }) => {
13
13
  return (
14
14
  <BlockWrapper
15
15
  className={`px-[100px] py-[50px] bg-white text-primary-text font-sans ${className}`}
16
+ context={context}
16
17
  {...rest}
17
18
  >
18
- {title ? <Heading headingType="h3" title={title} className="text-center" /> : null}
19
- {description ? <div className="text-center text-md mt-3">{description}</div> : null}
19
+ <Headline
20
+ context={context}
21
+ className="!p-0"
22
+ title={title}
23
+ description={description}
24
+ headlineVersion="M"
25
+ align="center"
26
+ />
20
27
  <div>
21
28
  <div className="mt-5 mx-auto flex justify-center gap-[122px] mt-[30px]">
22
29
  {image?.src ? <Img image={image} /> : null}
@@ -44,11 +51,9 @@ function renderBenefit(benefit: InsuranceBenefit, i: number) {
44
51
  />
45
52
  ) : null}
46
53
  <div>
47
- {benefit?.label ? <div className="text-title-2xs font-normal">{benefit.label}</div> : null}
54
+ {benefit?.label ? <div className="text-h6">{benefit.label}</div> : null}
48
55
  {benefit?.description ? (
49
- <div className="mt-0.5 font-light text-secondary-text font-light">
50
- {benefit.description}
51
- </div>
56
+ <div className="mt-0.5 text-secondary-text text-m">{benefit.description}</div>
52
57
  ) : null}
53
58
  </div>
54
59
  </div>
@@ -71,8 +76,8 @@ function renderValueBlock(title, sum, isAnotherBlock) {
71
76
 
72
77
  return (
73
78
  <div className={`flex justify-between items-center gap-2 w-full ${widthStyle}`}>
74
- <span className="text-secondary-text text-base">{title}</span>
75
- <span className="text-primary-main text-title-2xs">{addSpacesBetweenNumbers(sum)} ₽</span>
79
+ <span className="text-secondary-text text-l-light">{title}</span>
80
+ <span className="text-primary-main text-h6">{addSpacesBetweenNumbers(sum)} ₽</span>
76
81
  </div>
77
82
  );
78
83
  }
@@ -1,4 +1,5 @@
1
1
  import type { Picture } from '../../model/Picture';
2
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
2
3
 
3
4
  /**
4
5
  * @title Преимущество
@@ -14,11 +15,7 @@ export interface InsuranceBenefit {
14
15
  /**
15
16
  * @title Страховка
16
17
  */
17
- export type InsuranceContent = {
18
- /** @title Заголовок */
19
- title?: string;
20
- /** @title Описание */
21
- description?: string;
18
+ export type InsuranceContent = HeadlineCommonProps & {
22
19
  image?: Picture;
23
20
  /** @title Ежемесячный лимит */
24
21
  monthLimit?: number;
@@ -1,8 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { FuncReturnVoid, UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../types';
3
+ import { Button } from '../../ui-kit/Button/Button';
3
4
  import { renderArrows } from '../../ui-kit/Button/renderArrows';
4
5
  import { Img } from '../../ui-kit/Img/Img';
5
- import { Button } from '../../ui-kit/Button/Button';
6
6
  import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers';
7
7
  import type { CardItem, InsuranceAmountBlockTabs } from './InsuranceAmountBlockContent';
8
8
 
@@ -13,14 +13,14 @@ type InsuranceGalleryProps = {
13
13
  cards: CardItem[];
14
14
  activeSlideIndex: number;
15
15
  isLastShift: boolean;
16
- setActiveSlideIndex: FuncReturnVoid<number>;
16
+ setActiveSlideIndex: (index: number) => void;
17
17
  };
18
18
 
19
19
  type InsuranceSlideProps = {
20
20
  slide: CardItem;
21
21
  i: number;
22
22
  activeSlideIndex: number;
23
- onClick: FuncReturnVoid<MouseEvent>;
23
+ onClick: () => void;
24
24
  };
25
25
 
26
26
  export const InsuranceAmountBlockInner = JSX<InsuranceAmountBlockInnerProps>(
@@ -40,7 +40,7 @@ export const InsuranceAmountBlockInner = JSX<InsuranceAmountBlockInnerProps>(
40
40
  const activeHref = cards[activeSlideIndex]?.href;
41
41
 
42
42
  return (
43
- <section className={`min-w-full text-center ${className}`}>
43
+ <section role="listitem" className={`min-w-full text-center ${className}`}>
44
44
  <div className="relative mt-7 overflow-hidden">
45
45
  {galleryLength
46
46
  ? renderGallery({
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "title": "Список документов",
3
3
  "description": "Описание",
4
+ "headlineVersion": "M",
4
5
  "icon": {
5
6
  "icon": "DocIcon"
6
7
  },
@@ -28,7 +28,6 @@ export const LinkDocs = JSX<LinkDocsProps>(
28
28
  description={description}
29
29
  context={context}
30
30
  align="center"
31
- headingType="h3"
32
31
  />
33
32
  {orientation === 'vertical' ? (
34
33
  <LinkDocsVerticalList hasBorder={hasBorder} documents={documents} icon={icon} />
@@ -2,6 +2,7 @@ import type { LinkProps } from '../../model/LinkProps';
2
2
  import type { AlignType } from '../../model/AlignType';
3
3
  import type { ListOrientation } from '../../model/ListOrientation';
4
4
  import type { Picture } from '../../model/Picture';
5
+ import type { HeadlineProps } from '../../model/HeadlineType';
5
6
 
6
7
  /**
7
8
  * @title Отображение списка
@@ -23,11 +24,7 @@ export interface LinkDocsItem extends LinkProps {
23
24
  /**
24
25
  * @title Список документов
25
26
  */
26
- export interface LinkDocsContent {
27
- /** @title Заголовок */
28
- title?: string;
29
- /** @title Описание */
30
- description?: string;
27
+ export type LinkDocsContent = HeadlineProps & {
31
28
  /**
32
29
  * @title Иконка
33
30
  * @default {
@@ -47,4 +44,4 @@ export interface LinkDocsContent {
47
44
  /** @title Рамка элементов (моб.) */ // TODO: мобильный проп
48
45
  hasBorder?: boolean;
49
46
  align?: AlignType;
50
- }
47
+ };
@@ -11,7 +11,7 @@ export interface LinkDocsHorizontalListProps extends LinkDocsVerticalListProps {
11
11
  export const LinkDocsHorizontalList = JSX<LinkDocsHorizontalListProps>(
12
12
  ({ context, hasBorder = true, documents, icon }) => {
13
13
  return (
14
- <SwipeListControl context={context} className="text-m-sm text-primary-main mt-5">
14
+ <SwipeListControl context={context} className="text-s text-primary-main mt-5">
15
15
  {documents?.length
16
16
  ? documents.map((doc, i) => (
17
17
  <LinkDocsListItem
@@ -13,9 +13,7 @@ export const LinkDocsVerticalList = JSX<LinkDocsVerticalListProps>(
13
13
  ({ hasBorder = true, documents, icon }) => {
14
14
  return (
15
15
  <div
16
- className={`text-m-sm text-primary-main flex flex-col mt-5 ${
17
- hasBorder ? 'gap-3.5' : 'gap-2'
18
- }`}
16
+ className={`text-s text-primary-main flex flex-col mt-5 ${hasBorder ? 'gap-3.5' : 'gap-2'}`}
19
17
  role="list"
20
18
  >
21
19
  {documents?.length
@@ -1,9 +1,8 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
3
- import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
4
- import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
5
3
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
6
4
  import type { ListContent } from '../../ui-kit/List/ListContent';
5
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
7
6
 
8
7
  /**
9
8
  * @title QR код
@@ -18,8 +17,7 @@ export interface QRCode {
18
17
  /**
19
18
  * @title Мобильное приложение
20
19
  */
21
- export type MobileAppTileContent = HeadingContent &
22
- DescriptionContent &
20
+ export type MobileAppTileContent = HeadlineCommonProps &
23
21
  ButtonContent &
24
22
  ListContent &
25
23
  ImageContent & {
@@ -4,10 +4,10 @@ import type { LinkProps } from '../../model/LinkProps';
4
4
  export interface NavigatorTabItemProps extends LinkProps {
5
5
  active?: boolean;
6
6
  className?: string;
7
- onClick?: (ev: MouseEvent) => void;
7
+ onClick?: () => void;
8
8
  }
9
9
 
10
- const TEXT_CLASSES = 'font-sans font-normal text-m-md';
10
+ const TEXT_CLASSES = 'font-sans text-m';
11
11
  const LINK_CLASSES = 'flex-1 flex items-center justify-center cursor-pointer';
12
12
 
13
13
  export const NavigatorTabItem = JSX<NavigatorTabItemProps>(
@@ -27,7 +27,7 @@ export const OtherProductsItem = JSX<BlockItemProps>(
27
27
  context={context}
28
28
  foldButtonLabel={label}
29
29
  containerClasses="grid grid-cols-12 gap-1 border-box"
30
- render={(children, isActive) => <Wrapper isActive={isActive}>{children}</Wrapper>}
30
+ render={(children) => <Wrapper>{children}</Wrapper>}
31
31
  />
32
32
  ) : null}
33
33
  </div>
@@ -35,6 +35,6 @@ export const OtherProductsItem = JSX<BlockItemProps>(
35
35
  },
36
36
  );
37
37
 
38
- const Wrapper = JSX<{ isActive: boolean }>(({ children }) => {
38
+ const Wrapper = JSX(({ children }) => {
39
39
  return <div className="box-border">{children}</div>;
40
40
  });
@@ -1,9 +1,9 @@
1
1
  import { BlockVersion } from '../../model/BlockVersion';
2
- import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
2
+ import type { TitleProp } from '../../model/HeadlineType';
3
3
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
4
4
  import type { Picture } from '../../model/Picture';
5
5
 
6
- export type TitleWithImageContent = HeadingContent & ImageContent;
6
+ export type TitleWithImageContent = TitleProp & ImageContent;
7
7
 
8
8
  export interface PictureTextBenefit {
9
9
  /** @title Иконка */
@@ -1,10 +1,8 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
2
  import type { PlaceholderContent } from '../../components/Placeholder/PlaceholderContent';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
+ import { Headline } from '../Headline/Headline';
4
5
  import type { UniBlockProps } from '../../types';
5
- import { Description } from '../../ui-kit/Description/Description';
6
- import { Heading } from '../../ui-kit/Heading/Heading';
7
- import { BaseTile } from '../BaseTile/BaseTile';
8
6
  import { getTileHeadingType } from '../BaseTile/getTileHeadingType';
9
7
  import { getTileMinHeight } from '../BaseTile/getTileMinHeight';
10
8
  import { getTileRightPadding } from '../BaseTile/getTileRightPadding';
@@ -25,23 +23,14 @@ export const Placeholder = JSX<PlaceholderProps>(
25
23
  )} ${getTileMinHeight(className)} `}
26
24
  {...rest}
27
25
  >
28
- <BaseTile
26
+ <Headline
29
27
  context={context}
30
- title={
31
- title ? (
32
- <Heading
33
- headingType={getTileHeadingType(className)}
34
- title={title}
35
- className={`whitespace-pre-wrap max-w-[600px]`}
36
- />
37
- ) : null
38
- }
39
- >
40
- {description ? (
41
- <Description className="mt-4 max-w-[600px]" description={description} />
42
- ) : null}
43
- <figure className="m-0 min-w-[600px]">{renderShimmer()}</figure>
44
- </BaseTile>
28
+ className="!p-0 max-w-[600px]"
29
+ title={title}
30
+ description={description}
31
+ headlineVersion={getTileHeadingType(className)}
32
+ />
33
+ <figure className="m-0 min-w-[600px]">{renderShimmer()}</figure>
45
34
  </BlockWrapper>
46
35
  );
47
36
  },
@@ -1,7 +1,6 @@
1
- import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
2
- import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
1
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
3
2
 
4
3
  /**
5
4
  * @hidden
6
5
  */
7
- export type PlaceholderContent = HeadingContent & DescriptionContent;
6
+ export type PlaceholderContent = HeadlineCommonProps;
@@ -1,12 +1,11 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { IconVersion } from '../../model/IconVersion';
3
3
  import type { LinkProps } from '../../model/LinkProps';
4
- import { Picture } from '../../model/Picture';
5
- import type { BackwardButtonProps, ButtonContent } from '../../ui-kit/Button/ButtonProps';
6
- import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
7
- import type { HeadingContent, HeadingTypeContent } from '../../ui-kit/Heading/HeadingContent';
4
+ import type { ButtonContent, BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
8
5
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
9
6
  import type { ListContent } from '../../ui-kit/List/ListContent';
7
+ import type { Picture } from '../../model/Picture';
8
+ import type { HeadlineProps } from '../../model/HeadlineType';
10
9
 
11
10
  export interface ProductBlockBenefit {
12
11
  icon?: Picture;
@@ -22,9 +21,7 @@ export type BenefitItemProps = {
22
21
  benefitsVersion?: IconVersion;
23
22
  };
24
23
 
25
- export type ProductBlockInnerContent = HeadingContent &
26
- HeadingTypeContent &
27
- DescriptionContent &
24
+ export type ProductBlockInnerContent = HeadlineProps &
28
25
  ListContent &
29
26
  ButtonContent &
30
27
  ImageContent & {