@redneckz/wildless-cms-uni-blocks 0.2.112 → 0.2.113

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 (731) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +79 -61
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/Accordion.mobile.d.ts +5 -0
  5. package/dist/components/Accordion/Accordion.mobile.js +10 -0
  6. package/dist/components/Accordion/Accordion.mobile.js.map +1 -0
  7. package/dist/components/Accordion/AccordionContent.d.ts +12 -0
  8. package/dist/components/Accordion/AccordionItem.js +7 -24
  9. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  10. package/dist/components/Accordion/AccordionItem.mobile.d.ts +5 -0
  11. package/dist/components/Accordion/AccordionItem.mobile.js +16 -0
  12. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -0
  13. package/dist/components/Accordion/AccordionItemInner.d.ts +2 -0
  14. package/dist/components/Accordion/AccordionItemInner.js +17 -0
  15. package/dist/components/Accordion/AccordionItemInner.js.map +1 -0
  16. package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +2 -0
  17. package/dist/components/Accordion/AccordionItemInner.mobile.js +17 -0
  18. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -0
  19. package/dist/components/Accordion/utils/isActiveHandler.d.ts +9 -0
  20. package/dist/components/Accordion/utils/isActiveHandler.js +21 -0
  21. package/dist/components/Accordion/utils/isActiveHandler.js.map +1 -0
  22. package/dist/components/BaseTile/BaseTile.js +3 -32
  23. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  24. package/dist/components/BaseTile/BaseTile.mobile.d.ts +5 -0
  25. package/dist/components/BaseTile/BaseTile.mobile.js +17 -0
  26. package/dist/components/BaseTile/BaseTile.mobile.js.map +1 -0
  27. package/dist/components/BaseTile/BaseTileInner.d.ts +5 -0
  28. package/dist/components/BaseTile/BaseTileInner.js +14 -0
  29. package/dist/components/BaseTile/BaseTileInner.js.map +1 -0
  30. package/dist/components/BaseTile/BaseTileInner.mobile.d.ts +5 -0
  31. package/dist/components/BaseTile/BaseTileInner.mobile.js +14 -0
  32. package/dist/components/BaseTile/BaseTileInner.mobile.js.map +1 -0
  33. package/dist/components/BaseTile/BaseTileProps.d.ts +9 -3
  34. package/dist/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
  35. package/dist/components/BaseTile/getTitleSizeByClassName.js +17 -0
  36. package/dist/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
  37. package/dist/components/BaseTile/renderButton.d.ts +2 -0
  38. package/dist/components/BaseTile/renderButton.js +12 -0
  39. package/dist/components/BaseTile/renderButton.js.map +1 -0
  40. package/dist/components/BaseTile/renderButton.mobile.d.ts +2 -0
  41. package/dist/components/BaseTile/renderButton.mobile.js +13 -0
  42. package/dist/components/BaseTile/renderButton.mobile.js.map +1 -0
  43. package/dist/components/BaseTile/renderItems.d.ts +2 -0
  44. package/dist/components/BaseTile/renderItems.js +9 -0
  45. package/dist/components/BaseTile/renderItems.js.map +1 -0
  46. package/dist/components/BaseTile/renderItems.mobile.d.ts +2 -0
  47. package/dist/components/BaseTile/renderItems.mobile.js +9 -0
  48. package/dist/components/BaseTile/renderItems.mobile.js.map +1 -0
  49. package/dist/components/Blocks.mobile.d.ts +1 -6
  50. package/dist/components/Blocks.mobile.js +2 -12
  51. package/dist/components/Blocks.mobile.js.map +1 -1
  52. package/dist/components/Footer/Footer.js +1 -1
  53. package/dist/components/Footer/Footer.js.map +1 -1
  54. package/dist/components/Footer/Footer.mobile.js +20 -1
  55. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  56. package/dist/components/Footer/FooterContent.d.ts +12 -0
  57. package/dist/components/Footer/HorizontalNavigation.d.ts +5 -1
  58. package/dist/components/Footer/HorizontalNavigation.js +3 -3
  59. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  60. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
  61. package/dist/components/Footer/HorizontalNavigation.mobile.js +12 -0
  62. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -0
  63. package/dist/components/Footer/MediaButton.d.ts +5 -0
  64. package/dist/components/Footer/MediaButton.js +23 -0
  65. package/dist/components/Footer/MediaButton.js.map +1 -0
  66. package/dist/components/Footer/SocialMedia.js +2 -19
  67. package/dist/components/Footer/SocialMedia.js.map +1 -1
  68. package/dist/components/Footer/SocialMedia.mobile.d.ts +6 -0
  69. package/dist/components/Footer/SocialMedia.mobile.js +12 -0
  70. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -0
  71. package/dist/components/Footer/TextInformation.d.ts +1 -1
  72. package/dist/components/Footer/TextInformation.mobile.d.ts +2 -0
  73. package/dist/components/Footer/TextInformation.mobile.js +12 -0
  74. package/dist/components/Footer/TextInformation.mobile.js.map +1 -0
  75. package/dist/components/Header/Header.mobile.d.ts +5 -0
  76. package/dist/components/Header/Header.mobile.js +32 -0
  77. package/dist/components/Header/Header.mobile.js.map +1 -0
  78. package/dist/components/Header/HeaderBurger.d.ts +10 -0
  79. package/dist/components/Header/HeaderBurger.js +16 -0
  80. package/dist/components/Header/HeaderBurger.js.map +1 -0
  81. package/dist/components/Header/HeaderContent.d.ts +11 -1
  82. package/dist/components/Header/HeaderTop.d.ts +6 -0
  83. package/dist/components/Header/HeaderTop.js +8 -0
  84. package/dist/components/Header/HeaderTop.js.map +1 -0
  85. package/dist/components/Headline/Headline.js +2 -2
  86. package/dist/components/Headline/Headline.js.map +1 -1
  87. package/dist/components/Headline/Headline.mobile.d.ts +5 -0
  88. package/dist/components/Headline/Headline.mobile.js +10 -0
  89. package/dist/components/Headline/Headline.mobile.js.map +1 -0
  90. package/dist/components/Headline/HeadlineContent.d.ts +1 -1
  91. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  92. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  93. package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
  94. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +9 -0
  95. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -0
  96. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -1
  97. package/dist/components/ProductBlock/ProductBlock.mobile.js +2 -2
  98. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  99. package/dist/components/ProductBlock/ProductBlockInner.js +2 -17
  100. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  101. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +5 -0
  102. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +11 -0
  103. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -0
  104. package/dist/components/ProductBlock/renderBenefit.d.ts +2 -0
  105. package/dist/components/ProductBlock/renderBenefit.js +21 -0
  106. package/dist/components/ProductBlock/renderBenefit.js.map +1 -0
  107. package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -0
  108. package/dist/components/ProductBlock/renderBenefit.mobile.js +17 -0
  109. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -0
  110. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
  111. package/dist/components/ProductGallery/ProductGallery.mobile.js +21 -0
  112. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
  113. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  114. package/dist/components/ProductGallery/ProductGalleryBlock.js +9 -0
  115. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
  116. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +8 -0
  117. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +9 -0
  118. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -0
  119. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -1
  120. package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
  121. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  122. package/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -0
  123. package/dist/components/TextBlock/TextBlock.js +2 -2
  124. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  125. package/dist/components/TextBlock/TextBlock.mobile.d.ts +5 -0
  126. package/dist/components/TextBlock/TextBlock.mobile.js +40 -0
  127. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -0
  128. package/dist/components/TextBlock/TextBlockContent.d.ts +1 -0
  129. package/dist/components/Tile/Tile.js +1 -1
  130. package/dist/components/Tile/Tile.js.map +1 -1
  131. package/dist/content-page-repository/transformPicture.js +6 -1
  132. package/dist/content-page-repository/transformPicture.js.map +1 -1
  133. package/dist/model/Picture.d.ts +1 -0
  134. package/dist/ui-kit/BlockItem/BlockItem.js +2 -2
  135. package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  136. package/dist/ui-kit/Breadcrumb.js +3 -3
  137. package/dist/ui-kit/Breadcrumb.js.map +1 -1
  138. package/dist/ui-kit/Button/Button.js +7 -5
  139. package/dist/ui-kit/Button/Button.js.map +1 -1
  140. package/dist/ui-kit/Button/Button.mobile.d.ts +6 -0
  141. package/dist/ui-kit/Button/Button.mobile.js +28 -0
  142. package/dist/ui-kit/Button/Button.mobile.js.map +1 -0
  143. package/dist/ui-kit/HeaderItem/HeaderItem.d.ts +0 -1
  144. package/dist/ui-kit/HeaderItem/HeaderItem.js +2 -2
  145. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  146. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
  147. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +23 -0
  148. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -0
  149. package/dist/ui-kit/Icon/IconProps.d.ts +73 -61
  150. package/dist/ui-kit/Icon/IconProps.js +67 -61
  151. package/dist/ui-kit/Icon/IconProps.js.map +1 -1
  152. package/dist/ui-kit/Img.js +3 -3
  153. package/dist/ui-kit/Img.js.map +1 -1
  154. package/dist/ui-kit/Img.mobile.d.ts +7 -0
  155. package/dist/ui-kit/Img.mobile.js +18 -0
  156. package/dist/ui-kit/Img.mobile.js.map +1 -0
  157. package/dist/ui-kit/Logo/Logo.d.ts +1 -0
  158. package/dist/ui-kit/Logo/Logo.js +2 -2
  159. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  160. package/dist/ui-kit/Logo/Logo.mobile.d.ts +8 -0
  161. package/dist/ui-kit/Logo/Logo.mobile.js +24 -0
  162. package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -0
  163. package/{mobile/dist/ui-kit → dist/ui-kit/SearchBar}/SearchBar.d.ts +1 -1
  164. package/dist/ui-kit/{SearchBar.js → SearchBar/SearchBar.js} +2 -2
  165. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -0
  166. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
  167. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +14 -0
  168. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -0
  169. package/dist/ui-kit/{SearchBar.d.ts → SearchBar.mobile.d.ts} +0 -0
  170. package/{mobile/dist/ui-kit/SearchBar.js → dist/ui-kit/SearchBar.mobile.js} +2 -2
  171. package/dist/ui-kit/SearchBar.mobile.js.map +1 -0
  172. package/dist/utils/getAccordionItems.d.ts +1 -0
  173. package/dist/utils/getAccordionItems.js +13 -0
  174. package/dist/utils/getAccordionItems.js.map +1 -0
  175. package/lib/common.css +1 -1
  176. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +2 -0
  177. package/lib/components/Accordion/Accordion.mobile.d.ts +5 -0
  178. package/lib/components/Accordion/Accordion.mobile.js +8 -0
  179. package/lib/components/Accordion/Accordion.mobile.js.map +1 -0
  180. package/lib/components/Accordion/AccordionContent.d.ts +12 -0
  181. package/lib/components/Accordion/AccordionItem.js +7 -24
  182. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  183. package/lib/components/Accordion/AccordionItem.mobile.d.ts +5 -0
  184. package/lib/components/Accordion/AccordionItem.mobile.js +14 -0
  185. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -0
  186. package/lib/components/Accordion/AccordionItemInner.d.ts +2 -0
  187. package/lib/components/Accordion/AccordionItemInner.js +15 -0
  188. package/lib/components/Accordion/AccordionItemInner.js.map +1 -0
  189. package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +2 -0
  190. package/lib/components/Accordion/AccordionItemInner.mobile.js +15 -0
  191. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -0
  192. package/lib/components/Accordion/utils/isActiveHandler.d.ts +9 -0
  193. package/lib/components/Accordion/utils/isActiveHandler.js +18 -0
  194. package/lib/components/Accordion/utils/isActiveHandler.js.map +1 -0
  195. package/lib/components/BaseTile/BaseTile.js +3 -32
  196. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  197. package/lib/components/BaseTile/BaseTile.mobile.d.ts +5 -0
  198. package/lib/components/BaseTile/BaseTile.mobile.js +15 -0
  199. package/lib/components/BaseTile/BaseTile.mobile.js.map +1 -0
  200. package/lib/components/BaseTile/BaseTileInner.d.ts +5 -0
  201. package/lib/components/BaseTile/BaseTileInner.js +12 -0
  202. package/lib/components/BaseTile/BaseTileInner.js.map +1 -0
  203. package/lib/components/BaseTile/BaseTileInner.mobile.d.ts +5 -0
  204. package/lib/components/BaseTile/BaseTileInner.mobile.js +12 -0
  205. package/lib/components/BaseTile/BaseTileInner.mobile.js.map +1 -0
  206. package/lib/components/BaseTile/BaseTileProps.d.ts +9 -3
  207. package/lib/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
  208. package/lib/components/BaseTile/getTitleSizeByClassName.js +14 -0
  209. package/lib/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
  210. package/lib/components/BaseTile/renderButton.d.ts +2 -0
  211. package/lib/components/BaseTile/renderButton.js +9 -0
  212. package/lib/components/BaseTile/renderButton.js.map +1 -0
  213. package/lib/components/BaseTile/renderButton.mobile.d.ts +2 -0
  214. package/lib/components/BaseTile/renderButton.mobile.js +10 -0
  215. package/lib/components/BaseTile/renderButton.mobile.js.map +1 -0
  216. package/lib/components/BaseTile/renderItems.d.ts +2 -0
  217. package/lib/components/BaseTile/renderItems.js +6 -0
  218. package/lib/components/BaseTile/renderItems.js.map +1 -0
  219. package/lib/components/BaseTile/renderItems.mobile.d.ts +2 -0
  220. package/lib/components/BaseTile/renderItems.mobile.js +6 -0
  221. package/lib/components/BaseTile/renderItems.mobile.js.map +1 -0
  222. package/lib/components/Blocks.mobile.d.ts +1 -6
  223. package/lib/components/Blocks.mobile.js +2 -12
  224. package/lib/components/Blocks.mobile.js.map +1 -1
  225. package/lib/components/Footer/Footer.fixture.mobile.d.ts +2 -0
  226. package/lib/components/Footer/Footer.js +1 -1
  227. package/lib/components/Footer/Footer.js.map +1 -1
  228. package/lib/components/Footer/Footer.mobile.js +21 -2
  229. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  230. package/lib/components/Footer/FooterContent.d.ts +12 -0
  231. package/lib/components/Footer/HorizontalNavigation.d.ts +5 -1
  232. package/lib/components/Footer/HorizontalNavigation.js +3 -3
  233. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  234. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
  235. package/lib/components/Footer/HorizontalNavigation.mobile.js +10 -0
  236. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -0
  237. package/lib/components/Footer/MediaButton.d.ts +5 -0
  238. package/lib/components/Footer/MediaButton.js +21 -0
  239. package/lib/components/Footer/MediaButton.js.map +1 -0
  240. package/lib/components/Footer/SocialMedia.js +1 -18
  241. package/lib/components/Footer/SocialMedia.js.map +1 -1
  242. package/lib/components/Footer/SocialMedia.mobile.d.ts +6 -0
  243. package/lib/components/Footer/SocialMedia.mobile.js +10 -0
  244. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -0
  245. package/lib/components/Footer/TextInformation.d.ts +1 -1
  246. package/lib/components/Footer/TextInformation.mobile.d.ts +2 -0
  247. package/lib/components/Footer/TextInformation.mobile.js +10 -0
  248. package/lib/components/Footer/TextInformation.mobile.js.map +1 -0
  249. package/lib/components/Header/Header.fixture.mobile.d.ts +5 -0
  250. package/lib/components/Header/Header.mobile.d.ts +5 -0
  251. package/lib/components/Header/Header.mobile.js +30 -0
  252. package/lib/components/Header/Header.mobile.js.map +1 -0
  253. package/lib/components/Header/HeaderBurger.d.ts +10 -0
  254. package/lib/components/Header/HeaderBurger.js +14 -0
  255. package/lib/components/Header/HeaderBurger.js.map +1 -0
  256. package/lib/components/Header/HeaderContent.d.ts +11 -1
  257. package/lib/components/Header/HeaderTop.d.ts +6 -0
  258. package/lib/components/Header/HeaderTop.js +6 -0
  259. package/lib/components/Header/HeaderTop.js.map +1 -0
  260. package/lib/components/Headline/Headline.fixture.d.ts +4 -0
  261. package/lib/components/Headline/Headline.fixture.mobile.d.ts +9 -0
  262. package/lib/components/Headline/Headline.js +2 -2
  263. package/lib/components/Headline/Headline.js.map +1 -1
  264. package/lib/components/Headline/Headline.mobile.d.ts +5 -0
  265. package/lib/components/Headline/Headline.mobile.js +8 -0
  266. package/lib/components/Headline/Headline.mobile.js.map +1 -0
  267. package/lib/components/Headline/HeadlineContent.d.ts +1 -1
  268. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  269. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  270. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -3
  271. package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +2 -0
  272. package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
  273. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +7 -0
  274. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -0
  275. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -1
  276. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +4 -0
  277. package/lib/components/ProductBlock/ProductBlock.mobile.js +2 -2
  278. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  279. package/lib/components/ProductBlock/ProductBlockInner.js +1 -16
  280. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  281. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +5 -0
  282. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +9 -0
  283. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -0
  284. package/lib/components/ProductBlock/renderBenefit.d.ts +2 -0
  285. package/lib/components/ProductBlock/renderBenefit.js +18 -0
  286. package/lib/components/ProductBlock/renderBenefit.js.map +1 -0
  287. package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -0
  288. package/lib/components/ProductBlock/renderBenefit.mobile.js +14 -0
  289. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -0
  290. package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +4 -0
  291. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
  292. package/lib/components/ProductGallery/ProductGallery.mobile.js +19 -0
  293. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
  294. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  295. package/lib/components/ProductGallery/ProductGalleryBlock.js +7 -0
  296. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
  297. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +8 -0
  298. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -0
  299. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -0
  300. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -1
  301. package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
  302. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  303. package/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -0
  304. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +4 -0
  305. package/lib/components/TextBlock/TextBlock.js +2 -2
  306. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  307. package/lib/components/TextBlock/TextBlock.mobile.d.ts +5 -0
  308. package/lib/components/TextBlock/TextBlock.mobile.js +38 -0
  309. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -0
  310. package/lib/components/TextBlock/TextBlockContent.d.ts +1 -0
  311. package/lib/components/Tile/Tile.js +1 -1
  312. package/lib/components/Tile/Tile.js.map +1 -1
  313. package/lib/content-page-repository/transformPicture.js +6 -1
  314. package/lib/content-page-repository/transformPicture.js.map +1 -1
  315. package/lib/model/Picture.d.ts +1 -0
  316. package/lib/ui-kit/BlockItem/BlockItem.js +2 -2
  317. package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  318. package/lib/ui-kit/Breadcrumb.js +3 -3
  319. package/lib/ui-kit/Breadcrumb.js.map +1 -1
  320. package/lib/ui-kit/Button/Button.fixture.mobile.d.ts +5 -0
  321. package/lib/ui-kit/Button/Button.js +7 -5
  322. package/lib/ui-kit/Button/Button.js.map +1 -1
  323. package/lib/ui-kit/Button/Button.mobile.d.ts +6 -0
  324. package/lib/ui-kit/Button/Button.mobile.js +26 -0
  325. package/lib/ui-kit/Button/Button.mobile.js.map +1 -0
  326. package/lib/ui-kit/HeaderItem/HeaderItem.d.ts +0 -1
  327. package/lib/ui-kit/HeaderItem/HeaderItem.js +2 -2
  328. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  329. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
  330. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +21 -0
  331. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -0
  332. package/lib/ui-kit/Icon/IconProps.d.ts +73 -61
  333. package/lib/ui-kit/Icon/IconProps.js +67 -61
  334. package/lib/ui-kit/Icon/IconProps.js.map +1 -1
  335. package/lib/ui-kit/Img.js +3 -3
  336. package/lib/ui-kit/Img.js.map +1 -1
  337. package/lib/ui-kit/Img.mobile.d.ts +7 -0
  338. package/lib/ui-kit/Img.mobile.js +15 -0
  339. package/lib/ui-kit/Img.mobile.js.map +1 -0
  340. package/lib/ui-kit/Logo/Logo.d.ts +1 -0
  341. package/lib/ui-kit/Logo/Logo.js +2 -2
  342. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  343. package/lib/ui-kit/Logo/Logo.mobile.d.ts +8 -0
  344. package/lib/ui-kit/Logo/Logo.mobile.js +22 -0
  345. package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -0
  346. package/{mobile/lib/ui-kit → lib/ui-kit/SearchBar}/SearchBar.d.ts +1 -1
  347. package/lib/ui-kit/{SearchBar.js → SearchBar/SearchBar.js} +2 -2
  348. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -0
  349. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
  350. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +12 -0
  351. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -0
  352. package/lib/ui-kit/{SearchBar.d.ts → SearchBar.mobile.d.ts} +0 -0
  353. package/lib/ui-kit/SearchBar.mobile.js +12 -0
  354. package/lib/ui-kit/SearchBar.mobile.js.map +1 -0
  355. package/lib/utils/getAccordionItems.d.ts +1 -0
  356. package/lib/utils/getAccordionItems.js +10 -0
  357. package/lib/utils/getAccordionItems.js.map +1 -0
  358. package/mobile/bundle/bundle.umd.js +364 -236
  359. package/mobile/bundle/bundle.umd.min.js +1 -1
  360. package/mobile/dist/components/Accordion/Accordion.js +2 -2
  361. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  362. package/mobile/dist/components/Accordion/AccordionContent.d.ts +12 -0
  363. package/mobile/dist/components/Accordion/AccordionItem.js +9 -26
  364. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  365. package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +2 -0
  366. package/mobile/dist/components/Accordion/AccordionItemInner.js +17 -0
  367. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -0
  368. package/mobile/dist/components/Accordion/utils/isActiveHandler.d.ts +9 -0
  369. package/mobile/dist/components/Accordion/utils/isActiveHandler.js +21 -0
  370. package/mobile/dist/components/Accordion/utils/isActiveHandler.js.map +1 -0
  371. package/mobile/dist/components/BaseTile/BaseTile.js +9 -33
  372. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  373. package/mobile/dist/components/BaseTile/BaseTileInner.d.ts +5 -0
  374. package/mobile/dist/components/BaseTile/BaseTileInner.js +14 -0
  375. package/mobile/dist/components/BaseTile/BaseTileInner.js.map +1 -0
  376. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +9 -3
  377. package/mobile/dist/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
  378. package/mobile/dist/components/BaseTile/getTitleSizeByClassName.js +17 -0
  379. package/mobile/dist/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
  380. package/mobile/dist/components/BaseTile/renderButton.d.ts +2 -0
  381. package/mobile/dist/components/BaseTile/renderButton.js +13 -0
  382. package/mobile/dist/components/BaseTile/renderButton.js.map +1 -0
  383. package/mobile/dist/components/BaseTile/renderItems.d.ts +2 -0
  384. package/mobile/dist/components/BaseTile/renderItems.js +9 -0
  385. package/mobile/dist/components/BaseTile/renderItems.js.map +1 -0
  386. package/mobile/dist/components/Blocks.d.ts +1 -6
  387. package/mobile/dist/components/Blocks.js +2 -12
  388. package/mobile/dist/components/Blocks.js.map +1 -1
  389. package/mobile/dist/components/Footer/Footer.js +20 -1
  390. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  391. package/mobile/dist/components/Footer/FooterContent.d.ts +12 -0
  392. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +5 -1
  393. package/mobile/dist/components/Footer/HorizontalNavigation.js +3 -3
  394. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  395. package/mobile/dist/components/Footer/MediaButton.d.ts +5 -0
  396. package/mobile/dist/components/Footer/MediaButton.js +23 -0
  397. package/mobile/dist/components/Footer/MediaButton.js.map +1 -0
  398. package/mobile/dist/components/Footer/SocialMedia.js +2 -19
  399. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  400. package/mobile/dist/components/Footer/TextInformation.d.ts +1 -1
  401. package/mobile/dist/components/Footer/TextInformation.js +1 -1
  402. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  403. package/mobile/dist/components/Header/Header.js +13 -11
  404. package/mobile/dist/components/Header/Header.js.map +1 -1
  405. package/mobile/dist/components/Header/HeaderBurger.d.ts +10 -0
  406. package/mobile/dist/components/Header/HeaderBurger.js +16 -0
  407. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -0
  408. package/mobile/dist/components/Header/HeaderContent.d.ts +11 -1
  409. package/mobile/dist/components/Header/HeaderTop.d.ts +6 -0
  410. package/mobile/dist/components/Header/HeaderTop.js +8 -0
  411. package/mobile/dist/components/Header/HeaderTop.js.map +1 -0
  412. package/mobile/dist/components/Headline/Headline.js +3 -8
  413. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  414. package/mobile/dist/components/Headline/HeadlineContent.d.ts +1 -1
  415. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
  416. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  417. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +3 -3
  418. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  419. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -1
  420. package/mobile/dist/components/ProductBlock/ProductBlock.js +2 -2
  421. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  422. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -17
  423. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  424. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -0
  425. package/mobile/dist/components/ProductBlock/renderBenefit.js +17 -0
  426. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -0
  427. package/mobile/dist/components/ProductGallery/ProductGallery.js +5 -11
  428. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  429. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  430. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +9 -0
  431. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
  432. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -1
  433. package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
  434. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  435. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -0
  436. package/mobile/dist/components/TextBlock/TextBlock.js +8 -4
  437. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  438. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +1 -0
  439. package/mobile/dist/components/Tile/Tile.js +1 -1
  440. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  441. package/mobile/dist/content-page-repository/transformPicture.js +6 -1
  442. package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
  443. package/mobile/dist/model/Picture.d.ts +1 -0
  444. package/mobile/dist/ui-kit/BlockItem/BlockItem.js +2 -2
  445. package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  446. package/mobile/dist/ui-kit/Breadcrumb.js +3 -3
  447. package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -1
  448. package/mobile/dist/ui-kit/Button/Button.js +7 -5
  449. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  450. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +7 -5
  451. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  452. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +73 -61
  453. package/mobile/dist/ui-kit/Icon/IconProps.js +67 -61
  454. package/mobile/dist/ui-kit/Icon/IconProps.js.map +1 -1
  455. package/mobile/dist/ui-kit/Img.js +3 -3
  456. package/mobile/dist/ui-kit/Img.js.map +1 -1
  457. package/mobile/dist/ui-kit/Logo/Logo.d.ts +1 -0
  458. package/mobile/dist/ui-kit/Logo/Logo.js +2 -2
  459. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  460. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -0
  461. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +14 -0
  462. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -0
  463. package/mobile/dist/utils/getAccordionItems.d.ts +1 -0
  464. package/mobile/dist/utils/getAccordionItems.js +13 -0
  465. package/mobile/dist/utils/getAccordionItems.js.map +1 -0
  466. package/mobile/lib/components/Accordion/Accordion.js +2 -2
  467. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  468. package/mobile/lib/components/Accordion/AccordionContent.d.ts +12 -0
  469. package/mobile/lib/components/Accordion/AccordionItem.js +9 -26
  470. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  471. package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +2 -0
  472. package/mobile/lib/components/Accordion/AccordionItemInner.js +15 -0
  473. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -0
  474. package/mobile/lib/components/Accordion/utils/isActiveHandler.d.ts +9 -0
  475. package/mobile/lib/components/Accordion/utils/isActiveHandler.js +18 -0
  476. package/mobile/lib/components/Accordion/utils/isActiveHandler.js.map +1 -0
  477. package/mobile/lib/components/BaseTile/BaseTile.js +9 -33
  478. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  479. package/mobile/lib/components/BaseTile/BaseTileInner.d.ts +5 -0
  480. package/mobile/lib/components/BaseTile/BaseTileInner.js +12 -0
  481. package/mobile/lib/components/BaseTile/BaseTileInner.js.map +1 -0
  482. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +9 -3
  483. package/mobile/lib/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
  484. package/mobile/lib/components/BaseTile/getTitleSizeByClassName.js +14 -0
  485. package/mobile/lib/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
  486. package/mobile/lib/components/BaseTile/renderButton.d.ts +2 -0
  487. package/mobile/lib/components/BaseTile/renderButton.js +10 -0
  488. package/mobile/lib/components/BaseTile/renderButton.js.map +1 -0
  489. package/mobile/lib/components/BaseTile/renderItems.d.ts +2 -0
  490. package/mobile/lib/components/BaseTile/renderItems.js +6 -0
  491. package/mobile/lib/components/BaseTile/renderItems.js.map +1 -0
  492. package/mobile/lib/components/Blocks.d.ts +1 -6
  493. package/mobile/lib/components/Blocks.js +2 -12
  494. package/mobile/lib/components/Blocks.js.map +1 -1
  495. package/mobile/lib/components/Footer/Footer.js +21 -2
  496. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  497. package/mobile/lib/components/Footer/FooterContent.d.ts +12 -0
  498. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +5 -1
  499. package/mobile/lib/components/Footer/HorizontalNavigation.js +4 -4
  500. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  501. package/mobile/lib/components/Footer/MediaButton.d.ts +5 -0
  502. package/mobile/lib/components/Footer/MediaButton.js +21 -0
  503. package/mobile/lib/components/Footer/MediaButton.js.map +1 -0
  504. package/mobile/lib/components/Footer/SocialMedia.js +2 -19
  505. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  506. package/mobile/lib/components/Footer/TextInformation.d.ts +1 -1
  507. package/mobile/lib/components/Footer/TextInformation.js +1 -1
  508. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  509. package/mobile/lib/components/Header/Header.js +13 -11
  510. package/mobile/lib/components/Header/Header.js.map +1 -1
  511. package/mobile/lib/components/Header/HeaderBurger.d.ts +10 -0
  512. package/mobile/lib/components/Header/HeaderBurger.js +14 -0
  513. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -0
  514. package/mobile/lib/components/Header/HeaderContent.d.ts +11 -1
  515. package/mobile/lib/components/Header/HeaderTop.d.ts +6 -0
  516. package/mobile/lib/components/Header/HeaderTop.js +6 -0
  517. package/mobile/lib/components/Header/HeaderTop.js.map +1 -0
  518. package/mobile/lib/components/Headline/Headline.js +3 -8
  519. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  520. package/mobile/lib/components/Headline/HeadlineContent.d.ts +1 -1
  521. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
  522. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  523. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +3 -3
  524. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  525. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -1
  526. package/mobile/lib/components/ProductBlock/ProductBlock.js +2 -2
  527. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  528. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -17
  529. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  530. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -0
  531. package/mobile/lib/components/ProductBlock/renderBenefit.js +14 -0
  532. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -0
  533. package/mobile/lib/components/ProductGallery/ProductGallery.js +5 -11
  534. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  535. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  536. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +7 -0
  537. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
  538. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -1
  539. package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
  540. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  541. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -0
  542. package/mobile/lib/components/TextBlock/TextBlock.js +8 -4
  543. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  544. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +1 -0
  545. package/mobile/lib/components/Tile/Tile.js +1 -1
  546. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  547. package/mobile/lib/content-page-repository/transformPicture.js +6 -1
  548. package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
  549. package/mobile/lib/model/Picture.d.ts +1 -0
  550. package/mobile/lib/ui-kit/BlockItem/BlockItem.js +2 -2
  551. package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  552. package/mobile/lib/ui-kit/Breadcrumb.js +3 -3
  553. package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -1
  554. package/mobile/lib/ui-kit/Button/Button.js +7 -5
  555. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  556. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +7 -5
  557. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  558. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +73 -61
  559. package/mobile/lib/ui-kit/Icon/IconProps.js +67 -61
  560. package/mobile/lib/ui-kit/Icon/IconProps.js.map +1 -1
  561. package/mobile/lib/ui-kit/Img.js +3 -3
  562. package/mobile/lib/ui-kit/Img.js.map +1 -1
  563. package/mobile/lib/ui-kit/Logo/Logo.d.ts +1 -0
  564. package/mobile/lib/ui-kit/Logo/Logo.js +2 -2
  565. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  566. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -0
  567. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +12 -0
  568. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -0
  569. package/mobile/lib/utils/getAccordionItems.d.ts +1 -0
  570. package/mobile/lib/utils/getAccordionItems.js +10 -0
  571. package/mobile/lib/utils/getAccordionItems.js.map +1 -0
  572. package/mobile/src/components/Accordion/Accordion.tsx +30 -14
  573. package/mobile/src/components/Accordion/AccordionContent.ts +12 -0
  574. package/mobile/src/components/Accordion/AccordionItem.tsx +16 -49
  575. package/mobile/src/components/Accordion/AccordionItemInner.tsx +28 -0
  576. package/mobile/src/components/Accordion/utils/isActiveHandler.ts +24 -0
  577. package/mobile/src/components/BaseTile/BaseTile.tsx +20 -75
  578. package/mobile/src/components/BaseTile/BaseTileInner.tsx +31 -0
  579. package/mobile/src/components/BaseTile/BaseTileProps.ts +9 -3
  580. package/mobile/src/components/BaseTile/getTitleSizeByClassName.ts +11 -0
  581. package/mobile/src/components/BaseTile/renderButton.tsx +20 -0
  582. package/mobile/src/components/BaseTile/renderItems.tsx +12 -0
  583. package/mobile/src/components/Blocks.ts +2 -12
  584. package/mobile/src/components/ContentPage/ContentPage.page.json +15 -1624
  585. package/mobile/src/components/Footer/Footer.tsx +60 -6
  586. package/mobile/src/components/Footer/FooterContent.ts +13 -0
  587. package/mobile/src/components/Footer/HorizontalNavigation.tsx +30 -24
  588. package/mobile/src/components/Footer/MediaButton.tsx +43 -0
  589. package/mobile/src/components/Footer/SocialMedia.tsx +2 -44
  590. package/mobile/src/components/Footer/TextInformation.tsx +2 -2
  591. package/mobile/src/components/Header/Header.tsx +42 -41
  592. package/mobile/src/components/Header/HeaderBurger.tsx +45 -0
  593. package/mobile/src/components/Header/HeaderContent.ts +11 -1
  594. package/mobile/src/components/Header/HeaderTop.tsx +28 -0
  595. package/mobile/src/components/Headline/Headline.tsx +10 -12
  596. package/mobile/src/components/Headline/HeadlineContent.ts +2 -1
  597. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
  598. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +3 -1
  599. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +19 -20
  600. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
  601. package/mobile/src/components/ProductBlock/ProductBlock.tsx +3 -5
  602. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +9 -46
  603. package/mobile/src/components/ProductBlock/renderBenefit.tsx +35 -0
  604. package/mobile/src/components/ProductGallery/ProductGallery.tsx +10 -34
  605. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +22 -0
  606. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -1
  607. package/mobile/src/components/StepsBlock/StepsBlock.example.json +1 -0
  608. package/mobile/src/components/StepsBlock/StepsBlock.tsx +1 -1
  609. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +1 -0
  610. package/mobile/src/components/TextBlock/TextBlock.tsx +26 -15
  611. package/mobile/src/components/TextBlock/TextBlockContent.ts +1 -0
  612. package/mobile/src/components/Tile/Tile.tsx +1 -1
  613. package/mobile/src/content-page-repository/transformPicture.ts +6 -1
  614. package/mobile/src/icons/AtmIcon.svg +7 -0
  615. package/mobile/src/icons/BankIcon.svg +11 -0
  616. package/mobile/src/icons/BurgerIcon.svg +6 -0
  617. package/mobile/src/icons/BurgerIconWhite.svg +6 -0
  618. package/mobile/src/icons/CloseIcon.svg +6 -0
  619. package/mobile/src/icons/GeolocationIcon.svg +4 -0
  620. package/mobile/src/model/Picture.ts +1 -0
  621. package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +2 -2
  622. package/mobile/src/ui-kit/Breadcrumb.tsx +4 -9
  623. package/mobile/src/ui-kit/Button/Button.tsx +13 -10
  624. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +19 -15
  625. package/mobile/src/ui-kit/Icon/IconProps.ts +12 -0
  626. package/mobile/src/ui-kit/Img.tsx +3 -2
  627. package/mobile/src/ui-kit/Logo/Logo.tsx +9 -6
  628. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +46 -0
  629. package/mobile/src/utils/getAccordionItems.ts +10 -0
  630. package/package.json +4 -8
  631. package/src/components/Accordion/Accordion.fixture.mobile.tsx +65 -0
  632. package/src/components/Accordion/Accordion.fixture.tsx +1 -0
  633. package/src/components/Accordion/Accordion.mobile.tsx +38 -0
  634. package/src/components/Accordion/AccordionContent.ts +12 -0
  635. package/src/components/Accordion/AccordionItem.mobile.tsx +39 -0
  636. package/src/components/Accordion/AccordionItem.tsx +9 -46
  637. package/src/components/Accordion/AccordionItemInner.mobile.tsx +28 -0
  638. package/src/components/Accordion/AccordionItemInner.tsx +28 -0
  639. package/src/components/Accordion/utils/isActiveHandler.ts +24 -0
  640. package/src/components/BaseTile/BaseTile.mobile.tsx +53 -0
  641. package/src/components/BaseTile/BaseTile.tsx +12 -74
  642. package/src/components/BaseTile/BaseTileInner.mobile.tsx +31 -0
  643. package/src/components/BaseTile/BaseTileInner.tsx +37 -0
  644. package/src/components/BaseTile/BaseTileProps.ts +9 -3
  645. package/src/components/BaseTile/getTitleSizeByClassName.ts +11 -0
  646. package/src/components/BaseTile/renderButton.mobile.tsx +20 -0
  647. package/src/components/BaseTile/renderButton.tsx +13 -0
  648. package/src/components/BaseTile/renderItems.mobile.tsx +12 -0
  649. package/src/components/BaseTile/renderItems.tsx +12 -0
  650. package/src/components/Blocks.mobile.ts +2 -12
  651. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +2 -2
  652. package/src/components/ContentPage/ContentPage.page.mobile.json +452 -0
  653. package/src/components/Footer/Footer.fixture.mobile.tsx +285 -0
  654. package/src/components/Footer/Footer.mobile.tsx +60 -6
  655. package/src/components/Footer/Footer.tsx +1 -1
  656. package/src/components/Footer/FooterContent.ts +13 -0
  657. package/src/components/Footer/HorizontalNavigation.mobile.tsx +52 -0
  658. package/src/components/Footer/HorizontalNavigation.tsx +29 -24
  659. package/src/components/Footer/MediaButton.tsx +43 -0
  660. package/src/components/Footer/SocialMedia.mobile.tsx +21 -0
  661. package/src/components/Footer/SocialMedia.tsx +1 -43
  662. package/src/components/Footer/TextInformation.mobile.tsx +50 -0
  663. package/src/components/Footer/TextInformation.tsx +1 -1
  664. package/src/components/Header/Header.fixture.mobile.tsx +209 -0
  665. package/src/components/Header/Header.mobile.tsx +73 -0
  666. package/src/components/Header/HeaderBurger.tsx +45 -0
  667. package/src/components/Header/HeaderContent.ts +11 -1
  668. package/src/components/Header/HeaderTop.tsx +28 -0
  669. package/src/components/Headline/Headline.fixture.mobile.tsx +67 -0
  670. package/src/components/Headline/Headline.fixture.tsx +54 -0
  671. package/src/components/Headline/Headline.mobile.tsx +30 -0
  672. package/src/components/Headline/Headline.tsx +3 -3
  673. package/src/components/Headline/HeadlineContent.ts +2 -1
  674. package/src/components/LinkDocs/LinkDocs.fixture.tsx +0 -1
  675. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  676. package/src/components/MobileAppTile/MobileAppTile.example.json +3 -1
  677. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +13 -0
  678. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +30 -32
  679. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +31 -0
  680. package/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
  681. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +59 -0
  682. package/src/components/ProductBlock/ProductBlock.fixture.tsx +2 -2
  683. package/src/components/ProductBlock/ProductBlock.mobile.tsx +3 -5
  684. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +49 -0
  685. package/src/components/ProductBlock/ProductBlockInner.tsx +1 -41
  686. package/src/components/ProductBlock/renderBenefit.mobile.tsx +35 -0
  687. package/src/components/ProductBlock/renderBenefit.tsx +41 -0
  688. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +127 -0
  689. package/src/components/ProductGallery/ProductGallery.fixture.tsx +5 -4
  690. package/src/components/ProductGallery/ProductGallery.mobile.tsx +56 -0
  691. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +22 -0
  692. package/src/components/ProductGallery/ProductGalleryBlock.tsx +27 -0
  693. package/src/components/ProductGallery/ProductGalleryContent.ts +2 -1
  694. package/src/components/StepsBlock/StepsBlock.example.json +1 -0
  695. package/src/components/StepsBlock/StepsBlock.mobile.tsx +1 -1
  696. package/src/components/StepsBlock/StepsBlockContent.ts +1 -0
  697. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +103 -0
  698. package/src/components/TextBlock/TextBlock.mobile.tsx +76 -0
  699. package/src/components/TextBlock/TextBlock.tsx +3 -3
  700. package/src/components/TextBlock/TextBlockContent.ts +1 -0
  701. package/src/components/Tile/Tile.tsx +1 -1
  702. package/src/content-page-repository/transformPicture.ts +6 -1
  703. package/src/icons/AtmIcon.svg +7 -0
  704. package/src/icons/BankIcon.svg +11 -0
  705. package/src/icons/BurgerIcon.svg +6 -0
  706. package/src/icons/BurgerIconWhite.svg +6 -0
  707. package/src/icons/CloseIcon.svg +6 -0
  708. package/src/icons/GeolocationIcon.svg +4 -0
  709. package/src/model/Picture.ts +1 -0
  710. package/src/ui-kit/BlockItem/BlockItem.tsx +2 -2
  711. package/src/ui-kit/Breadcrumb.tsx +4 -9
  712. package/src/ui-kit/Button/Button.fixture.mobile.tsx +16 -0
  713. package/src/ui-kit/Button/Button.fixture.tsx +40 -10
  714. package/src/ui-kit/Button/Button.mobile.tsx +97 -0
  715. package/src/ui-kit/Button/Button.tsx +12 -9
  716. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +43 -0
  717. package/src/ui-kit/HeaderItem/HeaderItem.tsx +3 -5
  718. package/src/ui-kit/Icon/IconProps.ts +12 -0
  719. package/src/ui-kit/Img.mobile.tsx +36 -0
  720. package/src/ui-kit/Img.tsx +3 -2
  721. package/src/ui-kit/Logo/Logo.mobile.tsx +50 -0
  722. package/src/ui-kit/Logo/Logo.tsx +7 -4
  723. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +46 -0
  724. package/src/ui-kit/{SearchBar.tsx → SearchBar/SearchBar.tsx} +3 -3
  725. package/{mobile/src/ui-kit/SearchBar.tsx → src/ui-kit/SearchBar.mobile.tsx} +2 -2
  726. package/src/utils/getAccordionItems.ts +10 -0
  727. package/dist/ui-kit/SearchBar.js.map +0 -1
  728. package/lib/ui-kit/SearchBar.js.map +0 -1
  729. package/mobile/dist/ui-kit/SearchBar.js.map +0 -1
  730. package/mobile/lib/ui-kit/SearchBar.js +0 -12
  731. package/mobile/lib/ui-kit/SearchBar.js.map +0 -1
@@ -0,0 +1,40 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.TextBlock = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const BlockItem_1 = require("../../ui-kit/BlockItem/BlockItem");
6
+ const Img_1 = require("../../ui-kit/Img");
7
+ const textBlockStyleMaps = {
8
+ primary: {
9
+ background: 'bg-white',
10
+ icon: 'bg-primary-main text-white',
11
+ title: 'text-primary-text',
12
+ description: 'text-secondary-text',
13
+ },
14
+ secondary: {
15
+ background: 'bg-primary-main',
16
+ icon: 'bg-white text-primary-main',
17
+ title: 'text-white',
18
+ description: 'text-white',
19
+ },
20
+ 'secondary-light': {
21
+ background: 'bg-primary-main/10',
22
+ icon: 'bg-primary-main text-white',
23
+ title: 'text-primary-text',
24
+ description: 'text-secondary-text',
25
+ },
26
+ };
27
+ exports.TextBlock = (0, uni_jsx_1.JSX)(({ title, description, blockVersion = 'primary', iconVersion, image, className = '', items }) => {
28
+ const textBlockStyleMap = textBlockStyleMaps[blockVersion];
29
+ return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans px-4 py-[18px] flex flex-col ${textBlockStyleMap.background} ${className}`, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, (0, jsx_runtime_1.jsxs)("div", { className: "py-0.5", children: [title ? ((0, jsx_runtime_1.jsx)("div", { className: `font-medium text-base mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: `text-sm ${textBlockStyleMap.description}`, children: description })) : null, items?.length ? renderItems(items) : null] })] }));
30
+ });
31
+ function renderItems(items = [], version) {
32
+ return ((0, jsx_runtime_1.jsx)("section", { className: "mt-1", role: "list", children: items.map((_, i) => ((0, jsx_runtime_1.jsx)(BlockItem_1.BlockItem, { text: _, version: version }, String(i)))) }));
33
+ }
34
+ function renderIcon(className) {
35
+ return ((0, jsx_runtime_1.jsx)("div", { className: "mb-3", children: (0, jsx_runtime_1.jsx)("div", { className: `rounded-full h-4 w-4 text-center text-xs ${className}`, children: "i" }) }));
36
+ }
37
+ function renderImage(image) {
38
+ return image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "pb-3 mr-auto", image: image }) : null;
39
+ }
40
+ //# sourceMappingURL=TextBlock.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextBlock.mobile.js","sourceRoot":"","sources":["../../../src/components/TextBlock/TextBlock.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,gEAA6D;AAC7D,0CAAuC;AASvC,MAAM,kBAAkB,GAAqD;IAC3E,OAAO,EAAE;QACP,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,qBAAqB;KACnC;IACD,SAAS,EAAE;QACT,UAAU,EAAE,iBAAiB;QAC7B,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,YAAY;KAC1B;IACD,iBAAiB,EAAE;QACjB,UAAU,EAAE,oBAAoB;QAChC,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,qBAAqB;KACnC;CACF,CAAC;AAEW,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;IAC9F,MAAM,iBAAiB,GAAG,kBAAkB,CAAC,YAAY,CAAC,CAAC;IAC3D,OAAO,CACL,qCACE,SAAS,EAAE,0CAA0C,iBAAiB,CAAC,UAAU,IAAI,SAAS,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,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAC5E,CAAC"}
@@ -20,4 +20,5 @@ export interface TextBlockContent {
20
20
  iconVersion?: TextBlockIconVersion;
21
21
  image?: Picture;
22
22
  blockVersion?: TextBlockVersion;
23
+ items?: string[];
23
24
  }
@@ -10,7 +10,7 @@ const tileStyleMap = {
10
10
  };
11
11
  exports.Tile = (0, uni_jsx_1.JSX)((props) => {
12
12
  const { children, className = '', version = 'primary', role } = props;
13
- return ((0, jsx_runtime_1.jsx)("section", { className: `font-sans p-9 box-border ${className} ${tileStyleMap[version]} ${getContainerPaddingRight(className)} ${getContainerMinHeight(className)} `, role: role, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { ...props, children: children }) }));
13
+ return ((0, jsx_runtime_1.jsx)("section", { className: `font-sans p-9 box-border ${className || ''} ${tileStyleMap[version]} ${getContainerPaddingRight(className)} ${getContainerMinHeight(className)} `, role: role, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { ...props, children: children }) }));
14
14
  });
15
15
  function getContainerPaddingRight(className = '') {
16
16
  const colSpan = (0, getColSpan_1.getColSpan)(className);
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,uDAAoD;AACpD,mDAAgD;AAOhD,MAAM,YAAY,GAAiC;IACjD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEW,QAAA,IAAI,GAAG,IAAA,aAAG,EAAY,CAAC,KAAK,EAAE,EAAE;IAC3C,MAAM,EAAE,QAAQ,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAEtE,OAAO,CACL,oCACE,SAAS,EAAE,4BAA4B,SAAS,IAC9C,YAAY,CAAC,OAAO,CACt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AC,OAAO,CACtB,IAAI,wBAAwB,CAAC,SAAS,CAAC,IAAI,qBAAqB,CAAC,SAAS,CAAC,GAAG,EAC9E,IAAI,EAAE,IAAI,YAEV,uBAAC,mBAAQ,OAAK,KAAK,YAAG,QAAQ,GAAY,GAClC,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,wBAAwB,CAAC,SAAS,GAAG,EAAE;IAC9C,MAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,MAAM,CAAC;KACf;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,cAAc,CAAC;KACvB;SAAM;QACL,OAAO,aAAa,CAAC;KACtB;AACH,CAAC;AAED,SAAS,qBAAqB,CAAC,SAAS,GAAG,EAAE;IAC3C,MAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,eAAe,CAAC;KACxB;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,eAAe,CAAC;KACxB;SAAM;QACL,OAAO,eAAe,CAAC;KACxB;AACH,CAAC"}
@@ -32,7 +32,12 @@ async function transformImg(pagePath, src, transformationOptions) {
32
32
  const transformedSrc = transformSrc(src, transformationOptions);
33
33
  const transformedImgPath = `${publicDir}/${path_1.default.relative(contentDir, `${path_1.default.dirname(pagePath)}/${transformedSrc}`)}`;
34
34
  await mkdir(path_1.default.dirname(transformedImgPath), { recursive: true });
35
- await chain.toFile(transformedImgPath);
35
+ try {
36
+ await chain.toFile(transformedImgPath);
37
+ }
38
+ catch (e) {
39
+ console.error(e);
40
+ }
36
41
  return transformedSrc;
37
42
  }
38
43
  function transformSrc(src, { format, size }) {
@@ -1 +1 @@
1
- {"version":3,"file":"transformPicture.js","sourceRoot":"","sources":["../../src/content-page-repository/transformPicture.ts"],"names":[],"mappings":";;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
  sources?: ImgSource[];
28
+ className?: string;
28
29
  }
@@ -12,12 +12,12 @@ const LIST_STYLE_MAP = {
12
12
  secondary: 'bg-secondary-text',
13
13
  };
14
14
  exports.BlockItem = (0, uni_jsx_1.JSX)(({ className = '', isDotted = true, text, children, version = 'primary', white }) => {
15
- return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans inline-block flex items-baseline ${className}`, role: "listitem", children: [isDotted && (0, jsx_runtime_1.jsx)("div", { className: getListStyle(version, white) }), (0, jsx_runtime_1.jsx)("span", { className: white ? 'text-white' : TEXT_STYLE_MAP[version], children: text || children })] }));
15
+ return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted && (0, jsx_runtime_1.jsx)("div", { className: getListStyle(version, white) }), (0, jsx_runtime_1.jsx)("span", { className: white ? 'text-white' : TEXT_STYLE_MAP[version], children: text || children })] }));
16
16
  });
17
17
  const getListStyle = (version, white) => {
18
18
  const color = white ? 'bg-white' : LIST_STYLE_MAP[version];
19
19
  const size = version === 'primary'
20
- ? 'w-[8px] h-[8px] min-w-[8px] min-h-[8px] mt-2'
20
+ ? 'w-2 h-2 min-w-2 min-h-2 mt-2'
21
21
  : 'w-[6px] h-[6px] min-w-[6px] min-h-[6px] mt-2.5';
22
22
  return `${LIST_STYLE_CLASSES} ${color} ${size}`;
23
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BlockItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BlockItem/BlockItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,MAAM,kBAAkB,GAAG,gCAAgC,CAAC;AAE5D,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,qBAAqB;CACjC,CAAC;AAEF,MAAM,cAAc,GAAqC;IACvD,OAAO,EAAE,iBAAiB;IAC1B,SAAS,EAAE,mBAAmB;CAC/B,CAAC;AAEW,QAAA,SAAS,GAAG,IAAA,aAAG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EAAE,QAAQ,GAAG,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;IAClF,OAAO,CACL,iCAAK,SAAS,EAAE,iCAAiC,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aAC1E,QAAQ,IAAI,gCAAK,SAAS,EAAE,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,GAAI,EAC7D,iCAAM,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,IACtF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,OAAqB,EAAE,KAAe,EAAE,EAAE;IAC9D,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAC3D,MAAM,IAAI,GACR,OAAO,KAAK,SAAS;QACnB,CAAC,CAAC,8BAA8B;QAChC,CAAC,CAAC,gDAAgD,CAAC;IAEvD,OAAO,GAAG,kBAAkB,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;AAClD,CAAC,CAAC"}
@@ -2,12 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.Breadcrumb = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- exports.Breadcrumb = (0, uni_jsx_1.JSX)(({ text, href, target, onClick, className, children }) => {
5
+ exports.Breadcrumb = (0, uni_jsx_1.JSX)(({ text, href, target, onClick, className = '', children }) => {
6
6
  if (href) {
7
- return ((0, jsx_runtime_1.jsx)("a", { className: `no-underline ${className || ''}`, href: href, target: target, onClick: onClick, children: (0, jsx_runtime_1.jsx)("span", { className: `${className || ''}`, children: text || children }) }));
7
+ return ((0, jsx_runtime_1.jsx)("a", { className: `no-underline ${className}`, href: href, target: target, onClick: onClick, children: (0, jsx_runtime_1.jsx)("span", { className: className, children: text || children }) }));
8
8
  }
9
9
  else {
10
- return (0, jsx_runtime_1.jsx)("span", { className: `${className || ''}`, children: text || children });
10
+ return (0, jsx_runtime_1.jsx)("span", { className: className, children: text || children });
11
11
  }
12
12
  });
13
13
  //# sourceMappingURL=Breadcrumb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../src/ui-kit/Breadcrumb.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAQ3B,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvD,IAAI,IAAI,EAAE;QACR,OAAO,CACL,8BACE,SAAS,EAAE,gBAAgB,SAAS,IAAI,EAAE,EAAE,EAC5C,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,YAEhB,iCAAM,SAAS,EAAE,GAAG,SAAS,IAAI,EAAE,EAAE,YAAG,IAAI,IAAI,QAAQ,GAAQ,GAC9D,CACL,CAAC;KACH;SAAM;QACL,OAAO,iCAAM,SAAS,EAAE,GAAG,SAAS,IAAI,EAAE,EAAE,YAAG,IAAI,IAAI,QAAQ,GAAQ,CAAC;KACzE;AACH,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../src/ui-kit/Breadcrumb.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAQ3B,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,IAAI,IAAI,EAAE;QACR,OAAO,CACL,8BAAG,SAAS,EAAE,gBAAgB,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,YACrF,iCAAM,SAAS,EAAE,SAAS,YAAG,IAAI,IAAI,QAAQ,GAAQ,GACnD,CACL,CAAC;KACH;SAAM;QACL,OAAO,iCAAM,SAAS,EAAE,SAAS,YAAG,IAAI,IAAI,QAAQ,GAAQ,CAAC;KAC9D;AACH,CAAC,CACF,CAAC"}
@@ -1,6 +1,8 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.ButtonInner = exports.Button = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ /* eslint-disable max-lines-per-function */
5
+ /* eslint-disable complexity */
4
6
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
7
  const buttonStyleMap = {
6
8
  primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
@@ -10,17 +12,17 @@ const buttonDisabledStyleMap = {
10
12
  primary: 'bg-secondary-dark text-secondary-text',
11
13
  secondary: 'bg-secondary-light text-secondary-text',
12
14
  };
13
- const styleButton = 'inline-block text-center font-sans select-none';
15
+ const styleButton = 'text-center font-sans select-none';
14
16
  exports.Button = (0, uni_jsx_1.JSX)(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'none', ariaLabel, ...rest }) => {
15
17
  const buttonInner = children ?? ((0, jsx_runtime_1.jsx)(exports.ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded }));
16
18
  if (disabled) {
17
- return ((0, jsx_runtime_1.jsx)("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: "-1", className: `${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
19
+ return ((0, jsx_runtime_1.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
20
  }
19
- return ((0, jsx_runtime_1.jsx)("a", { className: `${styleButton} 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 }));
21
+ return ((0, jsx_runtime_1.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
22
  });
21
23
  exports.ButtonInner = (0, uni_jsx_1.JSX)(({ text, aboveText, appendLeft, rounded }) => {
22
24
  const withoutText = !text && !aboveText && Boolean(appendLeft);
23
- const buttonInnerClasses = `flex items-center justify-center ${withoutText ? 'h-12 w-12 min-h-12 min-w-12' : `px-8 gap-2 ${aboveText ? 'py-2' : 'py-[13px]'}`} ${rounded ? 'rounded-full' : ''}`;
24
- return ((0, jsx_runtime_1.jsxs)("div", { className: buttonInnerClasses, children: [appendLeft ? appendLeft : null, !withoutText ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "text-2xs text-left", children: aboveText }), (0, jsx_runtime_1.jsx)("div", { className: "text-sm font-medium text-left", children: text })] })) : null] }));
25
+ 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' : ''}`;
26
+ return ((0, jsx_runtime_1.jsxs)("div", { className: buttonInnerClasses, children: [appendLeft ? appendLeft : null, withoutText ? null : ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "text-2xs text-left", children: aboveText }), (0, jsx_runtime_1.jsx)("div", { className: "text-button font-medium text-left", children: text })] }))] }));
25
27
  });
26
28
  //# sourceMappingURL=Button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;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,gDAAgD,CAAC;AAMxD,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,MAAM,EAChB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,CAC9B,uBAAC,mBAAW,IAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAI,CAC5F,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,gCACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAC,IAAI,EACb,SAAS,EAAE,GAAG,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAChE,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,YAEpB,WAAW,GACR,CACP,CAAC;KACH;IAED,OAAO,CACL,8BACE,SAAS,EAAE,GAAG,WAAW,gCAAgC,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,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AAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,IAAI,YAEP,WAAW,GACV,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,aAAG,EAAc,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE;IACvF,MAAM,WAAW,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC;IAE/D,MAAM,kBAAkB,GAAG,oCACzB,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,cAAc,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EACzE,IAAI,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAEpC,OAAO,CACL,iCAAK,SAAS,EAAE,kBAAkB,aAC/B,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAC9B,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACpB,4CACE,gCAAK,SAAS,EAAC,oBAAoB,YAAE,SAAS,GAAO,EACrD,gCAAK,SAAS,EAAC,mCAAmC,YAAE,IAAI,GAAO,IAC3D,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ButtonProps, ButtonWithIconProps } from './ButtonProps';
2
+ export interface ButtonCommonProps extends ButtonProps, ButtonWithIconProps {
3
+ }
4
+ export declare type ButtonInner = Pick<ButtonCommonProps, 'text' | 'aboveText' | 'appendLeft' | 'rounded'>;
5
+ 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;
@@ -0,0 +1,28 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.ButtonInner = exports.Button = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ /* eslint-disable max-lines-per-function */
5
+ /* eslint-disable complexity */
6
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
7
+ const buttonStyleMap = {
8
+ primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
9
+ secondary: 'text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active',
10
+ };
11
+ const buttonDisabledStyleMap = {
12
+ primary: 'bg-secondary-dark text-secondary-text',
13
+ secondary: 'bg-secondary-light text-secondary-text',
14
+ };
15
+ const styleButton = 'w-full text-center font-sans select-none';
16
+ exports.Button = (0, uni_jsx_1.JSX)(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'none', ariaLabel, ...rest }) => {
17
+ const buttonInner = children ?? ((0, jsx_runtime_1.jsx)(exports.ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded }));
18
+ if (disabled) {
19
+ return ((0, jsx_runtime_1.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 }));
20
+ }
21
+ return ((0, jsx_runtime_1.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 }));
22
+ });
23
+ exports.ButtonInner = (0, uni_jsx_1.JSX)(({ text, aboveText, appendLeft, rounded }) => {
24
+ const withoutText = !text && !aboveText && Boolean(appendLeft);
25
+ 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' : ''}`;
26
+ return ((0, jsx_runtime_1.jsxs)("div", { className: buttonInnerClasses, children: [appendLeft ? appendLeft : null, withoutText ? null : ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "text-m-2xs text-left", children: aboveText }), (0, jsx_runtime_1.jsx)("div", { className: "text-m-button font-medium text-left", children: text })] }))] }));
27
+ });
28
+ //# sourceMappingURL=Button.mobile.js.map
@@ -0,0 +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,+CAAwC;AAIxC,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,0FAA0F;CAC7F,CAAC;AAEF,MAAM,sBAAsB,GAAkC;IAC5D,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;CACpD,CAAC;AAEF,MAAM,WAAW,GAAG,0CAA0C,CAAC;AAMlD,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,MAAM,EAChB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,CAC9B,uBAAC,mBAAW,IAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAI,CAC5F,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,gCACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAC,IAAI,EACb,SAAS,EAAE,gBAAgB,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,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IAAI,GAAO,IAC7D,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,3 +1,2 @@
1
1
  import type { TopItemProps } from '../TopItem/TopItem';
2
- export declare type HeaderItemProps = TopItemProps;
3
2
  export declare const HeaderItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<TopItemProps, any>, context?: any) => any;
@@ -3,7 +3,7 @@ exports.HeaderItem = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const TEXT_CLASSES = 'font-sans font-normal text-base';
6
- const BORDER_CLASSES = 'absolute left-0 -bottom-2 w-full h-[2px]';
6
+ const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-[2px]';
7
7
  exports.HeaderItem = (0, uni_jsx_1.JSX)(({ className, text, href, target, active, onClick, children, bgColor = 'bg-white' }) => ((0, jsx_runtime_1.jsxs)("a", { className: `relative inline-block bg-transparent text-center no-underline ${className || ''}`, href: href, target: target, onClick: onClick, children: [(0, jsx_runtime_1.jsx)("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? (0, jsx_runtime_1.jsx)("div", { className: getBorderClasses(bgColor, active) }) : null] })));
8
8
  const getTextClasses = (bgColor, active) => {
9
9
  let classes = 'text-white';
@@ -16,6 +16,6 @@ const getBorderClasses = (bgColor, active) => {
16
16
  if (!active) {
17
17
  return BORDER_CLASSES;
18
18
  }
19
- return `${bgColor === 'bg-white' ? bgColor : 'bg-primary-main'} ${BORDER_CLASSES}`;
19
+ return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
20
20
  };
21
21
  //# sourceMappingURL=HeaderItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderItem.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAMxC,MAAM,YAAY,GAAG,iCAAiC,CAAC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
+ export declare type HeaderItemProps = TopItemProps;
3
+ export declare const HeaderItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<TopItemProps, any>, context?: any) => any;
@@ -0,0 +1,23 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.HeaderItem = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const TEXT_CLASSES = 'font-sans font-normal text-sm';
6
+ const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-[2px]';
7
+ exports.HeaderItem = (0, uni_jsx_1.JSX)(({ className, text, href, target, active, onClick, children, bgColor = 'bg-white' }) => {
8
+ return ((0, jsx_runtime_1.jsxs)("a", { className: `relative inline-block bg-transparent text-center no-underline ${className || ''}`, href: href, target: target, onClick: onClick, children: [(0, jsx_runtime_1.jsx)("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? (0, jsx_runtime_1.jsx)("div", { className: getBorderClasses(bgColor, active) }) : null] }));
9
+ });
10
+ const getTextClasses = (bgColor, active) => {
11
+ let classes = 'text-white';
12
+ if (bgColor === 'bg-white') {
13
+ classes = active ? 'text-primary-main' : 'text-secondary-text hover:text-primary-main';
14
+ }
15
+ return `${classes} ${TEXT_CLASSES}`;
16
+ };
17
+ const getBorderClasses = (bgColor, active) => {
18
+ if (!active) {
19
+ return BORDER_CLASSES;
20
+ }
21
+ return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
22
+ };
23
+ //# sourceMappingURL=HeaderItem.mobile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderItem.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAMxC,MAAM,YAAY,GAAG,+BAA+B,CAAC;AACrD,MAAM,cAAc,GAAG,0CAA0C,CAAC;AAErD,QAAA,UAAU,GAAG,IAAA,a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
10
- 'CalendarTickIcon' = 5,
11
- 'CalendarWhiteIcon' = 6,
12
- 'CardIcon' = 7,
13
- 'CardPosIcon' = 8,
14
- 'CardTickIcon' = 9,
15
- 'CardWithGemIcon' = 10,
16
- 'ChartSquareIcon' = 11,
17
- 'ClockIcon' = 12,
18
- 'ComfortableCompIcon' = 13,
19
- 'CreditCardsIcon' = 14,
20
- 'DocIcon' = 15,
21
- 'DocumentTextIcon' = 16,
22
- 'DollarIcon' = 17,
23
- 'EarthIcon' = 18,
24
- 'EmptyWalletChangeIcon' = 19,
25
- 'EmptyWalletIcon' = 20,
26
- 'EmptyWalletWhiteIcon' = 21,
27
- 'EuroIcon' = 22,
28
- 'GlassIcon' = 23,
29
- 'GlobalIcon' = 24,
30
- 'GridIcon' = 25,
31
- 'GridIconWhite' = 26,
32
- 'InterestGrowthIcon' = 27,
33
- 'InterestIcon' = 28,
34
- 'JCBIcon' = 29,
35
- 'LoupeIcon' = 30,
36
- 'MasterCardIcon' = 31,
37
- 'MinusIcon' = 32,
38
- 'MirIcon' = 33,
39
- 'MoneyIcon' = 34,
40
- 'MoneyInsuranceIcon' = 35,
41
- 'MonitorMobileIcon' = 36,
42
- 'NewDocIcon' = 37,
43
- 'OfficeIcon' = 38,
44
- 'OkIcon' = 39,
45
- 'PassSendIcon' = 40,
46
- 'PercentageRoundIcon' = 41,
47
- 'PercentageSquareIcon' = 42,
48
- 'PercentageSquareWhiteIcon' = 43,
49
- 'PersonalCardIcon' = 44,
50
- 'PlayMarketIcon' = 45,
51
- 'PlusIcon' = 46,
52
- 'Profile2UserIcon' = 47,
53
- 'ProfileIcon' = 48,
54
- 'RoundRubleIcon' = 49,
55
- 'SafeIcon' = 50,
56
- 'ShieldTickIcon' = 51,
57
- 'SignDocsIcon' = 52,
58
- 'SmallClockIcon' = 53,
59
- 'TelegramIcon' = 54,
60
- 'UnionPayIcon' = 55,
61
- 'UserTickIcon' = 56,
62
- 'VisaIcon' = 57,
63
- 'VKIcon' = 58,
64
- 'WalletAddIcon' = 59,
65
- 'WalletAdd2Icon' = 60,
66
- 'WalletIcon' = 61,
67
- 'WalletWithMoneyIcon' = 62
7
+ 'AtmIcon' = 2,
8
+ 'BankIcon' = 3,
9
+ 'BurgerIcon' = 4,
10
+ 'BurgerIconWhite' = 5,
11
+ 'Calendar2Icon' = 6,
12
+ 'CalendarCircleIcon' = 7,
13
+ 'CalendarIcon' = 8,
14
+ 'CalendarTickIcon' = 9,
15
+ 'CalendarWhiteIcon' = 10,
16
+ 'CardIcon' = 11,
17
+ 'CardPosIcon' = 12,
18
+ 'CardTickIcon' = 13,
19
+ 'CardWithGemIcon' = 14,
20
+ 'ChartSquareIcon' = 15,
21
+ 'ClockIcon' = 16,
22
+ 'CloseIcon' = 17,
23
+ 'ComfortableCompIcon' = 18,
24
+ 'CreditCardsIcon' = 19,
25
+ 'DocIcon' = 20,
26
+ 'DocumentTextIcon' = 21,
27
+ 'DollarIcon' = 22,
28
+ 'EarthIcon' = 23,
29
+ 'EmptyWalletChangeIcon' = 24,
30
+ 'EmptyWalletIcon' = 25,
31
+ 'EmptyWalletWhiteIcon' = 26,
32
+ 'EuroIcon' = 27,
33
+ 'GeolocationIcon' = 28,
34
+ 'GlassIcon' = 29,
35
+ 'GlobalIcon' = 30,
36
+ 'GridIcon' = 31,
37
+ 'GridIconWhite' = 32,
38
+ 'InterestGrowthIcon' = 33,
39
+ 'InterestIcon' = 34,
40
+ 'JCBIcon' = 35,
41
+ 'LoupeIcon' = 36,
42
+ 'MasterCardIcon' = 37,
43
+ 'MinusIcon' = 38,
44
+ 'MirIcon' = 39,
45
+ 'MoneyIcon' = 40,
46
+ 'MoneyInsuranceIcon' = 41,
47
+ 'MonitorMobileIcon' = 42,
48
+ 'NewDocIcon' = 43,
49
+ 'OfficeIcon' = 44,
50
+ 'OkIcon' = 45,
51
+ 'PassSendIcon' = 46,
52
+ 'PercentageRoundIcon' = 47,
53
+ 'PercentageSquareIcon' = 48,
54
+ 'PercentageSquareWhiteIcon' = 49,
55
+ 'PersonalCardIcon' = 50,
56
+ 'PlayMarketIcon' = 51,
57
+ 'PlusIcon' = 52,
58
+ 'Profile2UserIcon' = 53,
59
+ 'ProfileIcon' = 54,
60
+ 'RoundRubleIcon' = 55,
61
+ 'SafeIcon' = 56,
62
+ 'ShieldTickIcon' = 57,
63
+ 'SignDocsIcon' = 58,
64
+ 'SmallClockIcon' = 59,
65
+ 'TelegramIcon' = 60,
66
+ 'UnionPayIcon' = 61,
67
+ 'UserTickIcon' = 62,
68
+ 'VisaIcon' = 63,
69
+ 'VKIcon' = 64,
70
+ 'WalletAddIcon' = 65,
71
+ 'WalletAdd2Icon' = 66,
72
+ 'WalletIcon' = 67,
73
+ 'WalletWithMoneyIcon' = 68
68
74
  }
69
75
  /**
70
76
  * @title Иконка
71
77
  * @enumNames [
72
78
  * "Деньги",
73
79
  * "Лого «Apple»",
80
+ * "Банкомат",
81
+ * "Банк",
82
+ * "Бургер",
83
+ * "Бургер (белый)",
74
84
  * "Календарь 2",
75
85
  * "Скруглённый календарь",
76
86
  * "Календарь",
@@ -82,6 +92,7 @@ export declare enum IconMap {
82
92
  * "Карта с драгоценностями",
83
93
  * "Деньги внутри кошелька",
84
94
  * "Часы",
95
+ * "Крестик",
85
96
  * "Кресло",
86
97
  * "Скидка",
87
98
  * "Кредитные карты",
@@ -93,6 +104,7 @@ export declare enum IconMap {
93
104
  * "Пустой кошелёк",
94
105
  * "Пустой кошелёк (белый)",
95
106
  * "Евро",
107
+ * "Геолокация",
96
108
  * "Зеркало",
97
109
  * "Глобус",
98
110
  * "Сетка",