@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 +1 @@
1
- {"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,YAAY,GAAgC;IAChD,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IAEpD,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IAED,MAAM,GAAG,GAAG,EAAE,IAAI,WAAW,CAAC;IAE9B,OAAO,CACL,KAAC,GAAG,IAAC,SAAS,EAAE,6BAA6B,YAAY,CAAC,WAAW,CAAC,IAAI,SAAS,IAAI,EAAE,EAAE,YACxF,KAAK,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,YAAY,GAAgC;IAChD,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,EAAE,SAAS,EAAE,WAAW,GAAG,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEvE,OAAO,CACL,KAAC,GAAG,IAAC,SAAS,EAAE,6BAA6B,YAAY,CAAC,WAAW,CAAC,IAAI,SAAS,IAAI,EAAE,EAAE,YACxF,KAAK,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { TitleProp } from '../../model/HeadlineType';
2
+ /**
3
+ *
4
+ * @title Размер заголовка
5
+ * @enumNames [
6
+ * "h0", "h1", "h2", "h3", "h4", "h5", "h6"
7
+ * ]
8
+ */
9
+ export declare type HeadingType = 'h0' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare type HeadingTagType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
14
+ export interface HeadingCommonProps extends TitleProp {
15
+ as?: HeadingTagType;
16
+ headingType?: HeadingType;
17
+ }
18
+ export interface HeadingProps extends HeadingCommonProps {
19
+ className?: string;
20
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HeadingProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeadingProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/HeadingProps.ts"],"names":[],"mappings":""}
@@ -1,4 +1,3 @@
1
- import type { FuncReturnVoid } from '../../types';
2
1
  export interface InputRangeProps {
3
2
  className?: string;
4
3
  items?: string[];
@@ -7,5 +6,5 @@ export interface InputRangeProps {
7
6
  step?: number;
8
7
  value?: number;
9
8
  title?: string;
10
- onChange?: FuncReturnVoid<number>;
9
+ onChange?: (value: number) => void;
11
10
  }
@@ -1,8 +1,8 @@
1
1
  interface SVGPathOptions {
2
2
  fill?: string;
3
3
  stroke?: string;
4
- strokeLinecap?: string;
5
- strokeLinejoin?: string;
4
+ strokeLinecap?: 'inherit' | 'butt' | 'round' | 'square';
5
+ strokeLinejoin?: 'inherit' | 'round' | 'miter' | 'bevel';
6
6
  strokeWidth?: string;
7
7
  strokeMiterlimit?: string;
8
8
  }
@@ -9,13 +9,13 @@ export const SearchBarInner = JSX(({ className, context, isMobile = false }) =>
9
9
  const SearchBarInputClassName = isMobile
10
10
  ? ' placeholder-transparent font-normal'
11
11
  : 'font-light h-full';
12
- const inputPlaceholder = isMobile ? 'some search' : null;
12
+ const inputPlaceholder = isMobile ? 'some search' : undefined;
13
13
  return (_jsxs("form", { className: `font-sans relative ${className}`, children: [_jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [_jsx("div", { className: LoupeIconClassName, children: _jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (_jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), _jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-base text-black border border-solid rounded box-border
14
14
  outline-none pr-[6%] border-main-divider focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (_jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
15
15
  e.preventDefault();
16
16
  setTerm('');
17
- }, children: _jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })) : (_jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (e) => {
18
- e.preventDefault();
17
+ }, children: _jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })) : (_jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-1 right-1", onClick: (ev) => {
18
+ ev?.preventDefault();
19
19
  console.log('click');
20
20
  }, children: _jsx("div", { className: "font-normal text-sm px-9 py-[9px]", children: "\u041D\u0430\u0439\u0442\u0438" }) }))] }));
21
21
  });
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAMjC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3C,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAE9C,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAChF,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,sBAAsB,CAAC;IAC1F,MAAM,uBAAuB,GAAG,QAAQ;QACtC,CAAC,CAAC,sCAAsC;QACxC,CAAC,CAAC,mBAAmB,CAAC;IACxB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC;IAEzD,OAAO,CACL,gBAAM,SAAS,EAAE,sBAAsB,SAAS,EAAE,aAChD,eAAK,SAAS,EAAC,yGAAyG,aACtH,cAAK,SAAS,EAAE,kBAAkB,YAChC,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC5C,EACL,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACb,gBACE,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAE,uBAAuB,uBAAuB,EAAE,2FAGrD,CACT,IACG,EACN,gBACE,EAAE,EAAC,kBAAkB,EACrB,SAAS,EAAE;mFAC8D,uBAAuB,EAAE,EAClG,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACxC,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAE,gBAAgB,GAC7B,EACD,QAAQ,CAAC,CAAC,CAAC,CACV,iBACE,SAAS,EAAC,uHAAuH,EACjI,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,EAAE,CAAC,CAAC;gBACd,CAAC,YAED,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACzC,CACV,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,cAAK,SAAS,EAAC,mCAAmC,+CAAY,GACvD,CACV,IACI,CACR,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAMjC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IAC3C,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAE9C,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAChF,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,sBAAsB,CAAC;IAC1F,MAAM,uBAAuB,GAAG,QAAQ;QACtC,CAAC,CAAC,sCAAsC;QACxC,CAAC,CAAC,mBAAmB,CAAC;IACxB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;IAE9D,OAAO,CACL,gBAAM,SAAS,EAAE,sBAAsB,SAAS,EAAE,aAChD,eAAK,SAAS,EAAC,yGAAyG,aACtH,cAAK,SAAS,EAAE,kBAAkB,YAChC,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC5C,EACL,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACb,gBACE,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAE,uBAAuB,uBAAuB,EAAE,2FAGrD,CACT,IACG,EACN,gBACE,EAAE,EAAC,kBAAkB,EACrB,SAAS,EAAE;mFAC8D,uBAAuB,EAAE,EAClG,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACxC,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAE,gBAAgB,GAC7B,EACD,QAAQ,CAAC,CAAC,CAAC,CACV,iBACE,SAAS,EAAC,uHAAuH,EACjI,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,EAAE,CAAC,CAAC;gBACd,CAAC,YAED,KAAC,GAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACzC,CACV,CAAC,CAAC,CAAC,CACF,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;oBACd,EAAE,EAAE,cAAc,EAAE,CAAC;oBACrB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,cAAK,SAAS,EAAC,mCAAmC,+CAAY,GACvD,CACV,IACI,CACR,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,8 +1,7 @@
1
- import { FuncReturnVoid } from '../../types';
2
1
  export interface TableArrowScrollControlProps {
3
2
  isScrollAvailable?: boolean;
4
- handleNextClick: FuncReturnVoid<MouseEvent>;
5
- handlePrevClick: FuncReturnVoid<MouseEvent>;
3
+ handleNextClick: () => void;
4
+ handlePrevClick: () => void;
6
5
  showNextButton: boolean;
7
6
  showPrevButton: boolean;
8
7
  }
@@ -1,5 +1,4 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- import { FuncReturnVoid } from '../../types';
3
2
  /**
4
3
  * @title Вкладка
5
4
  */
@@ -10,7 +9,7 @@ export interface Tab {
10
9
  description?: string;
11
10
  icon?: Picture;
12
11
  }
13
- export declare type TabClickHandler = FuncReturnVoid<number>;
12
+ export declare type TabClickHandler = (tabIndex: number) => void;
14
13
  export interface TabsProps {
15
14
  tabs?: Tab[];
16
15
  currentTabIndex: number;
@@ -7,7 +7,7 @@ export interface TopItemProps extends TopItemContent {
7
7
  className?: string;
8
8
  flat?: boolean;
9
9
  ariaLabel?: string;
10
- onClick?: (ev: MouseEvent) => any;
10
+ onClick?: () => void;
11
11
  bgColor?: BgColorVersion;
12
12
  dataItemName?: string;
13
13
  }
@@ -2,3 +2,4 @@ export declare const isURL: (href?: string) => boolean | undefined;
2
2
  export declare const withoutQuery: (href?: string) => string;
3
3
  export declare const getOrigin: (href?: string) => string | undefined;
4
4
  export declare const getHash: (href?: string) => string | undefined;
5
+ export declare const isHash: (href?: string) => boolean | undefined;
@@ -17,4 +17,5 @@ export const getHash = (href) => {
17
17
  const hashIndex = href.indexOf('#');
18
18
  return hashIndex !== -1 ? href.substring(hashIndex, href.length) : undefined;
19
19
  };
20
+ export const isHash = (href) => href?.startsWith('#');
20
21
  //# sourceMappingURL=url.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"url.js","sourceRoot":"","sources":["../../src/utils/url.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;AAEnF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,IAAa,EAAE,EAAE;IACzC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,GAAG,GAAG,IAAI,CAAC;IACjB,MAAM,cAAc,GAAG,IAAI,CAAC;IAC5B,MAAM,UAAU,GAAG,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAC/C,MAAM,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,UAAU,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAEzE,OAAO,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AAClE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAa,EAAE,EAAE;IACvC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/E,CAAC,CAAC"}
1
+ {"version":3,"file":"url.js","sourceRoot":"","sources":["../../src/utils/url.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;AAEnF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,IAAa,EAAE,EAAE;IACzC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,GAAG,GAAG,IAAI,CAAC;IACjB,MAAM,cAAc,GAAG,IAAI,CAAC;IAC5B,MAAM,UAAU,GAAG,GAAG,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;IAC/C,MAAM,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,UAAU,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAEzE,OAAO,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AAClE,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAa,EAAE,EAAE;IACvC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QACzB,OAAO,SAAS,CAAC;KAClB;IAED,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/E,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC"}
@@ -6,17 +6,17 @@ export const useActiveHandler = ({ context, blocks, initialState = false }: Acti
6
6
  const hasContent = blocks?.length;
7
7
  const icon: IconName = isActive ? 'MinusIcon' : 'PlusIcon';
8
8
 
9
- const getContentBlock = ({ currentTarget }) => currentTarget.nextSibling;
9
+ const handleToggle = (e) => {
10
+ const currentTarget = e.currentTarget as HTMLElement;
10
11
 
11
- const handleToggle = (e: MouseEvent) => {
12
- if (!hasContent) {
12
+ if (!currentTarget) {
13
13
  return;
14
14
  }
15
15
 
16
16
  setIsActive(!isActive);
17
- const contentBlock = getContentBlock(e);
17
+ const contentBlock = currentTarget.nextSibling as HTMLElement;
18
18
  contentBlock.style.maxHeight = contentBlock.style.maxHeight
19
- ? null
19
+ ? ''
20
20
  : `${contentBlock.scrollHeight}px`;
21
21
  };
22
22
 
@@ -5,7 +5,7 @@ import type { BaseTileCommonProps } from './BaseTileProps';
5
5
  export interface BaseTileProps extends BaseTileCommonProps, UniBlockProps {}
6
6
 
7
7
  export const BaseTile = JSX<BaseTileProps>(
8
- ({ className = '', title, children, buttons, image }) => {
8
+ ({ className = '', title = '', children, buttons, image }) => {
9
9
  return (
10
10
  <div className={`font-sans flex flex-col grow h-full items-start ${className}`}>
11
11
  {title}
@@ -1,39 +1,16 @@
1
- import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { Picture } from '../../model/Picture';
3
- import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
- import type { HeadingType } from '../../ui-kit/Heading/HeadingContent';
5
1
  import type { AlignType } from '../../model/AlignType';
2
+ import type { BlockVersion } from '../../model/BlockVersion';
3
+ import type { HeadingType } from '../../ui-kit/Heading/HeadingProps';
4
+ import type { VNode } from '../../model/VNode';
6
5
 
7
- /**
8
- * @title Общий компонент плиток
9
- */
10
- export type BaseTileCommonProps = BaseTileTitleProps & BaseTileMainProps;
11
-
12
- /**
13
- * @title Заголовк плитки
14
- */
15
- export interface BaseTileTitleProps {
16
- /** @title Заголовок */
17
- title?: string;
18
- /**
19
- * @title Тип заголовка
20
- */
6
+ export interface BaseTileCommonProps {
7
+ title?: VNode;
21
8
  headingType?: HeadingType;
22
- }
23
-
24
- export interface BaseTileMainProps {
25
9
  description?: string;
26
- image?: Picture;
27
- /** @title Список */
10
+ image?: VNode;
28
11
  items?: string[];
29
-
30
12
  list?: string;
31
-
32
- /**
33
- * @title Кнопки
34
- * @maxItems 4
35
- */
36
- buttons?: ButtonWithIconProps[];
13
+ buttons?: VNode;
37
14
  version?: BlockVersion;
38
15
  align?: AlignType;
39
16
  }
@@ -3,10 +3,10 @@ import { getColSpan } from '../../utils/getColSpan';
3
3
  export function getTileHeadingType(className = '') {
4
4
  const colSpan = getColSpan(className);
5
5
  if (colSpan <= 4) {
6
- return 'h4';
6
+ return 'S';
7
7
  } else if (colSpan <= 8) {
8
- return 'h3';
8
+ return 'M';
9
9
  } else {
10
- return 'h2';
10
+ return 'L';
11
11
  }
12
12
  }
@@ -1,5 +1,5 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- import type { HeadingContent, HeadingTypeContent } from '../../ui-kit/Heading/HeadingContent';
2
+ import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
3
3
  import type { EmptyOption } from '../../model/EmptyOptionType';
4
4
 
5
5
  /**
@@ -48,11 +48,10 @@ export interface BenefitItem {
48
48
  /**
49
49
  * @title Блок преимущества
50
50
  */
51
- export type BenefitsBlockContent = HeadingContent &
52
- HeadingTypeContent & {
53
- /**
54
- * @title Список преимуществ
55
- * @maxItems 6
56
- */
57
- benefitList?: BenefitItem[];
58
- };
51
+ export type BenefitsBlockContent = HeadingCommonProps & {
52
+ /**
53
+ * @title Список преимуществ
54
+ * @maxItems 6
55
+ */
56
+ benefitList?: BenefitItem[];
57
+ };
@@ -0,0 +1,74 @@
1
+ import { setup } from '@redneckz/uni-jsx';
2
+ import { render } from '@testing-library/react';
3
+ import { useState } from 'react';
4
+ import { jsx, jsxs } from 'react/jsx-runtime';
5
+ import { Blocks } from './Blocks';
6
+ import type { ContentPageContext } from './ContentPage/ContentPageContext';
7
+
8
+ setup(jsx, jsxs);
9
+
10
+ jest.mock('../ui-kit/BlockWrapper', () => ({
11
+ __esModule: true,
12
+ BlockWrapper: ({ children }) => <section>{children}</section>,
13
+ }));
14
+
15
+ const emptyFn = () => {
16
+ /* For sure */
17
+ };
18
+
19
+ const context: ContentPageContext = {
20
+ useState,
21
+ useRouter: () => ({
22
+ pathname: '/credits',
23
+ query: {},
24
+ push: emptyFn,
25
+ replace: emptyFn,
26
+ }),
27
+ useAsyncData: () => ({}),
28
+ useGeolocation: (defaultLocation) => [defaultLocation, emptyFn],
29
+ useLikeService: () => ({
30
+ likeCount: 0,
31
+ like: emptyFn,
32
+ dislike: emptyFn,
33
+ }),
34
+ handlerDecorator: (): any => emptyFn,
35
+ useSearch: () => ({
36
+ term: '',
37
+ setTerm: emptyFn,
38
+ }),
39
+ IntersectionObserverTag: ({ children }) => children,
40
+ };
41
+
42
+ describe('Blocks', () => {
43
+ beforeEach(() => {
44
+ jest.resetModules();
45
+ });
46
+
47
+ for (const [key, BlockComponent] of Object.entries(Blocks)) {
48
+ describe(key, () => {
49
+ it(`should render block "${key}" without content`, () => {
50
+ expect.assertions(2);
51
+
52
+ const { container } = render(<BlockComponent context={context} />);
53
+ expect(container.firstChild).toBeTruthy();
54
+ expect(container.firstChild).toMatchSnapshot();
55
+ });
56
+
57
+ it(`should render block "${key}" with demo content`, async () => {
58
+ expect.assertions(1);
59
+
60
+ let data = {};
61
+
62
+ try {
63
+ const { default: example } = await import(`./${key}/${key}.example.json`);
64
+ data = example;
65
+ } catch (ex) {
66
+ // Do nothing
67
+ }
68
+
69
+ const { container } = render(<BlockComponent context={context} {...data} />);
70
+ expect(container.firstChild).toBeTruthy();
71
+ });
72
+ });
73
+ }
74
+ });
@@ -1,5 +1,4 @@
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
  /** @title Плитка */
5
4
  interface BonusItems {
@@ -16,8 +15,7 @@ interface BonusItems {
16
15
  /**
17
16
  * @title Блок Бонусы
18
17
  */
19
- export type BonusContent = HeadingContent &
20
- DescriptionContent & {
21
- /** @title Список плиток */
22
- bonusItems?: BonusItems[];
23
- };
18
+ export type BonusContent = HeadlineCommonProps & {
19
+ /** @title Список плиток */
20
+ bonusItems?: BonusItems[];
21
+ };
@@ -1,5 +1,5 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { FuncReturnVoid, UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../types';
3
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
4
  import { renderArrows } from '../../ui-kit/Button/renderArrows';
5
5
  import { Img } from '../../ui-kit/Img/Img';
@@ -12,14 +12,14 @@ type TabsProps = {
12
12
  tabsShift: number;
13
13
  tabsNav: CalculatorNav[];
14
14
  activeSlideIndex: number;
15
- setActiveSlideIndex: FuncReturnVoid<number>;
15
+ setActiveSlideIndex: (index: number) => void;
16
16
  };
17
17
 
18
18
  type NavButtonProps = {
19
19
  tab: CalculatorNav;
20
20
  i: number;
21
21
  activeSlideIndex: number;
22
- onClick: FuncReturnVoid<MouseEvent>;
22
+ onClick: () => void;
23
23
  };
24
24
 
25
25
  export const Calculator = JSX<CalculatorProps>(
@@ -12,7 +12,7 @@ export const Rate = JSX<RateProps>(({ rate, title = 'Ставка', unit, rateBl
12
12
  <div className="text-sm font-light ml-3">{title}</div>
13
13
  <div className="flex justify-start">
14
14
  <span
15
- className={`block calc-rate-text font-mohave text-highlighted pr-6 -mt-4 ${rateBlockClassName}`}
15
+ className={`block calc-rate-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`}
16
16
  >
17
17
  {String(rate).replace('.', ',')}
18
18
  </span>
@@ -1,14 +1,13 @@
1
1
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
2
- import type { DescriptionContent } from '../../ui-kit/Description/DescriptionContent';
3
- import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
4
2
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
3
+ import type { HeadlineCommonProps } from '../../model/HeadlineType';
5
4
 
6
5
  /**
7
6
  * @enumNames ["Черный", "Белый"]
8
7
  */
9
8
  export type CatalogProductColor = 'black' | 'white';
10
9
 
11
- export interface CatalogCardType extends HeadingContent, DescriptionContent, ImageContent {
10
+ export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
12
11
  /** @title Цена в рублях */
13
12
  price?: number;
14
13
  /** @title Доступные цвета */
@@ -20,8 +19,7 @@ export interface CatalogCardType extends HeadingContent, DescriptionContent, Ima
20
19
  /**
21
20
  * @title Каталог
22
21
  */
23
- export type CatalogContent = HeadingContent &
24
- DescriptionContent & {
25
- /** @title Список карточек */
26
- cards?: CatalogCardType[];
27
- };
22
+ export type CatalogContent = HeadlineCommonProps & {
23
+ /** @title Список карточек */
24
+ cards?: CatalogCardType[];
25
+ };
@@ -1,11 +1,11 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { TableRowContainer } from './TableRowContainer';
3
- import { COLUMN_WIDTH, FIRST_CELL_CLASSES } from './constants';
4
- import { TableCarouselContainer } from './TableCarouselContainer';
5
- import { HeaderCell } from './HeaderCell';
6
2
  import { useLink } from '../../hooks/useLink';
7
- import type { ColumnHeader } from './ComparisonTableContent';
8
3
  import type { HandlerDecorator, Router } from '../ContentPage/ContentPageContext';
4
+ import type { ColumnHeader } from './ComparisonTableContent';
5
+ import { COLUMN_WIDTH, FIRST_CELL_CLASSES } from './constants';
6
+ import { HeaderCell } from './HeaderCell';
7
+ import { TableCarouselContainer } from './TableCarouselContainer';
8
+ import { TableRowContainer } from './TableRowContainer';
9
9
 
10
10
  interface ComparisonTableColumnHeadersProps {
11
11
  colHeaders: ColumnHeader[];
@@ -18,7 +18,7 @@ export const ComparisonTableColumnHeaders = JSX<ComparisonTableColumnHeadersProp
18
18
  ({ colHeaders, activeCardIndex, router, handlerDecorator }) => {
19
19
  return (
20
20
  <TableRowContainer>
21
- <div className={FIRST_CELL_CLASSES} role="columnheader" scope="col" />
21
+ <div className={FIRST_CELL_CLASSES} role="columnheader" />
22
22
  <TableCarouselContainer activeCardIndex={activeCardIndex} columnWidth={COLUMN_WIDTH}>
23
23
  {colHeaders.map((header, i) => (
24
24
  <HeaderCell
@@ -2,11 +2,11 @@ import { JSX } from '@redneckz/uni-jsx';
2
2
  import { TableRow } from './TableRow';
3
3
  import { TableArrowScrollControl } from '../../ui-kit/TableArrowScrollControl/TableArrowScrollControl';
4
4
  import type { TableArrowScrollControlProps } from '../../ui-kit/TableArrowScrollControl/TableArrowScrollControlProps';
5
- import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
6
5
  import type { CellData } from './ComparisonTableContent';
6
+ import type { TitleProp } from '../../model/HeadlineType';
7
7
 
8
8
  type ComparisonTableRowsProps = TableArrowScrollControlProps & {
9
- rowData: { header: HeadingContent; data: CellData[][] }[];
9
+ rowData: { header: TitleProp; data: CellData[][] }[];
10
10
  activeCardIndex: number;
11
11
  isColoredFirstColumn: boolean;
12
12
  };
@@ -1,5 +1,4 @@
1
1
  import { VNode } from '../../model/VNode';
2
- import type { FuncReturnVoid } from '../../types';
3
2
 
4
3
  export interface Router {
5
4
  pathname: string;
@@ -34,7 +33,7 @@ export type SetStateAction<S> = S | ((prevState: S) => S);
34
33
 
35
34
  export type SetStateHook = <State>(
36
35
  initialState: State | (() => State),
37
- ) => [State, FuncReturnVoid<SetStateAction<State>>];
36
+ ) => [State, (action: SetStateAction<State>) => void];
38
37
 
39
38
  export interface IntersectionObserverTagProps {
40
39
  Tag: string;
@@ -1,11 +1,11 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import type { FuncReturnVoid, UniBlockProps } from '../../types';
2
+ import type { UniBlockProps } from '../../types';
3
+ import { ButtonProps } from '../../ui-kit/Button/ButtonProps';
3
4
  import { calculateResult, formatValue } from './calculateResult';
4
5
  import { callbackCurrencySelect } from './callbackCurrencySelect';
5
6
  import { Currency } from './CurrencyProps';
6
7
  import { renderButton } from './renderButton';
7
8
  import { renderInput } from './renderInput';
8
- import { ButtonProps } from '../../ui-kit/Button/ButtonProps';
9
9
 
10
10
  export interface ExchangeCurrencyItem {
11
11
  code?: Currency;
@@ -75,7 +75,7 @@ export const ExchangeCurrencyCalculator = JSX<ExchangeCurrencyCalculatorProps>(
75
75
  const handleSelectSell =
76
76
  (
77
77
  calcState: CalcState,
78
- setCalcState: FuncReturnVoid<Partial<CalcState>>,
78
+ setCalcState: (state: Partial<CalcState>) => void,
79
79
  currencyRatesSell: ExchangeCurrencyItem[],
80
80
  ) =>
81
81
  (value: Currency) => {
@@ -92,7 +92,7 @@ const handleSelectSell =
92
92
  const handleSelectBuy =
93
93
  (
94
94
  calcState: CalcState,
95
- setCalcState: FuncReturnVoid<Partial<CalcState>>,
95
+ setCalcState: (state: Partial<CalcState>) => void,
96
96
  currencyRatesBuy: ExchangeCurrencyItem[],
97
97
  ) =>
98
98
  (value: Currency) => {
@@ -106,7 +106,7 @@ const handleSelectBuy =
106
106
  };
107
107
 
108
108
  const handleInputSell =
109
- (setCalcState: FuncReturnVoid<Partial<CalcState>>, currencyRatesSell: ExchangeCurrencyItem[]) =>
109
+ (setCalcState: (state: Partial<CalcState>) => void, currencyRatesSell: ExchangeCurrencyItem[]) =>
110
110
  (value: string, codeFrom: Currency, codeTo: Currency) => {
111
111
  setCalcState({ inputSell: formatValue(value), selectBuy: codeTo });
112
112
  const rate =
@@ -120,7 +120,7 @@ const handleInputSell =
120
120
  };
121
121
 
122
122
  const handleInputBuy =
123
- (setCalcState: FuncReturnVoid<Partial<CalcState>>, currencyRatesBuy: ExchangeCurrencyItem[]) =>
123
+ (setCalcState: (state: Partial<CalcState>) => void, currencyRatesBuy: ExchangeCurrencyItem[]) =>
124
124
  (value: string, codeTo: Currency, codeFrom: Currency) => {
125
125
  setCalcState({ inputBuy: formatValue(value), selectSell: codeFrom });
126
126
  const rate =
@@ -4,7 +4,7 @@ import type { LinkProps } from '../../model/LinkProps';
4
4
  interface HorizontalNavigationLinkProps extends LinkProps {
5
5
  className: string;
6
6
  index: number;
7
- onClick: (ev: MouseEvent) => any;
7
+ onClick: () => void;
8
8
  }
9
9
 
10
10
  export const HorizontalNavigationLink = JSX<Partial<HorizontalNavigationLinkProps>>(
@@ -4,15 +4,13 @@ import type { LinkProps } from '../../model/LinkProps';
4
4
  interface TextInformationLinkProps extends LinkProps {
5
5
  className: string;
6
6
  index: number;
7
- onClick: (ev: MouseEvent) => any;
7
+ onClick: () => void;
8
8
  }
9
9
 
10
10
  export const TextInformationLink = JSX<Partial<TextInformationLinkProps>>(
11
11
  ({ className = '', index, text, href, target, onClick }) => (
12
12
  <a
13
- className={`font-sans text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${
14
- className
15
- }`}
13
+ className={`font-sans text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${className}`}
16
14
  href={href}
17
15
  target={target}
18
16
  onClick={onClick}
@@ -1,5 +1,5 @@
1
1
  import type { Picture } from '../../model/Picture';
2
- import type { HeadingContent } from '../../ui-kit/Heading/HeadingContent';
2
+ import type { TitleProp } from '../../model/HeadlineType';
3
3
 
4
4
  interface Month {
5
5
  /** @title Название месяца */
@@ -30,7 +30,7 @@ interface CalendarItem {
30
30
  /**
31
31
  * @title Льготный период
32
32
  */
33
- export interface GracePeriodContent extends HeadingContent {
33
+ export interface GracePeriodContent extends TitleProp {
34
34
  /** @title Описание */
35
35
  description?: string;
36
36
  /** @title Календарь */
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '@redneckz/uni-jsx';
2
- import { BlockWrapper } from '../../ui-kit/BlockWrapper';
3
2
  import type { UniBlockProps } from '../../types';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper';
4
4
  import { filterBlocksByTag } from './filterBlocksByTag';
5
5
  import type { GroupBlockContent, GroupBlockTab } from './GroupBlockContent';
6
6
  import { GroupBlocksItem } from './GroupBlocksItem';
@@ -29,7 +29,7 @@ export const GroupBlock = JSX<GroupBlockProps>(
29
29
  });
30
30
 
31
31
  return (
32
- <BlockWrapper context={context} className={`box-border gap-1 ${className}`} {...rest}>
32
+ <BlockWrapper context={context} className={`box-border ${className}`} {...rest}>
33
33
  {tabsNewMap?.length ? (
34
34
  <GroupBlockTabs
35
35
  currentTag={currentTag}
@@ -39,7 +39,9 @@ export const GroupBlock = JSX<GroupBlockProps>(
39
39
  />
40
40
  ) : null}
41
41
  {groupBlocks.length ? (
42
- <GroupBlocksItem context={context} groupBlocks={filteredBlocks} />
42
+ <div className="mt-1">
43
+ <GroupBlocksItem context={context} groupBlocks={filteredBlocks} />
44
+ </div>
43
45
  ) : null}
44
46
  </BlockWrapper>
45
47
  );