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

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 (1126) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +350 -285
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/Accordion.js +1 -1
  5. package/dist/components/Accordion/Accordion.js.map +1 -1
  6. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  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 -5
  17. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  18. package/dist/components/BaseTile/BaseTileProps.d.ts +3 -6
  19. package/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
  20. package/dist/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +4 -4
  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 +1 -1
  29. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  30. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  31. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  32. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  33. package/dist/components/ComparisonTable/HeaderCell.js +2 -2
  34. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  35. package/dist/components/ContentPage/ContentPage.js +2 -4
  36. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  37. package/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  38. package/dist/components/ContentPage/isBlockInRegistry.js +7 -0
  39. package/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
  40. package/dist/components/ContentPage/normalizeBlock.d.ts +8 -0
  41. package/dist/components/ContentPage/normalizeBlock.js +9 -0
  42. package/dist/components/ContentPage/normalizeBlock.js.map +1 -0
  43. package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  44. package/dist/components/ContentPage/normalizeBlock.mobile.js +8 -0
  45. package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
  46. package/dist/components/ContentPage/normalizePage.d.ts +2 -0
  47. package/dist/components/ContentPage/normalizePage.js +25 -0
  48. package/dist/components/ContentPage/normalizePage.js.map +1 -0
  49. package/dist/components/ContentPage/normalizePage.mobile.d.ts +2 -0
  50. package/{mobile/dist/components/ContentPage/toMobilePage.js → dist/components/ContentPage/normalizePage.mobile.js} +10 -17
  51. package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -0
  52. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  53. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  54. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  55. package/dist/components/Gallery/Gallery.mobile.js +18 -7
  56. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  57. package/dist/components/Gallery/GalleryCardInner.js +2 -4
  58. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  59. package/dist/components/Gallery/GalleryContainer.js +4 -5
  60. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  61. package/dist/components/Gallery/GalleryContent.d.ts +8 -3
  62. package/dist/components/Gallery/GalleryInner.js +1 -1
  63. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  64. package/dist/components/Gallery/constants.js +2 -2
  65. package/dist/components/Gallery/constants.js.map +1 -1
  66. package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  67. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  68. package/dist/components/Headline/Headline.js +1 -1
  69. package/dist/components/Headline/Headline.js.map +1 -1
  70. package/dist/components/Headline/Headline.mobile.js +2 -2
  71. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  72. package/dist/components/Headline/HeadlineContent.d.ts +6 -6
  73. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  74. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  75. package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -3
  76. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  77. package/dist/components/LinkDocs/linkDocsContentExample.js +0 -1
  78. package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  79. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  80. package/dist/components/MobileAppTile/MobileAppTile.js +8 -3
  81. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  82. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
  83. package/dist/components/PictureText/PictureText.js +4 -4
  84. package/dist/components/PictureText/PictureText.js.map +1 -1
  85. package/dist/components/PictureText/PictureTextContent.d.ts +4 -2
  86. package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
  87. package/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -4
  88. package/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -2
  89. package/dist/components/ProductBlock/ProductBlockInner.js +7 -3
  90. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  91. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
  92. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
  93. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  94. package/dist/components/ProductBlock/renderBenefit.js +1 -1
  95. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  96. package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
  97. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  98. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  99. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
  100. package/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  101. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  102. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +3 -3
  103. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +1 -1
  104. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  105. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  106. package/dist/components/ProductTile/ProductTile.js +14 -4
  107. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  108. package/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
  109. package/dist/components/PromoTile/PromoTile.js +12 -3
  110. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  111. package/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
  112. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  113. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  114. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  115. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  116. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  117. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  118. package/dist/components/TariffsTable/TariffsTableCell.js +2 -2
  119. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  120. package/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  121. package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  122. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  123. package/dist/components/TextBlock/TextBlock.js +1 -1
  124. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  125. package/dist/components/TextBlock/TextBlock.mobile.js +4 -7
  126. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  127. package/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
  128. package/dist/components/Tile/Tile.js +10 -27
  129. package/dist/components/Tile/Tile.js.map +1 -1
  130. package/dist/components/Tile/TileContent.d.ts +9 -2
  131. package/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
  132. package/dist/content-page-repository/ContentPageRepository.js +0 -10
  133. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  134. package/dist/icons/IconName.d.ts +3 -2
  135. package/dist/icons/IconName.js +1 -0
  136. package/dist/icons/IconName.js.map +1 -1
  137. package/dist/index.d.ts +1 -1
  138. package/dist/index.js +3 -3
  139. package/dist/index.js.map +1 -1
  140. package/dist/model/ButtonVersion.d.ts +1 -1
  141. package/dist/types.d.ts +5 -5
  142. package/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  143. package/dist/ui-kit/BlockItem/BlockItem.js +8 -9
  144. package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  145. package/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  146. package/dist/ui-kit/Button/Button.d.ts +0 -2
  147. package/dist/ui-kit/Button/Button.js +24 -13
  148. package/dist/ui-kit/Button/Button.js.map +1 -1
  149. package/dist/ui-kit/Button/Button.mobile.d.ts +0 -2
  150. package/dist/ui-kit/Button/Button.mobile.js +6 -8
  151. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  152. package/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
  153. package/dist/ui-kit/Button/ButtonInner.js +16 -0
  154. package/dist/ui-kit/Button/ButtonInner.js.map +1 -0
  155. package/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
  156. package/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
  157. package/dist/ui-kit/Button/ButtonSection.js +18 -0
  158. package/dist/ui-kit/Button/ButtonSection.js.map +1 -0
  159. package/dist/ui-kit/Description/Description.d.ts +2 -0
  160. package/dist/ui-kit/Description/Description.js +9 -0
  161. package/dist/ui-kit/Description/Description.js.map +1 -0
  162. package/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
  163. package/dist/ui-kit/Description/DescriptionProps.js +2 -0
  164. package/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
  165. package/dist/ui-kit/Heading/Heading.d.ts +4 -1
  166. package/dist/ui-kit/Heading/Heading.js +7 -4
  167. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  168. package/dist/ui-kit/Heading/Heading.mobile.d.ts +4 -1
  169. package/dist/ui-kit/Heading/Heading.mobile.js +6 -3
  170. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  171. package/{lib/ui-kit/Heading/HeadingProps.d.ts → dist/ui-kit/Heading/HeadingContent.d.ts} +6 -4
  172. package/dist/ui-kit/Heading/HeadingContent.js +2 -0
  173. package/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
  174. package/dist/ui-kit/Icon/Icon.js +6 -2
  175. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  176. package/dist/ui-kit/Icon/IconProps.d.ts +6 -0
  177. package/dist/ui-kit/{Img.d.ts → Img/Img.d.ts} +1 -1
  178. package/dist/ui-kit/{Img.js → Img/Img.js} +0 -0
  179. package/dist/ui-kit/Img/Img.js.map +1 -0
  180. package/dist/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
  181. package/dist/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
  182. package/dist/ui-kit/Img/Img.mobile.js.map +1 -0
  183. package/dist/ui-kit/Img/ImgProps.d.ts +7 -0
  184. package/dist/ui-kit/{Heading/HeadingProps.js → Img/ImgProps.js} +1 -1
  185. package/dist/ui-kit/Img/ImgProps.js.map +1 -0
  186. package/dist/ui-kit/List/List.d.ts +2 -0
  187. package/dist/ui-kit/List/List.js +12 -0
  188. package/dist/ui-kit/List/List.js.map +1 -0
  189. package/dist/ui-kit/List/ListContent.d.ts +4 -0
  190. package/{mobile/dist/ui-kit/Heading/HeadingProps.js → dist/ui-kit/List/ListContent.js} +1 -1
  191. package/dist/ui-kit/List/ListContent.js.map +1 -0
  192. package/dist/ui-kit/List/ListItem.d.ts +11 -0
  193. package/dist/ui-kit/List/ListItem.js +23 -0
  194. package/dist/ui-kit/List/ListItem.js.map +1 -0
  195. package/dist/ui-kit/List/ListProps.d.ts +14 -0
  196. package/dist/ui-kit/List/ListProps.js +2 -0
  197. package/dist/ui-kit/List/ListProps.js.map +1 -0
  198. package/lib/common.css +1 -1
  199. package/lib/components/Accordion/Accordion.js +1 -1
  200. package/lib/components/Accordion/Accordion.js.map +1 -1
  201. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  202. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  203. package/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
  204. package/lib/components/Accordion/AccordionBlocks.js +8 -0
  205. package/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  206. package/lib/components/Accordion/AccordionContent.d.ts +30 -18
  207. package/lib/components/Accordion/AccordionItem.js +1 -1
  208. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  209. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  210. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  211. package/lib/components/BaseTile/BaseTile.js +2 -5
  212. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  213. package/lib/components/BaseTile/BaseTileProps.d.ts +3 -6
  214. package/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
  215. package/lib/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +2 -2
  216. package/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
  217. package/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
  218. package/lib/components/BaseTile/getTileMinHeight.js +14 -0
  219. package/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
  220. package/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
  221. package/lib/components/BaseTile/getTileRightPadding.js +14 -0
  222. package/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
  223. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  224. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  225. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  226. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  227. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  228. package/lib/components/ComparisonTable/HeaderCell.js +2 -2
  229. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  230. package/lib/components/ContentPage/ContentPage.js +2 -4
  231. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  232. package/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  233. package/lib/components/ContentPage/isBlockInRegistry.js +4 -0
  234. package/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
  235. package/lib/components/ContentPage/normalizeBlock.d.ts +8 -0
  236. package/lib/components/ContentPage/normalizeBlock.js +6 -0
  237. package/lib/components/ContentPage/normalizeBlock.js.map +1 -0
  238. package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  239. package/lib/components/ContentPage/normalizeBlock.mobile.js +5 -0
  240. package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
  241. package/lib/components/ContentPage/normalizePage.d.ts +2 -0
  242. package/lib/components/ContentPage/normalizePage.js +22 -0
  243. package/lib/components/ContentPage/normalizePage.js.map +1 -0
  244. package/lib/components/ContentPage/normalizePage.mobile.d.ts +2 -0
  245. package/{mobile/lib/components/ContentPage/toMobilePage.js → lib/components/ContentPage/normalizePage.mobile.js} +8 -15
  246. package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -0
  247. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  248. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  249. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  250. package/lib/components/Gallery/Gallery.fixture.d.ts +2 -0
  251. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +5 -0
  252. package/lib/components/Gallery/Gallery.mobile.js +18 -7
  253. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  254. package/lib/components/Gallery/GalleryCardInner.js +2 -4
  255. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  256. package/lib/components/Gallery/GalleryContainer.js +5 -6
  257. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  258. package/lib/components/Gallery/GalleryContent.d.ts +8 -3
  259. package/lib/components/Gallery/GalleryInner.js +1 -1
  260. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  261. package/lib/components/Gallery/constants.js +2 -2
  262. package/lib/components/Gallery/constants.js.map +1 -1
  263. package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  264. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  265. package/lib/components/Headline/Headline.js +1 -1
  266. package/lib/components/Headline/Headline.js.map +1 -1
  267. package/lib/components/Headline/Headline.mobile.js +2 -2
  268. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  269. package/lib/components/Headline/HeadlineContent.d.ts +6 -6
  270. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  271. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  272. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -3
  273. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  274. package/lib/components/LinkDocs/linkDocsContentExample.js +0 -1
  275. package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  276. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +2 -0
  277. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  278. package/lib/components/MobileAppTile/MobileAppTile.js +8 -3
  279. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  280. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
  281. package/lib/components/PictureText/PictureText.js +4 -4
  282. package/lib/components/PictureText/PictureText.js.map +1 -1
  283. package/lib/components/PictureText/PictureTextContent.d.ts +4 -2
  284. package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
  285. package/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -4
  286. package/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -2
  287. package/lib/components/ProductBlock/ProductBlockInner.js +7 -3
  288. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  289. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
  290. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
  291. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  292. package/lib/components/ProductBlock/renderBenefit.js +1 -1
  293. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  294. package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
  295. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  296. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  297. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
  298. package/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  299. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  300. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +3 -3
  301. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +1 -1
  302. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  303. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  304. package/lib/components/ProductTile/ProductTile.fixture.d.ts +2 -0
  305. package/lib/components/ProductTile/ProductTile.js +14 -4
  306. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  307. package/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
  308. package/lib/components/PromoTile/PromoTile.js +12 -3
  309. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  310. package/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
  311. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  312. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  313. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  314. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  315. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  316. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  317. package/lib/components/TariffsTable/TariffsTableCell.js +2 -2
  318. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  319. package/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  320. package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  321. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  322. package/lib/components/TextBlock/TextBlock.js +1 -1
  323. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  324. package/lib/components/TextBlock/TextBlock.mobile.js +4 -7
  325. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  326. package/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
  327. package/lib/components/Tile/Tile.fixture.d.ts +2 -0
  328. package/lib/components/Tile/Tile.js +11 -28
  329. package/lib/components/Tile/Tile.js.map +1 -1
  330. package/lib/components/Tile/TileContent.d.ts +9 -2
  331. package/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
  332. package/lib/content-page-repository/ContentPageRepository.js +0 -10
  333. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  334. package/lib/icons/IconName.d.ts +3 -2
  335. package/lib/icons/IconName.js +1 -0
  336. package/lib/icons/IconName.js.map +1 -1
  337. package/lib/index.d.ts +1 -1
  338. package/lib/index.js +1 -1
  339. package/lib/index.js.map +1 -1
  340. package/lib/model/ButtonVersion.d.ts +1 -1
  341. package/lib/types.d.ts +5 -5
  342. package/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  343. package/lib/ui-kit/BlockItem/BlockItem.js +8 -9
  344. package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  345. package/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  346. package/lib/ui-kit/Button/Button.d.ts +0 -2
  347. package/lib/ui-kit/Button/Button.js +23 -12
  348. package/lib/ui-kit/Button/Button.js.map +1 -1
  349. package/lib/ui-kit/Button/Button.mobile.d.ts +0 -2
  350. package/lib/ui-kit/Button/Button.mobile.js +6 -8
  351. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  352. package/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
  353. package/lib/ui-kit/Button/ButtonInner.js +14 -0
  354. package/lib/ui-kit/Button/ButtonInner.js.map +1 -0
  355. package/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
  356. package/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
  357. package/lib/ui-kit/Button/ButtonSection.js +16 -0
  358. package/lib/ui-kit/Button/ButtonSection.js.map +1 -0
  359. package/lib/ui-kit/Description/Description.d.ts +2 -0
  360. package/lib/ui-kit/Description/Description.js +7 -0
  361. package/lib/ui-kit/Description/Description.js.map +1 -0
  362. package/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
  363. package/lib/ui-kit/Description/DescriptionProps.js +2 -0
  364. package/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
  365. package/lib/ui-kit/Heading/Heading.d.ts +4 -1
  366. package/lib/ui-kit/Heading/Heading.js +7 -4
  367. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  368. package/lib/ui-kit/Heading/Heading.mobile.d.ts +4 -1
  369. package/lib/ui-kit/Heading/Heading.mobile.js +6 -3
  370. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  371. package/{mobile/dist/ui-kit/Heading/HeadingProps.d.ts → lib/ui-kit/Heading/HeadingContent.d.ts} +6 -4
  372. package/lib/ui-kit/Heading/HeadingContent.js +2 -0
  373. package/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
  374. package/lib/ui-kit/Icon/Icon.fixture.d.ts +2 -1
  375. package/lib/ui-kit/Icon/Icon.js +6 -2
  376. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  377. package/lib/ui-kit/Icon/IconProps.d.ts +6 -0
  378. package/{mobile/dist/ui-kit → lib/ui-kit/Img}/Img.d.ts +1 -1
  379. package/lib/ui-kit/{Img.js → Img/Img.js} +0 -0
  380. package/lib/ui-kit/Img/Img.js.map +1 -0
  381. package/lib/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
  382. package/lib/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
  383. package/lib/ui-kit/Img/Img.mobile.js.map +1 -0
  384. package/lib/ui-kit/Img/ImgProps.d.ts +7 -0
  385. package/lib/ui-kit/Img/ImgProps.js +2 -0
  386. package/lib/ui-kit/Img/ImgProps.js.map +1 -0
  387. package/lib/ui-kit/List/List.d.ts +2 -0
  388. package/lib/ui-kit/List/List.js +10 -0
  389. package/lib/ui-kit/List/List.js.map +1 -0
  390. package/lib/ui-kit/List/ListContent.d.ts +4 -0
  391. package/lib/ui-kit/List/ListContent.js +2 -0
  392. package/lib/ui-kit/List/ListContent.js.map +1 -0
  393. package/lib/ui-kit/List/ListItem.d.ts +11 -0
  394. package/lib/ui-kit/List/ListItem.js +21 -0
  395. package/lib/ui-kit/List/ListItem.js.map +1 -0
  396. package/lib/ui-kit/List/ListProps.d.ts +14 -0
  397. package/lib/ui-kit/List/ListProps.js +2 -0
  398. package/lib/ui-kit/List/ListProps.js.map +1 -0
  399. package/mobile/bundle/bundle.umd.js +341 -200
  400. package/mobile/bundle/bundle.umd.min.js +1 -1
  401. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  402. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  403. package/mobile/dist/components/Accordion/AccordionBlocks.d.ts +4 -0
  404. package/mobile/dist/components/Accordion/AccordionBlocks.js +8 -0
  405. package/mobile/dist/components/Accordion/AccordionBlocks.js.map +1 -1
  406. package/mobile/dist/components/Accordion/AccordionContent.d.ts +30 -18
  407. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  408. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  409. package/mobile/dist/components/BaseTile/BaseTile.js +2 -11
  410. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  411. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -6
  412. package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
  413. package/mobile/dist/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +4 -4
  414. package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +1 -0
  415. package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +1 -0
  416. package/mobile/dist/components/BaseTile/getTileMinHeight.js +17 -0
  417. package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +1 -0
  418. package/mobile/dist/components/BaseTile/getTileRightPadding.d.ts +1 -0
  419. package/mobile/dist/components/BaseTile/getTileRightPadding.js +17 -0
  420. package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +1 -0
  421. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  422. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  423. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  424. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  425. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  426. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -2
  427. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  428. package/mobile/dist/components/ContentPage/ContentPage.js +2 -4
  429. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  430. package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  431. package/mobile/dist/components/ContentPage/isBlockInRegistry.js +7 -0
  432. package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
  433. package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +2 -0
  434. package/mobile/dist/components/ContentPage/normalizeBlock.js +8 -0
  435. package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -0
  436. package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -0
  437. package/{dist/components/ContentPage/toMobilePage.js → mobile/dist/components/ContentPage/normalizePage.js} +10 -17
  438. package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -0
  439. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  440. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  441. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  442. package/mobile/dist/components/Gallery/Gallery.js +18 -7
  443. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  444. package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -4
  445. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  446. package/mobile/dist/components/Gallery/GalleryContainer.js +4 -5
  447. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  448. package/mobile/dist/components/Gallery/GalleryContent.d.ts +8 -3
  449. package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
  450. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  451. package/mobile/dist/components/Gallery/constants.js +2 -2
  452. package/mobile/dist/components/Gallery/constants.js.map +1 -1
  453. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  454. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  455. package/mobile/dist/components/Headline/Headline.js +2 -2
  456. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  457. package/mobile/dist/components/Headline/HeadlineContent.d.ts +6 -6
  458. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -3
  459. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  460. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +0 -1
  461. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  462. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
  463. package/mobile/dist/components/PictureText/PictureText.js +4 -4
  464. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  465. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +4 -2
  466. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
  467. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -4
  468. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  469. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +7 -3
  470. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  471. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  472. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  473. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
  474. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  475. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  476. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  477. package/mobile/dist/components/ProductTile/ProductTile.js +14 -4
  478. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  479. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
  480. package/mobile/dist/components/PromoTile/PromoTile.js +12 -3
  481. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  482. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
  483. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  484. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  485. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  486. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  487. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +2 -2
  488. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  489. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  490. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  491. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  492. package/mobile/dist/components/TextBlock/TextBlock.js +4 -7
  493. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  494. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
  495. package/mobile/dist/components/Tile/Tile.js +10 -27
  496. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  497. package/mobile/dist/components/Tile/TileContent.d.ts +9 -2
  498. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
  499. package/mobile/dist/content-page-repository/ContentPageRepository.js +0 -10
  500. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  501. package/mobile/dist/icons/IconName.d.ts +3 -2
  502. package/mobile/dist/icons/IconName.js +1 -0
  503. package/mobile/dist/icons/IconName.js.map +1 -1
  504. package/mobile/dist/index.d.ts +1 -1
  505. package/mobile/dist/index.js +3 -3
  506. package/mobile/dist/index.js.map +1 -1
  507. package/mobile/dist/model/ButtonVersion.d.ts +1 -1
  508. package/mobile/dist/types.d.ts +5 -5
  509. package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  510. package/mobile/dist/ui-kit/BlockItem/BlockItem.js +8 -9
  511. package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  512. package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  513. package/mobile/dist/ui-kit/Button/Button.d.ts +0 -2
  514. package/mobile/dist/ui-kit/Button/Button.js +6 -8
  515. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  516. package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
  517. package/mobile/dist/ui-kit/Button/ButtonInner.js +16 -0
  518. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -0
  519. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
  520. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
  521. package/mobile/dist/ui-kit/Button/ButtonSection.js +18 -0
  522. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -0
  523. package/mobile/dist/ui-kit/Description/Description.d.ts +2 -0
  524. package/mobile/dist/ui-kit/Description/Description.js +9 -0
  525. package/mobile/dist/ui-kit/Description/Description.js.map +1 -0
  526. package/mobile/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
  527. package/mobile/dist/ui-kit/Description/DescriptionProps.js +2 -0
  528. package/mobile/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
  529. package/mobile/dist/ui-kit/Heading/Heading.d.ts +4 -1
  530. package/mobile/dist/ui-kit/Heading/Heading.js +6 -3
  531. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  532. package/{dist/ui-kit/Heading/HeadingProps.d.ts → mobile/dist/ui-kit/Heading/HeadingContent.d.ts} +6 -4
  533. package/mobile/dist/ui-kit/Heading/HeadingContent.js +2 -0
  534. package/mobile/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
  535. package/mobile/dist/ui-kit/Icon/Icon.js +6 -2
  536. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  537. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +6 -0
  538. package/{lib/ui-kit → mobile/dist/ui-kit/Img}/Img.d.ts +2 -5
  539. package/mobile/dist/ui-kit/{Img.js → Img/Img.js} +7 -4
  540. package/mobile/dist/ui-kit/Img/Img.js.map +1 -0
  541. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +7 -0
  542. package/mobile/dist/ui-kit/Img/ImgProps.js +2 -0
  543. package/mobile/dist/ui-kit/Img/ImgProps.js.map +1 -0
  544. package/mobile/dist/ui-kit/List/List.d.ts +2 -0
  545. package/mobile/dist/ui-kit/List/List.js +12 -0
  546. package/mobile/dist/ui-kit/List/List.js.map +1 -0
  547. package/mobile/dist/ui-kit/List/ListContent.d.ts +4 -0
  548. package/mobile/dist/ui-kit/List/ListContent.js +2 -0
  549. package/mobile/dist/ui-kit/List/ListContent.js.map +1 -0
  550. package/mobile/dist/ui-kit/List/ListItem.d.ts +11 -0
  551. package/mobile/dist/ui-kit/List/ListItem.js +23 -0
  552. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -0
  553. package/mobile/dist/ui-kit/List/ListProps.d.ts +14 -0
  554. package/mobile/dist/ui-kit/List/ListProps.js +2 -0
  555. package/mobile/dist/ui-kit/List/ListProps.js.map +1 -0
  556. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  557. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  558. package/mobile/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
  559. package/mobile/lib/components/Accordion/AccordionBlocks.js +8 -0
  560. package/mobile/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  561. package/mobile/lib/components/Accordion/AccordionContent.d.ts +30 -18
  562. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  563. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  564. package/mobile/lib/components/BaseTile/BaseTile.js +2 -11
  565. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  566. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -6
  567. package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
  568. package/mobile/lib/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +2 -2
  569. package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
  570. package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
  571. package/mobile/lib/components/BaseTile/getTileMinHeight.js +14 -0
  572. package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
  573. package/mobile/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
  574. package/mobile/lib/components/BaseTile/getTileRightPadding.js +14 -0
  575. package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
  576. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  577. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  578. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  579. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  580. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  581. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -2
  582. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  583. package/mobile/lib/components/ContentPage/ContentPage.js +2 -4
  584. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  585. package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  586. package/mobile/lib/components/ContentPage/isBlockInRegistry.js +4 -0
  587. package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
  588. package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +2 -0
  589. package/mobile/lib/components/ContentPage/normalizeBlock.js +5 -0
  590. package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -0
  591. package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -0
  592. package/{lib/components/ContentPage/toMobilePage.js → mobile/lib/components/ContentPage/normalizePage.js} +8 -15
  593. package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -0
  594. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  595. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  596. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  597. package/mobile/lib/components/Gallery/Gallery.js +18 -7
  598. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  599. package/mobile/lib/components/Gallery/GalleryCardInner.js +2 -4
  600. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  601. package/mobile/lib/components/Gallery/GalleryContainer.js +5 -6
  602. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  603. package/mobile/lib/components/Gallery/GalleryContent.d.ts +8 -3
  604. package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
  605. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  606. package/mobile/lib/components/Gallery/constants.js +2 -2
  607. package/mobile/lib/components/Gallery/constants.js.map +1 -1
  608. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  609. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  610. package/mobile/lib/components/Headline/Headline.js +2 -2
  611. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  612. package/mobile/lib/components/Headline/HeadlineContent.d.ts +6 -6
  613. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -3
  614. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  615. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +0 -1
  616. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  617. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
  618. package/mobile/lib/components/PictureText/PictureText.js +4 -4
  619. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  620. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +4 -2
  621. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
  622. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -4
  623. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  624. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +7 -3
  625. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  626. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  627. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  628. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
  629. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  630. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  631. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  632. package/mobile/lib/components/ProductTile/ProductTile.js +14 -4
  633. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  634. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
  635. package/mobile/lib/components/PromoTile/PromoTile.js +12 -3
  636. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  637. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
  638. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  639. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  640. package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
  641. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  642. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -2
  643. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  644. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  645. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  646. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  647. package/mobile/lib/components/TextBlock/TextBlock.js +4 -7
  648. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  649. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
  650. package/mobile/lib/components/Tile/Tile.js +11 -28
  651. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  652. package/mobile/lib/components/Tile/TileContent.d.ts +9 -2
  653. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
  654. package/mobile/lib/content-page-repository/ContentPageRepository.js +0 -10
  655. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  656. package/mobile/lib/icons/IconName.d.ts +3 -2
  657. package/mobile/lib/icons/IconName.js +1 -0
  658. package/mobile/lib/icons/IconName.js.map +1 -1
  659. package/mobile/lib/index.d.ts +1 -1
  660. package/mobile/lib/index.js +1 -1
  661. package/mobile/lib/index.js.map +1 -1
  662. package/mobile/lib/model/ButtonVersion.d.ts +1 -1
  663. package/mobile/lib/types.d.ts +5 -5
  664. package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  665. package/mobile/lib/ui-kit/BlockItem/BlockItem.js +8 -9
  666. package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  667. package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  668. package/mobile/lib/ui-kit/Button/Button.d.ts +0 -2
  669. package/mobile/lib/ui-kit/Button/Button.js +6 -8
  670. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  671. package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
  672. package/mobile/lib/ui-kit/Button/ButtonInner.js +14 -0
  673. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -0
  674. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
  675. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
  676. package/mobile/lib/ui-kit/Button/ButtonSection.js +16 -0
  677. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -0
  678. package/mobile/lib/ui-kit/Description/Description.d.ts +2 -0
  679. package/mobile/lib/ui-kit/Description/Description.js +7 -0
  680. package/mobile/lib/ui-kit/Description/Description.js.map +1 -0
  681. package/mobile/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
  682. package/mobile/lib/ui-kit/Description/DescriptionProps.js +2 -0
  683. package/mobile/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
  684. package/mobile/lib/ui-kit/Heading/Heading.d.ts +4 -1
  685. package/mobile/lib/ui-kit/Heading/Heading.js +6 -3
  686. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  687. package/mobile/lib/ui-kit/Heading/{HeadingProps.d.ts → HeadingContent.d.ts} +6 -4
  688. package/mobile/lib/ui-kit/Heading/HeadingContent.js +2 -0
  689. package/mobile/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
  690. package/mobile/lib/ui-kit/Icon/Icon.js +6 -2
  691. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  692. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +6 -0
  693. package/mobile/lib/ui-kit/{Img.d.ts → Img/Img.d.ts} +2 -5
  694. package/mobile/lib/ui-kit/{Img.js → Img/Img.js} +7 -4
  695. package/mobile/lib/ui-kit/Img/Img.js.map +1 -0
  696. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +7 -0
  697. package/mobile/lib/ui-kit/Img/ImgProps.js +2 -0
  698. package/mobile/lib/ui-kit/Img/ImgProps.js.map +1 -0
  699. package/mobile/lib/ui-kit/List/List.d.ts +2 -0
  700. package/mobile/lib/ui-kit/List/List.js +10 -0
  701. package/mobile/lib/ui-kit/List/List.js.map +1 -0
  702. package/mobile/lib/ui-kit/List/ListContent.d.ts +4 -0
  703. package/mobile/lib/ui-kit/List/ListContent.js +2 -0
  704. package/mobile/lib/ui-kit/List/ListContent.js.map +1 -0
  705. package/mobile/lib/ui-kit/List/ListItem.d.ts +11 -0
  706. package/mobile/lib/ui-kit/List/ListItem.js +21 -0
  707. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -0
  708. package/mobile/lib/ui-kit/List/ListProps.d.ts +14 -0
  709. package/mobile/lib/ui-kit/List/ListProps.js +2 -0
  710. package/mobile/lib/ui-kit/List/ListProps.js.map +1 -0
  711. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  712. package/mobile/src/components/Accordion/AccordionBlocks.tsx +8 -0
  713. package/mobile/src/components/Accordion/AccordionContent.ts +49 -21
  714. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
  715. package/mobile/src/components/BaseTile/BaseTile.tsx +11 -41
  716. package/mobile/src/components/BaseTile/BaseTileProps.ts +5 -7
  717. package/{src/components/BaseTile/getHeadingType.ts → mobile/src/components/BaseTile/getTileHeadingType.ts} +1 -1
  718. package/mobile/src/components/BaseTile/getTileMinHeight.ts +12 -0
  719. package/mobile/src/components/BaseTile/getTileRightPadding.ts +12 -0
  720. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -1
  721. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
  722. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +5 -1
  723. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +2 -2
  724. package/mobile/src/components/ContentPage/ContentPage.page.json +1620 -133
  725. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -8
  726. package/mobile/src/components/ContentPage/isBlockInRegistry.ts +5 -0
  727. package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
  728. package/mobile/src/components/ContentPage/normalizeBlock.ts +6 -0
  729. package/mobile/src/components/ContentPage/{toMobilePage.ts → normalizePage.ts} +7 -14
  730. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
  731. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
  732. package/mobile/src/components/Gallery/Gallery.tsx +57 -38
  733. package/mobile/src/components/Gallery/GalleryCardInner.tsx +6 -11
  734. package/mobile/src/components/Gallery/GalleryContainer.tsx +8 -9
  735. package/mobile/src/components/Gallery/GalleryContent.ts +9 -3
  736. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  737. package/mobile/src/components/Gallery/constants.ts +2 -2
  738. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
  739. package/mobile/src/components/Headline/Headline.tsx +2 -2
  740. package/mobile/src/components/Headline/HeadlineContent.ts +11 -9
  741. package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -4
  742. package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +0 -1
  743. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +11 -15
  744. package/mobile/src/components/PictureText/PictureText.tsx +4 -3
  745. package/mobile/src/components/PictureText/PictureTextContent.ts +5 -2
  746. package/mobile/src/components/Placeholder/PlaceholderContent.ts +3 -3
  747. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +21 -10
  748. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +26 -11
  749. package/mobile/src/components/ProductBlock/renderBenefit.tsx +1 -0
  750. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -4
  751. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  752. package/mobile/src/components/ProductTile/ProductTile.tsx +63 -15
  753. package/mobile/src/components/ProductTile/ProductTileContent.ts +17 -9
  754. package/mobile/src/components/PromoTile/PromoTile.tsx +41 -14
  755. package/mobile/src/components/PromoTile/PromoTileContent.ts +11 -5
  756. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
  757. package/mobile/src/components/TariffsTable/TariffsTable.tsx +5 -1
  758. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +3 -2
  759. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +5 -11
  760. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
  761. package/mobile/src/components/TextBlock/TextBlock.tsx +20 -16
  762. package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -1
  763. package/mobile/src/components/Tile/Tile.tsx +46 -27
  764. package/mobile/src/components/Tile/TileContent.ts +13 -2
  765. package/mobile/src/content-page-repository/ContentPageRepository.ts +0 -12
  766. package/mobile/src/icons/ActualBalanceIcon.svg +0 -2
  767. package/mobile/src/icons/AtmIcon.svg +5 -5
  768. package/mobile/src/icons/BankIcon.svg +9 -9
  769. package/mobile/src/icons/BurgerIcon.svg +1 -1
  770. package/mobile/src/icons/BurgerIconWhite.svg +1 -1
  771. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  772. package/mobile/src/icons/CalendarCircleIcon.svg +1 -1
  773. package/mobile/src/icons/CalendarIcon.svg +1 -1
  774. package/mobile/src/icons/CalendarTickIcon.svg +1 -1
  775. package/mobile/src/icons/CalendarWhiteIcon.svg +1 -1
  776. package/mobile/src/icons/CardIcon.svg +1 -1
  777. package/mobile/src/icons/CardPosIcon.svg +1 -1
  778. package/mobile/src/icons/CardTickIcon.svg +1 -1
  779. package/mobile/src/icons/CardWithGemIcon.svg +1 -1
  780. package/mobile/src/icons/ChartSquareIcon.svg +1 -1
  781. package/mobile/src/icons/ClockIcon.svg +0 -2
  782. package/mobile/src/icons/CloseIcon.svg +1 -1
  783. package/mobile/src/icons/ComfortableCompIcon.svg +0 -2
  784. package/mobile/src/icons/CreditCardsIcon.svg +1 -1
  785. package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
  786. package/mobile/src/icons/DocIcon.svg +4 -4
  787. package/mobile/src/icons/DocIconMonoColor.svg +5 -0
  788. package/mobile/src/icons/DocumentTextIcon.svg +3 -3
  789. package/mobile/src/icons/DollarIcon.svg +1 -1
  790. package/mobile/src/icons/EarthIcon.svg +1 -1
  791. package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
  792. package/mobile/src/icons/EmptyWalletIcon.svg +1 -1
  793. package/mobile/src/icons/EmptyWalletWhiteIcon.svg +1 -1
  794. package/mobile/src/icons/EuroIcon.svg +1 -1
  795. package/mobile/src/icons/GeolocationIcon.svg +3 -3
  796. package/mobile/src/icons/GlobalIcon.svg +1 -1
  797. package/mobile/src/icons/IconName.ts +3 -3
  798. package/mobile/src/icons/InterestGrowthIcon.svg +1 -1
  799. package/mobile/src/icons/InterestIcon.svg +1 -1
  800. package/mobile/src/icons/JCBIcon.svg +1 -1
  801. package/mobile/src/icons/MasterCardIcon.svg +1 -1
  802. package/mobile/src/icons/MinusIcon.svg +1 -1
  803. package/mobile/src/icons/MirIcon.svg +1 -1
  804. package/mobile/src/icons/MoneyIcon.svg +1 -1
  805. package/mobile/src/icons/MoneyInsuranceIcon.svg +1 -1
  806. package/mobile/src/icons/MonitorMobileIcon.svg +1 -1
  807. package/mobile/src/icons/NewDocIcon.svg +0 -2
  808. package/mobile/src/icons/OfficeIcon.svg +1 -1
  809. package/mobile/src/icons/OkIcon.svg +1 -1
  810. package/mobile/src/icons/PassSendIcon.svg +0 -2
  811. package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
  812. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  813. package/mobile/src/icons/PercentageSquareWhiteIcon.svg +1 -1
  814. package/mobile/src/icons/PersonalCardIcon.svg +1 -1
  815. package/mobile/src/icons/PlusIcon.svg +1 -1
  816. package/mobile/src/icons/Profile2UserIcon.svg +1 -1
  817. package/mobile/src/icons/RoundRubleIcon.svg +1 -1
  818. package/mobile/src/icons/SafeIcon.svg +1 -1
  819. package/mobile/src/icons/ShieldTickIcon.svg +1 -1
  820. package/mobile/src/icons/SignDocsIcon.svg +0 -2
  821. package/mobile/src/icons/SmallClockIcon.svg +1 -1
  822. package/mobile/src/icons/TelegramIcon.svg +2 -1
  823. package/mobile/src/icons/UnionPayIcon.svg +1 -1
  824. package/mobile/src/icons/UserTickIcon.svg +1 -1
  825. package/mobile/src/icons/VKIcon.svg +2 -1
  826. package/mobile/src/icons/VisaIcon.svg +1 -1
  827. package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
  828. package/mobile/src/icons/WalletAddIcon.svg +1 -1
  829. package/mobile/src/icons/WalletIcon.svg +1 -1
  830. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
  831. package/mobile/src/index.ts +1 -1
  832. package/mobile/src/model/ButtonVersion.ts +1 -1
  833. package/mobile/src/types.ts +6 -5
  834. package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +11 -14
  835. package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
  836. package/mobile/src/ui-kit/Button/Button.tsx +11 -24
  837. package/mobile/src/ui-kit/Button/ButtonInner.tsx +37 -0
  838. package/mobile/src/ui-kit/Button/ButtonProps.ts +11 -0
  839. package/mobile/src/ui-kit/Button/ButtonSection.tsx +34 -0
  840. package/mobile/src/ui-kit/Description/Description.tsx +8 -0
  841. package/mobile/src/ui-kit/Description/DescriptionProps.ts +8 -0
  842. package/mobile/src/ui-kit/Heading/Heading.tsx +14 -5
  843. package/mobile/src/ui-kit/Heading/{HeadingProps.ts → HeadingContent.ts} +7 -4
  844. package/mobile/src/ui-kit/Icon/Icon.tsx +16 -3
  845. package/mobile/src/ui-kit/Icon/IconProps.ts +7 -0
  846. package/mobile/src/ui-kit/{Img.tsx → Img/Img.tsx} +9 -10
  847. package/mobile/src/ui-kit/Img/ImgProps.ts +9 -0
  848. package/mobile/src/ui-kit/List/List.tsx +24 -0
  849. package/mobile/src/ui-kit/List/ListContent.ts +4 -0
  850. package/mobile/src/ui-kit/List/ListItem.tsx +43 -0
  851. package/mobile/src/ui-kit/List/ListProps.ts +16 -0
  852. package/package.json +1 -1
  853. package/src/components/Accordion/Accordion.fixture.mobile.tsx +8 -8
  854. package/src/components/Accordion/Accordion.fixture.tsx +52 -8
  855. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  856. package/src/components/Accordion/Accordion.tsx +1 -1
  857. package/src/components/Accordion/AccordionBlocks.tsx +8 -0
  858. package/src/components/Accordion/AccordionContent.ts +49 -21
  859. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
  860. package/src/components/Accordion/AccordionItem.tsx +1 -1
  861. package/src/components/BaseTile/BaseTile.tsx +10 -36
  862. package/src/components/BaseTile/BaseTileProps.ts +5 -7
  863. package/{mobile/src/components/BaseTile/getHeadingType.ts → src/components/BaseTile/getTileHeadingType.ts} +1 -1
  864. package/src/components/BaseTile/getTileMinHeight.ts +12 -0
  865. package/src/components/BaseTile/getTileRightPadding.ts +12 -0
  866. package/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -1
  867. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
  868. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -0
  869. package/src/components/ComparisonTable/ComparisonTable.tsx +5 -1
  870. package/src/components/ComparisonTable/HeaderCell.tsx +2 -2
  871. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +3 -3
  872. package/src/components/ContentPage/ContentPage.fixture.tsx +3 -2
  873. package/src/components/ContentPage/ContentPage.page.json +1 -1
  874. package/src/components/ContentPage/ContentPage.tsx +2 -8
  875. package/src/components/ContentPage/isBlockInRegistry.ts +5 -0
  876. package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +71 -0
  877. package/src/components/ContentPage/normalizeBlock.mobile.ts +6 -0
  878. package/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
  879. package/src/components/ContentPage/normalizeBlock.ts +7 -0
  880. package/src/components/ContentPage/{toMobilePage.ts → normalizePage.mobile.ts} +7 -14
  881. package/src/components/ContentPage/normalizePage.ts +29 -0
  882. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
  883. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
  884. package/src/components/Gallery/Gallery.fixture.mobile.tsx +103 -0
  885. package/src/components/Gallery/Gallery.fixture.tsx +5 -4
  886. package/src/components/Gallery/Gallery.mobile.tsx +57 -38
  887. package/src/components/Gallery/GalleryCardInner.tsx +6 -11
  888. package/src/components/Gallery/GalleryContainer.tsx +8 -9
  889. package/src/components/Gallery/GalleryContent.ts +9 -3
  890. package/src/components/Gallery/GalleryInner.tsx +1 -1
  891. package/src/components/Gallery/constants.ts +2 -2
  892. package/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
  893. package/src/components/Headline/Headline.mobile.tsx +2 -2
  894. package/src/components/Headline/Headline.tsx +3 -1
  895. package/src/components/Headline/HeadlineContent.ts +11 -9
  896. package/src/components/LinkDocs/LinkDocs.mobile.tsx +8 -4
  897. package/src/components/LinkDocs/LinkDocs.tsx +4 -4
  898. package/src/components/LinkDocs/linkDocsContentExample.ts +0 -1
  899. package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
  900. package/src/components/MobileAppTile/MobileAppTile.tsx +47 -20
  901. package/src/components/MobileAppTile/MobileAppTileContent.ts +11 -15
  902. package/src/components/PictureText/PictureText.tsx +4 -3
  903. package/src/components/PictureText/PictureTextContent.ts +5 -2
  904. package/src/components/Placeholder/PlaceholderContent.ts +3 -3
  905. package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -0
  906. package/src/components/ProductBlock/ProductBlockContent.ts +21 -10
  907. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +26 -11
  908. package/src/components/ProductBlock/ProductBlockInner.tsx +28 -12
  909. package/src/components/ProductBlock/renderBenefit.mobile.tsx +1 -0
  910. package/src/components/ProductBlock/renderBenefit.tsx +1 -0
  911. package/src/components/ProductGallery/ProductGallery.fixture.tsx +4 -0
  912. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  913. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +4 -4
  914. package/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -4
  915. package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  916. package/src/components/ProductTile/ProductTile.fixture.tsx +28 -0
  917. package/src/components/ProductTile/ProductTile.tsx +63 -15
  918. package/src/components/ProductTile/ProductTileContent.ts +17 -9
  919. package/src/components/PromoTile/PromoTile.tsx +41 -14
  920. package/src/components/PromoTile/PromoTileContent.ts +11 -5
  921. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
  922. package/src/components/StepsBlock/StepsBlock.tsx +1 -1
  923. package/src/components/TariffsTable/TariffsTable.tsx +5 -1
  924. package/src/components/TariffsTable/TariffsTableCell.tsx +3 -2
  925. package/src/components/TariffsTable/TariffsTableContent.ts +5 -11
  926. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
  927. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +28 -13
  928. package/src/components/TextBlock/TextBlock.mobile.tsx +20 -16
  929. package/src/components/TextBlock/TextBlock.tsx +1 -1
  930. package/src/components/TextBlock/TextBlockContent.ts +4 -1
  931. package/src/components/Tile/Tile.fixture.tsx +37 -23
  932. package/src/components/Tile/Tile.tsx +46 -27
  933. package/src/components/Tile/TileContent.ts +13 -2
  934. package/src/content-page-repository/ContentPageRepository.ts +0 -12
  935. package/src/icons/ActualBalanceIcon.svg +0 -2
  936. package/src/icons/AtmIcon.svg +5 -5
  937. package/src/icons/BankIcon.svg +9 -9
  938. package/src/icons/BurgerIcon.svg +1 -1
  939. package/src/icons/BurgerIconWhite.svg +1 -1
  940. package/src/icons/Calendar2Icon.svg +1 -1
  941. package/src/icons/CalendarCircleIcon.svg +1 -1
  942. package/src/icons/CalendarIcon.svg +1 -1
  943. package/src/icons/CalendarTickIcon.svg +1 -1
  944. package/src/icons/CalendarWhiteIcon.svg +1 -1
  945. package/src/icons/CardIcon.svg +1 -1
  946. package/src/icons/CardPosIcon.svg +1 -1
  947. package/src/icons/CardTickIcon.svg +1 -1
  948. package/src/icons/CardWithGemIcon.svg +1 -1
  949. package/src/icons/ChartSquareIcon.svg +1 -1
  950. package/src/icons/ClockIcon.svg +0 -2
  951. package/src/icons/CloseIcon.svg +1 -1
  952. package/src/icons/ComfortableCompIcon.svg +0 -2
  953. package/src/icons/CreditCardsIcon.svg +1 -1
  954. package/src/icons/DiscountShapeIcon.svg +1 -1
  955. package/src/icons/DocIcon.svg +4 -4
  956. package/src/icons/DocIconMonoColor.svg +5 -0
  957. package/src/icons/DocumentTextIcon.svg +3 -3
  958. package/src/icons/DollarIcon.svg +1 -1
  959. package/src/icons/EarthIcon.svg +1 -1
  960. package/src/icons/EmptyWalletChangeIcon.svg +1 -1
  961. package/src/icons/EmptyWalletIcon.svg +1 -1
  962. package/src/icons/EmptyWalletWhiteIcon.svg +1 -1
  963. package/src/icons/EuroIcon.svg +1 -1
  964. package/src/icons/GeolocationIcon.svg +3 -3
  965. package/src/icons/GlobalIcon.svg +1 -1
  966. package/src/icons/IconName.ts +3 -3
  967. package/src/icons/InterestGrowthIcon.svg +1 -1
  968. package/src/icons/InterestIcon.svg +1 -1
  969. package/src/icons/JCBIcon.svg +1 -1
  970. package/src/icons/MasterCardIcon.svg +1 -1
  971. package/src/icons/MinusIcon.svg +1 -1
  972. package/src/icons/MirIcon.svg +1 -1
  973. package/src/icons/MoneyIcon.svg +1 -1
  974. package/src/icons/MoneyInsuranceIcon.svg +1 -1
  975. package/src/icons/MonitorMobileIcon.svg +1 -1
  976. package/src/icons/NewDocIcon.svg +0 -2
  977. package/src/icons/OfficeIcon.svg +1 -1
  978. package/src/icons/OkIcon.svg +1 -1
  979. package/src/icons/PassSendIcon.svg +0 -2
  980. package/src/icons/PercentageRoundIcon.svg +1 -1
  981. package/src/icons/PercentageSquareIcon.svg +1 -1
  982. package/src/icons/PercentageSquareWhiteIcon.svg +1 -1
  983. package/src/icons/PersonalCardIcon.svg +1 -1
  984. package/src/icons/PlusIcon.svg +1 -1
  985. package/src/icons/Profile2UserIcon.svg +1 -1
  986. package/src/icons/RoundRubleIcon.svg +1 -1
  987. package/src/icons/SafeIcon.svg +1 -1
  988. package/src/icons/ShieldTickIcon.svg +1 -1
  989. package/src/icons/SignDocsIcon.svg +0 -2
  990. package/src/icons/SmallClockIcon.svg +1 -1
  991. package/src/icons/TelegramIcon.svg +2 -1
  992. package/src/icons/UnionPayIcon.svg +1 -1
  993. package/src/icons/UserTickIcon.svg +1 -1
  994. package/src/icons/VKIcon.svg +2 -1
  995. package/src/icons/VisaIcon.svg +1 -1
  996. package/src/icons/WalletAdd2Icon.svg +1 -1
  997. package/src/icons/WalletAddIcon.svg +1 -1
  998. package/src/icons/WalletIcon.svg +1 -1
  999. package/src/icons/WalletWithMoneyIcon.svg +1 -1
  1000. package/src/index.ts +1 -1
  1001. package/src/model/ButtonVersion.ts +1 -1
  1002. package/src/types.ts +6 -5
  1003. package/src/ui-kit/BlockItem/BlockItem.tsx +11 -14
  1004. package/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
  1005. package/src/ui-kit/Button/Button.fixture.tsx +2 -2
  1006. package/src/ui-kit/Button/Button.mobile.tsx +11 -24
  1007. package/src/ui-kit/Button/Button.tsx +55 -51
  1008. package/src/ui-kit/Button/ButtonInner.tsx +37 -0
  1009. package/src/ui-kit/Button/ButtonProps.ts +11 -0
  1010. package/src/ui-kit/Button/ButtonSection.tsx +34 -0
  1011. package/src/ui-kit/Description/Description.tsx +8 -0
  1012. package/src/ui-kit/Description/DescriptionProps.ts +8 -0
  1013. package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +7 -6
  1014. package/src/ui-kit/Heading/Heading.fixture.tsx +6 -6
  1015. package/src/ui-kit/Heading/Heading.mobile.tsx +14 -5
  1016. package/src/ui-kit/Heading/Heading.tsx +14 -5
  1017. package/src/ui-kit/Heading/{HeadingProps.ts → HeadingContent.ts} +7 -4
  1018. package/src/ui-kit/Icon/Icon.fixture.tsx +13 -2
  1019. package/src/ui-kit/Icon/Icon.tsx +16 -3
  1020. package/src/ui-kit/Icon/IconProps.ts +7 -0
  1021. package/src/ui-kit/{Img.mobile.tsx → Img/Img.mobile.tsx} +9 -10
  1022. package/src/ui-kit/{Img.tsx → Img/Img.tsx} +1 -1
  1023. package/src/ui-kit/Img/ImgProps.ts +9 -0
  1024. package/src/ui-kit/List/List.tsx +24 -0
  1025. package/src/ui-kit/List/ListContent.ts +4 -0
  1026. package/src/ui-kit/List/ListItem.tsx +43 -0
  1027. package/src/ui-kit/List/ListProps.ts +16 -0
  1028. package/dist/components/BaseTile/BaseTile.mobile.d.ts +0 -5
  1029. package/dist/components/BaseTile/BaseTile.mobile.js +0 -17
  1030. package/dist/components/BaseTile/BaseTile.mobile.js.map +0 -1
  1031. package/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
  1032. package/dist/components/BaseTile/BaseTileInner.js +0 -14
  1033. package/dist/components/BaseTile/BaseTileInner.js.map +0 -1
  1034. package/dist/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
  1035. package/dist/components/BaseTile/BaseTileInner.mobile.js +0 -14
  1036. package/dist/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
  1037. package/dist/components/BaseTile/getHeadingType.d.ts +0 -1
  1038. package/dist/components/BaseTile/getHeadingType.js.map +0 -1
  1039. package/dist/components/BaseTile/renderButton.d.ts +0 -2
  1040. package/dist/components/BaseTile/renderButton.js +0 -12
  1041. package/dist/components/BaseTile/renderButton.js.map +0 -1
  1042. package/dist/components/BaseTile/renderButton.mobile.d.ts +0 -2
  1043. package/dist/components/BaseTile/renderButton.mobile.js +0 -13
  1044. package/dist/components/BaseTile/renderButton.mobile.js.map +0 -1
  1045. package/dist/components/BaseTile/renderItems.d.ts +0 -2
  1046. package/dist/components/BaseTile/renderItems.js +0 -9
  1047. package/dist/components/BaseTile/renderItems.js.map +0 -1
  1048. package/dist/components/BaseTile/renderItems.mobile.d.ts +0 -2
  1049. package/dist/components/BaseTile/renderItems.mobile.js +0 -9
  1050. package/dist/components/BaseTile/renderItems.mobile.js.map +0 -1
  1051. package/dist/components/ContentPage/toMobilePage.d.ts +0 -2
  1052. package/dist/components/ContentPage/toMobilePage.js.map +0 -1
  1053. package/dist/ui-kit/Heading/HeadingProps.js.map +0 -1
  1054. package/dist/ui-kit/Img.js.map +0 -1
  1055. package/dist/ui-kit/Img.mobile.js.map +0 -1
  1056. package/lib/components/BaseTile/BaseTile.mobile.d.ts +0 -5
  1057. package/lib/components/BaseTile/BaseTile.mobile.js +0 -15
  1058. package/lib/components/BaseTile/BaseTile.mobile.js.map +0 -1
  1059. package/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
  1060. package/lib/components/BaseTile/BaseTileInner.js +0 -12
  1061. package/lib/components/BaseTile/BaseTileInner.js.map +0 -1
  1062. package/lib/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
  1063. package/lib/components/BaseTile/BaseTileInner.mobile.js +0 -12
  1064. package/lib/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
  1065. package/lib/components/BaseTile/getHeadingType.d.ts +0 -1
  1066. package/lib/components/BaseTile/getHeadingType.js.map +0 -1
  1067. package/lib/components/BaseTile/renderButton.d.ts +0 -2
  1068. package/lib/components/BaseTile/renderButton.js +0 -9
  1069. package/lib/components/BaseTile/renderButton.js.map +0 -1
  1070. package/lib/components/BaseTile/renderButton.mobile.d.ts +0 -2
  1071. package/lib/components/BaseTile/renderButton.mobile.js +0 -10
  1072. package/lib/components/BaseTile/renderButton.mobile.js.map +0 -1
  1073. package/lib/components/BaseTile/renderItems.d.ts +0 -2
  1074. package/lib/components/BaseTile/renderItems.js +0 -6
  1075. package/lib/components/BaseTile/renderItems.js.map +0 -1
  1076. package/lib/components/BaseTile/renderItems.mobile.d.ts +0 -2
  1077. package/lib/components/BaseTile/renderItems.mobile.js +0 -6
  1078. package/lib/components/BaseTile/renderItems.mobile.js.map +0 -1
  1079. package/lib/components/ContentPage/toMobilePage.d.ts +0 -2
  1080. package/lib/components/ContentPage/toMobilePage.js.map +0 -1
  1081. package/lib/ui-kit/Heading/HeadingProps.js +0 -2
  1082. package/lib/ui-kit/Heading/HeadingProps.js.map +0 -1
  1083. package/lib/ui-kit/Img.js.map +0 -1
  1084. package/lib/ui-kit/Img.mobile.js.map +0 -1
  1085. package/mobile/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
  1086. package/mobile/dist/components/BaseTile/BaseTileInner.js +0 -14
  1087. package/mobile/dist/components/BaseTile/BaseTileInner.js.map +0 -1
  1088. package/mobile/dist/components/BaseTile/getHeadingType.d.ts +0 -1
  1089. package/mobile/dist/components/BaseTile/getHeadingType.js.map +0 -1
  1090. package/mobile/dist/components/BaseTile/renderButton.d.ts +0 -2
  1091. package/mobile/dist/components/BaseTile/renderButton.js +0 -13
  1092. package/mobile/dist/components/BaseTile/renderButton.js.map +0 -1
  1093. package/mobile/dist/components/BaseTile/renderItems.d.ts +0 -2
  1094. package/mobile/dist/components/BaseTile/renderItems.js +0 -9
  1095. package/mobile/dist/components/BaseTile/renderItems.js.map +0 -1
  1096. package/mobile/dist/components/ContentPage/toMobilePage.d.ts +0 -2
  1097. package/mobile/dist/components/ContentPage/toMobilePage.js.map +0 -1
  1098. package/mobile/dist/ui-kit/Heading/HeadingProps.js.map +0 -1
  1099. package/mobile/dist/ui-kit/Img.js.map +0 -1
  1100. package/mobile/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
  1101. package/mobile/lib/components/BaseTile/BaseTileInner.js +0 -12
  1102. package/mobile/lib/components/BaseTile/BaseTileInner.js.map +0 -1
  1103. package/mobile/lib/components/BaseTile/getHeadingType.d.ts +0 -1
  1104. package/mobile/lib/components/BaseTile/getHeadingType.js.map +0 -1
  1105. package/mobile/lib/components/BaseTile/renderButton.d.ts +0 -2
  1106. package/mobile/lib/components/BaseTile/renderButton.js +0 -10
  1107. package/mobile/lib/components/BaseTile/renderButton.js.map +0 -1
  1108. package/mobile/lib/components/BaseTile/renderItems.d.ts +0 -2
  1109. package/mobile/lib/components/BaseTile/renderItems.js +0 -6
  1110. package/mobile/lib/components/BaseTile/renderItems.js.map +0 -1
  1111. package/mobile/lib/components/ContentPage/toMobilePage.d.ts +0 -2
  1112. package/mobile/lib/components/ContentPage/toMobilePage.js.map +0 -1
  1113. package/mobile/lib/ui-kit/Heading/HeadingProps.js +0 -2
  1114. package/mobile/lib/ui-kit/Heading/HeadingProps.js.map +0 -1
  1115. package/mobile/lib/ui-kit/Img.js.map +0 -1
  1116. package/mobile/src/components/BaseTile/BaseTileInner.tsx +0 -31
  1117. package/mobile/src/components/BaseTile/renderButton.tsx +0 -20
  1118. package/mobile/src/components/BaseTile/renderItems.tsx +0 -12
  1119. package/src/components/BaseTile/BaseTile.mobile.tsx +0 -52
  1120. package/src/components/BaseTile/BaseTileInner.mobile.tsx +0 -31
  1121. package/src/components/BaseTile/BaseTileInner.tsx +0 -37
  1122. package/src/components/BaseTile/renderButton.mobile.tsx +0 -20
  1123. package/src/components/BaseTile/renderButton.tsx +0 -17
  1124. package/src/components/BaseTile/renderItems.mobile.tsx +0 -12
  1125. package/src/components/BaseTile/renderItems.tsx +0 -12
  1126. package/src/components/ContentPage/ContentPage.page.mobile.json +0 -508
@@ -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":[],"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,mCAAmC,C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C,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,4EAA4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,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=ButtonSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonSection.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKlC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5F,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,OAAO,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,cAAK,SAAS,EAAE,GAAG,SAAS,EAAE,YAC3B,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAC7B,YAAY,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,CACnE,GACG,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,SAAS,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,MAAM,EAAuB,EAAE,CAAS;IACvE,IAAI,CAAC,MAAM,EAAE,IAAI;QAAE,OAAO;IAE1B,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,KAAC,MAAM,IAEL,UAAU,EAAE,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,KACzD,MAAM,IAFL,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,CAAC,CAAC,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":""}
@@ -1,2 +1,5 @@
1
- import { HeadingProps } from './HeadingProps';
1
+ import { HeadingContent, HeadingTypeContent } from './HeadingContent';
2
+ export interface HeadingProps extends HeadingContent, HeadingTypeContent {
3
+ className?: string;
4
+ }
2
5
  export declare const Heading: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeadingProps, any>, context?: any) => any;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- const HeadingClass = {
3
+ const HEADING_STYLE_MAP = {
4
4
  h1: 'text-title-lg tracking-[-0.3px]',
5
5
  h2: 'text-title',
6
6
  h3: 'text-title-sm',
@@ -9,8 +9,11 @@ const HeadingClass = {
9
9
  h6: 'text-title-2xs tracking-[0.2px]',
10
10
  };
11
11
  export const Heading = JSX((props) => {
12
- const { className, type, text } = props;
13
- const Tag = type;
14
- return (_jsx(Tag, { className: `font-sans font-medium ${HeadingClass[type]} ${className || ''}`, children: text }));
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 }));
15
18
  });
16
19
  //# sourceMappingURL=Heading.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,MAAM,YAAY,GAAyC;IACzD,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,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IACxC,MAAM,GAAG,GAAG,IAAI,CAAC;IAEjB,OAAO,CACL,KAAC,GAAG,IAAC,SAAS,EAAE,yBAAyB,YAAY,CAAC,IAAI,CAAC,IAAI,SAAS,IAAI,EAAE,EAAE,YAAG,IAAI,GAAO,CAC/F,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;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"}
@@ -1,2 +1,5 @@
1
- import { HeadingProps } from './HeadingProps';
1
+ import { HeadingContent, HeadingTypeContent } from './HeadingContent';
2
+ export interface HeadingProps extends HeadingContent, HeadingTypeContent {
3
+ className?: string;
4
+ }
2
5
  export declare const Heading: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeadingProps, any>, context?: any) => any;
@@ -9,8 +9,11 @@ const HeadingClass = {
9
9
  h6: 'text-m-title-xs',
10
10
  };
11
11
  export const Heading = JSX((props) => {
12
- const { className, type, text } = props;
13
- const Tag = type;
14
- return (_jsx(Tag, { className: `font-sans font-medium ${HeadingClass[type]} ${className || ''}`, children: text }));
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 }));
15
18
  });
16
19
  //# sourceMappingURL=Heading.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Heading.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/Heading/Heading.mobile.tsx"],"names":[],"mapp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AC,IAAI,SAAS,IAAI,EAAE,EAAE,YACpF,KAAK,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -6,8 +6,10 @@
6
6
  * ]
7
7
  */
8
8
  export declare type HeadingType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
9
- export interface HeadingProps {
10
- className?: string;
11
- type: HeadingType;
12
- text?: string;
9
+ export interface HeadingTypeContent {
10
+ headingType?: HeadingType;
11
+ }
12
+ export interface HeadingContent {
13
+ /** @title Заголовок */
14
+ title?: string;
13
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,GAAG,IAAI,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,OAAO,GAAI,IACpD,CACP,CAAC;KACH;IAED,OAAO,CACL,cACE,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,KACR,QAAQ,iBACA,MAAM,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
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,YAAY,GAA8B;IAC9C,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,mBAAmB;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,GAAG,GAAG,QAAQ,IAAI,EAAE,EACpB,KAAK,GAAG,GAAG,EACX,KAAK,EACL,KAAK,GAAG,SAAS,EACjB,GAAG,QAAQ,EACZ,EAAE,EAAE;IACH,MAAM,IAAI,GAAG,GAAG,eAAe,CAAC,GAAG,IAAI,EAAE,SAAS,IAAI,MAAM,CAAC;IAE7D,IAAI,KAAK,EAAE;QACT,OAAO,CACL,eAAK,SAAS,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,SAAS,EAAE,KAAM,QAAQ,iBAAc,MAAM,aACpF,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,GAAG,IAAI,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,OAAO,GAAI,IACpD,CACP,CAAC;KACH;IAED,OAAO,CACL,cACE,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,KACR,QAAQ,iBACA,MAAM,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,5 +1,10 @@
1
1
  import type { IconName } from '../../icons/IconName';
2
2
  export type { IconName };
3
+ /**
4
+ * @title Цвет иконки (svg)
5
+ * @enumNames ["Нет", "Основной"]
6
+ */
7
+ export declare type IconColor = 'none' | 'primary';
3
8
  export interface IconProps {
4
9
  className?: string;
5
10
  name: IconName;
@@ -8,4 +13,5 @@ export interface IconProps {
8
13
  width?: string;
9
14
  height?: string;
10
15
  asSVG?: boolean;
16
+ color?: IconColor;
11
17
  }
@@ -1,4 +1,4 @@
1
- import type { ImgSource, Picture } from '../model/Picture';
1
+ import type { ImgSource, Picture } from '../../model/Picture';
2
2
  export interface ImageProps {
3
3
  className?: string;
4
4
  image: Picture;
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Img.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/Img.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,CAAa,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE,EAAE;IACnF,MAAM,KAAK,GAAG;QACZ,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM;QAChD,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;KACpD,CAAC;IAEF,OAAO,CACL,mBAAS,SAAS,EAAE,aAAa,SAAS,EAAE,aACzC,KAAK,CAAC,OAAO,EAAE,MAAM;gBACpB,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5C,iBAAgC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,IAA9D,GAAG,KAAK,IAAI,GAAG,EAAE,CAAiD,CAChF,CAAC;gBACJ,CAAC,CAAC,IAAI,EACR,cACE,SAAS,EAAE,KAAK,CAAC,SAAS,IAAI,EAAE,EAChC,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAC7B,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,KAAK,EAAE,KAAK,KACR,IAAI,GACR,IACM,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,gBAAgB,CAAC,MAA2B;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AACxD,CAAC"}
@@ -1,7 +1,4 @@
1
- import type { ImgSource, Picture } from '../model/Picture';
2
- export interface ImageProps {
3
- className?: string;
4
- image: Picture;
5
- }
1
+ import type { ImgSource } from '../../model/Picture';
2
+ import { ImageProps } from './ImgProps';
6
3
  export declare const Img: (props: import("@redneckz/uni-jsx").PropsWithChildren<ImageProps, any>, context?: any) => any;
7
4
  export declare function formatToMimeType(format: ImgSource['format']): string | undefined;
@@ -1,13 +1,16 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- export const Img = JSX(({ className = '', image: { size, ...image } }) => {
3
+ export const Img = JSX(({ className = '', image }) => {
4
+ if (!image) {
5
+ return null;
6
+ }
4
7
  const style = {
5
- width: size?.width ? `${size?.width}px` : '100%',
6
- height: size?.height ? `${size?.height}px` : '100%',
8
+ width: image.size?.width ? `${image.size?.width}px` : '100%',
9
+ height: image.size?.height ? `${image.size?.height}px` : '100%',
7
10
  };
8
11
  return (_jsxs("picture", { className: className, children: [image.sources?.length
9
12
  ? image.sources.map(({ src, format }, index) => (_jsx("source", { srcSet: src, type: formatToMimeType(format) }, `${index}_${src}`)))
10
- : null, _jsx("img", { src: image.src, className: `m-auto ${image.className || ''}`, alt: image.alt || image.title, title: image.title, style: style, ...size })] }));
13
+ : null, _jsx("img", { src: image.src, className: `m-auto ${image.className || ''}`, alt: image.alt || image.title, title: image.title, style: style, ...image.size })] }));
11
14
  });
12
15
  export function formatToMimeType(format) {
13
16
  return format ? `image/${String(format)}` : undefined;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Img.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/Img.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,CAAa,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;IAC/D,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAI,CAAC;KACb;IACD,MAAM,KAAK,GAAG;QACZ,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM;QAC5D,MAAM,EAAE,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,MAAM;KAChE,CAAC;IAEF,OAAO,CACL,mBAAS,SAAS,EAAE,SAAS,aAC1B,KAAK,CAAC,OAAO,EAAE,MAAM;gBACpB,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5C,iBAAgC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,IAA9D,GAAG,KAAK,IAAI,GAAG,EAAE,CAAiD,CAChF,CAAC;gBACJ,CAAC,CAAC,IAAI,EACR,cACE,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,SAAS,EAAE,UAAU,KAAK,CAAC,SAAS,IAAI,EAAE,EAAE,EAC5C,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAC7B,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,KAAK,EAAE,KAAK,KACR,KAAK,CAAC,IAAI,GACd,IACM,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,gBAAgB,CAAC,MAA2B;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AACxD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { Picture } from '../../model/Picture';
2
+ export interface ImageContent {
3
+ image?: Picture;
4
+ }
5
+ export interface ImageProps extends ImageContent {
6
+ className?: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ImgProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImgProps.js","sourceRoot":"","sources":["../../../src/ui-kit/Img/ImgProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { ListProps } from './ListProps';
2
+ export declare const List: (props: import("@redneckz/uni-jsx").PropsWithChildren<ListProps, any>, context?: any) => any;
@@ -0,0 +1,10 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { ListItem } from './ListItem.js';
4
+ export const List = JSX((props) => {
5
+ const { className = '', itemClassName, isDotted, items, version } = props;
6
+ return (_jsx("section", { className: `${className}`, role: "list", children: items?.length
7
+ ? items.map((_, i) => (_jsx(ListItem, { className: itemClassName, isDotted: isDotted, version: version, children: _ }, String(i))))
8
+ : null }));
9
+ });
10
+ //# sourceMappingURL=List.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../src/ui-kit/List/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,KAAK,EAAE,EAAE;IAC3C,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1E,OAAO,CACL,kBAAS,SAAS,EAAE,GAAG,SAAS,EAAE,EAAE,IAAI,EAAC,MAAM,YAC5C,KAAK,EAAE,MAAM;YACZ,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAClB,KAAC,QAAQ,IAEP,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,YAEf,CAAC,IALG,MAAM,CAAC,CAAC,CAAC,CAML,CACZ,CAAC;YACJ,CAAC,CAAC,IAAI,GACA,CACX,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export interface ListContent {
2
+ /** @title Список */
3
+ items?: string[];
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ListContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListContent.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListContent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import { ListItemVersion } from './ListProps';
2
+ /**
3
+ * @title Параметры элемента списка
4
+ */
5
+ export interface ListItemProps {
6
+ className?: string;
7
+ version?: ListItemVersion;
8
+ text?: string;
9
+ isDotted?: boolean;
10
+ }
11
+ export declare const ListItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<ListItemProps, any>, context?: any) => any;
@@ -0,0 +1,21 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ const LIST_STYLE_CLASSES = 'rounded-full inline-block mr-3';
4
+ const TEXT_STYLE_MAP = {
5
+ primary: 'text-primary-text',
6
+ secondary: 'text-white',
7
+ gray: 'text-secondary-text',
8
+ };
9
+ const LIST_STYLE_MAP = {
10
+ primary: 'bg-primary-main',
11
+ secondary: 'bg-white',
12
+ gray: 'bg-secondary-text',
13
+ };
14
+ export const ListItem = JSX(({ className = '', isDotted = true, 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: children })] }));
16
+ });
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}`;
20
+ };
21
+ //# sourceMappingURL=ListItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAaxC,MAAM,kBAAkB,GAAG,gCAAgC,CAAC;AAE5D,MAAM,cAAc,GAAoC;IACtD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;IACvB,IAAI,EAAE,qBAAqB;CAC5B,CAAC;AAEF,MAAM,cAAc,GAAoC;IACtD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,UAAU;IACrB,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,EAAE,EAAE;IACrE,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,QAAQ,GAAQ,IACvD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,OAAwB,EAAE,EAAE;IAChD,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"}
@@ -0,0 +1,14 @@
1
+ import type { ListContent } from './ListContent';
2
+ /**
3
+ * @title Версия списка
4
+ */
5
+ export declare type ListItemVersion = 'primary' | 'secondary' | 'gray';
6
+ /**
7
+ * @title Содержимое списка
8
+ */
9
+ export interface ListProps extends ListContent {
10
+ className?: string;
11
+ isDotted?: boolean;
12
+ version?: ListItemVersion;
13
+ itemClassName?: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ListProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListProps.js","sourceRoot":"","sources":["../../../src/ui-kit/List/ListProps.ts"],"names":[],"mappings":""}