@redneckz/wildless-cms-uni-blocks 0.3.35 → 0.3.38

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 (352) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +151 -85
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/BlockContent.d.ts +2 -1
  5. package/dist/components/Blocks.d.ts +1 -0
  6. package/dist/components/Blocks.js +3 -1
  7. package/dist/components/Blocks.js.map +1 -1
  8. package/dist/components/ComparisonTable/HeaderCell.js +1 -1
  9. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  10. package/dist/components/ComparisonTable/TableCell.js +1 -1
  11. package/dist/components/ContentPage/ContentPage.js +13 -3
  12. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  13. package/dist/components/CreditCalculator/renderButton.js +8 -1
  14. package/dist/components/CreditCalculator/renderButton.js.map +1 -1
  15. package/dist/components/Gallery/GalleryCardInner.js +5 -6
  16. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  17. package/dist/components/Gallery/GalleryContainer.js +2 -2
  18. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  19. package/dist/components/Gallery/GalleryInner.js +1 -1
  20. package/dist/components/GracePeriod/GracePeriod.d.ts +5 -0
  21. package/dist/components/GracePeriod/GracePeriod.js +21 -0
  22. package/dist/components/GracePeriod/GracePeriod.js.map +1 -0
  23. package/dist/components/GracePeriod/GracePeriodContent.d.ts +25 -0
  24. package/dist/components/GracePeriod/GracePeriodContent.js +2 -0
  25. package/dist/components/GracePeriod/GracePeriodContent.js.map +1 -0
  26. package/dist/components/Header/Header.js +1 -1
  27. package/dist/components/Header/Header.js.map +1 -1
  28. package/dist/components/Header/HeaderSubMenu.js +8 -1
  29. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  30. package/dist/components/Header/HeaderSubMenuObserver.js +5 -4
  31. package/dist/components/Header/HeaderSubMenuObserver.js.map +1 -1
  32. package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  33. package/dist/components/LinkDocs/LinkDocsList.js +1 -1
  34. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  35. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  36. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  37. package/dist/components/MobileAppTile/MobileAppTile.js +1 -2
  38. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  39. package/dist/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  40. package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  41. package/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  42. package/dist/components/NavigatorTabs/NavigatorTabs.js +11 -6
  43. package/dist/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  44. package/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  45. package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  46. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  47. package/dist/components/Recommendation/RecommendationCard.js +2 -1
  48. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  49. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -0
  50. package/dist/components/StepsBlock/StepsBlock.js +6 -5
  51. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  52. package/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  53. package/dist/components/TariffsTable/TariffsTableCell.js +2 -1
  54. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  55. package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -1
  56. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  57. package/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  58. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js +6 -0
  59. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  60. package/dist/components/Tile/Tile.js +1 -1
  61. package/dist/components/Tile/Tile.js.map +1 -1
  62. package/dist/hooks/useLink.d.ts +1 -1
  63. package/dist/hooks/useLink.js +1 -1
  64. package/dist/hooks/useLink.js.map +1 -1
  65. package/dist/ui-kit/Button/Button.js +6 -1
  66. package/dist/ui-kit/Button/Button.js.map +1 -1
  67. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  68. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  69. package/dist/ui-kit/Heading/Heading.d.ts +2 -1
  70. package/dist/ui-kit/Heading/Heading.js +3 -3
  71. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  72. package/dist/ui-kit/Heading/Heading.mobile.d.ts +2 -1
  73. package/dist/ui-kit/Heading/Heading.mobile.js +2 -2
  74. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  75. package/dist/utils/changeHashOnScroll.d.ts +2 -0
  76. package/dist/utils/changeHashOnScroll.js +16 -0
  77. package/dist/utils/changeHashOnScroll.js.map +1 -0
  78. package/dist/utils/tableFunc.d.ts +2 -0
  79. package/dist/utils/tableFunc.js +8 -0
  80. package/dist/utils/tableFunc.js.map +1 -0
  81. package/lib/common.css +1 -1
  82. package/lib/components/BlockContent.d.ts +2 -1
  83. package/lib/components/Blocks.d.ts +1 -0
  84. package/lib/components/Blocks.js +3 -1
  85. package/lib/components/Blocks.js.map +1 -1
  86. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  87. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  88. package/lib/components/ComparisonTable/TableCell.js +1 -1
  89. package/lib/components/ContentPage/ContentPage.js +13 -3
  90. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  91. package/lib/components/CreditCalculator/renderButton.js +8 -1
  92. package/lib/components/CreditCalculator/renderButton.js.map +1 -1
  93. package/lib/components/Gallery/GalleryCardInner.js +5 -6
  94. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  95. package/lib/components/Gallery/GalleryContainer.js +2 -2
  96. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  97. package/lib/components/Gallery/GalleryInner.js +1 -1
  98. package/lib/components/GracePeriod/GracePeriod.d.ts +5 -0
  99. package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +6 -0
  100. package/lib/components/GracePeriod/GracePeriod.js +19 -0
  101. package/lib/components/GracePeriod/GracePeriod.js.map +1 -0
  102. package/lib/components/GracePeriod/GracePeriodContent.d.ts +25 -0
  103. package/lib/components/GracePeriod/GracePeriodContent.js +2 -0
  104. package/lib/components/GracePeriod/GracePeriodContent.js.map +1 -0
  105. package/lib/components/Header/Header.js +1 -1
  106. package/lib/components/Header/Header.js.map +1 -1
  107. package/lib/components/Header/HeaderSubMenu.js +8 -1
  108. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  109. package/lib/components/Header/HeaderSubMenuObserver.js +5 -4
  110. package/lib/components/Header/HeaderSubMenuObserver.js.map +1 -1
  111. package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  112. package/lib/components/LinkDocs/LinkDocsList.js +1 -1
  113. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  114. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  115. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  116. package/lib/components/MobileAppTile/MobileAppTile.js +1 -2
  117. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  118. package/lib/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  119. package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  120. package/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  121. package/lib/components/NavigatorTabs/NavigatorTabs.js +12 -7
  122. package/lib/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  123. package/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  124. package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  125. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  126. package/lib/components/Recommendation/RecommendationCard.js +2 -1
  127. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  128. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -0
  129. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +2 -0
  130. package/lib/components/StepsBlock/StepsBlock.js +6 -5
  131. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  132. package/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  133. package/lib/components/TariffsTable/TariffsTableCell.js +2 -1
  134. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  135. package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -1
  136. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  137. package/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  138. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js +3 -0
  139. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  140. package/lib/components/Tile/Tile.js +1 -1
  141. package/lib/components/Tile/Tile.js.map +1 -1
  142. package/lib/hooks/useLink.d.ts +1 -1
  143. package/lib/hooks/useLink.js +1 -1
  144. package/lib/hooks/useLink.js.map +1 -1
  145. package/lib/ui-kit/Button/Button.js +6 -1
  146. package/lib/ui-kit/Button/Button.js.map +1 -1
  147. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  148. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  149. package/lib/ui-kit/Heading/Heading.d.ts +2 -1
  150. package/lib/ui-kit/Heading/Heading.js +3 -3
  151. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  152. package/lib/ui-kit/Heading/Heading.mobile.d.ts +2 -1
  153. package/lib/ui-kit/Heading/Heading.mobile.js +2 -2
  154. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  155. package/lib/utils/changeHashOnScroll.d.ts +2 -0
  156. package/lib/utils/changeHashOnScroll.js +13 -0
  157. package/lib/utils/changeHashOnScroll.js.map +1 -0
  158. package/lib/utils/tableFunc.d.ts +2 -0
  159. package/lib/utils/tableFunc.js +5 -0
  160. package/lib/utils/tableFunc.js.map +1 -0
  161. package/mobile/bundle/bundle.umd.js +33 -8
  162. package/mobile/bundle/bundle.umd.min.js +1 -1
  163. package/mobile/dist/components/BlockContent.d.ts +2 -1
  164. package/mobile/dist/components/ContentPage/ContentPage.js +13 -3
  165. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  166. package/mobile/dist/components/CreditCalculator/renderButton.js +8 -1
  167. package/mobile/dist/components/CreditCalculator/renderButton.js.map +1 -1
  168. package/mobile/dist/components/Gallery/GalleryCardInner.js +5 -6
  169. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  170. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  171. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  172. package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
  173. package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +5 -0
  174. package/mobile/dist/components/GracePeriod/GracePeriod.js +21 -0
  175. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -0
  176. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +25 -0
  177. package/mobile/dist/components/GracePeriod/GracePeriodContent.js +2 -0
  178. package/mobile/dist/components/GracePeriod/GracePeriodContent.js.map +1 -0
  179. package/mobile/dist/components/Header/HeaderSubMenu.js +8 -1
  180. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  181. package/mobile/dist/components/Header/HeaderSubMenuObserver.js +5 -4
  182. package/mobile/dist/components/Header/HeaderSubMenuObserver.js.map +1 -1
  183. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  184. package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
  185. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  186. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  187. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  188. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  189. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js +11 -6
  190. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  191. package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  192. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
  193. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  194. package/mobile/dist/components/Recommendation/RecommendationCard.js +2 -1
  195. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  196. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -0
  197. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  198. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +2 -1
  199. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  200. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -1
  201. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  202. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  203. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js +6 -0
  204. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  205. package/mobile/dist/components/Tile/Tile.js +1 -1
  206. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  207. package/mobile/dist/hooks/useLink.d.ts +1 -1
  208. package/mobile/dist/hooks/useLink.js +1 -1
  209. package/mobile/dist/hooks/useLink.js.map +1 -1
  210. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  211. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  212. package/mobile/dist/ui-kit/Heading/Heading.d.ts +2 -1
  213. package/mobile/dist/ui-kit/Heading/Heading.js +2 -2
  214. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  215. package/mobile/dist/utils/changeHashOnScroll.d.ts +2 -0
  216. package/mobile/dist/utils/changeHashOnScroll.js +16 -0
  217. package/mobile/dist/utils/changeHashOnScroll.js.map +1 -0
  218. package/mobile/dist/utils/tableFunc.d.ts +2 -0
  219. package/mobile/dist/utils/tableFunc.js +8 -0
  220. package/mobile/dist/utils/tableFunc.js.map +1 -0
  221. package/mobile/lib/components/BlockContent.d.ts +2 -1
  222. package/mobile/lib/components/ContentPage/ContentPage.js +13 -3
  223. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  224. package/mobile/lib/components/CreditCalculator/renderButton.js +8 -1
  225. package/mobile/lib/components/CreditCalculator/renderButton.js.map +1 -1
  226. package/mobile/lib/components/Gallery/GalleryCardInner.js +5 -6
  227. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  228. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  229. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  230. package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
  231. package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +5 -0
  232. package/mobile/lib/components/GracePeriod/GracePeriod.js +19 -0
  233. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -0
  234. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +25 -0
  235. package/mobile/lib/components/GracePeriod/GracePeriodContent.js +2 -0
  236. package/mobile/lib/components/GracePeriod/GracePeriodContent.js.map +1 -0
  237. package/mobile/lib/components/Header/HeaderSubMenu.js +8 -1
  238. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  239. package/mobile/lib/components/Header/HeaderSubMenuObserver.js +5 -4
  240. package/mobile/lib/components/Header/HeaderSubMenuObserver.js.map +1 -1
  241. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  242. package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
  243. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  244. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  245. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  246. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  247. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js +12 -7
  248. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  249. package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  250. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
  251. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  252. package/mobile/lib/components/Recommendation/RecommendationCard.js +2 -1
  253. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  254. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -0
  255. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  256. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -1
  257. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  258. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -1
  259. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  260. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  261. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js +3 -0
  262. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  263. package/mobile/lib/components/Tile/Tile.js +1 -1
  264. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  265. package/mobile/lib/hooks/useLink.d.ts +1 -1
  266. package/mobile/lib/hooks/useLink.js +1 -1
  267. package/mobile/lib/hooks/useLink.js.map +1 -1
  268. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  269. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  270. package/mobile/lib/ui-kit/Heading/Heading.d.ts +2 -1
  271. package/mobile/lib/ui-kit/Heading/Heading.js +2 -2
  272. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  273. package/mobile/lib/utils/changeHashOnScroll.d.ts +2 -0
  274. package/mobile/lib/utils/changeHashOnScroll.js +13 -0
  275. package/mobile/lib/utils/changeHashOnScroll.js.map +1 -0
  276. package/mobile/lib/utils/tableFunc.d.ts +2 -0
  277. package/mobile/lib/utils/tableFunc.js +5 -0
  278. package/mobile/lib/utils/tableFunc.js.map +1 -0
  279. package/mobile/src/components/BlockContent.ts +2 -0
  280. package/mobile/src/components/ContentPage/ContentPage.page.json +188 -234
  281. package/mobile/src/components/ContentPage/ContentPage.tsx +18 -2
  282. package/mobile/src/components/CreditCalculator/renderButton.tsx +11 -1
  283. package/mobile/src/components/Footer/FooterContent.ts +0 -1
  284. package/mobile/src/components/Gallery/GalleryCardInner.tsx +6 -7
  285. package/mobile/src/components/Gallery/GalleryContainer.tsx +2 -2
  286. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  287. package/mobile/src/components/GracePeriod/GracePeriod.example.json +90 -0
  288. package/mobile/src/components/GracePeriod/GracePeriod.tsx +70 -0
  289. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +27 -0
  290. package/mobile/src/components/Header/HeaderSubMenu.tsx +17 -2
  291. package/mobile/src/components/Header/HeaderSubMenuObserver.ts +6 -4
  292. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +3 -3
  293. package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +7 -5
  294. package/mobile/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  295. package/mobile/src/components/NavigatorTabs/NavigatorTabs.tsx +17 -9
  296. package/mobile/src/components/NavigatorTabs/NavigatorTabsContent.ts +3 -1
  297. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -0
  298. package/mobile/src/components/Recommendation/RecommendationCard.tsx +2 -1
  299. package/mobile/src/components/Recommendation/RecommendationContent.ts +4 -0
  300. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +3 -0
  301. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +2 -0
  302. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +2 -0
  303. package/mobile/src/components/TariffsTable/utils/getButtonAriaLabel.ts +5 -0
  304. package/mobile/src/components/Tile/Tile.tsx +1 -0
  305. package/mobile/src/hooks/useLink.ts +1 -1
  306. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  307. package/mobile/src/ui-kit/Heading/Heading.tsx +5 -2
  308. package/mobile/src/utils/changeHashOnScroll.ts +15 -0
  309. package/mobile/src/utils/tableFunc.ts +8 -0
  310. package/package.json +1 -1
  311. package/src/components/BlockContent.ts +2 -0
  312. package/src/components/Blocks.ts +3 -1
  313. package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
  314. package/src/components/ComparisonTable/TableCell.tsx +1 -1
  315. package/src/components/ContentPage/ContentPage.page.json +188 -234
  316. package/src/components/ContentPage/ContentPage.tsx +18 -2
  317. package/src/components/CreditCalculator/renderButton.tsx +11 -1
  318. package/src/components/Footer/FooterContent.ts +0 -1
  319. package/src/components/Gallery/GalleryCardInner.tsx +6 -7
  320. package/src/components/Gallery/GalleryContainer.tsx +2 -2
  321. package/src/components/Gallery/GalleryInner.tsx +1 -1
  322. package/src/components/GracePeriod/GracePeriod.example.json +90 -0
  323. package/src/components/GracePeriod/GracePeriod.fixture.tsx +109 -0
  324. package/src/components/GracePeriod/GracePeriod.tsx +70 -0
  325. package/src/components/GracePeriod/GracePeriodContent.ts +27 -0
  326. package/src/components/Header/Header.tsx +1 -1
  327. package/src/components/Header/HeaderSubMenu.tsx +17 -2
  328. package/src/components/Header/HeaderSubMenuObserver.ts +6 -4
  329. package/src/components/LinkDocs/LinkDocsList.tsx +3 -3
  330. package/src/components/LinkDocs/LinkDocsListItem.tsx +3 -3
  331. package/src/components/MobileAppTile/MobileAppTile.tsx +4 -5
  332. package/src/components/NavigatorTabs/NavigatorTabItem.tsx +7 -5
  333. package/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  334. package/src/components/NavigatorTabs/NavigatorTabs.tsx +17 -9
  335. package/src/components/NavigatorTabs/NavigatorTabsContent.ts +3 -1
  336. package/src/components/ProductBlock/renderBackwardButton.tsx +1 -0
  337. package/src/components/Recommendation/RecommendationCard.tsx +2 -1
  338. package/src/components/Recommendation/RecommendationContent.ts +4 -0
  339. package/src/components/StepsBlock/StepsBlock.fixture.tsx +59 -0
  340. package/src/components/StepsBlock/StepsBlock.tsx +34 -11
  341. package/src/components/StepsBlock/StepsBlockContent.ts +3 -0
  342. package/src/components/TariffsTable/TariffsTableCell.tsx +2 -0
  343. package/src/components/TariffsTable/TariffsTableTileCell.tsx +2 -0
  344. package/src/components/TariffsTable/utils/getButtonAriaLabel.ts +5 -0
  345. package/src/components/Tile/Tile.tsx +1 -0
  346. package/src/hooks/useLink.ts +1 -1
  347. package/src/ui-kit/Button/Button.tsx +20 -15
  348. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  349. package/src/ui-kit/Heading/Heading.mobile.tsx +5 -2
  350. package/src/ui-kit/Heading/Heading.tsx +6 -3
  351. package/src/utils/changeHashOnScroll.ts +15 -0
  352. package/src/utils/tableFunc.ts +8 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAC9C,OAAO,CACL,eAAK,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,aAClC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAC9B,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACnB,0BACE,cAAK,SAAS,EAAC,iCAAiC,YAAE,SAAS,GAAO,EAClE,cAAK,SAAS,EAAC,0BAA0B,YAAE,IAAI,GAAO,IAClD,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9C,IAAI,OAAO,KAAK,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,aAAa,GAAG,cAAc,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAEvE,OAAO;QACL,kCAAkC;QAClC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW;QAC/C,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;KAC9B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAoB,EAAE,EAAE,CACvE,OAAO,CAAC,IAAI,IAAI,SAAS,IAAI,CAAC,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAC9C,OAAO,CACL,eAAK,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,aAClC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAC9B,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACnB,0BACE,cAAK,SAAS,EAAC,iCAAiC,YAAE,SAAS,GAAO,EAClE,cAAK,SAAS,EAAC,uBAAuB,YAAE,IAAI,GAAO,IAC/C,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9C,IAAI,OAAO,KAAK,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,aAAa,GAAG,cAAc,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAEvE,OAAO;QACL,kCAAkC;QAClC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW;QAC/C,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;KAC9B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAoB,EAAE,EAAE,CACvE,OAAO,CAAC,IAAI,IAAI,SAAS,IAAI,CAAC,UAAU,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
- import { HeadingContent, HeadingTypeContent } from './HeadingContent';
1
+ import { HeadingContent, HeadingType, HeadingTypeContent } from './HeadingContent';
2
2
  export interface HeadingProps extends HeadingContent, HeadingTypeContent {
3
3
  className?: string;
4
+ as?: HeadingType;
4
5
  }
5
6
  export declare const Heading: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeadingProps, any>, context?: any) => any;
@@ -9,11 +9,11 @@ const HeadingClass = {
9
9
  h6: 'text-m-title-xs',
10
10
  };
11
11
  export const Heading = JSX((props) => {
12
- const { className, headingType, title } = props;
12
+ const { className, headingType, title, as } = props;
13
13
  if (!headingType) {
14
14
  return;
15
15
  }
16
- const Tag = headingType;
16
+ const Tag = as || headingType;
17
17
  return (_jsx(Tag, { className: `font-sans font-medium m-0 ${HeadingClass[headingType]} ${className || ''}`, children: title }));
18
18
  });
19
19
  //# sourceMappingURL=Heading.js.map
@@ -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;AAOxC,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,GAAG,KAAK,CAAC;IAChD,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO;KACR;IACD,MAAM,GAAG,GAAG,WAAW,CAAC;IAExB,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;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;KACR;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"}
@@ -0,0 +1,2 @@
1
+ import { Router } from '../components/ContentPage/ContentPageContext';
2
+ export declare const changeHashOnScroll: (router: Router, blocks: NodeListOf<Element> | null) => void;
@@ -0,0 +1,13 @@
1
+ export const changeHashOnScroll = (router, blocks) => {
2
+ blocks?.forEach((block) => {
3
+ const currentHash = globalThis.location.hash;
4
+ const anchorHash = `#${block?.id}`;
5
+ if (currentHash === anchorHash)
6
+ return;
7
+ const position = block?.getBoundingClientRect();
8
+ if (position && position.top > 0 && position.top < 150) {
9
+ router.replace(`#${block?.id}`);
10
+ }
11
+ });
12
+ };
13
+ //# sourceMappingURL=changeHashOnScroll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"changeHashOnScroll.js","sourceRoot":"","sources":["../../src/utils/changeHashOnScroll.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,MAAc,EAAE,MAAkC,EAAE,EAAE;IACvF,MAAM,EAAE,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;QACxB,MAAM,WAAW,GAAG,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,KAAK,EAAE,EAAE,EAAE,CAAC;QAEnC,IAAI,WAAW,KAAK,UAAU;YAAE,OAAO;QAEvC,MAAM,QAAQ,GAAG,KAAK,EAAE,qBAAqB,EAAE,CAAC;QAChD,IAAI,QAAQ,IAAI,QAAQ,CAAC,GAAG,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,GAAG,GAAG,EAAE;YACtD,MAAM,CAAC,OAAO,CAAC,IAAI,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;SACjC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare type Predicate<Input> = (input: Input) => boolean;
2
+ export declare const tableFunc: <Input, Output>(table: [Predicate<Input>, Output][]) => (input: Input) => Output | undefined;
@@ -0,0 +1,5 @@
1
+ export const tableFunc = (table) => (input) => {
2
+ const [, output] = table.find(([predicate]) => predicate(input)) || [];
3
+ return output;
4
+ };
5
+ //# sourceMappingURL=tableFunc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tableFunc.js","sourceRoot":"","sources":["../../src/utils/tableFunc.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GACpB,CAAgB,KAAwC,EAAE,EAAE,CAC5D,CAAC,KAAY,EAAsB,EAAE;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;IACvE,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
@@ -3,6 +3,7 @@ import type { ComparisonTableContent } from './ComparisonTable/ComparisonTableCo
3
3
  import type { ExchangeRateTileContent } from './ExchangeRateTile/ExchangeRateTileContent';
4
4
  import type { FooterContent } from './Footer/FooterContent';
5
5
  import type { GalleryContent } from './Gallery/GalleryContent';
6
+ import type { GracePeriodContent } from './GracePeriod/GracePeriodContent';
6
7
  import type { HeaderContent } from './Header/HeaderContent';
7
8
  import type { LinkDocsContent } from './LinkDocs/LinkDocsContent';
8
9
  import type { LinkListContent } from './LinkList/LinkListContent';
@@ -29,6 +30,7 @@ export type BlockContent =
29
30
  | ExchangeRateTileContent
30
31
  | FooterContent
31
32
  | GalleryContent
33
+ | GracePeriodContent
32
34
  | HeaderContent
33
35
  | LinkDocsContent
34
36
  | MobileAppTileContent