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

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 (1512) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +398 -323
  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/Accordion/AccordionBlocks.d.ts +4 -0
  9. package/dist/components/Accordion/AccordionBlocks.js +8 -0
  10. package/dist/components/Accordion/AccordionBlocks.js.map +1 -1
  11. package/dist/components/Accordion/AccordionContent.d.ts +30 -18
  12. package/dist/components/Accordion/AccordionItem.js +1 -1
  13. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  14. package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
  15. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  16. package/dist/components/BaseTile/BaseTile.js +2 -6
  17. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  18. package/dist/components/BaseTile/BaseTileProps.d.ts +6 -11
  19. package/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
  20. package/dist/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +7 -7
  21. package/dist/components/BaseTile/getTileHeadingType.js.map +1 -0
  22. package/dist/components/BaseTile/getTileMinHeight.d.ts +1 -0
  23. package/dist/components/BaseTile/getTileMinHeight.js +17 -0
  24. package/dist/components/BaseTile/getTileMinHeight.js.map +1 -0
  25. package/dist/components/BaseTile/getTileRightPadding.d.ts +1 -0
  26. package/dist/components/BaseTile/getTileRightPadding.js +17 -0
  27. package/dist/components/BaseTile/getTileRightPadding.js.map +1 -0
  28. package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  29. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  30. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  31. package/dist/components/Blocks.mobile.d.ts +1 -0
  32. package/dist/components/Blocks.mobile.js +2 -0
  33. package/dist/components/Blocks.mobile.js.map +1 -1
  34. package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  35. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  36. package/dist/components/ComparisonTable/HeaderCell.js +3 -3
  37. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  38. package/dist/components/ContentPage/ContentPage.js +2 -4
  39. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  40. package/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  41. package/dist/components/ContentPage/isBlockInRegistry.js +7 -0
  42. package/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
  43. package/dist/components/ContentPage/normalizeBlock.d.ts +8 -0
  44. package/dist/components/ContentPage/normalizeBlock.js +9 -0
  45. package/dist/components/ContentPage/normalizeBlock.js.map +1 -0
  46. package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  47. package/dist/components/ContentPage/normalizeBlock.mobile.js +8 -0
  48. package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
  49. package/dist/components/ContentPage/normalizePage.d.ts +2 -0
  50. package/dist/components/ContentPage/normalizePage.js +28 -0
  51. package/dist/components/ContentPage/normalizePage.js.map +1 -0
  52. package/dist/components/ContentPage/normalizePage.mobile.d.ts +2 -0
  53. package/dist/components/ContentPage/normalizePage.mobile.js +30 -0
  54. package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -0
  55. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  56. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  57. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  58. package/dist/components/Footer/MediaButton.js +2 -2
  59. package/dist/components/Footer/MediaButton.js.map +1 -1
  60. package/dist/components/Gallery/Gallery.mobile.js +19 -8
  61. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  62. package/dist/components/Gallery/GalleryCardInner.js +2 -4
  63. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  64. package/dist/components/Gallery/GalleryContainer.js +5 -6
  65. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  66. package/dist/components/Gallery/GalleryContent.d.ts +8 -3
  67. package/dist/components/Gallery/GalleryInner.js +1 -1
  68. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  69. package/dist/components/Gallery/constants.js +2 -2
  70. package/dist/components/Gallery/constants.js.map +1 -1
  71. package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  72. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  73. package/dist/components/Header/HeaderTop.js +1 -1
  74. package/dist/components/Header/HeaderTop.js.map +1 -1
  75. package/dist/components/Headline/Headline.js +2 -2
  76. package/dist/components/Headline/Headline.js.map +1 -1
  77. package/dist/components/Headline/Headline.mobile.js +3 -3
  78. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  79. package/dist/components/Headline/HeadlineContent.d.ts +7 -3
  80. package/dist/components/LinkDocs/LinkDocs.js +6 -25
  81. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  82. package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
  83. package/dist/components/LinkDocs/LinkDocs.mobile.js +11 -0
  84. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -0
  85. package/dist/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  86. package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  87. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +12 -0
  88. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  89. package/dist/components/LinkDocs/LinkDocsList.d.ts +9 -0
  90. package/dist/components/LinkDocs/LinkDocsList.js +9 -0
  91. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -0
  92. package/dist/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  93. package/dist/components/LinkDocs/LinkDocsListItem.js +7 -0
  94. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  95. package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
  96. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +7 -0
  97. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -0
  98. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  99. package/dist/components/LinkDocs/LinkDocsListItemBase.js +22 -0
  100. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  101. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  102. package/dist/components/LinkDocs/LinkDocsVerticalList.js +11 -0
  103. package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  104. package/dist/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  105. package/dist/components/LinkDocs/linkDocsContentExample.js +27 -0
  106. package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  107. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  108. package/dist/components/MobileAppTile/MobileAppTile.js +8 -3
  109. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  110. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
  111. package/dist/components/PictureText/PictureText.js +5 -5
  112. package/dist/components/PictureText/PictureText.js.map +1 -1
  113. package/dist/components/PictureText/PictureTextContent.d.ts +4 -2
  114. package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
  115. package/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -11
  116. package/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  117. package/dist/components/ProductBlock/ProductBlockInner.js +7 -3
  118. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  119. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
  120. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
  121. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  122. package/dist/components/ProductBlock/renderBenefit.js +1 -1
  123. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  124. package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
  125. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  126. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  127. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  128. package/dist/components/ProductGallery/ProductGallery.mobile.js +3 -2
  129. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  130. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
  131. package/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
  132. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  133. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +4 -4
  134. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +2 -2
  135. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  136. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  137. package/dist/components/ProductTile/ProductTile.js +14 -4
  138. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  139. package/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
  140. package/dist/components/PromoTile/PromoTile.js +12 -3
  141. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  142. package/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
  143. package/dist/components/StepsBlock/StepsBlock.js +2 -2
  144. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  145. package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -3
  146. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  147. package/dist/components/TariffsTable/TariffsTable.js +2 -2
  148. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  149. package/dist/components/TariffsTable/TariffsTableCell.js +3 -3
  150. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  151. package/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  152. package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  153. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  154. package/dist/components/TextBlock/TextBlock.js +1 -1
  155. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  156. package/dist/components/TextBlock/TextBlock.mobile.js +4 -7
  157. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  158. package/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
  159. package/dist/components/Tile/Tile.js +10 -27
  160. package/dist/components/Tile/Tile.js.map +1 -1
  161. package/dist/components/Tile/TileContent.d.ts +9 -2
  162. package/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
  163. package/dist/content-page-repository/ContentPageRepository.js +0 -10
  164. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  165. package/dist/icons/IconName.d.ts +82 -0
  166. package/dist/icons/IconName.js +78 -0
  167. package/dist/icons/IconName.js.map +1 -0
  168. package/dist/index.d.ts +1 -1
  169. package/dist/index.js +3 -3
  170. package/dist/index.js.map +1 -1
  171. package/dist/model/ButtonVersion.d.ts +1 -1
  172. package/dist/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  173. package/dist/services/sitemap/checkIsHrefSameOrigin.js +6 -0
  174. package/dist/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  175. package/dist/services/sitemap/isTopItemActive.js +4 -1
  176. package/dist/services/sitemap/isTopItemActive.js.map +1 -1
  177. package/dist/setup-fixture.d.ts +3 -0
  178. package/dist/setup-fixture.js +72 -0
  179. package/dist/setup-fixture.js.map +1 -0
  180. package/dist/types.d.ts +5 -5
  181. package/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  182. package/dist/ui-kit/BlockItem/BlockItem.js +9 -10
  183. package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  184. package/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  185. package/dist/ui-kit/Button/Button.d.ts +0 -2
  186. package/dist/ui-kit/Button/Button.js +24 -13
  187. package/dist/ui-kit/Button/Button.js.map +1 -1
  188. package/dist/ui-kit/Button/Button.mobile.d.ts +0 -2
  189. package/dist/ui-kit/Button/Button.mobile.js +6 -8
  190. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  191. package/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
  192. package/dist/ui-kit/Button/ButtonInner.js +16 -0
  193. package/dist/ui-kit/Button/ButtonInner.js.map +1 -0
  194. package/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
  195. package/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
  196. package/dist/ui-kit/Button/ButtonSection.js +18 -0
  197. package/dist/ui-kit/Button/ButtonSection.js.map +1 -0
  198. package/dist/ui-kit/Description/Description.d.ts +2 -0
  199. package/dist/ui-kit/Description/Description.js +9 -0
  200. package/dist/ui-kit/Description/Description.js.map +1 -0
  201. package/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
  202. package/dist/ui-kit/Description/DescriptionProps.js +2 -0
  203. package/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
  204. package/dist/ui-kit/Heading/Heading.d.ts +5 -0
  205. package/dist/ui-kit/Heading/Heading.js +21 -0
  206. package/dist/ui-kit/Heading/Heading.js.map +1 -0
  207. package/dist/ui-kit/Heading/Heading.mobile.d.ts +5 -0
  208. package/dist/ui-kit/Heading/Heading.mobile.js +21 -0
  209. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -0
  210. package/dist/ui-kit/Heading/HeadingContent.d.ts +15 -0
  211. package/dist/ui-kit/Heading/HeadingContent.js +2 -0
  212. package/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
  213. package/dist/ui-kit/Icon/Icon.js +6 -2
  214. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  215. package/dist/ui-kit/Icon/IconProps.d.ts +6 -148
  216. package/dist/ui-kit/Icon/IconProps.js +0 -76
  217. package/dist/ui-kit/Icon/IconProps.js.map +1 -1
  218. package/{mobile/dist/ui-kit → dist/ui-kit/Img}/Img.d.ts +1 -1
  219. package/dist/ui-kit/{Img.js → Img/Img.js} +0 -0
  220. package/dist/ui-kit/Img/Img.js.map +1 -0
  221. package/dist/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
  222. package/dist/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
  223. package/dist/ui-kit/Img/Img.mobile.js.map +1 -0
  224. package/dist/ui-kit/Img/ImgProps.d.ts +7 -0
  225. package/dist/ui-kit/{Title/TitleProps.js → Img/ImgProps.js} +1 -1
  226. package/dist/ui-kit/Img/ImgProps.js.map +1 -0
  227. package/dist/ui-kit/List/List.d.ts +2 -0
  228. package/dist/ui-kit/List/List.js +12 -0
  229. package/dist/ui-kit/List/List.js.map +1 -0
  230. package/dist/ui-kit/List/ListContent.d.ts +4 -0
  231. package/dist/ui-kit/List/ListContent.js +2 -0
  232. package/dist/ui-kit/List/ListContent.js.map +1 -0
  233. package/dist/ui-kit/List/ListItem.d.ts +11 -0
  234. package/dist/ui-kit/List/ListItem.js +23 -0
  235. package/dist/ui-kit/List/ListItem.js.map +1 -0
  236. package/dist/ui-kit/List/ListProps.d.ts +14 -0
  237. package/{mobile/dist/ui-kit/Title/TitleProps.js → dist/ui-kit/List/ListProps.js} +1 -1
  238. package/dist/ui-kit/List/ListProps.js.map +1 -0
  239. package/dist/ui-kit/Logo/Logo.js +1 -1
  240. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  241. package/dist/ui-kit/Logo/Logo.mobile.js +1 -1
  242. package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
  243. package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  244. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +32 -0
  245. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  246. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  247. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +28 -0
  248. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  249. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  250. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +8 -0
  251. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  252. package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  253. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +11 -0
  254. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  255. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  256. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  257. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  258. package/dist/ui-kit/SwipeListControl/constants.d.ts +2 -0
  259. package/dist/ui-kit/SwipeListControl/constants.js +12 -0
  260. package/dist/ui-kit/SwipeListControl/constants.js.map +1 -0
  261. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  262. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js +13 -0
  263. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  264. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  265. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +18 -0
  266. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  267. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  268. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +27 -0
  269. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  270. package/lib/common.css +1 -1
  271. package/lib/components/Accordion/Accordion.js +2 -2
  272. package/lib/components/Accordion/Accordion.js.map +1 -1
  273. package/lib/components/Accordion/Accordion.mobile.js +2 -2
  274. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  275. package/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
  276. package/lib/components/Accordion/AccordionBlocks.js +8 -0
  277. package/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  278. package/lib/components/Accordion/AccordionContent.d.ts +30 -18
  279. package/lib/components/Accordion/AccordionItem.js +1 -1
  280. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  281. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  282. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  283. package/lib/components/BaseTile/BaseTile.js +2 -6
  284. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  285. package/lib/components/BaseTile/BaseTileProps.d.ts +6 -11
  286. package/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
  287. package/lib/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +5 -5
  288. package/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
  289. package/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
  290. package/lib/components/BaseTile/getTileMinHeight.js +14 -0
  291. package/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
  292. package/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
  293. package/lib/components/BaseTile/getTileRightPadding.js +14 -0
  294. package/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
  295. package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  296. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  297. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  298. package/lib/components/Blocks.mobile.d.ts +1 -0
  299. package/lib/components/Blocks.mobile.js +2 -0
  300. package/lib/components/Blocks.mobile.js.map +1 -1
  301. package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  302. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  303. package/lib/components/ComparisonTable/HeaderCell.js +3 -3
  304. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  305. package/lib/components/ContentPage/ContentPage.js +2 -4
  306. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  307. package/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  308. package/lib/components/ContentPage/isBlockInRegistry.js +4 -0
  309. package/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
  310. package/lib/components/ContentPage/normalizeBlock.d.ts +8 -0
  311. package/lib/components/ContentPage/normalizeBlock.js +6 -0
  312. package/lib/components/ContentPage/normalizeBlock.js.map +1 -0
  313. package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  314. package/lib/components/ContentPage/normalizeBlock.mobile.js +5 -0
  315. package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
  316. package/lib/components/ContentPage/normalizePage.d.ts +2 -0
  317. package/lib/components/ContentPage/normalizePage.js +25 -0
  318. package/lib/components/ContentPage/normalizePage.js.map +1 -0
  319. package/lib/components/ContentPage/normalizePage.mobile.d.ts +2 -0
  320. package/lib/components/ContentPage/{toMobilePage.js → normalizePage.mobile.js} +11 -15
  321. package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -0
  322. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  323. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  324. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  325. package/lib/components/Footer/MediaButton.js +2 -2
  326. package/lib/components/Footer/MediaButton.js.map +1 -1
  327. package/lib/components/Gallery/Gallery.fixture.d.ts +2 -0
  328. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +5 -0
  329. package/lib/components/Gallery/Gallery.mobile.js +19 -8
  330. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  331. package/lib/components/Gallery/GalleryCardInner.js +2 -4
  332. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  333. package/lib/components/Gallery/GalleryContainer.js +6 -7
  334. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  335. package/lib/components/Gallery/GalleryContent.d.ts +8 -3
  336. package/lib/components/Gallery/GalleryInner.js +1 -1
  337. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  338. package/lib/components/Gallery/constants.js +2 -2
  339. package/lib/components/Gallery/constants.js.map +1 -1
  340. package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  341. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  342. package/lib/components/Header/HeaderTop.js +1 -1
  343. package/lib/components/Header/HeaderTop.js.map +1 -1
  344. package/lib/components/Headline/Headline.fixture.d.ts +0 -4
  345. package/lib/components/Headline/Headline.js +2 -2
  346. package/lib/components/Headline/Headline.js.map +1 -1
  347. package/lib/components/Headline/Headline.mobile.js +3 -3
  348. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  349. package/lib/components/Headline/HeadlineContent.d.ts +7 -3
  350. package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +2 -7
  351. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +6 -0
  352. package/lib/components/LinkDocs/LinkDocs.js +6 -25
  353. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  354. package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
  355. package/lib/components/LinkDocs/LinkDocs.mobile.js +9 -0
  356. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -0
  357. package/lib/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  358. package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  359. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +10 -0
  360. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  361. package/lib/components/LinkDocs/LinkDocsList.d.ts +9 -0
  362. package/lib/components/LinkDocs/LinkDocsList.js +7 -0
  363. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -0
  364. package/lib/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  365. package/lib/components/LinkDocs/LinkDocsListItem.js +5 -0
  366. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  367. package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
  368. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +5 -0
  369. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -0
  370. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  371. package/lib/components/LinkDocs/LinkDocsListItemBase.js +20 -0
  372. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  373. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  374. package/lib/components/LinkDocs/LinkDocsVerticalList.js +9 -0
  375. package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  376. package/lib/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  377. package/lib/components/LinkDocs/linkDocsContentExample.js +25 -0
  378. package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  379. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +2 -0
  380. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  381. package/lib/components/MobileAppTile/MobileAppTile.js +8 -3
  382. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  383. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
  384. package/lib/components/PictureText/PictureText.js +5 -5
  385. package/lib/components/PictureText/PictureText.js.map +1 -1
  386. package/lib/components/PictureText/PictureTextContent.d.ts +4 -2
  387. package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
  388. package/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -11
  389. package/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  390. package/lib/components/ProductBlock/ProductBlockInner.js +7 -3
  391. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  392. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
  393. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
  394. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  395. package/lib/components/ProductBlock/renderBenefit.js +1 -1
  396. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  397. package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
  398. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  399. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  400. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  401. package/lib/components/ProductGallery/ProductGallery.mobile.js +3 -2
  402. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  403. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
  404. package/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
  405. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  406. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +4 -4
  407. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +2 -2
  408. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  409. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  410. package/lib/components/ProductTile/ProductTile.fixture.d.ts +2 -0
  411. package/lib/components/ProductTile/ProductTile.js +14 -4
  412. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  413. package/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
  414. package/lib/components/PromoTile/PromoTile.js +12 -3
  415. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  416. package/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
  417. package/lib/components/StepsBlock/StepsBlock.js +2 -2
  418. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  419. package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -3
  420. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  421. package/lib/components/TariffsTable/TariffsTable.js +2 -2
  422. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  423. package/lib/components/TariffsTable/TariffsTableCell.js +3 -3
  424. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  425. package/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  426. package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  427. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  428. package/lib/components/TextBlock/TextBlock.js +1 -1
  429. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  430. package/lib/components/TextBlock/TextBlock.mobile.js +4 -7
  431. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  432. package/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
  433. package/lib/components/Tile/Tile.fixture.d.ts +2 -0
  434. package/lib/components/Tile/Tile.js +11 -28
  435. package/lib/components/Tile/Tile.js.map +1 -1
  436. package/lib/components/Tile/TileContent.d.ts +9 -2
  437. package/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
  438. package/lib/content-page-repository/ContentPageRepository.js +0 -10
  439. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  440. package/lib/icons/IconName.d.ts +82 -0
  441. package/lib/icons/IconName.js +76 -0
  442. package/lib/icons/IconName.js.map +1 -0
  443. package/lib/index.d.ts +1 -1
  444. package/lib/index.js +1 -1
  445. package/lib/index.js.map +1 -1
  446. package/lib/model/ButtonVersion.d.ts +1 -1
  447. package/lib/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  448. package/lib/services/sitemap/checkIsHrefSameOrigin.js +3 -0
  449. package/lib/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  450. package/lib/services/sitemap/isTopItemActive.js +4 -1
  451. package/lib/services/sitemap/isTopItemActive.js.map +1 -1
  452. package/lib/setup-fixture.js +70 -0
  453. package/lib/setup-fixture.js.map +1 -0
  454. package/lib/types.d.ts +5 -5
  455. package/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  456. package/lib/ui-kit/BlockItem/BlockItem.js +9 -10
  457. package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  458. package/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  459. package/lib/ui-kit/Button/Button.d.ts +0 -2
  460. package/lib/ui-kit/Button/Button.js +23 -12
  461. package/lib/ui-kit/Button/Button.js.map +1 -1
  462. package/lib/ui-kit/Button/Button.mobile.d.ts +0 -2
  463. package/lib/ui-kit/Button/Button.mobile.js +6 -8
  464. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  465. package/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
  466. package/lib/ui-kit/Button/ButtonInner.js +14 -0
  467. package/lib/ui-kit/Button/ButtonInner.js.map +1 -0
  468. package/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
  469. package/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
  470. package/lib/ui-kit/Button/ButtonSection.js +16 -0
  471. package/lib/ui-kit/Button/ButtonSection.js.map +1 -0
  472. package/lib/ui-kit/Description/Description.d.ts +2 -0
  473. package/lib/ui-kit/Description/Description.js +7 -0
  474. package/lib/ui-kit/Description/Description.js.map +1 -0
  475. package/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
  476. package/lib/ui-kit/Description/DescriptionProps.js +2 -0
  477. package/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
  478. package/lib/ui-kit/Heading/Heading.d.ts +5 -0
  479. package/lib/ui-kit/Heading/Heading.fixture.d.ts +4 -0
  480. package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +4 -0
  481. package/lib/ui-kit/Heading/Heading.js +19 -0
  482. package/lib/ui-kit/Heading/Heading.js.map +1 -0
  483. package/lib/ui-kit/Heading/Heading.mobile.d.ts +5 -0
  484. package/lib/ui-kit/Heading/Heading.mobile.js +19 -0
  485. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -0
  486. package/lib/ui-kit/Heading/HeadingContent.d.ts +15 -0
  487. package/lib/ui-kit/Heading/HeadingContent.js +2 -0
  488. package/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
  489. package/lib/ui-kit/Icon/Icon.fixture.d.ts +2 -1
  490. package/lib/ui-kit/Icon/Icon.js +6 -2
  491. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  492. package/lib/ui-kit/Icon/IconProps.d.ts +6 -148
  493. package/lib/ui-kit/Icon/IconProps.js +1 -75
  494. package/lib/ui-kit/Icon/IconProps.js.map +1 -1
  495. package/lib/ui-kit/{Img.d.ts → Img/Img.d.ts} +1 -1
  496. package/lib/ui-kit/{Img.js → Img/Img.js} +0 -0
  497. package/lib/ui-kit/Img/Img.js.map +1 -0
  498. package/lib/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
  499. package/lib/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
  500. package/lib/ui-kit/Img/Img.mobile.js.map +1 -0
  501. package/lib/ui-kit/Img/ImgProps.d.ts +7 -0
  502. package/lib/ui-kit/Img/ImgProps.js +2 -0
  503. package/lib/ui-kit/Img/ImgProps.js.map +1 -0
  504. package/lib/ui-kit/List/List.d.ts +2 -0
  505. package/lib/ui-kit/List/List.js +10 -0
  506. package/lib/ui-kit/List/List.js.map +1 -0
  507. package/lib/ui-kit/List/ListContent.d.ts +4 -0
  508. package/lib/ui-kit/List/ListContent.js +2 -0
  509. package/lib/ui-kit/List/ListContent.js.map +1 -0
  510. package/lib/ui-kit/List/ListItem.d.ts +11 -0
  511. package/lib/ui-kit/List/ListItem.js +21 -0
  512. package/lib/ui-kit/List/ListItem.js.map +1 -0
  513. package/lib/ui-kit/List/ListProps.d.ts +14 -0
  514. package/lib/ui-kit/List/ListProps.js +2 -0
  515. package/lib/ui-kit/List/ListProps.js.map +1 -0
  516. package/lib/ui-kit/Logo/Logo.js +1 -1
  517. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  518. package/lib/ui-kit/Logo/Logo.mobile.js +1 -1
  519. package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
  520. package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  521. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +4 -0
  522. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +30 -0
  523. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  524. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  525. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +26 -0
  526. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  527. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  528. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +6 -0
  529. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  530. package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  531. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +9 -0
  532. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  533. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  534. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  535. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  536. package/lib/ui-kit/SwipeListControl/constants.d.ts +2 -0
  537. package/lib/ui-kit/SwipeListControl/constants.js +10 -0
  538. package/lib/ui-kit/SwipeListControl/constants.js.map +1 -0
  539. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  540. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js +10 -0
  541. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  542. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +7 -0
  543. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +15 -0
  544. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  545. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  546. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +24 -0
  547. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  548. package/mobile/bundle/bundle.umd.js +472 -209
  549. package/mobile/bundle/bundle.umd.min.js +1 -1
  550. package/mobile/dist/components/Accordion/Accordion.js +2 -2
  551. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  552. package/mobile/dist/components/Accordion/AccordionBlocks.d.ts +4 -0
  553. package/mobile/dist/components/Accordion/AccordionBlocks.js +8 -0
  554. package/mobile/dist/components/Accordion/AccordionBlocks.js.map +1 -1
  555. package/mobile/dist/components/Accordion/AccordionContent.d.ts +30 -18
  556. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  557. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  558. package/mobile/dist/components/BaseTile/BaseTile.js +2 -11
  559. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  560. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +6 -11
  561. package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
  562. package/mobile/dist/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +7 -7
  563. package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +1 -0
  564. package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +1 -0
  565. package/mobile/dist/components/BaseTile/getTileMinHeight.js +17 -0
  566. package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +1 -0
  567. package/mobile/dist/components/BaseTile/getTileRightPadding.d.ts +1 -0
  568. package/mobile/dist/components/BaseTile/getTileRightPadding.js +17 -0
  569. package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +1 -0
  570. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  571. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  572. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  573. package/mobile/dist/components/Blocks.d.ts +1 -0
  574. package/mobile/dist/components/Blocks.js +2 -0
  575. package/mobile/dist/components/Blocks.js.map +1 -1
  576. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  577. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  578. package/mobile/dist/components/ComparisonTable/HeaderCell.js +3 -3
  579. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  580. package/mobile/dist/components/ContentPage/ContentPage.js +2 -4
  581. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  582. package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  583. package/mobile/dist/components/ContentPage/isBlockInRegistry.js +7 -0
  584. package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
  585. package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +2 -0
  586. package/mobile/dist/components/ContentPage/normalizeBlock.js +8 -0
  587. package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -0
  588. package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -0
  589. package/mobile/dist/components/ContentPage/normalizePage.js +30 -0
  590. package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -0
  591. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  592. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  593. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  594. package/mobile/dist/components/Footer/MediaButton.js +2 -2
  595. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  596. package/mobile/dist/components/Gallery/Gallery.js +19 -8
  597. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  598. package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -4
  599. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  600. package/mobile/dist/components/Gallery/GalleryContainer.js +5 -6
  601. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  602. package/mobile/dist/components/Gallery/GalleryContent.d.ts +8 -3
  603. package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
  604. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  605. package/mobile/dist/components/Gallery/constants.js +2 -2
  606. package/mobile/dist/components/Gallery/constants.js.map +1 -1
  607. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  608. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  609. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  610. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  611. package/mobile/dist/components/Headline/Headline.js +3 -3
  612. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  613. package/mobile/dist/components/Headline/HeadlineContent.d.ts +7 -3
  614. package/mobile/dist/components/LinkDocs/LinkDocs.js +5 -36
  615. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  616. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  617. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  618. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +12 -0
  619. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  620. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +9 -0
  621. package/mobile/dist/components/LinkDocs/LinkDocsList.js +9 -0
  622. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -0
  623. package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  624. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +7 -0
  625. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  626. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  627. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +22 -0
  628. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  629. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  630. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +11 -0
  631. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  632. package/mobile/dist/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  633. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +27 -0
  634. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  635. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
  636. package/mobile/dist/components/PictureText/PictureText.js +5 -5
  637. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  638. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +4 -2
  639. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
  640. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -11
  641. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  642. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +7 -3
  643. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  644. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  645. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  646. package/mobile/dist/components/ProductGallery/ProductGallery.js +3 -2
  647. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  648. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
  649. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
  650. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  651. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  652. package/mobile/dist/components/ProductTile/ProductTile.js +14 -4
  653. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  654. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
  655. package/mobile/dist/components/PromoTile/PromoTile.js +12 -3
  656. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  657. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
  658. package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -3
  659. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  660. package/mobile/dist/components/TariffsTable/TariffsTable.js +2 -2
  661. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  662. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +3 -3
  663. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  664. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  665. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  666. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  667. package/mobile/dist/components/TextBlock/TextBlock.js +4 -7
  668. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  669. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
  670. package/mobile/dist/components/Tile/Tile.js +10 -27
  671. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  672. package/mobile/dist/components/Tile/TileContent.d.ts +9 -2
  673. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
  674. package/mobile/dist/content-page-repository/ContentPageRepository.js +0 -10
  675. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  676. package/mobile/dist/icons/IconName.d.ts +82 -0
  677. package/mobile/dist/icons/IconName.js +78 -0
  678. package/mobile/dist/icons/IconName.js.map +1 -0
  679. package/mobile/dist/index.d.ts +1 -1
  680. package/mobile/dist/index.js +3 -3
  681. package/mobile/dist/index.js.map +1 -1
  682. package/mobile/dist/model/ButtonVersion.d.ts +1 -1
  683. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  684. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.js +6 -0
  685. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  686. package/mobile/dist/services/sitemap/isTopItemActive.js +4 -1
  687. package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -1
  688. package/mobile/dist/setup-fixture.d.ts +3 -0
  689. package/mobile/dist/setup-fixture.js +72 -0
  690. package/mobile/dist/setup-fixture.js.map +1 -0
  691. package/mobile/dist/types.d.ts +5 -5
  692. package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  693. package/mobile/dist/ui-kit/BlockItem/BlockItem.js +9 -10
  694. package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  695. package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  696. package/mobile/dist/ui-kit/Button/Button.d.ts +0 -2
  697. package/mobile/dist/ui-kit/Button/Button.js +6 -8
  698. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  699. package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
  700. package/mobile/dist/ui-kit/Button/ButtonInner.js +16 -0
  701. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -0
  702. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
  703. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
  704. package/mobile/dist/ui-kit/Button/ButtonSection.js +18 -0
  705. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -0
  706. package/mobile/dist/ui-kit/Description/Description.d.ts +2 -0
  707. package/mobile/dist/ui-kit/Description/Description.js +9 -0
  708. package/mobile/dist/ui-kit/Description/Description.js.map +1 -0
  709. package/mobile/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
  710. package/mobile/dist/ui-kit/Description/DescriptionProps.js +2 -0
  711. package/mobile/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
  712. package/mobile/dist/ui-kit/Heading/Heading.d.ts +5 -0
  713. package/mobile/dist/ui-kit/Heading/Heading.js +21 -0
  714. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -0
  715. package/mobile/dist/ui-kit/Heading/HeadingContent.d.ts +15 -0
  716. package/mobile/dist/ui-kit/Heading/HeadingContent.js +2 -0
  717. package/mobile/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
  718. package/mobile/dist/ui-kit/Icon/Icon.js +6 -2
  719. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  720. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +6 -148
  721. package/mobile/dist/ui-kit/Icon/IconProps.js +0 -76
  722. package/mobile/dist/ui-kit/Icon/IconProps.js.map +1 -1
  723. package/{dist/ui-kit → mobile/dist/ui-kit/Img}/Img.d.ts +2 -5
  724. package/mobile/dist/ui-kit/{Img.js → Img/Img.js} +7 -4
  725. package/mobile/dist/ui-kit/Img/Img.js.map +1 -0
  726. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +7 -0
  727. package/mobile/dist/ui-kit/Img/ImgProps.js +2 -0
  728. package/mobile/dist/ui-kit/Img/ImgProps.js.map +1 -0
  729. package/mobile/dist/ui-kit/List/List.d.ts +2 -0
  730. package/mobile/dist/ui-kit/List/List.js +12 -0
  731. package/mobile/dist/ui-kit/List/List.js.map +1 -0
  732. package/mobile/dist/ui-kit/List/ListContent.d.ts +4 -0
  733. package/mobile/dist/ui-kit/List/ListContent.js +2 -0
  734. package/mobile/dist/ui-kit/List/ListContent.js.map +1 -0
  735. package/mobile/dist/ui-kit/List/ListItem.d.ts +11 -0
  736. package/mobile/dist/ui-kit/List/ListItem.js +23 -0
  737. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -0
  738. package/mobile/dist/ui-kit/List/ListProps.d.ts +14 -0
  739. package/mobile/dist/ui-kit/List/ListProps.js +2 -0
  740. package/mobile/dist/ui-kit/List/ListProps.js.map +1 -0
  741. package/mobile/dist/ui-kit/Logo/Logo.js +1 -1
  742. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  743. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  744. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +32 -0
  745. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  746. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  747. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +28 -0
  748. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  749. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  750. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +8 -0
  751. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  752. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  753. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +11 -0
  754. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  755. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  756. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  757. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  758. package/mobile/dist/ui-kit/SwipeListControl/constants.d.ts +2 -0
  759. package/mobile/dist/ui-kit/SwipeListControl/constants.js +12 -0
  760. package/mobile/dist/ui-kit/SwipeListControl/constants.js.map +1 -0
  761. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  762. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js +13 -0
  763. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  764. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  765. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +18 -0
  766. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  767. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  768. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +27 -0
  769. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  770. package/mobile/lib/components/Accordion/Accordion.js +2 -2
  771. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  772. package/mobile/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
  773. package/mobile/lib/components/Accordion/AccordionBlocks.js +8 -0
  774. package/mobile/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  775. package/mobile/lib/components/Accordion/AccordionContent.d.ts +30 -18
  776. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  777. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  778. package/mobile/lib/components/BaseTile/BaseTile.js +2 -11
  779. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  780. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +6 -11
  781. package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
  782. package/mobile/lib/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +5 -5
  783. package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
  784. package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
  785. package/mobile/lib/components/BaseTile/getTileMinHeight.js +14 -0
  786. package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
  787. package/mobile/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
  788. package/mobile/lib/components/BaseTile/getTileRightPadding.js +14 -0
  789. package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
  790. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  791. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  792. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  793. package/mobile/lib/components/Blocks.d.ts +1 -0
  794. package/mobile/lib/components/Blocks.js +2 -0
  795. package/mobile/lib/components/Blocks.js.map +1 -1
  796. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  797. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  798. package/mobile/lib/components/ComparisonTable/HeaderCell.js +3 -3
  799. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  800. package/mobile/lib/components/ContentPage/ContentPage.js +2 -4
  801. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  802. package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  803. package/mobile/lib/components/ContentPage/isBlockInRegistry.js +4 -0
  804. package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
  805. package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +2 -0
  806. package/mobile/lib/components/ContentPage/normalizeBlock.js +5 -0
  807. package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -0
  808. package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -0
  809. package/mobile/lib/components/ContentPage/{toMobilePage.js → normalizePage.js} +11 -15
  810. package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -0
  811. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  812. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  813. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  814. package/mobile/lib/components/Footer/MediaButton.js +2 -2
  815. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  816. package/mobile/lib/components/Gallery/Gallery.js +19 -8
  817. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  818. package/mobile/lib/components/Gallery/GalleryCardInner.js +2 -4
  819. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  820. package/mobile/lib/components/Gallery/GalleryContainer.js +6 -7
  821. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  822. package/mobile/lib/components/Gallery/GalleryContent.d.ts +8 -3
  823. package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
  824. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  825. package/mobile/lib/components/Gallery/constants.js +2 -2
  826. package/mobile/lib/components/Gallery/constants.js.map +1 -1
  827. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  828. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  829. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  830. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  831. package/mobile/lib/components/Headline/Headline.js +3 -3
  832. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  833. package/mobile/lib/components/Headline/HeadlineContent.d.ts +7 -3
  834. package/mobile/lib/components/LinkDocs/LinkDocs.js +5 -36
  835. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  836. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  837. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  838. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +10 -0
  839. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  840. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +9 -0
  841. package/mobile/lib/components/LinkDocs/LinkDocsList.js +7 -0
  842. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -0
  843. package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  844. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +5 -0
  845. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  846. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  847. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +20 -0
  848. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  849. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  850. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +9 -0
  851. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  852. package/mobile/lib/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  853. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +25 -0
  854. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  855. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
  856. package/mobile/lib/components/PictureText/PictureText.js +5 -5
  857. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  858. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +4 -2
  859. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
  860. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -11
  861. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  862. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +7 -3
  863. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  864. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  865. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  866. package/mobile/lib/components/ProductGallery/ProductGallery.js +3 -2
  867. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  868. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
  869. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
  870. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  871. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  872. package/mobile/lib/components/ProductTile/ProductTile.js +14 -4
  873. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  874. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
  875. package/mobile/lib/components/PromoTile/PromoTile.js +12 -3
  876. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  877. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
  878. package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -3
  879. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  880. package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -2
  881. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  882. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +3 -3
  883. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  884. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  885. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  886. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  887. package/mobile/lib/components/TextBlock/TextBlock.js +4 -7
  888. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  889. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
  890. package/mobile/lib/components/Tile/Tile.js +11 -28
  891. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  892. package/mobile/lib/components/Tile/TileContent.d.ts +9 -2
  893. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
  894. package/mobile/lib/content-page-repository/ContentPageRepository.js +0 -10
  895. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  896. package/mobile/lib/icons/IconName.d.ts +82 -0
  897. package/mobile/lib/icons/IconName.js +76 -0
  898. package/mobile/lib/icons/IconName.js.map +1 -0
  899. package/mobile/lib/index.d.ts +1 -1
  900. package/mobile/lib/index.js +1 -1
  901. package/mobile/lib/index.js.map +1 -1
  902. package/mobile/lib/model/ButtonVersion.d.ts +1 -1
  903. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  904. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.js +3 -0
  905. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  906. package/mobile/lib/services/sitemap/isTopItemActive.js +4 -1
  907. package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -1
  908. package/mobile/lib/setup-fixture.d.ts +3 -0
  909. package/mobile/lib/setup-fixture.js +70 -0
  910. package/mobile/lib/setup-fixture.js.map +1 -0
  911. package/mobile/lib/types.d.ts +5 -5
  912. package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  913. package/mobile/lib/ui-kit/BlockItem/BlockItem.js +9 -10
  914. package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  915. package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  916. package/mobile/lib/ui-kit/Button/Button.d.ts +0 -2
  917. package/mobile/lib/ui-kit/Button/Button.js +6 -8
  918. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  919. package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
  920. package/mobile/lib/ui-kit/Button/ButtonInner.js +14 -0
  921. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -0
  922. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
  923. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
  924. package/mobile/lib/ui-kit/Button/ButtonSection.js +16 -0
  925. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -0
  926. package/mobile/lib/ui-kit/Description/Description.d.ts +2 -0
  927. package/mobile/lib/ui-kit/Description/Description.js +7 -0
  928. package/mobile/lib/ui-kit/Description/Description.js.map +1 -0
  929. package/mobile/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
  930. package/mobile/lib/ui-kit/Description/DescriptionProps.js +2 -0
  931. package/mobile/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
  932. package/mobile/lib/ui-kit/Heading/Heading.d.ts +5 -0
  933. package/mobile/lib/ui-kit/Heading/Heading.js +19 -0
  934. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -0
  935. package/mobile/lib/ui-kit/Heading/HeadingContent.d.ts +15 -0
  936. package/mobile/lib/ui-kit/Heading/HeadingContent.js +2 -0
  937. package/mobile/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
  938. package/mobile/lib/ui-kit/Icon/Icon.js +6 -2
  939. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  940. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +6 -148
  941. package/mobile/lib/ui-kit/Icon/IconProps.js +1 -75
  942. package/mobile/lib/ui-kit/Icon/IconProps.js.map +1 -1
  943. package/mobile/lib/ui-kit/{Img.d.ts → Img/Img.d.ts} +2 -5
  944. package/mobile/lib/ui-kit/{Img.js → Img/Img.js} +7 -4
  945. package/mobile/lib/ui-kit/Img/Img.js.map +1 -0
  946. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +7 -0
  947. package/mobile/lib/ui-kit/Img/ImgProps.js +2 -0
  948. package/mobile/lib/ui-kit/Img/ImgProps.js.map +1 -0
  949. package/mobile/lib/ui-kit/List/List.d.ts +2 -0
  950. package/mobile/lib/ui-kit/List/List.js +10 -0
  951. package/mobile/lib/ui-kit/List/List.js.map +1 -0
  952. package/mobile/lib/ui-kit/List/ListContent.d.ts +4 -0
  953. package/mobile/lib/ui-kit/List/ListContent.js +2 -0
  954. package/mobile/lib/ui-kit/List/ListContent.js.map +1 -0
  955. package/mobile/lib/ui-kit/List/ListItem.d.ts +11 -0
  956. package/mobile/lib/ui-kit/List/ListItem.js +21 -0
  957. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -0
  958. package/mobile/lib/ui-kit/List/ListProps.d.ts +14 -0
  959. package/mobile/lib/ui-kit/List/ListProps.js +2 -0
  960. package/mobile/lib/ui-kit/List/ListProps.js.map +1 -0
  961. package/mobile/lib/ui-kit/Logo/Logo.js +1 -1
  962. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  963. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  964. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +30 -0
  965. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  966. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  967. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +26 -0
  968. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  969. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  970. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +6 -0
  971. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  972. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  973. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +9 -0
  974. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  975. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  976. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  977. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  978. package/mobile/lib/ui-kit/SwipeListControl/constants.d.ts +2 -0
  979. package/mobile/lib/ui-kit/SwipeListControl/constants.js +10 -0
  980. package/mobile/lib/ui-kit/SwipeListControl/constants.js.map +1 -0
  981. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  982. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js +10 -0
  983. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  984. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  985. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +15 -0
  986. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  987. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  988. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +24 -0
  989. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  990. package/mobile/src/components/Accordion/Accordion.tsx +2 -6
  991. package/mobile/src/components/Accordion/AccordionBlocks.tsx +8 -0
  992. package/mobile/src/components/Accordion/AccordionContent.ts +49 -21
  993. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
  994. package/mobile/src/components/BaseTile/BaseTile.tsx +11 -42
  995. package/mobile/src/components/BaseTile/BaseTileProps.ts +9 -11
  996. package/{src/components/BaseTile/getTitleSizeByClassName.ts → mobile/src/components/BaseTile/getTileHeadingType.ts} +5 -4
  997. package/mobile/src/components/BaseTile/getTileMinHeight.ts +12 -0
  998. package/mobile/src/components/BaseTile/getTileRightPadding.ts +12 -0
  999. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +4 -2
  1000. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
  1001. package/mobile/src/components/Blocks.ts +2 -0
  1002. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +6 -2
  1003. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +3 -7
  1004. package/mobile/src/components/ContentPage/ContentPage.page.json +1630 -87
  1005. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -8
  1006. package/mobile/src/components/ContentPage/isBlockInRegistry.ts +5 -0
  1007. package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
  1008. package/mobile/src/components/ContentPage/normalizeBlock.ts +6 -0
  1009. package/mobile/src/components/ContentPage/{toMobilePage.ts → normalizePage.ts} +13 -14
  1010. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
  1011. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
  1012. package/mobile/src/components/Footer/MediaButton.tsx +2 -1
  1013. package/mobile/src/components/Gallery/Gallery.tsx +58 -39
  1014. package/mobile/src/components/Gallery/GalleryCardInner.tsx +6 -11
  1015. package/mobile/src/components/Gallery/GalleryContainer.tsx +9 -10
  1016. package/mobile/src/components/Gallery/GalleryContent.ts +9 -3
  1017. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  1018. package/mobile/src/components/Gallery/constants.ts +2 -2
  1019. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
  1020. package/mobile/src/components/Header/HeaderTop.tsx +1 -1
  1021. package/mobile/src/components/Headline/Headline.tsx +3 -7
  1022. package/mobile/src/components/Headline/HeadlineContent.ts +11 -6
  1023. package/mobile/src/components/LinkDocs/LinkDocs.example.json +4 -1
  1024. package/mobile/src/components/LinkDocs/LinkDocs.tsx +32 -70
  1025. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +29 -7
  1026. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +28 -0
  1027. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +33 -0
  1028. package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +12 -0
  1029. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +51 -0
  1030. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +33 -0
  1031. package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +26 -0
  1032. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +11 -8
  1033. package/mobile/src/components/PictureText/PictureText.tsx +5 -4
  1034. package/mobile/src/components/PictureText/PictureTextContent.ts +5 -2
  1035. package/mobile/src/components/Placeholder/PlaceholderContent.ts +3 -3
  1036. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +21 -18
  1037. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +26 -11
  1038. package/mobile/src/components/ProductBlock/renderBenefit.tsx +3 -2
  1039. package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -1
  1040. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +6 -6
  1041. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1042. package/mobile/src/components/ProductTile/ProductTile.tsx +63 -15
  1043. package/mobile/src/components/ProductTile/ProductTileContent.ts +17 -9
  1044. package/mobile/src/components/PromoTile/PromoTile.tsx +41 -14
  1045. package/mobile/src/components/PromoTile/PromoTileContent.ts +11 -5
  1046. package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -7
  1047. package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -2
  1048. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +4 -3
  1049. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +5 -11
  1050. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
  1051. package/mobile/src/components/TextBlock/TextBlock.tsx +20 -16
  1052. package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -1
  1053. package/mobile/src/components/Tile/Tile.tsx +46 -27
  1054. package/mobile/src/components/Tile/TileContent.ts +13 -2
  1055. package/mobile/src/content-page-repository/ContentPageRepository.ts +0 -12
  1056. package/mobile/src/icons/ActualBalanceIcon.svg +1 -3
  1057. package/mobile/src/icons/AppleIcon.svg +1 -1
  1058. package/mobile/src/icons/AtmIcon.svg +6 -6
  1059. package/mobile/src/icons/BankIcon.svg +10 -10
  1060. package/mobile/src/icons/BurgerIcon.svg +1 -1
  1061. package/mobile/src/icons/BurgerIconWhite.svg +1 -1
  1062. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  1063. package/mobile/src/icons/CalendarCircleIcon.svg +1 -1
  1064. package/mobile/src/icons/CalendarIcon.svg +2 -2
  1065. package/mobile/src/icons/CalendarTickIcon.svg +1 -1
  1066. package/mobile/src/icons/CalendarWhiteIcon.svg +1 -1
  1067. package/mobile/src/icons/CardIcon.svg +1 -1
  1068. package/mobile/src/icons/CardPosIcon.svg +1 -1
  1069. package/mobile/src/icons/CardTickIcon.svg +1 -1
  1070. package/mobile/src/icons/CardWithGemIcon.svg +1 -1
  1071. package/mobile/src/icons/ChartSquareIcon.svg +1 -1
  1072. package/mobile/src/icons/ClockIcon.svg +1 -3
  1073. package/mobile/src/icons/CloseIcon.svg +1 -1
  1074. package/mobile/src/icons/ComfortableCompIcon.svg +1 -3
  1075. package/mobile/src/icons/CreditCardsIcon.svg +1 -1
  1076. package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
  1077. package/mobile/src/icons/DocIcon.svg +3 -3
  1078. package/mobile/src/icons/DocIconMonoColor.svg +5 -0
  1079. package/mobile/src/icons/DocumentTextIcon.svg +3 -3
  1080. package/mobile/src/icons/DollarIcon.svg +1 -1
  1081. package/mobile/src/icons/EarthIcon.svg +1 -1
  1082. package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
  1083. package/mobile/src/icons/EmptyWalletIcon.svg +2 -2
  1084. package/mobile/src/icons/EmptyWalletWhiteIcon.svg +1 -1
  1085. package/mobile/src/icons/EuroIcon.svg +1 -1
  1086. package/mobile/src/icons/GeolocationIcon.svg +3 -3
  1087. package/mobile/src/icons/GlassIcon.svg +1 -1
  1088. package/mobile/src/icons/GlobalIcon.svg +1 -1
  1089. package/mobile/src/icons/GridIcon.svg +1 -1
  1090. package/mobile/src/icons/GridIconWhite.svg +1 -1
  1091. package/mobile/src/icons/IconName.ts +16 -0
  1092. package/mobile/src/icons/InterestGrowthIcon.svg +1 -1
  1093. package/mobile/src/icons/InterestIcon.svg +1 -1
  1094. package/mobile/src/icons/JCBIcon.svg +1 -1
  1095. package/mobile/src/icons/LoupeIcon.svg +1 -1
  1096. package/mobile/src/icons/MasterCardIcon.svg +1 -1
  1097. package/mobile/src/icons/MinusIcon.svg +1 -1
  1098. package/mobile/src/icons/MirIcon.svg +1 -1
  1099. package/mobile/src/icons/MoneyIcon.svg +1 -1
  1100. package/mobile/src/icons/MoneyInsuranceIcon.svg +1 -1
  1101. package/mobile/src/icons/MonitorMobileIcon.svg +1 -1
  1102. package/mobile/src/icons/NewDocIcon.svg +1 -3
  1103. package/mobile/src/icons/OfficeIcon.svg +1 -1
  1104. package/mobile/src/icons/OkIcon.svg +1 -1
  1105. package/mobile/src/icons/PassSendIcon.svg +1 -3
  1106. package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
  1107. package/mobile/src/icons/PercentageSquareIcon.svg +2 -2
  1108. package/mobile/src/icons/PercentageSquareWhiteIcon.svg +1 -1
  1109. package/mobile/src/icons/PersonalCardIcon.svg +1 -1
  1110. package/mobile/src/icons/PlayMarketIcon.svg +1 -1
  1111. package/mobile/src/icons/PlusIcon.svg +1 -1
  1112. package/mobile/src/icons/Profile2UserIcon.svg +1 -1
  1113. package/mobile/src/icons/ProfileIcon.svg +1 -1
  1114. package/mobile/src/icons/RoundRubleIcon.svg +1 -1
  1115. package/mobile/src/icons/SafeIcon.svg +1 -1
  1116. package/mobile/src/icons/ShieldTickIcon.svg +1 -1
  1117. package/mobile/src/icons/SignDocsIcon.svg +1 -3
  1118. package/mobile/src/icons/SmallClockIcon.svg +1 -1
  1119. package/mobile/src/icons/TelegramIcon.svg +2 -1
  1120. package/mobile/src/icons/UnionPayIcon.svg +1 -1
  1121. package/mobile/src/icons/UserTickIcon.svg +1 -1
  1122. package/mobile/src/icons/VKIcon.svg +2 -1
  1123. package/mobile/src/icons/VisaIcon.svg +1 -1
  1124. package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
  1125. package/mobile/src/icons/WalletAddIcon.svg +1 -1
  1126. package/mobile/src/icons/WalletIcon.svg +1 -1
  1127. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
  1128. package/mobile/src/index.ts +1 -1
  1129. package/mobile/src/model/ButtonVersion.ts +1 -1
  1130. package/mobile/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +20 -0
  1131. package/mobile/src/services/sitemap/checkIsHrefSameOrigin.ts +6 -0
  1132. package/mobile/src/services/sitemap/isTopItemActive.spec.ts +59 -0
  1133. package/mobile/src/services/sitemap/isTopItemActive.ts +4 -1
  1134. package/mobile/src/types.ts +6 -5
  1135. package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +12 -15
  1136. package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
  1137. package/mobile/src/ui-kit/Button/Button.tsx +11 -24
  1138. package/mobile/src/ui-kit/Button/ButtonInner.tsx +37 -0
  1139. package/mobile/src/ui-kit/Button/ButtonProps.ts +11 -0
  1140. package/mobile/src/ui-kit/Button/ButtonSection.tsx +34 -0
  1141. package/mobile/src/ui-kit/Description/Description.tsx +8 -0
  1142. package/mobile/src/ui-kit/Description/DescriptionProps.ts +8 -0
  1143. package/mobile/src/ui-kit/Heading/Heading.tsx +29 -0
  1144. package/mobile/src/ui-kit/Heading/HeadingContent.ts +17 -0
  1145. package/mobile/src/ui-kit/Icon/Icon.tsx +16 -3
  1146. package/mobile/src/ui-kit/Icon/IconProps.ts +7 -148
  1147. package/mobile/src/ui-kit/{Img.tsx → Img/Img.tsx} +9 -10
  1148. package/mobile/src/ui-kit/Img/ImgProps.ts +9 -0
  1149. package/mobile/src/ui-kit/List/List.tsx +24 -0
  1150. package/mobile/src/ui-kit/List/ListContent.ts +4 -0
  1151. package/mobile/src/ui-kit/List/ListItem.tsx +43 -0
  1152. package/mobile/src/ui-kit/List/ListProps.ts +16 -0
  1153. package/mobile/src/ui-kit/Logo/Logo.tsx +1 -0
  1154. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +62 -0
  1155. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +51 -0
  1156. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +20 -0
  1157. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +48 -0
  1158. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +19 -0
  1159. package/mobile/src/ui-kit/SwipeListControl/constants.ts +10 -0
  1160. package/mobile/src/ui-kit/SwipeListControl/utils/getContainerStyle.ts +9 -0
  1161. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +19 -0
  1162. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +20 -0
  1163. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +24 -0
  1164. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +41 -0
  1165. package/package.json +14 -15
  1166. package/src/components/Accordion/Accordion.fixture.mobile.tsx +10 -10
  1167. package/src/components/Accordion/Accordion.fixture.tsx +54 -10
  1168. package/src/components/Accordion/Accordion.mobile.tsx +2 -6
  1169. package/src/components/Accordion/Accordion.tsx +2 -2
  1170. package/src/components/Accordion/AccordionBlocks.tsx +8 -0
  1171. package/src/components/Accordion/AccordionContent.ts +49 -21
  1172. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
  1173. package/src/components/Accordion/AccordionItem.tsx +1 -1
  1174. package/src/components/BaseTile/BaseTile.tsx +10 -34
  1175. package/src/components/BaseTile/BaseTileProps.ts +9 -11
  1176. package/{mobile/src/components/BaseTile/getTitleSizeByClassName.ts → src/components/BaseTile/getTileHeadingType.ts} +5 -4
  1177. package/src/components/BaseTile/getTileMinHeight.ts +12 -0
  1178. package/src/components/BaseTile/getTileRightPadding.ts +12 -0
  1179. package/src/components/BenefitsBlock/BenefitsBlock.tsx +4 -2
  1180. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
  1181. package/src/components/Blocks.mobile.ts +2 -0
  1182. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -0
  1183. package/src/components/ComparisonTable/ComparisonTable.tsx +6 -2
  1184. package/src/components/ComparisonTable/HeaderCell.tsx +3 -7
  1185. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +3 -3
  1186. package/src/components/ContentPage/ContentPage.fixture.tsx +3 -2
  1187. package/src/components/ContentPage/ContentPage.page.json +15 -81
  1188. package/src/components/ContentPage/ContentPage.tsx +2 -8
  1189. package/src/components/ContentPage/isBlockInRegistry.ts +5 -0
  1190. package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +71 -0
  1191. package/src/components/ContentPage/normalizeBlock.mobile.ts +6 -0
  1192. package/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
  1193. package/src/components/ContentPage/normalizeBlock.ts +7 -0
  1194. package/src/components/ContentPage/{toMobilePage.ts → normalizePage.mobile.ts} +13 -14
  1195. package/src/components/ContentPage/normalizePage.ts +35 -0
  1196. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
  1197. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
  1198. package/src/components/Footer/Footer.fixture.tsx +0 -126
  1199. package/src/components/Footer/MediaButton.tsx +2 -1
  1200. package/src/components/Gallery/Gallery.fixture.mobile.tsx +103 -0
  1201. package/src/components/Gallery/Gallery.fixture.tsx +5 -4
  1202. package/src/components/Gallery/Gallery.mobile.tsx +58 -39
  1203. package/src/components/Gallery/GalleryCardInner.tsx +6 -11
  1204. package/src/components/Gallery/GalleryContainer.tsx +9 -10
  1205. package/src/components/Gallery/GalleryContent.ts +9 -3
  1206. package/src/components/Gallery/GalleryInner.tsx +1 -1
  1207. package/src/components/Gallery/constants.ts +2 -2
  1208. package/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
  1209. package/src/components/Header/HeaderTop.tsx +1 -1
  1210. package/src/components/Headline/Headline.fixture.tsx +0 -54
  1211. package/src/components/Headline/Headline.mobile.tsx +3 -7
  1212. package/src/components/Headline/Headline.tsx +2 -4
  1213. package/src/components/Headline/HeadlineContent.ts +11 -6
  1214. package/src/components/LinkDocs/LinkDocs.example.json +4 -1
  1215. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +36 -0
  1216. package/src/components/LinkDocs/LinkDocs.fixture.tsx +17 -48
  1217. package/src/components/LinkDocs/LinkDocs.mobile.tsx +44 -0
  1218. package/src/components/LinkDocs/LinkDocs.tsx +35 -52
  1219. package/src/components/LinkDocs/LinkDocsContent.ts +29 -7
  1220. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +28 -0
  1221. package/src/components/LinkDocs/LinkDocsList.tsx +33 -0
  1222. package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +12 -0
  1223. package/src/components/LinkDocs/LinkDocsListItem.tsx +14 -0
  1224. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +51 -0
  1225. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +33 -0
  1226. package/src/components/LinkDocs/linkDocsContentExample.ts +26 -0
  1227. package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
  1228. package/src/components/MobileAppTile/MobileAppTile.tsx +47 -20
  1229. package/src/components/MobileAppTile/MobileAppTileContent.ts +11 -8
  1230. package/src/components/PictureText/PictureText.tsx +5 -4
  1231. package/src/components/PictureText/PictureTextContent.ts +5 -2
  1232. package/src/components/Placeholder/PlaceholderContent.ts +3 -3
  1233. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +0 -1
  1234. package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -1
  1235. package/src/components/ProductBlock/ProductBlockContent.ts +21 -18
  1236. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +26 -11
  1237. package/src/components/ProductBlock/ProductBlockInner.tsx +28 -12
  1238. package/src/components/ProductBlock/renderBenefit.mobile.tsx +3 -2
  1239. package/src/components/ProductBlock/renderBenefit.tsx +3 -2
  1240. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -1
  1241. package/src/components/ProductGallery/ProductGallery.fixture.tsx +4 -1
  1242. package/src/components/ProductGallery/ProductGallery.mobile.tsx +3 -1
  1243. package/src/components/ProductGallery/ProductGallery.tsx +3 -2
  1244. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +6 -6
  1245. package/src/components/ProductGallery/ProductGalleryBlock.tsx +6 -6
  1246. package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1247. package/src/components/ProductTile/ProductTile.fixture.tsx +28 -0
  1248. package/src/components/ProductTile/ProductTile.tsx +63 -15
  1249. package/src/components/ProductTile/ProductTileContent.ts +17 -9
  1250. package/src/components/PromoTile/PromoTile.fixture.tsx +0 -1
  1251. package/src/components/PromoTile/PromoTile.tsx +41 -14
  1252. package/src/components/PromoTile/PromoTileContent.ts +11 -5
  1253. package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -7
  1254. package/src/components/StepsBlock/StepsBlock.tsx +2 -2
  1255. package/src/components/TariffsTable/TariffsTable.tsx +6 -2
  1256. package/src/components/TariffsTable/TariffsTableCell.tsx +4 -3
  1257. package/src/components/TariffsTable/TariffsTableContent.ts +5 -11
  1258. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
  1259. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +28 -13
  1260. package/src/components/TextBlock/TextBlock.mobile.tsx +20 -16
  1261. package/src/components/TextBlock/TextBlock.tsx +1 -1
  1262. package/src/components/TextBlock/TextBlockContent.ts +4 -1
  1263. package/src/components/Tile/Tile.fixture.tsx +19 -2
  1264. package/src/components/Tile/Tile.tsx +46 -27
  1265. package/src/components/Tile/TileContent.ts +13 -2
  1266. package/src/content-page-repository/ContentPageRepository.ts +0 -12
  1267. package/src/icons/ActualBalanceIcon.svg +1 -3
  1268. package/src/icons/AppleIcon.svg +1 -1
  1269. package/src/icons/AtmIcon.svg +6 -6
  1270. package/src/icons/BankIcon.svg +10 -10
  1271. package/src/icons/BurgerIcon.svg +1 -1
  1272. package/src/icons/BurgerIconWhite.svg +1 -1
  1273. package/src/icons/Calendar2Icon.svg +1 -1
  1274. package/src/icons/CalendarCircleIcon.svg +1 -1
  1275. package/src/icons/CalendarIcon.svg +2 -2
  1276. package/src/icons/CalendarTickIcon.svg +1 -1
  1277. package/src/icons/CalendarWhiteIcon.svg +1 -1
  1278. package/src/icons/CardIcon.svg +1 -1
  1279. package/src/icons/CardPosIcon.svg +1 -1
  1280. package/src/icons/CardTickIcon.svg +1 -1
  1281. package/src/icons/CardWithGemIcon.svg +1 -1
  1282. package/src/icons/ChartSquareIcon.svg +1 -1
  1283. package/src/icons/ClockIcon.svg +1 -3
  1284. package/src/icons/CloseIcon.svg +1 -1
  1285. package/src/icons/ComfortableCompIcon.svg +1 -3
  1286. package/src/icons/CreditCardsIcon.svg +1 -1
  1287. package/src/icons/DiscountShapeIcon.svg +1 -1
  1288. package/src/icons/DocIcon.svg +3 -3
  1289. package/src/icons/DocIconMonoColor.svg +5 -0
  1290. package/src/icons/DocumentTextIcon.svg +3 -3
  1291. package/src/icons/DollarIcon.svg +1 -1
  1292. package/src/icons/EarthIcon.svg +1 -1
  1293. package/src/icons/EmptyWalletChangeIcon.svg +1 -1
  1294. package/src/icons/EmptyWalletIcon.svg +2 -2
  1295. package/src/icons/EmptyWalletWhiteIcon.svg +1 -1
  1296. package/src/icons/EuroIcon.svg +1 -1
  1297. package/src/icons/GeolocationIcon.svg +3 -3
  1298. package/src/icons/GlassIcon.svg +1 -1
  1299. package/src/icons/GlobalIcon.svg +1 -1
  1300. package/src/icons/GridIcon.svg +1 -1
  1301. package/src/icons/GridIconWhite.svg +1 -1
  1302. package/src/icons/IconName.ts +16 -0
  1303. package/src/icons/InterestGrowthIcon.svg +1 -1
  1304. package/src/icons/InterestIcon.svg +1 -1
  1305. package/src/icons/JCBIcon.svg +1 -1
  1306. package/src/icons/LoupeIcon.svg +1 -1
  1307. package/src/icons/MasterCardIcon.svg +1 -1
  1308. package/src/icons/MinusIcon.svg +1 -1
  1309. package/src/icons/MirIcon.svg +1 -1
  1310. package/src/icons/MoneyIcon.svg +1 -1
  1311. package/src/icons/MoneyInsuranceIcon.svg +1 -1
  1312. package/src/icons/MonitorMobileIcon.svg +1 -1
  1313. package/src/icons/NewDocIcon.svg +1 -3
  1314. package/src/icons/OfficeIcon.svg +1 -1
  1315. package/src/icons/OkIcon.svg +1 -1
  1316. package/src/icons/PassSendIcon.svg +1 -3
  1317. package/src/icons/PercentageRoundIcon.svg +1 -1
  1318. package/src/icons/PercentageSquareIcon.svg +2 -2
  1319. package/src/icons/PercentageSquareWhiteIcon.svg +1 -1
  1320. package/src/icons/PersonalCardIcon.svg +1 -1
  1321. package/src/icons/PlayMarketIcon.svg +1 -1
  1322. package/src/icons/PlusIcon.svg +1 -1
  1323. package/src/icons/Profile2UserIcon.svg +1 -1
  1324. package/src/icons/ProfileIcon.svg +1 -1
  1325. package/src/icons/RoundRubleIcon.svg +1 -1
  1326. package/src/icons/SafeIcon.svg +1 -1
  1327. package/src/icons/ShieldTickIcon.svg +1 -1
  1328. package/src/icons/SignDocsIcon.svg +1 -3
  1329. package/src/icons/SmallClockIcon.svg +1 -1
  1330. package/src/icons/TelegramIcon.svg +2 -1
  1331. package/src/icons/UnionPayIcon.svg +1 -1
  1332. package/src/icons/UserTickIcon.svg +1 -1
  1333. package/src/icons/VKIcon.svg +2 -1
  1334. package/src/icons/VisaIcon.svg +1 -1
  1335. package/src/icons/WalletAdd2Icon.svg +1 -1
  1336. package/src/icons/WalletAddIcon.svg +1 -1
  1337. package/src/icons/WalletIcon.svg +1 -1
  1338. package/src/icons/WalletWithMoneyIcon.svg +1 -1
  1339. package/src/index.ts +1 -1
  1340. package/src/model/ButtonVersion.ts +1 -1
  1341. package/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +20 -0
  1342. package/src/services/sitemap/checkIsHrefSameOrigin.ts +6 -0
  1343. package/src/services/sitemap/isTopItemActive.spec.ts +59 -0
  1344. package/src/services/sitemap/isTopItemActive.ts +4 -1
  1345. package/src/types.ts +6 -5
  1346. package/src/ui-kit/BlockItem/BlockItem.tsx +12 -15
  1347. package/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
  1348. package/src/ui-kit/Button/Button.fixture.tsx +4 -5
  1349. package/src/ui-kit/Button/Button.mobile.tsx +11 -24
  1350. package/src/ui-kit/Button/Button.tsx +55 -51
  1351. package/src/ui-kit/Button/ButtonInner.tsx +37 -0
  1352. package/src/ui-kit/Button/ButtonProps.ts +11 -0
  1353. package/src/ui-kit/Button/ButtonSection.tsx +34 -0
  1354. package/src/ui-kit/Description/Description.tsx +8 -0
  1355. package/src/ui-kit/Description/DescriptionProps.ts +8 -0
  1356. package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +29 -0
  1357. package/src/ui-kit/Heading/Heading.fixture.tsx +28 -0
  1358. package/src/ui-kit/Heading/Heading.mobile.tsx +29 -0
  1359. package/src/ui-kit/Heading/Heading.tsx +29 -0
  1360. package/src/ui-kit/Heading/HeadingContent.ts +17 -0
  1361. package/src/ui-kit/Icon/Icon.fixture.tsx +20 -12
  1362. package/src/ui-kit/Icon/Icon.tsx +16 -3
  1363. package/src/ui-kit/Icon/IconProps.ts +7 -148
  1364. package/src/ui-kit/{Img.mobile.tsx → Img/Img.mobile.tsx} +9 -10
  1365. package/src/ui-kit/{Img.tsx → Img/Img.tsx} +1 -1
  1366. package/src/ui-kit/Img/ImgProps.ts +9 -0
  1367. package/src/ui-kit/List/List.tsx +24 -0
  1368. package/src/ui-kit/List/ListContent.ts +4 -0
  1369. package/src/ui-kit/List/ListItem.tsx +43 -0
  1370. package/src/ui-kit/List/ListProps.ts +16 -0
  1371. package/src/ui-kit/Logo/Logo.mobile.tsx +1 -0
  1372. package/src/ui-kit/Logo/Logo.tsx +1 -0
  1373. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +16 -0
  1374. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +62 -0
  1375. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +51 -0
  1376. package/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +20 -0
  1377. package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +48 -0
  1378. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +19 -0
  1379. package/src/ui-kit/SwipeListControl/constants.ts +10 -0
  1380. package/src/ui-kit/SwipeListControl/utils/getContainerStyle.ts +9 -0
  1381. package/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +19 -0
  1382. package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +20 -0
  1383. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +24 -0
  1384. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +41 -0
  1385. package/dist/components/BaseTile/BaseTile.mobile.d.ts +0 -5
  1386. package/dist/components/BaseTile/BaseTile.mobile.js +0 -17
  1387. package/dist/components/BaseTile/BaseTile.mobile.js.map +0 -1
  1388. package/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
  1389. package/dist/components/BaseTile/BaseTileInner.js +0 -14
  1390. package/dist/components/BaseTile/BaseTileInner.js.map +0 -1
  1391. package/dist/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
  1392. package/dist/components/BaseTile/BaseTileInner.mobile.js +0 -14
  1393. package/dist/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
  1394. package/dist/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  1395. package/dist/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  1396. package/dist/components/BaseTile/renderButton.d.ts +0 -2
  1397. package/dist/components/BaseTile/renderButton.js +0 -12
  1398. package/dist/components/BaseTile/renderButton.js.map +0 -1
  1399. package/dist/components/BaseTile/renderButton.mobile.d.ts +0 -2
  1400. package/dist/components/BaseTile/renderButton.mobile.js +0 -13
  1401. package/dist/components/BaseTile/renderButton.mobile.js.map +0 -1
  1402. package/dist/components/BaseTile/renderItems.d.ts +0 -2
  1403. package/dist/components/BaseTile/renderItems.js +0 -9
  1404. package/dist/components/BaseTile/renderItems.js.map +0 -1
  1405. package/dist/components/BaseTile/renderItems.mobile.d.ts +0 -2
  1406. package/dist/components/BaseTile/renderItems.mobile.js +0 -9
  1407. package/dist/components/BaseTile/renderItems.mobile.js.map +0 -1
  1408. package/dist/components/ContentPage/toMobilePage.d.ts +0 -2
  1409. package/dist/components/ContentPage/toMobilePage.js +0 -34
  1410. package/dist/components/ContentPage/toMobilePage.js.map +0 -1
  1411. package/dist/ui-kit/Img.js.map +0 -1
  1412. package/dist/ui-kit/Img.mobile.js.map +0 -1
  1413. package/dist/ui-kit/Title/Title.d.ts +0 -3
  1414. package/dist/ui-kit/Title/Title.js +0 -18
  1415. package/dist/ui-kit/Title/Title.js.map +0 -1
  1416. package/dist/ui-kit/Title/Title.mobile.d.ts +0 -3
  1417. package/dist/ui-kit/Title/Title.mobile.js +0 -18
  1418. package/dist/ui-kit/Title/Title.mobile.js.map +0 -1
  1419. package/dist/ui-kit/Title/TitleProps.d.ts +0 -4
  1420. package/dist/ui-kit/Title/TitleProps.js.map +0 -1
  1421. package/lib/components/BaseTile/BaseTile.mobile.d.ts +0 -5
  1422. package/lib/components/BaseTile/BaseTile.mobile.js +0 -15
  1423. package/lib/components/BaseTile/BaseTile.mobile.js.map +0 -1
  1424. package/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
  1425. package/lib/components/BaseTile/BaseTileInner.js +0 -12
  1426. package/lib/components/BaseTile/BaseTileInner.js.map +0 -1
  1427. package/lib/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
  1428. package/lib/components/BaseTile/BaseTileInner.mobile.js +0 -12
  1429. package/lib/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
  1430. package/lib/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  1431. package/lib/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  1432. package/lib/components/BaseTile/renderButton.d.ts +0 -2
  1433. package/lib/components/BaseTile/renderButton.js +0 -9
  1434. package/lib/components/BaseTile/renderButton.js.map +0 -1
  1435. package/lib/components/BaseTile/renderButton.mobile.d.ts +0 -2
  1436. package/lib/components/BaseTile/renderButton.mobile.js +0 -10
  1437. package/lib/components/BaseTile/renderButton.mobile.js.map +0 -1
  1438. package/lib/components/BaseTile/renderItems.d.ts +0 -2
  1439. package/lib/components/BaseTile/renderItems.js +0 -6
  1440. package/lib/components/BaseTile/renderItems.js.map +0 -1
  1441. package/lib/components/BaseTile/renderItems.mobile.d.ts +0 -2
  1442. package/lib/components/BaseTile/renderItems.mobile.js +0 -6
  1443. package/lib/components/BaseTile/renderItems.mobile.js.map +0 -1
  1444. package/lib/components/ContentPage/toMobilePage.d.ts +0 -2
  1445. package/lib/components/ContentPage/toMobilePage.js.map +0 -1
  1446. package/lib/ui-kit/Img.js.map +0 -1
  1447. package/lib/ui-kit/Img.mobile.js.map +0 -1
  1448. package/lib/ui-kit/Title/Title.d.ts +0 -3
  1449. package/lib/ui-kit/Title/Title.js +0 -16
  1450. package/lib/ui-kit/Title/Title.js.map +0 -1
  1451. package/lib/ui-kit/Title/Title.mobile.d.ts +0 -3
  1452. package/lib/ui-kit/Title/Title.mobile.js +0 -16
  1453. package/lib/ui-kit/Title/Title.mobile.js.map +0 -1
  1454. package/lib/ui-kit/Title/TitleProps.d.ts +0 -4
  1455. package/lib/ui-kit/Title/TitleProps.js +0 -2
  1456. package/lib/ui-kit/Title/TitleProps.js.map +0 -1
  1457. package/mobile/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
  1458. package/mobile/dist/components/BaseTile/BaseTileInner.js +0 -14
  1459. package/mobile/dist/components/BaseTile/BaseTileInner.js.map +0 -1
  1460. package/mobile/dist/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  1461. package/mobile/dist/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  1462. package/mobile/dist/components/BaseTile/renderButton.d.ts +0 -2
  1463. package/mobile/dist/components/BaseTile/renderButton.js +0 -13
  1464. package/mobile/dist/components/BaseTile/renderButton.js.map +0 -1
  1465. package/mobile/dist/components/BaseTile/renderItems.d.ts +0 -2
  1466. package/mobile/dist/components/BaseTile/renderItems.js +0 -9
  1467. package/mobile/dist/components/BaseTile/renderItems.js.map +0 -1
  1468. package/mobile/dist/components/ContentPage/toMobilePage.d.ts +0 -2
  1469. package/mobile/dist/components/ContentPage/toMobilePage.js +0 -34
  1470. package/mobile/dist/components/ContentPage/toMobilePage.js.map +0 -1
  1471. package/mobile/dist/ui-kit/Img.js.map +0 -1
  1472. package/mobile/dist/ui-kit/Title/Title.d.ts +0 -3
  1473. package/mobile/dist/ui-kit/Title/Title.js +0 -18
  1474. package/mobile/dist/ui-kit/Title/Title.js.map +0 -1
  1475. package/mobile/dist/ui-kit/Title/TitleProps.d.ts +0 -4
  1476. package/mobile/dist/ui-kit/Title/TitleProps.js.map +0 -1
  1477. package/mobile/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
  1478. package/mobile/lib/components/BaseTile/BaseTileInner.js +0 -12
  1479. package/mobile/lib/components/BaseTile/BaseTileInner.js.map +0 -1
  1480. package/mobile/lib/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  1481. package/mobile/lib/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  1482. package/mobile/lib/components/BaseTile/renderButton.d.ts +0 -2
  1483. package/mobile/lib/components/BaseTile/renderButton.js +0 -10
  1484. package/mobile/lib/components/BaseTile/renderButton.js.map +0 -1
  1485. package/mobile/lib/components/BaseTile/renderItems.d.ts +0 -2
  1486. package/mobile/lib/components/BaseTile/renderItems.js +0 -6
  1487. package/mobile/lib/components/BaseTile/renderItems.js.map +0 -1
  1488. package/mobile/lib/components/ContentPage/toMobilePage.d.ts +0 -2
  1489. package/mobile/lib/components/ContentPage/toMobilePage.js.map +0 -1
  1490. package/mobile/lib/ui-kit/Img.js.map +0 -1
  1491. package/mobile/lib/ui-kit/Title/Title.d.ts +0 -3
  1492. package/mobile/lib/ui-kit/Title/Title.js +0 -16
  1493. package/mobile/lib/ui-kit/Title/Title.js.map +0 -1
  1494. package/mobile/lib/ui-kit/Title/TitleProps.d.ts +0 -4
  1495. package/mobile/lib/ui-kit/Title/TitleProps.js +0 -2
  1496. package/mobile/lib/ui-kit/Title/TitleProps.js.map +0 -1
  1497. package/mobile/src/components/BaseTile/BaseTileInner.tsx +0 -31
  1498. package/mobile/src/components/BaseTile/renderButton.tsx +0 -20
  1499. package/mobile/src/components/BaseTile/renderItems.tsx +0 -12
  1500. package/mobile/src/ui-kit/Title/Title.tsx +0 -22
  1501. package/mobile/src/ui-kit/Title/TitleProps.ts +0 -5
  1502. package/src/components/BaseTile/BaseTile.mobile.tsx +0 -53
  1503. package/src/components/BaseTile/BaseTileInner.mobile.tsx +0 -31
  1504. package/src/components/BaseTile/BaseTileInner.tsx +0 -37
  1505. package/src/components/BaseTile/renderButton.mobile.tsx +0 -20
  1506. package/src/components/BaseTile/renderButton.tsx +0 -13
  1507. package/src/components/BaseTile/renderItems.mobile.tsx +0 -12
  1508. package/src/components/BaseTile/renderItems.tsx +0 -12
  1509. package/src/components/ContentPage/ContentPage.page.mobile.json +0 -452
  1510. package/src/ui-kit/Title/Title.mobile.tsx +0 -22
  1511. package/src/ui-kit/Title/Title.tsx +0 -22
  1512. package/src/ui-kit/Title/TitleProps.ts +0 -5
@@ -0,0 +1,70 @@
1
+ import { setup } from '@redneckz/uni-jsx';
2
+ import { useEffect, useState } from 'react';
3
+ import { jsx, jsxs } from 'react/jsx-runtime';
4
+ import { DaDataAPI } from './api/DaDataAPI.js';
5
+ setup(jsx, jsxs);
6
+ const TEST_ORIGIN = 'http://localhost:5001';
7
+ const DaData = DaDataAPI('https://10.80.4.9');
8
+ export const context = {
9
+ useState,
10
+ useRouter: () => ({
11
+ href: `${TEST_ORIGIN}/credits`,
12
+ pathname: '/credits',
13
+ query: {},
14
+ push: (url) => {
15
+ console.log(url);
16
+ },
17
+ }),
18
+ useAsyncData: (key, fetcher) => {
19
+ const [data, setData] = useState();
20
+ useEffect(() => {
21
+ fetcher().then((_) => {
22
+ setData(_);
23
+ });
24
+ }, [key, fetcher]);
25
+ return { data };
26
+ },
27
+ useGeolocation: (defaultLocation) => {
28
+ const [city, setCity] = useState(globalThis.localStorage.getItem('location') || defaultLocation);
29
+ const getCity = () => {
30
+ DaData.getFetcherAddress().then((_) => {
31
+ const location = _ || defaultLocation;
32
+ globalThis.localStorage.setItem('location', location);
33
+ setCity(location);
34
+ });
35
+ };
36
+ return [city, getCity];
37
+ },
38
+ useLikeService: () => ({
39
+ likeCount: 0,
40
+ like: () => {
41
+ console.log('like');
42
+ },
43
+ dislike: () => {
44
+ console.log('dislike');
45
+ },
46
+ }),
47
+ handlerDecorator: (handler, targetContent) => (ev) => {
48
+ ev.preventDefault();
49
+ console.log(ev.target, ev, targetContent);
50
+ },
51
+ useSearch: () => {
52
+ const [term, setTerm] = useState('');
53
+ return {
54
+ term,
55
+ setTerm: (text) => setTerm(text),
56
+ };
57
+ },
58
+ };
59
+ export const mobileContext = {
60
+ ...context,
61
+ useRouter: () => ({
62
+ href: `${TEST_ORIGIN}/mobile/credits`,
63
+ pathname: '/mobile/credits',
64
+ query: {},
65
+ push: (url) => {
66
+ console.log(url);
67
+ },
68
+ }),
69
+ };
70
+ //# sourceMappingURL=setup-fixture.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-fixture.js","sourceRoot":"","sources":["../src/setup-fixture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAEjB,MAAM,WAAW,GAAG,uBAAuB,CAAC;AAE5C,MAAM,MAAM,GAAG,SAAS,CAAC,mBAAmB,CAAC,CAAC;AAE9C,MAAM,CAAC,MAAM,OAAO,GAAuB;IACzC,QAAQ;IACR,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;QAChB,IAAI,EAAE,GAAG,WAAW,UAAU;QAC9B,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC;IACF,YAAY,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE;QAC7B,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,EAAE,CAAC;QACnC,SAAS,CAAC,GAAG,EAAE;YACb,OAAO,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;gBACnB,OAAO,CAAC,CAAC,CAAC,CAAC;YACb,CAAC,CAAC,CAAC;QACL,CAAC,EAAE,CAAC,GAAG,EAAE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OAAO,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;SACzC,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,GAAG,OAAO;IACV,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;QAChB,IAAI,EAAE,GAAG,WAAW,iBAAiB;QACrC,QAAQ,EAAE,iBAAiB;QAC3B,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC;CACH,CAAC"}
package/lib/types.d.ts CHANGED
@@ -2,15 +2,15 @@ import type { BlockContent } from './components/BlockContent';
2
2
  import type { ContentPageContext } from './components/ContentPage/ContentPageContext';
3
3
  import type { BlockVersion } from './model/BlockVersion';
4
4
  export declare type ColorPalette = 'pc' | 'bc' | 'eo' | 'eo2' | 'eo3' | 'eo4';
5
- export interface BlockDef {
5
+ export interface BaseBlockDef {
6
6
  type: string;
7
7
  style?: string[];
8
8
  content?: BlockContent;
9
9
  version?: BlockVersion;
10
- blocks?: BlockDef[];
11
- mobile?: Pick<BlockDef, 'content' | 'style'> & {
12
- hidden?: boolean;
13
- };
10
+ hidden?: boolean;
11
+ }
12
+ export interface BlockDef extends BaseBlockDef {
13
+ mobile?: BaseBlockDef;
14
14
  }
15
15
  export interface Slot {
16
16
  style?: string[];
@@ -1,2 +1,2 @@
1
- import { BlockItemProps } from './BlockItemProps';
1
+ import type { BlockItemProps } from './BlockItemProps';
2
2
  export declare const BlockItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<BlockItemProps, any>, context?: any) => any;
@@ -3,20 +3,19 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3';
4
4
  const TEXT_STYLE_MAP = {
5
5
  primary: 'text-primary-text',
6
- secondary: 'text-secondary-text',
6
+ secondary: 'text-white',
7
+ gray: 'text-secondary-text',
7
8
  };
8
9
  const LIST_STYLE_MAP = {
9
10
  primary: 'bg-primary-main',
10
- secondary: 'bg-secondary-text',
11
+ secondary: 'bg-white',
12
+ gray: 'bg-secondary-text',
11
13
  };
12
- export const BlockItem = JSX(({ className = '', isDotted = true, text, children, version = 'primary', white }) => {
13
- 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 })] }));
14
+ export const BlockItem = JSX(({ className = '', isDotted = true, text, children, version = 'primary' }) => {
15
+ return (_jsxs("div", { className: `font-sans flex items-center ${className}`, role: "listitem", children: [isDotted && _jsx("div", { className: getListStyle(version) }), _jsx("span", { className: TEXT_STYLE_MAP[version], children: text || children })] }));
14
16
  });
15
- const getListStyle = (version, white) => {
16
- const color = white ? 'bg-white' : LIST_STYLE_MAP[version];
17
- const size = version === 'primary'
18
- ? 'w-2 h-2 min-w-2 min-h-2 mt-2'
19
- : 'w-[6px] h-[6px] min-w-[6px] min-h-[6px] mt-2.5';
20
- return `${LIST_STYLE_CLASSES} ${color} ${size}`;
17
+ const getListStyle = (version) => {
18
+ const size = version === 'gray' ? 'w-[6px] h-[6px] min-w-[6px] min-h-[6px]' : 'w-2 h-2 min-w-2 min-h-2';
19
+ return `${LIST_STYLE_CLASSES} ${LIST_STYLE_MAP[version]} ${size}`;
21
20
  };
22
21
  //# sourceMappingURL=BlockItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BlockItem/BlockItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,kBAAkB,GAAG,gCAAgC,CAAC;AAE5D,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,qBAAqB;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B,IAAI,EAAE,qBAAqB;CAC5B,CAAC;AAEF,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,eAAK,SAAS,EAAE,+BAA+B,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aACxE,QAAQ,IAAI,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,GAAI,EACtD,eAAM,SAAS,EAAE,cAAc,CAAC,OAAO,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,IAC/D,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,OAAyB,EAAE,EAAE;IACjD,MAAM,IAAI,GACR,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,yCAAyC,CAAC,CAAC,CAAC,yBAAyB,CAAC;IAC7F,OAAO,GAAG,kBAAkB,IAAI,cAAc,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;AACpE,CAAC,CAAC"}
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * @title Версия списка
3
+ * @enumNames ["Основной", "Второстепенный", "Белый"]
3
4
  */
4
- export declare type BlockItemVersion = 'primary' | 'secondary';
5
+ export declare type BlockItemVersion = 'primary' | 'secondary' | 'gray';
5
6
  /**
6
7
  * @title Содержимое элемента блока
7
8
  */
@@ -15,7 +16,6 @@ export interface BlockItemContent {
15
16
  export interface BlockItemProps extends BlockItemContent {
16
17
  className?: string;
17
18
  version?: BlockItemVersion;
18
- white?: boolean;
19
19
  /** @title Маркер */
20
20
  isDotted?: boolean;
21
21
  }
@@ -1,6 +1,4 @@
1
1
  import type { ButtonProps, ButtonWithIconProps } from './ButtonProps';
2
2
  export interface ButtonCommonProps extends ButtonProps, ButtonWithIconProps {
3
3
  }
4
- export declare type ButtonInner = Pick<ButtonCommonProps, 'text' | 'aboveText' | 'appendLeft' | 'rounded'>;
5
4
  export declare const Button: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonCommonProps, any>, context?: any) => any;
6
- export declare const ButtonInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonInner, any>, context?: any) => any;
@@ -1,26 +1,37 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- /* eslint-disable max-lines-per-function */
3
- /* eslint-disable complexity */
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
4
2
  import { JSX } from '@redneckz/uni-jsx';
3
+ import { ButtonInner } from './ButtonInner.js';
5
4
  const buttonStyleMap = {
6
5
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
7
6
  secondary: 'text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active',
7
+ link: '',
8
8
  };
9
9
  const buttonDisabledStyleMap = {
10
10
  primary: 'bg-secondary-dark text-secondary-text',
11
11
  secondary: 'bg-secondary-light text-secondary-text',
12
+ link: '',
12
13
  };
13
14
  const styleButton = 'text-center font-sans select-none';
14
15
  export const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'none', ariaLabel, ...rest }) => {
15
16
  const buttonInner = children ?? (_jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded }));
16
- if (disabled) {
17
- return (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: "-1", className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
18
- }
19
- return (_jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...rest, children: buttonInner }));
20
- });
21
- export const ButtonInner = JSX(({ text, aboveText, appendLeft, rounded }) => {
22
- const withoutText = !text && !aboveText && Boolean(appendLeft);
23
- const buttonInnerClasses = `flex items-center justify-center ${withoutText ? 'h-12 w-12' : `px-9 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`} ${rounded ? 'rounded-full' : ''}`;
24
- return (_jsxs("div", { className: buttonInnerClasses, children: [appendLeft ? appendLeft : null, withoutText ? null : (_jsxs("div", { children: [_jsx("div", { className: "text-2xs text-left", children: aboveText }), _jsx("div", { className: "text-button font-medium text-left", children: text })] }))] }));
17
+ return disabled
18
+ ? renderDisabledButton({ buttonInner, ariaLabel, className, version, rounded })
19
+ : renderButton({
20
+ buttonInner,
21
+ ariaLabel,
22
+ className,
23
+ version,
24
+ rounded,
25
+ href,
26
+ target,
27
+ onClick,
28
+ rest,
29
+ });
25
30
  });
31
+ function renderButton({ className, buttonInner, ariaLabel, version, rounded, href, target, onClick, rest, }) {
32
+ return (_jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...rest, children: buttonInner }));
33
+ }
34
+ function renderDisabledButton({ className, buttonInner, ariaLabel, version, rounded }) {
35
+ return (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: "-1", className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
36
+ }
26
37
  //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[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AAM,EACd,OAAO,EAAE,OAAO,gBACJ,SAAS,EACrB,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,IAAI,YAEP,WAAW,GACV,CACL,CAAC;AACJ,CAAC;AAED,SAAS,oBAAoB,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE;IACnF,OAAO,CACL,cACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAC,IAAI,EACb,SAAS,EAAE,gBAAgB,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAC7E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,YAEpB,WAAW,GACR,CACP,CAAC;AACJ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  import type { ButtonProps, ButtonWithIconProps } from './ButtonProps';
2
2
  export interface ButtonCommonProps extends ButtonProps, ButtonWithIconProps {
3
3
  }
4
- export declare type ButtonInner = Pick<ButtonCommonProps, 'text' | 'aboveText' | 'appendLeft' | 'rounded'>;
5
4
  export declare const Button: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonCommonProps, any>, context?: any) => any;
6
- export declare const ButtonInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonInner, any>, context?: any) => any;
@@ -1,26 +1,24 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  /* eslint-disable max-lines-per-function */
3
3
  /* eslint-disable complexity */
4
4
  import { JSX } from '@redneckz/uni-jsx';
5
+ import { ButtonInner } from './ButtonInner.js';
5
6
  const buttonStyleMap = {
6
7
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
7
8
  secondary: 'text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active',
9
+ link: 'text-primary-main',
8
10
  };
9
11
  const buttonDisabledStyleMap = {
10
12
  primary: 'bg-secondary-dark text-secondary-text',
11
13
  secondary: 'bg-secondary-light text-secondary-text',
14
+ link: '',
12
15
  };
13
16
  const styleButton = 'w-full text-center font-sans select-none';
14
- export const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'none', ariaLabel, ...rest }) => {
15
- const buttonInner = children ?? (_jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded }));
17
+ export const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
18
+ const buttonInner = children ?? (_jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
16
19
  if (disabled) {
17
20
  return (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: "-1", className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
18
21
  }
19
22
  return (_jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...rest, children: buttonInner }));
20
23
  });
21
- export const ButtonInner = JSX(({ text, aboveText, appendLeft, rounded }) => {
22
- const withoutText = !text && !aboveText && Boolean(appendLeft);
23
- const buttonInnerClasses = `flex items-center justify-center ${withoutText ? 'h-12 w-12' : `px-9 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`} ${rounded ? 'rounded-full' : ''}`;
24
- return (_jsxs("div", { className: buttonInnerClasses, children: [appendLeft ? appendLeft : null, withoutText ? null : (_jsxs("div", { children: [_jsx("div", { className: "text-m-2xs text-left", children: aboveText }), _jsx("div", { className: "text-m-button font-medium text-left", children: text })] }))] }));
25
- });
26
24
  //# sourceMappingURL=Button.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.mobile.tsx"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,0FAA0F;CAC7F,CAAC;AAEF,MAAM,sBAAsB,GAAkC;IAC5D,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;CACpD,CAAC;AAEF,MAAM,WAAW,GAAG,0CAA0C,CAAC;AAM/D,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,MAAM,EAChB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,CAC9B,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAI,CAC5F,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,cACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAC,IAAI,EACb,SAAS,EAAE,gBAAgB,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAC7E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,YAEpB,WAAW,GACR,CACP,CAAC;KACH;IAED,OAAO,CACL,YACE,SAA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IAAI,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,IAAI,SAAS,IAAI,EAAE,EAAE,EAChE,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,gBACJ,SAAS,EACrB,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,IAAI,YAEP,WAAW,GACV,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ButtonVersion } from '../../model/ButtonVersion';
2
+ import type { ButtonWithIconProps } from './ButtonProps';
3
+ interface ButtonInnerProps extends ButtonWithIconProps {
4
+ version?: ButtonVersion;
5
+ }
6
+ export declare const ButtonInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonInnerProps, any>, context?: any) => any;
7
+ export {};
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ export const ButtonInner = JSX(({ text, aboveText, appendLeft, rounded, version }) => {
4
+ const withoutText = !text && !aboveText && Boolean(appendLeft);
5
+ const buttonInnerClasses = version !== 'link'
6
+ ? `flex items-center justify-center
7
+ ${withoutText ? 'h-12 w-12' : `px-8 gap-2 ${aboveText ? 'py-2' : 'py-3.5'}`} ${rounded ? 'rounded-full' : ''}`
8
+ : null;
9
+ return renderButtonInner({ buttonInnerClasses, appendLeft, withoutText, aboveText, text });
10
+ });
11
+ function renderButtonInner({ buttonInnerClasses, appendLeft, withoutText, aboveText, text }) {
12
+ return (_jsxs("div", { className: buttonInnerClasses, children: [appendLeft ? appendLeft : null, withoutText ? null : (_jsxs("div", { children: [_jsx("div", { className: "text-m-2xs text-left", children: aboveText }), _jsx("div", { className: "text-m-button font-medium text-left", children: text })] }))] }));
13
+ }
14
+ //# sourceMappingURL=ButtonInner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE;IACpD,MAAM,WAAW,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC;IAE/D,MAAM,kBAAkB,GACtB,OAAO,KAAK,MAAM;QAChB,CAAC,CAAC;YACE,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,cAAc,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE,IACzE,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAC7B,EAAE;QACJ,CAAC,CAAC,IAAI,CAAC;IAEX,OAAO,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7F,CAAC,CACF,CAAC;AAEF,SAAS,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE;IACzF,OAAO,CACL,eAAK,SAAS,EAAE,kBAAkB,aAC/B,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAC9B,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACpB,0BACE,cAAK,SAAS,EAAC,sBAAsB,YAAE,SAAS,GAAO,EACvD,cAAK,SAAS,EAAC,qCAAqC,YAAE,IAAI,GAAO,IAC7D,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { ButtonVersion } from '../../model/ButtonVersion';
2
2
  import type { LinkProps } from '../../model/LinkProps';
3
+ import type { IconName } from '../Icon/IconProps';
3
4
  /**
4
5
  * @hidden
5
6
  */
@@ -19,6 +20,8 @@ export interface ButtonProps extends ButtonAdditionalProps, LinkProps {
19
20
  version?: ButtonVersion;
20
21
  }
21
22
  export interface ButtonWithIconProps extends ButtonProps {
23
+ /** @title Иконка */
24
+ icon?: IconName;
22
25
  /** @title Верхний текст */
23
26
  aboveText?: string;
24
27
  /** @hidden */
@@ -28,3 +31,10 @@ export interface ButtonWithIconProps extends ButtonProps {
28
31
  /** @hidden */
29
32
  asSVG?: boolean;
30
33
  }
34
+ export interface ButtonContent {
35
+ /**
36
+ * @title Кнопки
37
+ * @maxItems 4
38
+ */
39
+ buttons?: ButtonWithIconProps[];
40
+ }
@@ -0,0 +1,5 @@
1
+ import { UniBlockProps } from '../../types';
2
+ import type { ButtonContent } from './ButtonProps';
3
+ export interface ButtonSectionProps extends ButtonContent, UniBlockProps {
4
+ }
5
+ export declare const ButtonSection: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonSectionProps, any>, context?: any) => any;
@@ -0,0 +1,16 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { useLink } from '../../hooks/useLink.js';
4
+ import { Icon } from '../Icon/Icon.js';
5
+ import { Button } from './Button.js';
6
+ export const ButtonSection = JSX(({ context, className = '', buttons }) => {
7
+ const { handlerDecorator } = context;
8
+ const router = context.useRouter();
9
+ return buttons?.length ? (_jsx("div", { className: `${className}`, children: buttons.map((button, index) => renderButton(useLink({ router, handlerDecorator }, button), index)) })) : null;
10
+ });
11
+ function renderButton({ icon, ...button }, i) {
12
+ if (!button?.text)
13
+ return;
14
+ return icon ? (_jsx(Button, { appendLeft: _jsx(Icon, { name: icon, width: "24", height: "24", asSVG: true }), ...button }, String(i))) : (_jsx(Button, { ...button }, String(i)));
15
+ }
16
+ //# sourceMappingURL=Butt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AC,CACF,KAAC,MAAM,OAAqB,MAAM,IAArB,MAAM,CAAC,CAAC,CAAC,CAAgB,CACvC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { DescriptionProps } from './DescriptionProps';
2
+ export declare const Description: (props: import("@redneckz/uni-jsx").PropsWithChildren<DescriptionProps, any>, context?: any) => any;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ export const Description = JSX((props) => {
4
+ const { className, description } = props;
5
+ return _jsx("div", { className: `font-normal text-base ${className || ''}`, children: description });
6
+ });
7
+ //# sourceMappingURL=Description.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/Description.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAEzC,OAAO,cAAK,SAAS,EAAE,yBAAyB,SAAS,IAAI,EAAE,EAAE,YAAG,WAAW,GAAO,CAAC;AACzF,CAAC,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export interface DescriptionContent {
2
+ /** @title Описание */
3
+ description?: string;
4
+ }
5
+ export interface DescriptionProps extends DescriptionContent {
6
+ className?: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DescriptionProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescriptionProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/DescriptionProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { HeadingContent, HeadingTypeContent } from './HeadingContent';
2
+ export interface HeadingProps extends HeadingContent, HeadingTypeContent {
3
+ className?: string;
4
+ }
5
+ export declare const Heading: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeadingProps, any>, context?: any) => any;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ all: any;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ all: any;
3
+ };
4
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ const HEADING_STYLE_MAP = {
4
+ h1: 'text-title-lg tracking-[-0.3px]',
5
+ h2: 'text-title',
6
+ h3: 'text-title-sm',
7
+ h4: 'text-title-xs',
8
+ h5: 'text-title-2xs tracking-[0.2px]',
9
+ h6: 'text-title-2xs tracking-[0.2px]',
10
+ };
11
+ export const Heading = JSX((props) => {
12
+ const { className, headingType, title } = props;
13
+ if (!headingType) {
14
+ return;
15
+ }
16
+ const Tag = headingType;
17
+ return (_jsx(Tag, { className: `font-sans font-medium ${HEADING_STYLE_MAP[headingType]} ${className || ''}`, children: title }));
18
+ });
19
+ //# sourceMappingURL=Heading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAOxC,MAAM,iBAAiB,GAAgC;IACrD,EAAE,EAAE,iCAAiC;IACrC,EAAE,EAAE,YAAY;IAChB,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,eAAe;IACnB,EAAE,EAAE,iCAAiC;IACrC,EAAE,EAAE,iCAAiC;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAChD,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO;KACR;IACD,MAAM,GAAG,GAAG,WAAW,CAAC;IAExB,OAAO,CACL,KAAC,GAAG,IAAC,SAAS,EAAE,yBAAyB,iBAAiB,CAAC,WAAW,CAAC,IAAI,SAAS,IAAI,EAAE,EAAE,YACzF,KAAK,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { HeadingContent, HeadingTypeContent } from './HeadingContent';
2
+ export interface HeadingProps extends HeadingContent, HeadingTypeContent {
3
+ className?: string;
4
+ }
5
+ export declare const Heading: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeadingProps, any>, context?: any) => any;
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ const HeadingClass = {
4
+ h1: 'text-m-title',
5
+ h2: 'text-m-title',
6
+ h3: 'text-m-title-md',
7
+ h4: 'text-m-title-xs',
8
+ h5: 'text-m-title-xs',
9
+ h6: 'text-m-title-xs',
10
+ };
11
+ export const Heading = JSX((props) => {
12
+ const { className, headingType, title } = props;
13
+ if (!headingType) {
14
+ return;
15
+ }
16
+ const Tag = headingType;
17
+ return (_jsx(Tag, { className: `font-sans font-medium ${HeadingClass[headingType]} ${className || ''}`, children: title }));
18
+ });
19
+ //# sourceMappingURL=Heading.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAOxC,MAAM,YAAY,GAAgC;IAChD,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,cAAc;IAClB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;IACrB,EAAE,EAAE,iBAAiB;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAChD,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO;KACR;IACD,MAAM,GAAG,GAAG,WAAW,CAAC;IAExB,OAAO,CACL,KAAC,GAAG,IAAC,SAAS,EAAE,yBAAyB,YAAY,CAAC,WAAW,CAAC,IAAI,SAAS,IAAI,EAAE,EAAE,YACpF,KAAK,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ *
3
+ * @title Тип заголовка
4
+ * @enumNames [
5
+ * "h1", "h2", "h3", "h4", "h5", "h6"
6
+ * ]
7
+ */
8
+ export declare type HeadingType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
9
+ export interface HeadingTypeContent {
10
+ headingType?: HeadingType;
11
+ }
12
+ export interface HeadingContent {
13
+ /** @title Заголовок */
14
+ title?: string;
15
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HeadingContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeadingContent.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/HeadingContent.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  import '../../setup-fixture';
2
2
  declare const _default: {
3
- all: any;
3
+ 'all (as img)': any;
4
+ 'all (as svg)': any;
4
5
  };
5
6
  export default _default;
@@ -1,10 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { projectSettings } from '../../ProjectSettings.js';
4
- export const Icon = JSX(({ className = '', name, alt = `Icon ${name}`, title = alt, asSVG, ...imgProps }) => {
4
+ const svgColorsMap = {
5
+ none: '',
6
+ primary: 'text-primary-main',
7
+ };
8
+ export const Icon = JSX(({ className = '', name, alt = `Icon ${name}`, title = alt, asSVG, color = 'primary', ...imgProps }) => {
5
9
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
6
10
  if (asSVG) {
7
- return (_jsxs("svg", { className: className, ...imgProps, "aria-hidden": "true", children: [title ? _jsx("title", { children: title }) : null, alt ? _jsx("desc", { children: alt }) : null, _jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
11
+ return (_jsxs("svg", { className: `${svgColorsMap[color]} ${className}`, ...imgProps, "aria-hidden": "true", children: [title ? _jsx("title", { children: title }) : null, alt ? _jsx("desc", { children: alt }) : null, _jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
8
12
  }
9
13
  return (_jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
10
14
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,GAAG,QAAQ,IAAI,EAAE,EAAE,KAAK,GAAG,GAAG,EAAE,KAAK,EAAE,GAAG,QAAQ,EAAE,EAAE,EAAE;IAClF,MAAM,IAAI,GAAG,GAAG,eAAe,CAAC,GAAG,IAAI,EAAE,SAAS,IAAI,MAAM,CAAC;IAE7D,IAAI,KAAK,EAAE;QACT,OAAO,CACL,eAAK,SAAS,EAAE,SAAS,KAAM,QAAQ,iBAAc,MAAM,aACxD,KAAK,CAAC,CAAC,CAAC,0BAAQ,KAAK,GAAS,CAAC,CAAC,CAAC,IAAI,EACrC,GAAG,CAAC,CAAC,CAAC,yBAAO,GAAG,GAAQ,CAAC,CAAC,CAAC,IAAI,EAChC,cAAK,IAAI,EAAE,GAA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