@redneckz/wildless-cms-uni-blocks 0.2.115 → 0.2.116

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 (889) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +70 -63
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/Accordion.js +2 -2
  5. package/dist/components/Accordion/Accordion.js.map +1 -1
  6. package/dist/components/Accordion/Accordion.mobile.js +2 -2
  7. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  8. package/dist/components/BaseTile/BaseTile.js +4 -5
  9. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  10. package/dist/components/BaseTile/BaseTile.mobile.js +4 -4
  11. package/dist/components/BaseTile/BaseTile.mobile.js.map +1 -1
  12. package/dist/components/BaseTile/BaseTileInner.js +1 -1
  13. package/dist/components/BaseTile/BaseTileInner.js.map +1 -1
  14. package/dist/components/BaseTile/BaseTileProps.d.ts +4 -6
  15. package/dist/components/BaseTile/getHeadingType.d.ts +1 -0
  16. package/dist/components/BaseTile/{getTitleSizeByClassName.js → getHeadingType.js} +7 -7
  17. package/dist/components/BaseTile/getHeadingType.js.map +1 -0
  18. package/dist/components/BaseTile/renderButton.js +1 -1
  19. package/dist/components/BaseTile/renderButton.js.map +1 -1
  20. package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  21. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  22. package/dist/components/Blocks.mobile.d.ts +1 -0
  23. package/dist/components/Blocks.mobile.js +2 -0
  24. package/dist/components/Blocks.mobile.js.map +1 -1
  25. package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  26. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  27. package/dist/components/ComparisonTable/HeaderCell.js +2 -2
  28. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  29. package/dist/components/Footer/MediaButton.js +2 -2
  30. package/dist/components/Footer/MediaButton.js.map +1 -1
  31. package/dist/components/Gallery/Gallery.mobile.js +2 -2
  32. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  33. package/dist/components/Gallery/GalleryContainer.js +2 -2
  34. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  35. package/dist/components/Header/HeaderTop.js +1 -1
  36. package/dist/components/Header/HeaderTop.js.map +1 -1
  37. package/dist/components/Headline/Headline.js +2 -2
  38. package/dist/components/Headline/Headline.js.map +1 -1
  39. package/dist/components/Headline/Headline.mobile.js +2 -2
  40. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  41. package/dist/components/Headline/HeadlineContent.d.ts +6 -2
  42. package/dist/components/LinkDocs/LinkDocs.js +6 -25
  43. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  44. package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
  45. package/dist/components/LinkDocs/LinkDocs.mobile.js +11 -0
  46. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -0
  47. package/dist/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  48. package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  49. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +12 -0
  50. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  51. package/dist/components/LinkDocs/LinkDocsList.d.ts +9 -0
  52. package/dist/components/LinkDocs/LinkDocsList.js +9 -0
  53. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -0
  54. package/dist/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  55. package/dist/components/LinkDocs/LinkDocsListItem.js +7 -0
  56. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  57. package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
  58. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +7 -0
  59. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -0
  60. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  61. package/dist/components/LinkDocs/LinkDocsListItemBase.js +22 -0
  62. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  63. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  64. package/dist/components/LinkDocs/LinkDocsVerticalList.js +11 -0
  65. package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  66. package/dist/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  67. package/dist/components/LinkDocs/linkDocsContentExample.js +28 -0
  68. package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  69. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +10 -2
  70. package/dist/components/PictureText/PictureText.js +2 -2
  71. package/dist/components/PictureText/PictureText.js.map +1 -1
  72. package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -8
  73. package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -2
  74. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  75. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  76. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  77. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  78. package/dist/components/ProductBlock/renderBenefit.js +1 -1
  79. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  80. package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
  81. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  82. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  83. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  84. package/dist/components/ProductGallery/ProductGallery.mobile.js +3 -2
  85. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  86. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
  87. package/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
  88. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  89. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +2 -2
  90. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +2 -2
  91. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  92. package/dist/components/ProductTile/ProductTileContent.d.ts +2 -2
  93. package/dist/components/StepsBlock/StepsBlock.js +2 -2
  94. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  95. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  96. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  97. package/dist/components/TariffsTable/TariffsTable.js +2 -2
  98. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  99. package/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  100. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  101. package/dist/components/Tile/TileContent.d.ts +1 -1
  102. package/dist/icons/IconName.d.ts +81 -0
  103. package/dist/icons/IconName.js +77 -0
  104. package/dist/icons/IconName.js.map +1 -0
  105. package/dist/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  106. package/dist/services/sitemap/checkIsHrefSameOrigin.js +6 -0
  107. package/dist/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  108. package/dist/services/sitemap/isTopItemActive.js +4 -1
  109. package/dist/services/sitemap/isTopItemActive.js.map +1 -1
  110. package/dist/setup-fixture.d.ts +3 -0
  111. package/dist/setup-fixture.js +72 -0
  112. package/dist/setup-fixture.js.map +1 -0
  113. package/dist/ui-kit/BlockItem/BlockItem.js +2 -2
  114. package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  115. package/dist/ui-kit/Heading/Heading.d.ts +2 -0
  116. package/dist/ui-kit/Heading/Heading.js +18 -0
  117. package/dist/ui-kit/Heading/Heading.js.map +1 -0
  118. package/dist/ui-kit/Heading/Heading.mobile.d.ts +2 -0
  119. package/dist/ui-kit/Heading/Heading.mobile.js +18 -0
  120. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -0
  121. package/dist/ui-kit/Heading/HeadingProps.d.ts +13 -0
  122. package/dist/ui-kit/{Title/TitleProps.js → Heading/HeadingProps.js} +1 -1
  123. package/dist/ui-kit/Heading/HeadingProps.js.map +1 -0
  124. package/dist/ui-kit/Icon/IconProps.d.ts +2 -150
  125. package/dist/ui-kit/Icon/IconProps.js +0 -76
  126. package/dist/ui-kit/Icon/IconProps.js.map +1 -1
  127. package/dist/ui-kit/Logo/Logo.js +1 -1
  128. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  129. package/dist/ui-kit/Logo/Logo.mobile.js +1 -1
  130. package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
  131. package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  132. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +32 -0
  133. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  134. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  135. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +28 -0
  136. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  137. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  138. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +8 -0
  139. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  140. package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  141. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +11 -0
  142. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  143. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  144. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  145. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  146. package/dist/ui-kit/SwipeListControl/constants.d.ts +2 -0
  147. package/dist/ui-kit/SwipeListControl/constants.js +12 -0
  148. package/dist/ui-kit/SwipeListControl/constants.js.map +1 -0
  149. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  150. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js +13 -0
  151. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  152. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  153. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +18 -0
  154. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  155. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  156. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +27 -0
  157. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  158. package/lib/common.css +1 -1
  159. package/lib/components/Accordion/Accordion.js +2 -2
  160. package/lib/components/Accordion/Accordion.js.map +1 -1
  161. package/lib/components/Accordion/Accordion.mobile.js +2 -2
  162. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  163. package/lib/components/BaseTile/BaseTile.js +4 -5
  164. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  165. package/lib/components/BaseTile/BaseTile.mobile.js +4 -4
  166. package/lib/components/BaseTile/BaseTile.mobile.js.map +1 -1
  167. package/lib/components/BaseTile/BaseTileInner.js +1 -1
  168. package/lib/components/BaseTile/BaseTileInner.js.map +1 -1
  169. package/lib/components/BaseTile/BaseTileProps.d.ts +4 -6
  170. package/lib/components/BaseTile/getHeadingType.d.ts +1 -0
  171. package/lib/components/BaseTile/{getTitleSizeByClassName.js → getHeadingType.js} +5 -5
  172. package/lib/components/BaseTile/getHeadingType.js.map +1 -0
  173. package/lib/components/BaseTile/renderButton.js +1 -1
  174. package/lib/components/BaseTile/renderButton.js.map +1 -1
  175. package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  176. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  177. package/lib/components/Blocks.mobile.d.ts +1 -0
  178. package/lib/components/Blocks.mobile.js +2 -0
  179. package/lib/components/Blocks.mobile.js.map +1 -1
  180. package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  181. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  182. package/lib/components/ComparisonTable/HeaderCell.js +2 -2
  183. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  184. package/lib/components/Footer/MediaButton.js +2 -2
  185. package/lib/components/Footer/MediaButton.js.map +1 -1
  186. package/lib/components/Gallery/Gallery.mobile.js +2 -2
  187. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  188. package/lib/components/Gallery/GalleryContainer.js +2 -2
  189. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  190. package/lib/components/Header/HeaderTop.js +1 -1
  191. package/lib/components/Header/HeaderTop.js.map +1 -1
  192. package/lib/components/Headline/Headline.fixture.d.ts +0 -4
  193. package/lib/components/Headline/Headline.js +2 -2
  194. package/lib/components/Headline/Headline.js.map +1 -1
  195. package/lib/components/Headline/Headline.mobile.js +2 -2
  196. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  197. package/lib/components/Headline/HeadlineContent.d.ts +6 -2
  198. package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +2 -7
  199. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +6 -0
  200. package/lib/components/LinkDocs/LinkDocs.js +6 -25
  201. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  202. package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
  203. package/lib/components/LinkDocs/LinkDocs.mobile.js +9 -0
  204. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -0
  205. package/lib/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  206. package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  207. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +10 -0
  208. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  209. package/lib/components/LinkDocs/LinkDocsList.d.ts +9 -0
  210. package/lib/components/LinkDocs/LinkDocsList.js +7 -0
  211. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -0
  212. package/lib/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  213. package/lib/components/LinkDocs/LinkDocsListItem.js +5 -0
  214. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  215. package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
  216. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +5 -0
  217. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -0
  218. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  219. package/lib/components/LinkDocs/LinkDocsListItemBase.js +20 -0
  220. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  221. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  222. package/lib/components/LinkDocs/LinkDocsVerticalList.js +9 -0
  223. package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  224. package/lib/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  225. package/lib/components/LinkDocs/linkDocsContentExample.js +26 -0
  226. package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  227. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +10 -2
  228. package/lib/components/PictureText/PictureText.js +2 -2
  229. package/lib/components/PictureText/PictureText.js.map +1 -1
  230. package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -8
  231. package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -2
  232. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  233. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  234. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  235. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  236. package/lib/components/ProductBlock/renderBenefit.js +1 -1
  237. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  238. package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
  239. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  240. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  241. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  242. package/lib/components/ProductGallery/ProductGallery.mobile.js +3 -2
  243. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  244. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
  245. package/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
  246. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  247. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +2 -2
  248. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +2 -2
  249. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  250. package/lib/components/ProductTile/ProductTileContent.d.ts +2 -2
  251. package/lib/components/StepsBlock/StepsBlock.js +2 -2
  252. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  253. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  254. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  255. package/lib/components/TariffsTable/TariffsTable.js +2 -2
  256. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  257. package/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  258. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  259. package/lib/components/Tile/TileContent.d.ts +1 -1
  260. package/lib/icons/IconName.d.ts +81 -0
  261. package/lib/icons/IconName.js +75 -0
  262. package/lib/icons/IconName.js.map +1 -0
  263. package/lib/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  264. package/lib/services/sitemap/checkIsHrefSameOrigin.js +3 -0
  265. package/lib/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  266. package/lib/services/sitemap/isTopItemActive.js +4 -1
  267. package/lib/services/sitemap/isTopItemActive.js.map +1 -1
  268. package/lib/setup-fixture.js +70 -0
  269. package/lib/setup-fixture.js.map +1 -0
  270. package/lib/ui-kit/BlockItem/BlockItem.js +2 -2
  271. package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  272. package/lib/ui-kit/Heading/Heading.d.ts +2 -0
  273. package/lib/ui-kit/Heading/Heading.fixture.d.ts +4 -0
  274. package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +4 -0
  275. package/lib/ui-kit/Heading/Heading.js +16 -0
  276. package/lib/ui-kit/Heading/Heading.js.map +1 -0
  277. package/lib/ui-kit/Heading/Heading.mobile.d.ts +2 -0
  278. package/lib/ui-kit/Heading/Heading.mobile.js +16 -0
  279. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -0
  280. package/lib/ui-kit/Heading/HeadingProps.d.ts +13 -0
  281. package/lib/ui-kit/Heading/HeadingProps.js +2 -0
  282. package/lib/ui-kit/Heading/HeadingProps.js.map +1 -0
  283. package/lib/ui-kit/Icon/IconProps.d.ts +2 -150
  284. package/lib/ui-kit/Icon/IconProps.js +1 -75
  285. package/lib/ui-kit/Icon/IconProps.js.map +1 -1
  286. package/lib/ui-kit/Logo/Logo.js +1 -1
  287. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  288. package/lib/ui-kit/Logo/Logo.mobile.js +1 -1
  289. package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
  290. package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  291. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +4 -0
  292. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +30 -0
  293. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  294. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  295. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +26 -0
  296. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  297. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  298. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +6 -0
  299. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  300. package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  301. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +9 -0
  302. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  303. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  304. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  305. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  306. package/lib/ui-kit/SwipeListControl/constants.d.ts +2 -0
  307. package/lib/ui-kit/SwipeListControl/constants.js +10 -0
  308. package/lib/ui-kit/SwipeListControl/constants.js.map +1 -0
  309. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  310. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js +10 -0
  311. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  312. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +7 -0
  313. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +15 -0
  314. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  315. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  316. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +24 -0
  317. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  318. package/mobile/bundle/bundle.umd.js +182 -63
  319. package/mobile/bundle/bundle.umd.min.js +1 -1
  320. package/mobile/dist/components/Accordion/Accordion.js +2 -2
  321. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  322. package/mobile/dist/components/BaseTile/BaseTile.js +4 -4
  323. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  324. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +4 -6
  325. package/mobile/dist/components/BaseTile/getHeadingType.d.ts +1 -0
  326. package/mobile/dist/components/BaseTile/{getTitleSizeByClassName.js → getHeadingType.js} +7 -7
  327. package/mobile/dist/components/BaseTile/getHeadingType.js.map +1 -0
  328. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  329. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  330. package/mobile/dist/components/Blocks.d.ts +1 -0
  331. package/mobile/dist/components/Blocks.js +2 -0
  332. package/mobile/dist/components/Blocks.js.map +1 -1
  333. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  334. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  335. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -2
  336. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  337. package/mobile/dist/components/Footer/MediaButton.js +2 -2
  338. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  339. package/mobile/dist/components/Gallery/Gallery.js +2 -2
  340. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  341. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  342. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  343. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  344. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  345. package/mobile/dist/components/Headline/Headline.js +2 -2
  346. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  347. package/mobile/dist/components/Headline/HeadlineContent.d.ts +6 -2
  348. package/mobile/dist/components/LinkDocs/LinkDocs.js +5 -36
  349. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  350. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  351. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  352. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +12 -0
  353. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  354. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +9 -0
  355. package/mobile/dist/components/LinkDocs/LinkDocsList.js +9 -0
  356. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -0
  357. package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  358. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +7 -0
  359. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  360. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  361. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +22 -0
  362. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  363. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  364. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +11 -0
  365. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  366. package/mobile/dist/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  367. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +28 -0
  368. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  369. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +10 -2
  370. package/mobile/dist/components/PictureText/PictureText.js +2 -2
  371. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  372. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -8
  373. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  374. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  375. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  376. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  377. package/mobile/dist/components/ProductGallery/ProductGallery.js +3 -2
  378. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  379. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
  380. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
  381. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  382. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +2 -2
  383. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  384. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  385. package/mobile/dist/components/TariffsTable/TariffsTable.js +2 -2
  386. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  387. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  388. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  389. package/mobile/dist/components/Tile/TileContent.d.ts +1 -1
  390. package/mobile/dist/icons/IconName.d.ts +81 -0
  391. package/mobile/dist/icons/IconName.js +77 -0
  392. package/mobile/dist/icons/IconName.js.map +1 -0
  393. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  394. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.js +6 -0
  395. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  396. package/mobile/dist/services/sitemap/isTopItemActive.js +4 -1
  397. package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -1
  398. package/mobile/dist/setup-fixture.d.ts +3 -0
  399. package/mobile/dist/setup-fixture.js +72 -0
  400. package/mobile/dist/setup-fixture.js.map +1 -0
  401. package/mobile/dist/ui-kit/BlockItem/BlockItem.js +2 -2
  402. package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  403. package/mobile/dist/ui-kit/Heading/Heading.d.ts +2 -0
  404. package/mobile/dist/ui-kit/Heading/Heading.js +18 -0
  405. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -0
  406. package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +13 -0
  407. package/mobile/dist/ui-kit/{Title/TitleProps.js → Heading/HeadingProps.js} +1 -1
  408. package/mobile/dist/ui-kit/Heading/HeadingProps.js.map +1 -0
  409. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +2 -150
  410. package/mobile/dist/ui-kit/Icon/IconProps.js +0 -76
  411. package/mobile/dist/ui-kit/Icon/IconProps.js.map +1 -1
  412. package/mobile/dist/ui-kit/Logo/Logo.js +1 -1
  413. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  414. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  415. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +32 -0
  416. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  417. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  418. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +28 -0
  419. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  420. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  421. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +8 -0
  422. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  423. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  424. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +11 -0
  425. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  426. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  427. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  428. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  429. package/mobile/dist/ui-kit/SwipeListControl/constants.d.ts +2 -0
  430. package/mobile/dist/ui-kit/SwipeListControl/constants.js +12 -0
  431. package/mobile/dist/ui-kit/SwipeListControl/constants.js.map +1 -0
  432. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  433. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js +13 -0
  434. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  435. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  436. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +18 -0
  437. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  438. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  439. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +27 -0
  440. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  441. package/mobile/lib/components/Accordion/Accordion.js +2 -2
  442. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  443. package/mobile/lib/components/BaseTile/BaseTile.js +4 -4
  444. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  445. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +4 -6
  446. package/mobile/lib/components/BaseTile/getHeadingType.d.ts +1 -0
  447. package/mobile/lib/components/BaseTile/{getTitleSizeByClassName.js → getHeadingType.js} +5 -5
  448. package/mobile/lib/components/BaseTile/getHeadingType.js.map +1 -0
  449. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  450. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  451. package/mobile/lib/components/Blocks.d.ts +1 -0
  452. package/mobile/lib/components/Blocks.js +2 -0
  453. package/mobile/lib/components/Blocks.js.map +1 -1
  454. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  455. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  456. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -2
  457. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  458. package/mobile/lib/components/Footer/MediaButton.js +2 -2
  459. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  460. package/mobile/lib/components/Gallery/Gallery.js +2 -2
  461. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  462. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  463. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  464. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  465. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  466. package/mobile/lib/components/Headline/Headline.js +2 -2
  467. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  468. package/mobile/lib/components/Headline/HeadlineContent.d.ts +6 -2
  469. package/mobile/lib/components/LinkDocs/LinkDocs.js +5 -36
  470. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  471. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  472. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  473. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +10 -0
  474. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  475. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +9 -0
  476. package/mobile/lib/components/LinkDocs/LinkDocsList.js +7 -0
  477. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -0
  478. package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  479. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +5 -0
  480. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  481. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  482. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +20 -0
  483. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  484. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  485. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +9 -0
  486. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  487. package/mobile/lib/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  488. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +26 -0
  489. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  490. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +10 -2
  491. package/mobile/lib/components/PictureText/PictureText.js +2 -2
  492. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  493. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -8
  494. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  495. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  496. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  497. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  498. package/mobile/lib/components/ProductGallery/ProductGallery.js +3 -2
  499. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  500. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +2 -2
  501. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
  502. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  503. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +2 -2
  504. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  505. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  506. package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -2
  507. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  508. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  509. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  510. package/mobile/lib/components/Tile/TileContent.d.ts +1 -1
  511. package/mobile/lib/icons/IconName.d.ts +81 -0
  512. package/mobile/lib/icons/IconName.js +75 -0
  513. package/mobile/lib/icons/IconName.js.map +1 -0
  514. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  515. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.js +3 -0
  516. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  517. package/mobile/lib/services/sitemap/isTopItemActive.js +4 -1
  518. package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -1
  519. package/mobile/lib/setup-fixture.d.ts +3 -0
  520. package/mobile/lib/setup-fixture.js +70 -0
  521. package/mobile/lib/setup-fixture.js.map +1 -0
  522. package/mobile/lib/ui-kit/BlockItem/BlockItem.js +2 -2
  523. package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  524. package/mobile/lib/ui-kit/Heading/Heading.d.ts +2 -0
  525. package/mobile/lib/ui-kit/Heading/Heading.js +16 -0
  526. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -0
  527. package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +13 -0
  528. package/mobile/lib/ui-kit/Heading/HeadingProps.js +2 -0
  529. package/mobile/lib/ui-kit/Heading/HeadingProps.js.map +1 -0
  530. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +2 -150
  531. package/mobile/lib/ui-kit/Icon/IconProps.js +1 -75
  532. package/mobile/lib/ui-kit/Icon/IconProps.js.map +1 -1
  533. package/mobile/lib/ui-kit/Logo/Logo.js +1 -1
  534. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  535. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  536. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +30 -0
  537. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  538. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  539. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +26 -0
  540. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  541. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  542. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +6 -0
  543. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  544. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  545. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +9 -0
  546. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  547. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  548. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  549. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  550. package/mobile/lib/ui-kit/SwipeListControl/constants.d.ts +2 -0
  551. package/mobile/lib/ui-kit/SwipeListControl/constants.js +10 -0
  552. package/mobile/lib/ui-kit/SwipeListControl/constants.js.map +1 -0
  553. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  554. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js +10 -0
  555. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  556. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  557. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +15 -0
  558. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  559. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  560. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +24 -0
  561. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  562. package/mobile/src/components/Accordion/Accordion.tsx +2 -6
  563. package/mobile/src/components/BaseTile/BaseTile.tsx +7 -8
  564. package/mobile/src/components/BaseTile/BaseTileProps.ts +5 -5
  565. package/mobile/src/components/BaseTile/{getTitleSizeByClassName.ts → getHeadingType.ts} +5 -4
  566. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +2 -2
  567. package/mobile/src/components/Blocks.ts +2 -0
  568. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
  569. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +2 -6
  570. package/mobile/src/components/ContentPage/ContentPage.page.json +56 -0
  571. package/mobile/src/components/Footer/MediaButton.tsx +2 -1
  572. package/mobile/src/components/Gallery/Gallery.tsx +2 -2
  573. package/mobile/src/components/Gallery/GalleryContainer.tsx +2 -2
  574. package/mobile/src/components/Header/HeaderTop.tsx +1 -1
  575. package/mobile/src/components/Headline/Headline.tsx +2 -6
  576. package/mobile/src/components/Headline/HeadlineContent.ts +7 -4
  577. package/mobile/src/components/LinkDocs/LinkDocs.example.json +4 -1
  578. package/mobile/src/components/LinkDocs/LinkDocs.tsx +28 -70
  579. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +29 -7
  580. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +28 -0
  581. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +33 -0
  582. package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +12 -0
  583. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +51 -0
  584. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +33 -0
  585. package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +27 -0
  586. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +10 -3
  587. package/mobile/src/components/PictureText/PictureText.tsx +2 -2
  588. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +1 -9
  589. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -2
  590. package/mobile/src/components/ProductBlock/renderBenefit.tsx +2 -2
  591. package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -1
  592. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -4
  593. package/mobile/src/components/ProductTile/ProductTileContent.ts +2 -2
  594. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -6
  595. package/mobile/src/components/TariffsTable/TariffsTable.tsx +2 -2
  596. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  597. package/mobile/src/components/Tile/TileContent.ts +1 -1
  598. package/mobile/src/icons/ActualBalanceIcon.svg +1 -1
  599. package/mobile/src/icons/AppleIcon.svg +1 -1
  600. package/mobile/src/icons/AtmIcon.svg +1 -1
  601. package/mobile/src/icons/BankIcon.svg +1 -1
  602. package/mobile/src/icons/BurgerIcon.svg +1 -1
  603. package/mobile/src/icons/BurgerIconWhite.svg +1 -1
  604. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  605. package/mobile/src/icons/CalendarCircleIcon.svg +1 -1
  606. package/mobile/src/icons/CalendarIcon.svg +1 -1
  607. package/mobile/src/icons/CalendarTickIcon.svg +1 -1
  608. package/mobile/src/icons/CalendarWhiteIcon.svg +1 -1
  609. package/mobile/src/icons/CardIcon.svg +1 -1
  610. package/mobile/src/icons/CardPosIcon.svg +1 -1
  611. package/mobile/src/icons/CardTickIcon.svg +1 -1
  612. package/mobile/src/icons/CardWithGemIcon.svg +1 -1
  613. package/mobile/src/icons/ChartSquareIcon.svg +1 -1
  614. package/mobile/src/icons/ClockIcon.svg +1 -1
  615. package/mobile/src/icons/CloseIcon.svg +1 -1
  616. package/mobile/src/icons/ComfortableCompIcon.svg +1 -1
  617. package/mobile/src/icons/CreditCardsIcon.svg +1 -1
  618. package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
  619. package/mobile/src/icons/DocIcon.svg +2 -2
  620. package/mobile/src/icons/DocumentTextIcon.svg +1 -1
  621. package/mobile/src/icons/DollarIcon.svg +1 -1
  622. package/mobile/src/icons/EarthIcon.svg +1 -1
  623. package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
  624. package/mobile/src/icons/EmptyWalletIcon.svg +1 -1
  625. package/mobile/src/icons/EmptyWalletWhiteIcon.svg +1 -1
  626. package/mobile/src/icons/EuroIcon.svg +1 -1
  627. package/mobile/src/icons/GeolocationIcon.svg +1 -1
  628. package/mobile/src/icons/GlassIcon.svg +1 -1
  629. package/mobile/src/icons/GlobalIcon.svg +1 -1
  630. package/mobile/src/icons/GridIcon.svg +1 -1
  631. package/mobile/src/icons/GridIconWhite.svg +1 -1
  632. package/mobile/src/icons/IconName.ts +16 -0
  633. package/mobile/src/icons/InterestGrowthIcon.svg +1 -1
  634. package/mobile/src/icons/InterestIcon.svg +1 -1
  635. package/mobile/src/icons/JCBIcon.svg +1 -1
  636. package/mobile/src/icons/LoupeIcon.svg +1 -1
  637. package/mobile/src/icons/MasterCardIcon.svg +1 -1
  638. package/mobile/src/icons/MinusIcon.svg +1 -1
  639. package/mobile/src/icons/MirIcon.svg +1 -1
  640. package/mobile/src/icons/MoneyIcon.svg +1 -1
  641. package/mobile/src/icons/MoneyInsuranceIcon.svg +1 -1
  642. package/mobile/src/icons/MonitorMobileIcon.svg +1 -1
  643. package/mobile/src/icons/NewDocIcon.svg +1 -1
  644. package/mobile/src/icons/OfficeIcon.svg +1 -1
  645. package/mobile/src/icons/OkIcon.svg +1 -1
  646. package/mobile/src/icons/PassSendIcon.svg +1 -1
  647. package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
  648. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  649. package/mobile/src/icons/PercentageSquareWhiteIcon.svg +1 -1
  650. package/mobile/src/icons/PersonalCardIcon.svg +1 -1
  651. package/mobile/src/icons/PlayMarketIcon.svg +1 -1
  652. package/mobile/src/icons/PlusIcon.svg +1 -1
  653. package/mobile/src/icons/Profile2UserIcon.svg +1 -1
  654. package/mobile/src/icons/ProfileIcon.svg +1 -1
  655. package/mobile/src/icons/RoundRubleIcon.svg +1 -1
  656. package/mobile/src/icons/SafeIcon.svg +1 -1
  657. package/mobile/src/icons/ShieldTickIcon.svg +1 -1
  658. package/mobile/src/icons/SignDocsIcon.svg +1 -1
  659. package/mobile/src/icons/SmallClockIcon.svg +1 -1
  660. package/mobile/src/icons/TelegramIcon.svg +1 -1
  661. package/mobile/src/icons/UnionPayIcon.svg +1 -1
  662. package/mobile/src/icons/UserTickIcon.svg +1 -1
  663. package/mobile/src/icons/VKIcon.svg +1 -1
  664. package/mobile/src/icons/VisaIcon.svg +1 -1
  665. package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
  666. package/mobile/src/icons/WalletAddIcon.svg +1 -1
  667. package/mobile/src/icons/WalletIcon.svg +1 -1
  668. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
  669. package/mobile/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +20 -0
  670. package/mobile/src/services/sitemap/checkIsHrefSameOrigin.ts +6 -0
  671. package/mobile/src/services/sitemap/isTopItemActive.spec.ts +59 -0
  672. package/mobile/src/services/sitemap/isTopItemActive.ts +4 -1
  673. package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +2 -2
  674. package/mobile/src/ui-kit/Heading/Heading.tsx +20 -0
  675. package/mobile/src/ui-kit/Heading/HeadingProps.ts +14 -0
  676. package/mobile/src/ui-kit/Icon/IconProps.ts +2 -150
  677. package/mobile/src/ui-kit/Logo/Logo.tsx +1 -0
  678. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +62 -0
  679. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +51 -0
  680. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +20 -0
  681. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +48 -0
  682. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +19 -0
  683. package/mobile/src/ui-kit/SwipeListControl/constants.ts +10 -0
  684. package/mobile/src/ui-kit/SwipeListControl/utils/getContainerStyle.ts +9 -0
  685. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +19 -0
  686. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +20 -0
  687. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +24 -0
  688. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +41 -0
  689. package/package.json +14 -15
  690. package/src/components/Accordion/Accordion.fixture.mobile.tsx +2 -2
  691. package/src/components/Accordion/Accordion.fixture.tsx +2 -2
  692. package/src/components/Accordion/Accordion.mobile.tsx +2 -6
  693. package/src/components/Accordion/Accordion.tsx +2 -2
  694. package/src/components/BaseTile/BaseTile.mobile.tsx +7 -8
  695. package/src/components/BaseTile/BaseTile.tsx +11 -9
  696. package/src/components/BaseTile/BaseTileInner.tsx +5 -5
  697. package/src/components/BaseTile/BaseTileProps.ts +5 -5
  698. package/src/components/BaseTile/{getTitleSizeByClassName.ts → getHeadingType.ts} +5 -4
  699. package/src/components/BaseTile/renderButton.tsx +5 -1
  700. package/src/components/BenefitsBlock/BenefitsBlock.tsx +2 -2
  701. package/src/components/Blocks.mobile.ts +2 -0
  702. package/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
  703. package/src/components/ComparisonTable/HeaderCell.tsx +2 -6
  704. package/src/components/ContentPage/ContentPage.page.json +14 -80
  705. package/src/components/ContentPage/ContentPage.page.mobile.json +56 -0
  706. package/src/components/Footer/Footer.fixture.tsx +0 -126
  707. package/src/components/Footer/MediaButton.tsx +2 -1
  708. package/src/components/Gallery/Gallery.mobile.tsx +2 -2
  709. package/src/components/Gallery/GalleryContainer.tsx +2 -2
  710. package/src/components/Header/HeaderTop.tsx +1 -1
  711. package/src/components/Headline/Headline.fixture.tsx +0 -54
  712. package/src/components/Headline/Headline.mobile.tsx +2 -6
  713. package/src/components/Headline/Headline.tsx +2 -6
  714. package/src/components/Headline/HeadlineContent.ts +7 -4
  715. package/src/components/LinkDocs/LinkDocs.example.json +4 -1
  716. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +36 -0
  717. package/src/components/LinkDocs/LinkDocs.fixture.tsx +17 -48
  718. package/src/components/LinkDocs/LinkDocs.mobile.tsx +40 -0
  719. package/src/components/LinkDocs/LinkDocs.tsx +35 -52
  720. package/src/components/LinkDocs/LinkDocsContent.ts +29 -7
  721. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +28 -0
  722. package/src/components/LinkDocs/LinkDocsList.tsx +33 -0
  723. package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +12 -0
  724. package/src/components/LinkDocs/LinkDocsListItem.tsx +14 -0
  725. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +51 -0
  726. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +33 -0
  727. package/src/components/LinkDocs/linkDocsContentExample.ts +27 -0
  728. package/src/components/MobileAppTile/MobileAppTileContent.ts +10 -3
  729. package/src/components/PictureText/PictureText.tsx +2 -2
  730. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +0 -1
  731. package/src/components/ProductBlock/ProductBlock.fixture.tsx +0 -1
  732. package/src/components/ProductBlock/ProductBlockContent.ts +1 -9
  733. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -2
  734. package/src/components/ProductBlock/ProductBlockInner.tsx +3 -3
  735. package/src/components/ProductBlock/renderBenefit.mobile.tsx +2 -2
  736. package/src/components/ProductBlock/renderBenefit.tsx +2 -2
  737. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -1
  738. package/src/components/ProductGallery/ProductGallery.fixture.tsx +0 -1
  739. package/src/components/ProductGallery/ProductGallery.mobile.tsx +3 -1
  740. package/src/components/ProductGallery/ProductGallery.tsx +1 -0
  741. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +4 -4
  742. package/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -4
  743. package/src/components/ProductTile/ProductTileContent.ts +2 -2
  744. package/src/components/PromoTile/PromoTile.fixture.tsx +0 -1
  745. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -6
  746. package/src/components/StepsBlock/StepsBlock.tsx +2 -2
  747. package/src/components/TariffsTable/TariffsTable.tsx +2 -2
  748. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  749. package/src/components/Tile/Tile.fixture.tsx +24 -21
  750. package/src/components/Tile/TileContent.ts +1 -1
  751. package/src/icons/ActualBalanceIcon.svg +1 -1
  752. package/src/icons/AppleIcon.svg +1 -1
  753. package/src/icons/AtmIcon.svg +1 -1
  754. package/src/icons/BankIcon.svg +1 -1
  755. package/src/icons/BurgerIcon.svg +1 -1
  756. package/src/icons/BurgerIconWhite.svg +1 -1
  757. package/src/icons/Calendar2Icon.svg +1 -1
  758. package/src/icons/CalendarCircleIcon.svg +1 -1
  759. package/src/icons/CalendarIcon.svg +1 -1
  760. package/src/icons/CalendarTickIcon.svg +1 -1
  761. package/src/icons/CalendarWhiteIcon.svg +1 -1
  762. package/src/icons/CardIcon.svg +1 -1
  763. package/src/icons/CardPosIcon.svg +1 -1
  764. package/src/icons/CardTickIcon.svg +1 -1
  765. package/src/icons/CardWithGemIcon.svg +1 -1
  766. package/src/icons/ChartSquareIcon.svg +1 -1
  767. package/src/icons/ClockIcon.svg +1 -1
  768. package/src/icons/CloseIcon.svg +1 -1
  769. package/src/icons/ComfortableCompIcon.svg +1 -1
  770. package/src/icons/CreditCardsIcon.svg +1 -1
  771. package/src/icons/DiscountShapeIcon.svg +1 -1
  772. package/src/icons/DocIcon.svg +2 -2
  773. package/src/icons/DocumentTextIcon.svg +1 -1
  774. package/src/icons/DollarIcon.svg +1 -1
  775. package/src/icons/EarthIcon.svg +1 -1
  776. package/src/icons/EmptyWalletChangeIcon.svg +1 -1
  777. package/src/icons/EmptyWalletIcon.svg +1 -1
  778. package/src/icons/EmptyWalletWhiteIcon.svg +1 -1
  779. package/src/icons/EuroIcon.svg +1 -1
  780. package/src/icons/GeolocationIcon.svg +1 -1
  781. package/src/icons/GlassIcon.svg +1 -1
  782. package/src/icons/GlobalIcon.svg +1 -1
  783. package/src/icons/GridIcon.svg +1 -1
  784. package/src/icons/GridIconWhite.svg +1 -1
  785. package/src/icons/IconName.ts +16 -0
  786. package/src/icons/InterestGrowthIcon.svg +1 -1
  787. package/src/icons/InterestIcon.svg +1 -1
  788. package/src/icons/JCBIcon.svg +1 -1
  789. package/src/icons/LoupeIcon.svg +1 -1
  790. package/src/icons/MasterCardIcon.svg +1 -1
  791. package/src/icons/MinusIcon.svg +1 -1
  792. package/src/icons/MirIcon.svg +1 -1
  793. package/src/icons/MoneyIcon.svg +1 -1
  794. package/src/icons/MoneyInsuranceIcon.svg +1 -1
  795. package/src/icons/MonitorMobileIcon.svg +1 -1
  796. package/src/icons/NewDocIcon.svg +1 -1
  797. package/src/icons/OfficeIcon.svg +1 -1
  798. package/src/icons/OkIcon.svg +1 -1
  799. package/src/icons/PassSendIcon.svg +1 -1
  800. package/src/icons/PercentageRoundIcon.svg +1 -1
  801. package/src/icons/PercentageSquareIcon.svg +1 -1
  802. package/src/icons/PercentageSquareWhiteIcon.svg +1 -1
  803. package/src/icons/PersonalCardIcon.svg +1 -1
  804. package/src/icons/PlayMarketIcon.svg +1 -1
  805. package/src/icons/PlusIcon.svg +1 -1
  806. package/src/icons/Profile2UserIcon.svg +1 -1
  807. package/src/icons/ProfileIcon.svg +1 -1
  808. package/src/icons/RoundRubleIcon.svg +1 -1
  809. package/src/icons/SafeIcon.svg +1 -1
  810. package/src/icons/ShieldTickIcon.svg +1 -1
  811. package/src/icons/SignDocsIcon.svg +1 -1
  812. package/src/icons/SmallClockIcon.svg +1 -1
  813. package/src/icons/TelegramIcon.svg +1 -1
  814. package/src/icons/UnionPayIcon.svg +1 -1
  815. package/src/icons/UserTickIcon.svg +1 -1
  816. package/src/icons/VKIcon.svg +1 -1
  817. package/src/icons/VisaIcon.svg +1 -1
  818. package/src/icons/WalletAdd2Icon.svg +1 -1
  819. package/src/icons/WalletAddIcon.svg +1 -1
  820. package/src/icons/WalletIcon.svg +1 -1
  821. package/src/icons/WalletWithMoneyIcon.svg +1 -1
  822. package/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +20 -0
  823. package/src/services/sitemap/checkIsHrefSameOrigin.ts +6 -0
  824. package/src/services/sitemap/isTopItemActive.spec.ts +59 -0
  825. package/src/services/sitemap/isTopItemActive.ts +4 -1
  826. package/src/ui-kit/BlockItem/BlockItem.tsx +2 -2
  827. package/src/ui-kit/Button/Button.fixture.tsx +2 -3
  828. package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +28 -0
  829. package/src/ui-kit/Heading/Heading.fixture.tsx +28 -0
  830. package/src/ui-kit/Heading/Heading.mobile.tsx +20 -0
  831. package/src/ui-kit/Heading/Heading.tsx +20 -0
  832. package/src/ui-kit/Heading/HeadingProps.ts +14 -0
  833. package/src/ui-kit/Icon/Icon.fixture.tsx +7 -10
  834. package/src/ui-kit/Icon/IconProps.ts +2 -150
  835. package/src/ui-kit/Logo/Logo.mobile.tsx +1 -0
  836. package/src/ui-kit/Logo/Logo.tsx +1 -0
  837. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +16 -0
  838. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +62 -0
  839. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +51 -0
  840. package/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +20 -0
  841. package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +48 -0
  842. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +19 -0
  843. package/src/ui-kit/SwipeListControl/constants.ts +10 -0
  844. package/src/ui-kit/SwipeListControl/utils/getContainerStyle.ts +9 -0
  845. package/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +19 -0
  846. package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +20 -0
  847. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +24 -0
  848. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +41 -0
  849. package/dist/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  850. package/dist/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  851. package/dist/ui-kit/Title/Title.d.ts +0 -3
  852. package/dist/ui-kit/Title/Title.js +0 -18
  853. package/dist/ui-kit/Title/Title.js.map +0 -1
  854. package/dist/ui-kit/Title/Title.mobile.d.ts +0 -3
  855. package/dist/ui-kit/Title/Title.mobile.js +0 -18
  856. package/dist/ui-kit/Title/Title.mobile.js.map +0 -1
  857. package/dist/ui-kit/Title/TitleProps.d.ts +0 -4
  858. package/dist/ui-kit/Title/TitleProps.js.map +0 -1
  859. package/lib/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  860. package/lib/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  861. package/lib/ui-kit/Title/Title.d.ts +0 -3
  862. package/lib/ui-kit/Title/Title.js +0 -16
  863. package/lib/ui-kit/Title/Title.js.map +0 -1
  864. package/lib/ui-kit/Title/Title.mobile.d.ts +0 -3
  865. package/lib/ui-kit/Title/Title.mobile.js +0 -16
  866. package/lib/ui-kit/Title/Title.mobile.js.map +0 -1
  867. package/lib/ui-kit/Title/TitleProps.d.ts +0 -4
  868. package/lib/ui-kit/Title/TitleProps.js +0 -2
  869. package/lib/ui-kit/Title/TitleProps.js.map +0 -1
  870. package/mobile/dist/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  871. package/mobile/dist/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  872. package/mobile/dist/ui-kit/Title/Title.d.ts +0 -3
  873. package/mobile/dist/ui-kit/Title/Title.js +0 -18
  874. package/mobile/dist/ui-kit/Title/Title.js.map +0 -1
  875. package/mobile/dist/ui-kit/Title/TitleProps.d.ts +0 -4
  876. package/mobile/dist/ui-kit/Title/TitleProps.js.map +0 -1
  877. package/mobile/lib/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  878. package/mobile/lib/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  879. package/mobile/lib/ui-kit/Title/Title.d.ts +0 -3
  880. package/mobile/lib/ui-kit/Title/Title.js +0 -16
  881. package/mobile/lib/ui-kit/Title/Title.js.map +0 -1
  882. package/mobile/lib/ui-kit/Title/TitleProps.d.ts +0 -4
  883. package/mobile/lib/ui-kit/Title/TitleProps.js +0 -2
  884. package/mobile/lib/ui-kit/Title/TitleProps.js.map +0 -1
  885. package/mobile/src/ui-kit/Title/Title.tsx +0 -22
  886. package/mobile/src/ui-kit/Title/TitleProps.ts +0 -5
  887. package/src/ui-kit/Title/Title.mobile.tsx +0 -22
  888. package/src/ui-kit/Title/Title.tsx +0 -22
  889. package/src/ui-kit/Title/TitleProps.ts +0 -5
@@ -0,0 +1,6 @@
1
+ export interface SwipeListControlDotsProps {
2
+ activeIndex: number;
3
+ indexFraction: number;
4
+ showDots?: boolean;
5
+ }
6
+ export declare const SwipeListControlDots: (props: import("@redneckz/uni-jsx").PropsWithChildren<SwipeListControlDotsProps, any>, context?: any) => any;
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ const DOT_STYLES = 'bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full';
4
+ const BASE_DOT_WIDTH = 6;
5
+ const ACTIVE_DOT_WIDTH_CHANGE = 16;
6
+ const BASE_DOT_OPACITY = 0.3;
7
+ const ACTIVE_DOT_OPACITY_CHANGE = 0.7;
8
+ export const SwipeListControlDots = JSX(({ children, activeIndex, indexFraction, showDots }) => {
9
+ return showDots && children?.length ? (_jsx("div", { className: "flex gap-2 mx-auto mt-[22px] w-fit", children: children?.map((_, idx) => (_jsx("div", { className: `${DOT_STYLES}`, style: getDotStyles(idx, activeIndex, indexFraction), "aria-hidden": true }, String(idx)))) })) : null;
10
+ });
11
+ const getDotStyles = (currentIdx, activeIndex, indexFraction) => {
12
+ if (currentIdx < activeIndex || currentIdx > activeIndex + 1)
13
+ return null;
14
+ const leftIndexMod = 1 - indexFraction;
15
+ const rightIndexMod = indexFraction;
16
+ return currentIdx === activeIndex
17
+ ? {
18
+ opacity: `${BASE_DOT_OPACITY + ACTIVE_DOT_OPACITY_CHANGE * leftIndexMod}`,
19
+ width: `${BASE_DOT_WIDTH + ACTIVE_DOT_WIDTH_CHANGE * leftIndexMod}px`,
20
+ }
21
+ : {
22
+ opacity: `${BASE_DOT_OPACITY + ACTIVE_DOT_OPACITY_CHANGE * rightIndexMod}`,
23
+ width: `${BASE_DOT_WIDTH + ACTIVE_DOT_WIDTH_CHANGE * rightIndexMod}px`,
24
+ };
25
+ };
26
+ //# sourceMappingURL=SwipeListControlDots.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwipeListControlDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlDots.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,MAAM,UAAU,GAAG,yEAAyE,CAAC;AAC7F,MAAM,cAAc,GAAG,CAAC,CAAC;AACzB,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAC7B,MAAM,yBAAyB,GAAG,GAAG,CAAC;AAQtC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrD,OAAO,QAAQ,IAAI,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CACpC,cAAK,SAAS,EAAC,oCAAoC,YAChD,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CACzB,cAEE,SAAS,EAAE,GAAG,UAAU,EAAE,EAC1B,KAAK,EAAE,YAAY,CAAC,GAAG,EAAE,WAAW,EAAE,aAAa,CAAC,yBAF/C,MAAM,CAAC,GAAG,CAAC,CAIhB,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CACnB,UAAkB,EAClB,WAAmB,EACnB,aAAqB,EACU,EAAE;IACjC,IAAI,UAAU,GAAG,WAAW,IAAI,UAAU,GAAG,WAAW,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IAE1E,MAAM,YAAY,GAAG,CAAC,GAAG,aAAa,CAAC;IACvC,MAAM,aAAa,GAAG,aAAa,CAAC;IAEpC,OAAO,UAAU,KAAK,WAAW;QAC/B,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,YAAY,EAAE;YACzE,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,YAAY,IAAI;SACtE;QACH,CAAC,CAAC;YACE,OAAO,EAAE,GAAG,gBAAgB,GAAG,yBAAyB,GAAG,aAAa,EAAE;YAC1E,KAAK,EAAE,GAAG,cAAc,GAAG,uBAAuB,GAAG,aAAa,IAAI;SACvE,CAAC;AACR,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @title Элемент списка
3
+ */
4
+ export interface SwipeListControlItemProps {
5
+ className?: string;
6
+ style?: Record<string, string>;
7
+ 'aria-current'?: boolean;
8
+ }
9
+ export declare const SwipeListControlItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<SwipeListControlItemProps, any>, context?: any) => any;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ export const SwipeListControlItem = JSX(({ className = '', children, ...rest }) => {
4
+ return (_jsx("div", { className: `snap-center snap-always min-w-full ${className}`, role: "listitem", ...rest, children: children }));
5
+ });
6
+ //# sourceMappingURL=SwipeListControlItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwipeListControlItem.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAWxC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACxC,OAAO,CACL,cAAK,SAAS,EAAE,sCAAsC,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,KAAK,IAAI,YACxF,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { SwipeContainer } from './SwipeListControlProps';
2
+ /**
3
+ * @title Список
4
+ */
5
+ export interface SwipeListControlListProps extends SwipeContainer {
6
+ className?: string;
7
+ activeIndex: number;
8
+ onScroll?: (e: UIEvent) => void;
9
+ }
10
+ export declare const SwipeListControlList: (props: import("@redneckz/uni-jsx").PropsWithChildren<SwipeListControlListProps, any>, context?: any) => any;
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { SwipeListControlItem } from './SwipeListControlItem.js';
4
+ import { getContainerStyle } from './utils/getContainerStyle.js';
5
+ import { DEFAULT_GAP, DEFAULT_PADDING } from './constants.js';
6
+ export const SwipeListControlList = JSX(({ className = '', children, activeIndex, onScroll, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, }) => {
7
+ return (_jsx("div", { className: `overflow-auto flex horizontal-list no-scrollbar ${className}`, style: { ...getContainerStyle(padding), gap: `${gap}px` }, role: "list", onScroll: onScroll, children: children?.length ? (children?.map((child, idx) => (_jsx(SwipeListControlItem, { style: getContainerStyle(padding / 4), "aria-current": Boolean(activeIndex === idx), children: child }, String(idx))))) : (_jsx(SwipeListControlItem, { children: children })) }));
8
+ });
9
+ //# sourceMappingURL=SwipeListControlList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwipeListControlList.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAY3D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,GAC1B,EAAE,EAAE;IACH,OAAO,CACL,cACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,KAAK,EAAE,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,GAAG,IAAI,EAAE,EACzD,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,YAEjB,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,QAAQ,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC5B,KAAC,oBAAoB,IAEnB,KAAK,EAAE,iBAAiB,CAAC,OAAO,GAAG,CAAC,CAAC,kBACvB,OAAO,CAAC,WAAW,KAAK,GAAG,CAAC,YAEzC,KAAK,IAJD,MAAM,CAAC,GAAG,CAAC,CAKK,CACxB,CAAC,CACH,CAAC,CAAC,CAAC,CACF,KAAC,oBAAoB,cAAE,QAAQ,GAAwB,CACxD,GACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { UniBlockProps } from '../../types';
2
+ /**
3
+ * @title Контейнер
4
+ */
5
+ export interface SwipeContainer {
6
+ /** @title Расстояние между элементами */
7
+ gap?: number;
8
+ /** @title Отступы */
9
+ padding?: number;
10
+ }
11
+ /**
12
+ * @title Swipe-контроллер
13
+ */
14
+ export interface SwipeListControlProps extends SwipeContainer, UniBlockProps {
15
+ /** @title Точки-индикаторы */
16
+ showDots?: boolean;
17
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SwipeListControlProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwipeListControlProps.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export declare const DEFAULT_GAP = 14;
2
+ export declare const DEFAULT_PADDING = 16;
@@ -0,0 +1,10 @@
1
+ // column-gap between children of SwipeListControl container
2
+ export const DEFAULT_GAP = 14;
3
+ /*
4
+ Horizontal padding used on a container above SwipeListControl.
5
+ Same value used on a SwipeListControlChildren container to compensate it
6
+ and get rid of a clipping effect caused by overflow: hidden.
7
+ */
8
+ export const DEFAULT_PADDING = 16;
9
+ // Classes used to compensate outer container padding, so that child elements won't be clipped
10
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/constants.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,MAAM,CAAC,MAAM,WAAW,GAAG,EAAE,CAAC;AAC9B;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,EAAE,CAAC;AAElC,8FAA8F"}
@@ -0,0 +1 @@
1
+ export declare const getContainerStyle: (padding: number) => Record<string, string>;
@@ -0,0 +1,10 @@
1
+ // styles used to compensate outer container padding to get rid of clipping effect
2
+ export const getContainerStyle = (padding) => {
3
+ return {
4
+ marginLeft: `${-padding}px`,
5
+ marginRight: `${-padding}px`,
6
+ paddingLeft: `${padding}px`,
7
+ paddingRight: `${padding}px`,
8
+ };
9
+ };
10
+ //# sourceMappingURL=getContainerStyle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getContainerStyle.js","sourceRoot":"","sources":["../../../../src/ui-kit/SwipeListControl/utils/getContainerStyle.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,OAAe,EAA0B,EAAE;IAC3E,OAAO;QACL,UAAU,EAAE,GAAG,CAAC,OAAO,IAAI;QAC3B,WAAW,EAAE,GAAG,CAAC,OAAO,IAAI;QAC5B,WAAW,EAAE,GAAG,OAAO,IAAI;QAC3B,YAAY,EAAE,GAAG,OAAO,IAAI;KAC7B,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const getIndexParts: (scrollLeft: number, scrollPoints: [
2
+ number,
3
+ number
4
+ ][]) => {
5
+ index: number;
6
+ fraction: number;
7
+ };
@@ -0,0 +1,15 @@
1
+ /*
2
+ Returns object containing whole index part, and it's decimal part for a given
3
+ scrollLeft value of a container and an array of tuple containing values of a
4
+ start and end boundaries of a scrollable child, right boundary non-inclusive.
5
+ Returns object with index equal -1 and fraction equal 0 if scrollLeft is outside given scrollPoints
6
+ */
7
+ export const getIndexParts = (scrollLeft, scrollPoints) => {
8
+ const index = scrollPoints.findIndex(([start, end]) => start <= scrollLeft && scrollLeft < end);
9
+ if (index < 0)
10
+ return { index, fraction: 0 };
11
+ const [start, end] = scrollPoints[index];
12
+ const fraction = (scrollLeft - start) / (end - start);
13
+ return { index, fraction };
14
+ };
15
+ //# sourceMappingURL=getIndexParts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIndexParts.js","sourceRoot":"","sources":["../../../../src/ui-kit/SwipeListControl/utils/getIndexParts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAC3B,UAAkB,EAClB,YAAgC,EAIhC,EAAE;IACF,MAAM,KAAK,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,KAAK,IAAI,UAAU,IAAI,UAAU,GAAG,GAAG,CAAC,CAAC;IAChG,IAAI,KAAK,GAAG,CAAC;QAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;IAE7C,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC;IACzC,MAAM,QAAQ,GAAG,CAAC,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC;IACtD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AAC7B,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const getScrollPoints: ({ gap, padding, clientWidth, scrollWidth, childElementCount, itemWidth, }: {
2
+ gap: number;
3
+ padding: number;
4
+ clientWidth: number;
5
+ scrollWidth: number;
6
+ childElementCount: number;
7
+ itemWidth: number;
8
+ }) => [number, number][];
@@ -0,0 +1,24 @@
1
+ /*
2
+ Calculates array of breakpoints for each scrollable element in container.
3
+ Returns array of tuples consisting of [start, end] boundary scrollLeft values.
4
+ */
5
+ export const getScrollPoints = ({ gap, padding, clientWidth, scrollWidth, childElementCount, itemWidth, }) => {
6
+ const scrollItemWidth = itemWidth + gap;
7
+ const scrollableDistance = scrollWidth - clientWidth;
8
+ const edgeScrollDistance = clientWidth - gap - padding;
9
+ const lastScrollableIdx = childElementCount - 2;
10
+ const scrollPoints = new Array(childElementCount)
11
+ .fill(0)
12
+ .map((_, idx) => idx === 0 || idx === lastScrollableIdx
13
+ ? [
14
+ idx > 0 ? scrollableDistance - edgeScrollDistance : 0,
15
+ idx > 0 ? scrollableDistance : edgeScrollDistance,
16
+ ]
17
+ : [
18
+ (idx - 1) * scrollItemWidth + edgeScrollDistance,
19
+ idx * scrollItemWidth + edgeScrollDistance,
20
+ ]);
21
+ scrollPoints[childElementCount - 1] = [scrollableDistance, scrollWidth];
22
+ return scrollPoints;
23
+ };
24
+ //# sourceMappingURL=getScrollPoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getScrollPoints.js","sourceRoot":"","sources":["../../../../src/ui-kit/SwipeListControl/utils/getScrollPoints.ts"],"names":[],"mappings":"AAAA;;;EAGE;AACF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC9B,GAAG,EACH,OAAO,EACP,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,SAAS,GAQV,EAAE,EAAE;IACH,MAAM,eAAe,GAAG,SAAS,GAAG,GAAG,CAAC;IACxC,MAAM,kBAAkB,GAAG,WAAW,GAAG,WAAW,CAAC;IACrD,MAAM,kBAAkB,GAAG,WAAW,GAAG,GAAG,GAAG,OAAO,CAAC;IAEvD,MAAM,iBAAiB,GAAG,iBAAiB,GAAG,CAAC,CAAC;IAChD,MAAM,YAAY,GAAuB,IAAI,KAAK,CAAC,iBAAiB,CAAC;SAClE,IAAI,CAAC,CAAC,CAAC;SACP,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CACd,GAAG,KAAK,CAAC,IAAI,GAAG,KAAK,iBAAiB;QACpC,CAAC,CAAC;YACE,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC;YACrD,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,kBAAkB;SAClD;QACH,CAAC,CAAC;YACE,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,eAAe,GAAG,kBAAkB;YAChD,GAAG,GAAG,eAAe,GAAG,kBAAkB;SAC3C,CACN,CAAC;IACJ,YAAY,CAAC,iBAAiB,GAAG,CAAC,CAAC,GAAG,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAC;IAExE,OAAO,YAAY,CAAC;AACtB,CAAC,CAAC"}
@@ -231,19 +231,19 @@
231
231
  return colSpanStr ? parseInt(colSpanStr.substring(colSpanPrefix.length), 10) : 12;
232
232
  };
233
233
 
234
- const SizeTableClass = {
235
- XL: 'text-m-title',
236
- L: 'text-m-title',
237
- M: 'text-m-title-md',
238
- S: 'text-m-title-xs',
239
- '2XS': 'text-m-title-xs',
240
- '3XS': 'text-m-title-xs',
234
+ const HeadingClass = {
235
+ h1: 'text-m-title',
236
+ h2: 'text-m-title',
237
+ h3: 'text-m-title-md',
238
+ h4: 'text-m-title-xs',
239
+ h5: 'text-m-title-xs',
240
+ h6: 'text-m-title-xs',
241
241
  };
242
- const Title = JSX(({ size = 'L', className, children, ...rest }) => {
243
- const Tag = size === 'XL' || size === 'L' ? 'h1' : 'h2';
244
- return (jsx(Tag, { className: getClasses(SizeTableClass[size], className), ...rest, children: children }));
242
+ const Heading = JSX((props) => {
243
+ const { className, type, text } = props;
244
+ const Tag = type;
245
+ return (jsx(Tag, { className: `font-sans font-medium ${HeadingClass[type]} ${className || ''}`, children: text }));
245
246
  });
246
- const getClasses = (...classes) => classes.filter(Boolean).join(' ');
247
247
 
248
248
  const isURL = (href) => href?.includes('//');
249
249
  const withoutQuery = (href) => (href || '').replace(/\/?\?.*/, '');
@@ -347,11 +347,11 @@
347
347
  const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3';
348
348
  const TEXT_STYLE_MAP = {
349
349
  primary: 'text-primary-text',
350
- secondary: 'text-secondary-text',
350
+ secondary: '',
351
351
  };
352
352
  const LIST_STYLE_MAP = {
353
353
  primary: 'bg-primary-main',
354
- secondary: 'bg-secondary-text',
354
+ secondary: 'bg-white',
355
355
  };
356
356
  const BlockItem = JSX(({ className = '', isDotted = true, text, children, version = 'primary', white }) => {
357
357
  return (jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted && jsx("div", { className: getListStyle(version, white) }), jsx("span", { className: white ? 'text-white' : TEXT_STYLE_MAP[version], children: text || children })] }));
@@ -374,16 +374,16 @@
374
374
  return (jsxs("div", { children: [description && jsx("div", { className: `font-normal text-base mt-3`, children: description }), children, items?.length && renderItems$1(items, version), buttons?.length && (jsx("div", { className: "mt-[18px]", children: buttons.map((button, index) => renderButton(useLink({ router, handlerDecorator }, button), index)) })), image?.src && jsx(Img, { className: "mt-auto ml-7", image: image })] }));
375
375
  });
376
376
 
377
- function getTitleSizeByClassName(className = '') {
377
+ function getHeadingType(className = '') {
378
378
  const colSpan = getColSpan(className);
379
379
  if (colSpan <= 4) {
380
- return 'S';
380
+ return 'h4';
381
381
  }
382
382
  else if (colSpan <= 8) {
383
- return 'M';
383
+ return 'h3';
384
384
  }
385
385
  else {
386
- return 'L';
386
+ return 'h2';
387
387
  }
388
388
  }
389
389
 
@@ -393,8 +393,8 @@
393
393
  right: 'items-end',
394
394
  };
395
395
  const TITLE_CLASSES = 'font-medium m-0 whitespace-pre-wrap max-w-[600px]';
396
- const BaseTile = JSX(({ className, context, title, titleSize, description, children, buttons, image, items, version = 'primary', align = 'left', }) => {
397
- return (jsxs("div", { className: `font-sans flex flex-col grow h-full ${alignBlock[align]}`, children: [title && (jsx(Title, { size: titleSize || getTitleSizeByClassName(className), className: `${TITLE_CLASSES} ${version === 'primary' ? 'text-primary-text' : ''}`, children: title })), jsx(BaseTileInner, { context: context, buttons: buttons, image: image, children: children, description: description, items: items })] }));
396
+ const BaseTile = JSX(({ className, context, title, headingType, description, children, buttons, image, items, version = 'primary', align = 'left', }) => {
397
+ return (jsxs("div", { className: `font-sans flex flex-col grow h-full ${alignBlock[align]}`, children: [title && (jsx(Heading, { type: headingType || getHeadingType(className), className: `${TITLE_CLASSES} ${version === 'primary' ? 'text-primary-text' : ''}`, text: title })), jsx(BaseTileInner, { context: context, buttons: buttons, image: image, children: children, description: description, items: items })] }));
398
398
  });
399
399
 
400
400
  const tileStyleMap = {
@@ -460,47 +460,160 @@
460
460
  const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
461
461
 
462
462
  const Headline = JSX(({ bgColor = 'transparent', className = '', title, description, image }) => {
463
- return (jsxs("section", { className: `px-4 py-6 ${bgColor} ${className}`, children: [title && (jsx(Title, { size: "L", className: "text-primary-text mt-0 font-medium", children: title })), description && (jsx("p", { className: `font-normal text-m-md ${title ? 'mt-2.5' : ''}`, children: description })), image?.src && (jsx("div", { className: "mt-5 mx-auto flex justify-center", children: jsx(Img, { image: image }) }))] }));
463
+ return (jsxs("section", { className: `px-4 py-6 ${bgColor} ${className}`, children: [title && jsx(Heading, { type: "h2", className: "text-primary-text", text: title }), description && (jsx("p", { className: `font-normal text-m-md ${title ? 'mt-2.5' : ''}`, children: description })), image?.src && (jsx("div", { className: "mt-5 mx-auto flex justify-center", children: jsx(Img, { image: image }) }))] }));
464
464
  });
465
465
 
466
- const titleAlignStyleMap = {
467
- left: 'text-left',
468
- center: 'text-center',
469
- right: 'text-right',
470
- };
471
- const titleMarginsStyleMap = {
472
- double: 'mb-8',
473
- single: 'mb-[26px]',
474
- };
475
- const linkColumnsModeStyleMap = {
476
- double: 'gap-x-5 gap-y-[26px] flex-wrap',
477
- single: 'gap-3.5 flex-col',
478
- };
479
- const LinkDocs = JSX(({ className = '', title, align, documents, icon, columnsMode = 'single' }) => {
480
- const containerClasses = linkColumnsModeStyleMap[columnsMode];
481
- return (jsxs("section", { className: `font-sans p-[50px] bg-white ${className}`, children: [title && (jsx(Title, { className: `font-medium mt-0 ${titleMarginsStyleMap[columnsMode]} ${titleAlignStyleMap[align ?? 'center']}`, children: title })), jsx("div", { className: `flex ${containerClasses}`, role: "list", children: documents?.length
482
- ? documents.map(({ text, fileSize, ...linkProps }, i) => (jsxs("a", { className: `group flex text-sm align-middle h-fit
483
- text-primary-text no-underline hover:text-primary-main
484
- ${columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : ''}`, role: "listitem", ...linkProps, children: [icon && jsx(Icon, { className: "mr-2.5 h-fit", name: icon, width: "24px", height: "24px" }), jsxs("span", { className: "self-center", children: [text, jsx("span", { className: "text-secondary-text group-hover:text-primary-main", children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })] }, String(i))))
485
- : null })] }));
466
+ const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
467
+ const { text, fileSize, ...linkProps } = doc;
468
+ return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(Icon, { className: iconClassName, name: icon, width: "24px", height: "24px", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
486
469
  });
487
- const getExtFromHref = (href) => {
488
- if (!href)
489
- return '';
490
- const lastChunk = href.split('.').pop();
491
- if (!lastChunk || lastChunk.includes('/'))
492
- return '';
493
- return lastChunk;
494
- };
495
470
  const formatSuffix = (ext, fileSize) => {
496
471
  const prefix = ext || fileSize ? ',' : '';
497
472
  const extension = ext ? ` ${ext}` : '';
498
473
  const size = fileSize ? ` (${fileSize})` : '';
499
474
  return prefix + extension + size;
500
475
  };
476
+ const getExtFromHref = (href) => {
477
+ if (!href)
478
+ return '';
479
+ const index = href.lastIndexOf('.');
480
+ return index !== -1 ? href.substring(index + 1) : '';
481
+ };
482
+
483
+ const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full ${className}`, iconClassName: "mr-2.5 min-w-6 min-h-6", doc: doc, icon: icon })));
484
+
485
+ const LinkDocsVerticalList = JSX(({ hasBorder = true, documents, icon }) => {
486
+ return (jsx("div", { className: `text-m-sm text-primary-main flex flex-col ${hasBorder ? 'gap-3.5' : 'gap-2'}`, role: "list", children: documents?.length
487
+ ? documents.map((doc, i) => (jsx("div", { role: "listitem", children: jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border p-4' : '', doc: doc, icon: icon }) }, String(i))))
488
+ : null }));
489
+ });
490
+
491
+ /*
492
+ Calculates array of breakpoints for each scrollable element in container.
493
+ Returns array of tuples consisting of [start, end] boundary scrollLeft values.
494
+ */
495
+ const getScrollPoints = ({ gap, padding, clientWidth, scrollWidth, childElementCount, itemWidth, }) => {
496
+ const scrollItemWidth = itemWidth + gap;
497
+ const scrollableDistance = scrollWidth - clientWidth;
498
+ const edgeScrollDistance = clientWidth - gap - padding;
499
+ const lastScrollableIdx = childElementCount - 2;
500
+ const scrollPoints = new Array(childElementCount)
501
+ .fill(0)
502
+ .map((_, idx) => idx === 0 || idx === lastScrollableIdx
503
+ ? [
504
+ idx > 0 ? scrollableDistance - edgeScrollDistance : 0,
505
+ idx > 0 ? scrollableDistance : edgeScrollDistance,
506
+ ]
507
+ : [
508
+ (idx - 1) * scrollItemWidth + edgeScrollDistance,
509
+ idx * scrollItemWidth + edgeScrollDistance,
510
+ ]);
511
+ scrollPoints[childElementCount - 1] = [scrollableDistance, scrollWidth];
512
+ return scrollPoints;
513
+ };
514
+
515
+ /*
516
+ Returns object containing whole index part, and it's decimal part for a given
517
+ scrollLeft value of a container and an array of tuple containing values of a
518
+ start and end boundaries of a scrollable child, right boundary non-inclusive.
519
+ Returns object with index equal -1 and fraction equal 0 if scrollLeft is outside given scrollPoints
520
+ */
521
+ const getIndexParts = (scrollLeft, scrollPoints) => {
522
+ const index = scrollPoints.findIndex(([start, end]) => start <= scrollLeft && scrollLeft < end);
523
+ if (index < 0)
524
+ return { index, fraction: 0 };
525
+ const [start, end] = scrollPoints[index];
526
+ const fraction = (scrollLeft - start) / (end - start);
527
+ return { index, fraction };
528
+ };
529
+
530
+ const SwipeListControlItem = JSX(({ className = '', children, ...rest }) => {
531
+ return (jsx("div", { className: `snap-center snap-always min-w-full ${className}`, role: "listitem", ...rest, children: children }));
532
+ });
533
+
534
+ // styles used to compensate outer container padding to get rid of clipping effect
535
+ const getContainerStyle = (padding) => {
536
+ return {
537
+ marginLeft: `${-padding}px`,
538
+ marginRight: `${-padding}px`,
539
+ paddingLeft: `${padding}px`,
540
+ paddingRight: `${padding}px`,
541
+ };
542
+ };
543
+
544
+ // column-gap between children of SwipeListControl container
545
+ const DEFAULT_GAP = 14;
546
+ /*
547
+ Horizontal padding used on a container above SwipeListControl.
548
+ Same value used on a SwipeListControlChildren container to compensate it
549
+ and get rid of a clipping effect caused by overflow: hidden.
550
+ */
551
+ const DEFAULT_PADDING = 16;
552
+ // Classes used to compensate outer container padding, so that child elements won't be clipped
553
+
554
+ const SwipeListControlList = JSX(({ className = '', children, activeIndex, onScroll, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, }) => {
555
+ return (jsx("div", { className: `overflow-auto flex horizontal-list no-scrollbar ${className}`, style: { ...getContainerStyle(padding), gap: `${gap}px` }, role: "list", onScroll: onScroll, children: children?.length ? (children?.map((child, idx) => (jsx(SwipeListControlItem, { style: getContainerStyle(padding / 4), "aria-current": Boolean(activeIndex === idx), children: child }, String(idx))))) : (jsx(SwipeListControlItem, { children: children })) }));
556
+ });
557
+
558
+ const DOT_STYLES = 'bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full';
559
+ const BASE_DOT_WIDTH = 6;
560
+ const ACTIVE_DOT_WIDTH_CHANGE = 16;
561
+ const BASE_DOT_OPACITY = 0.3;
562
+ const ACTIVE_DOT_OPACITY_CHANGE = 0.7;
563
+ const SwipeListControlDots = JSX(({ children, activeIndex, indexFraction, showDots }) => {
564
+ return showDots && children?.length ? (jsx("div", { className: "flex gap-2 mx-auto mt-[22px] w-fit", children: children?.map((_, idx) => (jsx("div", { className: `${DOT_STYLES}`, style: getDotStyles(idx, activeIndex, indexFraction), "aria-hidden": true }, String(idx)))) })) : null;
565
+ });
566
+ const getDotStyles = (currentIdx, activeIndex, indexFraction) => {
567
+ if (currentIdx < activeIndex || currentIdx > activeIndex + 1)
568
+ return null;
569
+ const leftIndexMod = 1 - indexFraction;
570
+ const rightIndexMod = indexFraction;
571
+ return currentIdx === activeIndex
572
+ ? {
573
+ opacity: `${BASE_DOT_OPACITY + ACTIVE_DOT_OPACITY_CHANGE * leftIndexMod}`,
574
+ width: `${BASE_DOT_WIDTH + ACTIVE_DOT_WIDTH_CHANGE * leftIndexMod}px`,
575
+ }
576
+ : {
577
+ opacity: `${BASE_DOT_OPACITY + ACTIVE_DOT_OPACITY_CHANGE * rightIndexMod}`,
578
+ width: `${BASE_DOT_WIDTH + ACTIVE_DOT_WIDTH_CHANGE * rightIndexMod}px`,
579
+ };
580
+ };
581
+
582
+ const SwipeListControl = JSX(({ className, context, children, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, }) => {
583
+ const [activeIndex, setActiveIndex] = context.useState(0);
584
+ const [indexFraction, setIndexFraction] = context.useState(0);
585
+ const handleScroll = (e) => {
586
+ const { scrollLeft, clientWidth, childElementCount, scrollWidth, children } = e.currentTarget;
587
+ // horizontal PADDING / 2 to compensate padding-margin combo of child container
588
+ // without CSS calc function, as wrapper element gets bigger in the DOM, remaining same visually
589
+ const itemWidth = children[0].offsetWidth - padding / 2;
590
+ const scrollPoints = getScrollPoints({
591
+ gap,
592
+ padding,
593
+ clientWidth,
594
+ scrollWidth,
595
+ childElementCount,
596
+ itemWidth,
597
+ });
598
+ const { index, fraction } = getIndexParts(scrollLeft, scrollPoints);
599
+ setActiveIndex(index);
600
+ setIndexFraction(fraction);
601
+ };
602
+ return (jsxs("div", { className: className, children: [jsx(SwipeListControlList, { gap: gap, padding: padding, activeIndex: activeIndex, onScroll: handleScroll, children: children }), jsx(SwipeListControlDots, { activeIndex: activeIndex, indexFraction: indexFraction, showDots: showDots, children: children })] }));
603
+ });
604
+
605
+ const LinkDocsHorizontalList = JSX(({ context, hasBorder = true, documents, icon }) => {
606
+ return (jsx(SwipeListControl, { context: context, className: "text-m-sm text-primary-main", children: documents?.length
607
+ ? documents.map((doc, i) => (jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border p-4' : '', doc: doc, icon: icon }, String(i))))
608
+ : null }));
609
+ });
610
+
611
+ const LinkDocs = JSX(({ className = '', context, title, subtitle, icon = 'DocIcon', documents, listMode = 'vertical', hasBorder = true, }) => {
612
+ return (jsxs("section", { className: `py-6 px-4 bg-white ${className}`, children: [title ? (jsx(Heading, { type: "h2", className: `text-center ${subtitle ? 'mb-2' : 'mb-5'}`, text: title })) : null, subtitle ? jsx("h3", { className: "mb-5 text-center text-m-base", children: subtitle }) : null, listMode === 'vertical' ? (jsx(LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : (jsx(LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
613
+ });
501
614
 
502
615
  const PictureText = JSX(({ className, title, image, benefits }) => {
503
- return (jsxs("section", { className: `relative font-sans text-primary-text bg-white p-14 ${className}`, children: [jsx(Title, { className: "font-medium m-0 text-center", children: title }), jsxs("div", { className: 'flex justify-center mt-9', children: [image?.src && jsx(Img, { className: "mr-6", image: image }), benefits?.length ? (jsx("div", { className: "flex flex-col", children: benefits.map(renderBenefit$1) })) : null] })] }));
616
+ return (jsxs("section", { className: `relative font-sans text-primary-text bg-white p-14 ${className}`, children: [jsx(Heading, { type: "h2", className: "text-center", text: title }), jsxs("div", { className: 'flex justify-center mt-9', children: [image?.src && jsx(Img, { className: "mr-6", image: image }), benefits?.length ? (jsx("div", { className: "flex flex-col", children: benefits.map(renderBenefit$1) })) : null] })] }));
504
617
  });
505
618
  function renderBenefit$1(benefit, i) {
506
619
  return (jsxs("div", { className: "flex flex-row mb-8", children: [benefit.icon && (jsx(Icon, { className: "w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]", name: benefit.icon, width: "48", height: "48" })), jsxs("div", { className: "flex gap-1 flex-col h-full ml-5 max-w-[490px]", children: [benefit.label && (jsx("div", { className: "font-medium text-primary-text text-xl m-0", children: benefit.label })), benefit.description && (jsx("div", { className: "font-normal text-sm text-secondary-text", children: benefit.description }))] })] }, String(i)));
@@ -587,7 +700,7 @@
587
700
  });
588
701
 
589
702
  const Accordion = JSX(({ title, description, accordionItems, context, className = '', bordered }) => {
590
- return (jsxs("section", { className: `py-6 font-sans bg-white text-primary-text ${bordered ? 'px-4' : ''} ${className}`, children: [title ? (jsx(Title, { className: "m-0 mb-2 font-medium text-center", size: "M", children: title })) : null, description ? jsx("div", { className: "mb-5 text-m-md text-center", children: description }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context, bordered: bordered }, `AccordionItem${i}`))) })) : null] }));
703
+ return (jsxs("section", { className: `py-6 font-sans bg-white text-primary-text ${bordered ? 'px-4' : ''} ${className}`, children: [title ? jsx(Heading, { type: "h3", className: "mb-2 text-center", text: title }) : null, description ? jsx("div", { className: "mb-5 text-m-md text-center", children: description }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context, bordered: bordered }, `AccordionItem${i}`))) })) : null] }));
591
704
  });
592
705
 
593
706
  const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
@@ -610,7 +723,7 @@
610
723
  transparent: 'text-white',
611
724
  };
612
725
  const Logo = JSX(({ className = '', href, children, targetBlank, bgColor = 'bg-white', hideTitle }) => {
613
- return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', children: [jsx(SVG, { className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) }), !hideTitle && (jsx("span", { className: `${TEXT_COLOR[bgColor]} text-sm font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
726
+ return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [jsx(SVG, { className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) }), !hideTitle && (jsx("span", { className: `${TEXT_COLOR[bgColor]} text-sm font-medium ml-2.5`, children: children || 'Россельхозбанк' }))] }));
614
727
  });
615
728
 
616
729
  const MobileAppTile = JSX(({ className, title = 'Мобильное приложение', description, href = '#' }) => {
@@ -661,10 +774,10 @@
661
774
  { origins: ['ok.ru'], icon: 'OkIcon', label: 'Одноклассники', width: '12px', height: '20px' },
662
775
  ];
663
776
  const MediaButton = JSX(({ href }) => {
664
- const { icon, width, height } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
777
+ const { icon, width, height, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
665
778
  if (!icon)
666
779
  return null;
667
- return (jsx("a", { className: "flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:fill-primary-main", href: href, target: "_blank", rel: "noopener noreferrer", children: Icon && jsx(Icon, { name: icon, width: width, height: height, asSVG: true, className: "block" }) }));
780
+ return (jsx("a", { className: "flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:fill-primary-main", href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: Icon && jsx(Icon, { name: icon, width: width, height: height, asSVG: true, className: "block" }) }));
668
781
  });
669
782
 
670
783
  const SocialMedia = JSX(({ className, media, context }) => {
@@ -726,7 +839,11 @@
726
839
  return activeSubItem;
727
840
  };
728
841
 
729
- const isTopItemActive = (router) => (topItem) => topItem.items?.some(isSubItemActive(router)) || isHrefActive(topItem.href, router);
842
+ const checkIsHrefSameOrigin = (href, router) => getOrigin(href) === getOrigin(router.href);
843
+
844
+ const isTopItemActive = (router) => (topItem) => topItem.items?.some(isSubItemActive(router)) ||
845
+ isHrefActive(topItem.href, router) ||
846
+ checkIsHrefSameOrigin(topItem.href, router);
730
847
 
731
848
  const cmp = (a) => (b) => a?.href === b?.href;
732
849
  const substitute = (items, substitution) => (items || []).map((_) => substitution?.find(cmp(_)) || _);
@@ -773,7 +890,7 @@
773
890
  return (jsxs(Button, { href: href, className: "flex text-sm mb-4", children: [icon ? jsx(Icon, { className: "pr-1", name: icon, width: "24", height: "24", asSVG: true }) : null, jsx("span", { className: "pl-0.5 font-medium", children: text })] }, `headerSubMenu-${i}`));
774
891
  };
775
892
 
776
- const HeaderTop = JSX(({ onClick, bgColor }) => (jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-[50px]", children: [jsxs("div", { className: "flex items-center", children: [jsx("button", { className: "pr-4", onClick: onClick, children: jsx(Icon, { name: bgColor === 'bg-white' ? 'BurgerIcon' : 'BurgerIconWhite', width: "24", height: "24", asSVG: true }) }), jsx(Logo, { bgColor: bgColor })] }), jsx("button", { className: `${bgColor === 'bg-white' ? 'text-primary-main' : 'text-white'} text-sm`, children: "\u0412\u043E\u0439\u0442\u0438" })] })));
893
+ const HeaderTop = JSX(({ onClick, bgColor }) => (jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-[50px]", children: [jsxs("div", { className: "flex items-center", children: [jsx("button", { className: "pr-4", onClick: onClick, "aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E", children: jsx(Icon, { name: bgColor === 'bg-white' ? 'BurgerIcon' : 'BurgerIconWhite', width: "24", height: "24", asSVG: true }) }), jsx(Logo, { bgColor: bgColor })] }), jsx("button", { className: `${bgColor === 'bg-white' ? 'text-primary-main' : 'text-white'} text-sm`, children: "\u0412\u043E\u0439\u0442\u0438" })] })));
777
894
 
778
895
  const Header = JSX(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems, burgerSubMenu }) => {
779
896
  const router = context.useRouter();
@@ -812,11 +929,11 @@
812
929
  secondary: 'text-white',
813
930
  };
814
931
  function renderBenefit(benefit, i, version) {
815
- return (jsxs("div", { className: "flex gap-3 items-center mb-2.5 last:mb-0", children: [benefit.icon && (jsx(Icon, { className: "w-[25px] h-[25px] rounded-full box-border", name: benefit.icon, width: "24", height: "24" })), jsx("h4", { className: `font-medium text-m-base m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (jsx("div", { className: `font-normal text-m-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] }, String(i)));
932
+ return (jsxs("div", { className: "flex gap-3 items-center mb-2.5 last:mb-0", children: [benefit.icon && (jsx(Icon, { className: "w-[25px] h-[25px] rounded-full box-border", name: benefit.icon, width: "24", height: "24" })), jsx("div", { className: `font-medium text-m-base m-0 ${benefitTitleStyleMap[version]}`, children: benefit.label }), benefit.description && (jsx("div", { className: `font-normal text-m-sm ${benefitDescStyleMap[version]}`, children: benefit.description }))] }, String(i)));
816
933
  }
817
934
 
818
- const ProductBlockInner = JSX(({ className, context, title, titleSize, description, benefits, buttons, image, items, version = 'primary', }) => {
819
- return (jsxs("div", { className: `${className || ''}`, children: [jsx("div", { children: jsx(BaseTile, { context: context, title: title, titleSize: titleSize || 'XL', description: description, items: items, buttons: buttons, children: benefits?.length ? (jsx("div", { className: "mt-[19px]", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null }) }), image?.src && (jsx("div", { className: "mt-5", children: jsx(Img, { image: { className: 'block', ...image } }) }))] }));
935
+ const ProductBlockInner = JSX(({ className, context, title, headingType, description, benefits, buttons, image, items, version = 'primary', }) => {
936
+ return (jsxs("div", { className: `${className || ''}`, children: [jsx("div", { children: jsx(BaseTile, { context: context, title: title, headingType: headingType || 'h2', description: description, items: items, buttons: buttons, children: benefits?.length ? (jsx("div", { className: "mt-[19px]", children: benefits.map((_, i) => renderBenefit(_, i, version)) })) : null }) }), image?.src && (jsx("div", { className: "mt-5", children: jsx(Img, { image: { className: 'block', ...image } }) }))] }));
820
937
  });
821
938
 
822
939
  const ProductBlock = JSX(
@@ -826,28 +943,29 @@
826
943
  return (jsx("section", { className: `font-sans bg-white px-4 py-6 ${className || ''}`, children: jsx(ProductBlockInner, { ...props }) }));
827
944
  });
828
945
 
829
- const ProductGalleryBlock = JSX(({ block, titleSize, context }) => {
830
- return (jsx("section", { className: "flex grow-0 shrink-0 basis-full px-4 py-6", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { context: context, titleSize: titleSize, ...block }) }) }));
946
+ const ProductGalleryBlock = JSX(({ block, headingType, context }) => {
947
+ return (jsx("section", { className: "flex grow-0 shrink-0 basis-full px-4 py-6", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { context: context, headingType: headingType, ...block }) }) }));
831
948
  });
832
949
 
833
950
  const ProductGallery = JSX(({ className, context, duration = 0, slides = [] }) => {
834
951
  const galleryBlocks = slides.map((s) => s.productBlock);
835
952
  const [activeSlideIndex, setActiveSlideIndex] = context.useState(0);
836
953
  return (jsxs("section", { className: `font-sans bg-white overflow-hidden w-100 ${className || ''}`, children: [jsx("div", { className: `flex duration-1000`, style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((block, i) => (jsx(ProductGalleryBlock, { block: block, context: context }, String(i)))) }), jsx("div", { className: "flex px-4 py-6", children: slides.map((_, i) => renderNavButton({
954
+ slide: _.productBlock,
837
955
  i,
838
956
  activeSlideIndex,
839
957
  onClick: () => setActiveSlideIndex(i),
840
958
  duration,
841
959
  })) })] }));
842
960
  });
843
- function renderNavButton({ i, activeSlideIndex, onClick, duration }) {
961
+ function renderNavButton({ slide, i, activeSlideIndex, onClick, duration }) {
844
962
  const isActiveBtn = i === activeSlideIndex;
845
963
  const progressBarClassName = isActiveBtn ? 'animate-slide bg-primary-main' : 'bg-main-divider';
846
- return (jsx("button", { type: "button", onClick: onClick, className: `relative overflow-hidden border-0 bg-inherit cursor-pointer pl-0 mr-1.5 pt-4 pb-5 last:mr-0 grow basis-0`, children: jsx("div", { className: `absolute bottom-0 left-0 w-full h-[3px] ${progressBarClassName}`, style: { animationDuration: `${duration}s`, animationFillMode: 'forwards' } }) }, String(i)));
964
+ return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `relative overflow-hidden border-0 bg-inherit cursor-pointer pl-0 mr-1.5 pt-4 pb-5 last:mr-0 grow basis-0`, children: jsx("div", { className: `absolute bottom-0 left-0 w-full h-[3px] ${progressBarClassName}`, style: { animationDuration: `${duration}s`, animationFillMode: 'forwards' } }) }, String(i)));
847
965
  }
848
966
 
849
967
  const StepsBlock = JSX(({ className, title, description, steps, size = 'normal' }) => {
850
- return (jsxs("section", { className: `box-border font-sans text-primary-text bg-white px-4 py-6 flex flex-col ${className || ''}`, children: [title && (jsx(Title, { size: "M", className: "font-medium m-0 text-center", children: title })), description && jsx("p", { className: `text-m-md text-center ${title && 'mt-2'}`, children: description }), steps?.length ? (jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map((step, i) => renderStepTitle({ step, size, i, length: steps.length })) }) })) : null] }));
968
+ return (jsxs("section", { className: `box-border font-sans text-primary-text bg-white px-4 py-6 flex flex-col ${className || ''}`, children: [title && jsx(Heading, { type: "h3", className: "text-center", text: title }), description && jsx("p", { className: `text-m-md text-center ${title && 'mt-2'}`, children: description }), steps?.length ? (jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map((step, i) => renderStepTitle({ step, size, i, length: steps.length })) }) })) : null] }));
851
969
  });
852
970
  const renderStepTitle = (params) => {
853
971
  const { step, size, i, length } = params;
@@ -869,6 +987,7 @@
869
987
  Footer,
870
988
  Header,
871
989
  Headline,
990
+ LinkDocs,
872
991
  Placeholder,
873
992
  ProductBlock,
874
993
  ProductGallery,